@lukso/lsp-smart-contracts 0.13.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +1 -0
  2. package/artifacts/LSP0ERC725Account.json +2 -2
  3. package/artifacts/LSP0ERC725AccountInit.json +2 -2
  4. package/artifacts/LSP11BasicSocialRecovery.json +2 -2
  5. package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
  6. package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
  7. package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
  8. package/artifacts/LSP6KeyManager.json +2 -2
  9. package/artifacts/LSP6KeyManagerInit.json +2 -2
  10. package/artifacts/LSP7CompatibleERC20Mintable.json +2 -2
  11. package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -2
  12. package/artifacts/LSP7Mintable.json +2 -2
  13. package/artifacts/LSP7MintableInit.json +2 -2
  14. package/artifacts/LSP8CappedSupply.json +42 -42
  15. package/artifacts/LSP8CappedSupplyInitAbstract.json +42 -42
  16. package/artifacts/LSP8CompatibleERC721.json +42 -42
  17. package/artifacts/LSP8CompatibleERC721InitAbstract.json +42 -42
  18. package/artifacts/LSP8CompatibleERC721Mintable.json +45 -45
  19. package/artifacts/LSP8CompatibleERC721MintableInit.json +45 -45
  20. package/artifacts/LSP8IdentifiableDigitalAsset.json +42 -42
  21. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +42 -42
  22. package/artifacts/LSP8Mintable.json +45 -45
  23. package/artifacts/LSP8MintableInit.json +45 -45
  24. package/artifacts/LSP9Vault.json +2 -2
  25. package/artifacts/LSP9VaultInit.json +2 -2
  26. package/artifacts/UniversalProfile.json +2 -2
  27. package/artifacts/UniversalProfileInit.json +2 -2
  28. package/contracts/LSP3ProfileMetadata/LSP3Constants.sol +1 -1
  29. package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +2 -3
  30. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +1 -1
  31. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +2 -2
  32. package/contracts/LSP6KeyManager/LSP6Utils.sol +1 -1
  33. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +1 -1
  34. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +1 -1
  35. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +1 -1
  36. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +1 -1
  37. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +1 -1
  38. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +1 -1
  39. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +1 -1
  40. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +1 -1
  41. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +30 -31
  42. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +14 -14
  43. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +3 -3
  44. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +13 -13
  45. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +37 -37
  46. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +12 -12
  47. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
  48. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +1 -1
  49. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +1 -2
  50. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +1 -2
  51. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +4 -4
  52. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +4 -4
  53. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +1 -2
  54. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +1 -2
  55. package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +0 -1
  56. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +4 -4
  57. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +4 -4
  58. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +2 -2
  59. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +5 -6
  60. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +5 -6
  61. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +5 -6
  62. package/contracts/Version.sol +1 -1
  63. package/devdocs/LSP4DigitalAssetMetadata.json +1 -1
  64. package/devdocs/LSP7CompatibleERC20.json +1 -1
  65. package/devdocs/LSP7CompatibleERC20Mintable.json +1 -1
  66. package/devdocs/LSP7CompatibleERC20MintableInit.json +1 -1
  67. package/devdocs/LSP7DigitalAsset.json +1 -1
  68. package/devdocs/LSP7Mintable.json +1 -1
  69. package/devdocs/LSP7MintableInit.json +1 -1
  70. package/devdocs/LSP8CappedSupply.json +20 -20
  71. package/devdocs/LSP8CappedSupplyInitAbstract.json +20 -20
  72. package/devdocs/LSP8CompatibleERC721.json +22 -22
  73. package/devdocs/LSP8CompatibleERC721InitAbstract.json +20 -20
  74. package/devdocs/LSP8CompatibleERC721Mintable.json +22 -22
  75. package/devdocs/LSP8CompatibleERC721MintableInit.json +22 -22
  76. package/devdocs/LSP8IdentifiableDigitalAsset.json +24 -24
  77. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +20 -20
  78. package/devdocs/LSP8Mintable.json +22 -22
  79. package/devdocs/LSP8MintableInit.json +22 -22
  80. package/dist/constants.cjs.js +797 -797
  81. package/dist/constants.d.ts +399 -399
  82. package/dist/constants.es.js +797 -797
  83. package/package.json +1 -1
  84. package/userdocs/LSP8CappedSupply.json +8 -8
  85. package/userdocs/LSP8CappedSupplyInitAbstract.json +8 -8
  86. package/userdocs/LSP8CompatibleERC721.json +8 -8
  87. package/userdocs/LSP8CompatibleERC721InitAbstract.json +8 -8
  88. package/userdocs/LSP8CompatibleERC721Mintable.json +8 -8
  89. package/userdocs/LSP8CompatibleERC721MintableInit.json +8 -8
  90. package/userdocs/LSP8IdentifiableDigitalAsset.json +9 -9
  91. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +8 -8
  92. package/userdocs/LSP8Mintable.json +8 -8
  93. package/userdocs/LSP8MintableInit.json +8 -8
@@ -7649,18 +7649,18 @@ const ErrorSelectors = {
7649
7649
  userdoc: [{ notice: "LSP8 contract cannot receive native tokens." }]
7650
7650
  },
7651
7651
  /**
7652
- * error LSP8TokenIdSchemaNotEditable()
7652
+ * error LSP8TokenIdFormatNotEditable()
7653
7653
  *
7654
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
7654
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
7655
7655
  */
