You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🧐 Motivation
I want to use ERC20WithMetadata contract, but I would like to introduce logic that changes the tokenURI field. For example that just the owner of the token can change the tokenURI.
We are building a token studio, and the issuer might be unsure about token metadata when he creates the token. Also some token metadata like addresses and etc might change. Not sure, but I think it doesn't break the EIP-1047.
📝 Details
Changing the tokenURI field to internal should solve this problem.
The text was updated successfully, but these errors were encountered:
EIP721 explictly allows this (see the Rationale section, under 'Metadata Choices':
The URI MAY be mutable (i.e. it changes from time to time). We considered an NFT representing ownership of a house, in this case metadata about the house (image, occupants, etc.) can naturally change.
I think this is a fair point and wouldn't be against this addition.
🧐 Motivation
I want to use ERC20WithMetadata contract, but I would like to introduce logic that changes the tokenURI field. For example that just the owner of the token can change the
tokenURI
.We are building a token studio, and the issuer might be unsure about token metadata when he creates the token. Also some token metadata like addresses and etc might change. Not sure, but I think it doesn't break the EIP-1047.
📝 Details
Changing the
tokenURI
field tointernal
should solve this problem.The text was updated successfully, but these errors were encountered: