Skip to content

Conversation

@ssd04
Copy link
Contributor

@ssd04 ssd04 commented Jun 25, 2024

Description of the pull request (what is new / what has changed)

Did you test the changes locally ?

  • yes
  • no

Which category (categories) does this pull request belong to?

  • document new feature
  • update documentation that is not relevant anymore
  • add examples or more information about a component
  • fix grammar issues
  • other

@ssd04 ssd04 self-assigned this Jun 25, 2024

### **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.

Choose a reason for hiding this comment

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

URIs instead of uris

Choose a reason for hiding this comment

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

For both appearances

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done


### **MetaData Update**

The NFT meta data can be updated using a transaction like this:

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

Copy link
Contributor Author

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:

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@ssd04 ssd04 changed the title esdt improvements new functions - first draft ESDT improvements new functions Aug 1, 2024
@ssd04 ssd04 marked this pull request as ready for review August 1, 2024 20:26
sasurobert
sasurobert previously approved these changes Aug 5, 2024
@ssd04 ssd04 dismissed stale reviews from BeniaminDrasovean and sasurobert via e2723e2 August 12, 2024 09:38
andreibancioiu
andreibancioiu previously approved these changes Sep 19, 2024
- 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

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated, thanks

@ssd04 ssd04 merged commit 013373e into development Sep 20, 2024
@ssd04 ssd04 deleted the esdt-improvements-new-functions branch September 20, 2024 07:31
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.

6 participants