7656
- "0xce0c7552": {
7657
- sig: "LSP8TokenIdSchemaNotEditable()",
7656
+ "0x3664800a": {
7657
+ sig: "LSP8TokenIdFormatNotEditable()",
7658
7658
  inputs: [],
7659
- name: "LSP8TokenIdSchemaNotEditable",
7659
+ name: "LSP8TokenIdFormatNotEditable",
7660
7660
  type: "error",
7661
7661
  devdoc: [
7662
7662
  {
7663
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
7663
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
7664
7664
  }
7665
7665
  ]
7666
7666
  },
@@ -8140,18 +8140,18 @@ const ErrorSelectors = {
8140
8140
  userdoc: [{ notice: "LSP8 contract cannot receive native tokens." }]
8141
8141
  },
8142
8142
  /**
8143
- * error LSP8TokenIdSchemaNotEditable()
8143
+ * error LSP8TokenIdFormatNotEditable()
8144
8144
  *
8145
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
8145
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
8146
8146
  */
8147
- "0xce0c7552": {
8148
- sig: "LSP8TokenIdSchemaNotEditable()",
8147
+ "0x3664800a": {
8148
+ sig: "LSP8TokenIdFormatNotEditable()",
8149
8149
  inputs: [],
8150
- name: "LSP8TokenIdSchemaNotEditable",
8150
+ name: "LSP8TokenIdFormatNotEditable",
8151
8151
  type: "error",
8152
8152
  devdoc: [
8153
8153
  {
8154
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
8154
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
8155
8155
  }
8156
8156
  ]
8157
8157
  },
@@ -8671,18 +8671,18 @@ const ErrorSelectors = {
8671
8671
  userdoc: [{ notice: "LSP8 contract cannot receive native tokens." }]
8672
8672
  },
8673
8673
  /**
8674
- * error LSP8TokenIdSchemaNotEditable()
8674
+ * error LSP8TokenIdFormatNotEditable()
8675
8675
  *
8676
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
8676
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
8677
8677
  */
8678
- "0xce0c7552": {
8679
- sig: "LSP8TokenIdSchemaNotEditable()",
8678
+ "0x3664800a": {
8679
+ sig: "LSP8TokenIdFormatNotEditable()",
8680
8680
  inputs: [],
8681
- name: "LSP8TokenIdSchemaNotEditable",
8681
+ name: "LSP8TokenIdFormatNotEditable",
8682
8682
  type: "error",
8683
8683
  devdoc: [
8684
8684
  {
8685
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
8685
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
8686
8686
  }
8687
8687
  ]
8688
8688
  },
@@ -9202,18 +9202,18 @@ const ErrorSelectors = {
9202
9202
  userdoc: [{ notice: "LSP8 contract cannot receive native tokens." }]
9203
9203
  },
9204
9204
  /**
9205
- * error LSP8TokenIdSchemaNotEditable()
9205
+ * error LSP8TokenIdFormatNotEditable()
9206
9206
  *
9207
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
9207
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
9208
9208
  */
9209
- "0xce0c7552": {
9210
- sig: "LSP8TokenIdSchemaNotEditable()",
9209
+ "0x3664800a": {
9210
+ sig: "LSP8TokenIdFormatNotEditable()",
9211
9211
  inputs: [],
9212
- name: "LSP8TokenIdSchemaNotEditable",
9212
+ name: "LSP8TokenIdFormatNotEditable",
9213
9213
  type: "error",
9214
9214
  devdoc: [
9215
9215
  {
9216
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
9216
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
9217
9217
  }
9218
9218
  ]
9219
9219
  },
@@ -9693,18 +9693,18 @@ const ErrorSelectors = {
9693
9693
  userdoc: [{ notice: "LSP8 contract cannot receive native tokens." }]
9694
9694
  },
9695
9695
  /**
9696
- * error LSP8TokenIdSchemaNotEditable()
9696
+ * error LSP8TokenIdFormatNotEditable()
9697
9697
  *
9698
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
9698
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
9699
9699
  */
9700
- "0xce0c7552": {
9701
- sig: "LSP8TokenIdSchemaNotEditable()",
9700
+ "0x3664800a": {
9701
+ sig: "LSP8TokenIdFormatNotEditable()",
9702
9702
  inputs: [],
9703
- name: "LSP8TokenIdSchemaNotEditable",
9703
+ name: "LSP8TokenIdFormatNotEditable",
9704
9704
  type: "error",
9705
9705
  devdoc: [
9706
9706
  {
9707
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
9707
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
9708
9708
  }
9709
9709
  ]
9710
9710
  },
@@ -10184,18 +10184,18 @@ const ErrorSelectors = {
10184
10184
  userdoc: [{ notice: "LSP8 contract cannot receive native tokens." }]
10185
10185
  },
10186
10186
  /**
10187
- * error LSP8TokenIdSchemaNotEditable()
10187
+ * error LSP8TokenIdFormatNotEditable()
10188
10188
  *
10189
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
10189
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
10190
10190
  */
10191
- "0xce0c7552": {
10192
- sig: "LSP8TokenIdSchemaNotEditable()",
10191
+ "0x3664800a": {
10192
+ sig: "LSP8TokenIdFormatNotEditable()",
10193
10193
  inputs: [],
10194
- name: "LSP8TokenIdSchemaNotEditable",
10194
+ name: "LSP8TokenIdFormatNotEditable",
10195
10195
  type: "error",
10196
10196
  devdoc: [
10197
10197
  {
10198
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
10198
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
10199
10199
  }
10200
10200
  ]
10201
10201
  },
@@ -10689,18 +10689,18 @@ const ErrorSelectors = {
10689
10689
  devdoc: [{ details: "Reverts when `tokenId` has already been minted." }]
10690
10690
  },
10691
10691
  /**
10692
- * error LSP8TokenIdSchemaNotEditable()
10692
+ * error LSP8TokenIdFormatNotEditable()
10693
10693
  *
10694
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
10694
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
10695
10695
  */
10696
- "0xce0c7552": {
10697
- sig: "LSP8TokenIdSchemaNotEditable()",
10696
+ "0x3664800a": {
10697
+ sig: "LSP8TokenIdFormatNotEditable()",
10698
10698
  inputs: [],
10699
- name: "LSP8TokenIdSchemaNotEditable",
10699
+ name: "LSP8TokenIdFormatNotEditable",
10700
10700
  type: "error",
10701
10701
  devdoc: [
10702
10702
  {
10703
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
10703
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
10704
10704
  }
10705
10705
  ]
10706
10706
  },
@@ -11194,18 +11194,18 @@ const ErrorSelectors = {
11194
11194
  devdoc: [{ details: "Reverts when `tokenId` has already been minted." }]
11195
11195
  },
11196
11196
  /**
11197
- * error LSP8TokenIdSchemaNotEditable()
11197
+ * error LSP8TokenIdFormatNotEditable()
11198
11198
  *
11199
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
11199
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
11200
11200
  */
11201
- "0xce0c7552": {
11202
- sig: "LSP8TokenIdSchemaNotEditable()",
11201
+ "0x3664800a": {
11202
+ sig: "LSP8TokenIdFormatNotEditable()",
11203
11203
  inputs: [],
11204
- name: "LSP8TokenIdSchemaNotEditable",
11204
+ name: "LSP8TokenIdFormatNotEditable",
11205
11205
  type: "error",
11206
11206
  devdoc: [
11207
11207
  {
11208
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
11208
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
11209
11209
  }
11210
11210
  ]
11211
11211
  },
@@ -11699,18 +11699,18 @@ const ErrorSelectors = {
11699
11699
  devdoc: [{ details: "Reverts when `tokenId` has already been minted." }]
11700
11700
  },
11701
11701
  /**
11702
- * error LSP8TokenIdSchemaNotEditable()
11702
+ * error LSP8TokenIdFormatNotEditable()
11703
11703
  *
11704
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
11704
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
11705
11705
  */
11706
- "0xce0c7552": {
11707
- sig: "LSP8TokenIdSchemaNotEditable()",
11706
+ "0x3664800a": {
11707
+ sig: "LSP8TokenIdFormatNotEditable()",
11708
11708
  inputs: [],
11709
- name: "LSP8TokenIdSchemaNotEditable",
11709
+ name: "LSP8TokenIdFormatNotEditable",
11710
11710
  type: "error",
11711
11711
  devdoc: [
11712
11712
  {
11713
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
11713
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
11714
11714
  }
11715
11715
  ]
11716
11716
  },
@@ -12204,18 +12204,18 @@ const ErrorSelectors = {
12204
12204
  devdoc: [{ details: "Reverts when `tokenId` has already been minted." }]
12205
12205
  },
12206
12206
  /**
12207
- * error LSP8TokenIdSchemaNotEditable()
12207
+ * error LSP8TokenIdFormatNotEditable()
12208
12208
  *
12209
- * 0xce0c7552 = keccak256('LSP8TokenIdSchemaNotEditable()')
12209
+ * 0x3664800a = keccak256('LSP8TokenIdFormatNotEditable()')
12210
12210
  */
12211
- "0xce0c7552": {
12212
- sig: "LSP8TokenIdSchemaNotEditable()",
12211
+ "0x3664800a": {
12212
+ sig: "LSP8TokenIdFormatNotEditable()",
12213
12213
  inputs: [],
12214
- name: "LSP8TokenIdSchemaNotEditable",
12214
+ name: "LSP8TokenIdFormatNotEditable",
12215
12215
  type: "error",
12216
12216
  devdoc: [
12217
12217
  {
12218
- details: "Reverts when trying to edit the data key `LSP8TokenIdSchema` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdSchema` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
12218
+ details: "Reverts when trying to edit the data key `LSP8TokenIdFormat` after the identifiable digital asset contract has been deployed. The `LSP8TokenIdFormat` data key is located inside the ERC725Y Data key-value store of the identifiable digital asset contract. It can be set only once inside the constructor/initializer when the identifiable digital asset contract is being deployed."
12219
12219
  }
12220
12220
  ]
12221
12221
  },
@@ -29401,7 +29401,7 @@ const FunctionSelectors = {
29401
29401
  type: "function",
29402
29402
  devdoc: {
29403
29403
  params: {
29404
- lsp4TokenType_: "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
29404
+ lsp4TokenType_: "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
29405
29405
  name_: "The name of the token.",
29406
29406
  newOwner_: "The owner of the token contract.",
29407
29407
  symbol_: "The symbol of the token."
@@ -30645,7 +30645,7 @@ const FunctionSelectors = {
30645
30645
  devdoc: {
30646
30646
  params: {
30647
30647
  isNonDivisible_: "Specify if the LSP7 token is a fungible or non-fungible token.",
30648
- lsp4TokenType_: "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
30648
+ lsp4TokenType_: "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
30649
30649
  name_: "The name of the token.",
30650
30650
  newOwner_: "The owner of the token contract.",
30651
30651
  symbol_: "The symbol of the token."
@@ -31069,43 +31069,54 @@ const FunctionSelectors = {
31069
31069
  }
31070
31070
  },
31071
31071
  /**
31072
- * function getOperatorsOf(
31073
- * bytes32 tokenId
31072
+ * function getDataBatchForTokenIds(
31073
+ * bytes32[] tokenIds,
31074
+ * bytes32[] dataKeys
31074
31075
  * )
31075
31076
  *
31076
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
31077
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
31077
31078
  */
31078
- "0x49a6078d": {
31079
- sig: "getOperatorsOf(bytes32)",
31080
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
31081
- name: "getOperatorsOf",
31082
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
31079
+ "0x1d26fce6": {
31080
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
31081
+ inputs: [
31082
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
31083
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
31084
+ ],
31085
+ name: "getDataBatchForTokenIds",
31086
+ outputs: [
31087
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
31088
+ ],
31083
31089
  stateMutability: "view",
31084
31090
  type: "function",
31085
31091
  devdoc: {
31086
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
31087
- params: { tokenId: "The token ID to get the operators for." },
31092
+ params: {
31093
+ dataKeys: "An array of data keys corresponding to the token IDs.",
31094
+ tokenIds: "An array of token IDs."
31095
+ },
31088
31096
  returns: {
31089
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
31097
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
31090
31098
  }
31099
+ },
31100
+ userdoc: {
31101
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
31091
31102
  }
31092
31103
  },
31093
31104
  /**
31094
- * function getTokenIdData(
31105
+ * function getDataForTokenId(
31095
31106
  * bytes32 tokenId,
31096
31107
  * bytes32 dataKey
31097
31108
  * )
31098
31109
  *
31099
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
31110
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
31100
31111
  */
31101
- "0xe7bb5942": {
31102
- sig: "getTokenIdData(bytes32,bytes32)",
31112
+ "0x16e023b3": {
31113
+ sig: "getDataForTokenId(bytes32,bytes32)",
31103
31114
  inputs: [
31104
31115
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31105
31116
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
31106
31117
  ],
31107
- name: "getTokenIdData",
31108
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
31118
+ name: "getDataForTokenId",
31119
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
31109
31120
  stateMutability: "view",
31110
31121
  type: "function",
31111
31122
  devdoc: {
@@ -31114,7 +31125,7 @@ const FunctionSelectors = {
31114
31125
  tokenId: "The unique identifier for a token."
31115
31126
  },
31116
31127
  returns: {
31117
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
31128
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
31118
31129
  }
31119
31130
  },
31120
31131
  userdoc: {
@@ -31122,36 +31133,25 @@ const FunctionSelectors = {
31122
31133
  }
31123
31134
  },
31124
31135
  /**
31125
- * function getTokenIdDataBatch(
31126
- * bytes32[] tokenIds,
31127
- * bytes32[] dataKeys
31136
+ * function getOperatorsOf(
31137
+ * bytes32 tokenId
31128
31138
  * )
31129
31139
  *
31130
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
31140
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
31131
31141
  */
31132
- "0xc797c777": {
31133
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
31134
- inputs: [
31135
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
31136
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
31137
- ],
31138
- name: "getTokenIdDataBatch",
31139
- outputs: [
31140
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
31141
- ],
31142
+ "0x49a6078d": {
31143
+ sig: "getOperatorsOf(bytes32)",
31144
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
31145
+ name: "getOperatorsOf",
31146
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
31142
31147
  stateMutability: "view",
31143
31148
  type: "function",
31144
31149
  devdoc: {
31145
- params: {
31146
- dataKey: "An array of data keys corresponding to the token IDs.",
31147
- tokenId: "An array of token IDs."
31148
- },
31150
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
31151
+ params: { tokenId: "The token ID to get the operators for." },
31149
31152
  returns: {
31150
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
31153
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
31151
31154
  }
31152
- },
31153
- userdoc: {
31154
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
31155
31155
  }
31156
31156
  },
31157
31157
  /**
@@ -31314,64 +31314,64 @@ const FunctionSelectors = {
31314
31314
  }
31315
31315
  },
31316
31316
  /**
31317
- * function setTokenIdData(
31318
- * bytes32 tokenId,
31319
- * bytes32 dataKey,
31320
- * bytes dataValue
31317
+ * function setDataBatchForTokenIds(
31318
+ * bytes32[] tokenIds,
31319
+ * bytes32[] dataKeys,
31320
+ * bytes[] dataValues
31321
31321
  * )
31322
31322
  *
31323
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
31323
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
31324
31324
  */
31325
- "0x3b38c1d7": {
31326
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
31325
+ "0xbe9f0e6f": {
31326
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
31327
31327
  inputs: [
31328
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31329
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
31330
- { internalType: "bytes", name: "dataValue", type: "bytes" }
31328
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
31329
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
31330
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
31331
31331
  ],
31332
- name: "setTokenIdData",
31332
+ name: "setDataBatchForTokenIds",
31333
31333
  outputs: [],
31334
31334
  stateMutability: "nonpayable",
31335
31335
  type: "function",
31336
31336
  devdoc: {
31337
31337
  params: {
31338
- dataKey: "The key for the data to set.",
31339
- dataValue: "The value to set for the given data key.",
31340
- tokenId: "The unique identifier for a token."
31338
+ dataKeys: "An array of data keys corresponding to the token IDs.",
31339
+ dataValues: "An array of values to set for the given data keys.",
31340
+ tokenIds: "An array of token IDs."
31341
31341
  }
31342
31342
  },
31343
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
31343
+ userdoc: {
31344
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
31345
+ }
31344
31346
  },
31345
31347
  /**
31346
- * function setTokenIdDataBatch(
31347
- * bytes32[] tokenIds,
31348
- * bytes32[] dataKeys,
31349
- * bytes[] dataValues
31348
+ * function setDataForTokenId(
31349
+ * bytes32 tokenId,
31350
+ * bytes32 dataKey,
31351
+ * bytes dataValue
31350
31352
  * )
31351
31353
  *
31352
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
31354
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
31353
31355
  */
31354
- "0xae0646d7": {
31355
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
31356
+ "0xd6c1407c": {
31357
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
31356
31358
  inputs: [
31357
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
31358
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
31359
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
31359
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31360
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
31361
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
31360
31362
  ],
31361
- name: "setTokenIdDataBatch",
31363
+ name: "setDataForTokenId",
31362
31364
  outputs: [],
31363
31365
  stateMutability: "nonpayable",
31364
31366
  type: "function",
31365
31367
  devdoc: {
31366
31368
  params: {
31367
- dataKey: "An array of data keys corresponding to the token IDs.",
31368
- dataValue: "An array of values to set for the given data keys.",
31369
- tokenId: "An array of token IDs."
31369
+ dataKey: "The key for the data to set.",
31370
+ dataValue: "The value to set for the given data key.",
31371
+ tokenId: "The unique identifier for a token."
31370
31372
  }
31371
31373
  },
31372
- userdoc: {
31373
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
31374
- }
31374
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
31375
31375
  },
31376
31376
  /**
31377
31377
  * function supportsInterface(
@@ -31682,43 +31682,54 @@ const FunctionSelectors = {
31682
31682
  }
31683
31683
  },
31684
31684
  /**
31685
- * function getOperatorsOf(
31686
- * bytes32 tokenId
31685
+ * function getDataBatchForTokenIds(
31686
+ * bytes32[] tokenIds,
31687
+ * bytes32[] dataKeys
31687
31688
  * )
31688
31689
  *
31689
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
31690
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
31690
31691
  */
31691
- "0x49a6078d": {
31692
- sig: "getOperatorsOf(bytes32)",
31693
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
31694
- name: "getOperatorsOf",
31695
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
31692
+ "0x1d26fce6": {
31693
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
31694
+ inputs: [
31695
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
31696
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
31697
+ ],
31698
+ name: "getDataBatchForTokenIds",
31699
+ outputs: [
31700
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
31701
+ ],
31696
31702
  stateMutability: "view",
31697
31703
  type: "function",
31698
31704
  devdoc: {
31699
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
31700
- params: { tokenId: "The token ID to get the operators for." },
31705
+ params: {
31706
+ dataKeys: "An array of data keys corresponding to the token IDs.",
31707
+ tokenIds: "An array of token IDs."
31708
+ },
31701
31709
  returns: {
31702
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
31710
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
31703
31711
  }
31712
+ },
31713
+ userdoc: {
31714
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
31704
31715
  }
31705
31716
  },
31706
31717
  /**
31707
- * function getTokenIdData(
31718
+ * function getDataForTokenId(
31708
31719
  * bytes32 tokenId,
31709
31720
  * bytes32 dataKey
31710
31721
  * )
31711
31722
  *
31712
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
31723
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
31713
31724
  */
31714
- "0xe7bb5942": {
31715
- sig: "getTokenIdData(bytes32,bytes32)",
31725
+ "0x16e023b3": {
31726
+ sig: "getDataForTokenId(bytes32,bytes32)",
31716
31727
  inputs: [
31717
31728
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31718
31729
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
31719
31730
  ],
31720
- name: "getTokenIdData",
31721
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
31731
+ name: "getDataForTokenId",
31732
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
31722
31733
  stateMutability: "view",
31723
31734
  type: "function",
31724
31735
  devdoc: {
@@ -31727,7 +31738,7 @@ const FunctionSelectors = {
31727
31738
  tokenId: "The unique identifier for a token."
31728
31739
  },
31729
31740
  returns: {
31730
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
31741
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
31731
31742
  }
31732
31743
  },
31733
31744
  userdoc: {
@@ -31735,36 +31746,25 @@ const FunctionSelectors = {
31735
31746
  }
31736
31747
  },
31737
31748
  /**
31738
- * function getTokenIdDataBatch(
31739
- * bytes32[] tokenIds,
31740
- * bytes32[] dataKeys
31749
+ * function getOperatorsOf(
31750
+ * bytes32 tokenId
31741
31751
  * )
31742
31752
  *
31743
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
31753
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
31744
31754
  */
31745
- "0xc797c777": {
31746
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
31747
- inputs: [
31748
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
31749
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
31750
- ],
31751
- name: "getTokenIdDataBatch",
31752
- outputs: [
31753
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
31754
- ],
31755
+ "0x49a6078d": {
31756
+ sig: "getOperatorsOf(bytes32)",
31757
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
31758
+ name: "getOperatorsOf",
31759
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
31755
31760
  stateMutability: "view",
31756
31761
  type: "function",
31757
31762
  devdoc: {
31758
- params: {
31759
- dataKey: "An array of data keys corresponding to the token IDs.",
31760
- tokenId: "An array of token IDs."
31761
- },
31763
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
31764
+ params: { tokenId: "The token ID to get the operators for." },
31762
31765
  returns: {
31763
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
31766
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
31764
31767
  }
31765
- },
31766
- userdoc: {
31767
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
31768
31768
  }
31769
31769
  },
31770
31770
  /**
@@ -31927,64 +31927,64 @@ const FunctionSelectors = {
31927
31927
  }
31928
31928
  },
31929
31929
  /**
31930
- * function setTokenIdData(
31931
- * bytes32 tokenId,
31932
- * bytes32 dataKey,
31933
- * bytes dataValue
31930
+ * function setDataBatchForTokenIds(
31931
+ * bytes32[] tokenIds,
31932
+ * bytes32[] dataKeys,
31933
+ * bytes[] dataValues
31934
31934
  * )
31935
31935
  *
31936
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
31936
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
31937
31937
  */
31938
- "0x3b38c1d7": {
31939
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
31938
+ "0xbe9f0e6f": {
31939
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
31940
31940
  inputs: [
31941
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31942
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
31943
- { internalType: "bytes", name: "dataValue", type: "bytes" }
31941
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
31942
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
31943
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
31944
31944
  ],
31945
- name: "setTokenIdData",
31945
+ name: "setDataBatchForTokenIds",
31946
31946
  outputs: [],
31947
31947
  stateMutability: "nonpayable",
31948
31948
  type: "function",
31949
31949
  devdoc: {
31950
31950
  params: {
31951
- dataKey: "The key for the data to set.",
31952
- dataValue: "The value to set for the given data key.",
31953
- tokenId: "The unique identifier for a token."
31951
+ dataKeys: "An array of data keys corresponding to the token IDs.",
31952
+ dataValues: "An array of values to set for the given data keys.",
31953
+ tokenIds: "An array of token IDs."
31954
31954
  }
31955
31955
  },
31956
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
31956
+ userdoc: {
31957
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
31958
+ }
31957
31959
  },
31958
31960
  /**
31959
- * function setTokenIdDataBatch(
31960
- * bytes32[] tokenIds,
31961
- * bytes32[] dataKeys,
31962
- * bytes[] dataValues
31961
+ * function setDataForTokenId(
31962
+ * bytes32 tokenId,
31963
+ * bytes32 dataKey,
31964
+ * bytes dataValue
31963
31965
  * )
31964
31966
  *
31965
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
31967
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
31966
31968
  */
31967
- "0xae0646d7": {
31968
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
31969
+ "0xd6c1407c": {
31970
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
31969
31971
  inputs: [
31970
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
31971
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
31972
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
31972
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31973
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
31974
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
31973
31975
  ],
31974
- name: "setTokenIdDataBatch",
31976
+ name: "setDataForTokenId",
31975
31977
  outputs: [],
31976
31978
  stateMutability: "nonpayable",
31977
31979
  type: "function",
31978
31980
  devdoc: {
31979
31981
  params: {
31980
- dataKey: "An array of data keys corresponding to the token IDs.",
31981
- dataValue: "An array of values to set for the given data keys.",
31982
- tokenId: "An array of token IDs."
31982
+ dataKey: "The key for the data to set.",
31983
+ dataValue: "The value to set for the given data key.",
31984
+ tokenId: "The unique identifier for a token."
31983
31985
  }
31984
31986
  },
31985
- userdoc: {
31986
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
31987
- }
31987
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
31988
31988
  },
31989
31989
  /**
31990
31990
  * function supportsInterface(
@@ -32293,43 +32293,54 @@ const FunctionSelectors = {
32293
32293
  }
32294
32294
  },
32295
32295
  /**
32296
- * function getOperatorsOf(
32297
- * bytes32 tokenId
32296
+ * function getDataBatchForTokenIds(
32297
+ * bytes32[] tokenIds,
32298
+ * bytes32[] dataKeys
32298
32299
  * )
32299
32300
  *
32300
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
32301
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
32301
32302
  */
32302
- "0x49a6078d": {
32303
- sig: "getOperatorsOf(bytes32)",
32304
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
32305
- name: "getOperatorsOf",
32306
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
32303
+ "0x1d26fce6": {
32304
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
32305
+ inputs: [
32306
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
32307
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
32308
+ ],
32309
+ name: "getDataBatchForTokenIds",
32310
+ outputs: [
32311
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
32312
+ ],
32307
32313
  stateMutability: "view",
32308
32314
  type: "function",
32309
32315
  devdoc: {
32310
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
32311
- params: { tokenId: "The token ID to get the operators for." },
32316
+ params: {
32317
+ dataKeys: "An array of data keys corresponding to the token IDs.",
32318
+ tokenIds: "An array of token IDs."
32319
+ },
32312
32320
  returns: {
32313
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
32321
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
32314
32322
  }
32323
+ },
32324
+ userdoc: {
32325
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
32315
32326
  }
32316
32327
  },
32317
32328
  /**
32318
- * function getTokenIdData(
32329
+ * function getDataForTokenId(
32319
32330
  * bytes32 tokenId,
32320
32331
  * bytes32 dataKey
32321
32332
  * )
32322
32333
  *
32323
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
32334
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
32324
32335
  */
32325
- "0xe7bb5942": {
32326
- sig: "getTokenIdData(bytes32,bytes32)",
32336
+ "0x16e023b3": {
32337
+ sig: "getDataForTokenId(bytes32,bytes32)",
32327
32338
  inputs: [
32328
32339
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
32329
32340
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
32330
32341
  ],
32331
- name: "getTokenIdData",
32332
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
32342
+ name: "getDataForTokenId",
32343
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
32333
32344
  stateMutability: "view",
32334
32345
  type: "function",
32335
32346
  devdoc: {
@@ -32338,7 +32349,7 @@ const FunctionSelectors = {
32338
32349
  tokenId: "The unique identifier for a token."
32339
32350
  },
32340
32351
  returns: {
32341
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
32352
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
32342
32353
  }
32343
32354
  },
32344
32355
  userdoc: {
@@ -32346,36 +32357,25 @@ const FunctionSelectors = {
32346
32357
  }
32347
32358
  },
32348
32359
  /**
32349
- * function getTokenIdDataBatch(
32350
- * bytes32[] tokenIds,
32351
- * bytes32[] dataKeys
32360
+ * function getOperatorsOf(
32361
+ * bytes32 tokenId
32352
32362
  * )
32353
32363
  *
32354
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
32364
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
32355
32365
  */
32356
- "0xc797c777": {
32357
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
32358
- inputs: [
32359
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
32360
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
32361
- ],
32362
- name: "getTokenIdDataBatch",
32363
- outputs: [
32364
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
32365
- ],
32366
+ "0x49a6078d": {
32367
+ sig: "getOperatorsOf(bytes32)",
32368
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
32369
+ name: "getOperatorsOf",
32370
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
32366
32371
  stateMutability: "view",
32367
32372
  type: "function",
32368
32373
  devdoc: {
32369
- params: {
32370
- dataKey: "An array of data keys corresponding to the token IDs.",
32371
- tokenId: "An array of token IDs."
32372
- },
32374
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
32375
+ params: { tokenId: "The token ID to get the operators for." },
32373
32376
  returns: {
32374
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
32377
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
32375
32378
  }
32376
- },
32377
- userdoc: {
32378
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
32379
32379
  }
32380
32380
  },
32381
32381
  /**
@@ -32538,64 +32538,64 @@ const FunctionSelectors = {
32538
32538
  }
32539
32539
  },
32540
32540
  /**
32541
- * function setTokenIdData(
32542
- * bytes32 tokenId,
32543
- * bytes32 dataKey,
32544
- * bytes dataValue
32541
+ * function setDataBatchForTokenIds(
32542
+ * bytes32[] tokenIds,
32543
+ * bytes32[] dataKeys,
32544
+ * bytes[] dataValues
32545
32545
  * )
32546
32546
  *
32547
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
32547
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
32548
32548
  */
32549
- "0x3b38c1d7": {
32550
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
32549
+ "0xbe9f0e6f": {
32550
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
32551
32551
  inputs: [
32552
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
32553
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
32554
- { internalType: "bytes", name: "dataValue", type: "bytes" }
32552
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
32553
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
32554
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
32555
32555
  ],
32556
- name: "setTokenIdData",
32556
+ name: "setDataBatchForTokenIds",
32557
32557
  outputs: [],
32558
32558
  stateMutability: "nonpayable",
32559
32559
  type: "function",
32560
32560
  devdoc: {
32561
32561
  params: {
32562
- dataKey: "The key for the data to set.",
32563
- dataValue: "The value to set for the given data key.",
32564
- tokenId: "The unique identifier for a token."
32562
+ dataKeys: "An array of data keys corresponding to the token IDs.",
32563
+ dataValues: "An array of values to set for the given data keys.",
32564
+ tokenIds: "An array of token IDs."
32565
32565
  }
32566
32566
  },
32567
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
32567
+ userdoc: {
32568
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
32569
+ }
32568
32570
  },
32569
32571
  /**
32570
- * function setTokenIdDataBatch(
32571
- * bytes32[] tokenIds,
32572
- * bytes32[] dataKeys,
32573
- * bytes[] dataValues
32572
+ * function setDataForTokenId(
32573
+ * bytes32 tokenId,
32574
+ * bytes32 dataKey,
32575
+ * bytes dataValue
32574
32576
  * )
32575
32577
  *
32576
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
32578
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
32577
32579
  */
32578
- "0xae0646d7": {
32579
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
32580
+ "0xd6c1407c": {
32581
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
32580
32582
  inputs: [
32581
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
32582
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
32583
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
32583
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
32584
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
32585
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
32584
32586
  ],
32585
- name: "setTokenIdDataBatch",
32587
+ name: "setDataForTokenId",
32586
32588
  outputs: [],
32587
32589
  stateMutability: "nonpayable",
32588
32590
  type: "function",
32589
32591
  devdoc: {
32590
32592
  params: {
32591
- dataKey: "An array of data keys corresponding to the token IDs.",
32592
- dataValue: "An array of values to set for the given data keys.",
32593
- tokenId: "An array of token IDs."
32593
+ dataKey: "The key for the data to set.",
32594
+ dataValue: "The value to set for the given data key.",
32595
+ tokenId: "The unique identifier for a token."
32594
32596
  }
32595
32597
  },
32596
- userdoc: {
32597
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
32598
- }
32598
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
32599
32599
  },
32600
32600
  /**
32601
32601
  * function supportsInterface(
@@ -32928,43 +32928,54 @@ const FunctionSelectors = {
32928
32928
  }
32929
32929
  },
32930
32930
  /**
32931
- * function getOperatorsOf(
32932
- * bytes32 tokenId
32931
+ * function getDataBatchForTokenIds(
32932
+ * bytes32[] tokenIds,
32933
+ * bytes32[] dataKeys
32933
32934
  * )
32934
32935
  *
32935
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
32936
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
32936
32937
  */
32937
- "0x49a6078d": {
32938
- sig: "getOperatorsOf(bytes32)",
32939
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
32940
- name: "getOperatorsOf",
32941
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
32938
+ "0x1d26fce6": {
32939
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
32940
+ inputs: [
32941
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
32942
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
32943
+ ],
32944
+ name: "getDataBatchForTokenIds",
32945
+ outputs: [
32946
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
32947
+ ],
32942
32948
  stateMutability: "view",
32943
32949
  type: "function",
32944
32950
  devdoc: {
32945
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
32946
- params: { tokenId: "The token ID to get the operators for." },
32951
+ params: {
32952
+ dataKeys: "An array of data keys corresponding to the token IDs.",
32953
+ tokenIds: "An array of token IDs."
32954
+ },
32947
32955
  returns: {
32948
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
32956
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
32949
32957
  }
32958
+ },
32959
+ userdoc: {
32960
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
32950
32961
  }
32951
32962
  },
32952
32963
  /**
32953
- * function getTokenIdData(
32964
+ * function getDataForTokenId(
32954
32965
  * bytes32 tokenId,
32955
32966
  * bytes32 dataKey
32956
32967
  * )
32957
32968
  *
32958
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
32969
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
32959
32970
  */
32960
- "0xe7bb5942": {
32961
- sig: "getTokenIdData(bytes32,bytes32)",
32971
+ "0x16e023b3": {
32972
+ sig: "getDataForTokenId(bytes32,bytes32)",
32962
32973
  inputs: [
32963
32974
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
32964
32975
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
32965
32976
  ],
32966
- name: "getTokenIdData",
32967
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
32977
+ name: "getDataForTokenId",
32978
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
32968
32979
  stateMutability: "view",
32969
32980
  type: "function",
32970
32981
  devdoc: {
@@ -32973,7 +32984,7 @@ const FunctionSelectors = {
32973
32984
  tokenId: "The unique identifier for a token."
32974
32985
  },
32975
32986
  returns: {
32976
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
32987
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
32977
32988
  }
32978
32989
  },
32979
32990
  userdoc: {
@@ -32981,36 +32992,25 @@ const FunctionSelectors = {
32981
32992
  }
32982
32993
  },
32983
32994
  /**
32984
- * function getTokenIdDataBatch(
32985
- * bytes32[] tokenIds,
32986
- * bytes32[] dataKeys
32995
+ * function getOperatorsOf(
32996
+ * bytes32 tokenId
32987
32997
  * )
32988
32998
  *
32989
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
32999
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
32990
33000
  */
32991
- "0xc797c777": {
32992
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
32993
- inputs: [
32994
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
32995
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
32996
- ],
32997
- name: "getTokenIdDataBatch",
32998
- outputs: [
32999
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
33000
- ],
33001
+ "0x49a6078d": {
33002
+ sig: "getOperatorsOf(bytes32)",
33003
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
33004
+ name: "getOperatorsOf",
33005
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
33001
33006
  stateMutability: "view",
33002
33007
  type: "function",
33003
33008
  devdoc: {
33004
- params: {
33005
- dataKey: "An array of data keys corresponding to the token IDs.",
33006
- tokenId: "An array of token IDs."
33007
- },
33009
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
33010
+ params: { tokenId: "The token ID to get the operators for." },
33008
33011
  returns: {
33009
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
33012
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
33010
33013
  }
33011
- },
33012
- userdoc: {
33013
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
33014
33014
  }
33015
33015
  },
33016
33016
  /**
@@ -33173,64 +33173,64 @@ const FunctionSelectors = {
33173
33173
  }
33174
33174
  },
33175
33175
  /**
33176
- * function setTokenIdData(
33177
- * bytes32 tokenId,
33178
- * bytes32 dataKey,
33179
- * bytes dataValue
33176
+ * function setDataBatchForTokenIds(
33177
+ * bytes32[] tokenIds,
33178
+ * bytes32[] dataKeys,
33179
+ * bytes[] dataValues
33180
33180
  * )
33181
33181
  *
33182
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
33182
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
33183
33183
  */
33184
- "0x3b38c1d7": {
33185
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
33184
+ "0xbe9f0e6f": {
33185
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
33186
33186
  inputs: [
33187
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
33188
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
33189
- { internalType: "bytes", name: "dataValue", type: "bytes" }
33187
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
33188
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
33189
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
33190
33190
  ],
33191
- name: "setTokenIdData",
33191
+ name: "setDataBatchForTokenIds",
33192
33192
  outputs: [],
33193
33193
  stateMutability: "nonpayable",
33194
33194
  type: "function",
33195
33195
  devdoc: {
33196
33196
  params: {
33197
- dataKey: "The key for the data to set.",
33198
- dataValue: "The value to set for the given data key.",
33199
- tokenId: "The unique identifier for a token."
33197
+ dataKeys: "An array of data keys corresponding to the token IDs.",
33198
+ dataValues: "An array of values to set for the given data keys.",
33199
+ tokenIds: "An array of token IDs."
33200
33200
  }
33201
33201
  },
33202
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
33202
+ userdoc: {
33203
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
33204
+ }
33203
33205
  },
33204
33206
  /**
33205
- * function setTokenIdDataBatch(
33206
- * bytes32[] tokenIds,
33207
- * bytes32[] dataKeys,
33208
- * bytes[] dataValues
33207
+ * function setDataForTokenId(
33208
+ * bytes32 tokenId,
33209
+ * bytes32 dataKey,
33210
+ * bytes dataValue
33209
33211
  * )
33210
33212
  *
33211
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
33213
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
33212
33214
  */
33213
- "0xae0646d7": {
33214
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
33215
+ "0xd6c1407c": {
33216
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
33215
33217
  inputs: [
33216
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
33217
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
33218
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
33218
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
33219
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
33220
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
33219
33221
  ],
33220
- name: "setTokenIdDataBatch",
33222
+ name: "setDataForTokenId",
33221
33223
  outputs: [],
33222
33224
  stateMutability: "nonpayable",
33223
33225
  type: "function",
33224
33226
  devdoc: {
33225
33227
  params: {
33226
- dataKey: "An array of data keys corresponding to the token IDs.",
33227
- dataValue: "An array of values to set for the given data keys.",
33228
- tokenId: "An array of token IDs."
33228
+ dataKey: "The key for the data to set.",
33229
+ dataValue: "The value to set for the given data key.",
33230
+ tokenId: "The unique identifier for a token."
33229
33231
  }
33230
33232
  },
33231
- userdoc: {
33232
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
33233
- }
33233
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
33234
33234
  },
33235
33235
  /**
33236
33236
  * function supportsInterface(
@@ -33614,43 +33614,54 @@ const FunctionSelectors = {
33614
33614
  }
33615
33615
  },
33616
33616
  /**
33617
- * function getOperatorsOf(
33618
- * bytes32 tokenId
33617
+ * function getDataBatchForTokenIds(
33618
+ * bytes32[] tokenIds,
33619
+ * bytes32[] dataKeys
33619
33620
  * )
33620
33621
  *
33621
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
33622
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
33622
33623
  */
33623
- "0x49a6078d": {
33624
- sig: "getOperatorsOf(bytes32)",
33625
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
33626
- name: "getOperatorsOf",
33627
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
33624
+ "0x1d26fce6": {
33625
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
33626
+ inputs: [
33627
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
33628
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
33629
+ ],
33630
+ name: "getDataBatchForTokenIds",
33631
+ outputs: [
33632
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
33633
+ ],
33628
33634
  stateMutability: "view",
33629
33635
  type: "function",
33630
33636
  devdoc: {
33631
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
33632
- params: { tokenId: "The token ID to get the operators for." },
33637
+ params: {
33638
+ dataKeys: "An array of data keys corresponding to the token IDs.",
33639
+ tokenIds: "An array of token IDs."
33640
+ },
33633
33641
  returns: {
33634
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
33642
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
33635
33643
  }
33644
+ },
33645
+ userdoc: {
33646
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
33636
33647
  }
33637
33648
  },
33638
33649
  /**
33639
- * function getTokenIdData(
33650
+ * function getDataForTokenId(
33640
33651
  * bytes32 tokenId,
33641
33652
  * bytes32 dataKey
33642
33653
  * )
33643
33654
  *
33644
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
33655
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
33645
33656
  */
33646
- "0xe7bb5942": {
33647
- sig: "getTokenIdData(bytes32,bytes32)",
33657
+ "0x16e023b3": {
33658
+ sig: "getDataForTokenId(bytes32,bytes32)",
33648
33659
  inputs: [
33649
33660
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
33650
33661
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
33651
33662
  ],
33652
- name: "getTokenIdData",
33653
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
33663
+ name: "getDataForTokenId",
33664
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
33654
33665
  stateMutability: "view",
33655
33666
  type: "function",
33656
33667
  devdoc: {
@@ -33659,7 +33670,7 @@ const FunctionSelectors = {
33659
33670
  tokenId: "The unique identifier for a token."
33660
33671
  },
33661
33672
  returns: {
33662
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
33673
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
33663
33674
  }
33664
33675
  },
33665
33676
  userdoc: {
@@ -33667,36 +33678,25 @@ const FunctionSelectors = {
33667
33678
  }
33668
33679
  },
33669
33680
  /**
33670
- * function getTokenIdDataBatch(
33671
- * bytes32[] tokenIds,
33672
- * bytes32[] dataKeys
33673
- * )
33674
- *
33675
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
33676
- */
33677
- "0xc797c777": {
33678
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
33679
- inputs: [
33680
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
33681
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
33682
- ],
33683
- name: "getTokenIdDataBatch",
33684
- outputs: [
33685
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
33686
- ],
33681
+ * function getOperatorsOf(
33682
+ * bytes32 tokenId
33683
+ * )
33684
+ *
33685
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
33686
+ */
33687
+ "0x49a6078d": {
33688
+ sig: "getOperatorsOf(bytes32)",
33689
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
33690
+ name: "getOperatorsOf",
33691
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
33687
33692
  stateMutability: "view",
33688
33693
  type: "function",
33689
33694
  devdoc: {
33690
- params: {
33691
- dataKey: "An array of data keys corresponding to the token IDs.",
33692
- tokenId: "An array of token IDs."
33693
- },
33695
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
33696
+ params: { tokenId: "The token ID to get the operators for." },
33694
33697
  returns: {
33695
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
33698
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
33696
33699
  }
33697
- },
33698
- userdoc: {
33699
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
33700
33700
  }
33701
33701
  },
33702
33702
  /**
@@ -34028,64 +34028,64 @@ const FunctionSelectors = {
34028
34028
  }
34029
34029
  },
34030
34030
  /**
34031
- * function setTokenIdData(
34032
- * bytes32 tokenId,
34033
- * bytes32 dataKey,
34034
- * bytes dataValue
34031
+ * function setDataBatchForTokenIds(
34032
+ * bytes32[] tokenIds,
34033
+ * bytes32[] dataKeys,
34034
+ * bytes[] dataValues
34035
34035
  * )
34036
34036
  *
34037
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
34037
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
34038
34038
  */
34039
- "0x3b38c1d7": {
34040
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
34039
+ "0xbe9f0e6f": {
34040
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
34041
34041
  inputs: [
34042
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34043
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
34044
- { internalType: "bytes", name: "dataValue", type: "bytes" }
34042
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
34043
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
34044
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
34045
34045
  ],
34046
- name: "setTokenIdData",
34046
+ name: "setDataBatchForTokenIds",
34047
34047
  outputs: [],
34048
34048
  stateMutability: "nonpayable",
34049
34049
  type: "function",
34050
34050
  devdoc: {
34051
34051
  params: {
34052
- dataKey: "The key for the data to set.",
34053
- dataValue: "The value to set for the given data key.",
34054
- tokenId: "The unique identifier for a token."
34052
+ dataKeys: "An array of data keys corresponding to the token IDs.",
34053
+ dataValues: "An array of values to set for the given data keys.",
34054
+ tokenIds: "An array of token IDs."
34055
34055
  }
34056
34056
  },
34057
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
34057
+ userdoc: {
34058
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
34059
+ }
34058
34060
  },
34059
34061
  /**
34060
- * function setTokenIdDataBatch(
34061
- * bytes32[] tokenIds,
34062
- * bytes32[] dataKeys,
34063
- * bytes[] dataValues
34062
+ * function setDataForTokenId(
34063
+ * bytes32 tokenId,
34064
+ * bytes32 dataKey,
34065
+ * bytes dataValue
34064
34066
  * )
34065
34067
  *
34066
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
34068
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
34067
34069
  */
34068
- "0xae0646d7": {
34069
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
34070
+ "0xd6c1407c": {
34071
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
34070
34072
  inputs: [
34071
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
34072
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
34073
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
34073
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34074
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
34075
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
34074
34076
  ],
34075
- name: "setTokenIdDataBatch",
34077
+ name: "setDataForTokenId",
34076
34078
  outputs: [],
34077
34079
  stateMutability: "nonpayable",
34078
34080
  type: "function",
34079
34081
  devdoc: {
34080
34082
  params: {
34081
- dataKey: "An array of data keys corresponding to the token IDs.",
34082
- dataValue: "An array of values to set for the given data keys.",
34083
- tokenId: "An array of token IDs."
34083
+ dataKey: "The key for the data to set.",
34084
+ dataValue: "The value to set for the given data key.",
34085
+ tokenId: "The unique identifier for a token."
34084
34086
  }
34085
34087
  },
34086
- userdoc: {
34087
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
34088
- }
34088
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
34089
34089
  },
34090
34090
  /**
34091
34091
  * function supportsInterface(
@@ -34519,43 +34519,54 @@ const FunctionSelectors = {
34519
34519
  }
34520
34520
  },
34521
34521
  /**
34522
- * function getOperatorsOf(
34523
- * bytes32 tokenId
34522
+ * function getDataBatchForTokenIds(
34523
+ * bytes32[] tokenIds,
34524
+ * bytes32[] dataKeys
34524
34525
  * )
34525
34526
  *
34526
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
34527
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
34527
34528
  */
34528
- "0x49a6078d": {
34529
- sig: "getOperatorsOf(bytes32)",
34530
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
34531
- name: "getOperatorsOf",
34532
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
34529
+ "0x1d26fce6": {
34530
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
34531
+ inputs: [
34532
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
34533
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
34534
+ ],
34535
+ name: "getDataBatchForTokenIds",
34536
+ outputs: [
34537
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
34538
+ ],
34533
34539
  stateMutability: "view",
34534
34540
  type: "function",
34535
34541
  devdoc: {
34536
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
34537
- params: { tokenId: "The token ID to get the operators for." },
34542
+ params: {
34543
+ dataKeys: "An array of data keys corresponding to the token IDs.",
34544
+ tokenIds: "An array of token IDs."
34545
+ },
34538
34546
  returns: {
34539
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
34547
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
34540
34548
  }
34549
+ },
34550
+ userdoc: {
34551
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
34541
34552
  }
34542
34553
  },
34543
34554
  /**
34544
- * function getTokenIdData(
34555
+ * function getDataForTokenId(
34545
34556
  * bytes32 tokenId,
34546
34557
  * bytes32 dataKey
34547
34558
  * )
34548
34559
  *
34549
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
34560
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
34550
34561
  */
34551
- "0xe7bb5942": {
34552
- sig: "getTokenIdData(bytes32,bytes32)",
34562
+ "0x16e023b3": {
34563
+ sig: "getDataForTokenId(bytes32,bytes32)",
34553
34564
  inputs: [
34554
34565
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34555
34566
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
34556
34567
  ],
34557
- name: "getTokenIdData",
34558
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
34568
+ name: "getDataForTokenId",
34569
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
34559
34570
  stateMutability: "view",
34560
34571
  type: "function",
34561
34572
  devdoc: {
@@ -34564,7 +34575,7 @@ const FunctionSelectors = {
34564
34575
  tokenId: "The unique identifier for a token."
34565
34576
  },
34566
34577
  returns: {
34567
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
34578
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
34568
34579
  }
34569
34580
  },
34570
34581
  userdoc: {
@@ -34572,36 +34583,25 @@ const FunctionSelectors = {
34572
34583
  }
34573
34584
  },
34574
34585
  /**
34575
- * function getTokenIdDataBatch(
34576
- * bytes32[] tokenIds,
34577
- * bytes32[] dataKeys
34586
+ * function getOperatorsOf(
34587
+ * bytes32 tokenId
34578
34588
  * )
34579
34589
  *
34580
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
34590
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
34581
34591
  */
34582
- "0xc797c777": {
34583
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
34584
- inputs: [
34585
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
34586
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
34587
- ],
34588
- name: "getTokenIdDataBatch",
34589
- outputs: [
34590
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
34591
- ],
34592
+ "0x49a6078d": {
34593
+ sig: "getOperatorsOf(bytes32)",
34594
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
34595
+ name: "getOperatorsOf",
34596
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
34592
34597
  stateMutability: "view",
34593
34598
  type: "function",
34594
34599
  devdoc: {
34595
- params: {
34596
- dataKey: "An array of data keys corresponding to the token IDs.",
34597
- tokenId: "An array of token IDs."
34598
- },
34600
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
34601
+ params: { tokenId: "The token ID to get the operators for." },
34599
34602
  returns: {
34600
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
34603
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
34601
34604
  }
34602
- },
34603
- userdoc: {
34604
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
34605
34605
  }
34606
34606
  },
34607
34607
  /**
@@ -34933,64 +34933,64 @@ const FunctionSelectors = {
34933
34933
  }
34934
34934
  },
34935
34935
  /**
34936
- * function setTokenIdData(
34937
- * bytes32 tokenId,
34938
- * bytes32 dataKey,
34939
- * bytes dataValue
34936
+ * function setDataBatchForTokenIds(
34937
+ * bytes32[] tokenIds,
34938
+ * bytes32[] dataKeys,
34939
+ * bytes[] dataValues
34940
34940
  * )
34941
34941
  *
34942
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
34942
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
34943
34943
  */
34944
- "0x3b38c1d7": {
34945
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
34944
+ "0xbe9f0e6f": {
34945
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
34946
34946
  inputs: [
34947
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34948
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
34949
- { internalType: "bytes", name: "dataValue", type: "bytes" }
34947
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
34948
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
34949
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
34950
34950
  ],
34951
- name: "setTokenIdData",
34951
+ name: "setDataBatchForTokenIds",
34952
34952
  outputs: [],
34953
34953
  stateMutability: "nonpayable",
34954
34954
  type: "function",
34955
34955
  devdoc: {
34956
34956
  params: {
34957
- dataKey: "The key for the data to set.",
34958
- dataValue: "The value to set for the given data key.",
34959
- tokenId: "The unique identifier for a token."
34957
+ dataKeys: "An array of data keys corresponding to the token IDs.",
34958
+ dataValues: "An array of values to set for the given data keys.",
34959
+ tokenIds: "An array of token IDs."
34960
34960
  }
34961
34961
  },
34962
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
34962
+ userdoc: {
34963
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
34964
+ }
34963
34965
  },
34964
34966
  /**
34965
- * function setTokenIdDataBatch(
34966
- * bytes32[] tokenIds,
34967
- * bytes32[] dataKeys,
34968
- * bytes[] dataValues
34967
+ * function setDataForTokenId(
34968
+ * bytes32 tokenId,
34969
+ * bytes32 dataKey,
34970
+ * bytes dataValue
34969
34971
  * )
34970
34972
  *
34971
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
34973
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
34972
34974
  */
34973
- "0xae0646d7": {
34974
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
34975
+ "0xd6c1407c": {
34976
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
34975
34977
  inputs: [
34976
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
34977
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
34978
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
34978
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34979
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
34980
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
34979
34981
  ],
34980
- name: "setTokenIdDataBatch",
34982
+ name: "setDataForTokenId",
34981
34983
  outputs: [],
34982
34984
  stateMutability: "nonpayable",
34983
34985
  type: "function",
34984
34986
  devdoc: {
34985
34987
  params: {
34986
- dataKey: "An array of data keys corresponding to the token IDs.",
34987
- dataValue: "An array of values to set for the given data keys.",
34988
- tokenId: "An array of token IDs."
34988
+ dataKey: "The key for the data to set.",
34989
+ dataValue: "The value to set for the given data key.",
34990
+ tokenId: "The unique identifier for a token."
34989
34991
  }
34990
34992
  },
34991
- userdoc: {
34992
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
34993
- }
34993
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
34994
34994
  },
34995
34995
  /**
34996
34996
  * function supportsInterface(
@@ -35422,43 +35422,54 @@ const FunctionSelectors = {
35422
35422
  }
35423
35423
  },
35424
35424
  /**
35425
- * function getOperatorsOf(
35426
- * bytes32 tokenId
35425
+ * function getDataBatchForTokenIds(
35426
+ * bytes32[] tokenIds,
35427
+ * bytes32[] dataKeys
35427
35428
  * )
35428
35429
  *
35429
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
35430
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
35430
35431
  */
35431
- "0x49a6078d": {
35432
- sig: "getOperatorsOf(bytes32)",
35433
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
35434
- name: "getOperatorsOf",
35435
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
35432
+ "0x1d26fce6": {
35433
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
35434
+ inputs: [
35435
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
35436
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
35437
+ ],
35438
+ name: "getDataBatchForTokenIds",
35439
+ outputs: [
35440
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
35441
+ ],
35436
35442
  stateMutability: "view",
35437
35443
  type: "function",
35438
35444
  devdoc: {
35439
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
35440
- params: { tokenId: "The token ID to get the operators for." },
35445
+ params: {
35446
+ dataKeys: "An array of data keys corresponding to the token IDs.",
35447
+ tokenIds: "An array of token IDs."
35448
+ },
35441
35449
  returns: {
35442
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
35450
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
35443
35451
  }
35452
+ },
35453
+ userdoc: {
35454
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
35444
35455
  }
35445
35456
  },
35446
35457
  /**
35447
- * function getTokenIdData(
35458
+ * function getDataForTokenId(
35448
35459
  * bytes32 tokenId,
35449
35460
  * bytes32 dataKey
35450
35461
  * )
35451
35462
  *
35452
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
35463
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
35453
35464
  */
35454
- "0xe7bb5942": {
35455
- sig: "getTokenIdData(bytes32,bytes32)",
35465
+ "0x16e023b3": {
35466
+ sig: "getDataForTokenId(bytes32,bytes32)",
35456
35467
  inputs: [
35457
35468
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
35458
35469
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
35459
35470
  ],
35460
- name: "getTokenIdData",
35461
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
35471
+ name: "getDataForTokenId",
35472
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
35462
35473
  stateMutability: "view",
35463
35474
  type: "function",
35464
35475
  devdoc: {
@@ -35467,7 +35478,7 @@ const FunctionSelectors = {
35467
35478
  tokenId: "The unique identifier for a token."
35468
35479
  },
35469
35480
  returns: {
35470
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
35481
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
35471
35482
  }
35472
35483
  },
35473
35484
  userdoc: {
@@ -35475,36 +35486,25 @@ const FunctionSelectors = {
35475
35486
  }
35476
35487
  },
35477
35488
  /**
35478
- * function getTokenIdDataBatch(
35479
- * bytes32[] tokenIds,
35480
- * bytes32[] dataKeys
35489
+ * function getOperatorsOf(
35490
+ * bytes32 tokenId
35481
35491
  * )
35482
35492
  *
35483
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
35493
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
35484
35494
  */
35485
- "0xc797c777": {
35486
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
35487
- inputs: [
35488
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
35489
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
35490
- ],
35491
- name: "getTokenIdDataBatch",
35492
- outputs: [
35493
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
35494
- ],
35495
+ "0x49a6078d": {
35496
+ sig: "getOperatorsOf(bytes32)",
35497
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
35498
+ name: "getOperatorsOf",
35499
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
35495
35500
  stateMutability: "view",
35496
35501
  type: "function",
35497
35502
  devdoc: {
35498
- params: {
35499
- dataKey: "An array of data keys corresponding to the token IDs.",
35500
- tokenId: "An array of token IDs."
35501
- },
35503
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
35504
+ params: { tokenId: "The token ID to get the operators for." },
35502
35505
  returns: {
35503
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
35506
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
35504
35507
  }
35505
- },
35506
- userdoc: {
35507
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
35508
35508
  }
35509
35509
  },
35510
35510
  /**
@@ -35871,64 +35871,64 @@ const FunctionSelectors = {
35871
35871
  }
35872
35872
  },
35873
35873
  /**
35874
- * function setTokenIdData(
35875
- * bytes32 tokenId,
35876
- * bytes32 dataKey,
35877
- * bytes dataValue
35874
+ * function setDataBatchForTokenIds(
35875
+ * bytes32[] tokenIds,
35876
+ * bytes32[] dataKeys,
35877
+ * bytes[] dataValues
35878
35878
  * )
35879
35879
  *
35880
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
35880
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
35881
35881
  */
35882
- "0x3b38c1d7": {
35883
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
35882
+ "0xbe9f0e6f": {
35883
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
35884
35884
  inputs: [
35885
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
35886
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
35887
- { internalType: "bytes", name: "dataValue", type: "bytes" }
35885
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
35886
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
35887
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
35888
35888
  ],
35889
- name: "setTokenIdData",
35889
+ name: "setDataBatchForTokenIds",
35890
35890
  outputs: [],
35891
35891
  stateMutability: "nonpayable",
35892
35892
  type: "function",
35893
35893
  devdoc: {
35894
35894
  params: {
35895
- dataKey: "The key for the data to set.",
35896
- dataValue: "The value to set for the given data key.",
35897
- tokenId: "The unique identifier for a token."
35895
+ dataKeys: "An array of data keys corresponding to the token IDs.",
35896
+ dataValues: "An array of values to set for the given data keys.",
35897
+ tokenIds: "An array of token IDs."
35898
35898
  }
35899
35899
  },
35900
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
35900
+ userdoc: {
35901
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
35902
+ }
35901
35903
  },
35902
35904
  /**
35903
- * function setTokenIdDataBatch(
35904
- * bytes32[] tokenIds,
35905
- * bytes32[] dataKeys,
35906
- * bytes[] dataValues
35905
+ * function setDataForTokenId(
35906
+ * bytes32 tokenId,
35907
+ * bytes32 dataKey,
35908
+ * bytes dataValue
35907
35909
  * )
35908
35910
  *
35909
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
35911
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
35910
35912
  */
35911
- "0xae0646d7": {
35912
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
35913
+ "0xd6c1407c": {
35914
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
35913
35915
  inputs: [
35914
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
35915
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
35916
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
35916
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
35917
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
35918
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
35917
35919
  ],
35918
- name: "setTokenIdDataBatch",
35920
+ name: "setDataForTokenId",
35919
35921
  outputs: [],
35920
35922
  stateMutability: "nonpayable",
35921
35923
  type: "function",
35922
35924
  devdoc: {
35923
35925
  params: {
35924
- dataKey: "An array of data keys corresponding to the token IDs.",
35925
- dataValue: "An array of values to set for the given data keys.",
35926
- tokenId: "An array of token IDs."
35926
+ dataKey: "The key for the data to set.",
35927
+ dataValue: "The value to set for the given data key.",
35928
+ tokenId: "The unique identifier for a token."
35927
35929
  }
35928
35930
  },
35929
- userdoc: {
35930
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
35931
- }
35931
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
35932
35932
  },
35933
35933
  /**
35934
35934
  * function supportsInterface(
@@ -36362,43 +36362,54 @@ const FunctionSelectors = {
36362
36362
  }
36363
36363
  },
36364
36364
  /**
36365
- * function getOperatorsOf(
36366
- * bytes32 tokenId
36365
+ * function getDataBatchForTokenIds(
36366
+ * bytes32[] tokenIds,
36367
+ * bytes32[] dataKeys
36367
36368
  * )
36368
36369
  *
36369
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
36370
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
36370
36371
  */
36371
- "0x49a6078d": {
36372
- sig: "getOperatorsOf(bytes32)",
36373
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
36374
- name: "getOperatorsOf",
36375
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
36372
+ "0x1d26fce6": {
36373
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
36374
+ inputs: [
36375
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
36376
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
36377
+ ],
36378
+ name: "getDataBatchForTokenIds",
36379
+ outputs: [
36380
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
36381
+ ],
36376
36382
  stateMutability: "view",
36377
36383
  type: "function",
36378
36384
  devdoc: {
36379
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
36380
- params: { tokenId: "The token ID to get the operators for." },
36385
+ params: {
36386
+ dataKeys: "An array of data keys corresponding to the token IDs.",
36387
+ tokenIds: "An array of token IDs."
36388
+ },
36381
36389
  returns: {
36382
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
36390
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
36383
36391
  }
36392
+ },
36393
+ userdoc: {
36394
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
36384
36395
  }
36385
36396
  },
36386
36397
  /**
36387
- * function getTokenIdData(
36398
+ * function getDataForTokenId(
36388
36399
  * bytes32 tokenId,
36389
36400
  * bytes32 dataKey
36390
36401
  * )
36391
36402
  *
36392
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
36403
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
36393
36404
  */
36394
- "0xe7bb5942": {
36395
- sig: "getTokenIdData(bytes32,bytes32)",
36405
+ "0x16e023b3": {
36406
+ sig: "getDataForTokenId(bytes32,bytes32)",
36396
36407
  inputs: [
36397
36408
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
36398
36409
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
36399
36410
  ],
36400
- name: "getTokenIdData",
36401
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
36411
+ name: "getDataForTokenId",
36412
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
36402
36413
  stateMutability: "view",
36403
36414
  type: "function",
36404
36415
  devdoc: {
@@ -36407,7 +36418,7 @@ const FunctionSelectors = {
36407
36418
  tokenId: "The unique identifier for a token."
36408
36419
  },
36409
36420
  returns: {
36410
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
36421
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
36411
36422
  }
36412
36423
  },
36413
36424
  userdoc: {
@@ -36415,36 +36426,25 @@ const FunctionSelectors = {
36415
36426
  }
36416
36427
  },
36417
36428
  /**
36418
- * function getTokenIdDataBatch(
36419
- * bytes32[] tokenIds,
36420
- * bytes32[] dataKeys
36429
+ * function getOperatorsOf(
36430
+ * bytes32 tokenId
36421
36431
  * )
36422
36432
  *
36423
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
36433
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
36424
36434
  */
36425
- "0xc797c777": {
36426
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
36427
- inputs: [
36428
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
36429
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
36430
- ],
36431
- name: "getTokenIdDataBatch",
36432
- outputs: [
36433
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
36434
- ],
36435
+ "0x49a6078d": {
36436
+ sig: "getOperatorsOf(bytes32)",
36437
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
36438
+ name: "getOperatorsOf",
36439
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
36435
36440
  stateMutability: "view",
36436
36441
  type: "function",
36437
36442
  devdoc: {
36438
- params: {
36439
- dataKey: "An array of data keys corresponding to the token IDs.",
36440
- tokenId: "An array of token IDs."
36441
- },
36443
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
36444
+ params: { tokenId: "The token ID to get the operators for." },
36442
36445
  returns: {
36443
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
36446
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
36444
36447
  }
36445
- },
36446
- userdoc: {
36447
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
36448
36448
  }
36449
36449
  },
36450
36450
  /**
@@ -36453,7 +36453,7 @@ const FunctionSelectors = {
36453
36453
  * string symbol_,
36454
36454
  * address newOwner_,
36455
36455
  * uint256 lsp4TokenType_,
36456
- * uint256 lsp8TokenIdSchema_
36456
+ * uint256 lsp8TokenIdFormat_
36457
36457
  * )
36458
36458
  *
36459
36459
  * 0x74823132 = keccak256('initialize(string,string,address,uint256,uint256)')
@@ -36467,7 +36467,7 @@ const FunctionSelectors = {
36467
36467
  { internalType: "uint256", name: "lsp4TokenType_", type: "uint256" },
36468
36468
  {
36469
36469
  internalType: "uint256",
36470
- name: "lsp8TokenIdSchema_",
36470
+ name: "lsp8TokenIdFormat_",
36471
36471
  type: "uint256"
36472
36472
  }
36473
36473
  ],
@@ -36477,8 +36477,8 @@ const FunctionSelectors = {
36477
36477
  type: "function",
36478
36478
  devdoc: {
36479
36479
  params: {
36480
- lsp4TokenType_: "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
36481
- lsp8TokenIdSchema_: "The schema of tokenIds (= NFTs) that this contract will create.",
36480
+ lsp4TokenType_: "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
36481
+ lsp8TokenIdFormat_: "The format of tokenIds (= NFTs) that this contract will create.",
36482
36482
  name_: "The name of the token.",
36483
36483
  newOwner_: "The owner of the token contract.",
36484
36484
  symbol_: "The symbol of the token."
@@ -36852,64 +36852,64 @@ const FunctionSelectors = {
36852
36852
  }
36853
36853
  },
36854
36854
  /**
36855
- * function setTokenIdData(
36856
- * bytes32 tokenId,
36857
- * bytes32 dataKey,
36858
- * bytes dataValue
36855
+ * function setDataBatchForTokenIds(
36856
+ * bytes32[] tokenIds,
36857
+ * bytes32[] dataKeys,
36858
+ * bytes[] dataValues
36859
36859
  * )
36860
36860
  *
36861
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
36861
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
36862
36862
  */
36863
- "0x3b38c1d7": {
36864
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
36863
+ "0xbe9f0e6f": {
36864
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
36865
36865
  inputs: [
36866
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
36867
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
36868
- { internalType: "bytes", name: "dataValue", type: "bytes" }
36866
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
36867
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
36868
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
36869
36869
  ],
36870
- name: "setTokenIdData",
36870
+ name: "setDataBatchForTokenIds",
36871
36871
  outputs: [],
36872
36872
  stateMutability: "nonpayable",
36873
36873
  type: "function",
36874
36874
  devdoc: {
36875
36875
  params: {
36876
- dataKey: "The key for the data to set.",
36877
- dataValue: "The value to set for the given data key.",
36878
- tokenId: "The unique identifier for a token."
36876
+ dataKeys: "An array of data keys corresponding to the token IDs.",
36877
+ dataValues: "An array of values to set for the given data keys.",
36878
+ tokenIds: "An array of token IDs."
36879
36879
  }
36880
36880
  },
36881
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
36881
+ userdoc: {
36882
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
36883
+ }
36882
36884
  },
36883
36885
  /**
36884
- * function setTokenIdDataBatch(
36885
- * bytes32[] tokenIds,
36886
- * bytes32[] dataKeys,
36887
- * bytes[] dataValues
36886
+ * function setDataForTokenId(
36887
+ * bytes32 tokenId,
36888
+ * bytes32 dataKey,
36889
+ * bytes dataValue
36888
36890
  * )
36889
36891
  *
36890
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
36892
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
36891
36893
  */
36892
- "0xae0646d7": {
36893
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
36894
+ "0xd6c1407c": {
36895
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
36894
36896
  inputs: [
36895
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
36896
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
36897
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
36897
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
36898
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
36899
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
36898
36900
  ],
36899
- name: "setTokenIdDataBatch",
36901
+ name: "setDataForTokenId",
36900
36902
  outputs: [],
36901
36903
  stateMutability: "nonpayable",
36902
36904
  type: "function",
36903
36905
  devdoc: {
36904
36906
  params: {
36905
- dataKey: "An array of data keys corresponding to the token IDs.",
36906
- dataValue: "An array of values to set for the given data keys.",
36907
- tokenId: "An array of token IDs."
36907
+ dataKey: "The key for the data to set.",
36908
+ dataValue: "The value to set for the given data key.",
36909
+ tokenId: "The unique identifier for a token."
36908
36910
  }
36909
36911
  },
36910
- userdoc: {
36911
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
36912
- }
36912
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
36913
36913
  },
36914
36914
  /**
36915
36915
  * function supportsInterface(
@@ -37288,43 +37288,54 @@ const FunctionSelectors = {
37288
37288
  }
37289
37289
  },
37290
37290
  /**
37291
- * function getOperatorsOf(
37292
- * bytes32 tokenId
37291
+ * function getDataBatchForTokenIds(
37292
+ * bytes32[] tokenIds,
37293
+ * bytes32[] dataKeys
37293
37294
  * )
37294
37295
  *
37295
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
37296
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
37296
37297
  */
37297
- "0x49a6078d": {
37298
- sig: "getOperatorsOf(bytes32)",
37299
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
37300
- name: "getOperatorsOf",
37301
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
37298
+ "0x1d26fce6": {
37299
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
37300
+ inputs: [
37301
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
37302
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
37303
+ ],
37304
+ name: "getDataBatchForTokenIds",
37305
+ outputs: [
37306
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
37307
+ ],
37302
37308
  stateMutability: "view",
37303
37309
  type: "function",
37304
37310
  devdoc: {
37305
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
37306
- params: { tokenId: "The token ID to get the operators for." },
37311
+ params: {
37312
+ dataKeys: "An array of data keys corresponding to the token IDs.",
37313
+ tokenIds: "An array of token IDs."
37314
+ },
37307
37315
  returns: {
37308
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
37316
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
37309
37317
  }
37318
+ },
37319
+ userdoc: {
37320
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
37310
37321
  }
37311
37322
  },
37312
37323
  /**
37313
- * function getTokenIdData(
37324
+ * function getDataForTokenId(
37314
37325
  * bytes32 tokenId,
37315
37326
  * bytes32 dataKey
37316
37327
  * )
37317
37328
  *
37318
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
37329
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
37319
37330
  */
37320
- "0xe7bb5942": {
37321
- sig: "getTokenIdData(bytes32,bytes32)",
37331
+ "0x16e023b3": {
37332
+ sig: "getDataForTokenId(bytes32,bytes32)",
37322
37333
  inputs: [
37323
37334
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
37324
37335
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
37325
37336
  ],
37326
- name: "getTokenIdData",
37327
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
37337
+ name: "getDataForTokenId",
37338
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
37328
37339
  stateMutability: "view",
37329
37340
  type: "function",
37330
37341
  devdoc: {
@@ -37333,7 +37344,7 @@ const FunctionSelectors = {
37333
37344
  tokenId: "The unique identifier for a token."
37334
37345
  },
37335
37346
  returns: {
37336
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
37347
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
37337
37348
  }
37338
37349
  },
37339
37350
  userdoc: {
@@ -37341,36 +37352,25 @@ const FunctionSelectors = {
37341
37352
  }
37342
37353
  },
37343
37354
  /**
37344
- * function getTokenIdDataBatch(
37345
- * bytes32[] tokenIds,
37346
- * bytes32[] dataKeys
37355
+ * function getOperatorsOf(
37356
+ * bytes32 tokenId
37347
37357
  * )
37348
37358
  *
37349
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
37359
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
37350
37360
  */
37351
- "0xc797c777": {
37352
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
37353
- inputs: [
37354
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
37355
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
37356
- ],
37357
- name: "getTokenIdDataBatch",
37358
- outputs: [
37359
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
37360
- ],
37361
+ "0x49a6078d": {
37362
+ sig: "getOperatorsOf(bytes32)",
37363
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
37364
+ name: "getOperatorsOf",
37365
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
37361
37366
  stateMutability: "view",
37362
37367
  type: "function",
37363
37368
  devdoc: {
37364
- params: {
37365
- dataKey: "An array of data keys corresponding to the token IDs.",
37366
- tokenId: "An array of token IDs."
37367
- },
37369
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
37370
+ params: { tokenId: "The token ID to get the operators for." },
37368
37371
  returns: {
37369
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
37372
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
37370
37373
  }
37371
- },
37372
- userdoc: {
37373
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
37374
37374
  }
37375
37375
  },
37376
37376
  /**
@@ -37568,64 +37568,64 @@ const FunctionSelectors = {
37568
37568
  }
37569
37569
  },
37570
37570
  /**
37571
- * function setTokenIdData(
37572
- * bytes32 tokenId,
37573
- * bytes32 dataKey,
37574
- * bytes dataValue
37571
+ * function setDataBatchForTokenIds(
37572
+ * bytes32[] tokenIds,
37573
+ * bytes32[] dataKeys,
37574
+ * bytes[] dataValues
37575
37575
  * )
37576
37576
  *
37577
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
37577
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
37578
37578
  */
37579
- "0x3b38c1d7": {
37580
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
37579
+ "0xbe9f0e6f": {
37580
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
37581
37581
  inputs: [
37582
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
37583
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
37584
- { internalType: "bytes", name: "dataValue", type: "bytes" }
37582
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
37583
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
37584
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
37585
37585
  ],
37586
- name: "setTokenIdData",
37586
+ name: "setDataBatchForTokenIds",
37587
37587
  outputs: [],
37588
37588
  stateMutability: "nonpayable",
37589
37589
  type: "function",
37590
37590
  devdoc: {
37591
37591
  params: {
37592
- dataKey: "The key for the data to set.",
37593
- dataValue: "The value to set for the given data key.",
37594
- tokenId: "The unique identifier for a token."
37592
+ dataKeys: "An array of data keys corresponding to the token IDs.",
37593
+ dataValues: "An array of values to set for the given data keys.",
37594
+ tokenIds: "An array of token IDs."
37595
37595
  }
37596
37596
  },
37597
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
37597
+ userdoc: {
37598
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
37599
+ }
37598
37600
  },
37599
37601
  /**
37600
- * function setTokenIdDataBatch(
37601
- * bytes32[] tokenIds,
37602
- * bytes32[] dataKeys,
37603
- * bytes[] dataValues
37602
+ * function setDataForTokenId(
37603
+ * bytes32 tokenId,
37604
+ * bytes32 dataKey,
37605
+ * bytes dataValue
37604
37606
  * )
37605
37607
  *
37606
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
37608
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
37607
37609
  */
37608
- "0xae0646d7": {
37609
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
37610
+ "0xd6c1407c": {
37611
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
37610
37612
  inputs: [
37611
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
37612
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
37613
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
37613
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
37614
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
37615
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
37614
37616
  ],
37615
- name: "setTokenIdDataBatch",
37617
+ name: "setDataForTokenId",
37616
37618
  outputs: [],
37617
37619
  stateMutability: "nonpayable",
37618
37620
  type: "function",
37619
37621
  devdoc: {
37620
37622
  params: {
37621
- dataKey: "An array of data keys corresponding to the token IDs.",
37622
- dataValue: "An array of values to set for the given data keys.",
37623
- tokenId: "An array of token IDs."
37623
+ dataKey: "The key for the data to set.",
37624
+ dataValue: "The value to set for the given data key.",
37625
+ tokenId: "The unique identifier for a token."
37624
37626
  }
37625
37627
  },
37626
- userdoc: {
37627
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
37628
- }
37628
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
37629
37629
  },
37630
37630
  /**
37631
37631
  * function supportsInterface(
@@ -37936,43 +37936,54 @@ const FunctionSelectors = {
37936
37936
  }
37937
37937
  },
37938
37938
  /**
37939
- * function getOperatorsOf(
37940
- * bytes32 tokenId
37939
+ * function getDataBatchForTokenIds(
37940
+ * bytes32[] tokenIds,
37941
+ * bytes32[] dataKeys
37941
37942
  * )
37942
37943
  *
37943
- * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
37944
+ * 0x1d26fce6 = keccak256('getDataBatchForTokenIds(bytes32[],bytes32[])')
37944
37945
  */
37945
- "0x49a6078d": {
37946
- sig: "getOperatorsOf(bytes32)",
37947
- inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
37948
- name: "getOperatorsOf",
37949
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
37946
+ "0x1d26fce6": {
37947
+ sig: "getDataBatchForTokenIds(bytes32[],bytes32[])",
37948
+ inputs: [
37949
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
37950
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
37951
+ ],
37952
+ name: "getDataBatchForTokenIds",
37953
+ outputs: [
37954
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
37955
+ ],
37950
37956
  stateMutability: "view",
37951
37957
  type: "function",
37952
37958
  devdoc: {
37953
- details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
37954
- params: { tokenId: "The token ID to get the operators for." },
37959
+ params: {
37960
+ dataKeys: "An array of data keys corresponding to the token IDs.",
37961
+ tokenIds: "An array of token IDs."
37962
+ },
37955
37963
  returns: {
37956
- _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
37964
+ dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
37957
37965
  }
37966
+ },
37967
+ userdoc: {
37968
+ notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
37958
37969
  }
37959
37970
  },
37960
37971
  /**
37961
- * function getTokenIdData(
37972
+ * function getDataForTokenId(
37962
37973
  * bytes32 tokenId,
37963
37974
  * bytes32 dataKey
37964
37975
  * )
37965
37976
  *
37966
- * 0xe7bb5942 = keccak256('getTokenIdData(bytes32,bytes32)')
37977
+ * 0x16e023b3 = keccak256('getDataForTokenId(bytes32,bytes32)')
37967
37978
  */
37968
- "0xe7bb5942": {
37969
- sig: "getTokenIdData(bytes32,bytes32)",
37979
+ "0x16e023b3": {
37980
+ sig: "getDataForTokenId(bytes32,bytes32)",
37970
37981
  inputs: [
37971
37982
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
37972
37983
  { internalType: "bytes32", name: "dataKey", type: "bytes32" }
37973
37984
  ],
37974
- name: "getTokenIdData",
37975
- outputs: [{ internalType: "bytes", name: "dataValues", type: "bytes" }],
37985
+ name: "getDataForTokenId",
37986
+ outputs: [{ internalType: "bytes", name: "dataValue", type: "bytes" }],
37976
37987
  stateMutability: "view",
37977
37988
  type: "function",
37978
37989
  devdoc: {
@@ -37981,7 +37992,7 @@ const FunctionSelectors = {
37981
37992
  tokenId: "The unique identifier for a token."
37982
37993
  },
37983
37994
  returns: {
37984
- dataValues: "The data value associated with the given `tokenId` and `dataKey`."
37995
+ dataValue: "The data value associated with the given `tokenId` and `dataKey`."
37985
37996
  }
37986
37997
  },
37987
37998
  userdoc: {
@@ -37989,36 +38000,25 @@ const FunctionSelectors = {
37989
38000
  }
37990
38001
  },
37991
38002
  /**
37992
- * function getTokenIdDataBatch(
37993
- * bytes32[] tokenIds,
37994
- * bytes32[] dataKeys
38003
+ * function getOperatorsOf(
38004
+ * bytes32 tokenId
37995
38005
  * )
37996
38006
  *
37997
- * 0xc797c777 = keccak256('getTokenIdDataBatch(bytes32[],bytes32[])')
38007
+ * 0x49a6078d = keccak256('getOperatorsOf(bytes32)')
37998
38008
  */
37999
- "0xc797c777": {
38000
- sig: "getTokenIdDataBatch(bytes32[],bytes32[])",
38001
- inputs: [
38002
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
38003
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" }
38004
- ],
38005
- name: "getTokenIdDataBatch",
38006
- outputs: [
38007
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
38008
- ],
38009
+ "0x49a6078d": {
38010
+ sig: "getOperatorsOf(bytes32)",
38011
+ inputs: [{ internalType: "bytes32", name: "tokenId", type: "bytes32" }],
38012
+ name: "getOperatorsOf",
38013
+ outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
38009
38014
  stateMutability: "view",
38010
38015
  type: "function",
38011
38016
  devdoc: {
38012
- params: {
38013
- dataKey: "An array of data keys corresponding to the token IDs.",
38014
- tokenId: "An array of token IDs."
38015
- },
38017
+ details: "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
38018
+ params: { tokenId: "The token ID to get the operators for." },
38016
38019
  returns: {
38017
- dataValues: "An array of data values for each pair of `tokenId` and `dataKey`."
38020
+ _0: "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
38018
38021
  }
38019
- },
38020
- userdoc: {
38021
- notice: "Retrieves data in batch for multiple `tokenId` and `dataKey` pairs."
38022
38022
  }
38023
38023
  },
38024
38024
  /**
@@ -38027,7 +38027,7 @@ const FunctionSelectors = {
38027
38027
  * string symbol_,
38028
38028
  * address newOwner_,
38029
38029
  * uint256 lsp4TokenType_,
38030
- * uint256 lsp8TokenIdSchema_
38030
+ * uint256 lsp8TokenIdFormat_
38031
38031
  * )
38032
38032
  *
38033
38033
  * 0x74823132 = keccak256('initialize(string,string,address,uint256,uint256)')
@@ -38041,7 +38041,7 @@ const FunctionSelectors = {
38041
38041
  { internalType: "uint256", name: "lsp4TokenType_", type: "uint256" },
38042
38042
  {
38043
38043
  internalType: "uint256",
38044
- name: "lsp8TokenIdSchema_",
38044
+ name: "lsp8TokenIdFormat_",
38045
38045
  type: "uint256"
38046
38046
  }
38047
38047
  ],
@@ -38051,8 +38051,8 @@ const FunctionSelectors = {
38051
38051
  type: "function",
38052
38052
  devdoc: {
38053
38053
  params: {
38054
- lsp4TokenType_: "The type of token this digital asset contract represents (`1` = Token, `2` = NFT, `3` = Collection).",
38055
- lsp8TokenIdSchema_: "The schema of tokenIds (= NFTs) that this contract will create.",
38054
+ lsp4TokenType_: "The type of token this digital asset contract represents (`0` = Token, `1` = NFT, `2` = Collection).",
38055
+ lsp8TokenIdFormat_: "The format of tokenIds (= NFTs) that this contract will create.",
38056
38056
  name_: "The name of the token.",
38057
38057
  newOwner_: "The owner of the token contract.",
38058
38058
  symbol_: "The symbol of the token."
@@ -38257,64 +38257,64 @@ const FunctionSelectors = {
38257
38257
  }
38258
38258
  },
38259
38259
  /**
38260
- * function setTokenIdData(
38261
- * bytes32 tokenId,
38262
- * bytes32 dataKey,
38263
- * bytes dataValue
38260
+ * function setDataBatchForTokenIds(
38261
+ * bytes32[] tokenIds,
38262
+ * bytes32[] dataKeys,
38263
+ * bytes[] dataValues
38264
38264
  * )
38265
38265
  *
38266
- * 0x3b38c1d7 = keccak256('setTokenIdData(bytes32,bytes32,bytes)')
38266
+ * 0xbe9f0e6f = keccak256('setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])')
38267
38267
  */
38268
- "0x3b38c1d7": {
38269
- sig: "setTokenIdData(bytes32,bytes32,bytes)",
38268
+ "0xbe9f0e6f": {
38269
+ sig: "setDataBatchForTokenIds(bytes32[],bytes32[],bytes[])",
38270
38270
  inputs: [
38271
- { internalType: "bytes32", name: "tokenId", type: "bytes32" },
38272
- { internalType: "bytes32", name: "dataKey", type: "bytes32" },
38273
- { internalType: "bytes", name: "dataValue", type: "bytes" }
38271
+ { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
38272
+ { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
38273
+ { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
38274
38274
  ],
38275
- name: "setTokenIdData",
38275
+ name: "setDataBatchForTokenIds",
38276
38276
  outputs: [],
38277
38277
  stateMutability: "nonpayable",
38278
38278
  type: "function",
38279
38279
  devdoc: {
38280
38280
  params: {
38281
- dataKey: "The key for the data to set.",
38282
- dataValue: "The value to set for the given data key.",
38283
- tokenId: "The unique identifier for a token."
38281
+ dataKeys: "An array of data keys corresponding to the token IDs.",
38282
+ dataValues: "An array of values to set for the given data keys.",
38283
+ tokenIds: "An array of token IDs."
38284
38284
  }
38285
38285
  },
38286
- userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
38286
+ userdoc: {
38287
+ notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
38288
+ }
38287
38289
  },
38288
38290
  /**
38289
- * function setTokenIdDataBatch(
38290
- * bytes32[] tokenIds,
38291
- * bytes32[] dataKeys,
38292
- * bytes[] dataValues
38291
+ * function setDataForTokenId(
38292
+ * bytes32 tokenId,
38293
+ * bytes32 dataKey,
38294
+ * bytes dataValue
38293
38295
  * )
38294
38296
  *
38295
- * 0xae0646d7 = keccak256('setTokenIdDataBatch(bytes32[],bytes32[],bytes[])')
38297
+ * 0xd6c1407c = keccak256('setDataForTokenId(bytes32,bytes32,bytes)')
38296
38298
  */
38297
- "0xae0646d7": {
38298
- sig: "setTokenIdDataBatch(bytes32[],bytes32[],bytes[])",
38299
+ "0xd6c1407c": {
38300
+ sig: "setDataForTokenId(bytes32,bytes32,bytes)",
38299
38301
  inputs: [
38300
- { internalType: "bytes32[]", name: "tokenIds", type: "bytes32[]" },
38301
- { internalType: "bytes32[]", name: "dataKeys", type: "bytes32[]" },
38302
- { internalType: "bytes[]", name: "dataValues", type: "bytes[]" }
38302
+ { internalType: "bytes32", name: "tokenId", type: "bytes32" },
38303
+ { internalType: "bytes32", name: "dataKey", type: "bytes32" },
38304
+ { internalType: "bytes", name: "dataValue", type: "bytes" }
38303
38305
  ],
38304
- name: "setTokenIdDataBatch",
38306
+ name: "setDataForTokenId",
38305
38307
  outputs: [],
38306
38308
  stateMutability: "nonpayable",
38307
38309
  type: "function",
38308
38310
  devdoc: {
38309
38311
  params: {
38310
- dataKey: "An array of data keys corresponding to the token IDs.",
38311
- dataValue: "An array of values to set for the given data keys.",
38312
- tokenId: "An array of token IDs."
38312
+ dataKey: "The key for the data to set.",
38313
+ dataValue: "The value to set for the given data key.",
38314
+ tokenId: "The unique identifier for a token."
38313
38315
  }
38314
38316
  },
38315
- userdoc: {
38316
- notice: "Sets data in batch for multiple `tokenId` and `dataKey` pairs."
38317
- }
38317
+ userdoc: { notice: "Sets data for a specific `tokenId` and `dataKey`." }
38318
38318
  },
38319
38319
  /**
38320
38320
  * function supportsInterface(
@@ -40499,7 +40499,7 @@ const INTERFACE_IDS = {
40499
40499
  LSP1UniversalReceiverDelegate: "0xa245bbda",
40500
40500
  LSP6KeyManager: "0x23f34c62",
40501
40501
  LSP7DigitalAsset: "0xb3c4928f",
40502
- LSP8IdentifiableDigitalAsset: "0xecad9f75",
40502
+ LSP8IdentifiableDigitalAsset: "0x3a271706",
40503
40503
  LSP9Vault: "0x28af17e6",
40504
40504
  LSP11BasicSocialRecovery: "0x049a28f1",
40505
40505
  LSP14Ownable2Step: "0x94be5999",
@@ -40598,7 +40598,7 @@ const ERC725YDataKeys = {
40598
40598
  "AddressPermissions:AllowedCalls": "0x4b80742de2bf393a64c70000"
40599
40599
  },
40600
40600
  LSP8: {
40601
- LSP8TokenIdSchema: "0x341bc44e55234544c70af9d37b2cb8cc7ba74685b58526221de2cc977f469924",
40601
+ LSP8TokenIdFormat: "0xf675e9361af1c1664c1868cfa3eb97672d6b1a513aa5b81dec34c9ee330e818d",
40602
40602
  LSP8TokenMetadataBaseURI: "0x1a7628600c3bac7101f53697f48df381ddc36b9015e7d7c9c5633d1252aa2843",
40603
40603
  LSP8ReferenceContract: "0x708e7b881795f2e6b6c2752108c177ec89248458de3bf69d0d43480b3e5034e6"
40604
40604
  },
@@ -40724,7 +40724,7 @@ const LSP4_TOKEN_TYPES = {
40724
40724
  NFT: 1,
40725
40725
  COLLECTION: 2
40726
40726
  };
40727
- const LSP8_TOKEN_ID_SCHEMA = {
40727
+ const LSP8_TOKEN_ID_FORMAT = {
40728
40728
  NUMBER: 0,
40729
40729
  STRING: 1,
40730
40730
  ADDRESS: 2,
@@ -40751,7 +40751,7 @@ exports.LSP1_TYPE_IDS = LSP1_TYPE_IDS;
40751
40751
  exports.LSP20_SUCCESS_VALUES = LSP20_SUCCESS_VALUES;
40752
40752
  exports.LSP25_VERSION = LSP25_VERSION;
40753
40753
  exports.LSP4_TOKEN_TYPES = LSP4_TOKEN_TYPES;
40754
- exports.LSP8_TOKEN_ID_SCHEMA = LSP8_TOKEN_ID_SCHEMA;
40754
+ exports.LSP8_TOKEN_ID_FORMAT = LSP8_TOKEN_ID_FORMAT;
40755
40755
  exports.OPERATION_TYPES = OPERATION_TYPES;
40756
40756
  exports.PERMISSIONS = PERMISSIONS;
40757
40757
  exports.StateVariables = StateVariables;