diff --git a/lib/openzeppelin-contracts-v5 b/lib/openzeppelin-contracts-v5 index dbb6104..69c8def 160000 --- a/lib/openzeppelin-contracts-v5 +++ b/lib/openzeppelin-contracts-v5 @@ -1 +1 @@ -Subproject commit dbb6104ce834628e473d2173bbc9d47f81a9eec3 +Subproject commit 69c8def5f222ff96f2b5beff05dfba996368aa79 diff --git a/lib/superfluid-protocol-monorepo b/lib/superfluid-protocol-monorepo index 6e19531..f3f4a7d 160000 --- a/lib/superfluid-protocol-monorepo +++ b/lib/superfluid-protocol-monorepo @@ -1 +1 @@ -Subproject commit 6e195314f72802a4404e758df3224373eca7e5b2 +Subproject commit f3f4a7d4738e7dec169a6e5bd27b8931cf7fbbdf diff --git a/src/CustomERC20Wrapper.sol b/src/CustomERC20Wrapper.sol index 4a25b1c..8a262f7 100644 --- a/src/CustomERC20Wrapper.sol +++ b/src/CustomERC20Wrapper.sol @@ -21,7 +21,7 @@ contract CustomERC20WrapperProxy is CustomSuperTokenBase, UUPSProxy { ) external { // This call to the factory invokes `UUPSProxy.initialize`, which connects the proxy to the canonical SuperToken implementation. // It also emits an event which facilitates discovery of this token. - ISuperTokenFactory(factory).initializeCustomSuperToken(address(this)); + factory.initializeCustomSuperToken(address(this)); // This initializes the token storage and sets the `initialized` flag of OpenZeppelin Initializable. // This makes sure that it will revert if invoked more than once. diff --git a/src/PureSuperToken.sol b/src/PureSuperToken.sol index ca4fe9f..73ef64d 100644 --- a/src/PureSuperToken.sol +++ b/src/PureSuperToken.sol @@ -22,7 +22,7 @@ contract PureSuperTokenProxy is CustomSuperTokenBase, UUPSProxy { ) external { // This call to the factory invokes `UUPSProxy.initialize`, which connects the proxy to the canonical SuperToken implementation. // It also emits an event which facilitates discovery of this token. - ISuperTokenFactory(factory).initializeCustomSuperToken(address(this)); + factory.initializeCustomSuperToken(address(this)); // This initializes the token storage and sets the `initialized` flag of OpenZeppelin Initializable. // This makes sure that it will revert if invoked more than once. diff --git a/src/xchain/BridgedSuperToken.sol b/src/xchain/BridgedSuperToken.sol index d35a7e1..1379ca9 100644 --- a/src/xchain/BridgedSuperToken.sol +++ b/src/xchain/BridgedSuperToken.sol @@ -34,7 +34,7 @@ contract BridgedSuperTokenProxy is CustomSuperTokenBase, UUPSProxy, Ownable, IXE ) external { // This call to the factory invokes `UUPSProxy.initialize`, which connects the proxy to the canonical SuperToken implementation. // It also emits an event which facilitates discovery of this token. - ISuperTokenFactory(factory).initializeCustomSuperToken(address(this)); + factory.initializeCustomSuperToken(address(this)); // This initializes the token storage and sets the `initialized` flag of OpenZeppelin Initializable. // This makes sure that it will revert if invoked more than once.