Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts-v5
2 changes: 1 addition & 1 deletion lib/superfluid-protocol-monorepo
2 changes: 1 addition & 1 deletion src/CustomERC20Wrapper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/PureSuperToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/xchain/BridgedSuperToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down