@lukso/lsp-smart-contracts 0.11.0-rc.1 → 0.11.1

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 (196) hide show
  1. package/README.md +1 -0
  2. package/artifacts/LSP0ERC725Account.json +7 -2
  3. package/artifacts/LSP0ERC725AccountInit.json +7 -2
  4. package/artifacts/LSP11BasicSocialRecovery.json +2 -2
  5. package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
  6. package/artifacts/LSP1UniversalReceiverDelegateUP.json +3 -79
  7. package/artifacts/LSP1UniversalReceiverDelegateVault.json +3 -41
  8. package/artifacts/LSP23LinkedContractsFactory.json +544 -0
  9. package/artifacts/LSP6KeyManager.json +24 -19
  10. package/artifacts/LSP6KeyManagerInit.json +24 -19
  11. package/artifacts/LSP7CappedSupply.json +88 -0
  12. package/artifacts/LSP7CappedSupplyInitAbstract.json +88 -0
  13. package/artifacts/LSP7CompatibleERC20.json +88 -0
  14. package/artifacts/LSP7CompatibleERC20InitAbstract.json +88 -0
  15. package/artifacts/LSP7CompatibleERC20Mintable.json +90 -2
  16. package/artifacts/LSP7CompatibleERC20MintableInit.json +90 -2
  17. package/artifacts/LSP7DigitalAsset.json +88 -0
  18. package/artifacts/LSP7DigitalAssetInitAbstract.json +88 -0
  19. package/artifacts/LSP7Mintable.json +90 -2
  20. package/artifacts/LSP7MintableInit.json +90 -2
  21. package/artifacts/LSP8CappedSupply.json +59 -0
  22. package/artifacts/LSP8CappedSupplyInitAbstract.json +59 -0
  23. package/artifacts/LSP8CompatibleERC721.json +60 -1
  24. package/artifacts/LSP8CompatibleERC721InitAbstract.json +60 -1
  25. package/artifacts/LSP8CompatibleERC721Mintable.json +62 -3
  26. package/artifacts/LSP8CompatibleERC721MintableInit.json +62 -3
  27. package/artifacts/LSP8IdentifiableDigitalAsset.json +59 -0
  28. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +59 -0
  29. package/artifacts/LSP8Mintable.json +61 -2
  30. package/artifacts/LSP8MintableInit.json +61 -2
  31. package/artifacts/LSP9Vault.json +7 -2
  32. package/artifacts/LSP9VaultInit.json +7 -2
  33. package/artifacts/UniversalProfile.json +7 -2
  34. package/artifacts/UniversalProfileInit.json +7 -2
  35. package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +8 -36
  36. package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
  37. package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +15 -30
  38. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +122 -206
  39. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +18 -36
  40. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +8 -34
  41. package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +148 -177
  42. package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +21 -20
  43. package/contracts/LSP14Ownable2Step/LSP14Errors.sol +13 -2
  44. package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +50 -20
  45. package/contracts/LSP17ContractExtension/LSP17Errors.sol +10 -0
  46. package/contracts/LSP17ContractExtension/LSP17Extendable.sol +16 -34
  47. package/contracts/LSP17ContractExtension/LSP17Utils.sol +1 -1
  48. package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +16 -11
  49. package/contracts/LSP1UniversalReceiver/LSP1Errors.sol +5 -10
  50. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +192 -177
  51. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +150 -88
  52. package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +66 -48
  53. package/contracts/LSP20CallVerification/LSP20CallVerification.sol +1 -1
  54. package/contracts/LSP23LinkedContractsDeployment/{ILinkedContractsFactory.sol → ILSP23LinkedContractsFactory.sol} +31 -13
  55. package/contracts/LSP23LinkedContractsDeployment/IPostDeploymentModule.sol +8 -0
  56. package/contracts/LSP23LinkedContractsDeployment/LSP23Errors.sol +6 -6
  57. package/contracts/LSP23LinkedContractsDeployment/{LinkedContractsFactory.sol → LSP23LinkedContractsFactory.sol} +30 -22
  58. package/contracts/LSP23LinkedContractsDeployment/modules/UniversalProfileInitPostDeploymentModule.sol +5 -1
  59. package/contracts/LSP23LinkedContractsDeployment/modules/UniversalProfilePostDeploymentModule.sol +61 -0
  60. package/contracts/LSP25ExecuteRelayCall/ILSP25ExecuteRelayCall.sol +68 -0
  61. package/contracts/LSP25ExecuteRelayCall/LSP25Constants.sol +8 -0
  62. package/contracts/LSP25ExecuteRelayCall/LSP25Errors.sol +17 -0
  63. package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +143 -0
  64. package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +256 -61
  65. package/contracts/{LSP3UniversalProfile → LSP3ProfileMetadata}/LSP3Constants.sol +3 -3
  66. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +9 -8
  67. package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +13 -6
  68. package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +4 -4
  69. package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +148 -189
  70. package/contracts/LSP6KeyManager/ILSP6KeyManager.sol +26 -54
  71. package/contracts/LSP6KeyManager/LSP6Constants.sol +1 -3
  72. package/contracts/LSP6KeyManager/LSP6Errors.sol +142 -63
  73. package/contracts/LSP6KeyManager/LSP6KeyManager.sol +7 -4
  74. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +125 -80
  75. package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +8 -4
  76. package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +1 -1
  77. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +52 -84
  78. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +59 -10
  79. package/contracts/LSP6KeyManager/LSP6Utils.sol +67 -46
  80. package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +116 -78
  81. package/contracts/LSP7DigitalAsset/LSP7Constants.sol +4 -1
  82. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +128 -6
  83. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +212 -80
  84. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +126 -3
  85. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +7 -5
  86. package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +27 -14
  87. package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +2 -4
  88. package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +2 -4
  89. package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol +29 -11
  90. package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +30 -9
  91. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +46 -14
  92. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +43 -12
  93. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +14 -0
  94. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +9 -4
  95. package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +7 -1
  96. package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +8 -8
  97. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +7 -6
  98. package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +10 -2
  99. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +120 -92
  100. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +4 -1
  101. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +135 -6
  102. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +128 -38
  103. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +134 -5
  104. package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +83 -41
  105. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +13 -5
  106. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +24 -0
  107. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +30 -12
  108. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +31 -10
  109. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +96 -31
  110. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +98 -23
  111. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +21 -4
  112. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +12 -2
  113. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +21 -0
  114. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +9 -4
  115. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +13 -0
  116. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +15 -6
  117. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +7 -5
  118. package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +17 -2
  119. package/contracts/LSP9Vault/ILSP9Vault.sol +10 -5
  120. package/contracts/LSP9Vault/LSP9Errors.sol +3 -2
  121. package/contracts/LSP9Vault/LSP9Vault.sol +12 -4
  122. package/contracts/LSP9Vault/LSP9VaultCore.sol +245 -182
  123. package/contracts/LSP9Vault/LSP9VaultInit.sol +10 -3
  124. package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +11 -6
  125. package/contracts/UniversalProfile.sol +8 -6
  126. package/contracts/UniversalProfileInit.sol +6 -6
  127. package/contracts/UniversalProfileInitAbstract.sol +10 -3
  128. package/devdocs/LSP0ERC725Account.json +54 -37
  129. package/devdocs/LSP0ERC725AccountInit.json +56 -38
  130. package/devdocs/LSP1UniversalReceiverDelegateUP.json +14 -55
  131. package/devdocs/LSP1UniversalReceiverDelegateVault.json +9 -33
  132. package/devdocs/{LinkedContractsFactory.json → LSP23LinkedContractsFactory.json} +12 -12
  133. package/devdocs/LSP4DigitalAssetMetadata.json +5 -5
  134. package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +4 -4
  135. package/devdocs/LSP6KeyManager.json +109 -70
  136. package/devdocs/LSP6KeyManagerInit.json +109 -70
  137. package/devdocs/LSP7CappedSupply.json +90 -42
  138. package/devdocs/LSP7CappedSupplyInitAbstract.json +86 -40
  139. package/devdocs/LSP7CompatibleERC20.json +79 -43
  140. package/devdocs/LSP7CompatibleERC20InitAbstract.json +75 -39
  141. package/devdocs/LSP7CompatibleERC20Mintable.json +87 -40
  142. package/devdocs/LSP7CompatibleERC20MintableInit.json +82 -42
  143. package/devdocs/LSP7DigitalAsset.json +76 -40
  144. package/devdocs/LSP7DigitalAssetInitAbstract.json +73 -37
  145. package/devdocs/LSP7Mintable.json +79 -51
  146. package/devdocs/LSP7MintableInit.json +78 -49
  147. package/devdocs/LSP8CappedSupply.json +72 -43
  148. package/devdocs/LSP8CappedSupplyInitAbstract.json +68 -41
  149. package/devdocs/LSP8CompatibleERC721.json +85 -64
  150. package/devdocs/LSP8CompatibleERC721InitAbstract.json +81 -60
  151. package/devdocs/LSP8CompatibleERC721Mintable.json +98 -60
  152. package/devdocs/LSP8CompatibleERC721MintableInit.json +93 -62
  153. package/devdocs/LSP8IdentifiableDigitalAsset.json +58 -41
  154. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +57 -40
  155. package/devdocs/LSP8Mintable.json +65 -48
  156. package/devdocs/LSP8MintableInit.json +64 -47
  157. package/devdocs/LSP9Vault.json +61 -18
  158. package/devdocs/LSP9VaultInit.json +59 -17
  159. package/devdocs/UniversalProfile.json +53 -35
  160. package/devdocs/UniversalProfileInit.json +53 -35
  161. package/dist/constants.cjs.js +5647 -2600
  162. package/dist/constants.d.ts +4062 -1678
  163. package/dist/constants.es.js +5647 -2600
  164. package/package.json +6 -4
  165. package/userdocs/LSP0ERC725Account.json +40 -8
  166. package/userdocs/LSP0ERC725AccountInit.json +40 -8
  167. package/userdocs/LSP1UniversalReceiverDelegateUP.json +18 -2
  168. package/userdocs/LSP1UniversalReceiverDelegateVault.json +18 -2
  169. package/userdocs/{LinkedContractsFactory.json → LSP23LinkedContractsFactory.json} +2 -2
  170. package/userdocs/LSP4DigitalAssetMetadata.json +1 -1
  171. package/userdocs/LSP6KeyManager.json +144 -6
  172. package/userdocs/LSP6KeyManagerInit.json +147 -6
  173. package/userdocs/LSP7CappedSupply.json +18 -3
  174. package/userdocs/LSP7CappedSupplyInitAbstract.json +17 -2
  175. package/userdocs/LSP7CompatibleERC20.json +3 -9
  176. package/userdocs/LSP7CompatibleERC20InitAbstract.json +2 -8
  177. package/userdocs/LSP7CompatibleERC20Mintable.json +5 -8
  178. package/userdocs/LSP7CompatibleERC20MintableInit.json +3 -9
  179. package/userdocs/LSP7DigitalAsset.json +2 -2
  180. package/userdocs/LSP7DigitalAssetInitAbstract.json +2 -2
  181. package/userdocs/LSP7Mintable.json +3 -3
  182. package/userdocs/LSP7MintableInit.json +3 -3
  183. package/userdocs/LSP8CappedSupply.json +16 -1
  184. package/userdocs/LSP8CappedSupplyInitAbstract.json +15 -0
  185. package/userdocs/LSP8CompatibleERC721.json +24 -3
  186. package/userdocs/LSP8CompatibleERC721InitAbstract.json +23 -2
  187. package/userdocs/LSP8CompatibleERC721Mintable.json +29 -2
  188. package/userdocs/LSP8CompatibleERC721MintableInit.json +27 -3
  189. package/userdocs/LSP8Mintable.json +4 -1
  190. package/userdocs/LSP8MintableInit.json +4 -1
  191. package/userdocs/LSP9Vault.json +50 -4
  192. package/userdocs/LSP9VaultInit.json +50 -4
  193. package/userdocs/UniversalProfile.json +40 -8
  194. package/userdocs/UniversalProfileInit.json +40 -8
  195. package/artifacts/LinkedContractsFactory.json +0 -544
  196. package/contracts/LSP0ERC725Account/LSP0Utils.sol +0 -47
