Closed gromakovsky closed 4 years ago
@sras tiny request: there is still this statement in the specification
Since the contract owns its token metadata the returned value of this entrypoint call will always be equal to SELF.
Can you please remove it since it's no longer correct?
Can you please remove it since it's no longer correct?
@gromakovsky I have raised a PR here. It appeared that the spec also contained the following similar section, so have removed it as well.
Token metadata
Stablecoin contract MUST provide an additional metadata big_map for its tokens. This big_map MUST be annotated as %token_metadata and can be at any position within contract storage. The structure of this big_map MUST follow FA2 requirements.
Clarification and motivation
In preparation for TZIP-16 (that's currently WIP) we should extract metadata outside of our contract. So
token_metadata_registry
shouldn't returnSELF
anymore.Acceptance criteria
stablecoin
contract doesn't store metadata anymore. It stores an address of a contract that holds metadata instead.FAILWITH
for example).