-
Notifications
You must be signed in to change notification settings - Fork 152
ESDT improvements new functions #932
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
Conversation
docs/tokens/nft-tokens.mdx
Outdated
|
|
||
| ### **Set new URIs** | ||
|
|
||
| The manager of an ESDT token may want to set new uris. This operation will rewrite the uris on the specified token ID. It requires `ESDTRoleNFTSetNewURIs` role. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
URIs instead of uris
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For both appearances
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
docs/tokens/nft-tokens.mdx
Outdated
|
|
||
| ### **MetaData Update** | ||
|
|
||
| The NFT meta data can be updated using a transaction like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add: If nothing is received for a given attribute, the old version of that attribute will be kept
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
|
||
| ### **MetaData Recreate** | ||
|
|
||
| The whole NFT can be recreated with new attributes using a transaction like this: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also add: If an argument is not received, that field is set to zero
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
e2723e2
docs/tokens/nft-tokens.mdx
Outdated
| - ESDTRoleNFTBurn : this role allows one to burn quantity of a specific SFT | ||
| - ESDTRoleNFTAddQuantity : this role allows one to add quantity of a specific SFT | ||
| - ESDTTransferRole : this role enables transfer only to specified addresses. The addresses with the transfer role can transfer anywhere. | ||
| - ESDTRoleNFTUpdate : this role allows one to update meta data attributes of a specific NFT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"of a specific SFT" instead of NFT to stay consistent with the rest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated, thanks
d8be084
Description of the pull request (what is new / what has changed)
Did you test the changes locally ?
Which category (categories) does this pull request belong to?