@@ -18,6 +18,28 @@
18
18
  "name": "ERC725Y_MsgValueDisallowed",
19
19
  "type": "error"
20
20
  },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "bytes",
25
+ "name": "storedData",
26
+ "type": "bytes"
27
+ }
28
+ ],
29
+ "name": "InvalidExtensionAddress",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "bytes",
36
+ "name": "data",
37
+ "type": "bytes"
38
+ }
39
+ ],
40
+ "name": "InvalidFunctionSelector",
41
+ "type": "error"
42
+ },
21
43
  {
22
44
  "inputs": [],
23
45
  "name": "LSP4TokenNameNotEditable",
@@ -137,6 +159,17 @@
137
159
  "name": "LSP7TokenOwnerCannotBeOperator",
138
160
  "type": "error"
139
161
  },
162
+ {
163
+ "inputs": [
164
+ {
165
+ "internalType": "bytes4",
166
+ "name": "functionSelector",
167
+ "type": "bytes4"
168
+ }
169
+ ],
170
+ "name": "NoExtensionFoundForFunctionSelector",
171
+ "type": "error"
172
+ },
140
173
  {
141
174
  "anonymous": false,
142
175
  "inputs": [
@@ -157,6 +190,12 @@
157
190
  "internalType": "uint256",
158
191
  "name": "amount",
159
192
  "type": "uint256"
193
+ },
194
+ {
195
+ "indexed": false,
196
+ "internalType": "bytes",
197
+ "name": "operatorNotificationData",
198
+ "type": "bytes"
160
199
  }
161
200
  ],
