Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutable name and symbol (Opt 1) #8

Closed
wants to merge 2 commits into from

Conversation

MathisGD
Copy link
Contributor

@MathisGD MathisGD commented Aug 9, 2024

No description provided.

@MathisGD MathisGD self-assigned this Aug 9, 2024
@@ -187,6 +187,32 @@ contract MetaMorpho is ERC4626, ERC20Permit, Ownable2Step, Multicall, IMetaMorph

/* ONLY OWNER FUNCTIONS */

/// @inheritdoc IMetaMorphoBase
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// @inheritdoc IMetaMorphoBase
/// @inheritdoc IMetaMorphoBase
/// @dev The new name should have a size smaller than 32 bytes.

Note that we can't add this comment to the interface, because this is the interface of OZ in this case

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it ok to only allow strings of size < 32 ?

@adhusson
Copy link
Contributor

This option is lacking events.

@MathisGD
Copy link
Contributor Author

Closing as we will go for option 3 or 4

@MathisGD MathisGD closed this Aug 15, 2024
@MathisGD MathisGD deleted the feat/mutable-name branch August 15, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants