From e0afb1e7e4d208202271518b455ce98632d65627 Mon Sep 17 00:00:00 2001 From: ssd04 Date: Tue, 25 Jun 2024 13:39:27 +0300 Subject: [PATCH 01/12] esdt improvements new functions - first draft --- docs/tokens/nft-tokens.mdx | 91 +++++++++++++++++++++++++++++++++++++- 1 file changed, 90 insertions(+), 1 deletion(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index e1ebacdbb..e3e279712 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -293,6 +293,10 @@ For NFT: - ESDTRoleNFTUpdateAttributes : this role allows one to change the attributes of a specific NFT - ESDTRoleNFTAddURI : this role allows one add URIs for a specific NFT - ESDTTransferRole : this role enables transfer only to specified addresses. The addresses with the transfer role can transfer anywhere. +- ESDTRoleModifyRoyalties : this role allows one to modify royalities of a specific NFT +- ESDTRoleSetNewURI : this role allows one to set new uris of a specific NFT +- ESDTRoleModifyCreator : this role allows one to rewrite the creator of a specific token +- ESDTRoleNFTRecreate : this role allows one to recreate the whole NFT with new attributes For SFT: @@ -683,7 +687,7 @@ The manager of an ESDT token may wipe out a single NFT held by a frozen Account. ```rust WipeTransaction { - Sender: + Sender: Receiver: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u Value: 0 GasLimit: 60000000 @@ -698,6 +702,91 @@ _For more details about how arguments have to be encoded, check [here](/develope [comment]: # (mx-context-auto) +### **Modify Royalties** + +The manager of an ESDT token may want to set new royalities. This operation will rewrite the royalities on the specified token ID. It requires `ESDTRoleNFTModifyRoyalties` role. +This is done by performing a transaction like this: + +```rust +ModifyRoyalitiesTransaction { + Sender: + Receiver: + Value: 0 + GasLimit: 60000000 + Data: "ESDTModifyRoyalties" + + "@" + + + "@" + + + "@" + +} +``` + +_For more details about how arguments have to be encoded, check [here](/developers/sc-calls-format)._ + +[comment]: # (mx-context-auto) + +### **ESDTNFTSetNewURIs** + +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. +This is done by performing a transaction like this: + +```rust +SetNewURIsTransaction { + Sender: + Receiver: + Value: 0 + GasLimit: 60000000 + Data: "ESDTNFTSetNewURIs" + + "@" + + + "@" + + + "@" + +} +``` + +_For more details about how arguments have to be encoded, check [here](/developers/sc-calls-format)._ + +[comment]: # (mx-context-auto) + +### **Modify Creator** + +The creator of an NFT can be changed using a transaction like this: + +```rust +ModifyCreatorTransaction { + Sender: + Receiver: + Value: 0 + GasLimit: 60000000 + Data: "ESDTModifyCreator" + + "@" + + + "@" + +} +``` + +_For more details about how arguments have to be encoded, check [here](/developers/sc-calls-format)._ + +[comment]: # (mx-context-auto) + +### **MetaData Recreate** + +The whole NFT can be recreated with new attributes using a transaction like this: + +```rust +MetaDataRecreateTransaction { + Sender: + Receiver: + Value: 0 + GasLimit: 60000000 + Data: "ESDTMetaDataRecreate" + + "@" + + + "@" + + + "@" + +} +``` + +_For more details about how arguments have to be encoded, check [here](/developers/sc-calls-format)._ + +[comment]: # (mx-context-auto) + ### **Transferring token management rights** The manager of an ESDT token can transfer the ownership if the ESDT was created as upgradable. Check the [ESDT - Upgrading (changing properties)](/tokens/esdt-tokens#upgrading-changing-properties) section for more details. From b34c8397d8287d4dca7cfd06ca9157d256e77846 Mon Sep 17 00:00:00 2001 From: ssd04 Date: Tue, 25 Jun 2024 13:48:59 +0300 Subject: [PATCH 02/12] add meta data update function --- docs/tokens/nft-tokens.mdx | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index e3e279712..69cd605da 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -293,6 +293,7 @@ For NFT: - ESDTRoleNFTUpdateAttributes : this role allows one to change the attributes of a specific NFT - ESDTRoleNFTAddURI : this role allows one add URIs for a specific NFT - 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 - ESDTRoleModifyRoyalties : this role allows one to modify royalities of a specific NFT - ESDTRoleSetNewURI : this role allows one to set new uris of a specific NFT - ESDTRoleModifyCreator : this role allows one to rewrite the creator of a specific token @@ -709,7 +710,7 @@ This is done by performing a transaction like this: ```rust ModifyRoyalitiesTransaction { - Sender: + Sender: Receiver: Value: 0 GasLimit: 60000000 @@ -724,14 +725,14 @@ _For more details about how arguments have to be encoded, check [here](/develope [comment]: # (mx-context-auto) -### **ESDTNFTSetNewURIs** +### **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. This is done by performing a transaction like this: ```rust SetNewURIsTransaction { - Sender: + Sender: Receiver: Value: 0 GasLimit: 60000000 @@ -766,6 +767,27 @@ _For more details about how arguments have to be encoded, check [here](/develope [comment]: # (mx-context-auto) +### **MetaData Update** + +The NFT meta data can be updated using a transaction like this: + +```rust +MetaDataUpdateTransaction { + Sender: + Receiver: + Value: 0 + GasLimit: 60000000 + Data: "ESDTMetaDataUpdate" + + "@" + + + "@" + + + "@" + ... +} +``` + +_For more details about how arguments have to be encoded, check [here](/developers/sc-calls-format)._ + +[comment]: # (mx-context-auto) + ### **MetaData Recreate** The whole NFT can be recreated with new attributes using a transaction like this: @@ -780,6 +802,7 @@ MetaDataRecreateTransaction { "@" + + "@" + + "@" + + ... } ``` From 8428317f2c55581fd1ee2327f1133c074a96ccfc Mon Sep 17 00:00:00 2001 From: ssd04 Date: Tue, 25 Jun 2024 15:55:40 +0300 Subject: [PATCH 03/12] add options for metadata update and recreate --- docs/tokens/nft-tokens.mdx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index 69cd605da..e498b1a59 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -780,7 +780,11 @@ MetaDataUpdateTransaction { Data: "ESDTMetaDataUpdate" + "@" + + "@" + + - "@" + ... + "@" + + + "@" + + + "@" + + + "@" + + + "@" + } ``` @@ -801,8 +805,11 @@ MetaDataRecreateTransaction { Data: "ESDTMetaDataRecreate" + "@" + + "@" + + - "@" + - ... + "@" + + + "@" + + + "@" + + + "@" + + + "@" + } ``` From 3a3a9c35fffda8307907a356deae80847422988b Mon Sep 17 00:00:00 2001 From: ssd04 Date: Mon, 1 Jul 2024 22:49:47 +0300 Subject: [PATCH 04/12] update modify creator info --- docs/tokens/nft-tokens.mdx | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index e498b1a59..0a88a1aa3 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -305,6 +305,9 @@ For SFT: - 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. +- ESDTRoleModifyRoyalties : this role allows one to modify royalities of a specific NFT +- ESDTRoleSetNewURI : this role allows one to set new uris of a specific NFT +- ESDTRoleModifyCreator : this role allows one to rewrite the creator of a specific token To see how roles can be assigned, please refer to [this](/tokens/nft-tokens#assigning-roles) section. @@ -749,7 +752,12 @@ _For more details about how arguments have to be encoded, check [here](/develope ### **Modify Creator** -The creator of an NFT can be changed using a transaction like this: +[comment]: - only for dynamic nfts, SFT, metaESDT (only for accounts that have metadata on system account) + +The creator of a token can be changed. For this, the token has to be moved to the new creator account. The new creator +account requires `ESDTRoleModifyCreator` role. Also, the token has to be of dynamic type. + +The creator can be modified using a transaction like this: ```rust ModifyCreatorTransaction { @@ -817,6 +825,25 @@ _For more details about how arguments have to be encoded, check [here](/develope [comment]: # (mx-context-auto) +### **Make token dynamic** + +The ESDT manager can change token type to dynamic using a transaction like this: + +```rust +ChangeToDynamicTransaction { + Sender: + Receiver: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u + Value: 0 + GasLimit: 60000000 + Data: "changeToDynamic" + + "@" + +} +``` + +_For more details about how arguments have to be encoded, check [here](/developers/sc-calls-format)._ + +[comment]: # (mx-context-auto) + ### **Transferring token management rights** The manager of an ESDT token can transfer the ownership if the ESDT was created as upgradable. Check the [ESDT - Upgrading (changing properties)](/tokens/esdt-tokens#upgrading-changing-properties) section for more details. From b756a741cfe57ec6639c2b9947c447a1c4af23ca Mon Sep 17 00:00:00 2001 From: ssd04 Date: Thu, 4 Jul 2024 13:17:52 +0300 Subject: [PATCH 05/12] added more functions --- docs/tokens/nft-tokens.mdx | 79 +++++++++++++++++++++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index 0a88a1aa3..7b5f8d3c2 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -831,7 +831,7 @@ The ESDT manager can change token type to dynamic using a transaction like this: ```rust ChangeToDynamicTransaction { - Sender: + Sender: Receiver: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u Value: 0 GasLimit: 60000000 @@ -840,10 +840,87 @@ ChangeToDynamicTransaction { } ``` +The following token types cannot be changed to dynamic: `FungibleESDT`, `NonFungibleESDT`, `NonFungibleESDTv2` + +_For more details about how arguments have to be encoded, check [here](/developers/sc-calls-format)._ + +[comment]: # (mx-context-auto) + +### **Update token** + +The token type can be updated to the lastest version, which will update token type and propagate it to shard's +system account. Currently, token type is correctly saved only on metachain and there is no type related information +on shard level, the shard only knows if the token is non fungible with implicit type `NonFungibleESDT`, but it +does not know specifically if it's `NonFungibleESDT`, `MetaESDT` or `SemiFungibleESDT`. So, the update operation will +proceed in the following way: +- if token type is `NonFungibleESDT` it will be set to `NonFungibleESDTv2`, and it will be propagated to shard's system account +- if token type is `MetaESDT` or `SemiFungibleESDT` it will be propagated to shard's system account + +This can be done using a transaction like this: + +```rust +UpdateTokenIDTransaction { + Sender: + Receiver: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u + Value: 0 + GasLimit: 60000000 + Data: "updateTokenID" + + "@" + +} +``` + +The following token types cannot be changed to dynamic: `FungibleESDT`, `NonFungibleESDT`, `NonFungibleESDTv2` + _For more details about how arguments have to be encoded, check [here](/developers/sc-calls-format)._ [comment]: # (mx-context-auto) +### **Register dynamic token** + +A token can be registered directly as dynamic. + +This can be done using a transaction like this: + +```rust +UpdateTokenIDTransaction { + Sender: + Receiver: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u + Value: 0 + GasLimit: 60000000 + Data: "registerDynamic" + + "@" + + + "@" + + + "@" + +} +``` + +The following token types cannot be registered as dynamic: `FungibleESDT` + +[comment]: # (mx-context-auto) + +### **Register and set all roles to dynamic** + +A token can be registered directly as dynamic together will all roles set for the specific type. + +This can be done using a transaction like this: + +```rust +UpdateTokenIDTransaction { + Sender: + Receiver: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u + Value: 0 + GasLimit: 60000000 + Data: "registerAndSetAllRolesDynamic" + + "@" + + + "@" + + + "@" + +} +``` + +The following token types cannot be registered as dynamic: `FungibleESDT` + +[comment]: # (mx-context-auto) + ### **Transferring token management rights** The manager of an ESDT token can transfer the ownership if the ESDT was created as upgradable. Check the [ESDT - Upgrading (changing properties)](/tokens/esdt-tokens#upgrading-changing-properties) section for more details. From 59808ea989d1d1df28db070daf56bb81243e518a Mon Sep 17 00:00:00 2001 From: ssd04 Date: Thu, 4 Jul 2024 13:19:02 +0300 Subject: [PATCH 06/12] update register dynamic funcs --- docs/tokens/nft-tokens.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index 7b5f8d3c2..de18f1e4a 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -882,7 +882,7 @@ A token can be registered directly as dynamic. This can be done using a transaction like this: ```rust -UpdateTokenIDTransaction { +RegisterDynamicTransaction { Sender: Receiver: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u Value: 0 @@ -905,7 +905,7 @@ A token can be registered directly as dynamic together will all roles set for th This can be done using a transaction like this: ```rust -UpdateTokenIDTransaction { +RegisterAndSetAllRolesDynamicTransaction { Sender: Receiver: erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqzllls8a5w6u Value: 0 From 9a3f5f0a92dd0c30e923b446723c96c1a37f224d Mon Sep 17 00:00:00 2001 From: ssd04 Date: Fri, 26 Jul 2024 13:39:02 +0300 Subject: [PATCH 07/12] add more roles for sft tokens --- docs/tokens/nft-tokens.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index de18f1e4a..ea599d1c1 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -305,9 +305,11 @@ For SFT: - 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 - ESDTRoleModifyRoyalties : this role allows one to modify royalities of a specific NFT - ESDTRoleSetNewURI : this role allows one to set new uris of a specific NFT - ESDTRoleModifyCreator : this role allows one to rewrite the creator of a specific token +- ESDTRoleNFTRecreate : this role allows one to recreate the whole NFT with new attributes To see how roles can be assigned, please refer to [this](/tokens/nft-tokens#assigning-roles) section. From 1abef439903250175bfa5fb7bf7b19436304a918 Mon Sep 17 00:00:00 2001 From: ssd04 Date: Thu, 1 Aug 2024 23:01:40 +0300 Subject: [PATCH 08/12] fix set new uris func name --- docs/tokens/nft-tokens.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index ea599d1c1..ff0294c4b 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -741,7 +741,7 @@ SetNewURIsTransaction { Receiver: Value: 0 GasLimit: 60000000 - Data: "ESDTNFTSetNewURIs" + + Data: "ESDTSetNewURIs" + "@" + + "@" + + "@" + From 553f398e9867db63501fab7f727b92fdcde0b5d4 Mon Sep 17 00:00:00 2001 From: ssd04 Date: Thu, 1 Aug 2024 23:25:26 +0300 Subject: [PATCH 09/12] fixes after review --- docs/tokens/nft-tokens.mdx | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index ff0294c4b..9849eb346 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -710,7 +710,8 @@ _For more details about how arguments have to be encoded, check [here](/develope ### **Modify Royalties** -The manager of an ESDT token may want to set new royalities. This operation will rewrite the royalities on the specified token ID. It requires `ESDTRoleNFTModifyRoyalties` role. +The manager of an ESDT token may want to set new royalities. This operation will rewrite the royalities on the specified token ID. +It requires `ESDTRoleNFTModifyRoyalties` role. This is done by performing a transaction like this: ```rust @@ -732,7 +733,8 @@ _For more details about how arguments have to be encoded, check [here](/develope ### **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. +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. This is done by performing a transaction like this: ```rust @@ -743,8 +745,10 @@ SetNewURIsTransaction { GasLimit: 60000000 Data: "ESDTSetNewURIs" + "@" + + - "@" + + - "@" + + "@" + + + "@" + + + "@" + + + ... } ``` @@ -757,7 +761,7 @@ _For more details about how arguments have to be encoded, check [here](/develope [comment]: - only for dynamic nfts, SFT, metaESDT (only for accounts that have metadata on system account) The creator of a token can be changed. For this, the token has to be moved to the new creator account. The new creator -account requires `ESDTRoleModifyCreator` role. Also, the token has to be of dynamic type. +account requires `ESDTRoleModifyCreator` role. Also, the token has to be of dynamic type in order for this to work. The creator can be modified using a transaction like this: @@ -769,7 +773,7 @@ ModifyCreatorTransaction { GasLimit: 60000000 Data: "ESDTModifyCreator" + "@" + + - "@" + + "@" + } ``` @@ -779,7 +783,10 @@ _For more details about how arguments have to be encoded, check [here](/develope ### **MetaData Update** -The NFT meta data can be updated using a transaction like this: +The manager of an ESDT token may want to update token metadata. This operation will update token metadata on the specified token ID. +It requires `ESDTRoleNFTUpdate` role. If nothing is received for a given attribute, the old version of that attribute will be kept. + +This is done by performing a transaction like this: ```rust MetaDataUpdateTransaction { @@ -789,7 +796,7 @@ MetaDataUpdateTransaction { GasLimit: 60000000 Data: "ESDTMetaDataUpdate" + "@" + + - "@" + + + "@" + + "@" + + "@" + + "@" + + @@ -806,6 +813,11 @@ _For more details about how arguments have to be encoded, check [here](/develope The whole NFT can be recreated with new attributes using a transaction like this: +The manager of an ESDT token may want to recreate the whole token with new attributes. This operation will recreate token attributes on the specified token ID. +It requires `ESDTRoleNFTRecreate` role. If an argument is not being set, that field is set to zero. + +This is done by performing a transaction like this: + ```rust MetaDataRecreateTransaction { Sender: From e2723e2a1ed7d819b58c5d15c6aa972a1cf74e8a Mon Sep 17 00:00:00 2001 From: ssd04 Date: Mon, 12 Aug 2024 12:37:55 +0300 Subject: [PATCH 10/12] small fixes --- docs/tokens/nft-tokens.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index 9849eb346..8aa004358 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -722,7 +722,7 @@ ModifyRoyalitiesTransaction { GasLimit: 60000000 Data: "ESDTModifyRoyalties" + "@" + + - "@" + + + "@" + + "@" + } ``` @@ -758,7 +758,7 @@ _For more details about how arguments have to be encoded, check [here](/develope ### **Modify Creator** -[comment]: - only for dynamic nfts, SFT, metaESDT (only for accounts that have metadata on system account) +[comment]: # - only for dynamic nfts, SFT, metaESDT (only for accounts that have metadata on system account) The creator of a token can be changed. For this, the token has to be moved to the new creator account. The new creator account requires `ESDTRoleModifyCreator` role. Also, the token has to be of dynamic type in order for this to work. From 81b499cae802bf748f3888c0aa20e8414c6d7a45 Mon Sep 17 00:00:00 2001 From: ssd04 Date: Mon, 12 Aug 2024 12:39:06 +0300 Subject: [PATCH 11/12] small fixes --- docs/tokens/nft-tokens.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index 8aa004358..41d8208dc 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -758,8 +758,6 @@ _For more details about how arguments have to be encoded, check [here](/develope ### **Modify Creator** -[comment]: # - only for dynamic nfts, SFT, metaESDT (only for accounts that have metadata on system account) - The creator of a token can be changed. For this, the token has to be moved to the new creator account. The new creator account requires `ESDTRoleModifyCreator` role. Also, the token has to be of dynamic type in order for this to work. From d8be084a5c956b8b5f4cd65bb49632170ba57892 Mon Sep 17 00:00:00 2001 From: ssd04 Date: Fri, 20 Sep 2024 10:18:53 +0300 Subject: [PATCH 12/12] fix sft roles description --- docs/tokens/nft-tokens.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tokens/nft-tokens.mdx b/docs/tokens/nft-tokens.mdx index 41d8208dc..a2aee81ea 100644 --- a/docs/tokens/nft-tokens.mdx +++ b/docs/tokens/nft-tokens.mdx @@ -305,9 +305,9 @@ For SFT: - 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 -- ESDTRoleModifyRoyalties : this role allows one to modify royalities of a specific NFT -- ESDTRoleSetNewURI : this role allows one to set new uris of a specific NFT +- ESDTRoleNFTUpdate : this role allows one to update meta data attributes of a specific SFT +- ESDTRoleModifyRoyalties : this role allows one to modify royalities of a specific SFT +- ESDTRoleSetNewURI : this role allows one to set new uris of a specific SFT - ESDTRoleModifyCreator : this role allows one to rewrite the creator of a specific token - ESDTRoleNFTRecreate : this role allows one to recreate the whole NFT with new attributes