162
201
  "name": "AuthorizedOperator",
@@ -227,6 +266,12 @@
227
266
  "internalType": "address",
228
267
  "name": "tokenOwner",
229
268
  "type": "address"
269
+ },
270
+ {
271
+ "indexed": false,
272
+ "internalType": "bytes",
273
+ "name": "operatorNotificationData",
274
+ "type": "bytes"
230
275
  }
231
276
  ],
232
277
  "name": "RevokedOperator",
@@ -275,6 +320,10 @@
275
320
  "name": "Transfer",
276
321
  "type": "event"
277
322
  },
323
+ {
324
+ "stateMutability": "payable",
325
+ "type": "fallback"
326
+ },
278
327
  {
279
328
  "inputs": [
280
329
  {
@@ -286,6 +335,11 @@
286
335
  "internalType": "uint256",
287
336
  "name": "amount",
288
337
  "type": "uint256"
338
+ },
339
+ {
340
+ "internalType": "bytes",
341
+ "name": "operatorNotificationData",
342
+ "type": "bytes"
289
343
  }
290
344
  ],
291
345
  "name": "authorizeOperator",
@@ -360,6 +414,11 @@
360
414
  "internalType": "uint256",
361
415
  "name": "substractedAmount",
362
416
  "type": "uint256"
417
+ },
418
+ {
419
+ "internalType": "bytes",
420
+ "name": "operatorNotificationData",
421
+ "type": "bytes"
363
422
  }
364
423
  ],
365
424
  "name": "decreaseAllowance",
@@ -405,6 +464,25 @@
405
464
  "stateMutability": "view",
406
465
  "type": "function"
407
466
  },
467
+ {
468
+ "inputs": [
469
+ {
470
+ "internalType": "address",
471
+ "name": "tokenOwner",
472
+ "type": "address"
473
+ }
474
+ ],
475
+ "name": "getOperatorsOf",
476
+ "outputs": [
477
+ {
478
+ "internalType": "address[]",
479
+ "name": "",
480
+ "type": "address[]"
481
+ }
482
+ ],
483
+ "stateMutability": "view",
484
+ "type": "function"
485
+ },
408
486
  {
409
487
  "inputs": [
410
488
  {
@@ -416,6 +494,11 @@
416
494
  "internalType": "uint256",
417
495
  "name": "addedAmount",
418
496
  "type": "uint256"
497
+ },
498
+ {
499
+ "internalType": "bytes",
500
+ "name": "operatorNotificationData",
501
+ "type": "bytes"
419
502
  }
420
503
  ],
421
504
  "name": "increaseAllowance",
@@ -449,6 +532,11 @@
449
532
  "internalType": "address",
450
533
  "name": "operator",
451
534
  "type": "address"
535
+ },
536
+ {
537
+ "internalType": "bytes",
538
+ "name": "operatorNotificationData",
539
+ "type": "bytes"
452
540
  }
453
541
  ],
454
542
  "name": "revokeOperator",
@@ -18,6 +18,28 @@
18
18
  "name": "ERC725Y_MsgValueDisallowed",
19
19
  "type": "error"
20
20
  },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "bytes",
25
+ "name": "storedData",
26
+ "type": "bytes"
27
+ }
28
+ ],
29
+ "name": "InvalidExtensionAddress",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "bytes",
36
+ "name": "data",
37
+ "type": "bytes"
38
+ }
39
+ ],
40
+ "name": "InvalidFunctionSelector",
41
+ "type": "error"
42
+ },
21
43
  {
22
44
  "inputs": [],
23
45
  "name": "LSP4TokenNameNotEditable",
@@ -127,6 +149,17 @@
127
149
  "name": "LSP7TokenOwnerCannotBeOperator",
128
150
  "type": "error"
129
151
  },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "bytes4",
156
+ "name": "functionSelector",
157
+ "type": "bytes4"
158
+ }
159
+ ],
160
+ "name": "NoExtensionFoundForFunctionSelector",
161
+ "type": "error"
162
+ },
130
163
  {
131
164
  "anonymous": false,
132
165
  "inputs": [
@@ -172,6 +205,12 @@
172
205
  "internalType": "uint256",
173
206
  "name": "amount",
174
207
  "type": "uint256"
208
+ },
209
+ {
210
+ "indexed": false,
211
+ "internalType": "bytes",
212
+ "name": "operatorNotificationData",
213
+ "type": "bytes"
175
214
  }
176
215
  ],
177
216
  "name": "AuthorizedOperator",
@@ -229,6 +268,12 @@
229
268
  "internalType": "address",
230
269
  "name": "tokenOwner",
231
270
  "type": "address"
271
+ },
272
+ {
273
+ "indexed": false,
274
+ "internalType": "bytes",
275
+ "name": "operatorNotificationData",
276
+ "type": "bytes"
232
277
  }
233
278
  ],
234
279
  "name": "RevokedOperator",
@@ -302,6 +347,10 @@
302
347
  "name": "Transfer",
303
348
  "type": "event"
304
349
  },
350
+ {
351
+ "stateMutability": "payable",
352
+ "type": "fallback"
353
+ },
305
354
  {
306
355
  "inputs": [
307
356
  {
@@ -361,6 +410,11 @@
361
410
  "internalType": "uint256",
362
411
  "name": "amount",
363
412
  "type": "uint256"
413
+ },
414
+ {
415
+ "internalType": "bytes",
416
+ "name": "operatorNotificationData",
417
+ "type": "bytes"
364
418
  }
365
419
  ],
366
420
  "name": "authorizeOperator",
@@ -435,6 +489,11 @@
435
489
  "internalType": "uint256",
436
490
  "name": "substractedAmount",
437
491
  "type": "uint256"
492
+ },
493
+ {
494
+ "internalType": "bytes",
495
+ "name": "operatorNotificationData",
496
+ "type": "bytes"
438
497
  }
439
498
  ],
440
499
  "name": "decreaseAllowance",
@@ -480,6 +539,25 @@
480
539
  "stateMutability": "view",
481
540
  "type": "function"
482
541
  },
542
+ {
543
+ "inputs": [
544
+ {
545
+ "internalType": "address",
546
+ "name": "tokenOwner",
547
+ "type": "address"
548
+ }
549
+ ],
550
+ "name": "getOperatorsOf",
551
+ "outputs": [
552
+ {
553
+ "internalType": "address[]",
554
+ "name": "",
555
+ "type": "address[]"
556
+ }
557
+ ],
558
+ "stateMutability": "view",
559
+ "type": "function"
560
+ },
483
561
  {
484
562
  "inputs": [
485
563
  {
@@ -491,6 +569,11 @@
491
569
  "internalType": "uint256",
492
570
  "name": "addedAmount",
493
571
  "type": "uint256"
572
+ },
573
+ {
574
+ "internalType": "bytes",
575
+ "name": "operatorNotificationData",
576
+ "type": "bytes"
494
577
  }
495
578
  ],
496
579
  "name": "increaseAllowance",
@@ -537,6 +620,11 @@
537
620
  "internalType": "address",
538
621
  "name": "operator",
539
622
  "type": "address"
623
+ },
624
+ {
625
+ "internalType": "bytes",
626
+ "name": "operatorNotificationData",
627
+ "type": "bytes"
540
628
  }
541
629
  ],
542
630
  "name": "revokeOperator",
@@ -18,6 +18,28 @@
18
18
  "name": "ERC725Y_MsgValueDisallowed",
19
19
  "type": "error"
20
20
  },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "bytes",
25
+ "name": "storedData",
26
+ "type": "bytes"
27
+ }
28
+ ],
29
+ "name": "InvalidExtensionAddress",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "inputs": [
34
+ {
35
+ "internalType": "bytes",
36
+ "name": "data",
37
+ "type": "bytes"
38
+ }
39
+ ],
40
+ "name": "InvalidFunctionSelector",
41
+ "type": "error"
42
+ },
21
43
  {
22
44
  "inputs": [],
23
45
  "name": "LSP4TokenNameNotEditable",
@@ -127,6 +149,17 @@
127
149
  "name": "LSP7TokenOwnerCannotBeOperator",
128
150
  "type": "error"
129
151
  },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "bytes4",
156
+ "name": "functionSelector",
157
+ "type": "bytes4"
158
+ }
159
+ ],
160
+ "name": "NoExtensionFoundForFunctionSelector",
161
+ "type": "error"
162
+ },
130
163
  {
131
164
  "anonymous": false,
132
165
  "inputs": [
@@ -172,6 +205,12 @@
172
205
  "internalType": "uint256",
173
206
  "name": "amount",
174
207
  "type": "uint256"
208
+ },
209
+ {
210
+ "indexed": false,
211
+ "internalType": "bytes",
212
+ "name": "operatorNotificationData",
213
+ "type": "bytes"
175
214
  }
176
215
  ],
177
216
  "name": "AuthorizedOperator",
@@ -242,6 +281,12 @@
242
281
  "internalType": "address",
243
282
  "name": "tokenOwner",
244
283
  "type": "address"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "bytes",
288
+ "name": "operatorNotificationData",
289
+ "type": "bytes"
245
290
  }
246
291
  ],
247
292
  "name": "RevokedOperator",
@@ -315,6 +360,10 @@
315
360
  "name": "Transfer",
316
361
  "type": "event"
317
362
  },
363
+ {
364
+ "stateMutability": "payable",
365
+ "type": "fallback"
366
+ },
318
367
  {
319
368
  "inputs": [
320
369
  {
@@ -374,6 +423,11 @@
374
423
  "internalType": "uint256",
375
424
  "name": "amount",
376
425
  "type": "uint256"
426
+ },
427
+ {
428
+ "internalType": "bytes",
429
+ "name": "operatorNotificationData",
430
+ "type": "bytes"
377
431
  }
378
432
  ],
379
433
  "name": "authorizeOperator",
@@ -448,6 +502,11 @@
448
502
  "internalType": "uint256",
449
503
  "name": "substractedAmount",
450
504
  "type": "uint256"
505
+ },
506
+ {
507
+ "internalType": "bytes",
508
+ "name": "operatorNotificationData",
509
+ "type": "bytes"
451
510
  }
452
511
  ],
453
512
  "name": "decreaseAllowance",
@@ -493,6 +552,25 @@
493
552
  "stateMutability": "view",
494
553
  "type": "function"
495
554
  },
555
+ {
556
+ "inputs": [
557
+ {
558
+ "internalType": "address",
559
+ "name": "tokenOwner",
560
+ "type": "address"
561
+ }
562
+ ],
563
+ "name": "getOperatorsOf",
564
+ "outputs": [
565
+ {
566
+ "internalType": "address[]",
567
+ "name": "",
568
+ "type": "address[]"
569
+ }
570
+ ],
571
+ "stateMutability": "view",
572
+ "type": "function"
573
+ },
496
574
  {
497
575
  "inputs": [
498
576
  {
@@ -504,6 +582,11 @@
504
582
  "internalType": "uint256",
505
583
  "name": "addedAmount",
506
584
  "type": "uint256"
585
+ },
586
+ {
587
+ "internalType": "bytes",
588
+ "name": "operatorNotificationData",
589
+ "type": "bytes"
507
590
  }
508
591
  ],
509
592
  "name": "increaseAllowance",
@@ -550,6 +633,11 @@
550
633
  "internalType": "address",
551
634
  "name": "operator",
552
635
  "type": "address"
636
+ },
637
+ {
638
+ "internalType": "bytes",
639
+ "name": "operatorNotificationData",
640
+ "type": "bytes"
553
641
  }
554
642
  ],
555
643
  "name": "revokeOperator",