@lukso/lsp-smart-contracts 0.12.0-rc.0 → 0.12.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 (135) hide show
  1. package/artifacts/LSP0ERC725Account.json +18 -24
  2. package/artifacts/LSP0ERC725AccountInit.json +18 -24
  3. package/artifacts/LSP1UniversalReceiverDelegateUP.json +15 -2
  4. package/artifacts/LSP1UniversalReceiverDelegateVault.json +15 -2
  5. package/artifacts/LSP6KeyManager.json +25 -2
  6. package/artifacts/LSP6KeyManagerInit.json +25 -2
  7. package/artifacts/LSP7CappedSupply.json +35 -0
  8. package/artifacts/LSP7CappedSupplyInitAbstract.json +35 -0
  9. package/artifacts/LSP7CompatibleERC20.json +35 -0
  10. package/artifacts/LSP7CompatibleERC20InitAbstract.json +35 -0
  11. package/artifacts/LSP7CompatibleERC20Mintable.json +37 -2
  12. package/artifacts/LSP7CompatibleERC20MintableInit.json +37 -2
  13. package/artifacts/LSP7DigitalAsset.json +35 -0
  14. package/artifacts/LSP7DigitalAssetInitAbstract.json +35 -0
  15. package/artifacts/LSP7Mintable.json +37 -2
  16. package/artifacts/LSP7MintableInit.json +37 -2
  17. package/artifacts/LSP8CappedSupply.json +24 -0
  18. package/artifacts/LSP8CappedSupplyInitAbstract.json +24 -0
  19. package/artifacts/LSP8CompatibleERC721.json +24 -0
  20. package/artifacts/LSP8CompatibleERC721InitAbstract.json +24 -0
  21. package/artifacts/LSP8CompatibleERC721Mintable.json +26 -2
  22. package/artifacts/LSP8CompatibleERC721MintableInit.json +26 -2
  23. package/artifacts/LSP8IdentifiableDigitalAsset.json +24 -0
  24. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +24 -0
  25. package/artifacts/LSP8Mintable.json +26 -2
  26. package/artifacts/LSP8MintableInit.json +26 -2
  27. package/artifacts/LSP9Vault.json +15 -21
  28. package/artifacts/LSP9VaultInit.json +15 -21
  29. package/artifacts/UniversalProfile.json +18 -24
  30. package/artifacts/UniversalProfileInit.json +18 -24
  31. package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +0 -8
  32. package/contracts/LSP0ERC725Account/LSP0Constants.sol +5 -0
  33. package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +12 -2
  34. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +75 -30
  35. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +1 -1
  36. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +11 -2
  37. package/contracts/LSP17ContractExtension/LSP17Extendable.sol +12 -8
  38. package/contracts/LSP17ContractExtension/LSP17Extension.sol +2 -1
  39. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +30 -7
  40. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +16 -7
  41. package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +3 -2
  42. package/contracts/LSP20CallVerification/LSP20CallVerification.sol +43 -49
  43. package/contracts/LSP20CallVerification/LSP20Errors.sol +2 -2
  44. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +42 -2
  45. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +3 -3
  46. package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +60 -0
  47. package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
  48. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +7 -5
  49. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +122 -176
  50. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +7 -5
  51. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +5 -0
  52. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +8 -1
  53. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +7 -1
  54. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +5 -0
  55. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +8 -5
  56. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +6 -5
  57. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +41 -74
  58. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +6 -5
  59. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +10 -7
  60. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +10 -7
  61. package/contracts/LSP9Vault/ILSP9Vault.sol +0 -8
  62. package/contracts/LSP9Vault/LSP9Constants.sol +5 -0
  63. package/contracts/LSP9Vault/LSP9Vault.sol +11 -2
  64. package/contracts/LSP9Vault/LSP9VaultCore.sol +63 -27
  65. package/contracts/LSP9Vault/LSP9VaultInit.sol +1 -1
  66. package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +11 -2
  67. package/contracts/UniversalProfile.sol +1 -1
  68. package/contracts/UniversalProfileInit.sol +1 -1
  69. package/contracts/UniversalProfileInitAbstract.sol +1 -1
  70. package/contracts/Version.sol +16 -0
  71. package/devdocs/LSP0ERC725Account.json +14 -8
  72. package/devdocs/LSP0ERC725AccountInit.json +14 -8
  73. package/devdocs/LSP1UniversalReceiverDelegateUP.json +6 -0
  74. package/devdocs/LSP1UniversalReceiverDelegateVault.json +6 -0
  75. package/devdocs/LSP6KeyManager.json +16 -0
  76. package/devdocs/LSP6KeyManagerInit.json +16 -0
  77. package/devdocs/LSP7CappedSupply.json +16 -10
  78. package/devdocs/LSP7CappedSupplyInitAbstract.json +16 -10
  79. package/devdocs/LSP7CompatibleERC20.json +16 -10
  80. package/devdocs/LSP7CompatibleERC20InitAbstract.json +16 -10
  81. package/devdocs/LSP7CompatibleERC20Mintable.json +16 -10
  82. package/devdocs/LSP7CompatibleERC20MintableInit.json +16 -10
  83. package/devdocs/LSP7DigitalAsset.json +16 -10
  84. package/devdocs/LSP7DigitalAssetInitAbstract.json +16 -10
  85. package/devdocs/LSP7Mintable.json +16 -10
  86. package/devdocs/LSP7MintableInit.json +16 -10
  87. package/devdocs/LSP8CappedSupply.json +9 -2
  88. package/devdocs/LSP8CappedSupplyInitAbstract.json +9 -2
  89. package/devdocs/LSP8CompatibleERC721.json +9 -2
  90. package/devdocs/LSP8CompatibleERC721InitAbstract.json +9 -2
  91. package/devdocs/LSP8CompatibleERC721Mintable.json +9 -2
  92. package/devdocs/LSP8CompatibleERC721MintableInit.json +9 -2
  93. package/devdocs/LSP8IdentifiableDigitalAsset.json +9 -2
  94. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +9 -2
  95. package/devdocs/LSP8Mintable.json +9 -2
  96. package/devdocs/LSP8MintableInit.json +9 -2
  97. package/devdocs/LSP9Vault.json +12 -6
  98. package/devdocs/LSP9VaultInit.json +12 -6
  99. package/devdocs/UniversalProfile.json +14 -8
  100. package/devdocs/UniversalProfileInit.json +14 -8
  101. package/dist/constants.cjs.js +1211 -454
  102. package/dist/constants.d.ts +1277 -374
  103. package/dist/constants.es.js +1211 -454
  104. package/package.json +1 -3
  105. package/userdocs/LSP0ERC725Account.json +3 -3
  106. package/userdocs/LSP0ERC725AccountInit.json +3 -3
  107. package/userdocs/LSP1UniversalReceiverDelegateUP.json +3 -0
  108. package/userdocs/LSP1UniversalReceiverDelegateVault.json +3 -0
  109. package/userdocs/LSP6KeyManager.json +3 -0
  110. package/userdocs/LSP6KeyManagerInit.json +3 -0
  111. package/userdocs/LSP7CappedSupply.json +3 -0
  112. package/userdocs/LSP7CappedSupplyInitAbstract.json +3 -0
  113. package/userdocs/LSP7CompatibleERC20.json +3 -0
  114. package/userdocs/LSP7CompatibleERC20InitAbstract.json +3 -0
  115. package/userdocs/LSP7CompatibleERC20Mintable.json +3 -0
  116. package/userdocs/LSP7CompatibleERC20MintableInit.json +3 -0
  117. package/userdocs/LSP7DigitalAsset.json +3 -0
  118. package/userdocs/LSP7DigitalAssetInitAbstract.json +3 -0
  119. package/userdocs/LSP7Mintable.json +3 -0
  120. package/userdocs/LSP7MintableInit.json +3 -0
  121. package/userdocs/LSP8CappedSupply.json +3 -0
  122. package/userdocs/LSP8CappedSupplyInitAbstract.json +3 -0
  123. package/userdocs/LSP8CompatibleERC721.json +3 -0
  124. package/userdocs/LSP8CompatibleERC721InitAbstract.json +3 -0
  125. package/userdocs/LSP8CompatibleERC721Mintable.json +3 -0
  126. package/userdocs/LSP8CompatibleERC721MintableInit.json +3 -0
  127. package/userdocs/LSP8IdentifiableDigitalAsset.json +3 -0
  128. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +3 -0
  129. package/userdocs/LSP8Mintable.json +3 -0
  130. package/userdocs/LSP8MintableInit.json +3 -0
  131. package/userdocs/LSP9Vault.json +3 -3
  132. package/userdocs/LSP9VaultInit.json +3 -3
  133. package/userdocs/UniversalProfile.json +3 -3
  134. package/userdocs/UniversalProfileInit.json +3 -3
  135. package/CONTRIBUTING.md +0 -188
@@ -304,16 +304,16 @@ const ErrorSelectors = {
304
304
  /**
305
305
  * error LSP20CallVerificationFailed(
306
306
  * bool postCall,
307
- * bytes returnedData
307
+ * bytes4 returnedStatus
308
308
  * )
309
309
  *
310
- * 0x00c28d0f = keccak256('LSP20CallVerificationFailed(bool,bytes)')
310
+ * 0x9d6741e3 = keccak256('LSP20CallVerificationFailed(bool,bytes4)')
311
311
  */
312
- "0x00c28d0f": {
313
- sig: "LSP20CallVerificationFailed(bool,bytes)",
312
+ "0x9d6741e3": {
313
+ sig: "LSP20CallVerificationFailed(bool,bytes4)",
314
314
  inputs: [
315
315
  { internalType: "bool", name: "postCall", type: "bool" },
316
- { internalType: "bytes", name: "returnedData", type: "bytes" }
316
+ { internalType: "bytes4", name: "returnedStatus", type: "bytes4" }
317
317
  ],
318
318
  name: "LSP20CallVerificationFailed",
319
319
  type: "error",
@@ -322,7 +322,7 @@ const ErrorSelectors = {
322
322
  details: "reverts when the call to the owner does not return the LSP20 success value",
323
323
  params: {
324
324
  postCall: "True if the execution call was done, False otherwise",
325
- returnedData: "The data returned by the call to the logic verifier"
325
+ returnedStatus: "The bytes4 decoded data returned by the logic verifier."
326
326
  }
327
327
  }
328
328
  ]
@@ -691,16 +691,16 @@ const ErrorSelectors = {
691
691
  /**
692
692
  * error LSP20CallVerificationFailed(
693
693
  * bool postCall,
694
- * bytes returnedData
694
+ * bytes4 returnedStatus
695
695
  * )
696
696
  *
697
- * 0x00c28d0f = keccak256('LSP20CallVerificationFailed(bool,bytes)')
697
+ * 0x9d6741e3 = keccak256('LSP20CallVerificationFailed(bool,bytes4)')
698
698
  */
699
- "0x00c28d0f": {
700
- sig: "LSP20CallVerificationFailed(bool,bytes)",
699
+ "0x9d6741e3": {
700
+ sig: "LSP20CallVerificationFailed(bool,bytes4)",
701
701
  inputs: [
702
702
  { internalType: "bool", name: "postCall", type: "bool" },
703
- { internalType: "bytes", name: "returnedData", type: "bytes" }
703
+ { internalType: "bytes4", name: "returnedStatus", type: "bytes4" }
704
704
  ],
705
705
  name: "LSP20CallVerificationFailed",
706
706
  type: "error",
@@ -709,7 +709,7 @@ const ErrorSelectors = {
709
709
  details: "reverts when the call to the owner does not return the LSP20 success value",
710
710
  params: {
711
711
  postCall: "True if the execution call was done, False otherwise",
712
- returnedData: "The data returned by the call to the logic verifier"
712
+ returnedStatus: "The bytes4 decoded data returned by the logic verifier."
713
713
  }
714
714
  }
715
715
  ]
@@ -1666,6 +1666,38 @@ const ErrorSelectors = {
1666
1666
  }
1667
1667
  ]
1668
1668
  },
1669
+ /**
1670
+ * error ERC725X_ExecuteParametersEmptyArray()
1671
+ *
1672
+ * 0xe9ad2b5f = keccak256('ERC725X_ExecuteParametersEmptyArray()')
1673
+ */
1674
+ "0xe9ad2b5f": {
1675
+ sig: "ERC725X_ExecuteParametersEmptyArray()",
1676
+ inputs: [],
1677
+ name: "ERC725X_ExecuteParametersEmptyArray",
1678
+ type: "error",
1679
+ devdoc: [
1680
+ {
1681
+ details: "Reverts when one of the array parameter provided to the {executeBatch} function is an empty array."
1682
+ }
1683
+ ]
1684
+ },
1685
+ /**
1686
+ * error ERC725X_ExecuteParametersLengthMismatch()
1687
+ *
1688
+ * 0x3ff55f4d = keccak256('ERC725X_ExecuteParametersLengthMismatch()')
1689
+ */
1690
+ "0x3ff55f4d": {
1691
+ sig: "ERC725X_ExecuteParametersLengthMismatch()",
1692
+ inputs: [],
1693
+ name: "ERC725X_ExecuteParametersLengthMismatch",
1694
+ type: "error",
1695
+ devdoc: [
1696
+ {
1697
+ details: "Reverts when there is not the same number of elements in the `operationTypes`, `targets` addresses, `values`, and `datas` array parameters provided when calling the {executeBatch} function."
1698
+ }
1699
+ ]
1700
+ },
1669
1701
  /**
1670
1702
  * error ERC725Y_DataKeysValuesLengthMismatch()
1671
1703
  *
@@ -2291,6 +2323,38 @@ const ErrorSelectors = {
2291
2323
  }
2292
2324
  ]
2293
2325
  },
2326
+ /**
2327
+ * error ERC725X_ExecuteParametersEmptyArray()
2328
+ *
2329
+ * 0xe9ad2b5f = keccak256('ERC725X_ExecuteParametersEmptyArray()')
2330
+ */
2331
+ "0xe9ad2b5f": {
2332
+ sig: "ERC725X_ExecuteParametersEmptyArray()",
2333
+ inputs: [],
2334
+ name: "ERC725X_ExecuteParametersEmptyArray",
2335
+ type: "error",
2336
+ devdoc: [
2337
+ {
2338
+ details: "Reverts when one of the array parameter provided to the {executeBatch} function is an empty array."
2339
+ }
2340
+ ]
2341
+ },
2342
+ /**
2343
+ * error ERC725X_ExecuteParametersLengthMismatch()
2344
+ *
2345
+ * 0x3ff55f4d = keccak256('ERC725X_ExecuteParametersLengthMismatch()')
2346
+ */
2347
+ "0x3ff55f4d": {
2348
+ sig: "ERC725X_ExecuteParametersLengthMismatch()",
2349
+ inputs: [],
2350
+ name: "ERC725X_ExecuteParametersLengthMismatch",
2351
+ type: "error",
2352
+ devdoc: [
2353
+ {
2354
+ details: "Reverts when there is not the same number of elements in the `operationTypes`, `targets` addresses, `values`, and `datas` array parameters provided when calling the {executeBatch} function."
2355
+ }
2356
+ ]
2357
+ },
2294
2358
  /**
2295
2359
  * error ERC725Y_DataKeysValuesLengthMismatch()
2296
2360
  *
@@ -3171,6 +3235,24 @@ const ErrorSelectors = {
3171
3235
  }
3172
3236
  ]
3173
3237
  },
3238
+ /**
3239
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
3240
+ * address operator
3241
+ * )
3242
+ *
3243
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
3244
+ */
3245
+ "0xcba6e977": {
3246
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
3247
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
3248
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
3249
+ type: "error",
3250
+ devdoc: [
3251
+ {
3252
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
3253
+ }
3254
+ ]
3255
+ },
3174
3256
  /**
3175
3257
  * error OwnableCallerNotTheOwner(
3176
3258
  * address callerAddress
@@ -3549,6 +3631,24 @@ const ErrorSelectors = {
3549
3631
  }
3550
3632
  ]
3551
3633
  },
3634
+ /**
3635
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
3636
+ * address operator
3637
+ * )
3638
+ *
3639
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
3640
+ */
3641
+ "0xcba6e977": {
3642
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
3643
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
3644
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
3645
+ type: "error",
3646
+ devdoc: [
3647
+ {
3648
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
3649
+ }
3650
+ ]
3651
+ },
3552
3652
  /**
3553
3653
  * error OwnableCallerNotTheOwner(
3554
3654
  * address callerAddress
@@ -3967,6 +4067,24 @@ const ErrorSelectors = {
3967
4067
  }
3968
4068
  ]
3969
4069
  },
4070
+ /**
4071
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
4072
+ * address operator
4073
+ * )
4074
+ *
4075
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
4076
+ */
4077
+ "0xcba6e977": {
4078
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
4079
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
4080
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
4081
+ type: "error",
4082
+ devdoc: [
4083
+ {
4084
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
4085
+ }
4086
+ ]
4087
+ },
3970
4088
  /**
3971
4089
  * error OwnableCallerNotTheOwner(
3972
4090
  * address callerAddress
@@ -4385,6 +4503,24 @@ const ErrorSelectors = {
4385
4503
  }
4386
4504
  ]
4387
4505
  },
4506
+ /**
4507
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
4508
+ * address operator
4509
+ * )
4510
+ *
4511
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
4512
+ */
4513
+ "0xcba6e977": {
4514
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
4515
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
4516
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
4517
+ type: "error",
4518
+ devdoc: [
4519
+ {
4520
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
4521
+ }
4522
+ ]
4523
+ },
4388
4524
  /**
4389
4525
  * error OwnableCallerNotTheOwner(
4390
4526
  * address callerAddress
@@ -4763,6 +4899,24 @@ const ErrorSelectors = {
4763
4899
  }
4764
4900
  ]
4765
4901
  },
4902
+ /**
4903
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
4904
+ * address operator
4905
+ * )
4906
+ *
4907
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
4908
+ */
4909
+ "0xcba6e977": {
4910
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
4911
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
4912
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
4913
+ type: "error",
4914
+ devdoc: [
4915
+ {
4916
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
4917
+ }
4918
+ ]
4919
+ },
4766
4920
  /**
4767
4921
  * error OwnableCallerNotTheOwner(
4768
4922
  * address callerAddress
@@ -5141,6 +5295,24 @@ const ErrorSelectors = {
5141
5295
  }
5142
5296
  ]
5143
5297
  },
5298
+ /**
5299
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
5300
+ * address operator
5301
+ * )
5302
+ *
5303
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
5304
+ */
5305
+ "0xcba6e977": {
5306
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
5307
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
5308
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
5309
+ type: "error",
5310
+ devdoc: [
5311
+ {
5312
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
5313
+ }
5314
+ ]
5315
+ },
5144
5316
  /**
5145
5317
  * error OwnableCallerNotTheOwner(
5146
5318
  * address callerAddress
@@ -5519,6 +5691,24 @@ const ErrorSelectors = {
5519
5691
  }
5520
5692
  ]
5521
5693
  },
5694
+ /**
5695
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
5696
+ * address operator
5697
+ * )
5698
+ *
5699
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
5700
+ */
5701
+ "0xcba6e977": {
5702
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
5703
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
5704
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
5705
+ type: "error",
5706
+ devdoc: [
5707
+ {
5708
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
5709
+ }
5710
+ ]
5711
+ },
5522
5712
  /**
5523
5713
  * error OwnableCallerNotTheOwner(
5524
5714
  * address callerAddress
@@ -5897,6 +6087,24 @@ const ErrorSelectors = {
5897
6087
  }
5898
6088
  ]
5899
6089
  },
6090
+ /**
6091
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
6092
+ * address operator
6093
+ * )
6094
+ *
6095
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
6096
+ */
6097
+ "0xcba6e977": {
6098
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
6099
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
6100
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
6101
+ type: "error",
6102
+ devdoc: [
6103
+ {
6104
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
6105
+ }
6106
+ ]
6107
+ },
5900
6108
  /**
5901
6109
  * error OwnableCallerNotTheOwner(
5902
6110
  * address callerAddress
@@ -6275,6 +6483,24 @@ const ErrorSelectors = {
6275
6483
  }
6276
6484
  ]
6277
6485
  },
6486
+ /**
6487
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
6488
+ * address operator
6489
+ * )
6490
+ *
6491
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
6492
+ */
6493
+ "0xcba6e977": {
6494
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
6495
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
6496
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
6497
+ type: "error",
6498
+ devdoc: [
6499
+ {
6500
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
6501
+ }
6502
+ ]
6503
+ },
6278
6504
  /**
6279
6505
  * error OwnableCallerNotTheOwner(
6280
6506
  * address callerAddress
@@ -6653,6 +6879,24 @@ const ErrorSelectors = {
6653
6879
  }
6654
6880
  ]
6655
6881
  },
6882
+ /**
6883
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
6884
+ * address operator
6885
+ * )
6886
+ *
6887
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
6888
+ */
6889
+ "0xcba6e977": {
6890
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
6891
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
6892
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
6893
+ type: "error",
6894
+ devdoc: [
6895
+ {
6896
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
6897
+ }
6898
+ ]
6899
+ },
6656
6900
  /**
6657
6901
  * error OwnableCallerNotTheOwner(
6658
6902
  * address callerAddress
@@ -12128,16 +12372,16 @@ const ErrorSelectors = {
12128
12372
  /**
12129
12373
  * error LSP20CallVerificationFailed(
12130
12374
  * bool postCall,
12131
- * bytes returnedData
12375
+ * bytes4 returnedStatus
12132
12376
  * )
12133
12377
  *
12134
- * 0x00c28d0f = keccak256('LSP20CallVerificationFailed(bool,bytes)')
12378
+ * 0x9d6741e3 = keccak256('LSP20CallVerificationFailed(bool,bytes4)')
12135
12379
  */
12136
- "0x00c28d0f": {
12137
- sig: "LSP20CallVerificationFailed(bool,bytes)",
12380
+ "0x9d6741e3": {
12381
+ sig: "LSP20CallVerificationFailed(bool,bytes4)",
12138
12382
  inputs: [
12139
12383
  { internalType: "bool", name: "postCall", type: "bool" },
12140
- { internalType: "bytes", name: "returnedData", type: "bytes" }
12384
+ { internalType: "bytes4", name: "returnedStatus", type: "bytes4" }
12141
12385
  ],
12142
12386
  name: "LSP20CallVerificationFailed",
12143
12387
  type: "error",
@@ -12146,7 +12390,7 @@ const ErrorSelectors = {
12146
12390
  details: "reverts when the call to the owner does not return the LSP20 success value",
12147
12391
  params: {
12148
12392
  postCall: "True if the execution call was done, False otherwise",
12149
- returnedData: "The data returned by the call to the logic verifier"
12393
+ returnedStatus: "The bytes4 decoded data returned by the logic verifier."
12150
12394
  }
12151
12395
  }
12152
12396
  ]
@@ -12515,16 +12759,16 @@ const ErrorSelectors = {
12515
12759
  /**
12516
12760
  * error LSP20CallVerificationFailed(
12517
12761
  * bool postCall,
12518
- * bytes returnedData
12762
+ * bytes4 returnedStatus
12519
12763
  * )
12520
12764
  *
12521
- * 0x00c28d0f = keccak256('LSP20CallVerificationFailed(bool,bytes)')
12765
+ * 0x9d6741e3 = keccak256('LSP20CallVerificationFailed(bool,bytes4)')
12522
12766
  */
12523
- "0x00c28d0f": {
12524
- sig: "LSP20CallVerificationFailed(bool,bytes)",
12767
+ "0x9d6741e3": {
12768
+ sig: "LSP20CallVerificationFailed(bool,bytes4)",
12525
12769
  inputs: [
12526
12770
  { internalType: "bool", name: "postCall", type: "bool" },
12527
- { internalType: "bytes", name: "returnedData", type: "bytes" }
12771
+ { internalType: "bytes4", name: "returnedStatus", type: "bytes4" }
12528
12772
  ],
12529
12773
  name: "LSP20CallVerificationFailed",
12530
12774
  type: "error",
@@ -12533,7 +12777,7 @@ const ErrorSelectors = {
12533
12777
  details: "reverts when the call to the owner does not return the LSP20 success value",
12534
12778
  params: {
12535
12779
  postCall: "True if the execution call was done, False otherwise",
12536
- returnedData: "The data returned by the call to the logic verifier"
12780
+ returnedStatus: "The bytes4 decoded data returned by the logic verifier."
12537
12781
  }
12538
12782
  }
12539
12783
  ]
@@ -12893,35 +13137,6 @@ const EventSigHashes = {
12893
13137
  userdoc: {
12894
13138
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
12895
13139
  }
12896
- },
12897
- /**
12898
- * event ValueReceived(
12899
- * address indexed sender,
12900
- * uint256 indexed value
12901
- * )
12902
- *
12903
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
12904
- */
12905
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
12906
- sig: "ValueReceived(address,uint256)",
12907
- anonymous: false,
12908
- inputs: [
12909
- {
12910
- indexed: true,
12911
- internalType: "address",
12912
- name: "sender",
12913
- type: "address"
12914
- },
12915
- {
12916
- indexed: true,
12917
- internalType: "uint256",
12918
- name: "value",
12919
- type: "uint256"
12920
- }
12921
- ],
12922
- name: "ValueReceived",
12923
- type: "event",
12924
- userdoc: { notice: "`value` native tokens received from `sender`." }
12925
13140
  }
12926
13141
  },
12927
13142
  LSP0ERC725AccountInit: {
@@ -13205,35 +13420,6 @@ const EventSigHashes = {
13205
13420
  userdoc: {
13206
13421
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
13207
13422
  }
13208
- },
13209
- /**
13210
- * event ValueReceived(
13211
- * address indexed sender,
13212
- * uint256 indexed value
13213
- * )
13214
- *
13215
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
13216
- */
13217
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
13218
- sig: "ValueReceived(address,uint256)",
13219
- anonymous: false,
13220
- inputs: [
13221
- {
13222
- indexed: true,
13223
- internalType: "address",
13224
- name: "sender",
13225
- type: "address"
13226
- },
13227
- {
13228
- indexed: true,
13229
- internalType: "uint256",
13230
- name: "value",
13231
- type: "uint256"
13232
- }
13233
- ],
13234
- name: "ValueReceived",
13235
- type: "event",
13236
- userdoc: { notice: "`value` native tokens received from `sender`." }
13237
13423
  }
13238
13424
  },
13239
13425
  LSP11BasicSocialRecovery: {
@@ -14247,13 +14433,14 @@ const EventSigHashes = {
14247
14433
  * event RevokedOperator(
14248
14434
  * address indexed operator,
14249
14435
  * address indexed tokenOwner,
14436
+ * bool notified,
14250
14437
  * bytes operatorNotificationData
14251
14438
  * )
14252
14439
  *
14253
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
14440
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
14254
14441
  */
14255
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
14256
- sig: "RevokedOperator(address,address,bytes)",
14442
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
14443
+ sig: "RevokedOperator(address,address,bool,bytes)",
14257
14444
  anonymous: false,
14258
14445
  inputs: [
14259
14446
  {
@@ -14268,6 +14455,12 @@ const EventSigHashes = {
14268
14455
  name: "tokenOwner",
14269
14456
  type: "address"
14270
14457
  },
14458
+ {
14459
+ indexed: false,
14460
+ internalType: "bool",
14461
+ name: "notified",
14462
+ type: "bool"
14463
+ },
14271
14464
  {
14272
14465
  indexed: false,
14273
14466
  internalType: "bytes",
@@ -14447,13 +14640,14 @@ const EventSigHashes = {
14447
14640
  * event RevokedOperator(
14448
14641
  * address indexed operator,
14449
14642
  * address indexed tokenOwner,
14643
+ * bool notified,
14450
14644
  * bytes operatorNotificationData
14451
14645
  * )
14452
14646
  *
14453
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
14647
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
14454
14648
  */
14455
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
14456
- sig: "RevokedOperator(address,address,bytes)",
14649
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
14650
+ sig: "RevokedOperator(address,address,bool,bytes)",
14457
14651
  anonymous: false,
14458
14652
  inputs: [
14459
14653
  {
@@ -14468,6 +14662,12 @@ const EventSigHashes = {
14468
14662
  name: "tokenOwner",
14469
14663
  type: "address"
14470
14664
  },
14665
+ {
14666
+ indexed: false,
14667
+ internalType: "bool",
14668
+ name: "notified",
14669
+ type: "bool"
14670
+ },
14471
14671
  {
14472
14672
  indexed: false,
14473
14673
  internalType: "bytes",
@@ -14626,13 +14826,14 @@ const EventSigHashes = {
14626
14826
  * event RevokedOperator(
14627
14827
  * address indexed operator,
14628
14828
  * address indexed tokenOwner,
14829
+ * bool notified,
14629
14830
  * bytes operatorNotificationData
14630
14831
  * )
14631
14832
  *
14632
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
14833
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
14633
14834
  */
14634
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
14635
- sig: "RevokedOperator(address,address,bytes)",
14835
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
14836
+ sig: "RevokedOperator(address,address,bool,bytes)",
14636
14837
  anonymous: false,
14637
14838
  inputs: [
14638
14839
  {
@@ -14647,6 +14848,12 @@ const EventSigHashes = {
14647
14848
  name: "tokenOwner",
14648
14849
  type: "address"
14649
14850
  },
14851
+ {
14852
+ indexed: false,
14853
+ internalType: "bool",
14854
+ name: "notified",
14855
+ type: "bool"
14856
+ },
14650
14857
  {
14651
14858
  indexed: false,
14652
14859
  internalType: "bytes",
@@ -14826,13 +15033,14 @@ const EventSigHashes = {
14826
15033
  * event RevokedOperator(
14827
15034
  * address indexed operator,
14828
15035
  * address indexed tokenOwner,
15036
+ * bool notified,
14829
15037
  * bytes operatorNotificationData
14830
15038
  * )
14831
15039
  *
14832
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
15040
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
14833
15041
  */
14834
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
14835
- sig: "RevokedOperator(address,address,bytes)",
15042
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
15043
+ sig: "RevokedOperator(address,address,bool,bytes)",
14836
15044
  anonymous: false,
14837
15045
  inputs: [
14838
15046
  {
@@ -14847,6 +15055,12 @@ const EventSigHashes = {
14847
15055
  name: "tokenOwner",
14848
15056
  type: "address"
14849
15057
  },
15058
+ {
15059
+ indexed: false,
15060
+ internalType: "bool",
15061
+ name: "notified",
15062
+ type: "bool"
15063
+ },
14850
15064
  {
14851
15065
  indexed: false,
14852
15066
  internalType: "bytes",
@@ -15040,13 +15254,14 @@ const EventSigHashes = {
15040
15254
  * event RevokedOperator(
15041
15255
  * address indexed operator,
15042
15256
  * address indexed tokenOwner,
15257
+ * bool notified,
15043
15258
  * bytes operatorNotificationData
15044
15259
  * )
15045
15260
  *
15046
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
15261
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
15047
15262
  */
15048
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
15049
- sig: "RevokedOperator(address,address,bytes)",
15263
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
15264
+ sig: "RevokedOperator(address,address,bool,bytes)",
15050
15265
  anonymous: false,
15051
15266
  inputs: [
15052
15267
  {
@@ -15061,6 +15276,12 @@ const EventSigHashes = {
15061
15276
  name: "tokenOwner",
15062
15277
  type: "address"
15063
15278
  },
15279
+ {
15280
+ indexed: false,
15281
+ internalType: "bool",
15282
+ name: "notified",
15283
+ type: "bool"
15284
+ },
15064
15285
  {
15065
15286
  indexed: false,
15066
15287
  internalType: "bytes",
@@ -15305,13 +15526,14 @@ const EventSigHashes = {
15305
15526
  * event RevokedOperator(
15306
15527
  * address indexed operator,
15307
15528
  * address indexed tokenOwner,
15529
+ * bool notified,
15308
15530
  * bytes operatorNotificationData
15309
15531
  * )
15310
15532
  *
15311
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
15533
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
15312
15534
  */
15313
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
15314
- sig: "RevokedOperator(address,address,bytes)",
15535
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
15536
+ sig: "RevokedOperator(address,address,bool,bytes)",
15315
15537
  anonymous: false,
15316
15538
  inputs: [
15317
15539
  {
@@ -15326,6 +15548,12 @@ const EventSigHashes = {
15326
15548
  name: "tokenOwner",
15327
15549
  type: "address"
15328
15550
  },
15551
+ {
15552
+ indexed: false,
15553
+ internalType: "bool",
15554
+ name: "notified",
15555
+ type: "bool"
15556
+ },
15329
15557
  {
15330
15558
  indexed: false,
15331
15559
  internalType: "bytes",
@@ -15549,13 +15777,14 @@ const EventSigHashes = {
15549
15777
  * event RevokedOperator(
15550
15778
  * address indexed operator,
15551
15779
  * address indexed tokenOwner,
15780
+ * bool notified,
15552
15781
  * bytes operatorNotificationData
15553
15782
  * )
15554
15783
  *
15555
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
15784
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
15556
15785
  */
15557
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
15558
- sig: "RevokedOperator(address,address,bytes)",
15786
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
15787
+ sig: "RevokedOperator(address,address,bool,bytes)",
15559
15788
  anonymous: false,
15560
15789
  inputs: [
15561
15790
  {
@@ -15570,6 +15799,12 @@ const EventSigHashes = {
15570
15799
  name: "tokenOwner",
15571
15800
  type: "address"
15572
15801
  },
15802
+ {
15803
+ indexed: false,
15804
+ internalType: "bool",
15805
+ name: "notified",
15806
+ type: "bool"
15807
+ },
15573
15808
  {
15574
15809
  indexed: false,
15575
15810
  internalType: "bytes",
@@ -15814,13 +16049,14 @@ const EventSigHashes = {
15814
16049
  * event RevokedOperator(
15815
16050
  * address indexed operator,
15816
16051
  * address indexed tokenOwner,
16052
+ * bool notified,
15817
16053
  * bytes operatorNotificationData
15818
16054
  * )
15819
16055
  *
15820
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
16056
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
15821
16057
  */
15822
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
15823
- sig: "RevokedOperator(address,address,bytes)",
16058
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
16059
+ sig: "RevokedOperator(address,address,bool,bytes)",
15824
16060
  anonymous: false,
15825
16061
  inputs: [
15826
16062
  {
@@ -15835,6 +16071,12 @@ const EventSigHashes = {
15835
16071
  name: "tokenOwner",
15836
16072
  type: "address"
15837
16073
  },
16074
+ {
16075
+ indexed: false,
16076
+ internalType: "bool",
16077
+ name: "notified",
16078
+ type: "bool"
16079
+ },
15838
16080
  {
15839
16081
  indexed: false,
15840
16082
  internalType: "bytes",
@@ -16023,13 +16265,14 @@ const EventSigHashes = {
16023
16265
  * event RevokedOperator(
16024
16266
  * address indexed operator,
16025
16267
  * address indexed tokenOwner,
16268
+ * bool notified,
16026
16269
  * bytes operatorNotificationData
16027
16270
  * )
16028
16271
  *
16029
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
16272
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
16030
16273
  */
16031
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
16032
- sig: "RevokedOperator(address,address,bytes)",
16274
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
16275
+ sig: "RevokedOperator(address,address,bool,bytes)",
16033
16276
  anonymous: false,
16034
16277
  inputs: [
16035
16278
  {
@@ -16044,6 +16287,12 @@ const EventSigHashes = {
16044
16287
  name: "tokenOwner",
16045
16288
  type: "address"
16046
16289
  },
16290
+ {
16291
+ indexed: false,
16292
+ internalType: "bool",
16293
+ name: "notified",
16294
+ type: "bool"
16295
+ },
16047
16296
  {
16048
16297
  indexed: false,
16049
16298
  internalType: "bytes",
@@ -16223,13 +16472,14 @@ const EventSigHashes = {
16223
16472
  * event RevokedOperator(
16224
16473
  * address indexed operator,
16225
16474
  * address indexed tokenOwner,
16475
+ * bool notified,
16226
16476
  * bytes operatorNotificationData
16227
16477
  * )
16228
16478
  *
16229
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
16479
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
16230
16480
  */
16231
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
16232
- sig: "RevokedOperator(address,address,bytes)",
16481
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
16482
+ sig: "RevokedOperator(address,address,bool,bytes)",
16233
16483
  anonymous: false,
16234
16484
  inputs: [
16235
16485
  {
@@ -16244,6 +16494,12 @@ const EventSigHashes = {
16244
16494
  name: "tokenOwner",
16245
16495
  type: "address"
16246
16496
  },
16497
+ {
16498
+ indexed: false,
16499
+ internalType: "bool",
16500
+ name: "notified",
16501
+ type: "bool"
16502
+ },
16247
16503
  {
16248
16504
  indexed: false,
16249
16505
  internalType: "bytes",
@@ -16403,13 +16659,14 @@ const EventSigHashes = {
16403
16659
  * address indexed operator,
16404
16660
  * address indexed tokenOwner,
16405
16661
  * bytes32 indexed tokenId,
16662
+ * bool notified,
16406
16663
  * bytes operatorNotificationData
16407
16664
  * )
16408
16665
  *
16409
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
16666
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
16410
16667
  */
16411
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
16412
- sig: "RevokedOperator(address,address,bytes32,bytes)",
16668
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
16669
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
16413
16670
  anonymous: false,
16414
16671
  inputs: [
16415
16672
  {
@@ -16430,6 +16687,12 @@ const EventSigHashes = {
16430
16687
  name: "tokenId",
16431
16688
  type: "bytes32"
16432
16689
  },
16690
+ {
16691
+ indexed: false,
16692
+ internalType: "bool",
16693
+ name: "notified",
16694
+ type: "bool"
16695
+ },
16433
16696
  {
16434
16697
  indexed: false,
16435
16698
  internalType: "bytes",
@@ -16610,13 +16873,14 @@ const EventSigHashes = {
16610
16873
  * address indexed operator,
16611
16874
  * address indexed tokenOwner,
16612
16875
  * bytes32 indexed tokenId,
16876
+ * bool notified,
16613
16877
  * bytes operatorNotificationData
16614
16878
  * )
16615
16879
  *
16616
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
16880
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
16617
16881
  */
16618
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
16619
- sig: "RevokedOperator(address,address,bytes32,bytes)",
16882
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
16883
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
16620
16884
  anonymous: false,
16621
16885
  inputs: [
16622
16886
  {
@@ -16637,6 +16901,12 @@ const EventSigHashes = {
16637
16901
  name: "tokenId",
16638
16902
  type: "bytes32"
16639
16903
  },
16904
+ {
16905
+ indexed: false,
16906
+ internalType: "bool",
16907
+ name: "notified",
16908
+ type: "bool"
16909
+ },
16640
16910
  {
16641
16911
  indexed: false,
16642
16912
  internalType: "bytes",
@@ -16796,13 +17066,14 @@ const EventSigHashes = {
16796
17066
  * address indexed operator,
16797
17067
  * address indexed tokenOwner,
16798
17068
  * bytes32 indexed tokenId,
17069
+ * bool notified,
16799
17070
  * bytes operatorNotificationData
16800
17071
  * )
16801
17072
  *
16802
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
17073
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
16803
17074
  */
16804
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
16805
- sig: "RevokedOperator(address,address,bytes32,bytes)",
17075
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
17076
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
16806
17077
  anonymous: false,
16807
17078
  inputs: [
16808
17079
  {
@@ -16823,6 +17094,12 @@ const EventSigHashes = {
16823
17094
  name: "tokenId",
16824
17095
  type: "bytes32"
16825
17096
  },
17097
+ {
17098
+ indexed: false,
17099
+ internalType: "bool",
17100
+ name: "notified",
17101
+ type: "bool"
17102
+ },
16826
17103
  {
16827
17104
  indexed: false,
16828
17105
  internalType: "bytes",
@@ -17003,13 +17280,14 @@ const EventSigHashes = {
17003
17280
  * address indexed operator,
17004
17281
  * address indexed tokenOwner,
17005
17282
  * bytes32 indexed tokenId,
17283
+ * bool notified,
17006
17284
  * bytes operatorNotificationData
17007
17285
  * )
17008
17286
  *
17009
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
17287
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
17010
17288
  */
17011
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
17012
- sig: "RevokedOperator(address,address,bytes32,bytes)",
17289
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
17290
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
17013
17291
  anonymous: false,
17014
17292
  inputs: [
17015
17293
  {
@@ -17030,6 +17308,12 @@ const EventSigHashes = {
17030
17308
  name: "tokenId",
17031
17309
  type: "bytes32"
17032
17310
  },
17311
+ {
17312
+ indexed: false,
17313
+ internalType: "bool",
17314
+ name: "notified",
17315
+ type: "bool"
17316
+ },
17033
17317
  {
17034
17318
  indexed: false,
17035
17319
  internalType: "bytes",
@@ -17259,13 +17543,14 @@ const EventSigHashes = {
17259
17543
  * address indexed operator,
17260
17544
  * address indexed tokenOwner,
17261
17545
  * bytes32 indexed tokenId,
17546
+ * bool notified,
17262
17547
  * bytes operatorNotificationData
17263
17548
  * )
17264
17549
  *
17265
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
17550
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
17266
17551
  */
17267
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
17268
- sig: "RevokedOperator(address,address,bytes32,bytes)",
17552
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
17553
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
17269
17554
  anonymous: false,
17270
17555
  inputs: [
17271
17556
  {
@@ -17286,6 +17571,12 @@ const EventSigHashes = {
17286
17571
  name: "tokenId",
17287
17572
  type: "bytes32"
17288
17573
  },
17574
+ {
17575
+ indexed: false,
17576
+ internalType: "bool",
17577
+ name: "notified",
17578
+ type: "bool"
17579
+ },
17289
17580
  {
17290
17581
  indexed: false,
17291
17582
  internalType: "bytes",
@@ -17566,13 +17857,14 @@ const EventSigHashes = {
17566
17857
  * address indexed operator,
17567
17858
  * address indexed tokenOwner,
17568
17859
  * bytes32 indexed tokenId,
17860
+ * bool notified,
17569
17861
  * bytes operatorNotificationData
17570
17862
  * )
17571
17863
  *
17572
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
17864
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
17573
17865
  */
17574
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
17575
- sig: "RevokedOperator(address,address,bytes32,bytes)",
17866
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
17867
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
17576
17868
  anonymous: false,
17577
17869
  inputs: [
17578
17870
  {
@@ -17593,6 +17885,12 @@ const EventSigHashes = {
17593
17885
  name: "tokenId",
17594
17886
  type: "bytes32"
17595
17887
  },
17888
+ {
17889
+ indexed: false,
17890
+ internalType: "bool",
17891
+ name: "notified",
17892
+ type: "bool"
17893
+ },
17596
17894
  {
17597
17895
  indexed: false,
17598
17896
  internalType: "bytes",
@@ -17852,13 +18150,14 @@ const EventSigHashes = {
17852
18150
  * address indexed operator,
17853
18151
  * address indexed tokenOwner,
17854
18152
  * bytes32 indexed tokenId,
18153
+ * bool notified,
17855
18154
  * bytes operatorNotificationData
17856
18155
  * )
17857
18156
  *
17858
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
18157
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
17859
18158
  */
17860
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
17861
- sig: "RevokedOperator(address,address,bytes32,bytes)",
18159
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
18160
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
17862
18161
  anonymous: false,
17863
18162
  inputs: [
17864
18163
  {
@@ -17879,6 +18178,12 @@ const EventSigHashes = {
17879
18178
  name: "tokenId",
17880
18179
  type: "bytes32"
17881
18180
  },
18181
+ {
18182
+ indexed: false,
18183
+ internalType: "bool",
18184
+ name: "notified",
18185
+ type: "bool"
18186
+ },
17882
18187
  {
17883
18188
  indexed: false,
17884
18189
  internalType: "bytes",
@@ -18159,13 +18464,14 @@ const EventSigHashes = {
18159
18464
  * address indexed operator,
18160
18465
  * address indexed tokenOwner,
18161
18466
  * bytes32 indexed tokenId,
18467
+ * bool notified,
18162
18468
  * bytes operatorNotificationData
18163
18469
  * )
18164
18470
  *
18165
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
18471
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
18166
18472
  */
18167
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
18168
- sig: "RevokedOperator(address,address,bytes32,bytes)",
18473
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
18474
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
18169
18475
  anonymous: false,
18170
18476
  inputs: [
18171
18477
  {
@@ -18186,6 +18492,12 @@ const EventSigHashes = {
18186
18492
  name: "tokenId",
18187
18493
  type: "bytes32"
18188
18494
  },
18495
+ {
18496
+ indexed: false,
18497
+ internalType: "bool",
18498
+ name: "notified",
18499
+ type: "bool"
18500
+ },
18189
18501
  {
18190
18502
  indexed: false,
18191
18503
  internalType: "bytes",
@@ -18375,13 +18687,14 @@ const EventSigHashes = {
18375
18687
  * address indexed operator,
18376
18688
  * address indexed tokenOwner,
18377
18689
  * bytes32 indexed tokenId,
18690
+ * bool notified,
18378
18691
  * bytes operatorNotificationData
18379
18692
  * )
18380
18693
  *
18381
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
18694
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
18382
18695
  */
18383
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
18384
- sig: "RevokedOperator(address,address,bytes32,bytes)",
18696
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
18697
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
18385
18698
  anonymous: false,
18386
18699
  inputs: [
18387
18700
  {
@@ -18402,6 +18715,12 @@ const EventSigHashes = {
18402
18715
  name: "tokenId",
18403
18716
  type: "bytes32"
18404
18717
  },
18718
+ {
18719
+ indexed: false,
18720
+ internalType: "bool",
18721
+ name: "notified",
18722
+ type: "bool"
18723
+ },
18405
18724
  {
18406
18725
  indexed: false,
18407
18726
  internalType: "bytes",
@@ -18582,13 +18901,14 @@ const EventSigHashes = {
18582
18901
  * address indexed operator,
18583
18902
  * address indexed tokenOwner,
18584
18903
  * bytes32 indexed tokenId,
18904
+ * bool notified,
18585
18905
  * bytes operatorNotificationData
18586
18906
  * )
18587
18907
  *
18588
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
18908
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
18589
18909
  */
18590
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
18591
- sig: "RevokedOperator(address,address,bytes32,bytes)",
18910
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
18911
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
18592
18912
  anonymous: false,
18593
18913
  inputs: [
18594
18914
  {
@@ -18609,6 +18929,12 @@ const EventSigHashes = {
18609
18929
  name: "tokenId",
18610
18930
  type: "bytes32"
18611
18931
  },
18932
+ {
18933
+ indexed: false,
18934
+ internalType: "bool",
18935
+ name: "notified",
18936
+ type: "bool"
18937
+ },
18612
18938
  {
18613
18939
  indexed: false,
18614
18940
  internalType: "bytes",
@@ -18921,35 +19247,6 @@ const EventSigHashes = {
18921
19247
  userdoc: {
18922
19248
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
18923
19249
  }
18924
- },
18925
- /**
18926
- * event ValueReceived(
18927
- * address indexed sender,
18928
- * uint256 indexed value
18929
- * )
18930
- *
18931
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
18932
- */
18933
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
18934
- sig: "ValueReceived(address,uint256)",
18935
- anonymous: false,
18936
- inputs: [
18937
- {
18938
- indexed: true,
18939
- internalType: "address",
18940
- name: "sender",
18941
- type: "address"
18942
- },
18943
- {
18944
- indexed: true,
18945
- internalType: "uint256",
18946
- name: "value",
18947
- type: "uint256"
18948
- }
18949
- ],
18950
- name: "ValueReceived",
18951
- type: "event",
18952
- userdoc: { notice: "`value` native tokens received from `sender`." }
18953
19250
  }
18954
19251
  },
18955
19252
  LSP9VaultInit: {
@@ -19233,35 +19530,6 @@ const EventSigHashes = {
19233
19530
  userdoc: {
19234
19531
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
19235
19532
  }
19236
- },
19237
- /**
19238
- * event ValueReceived(
19239
- * address indexed sender,
19240
- * uint256 indexed value
19241
- * )
19242
- *
19243
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
19244
- */
19245
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
19246
- sig: "ValueReceived(address,uint256)",
19247
- anonymous: false,
19248
- inputs: [
19249
- {
19250
- indexed: true,
19251
- internalType: "address",
19252
- name: "sender",
19253
- type: "address"
19254
- },
19255
- {
19256
- indexed: true,
19257
- internalType: "uint256",
19258
- name: "value",
19259
- type: "uint256"
19260
- }
19261
- ],
19262
- name: "ValueReceived",
19263
- type: "event",
19264
- userdoc: { notice: "`value` native tokens received from `sender`." }
19265
19533
  }
19266
19534
  },
19267
19535
  UniversalProfile: {
@@ -19524,35 +19792,6 @@ const EventSigHashes = {
19524
19792
  userdoc: {
19525
19793
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
19526
19794
  }
19527
- },
19528
- /**
19529
- * event ValueReceived(
19530
- * address indexed sender,
19531
- * uint256 indexed value
19532
- * )
19533
- *
19534
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
19535
- */
19536
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
19537
- sig: "ValueReceived(address,uint256)",
19538
- anonymous: false,
19539
- inputs: [
19540
- {
19541
- indexed: true,
19542
- internalType: "address",
19543
- name: "sender",
19544
- type: "address"
19545
- },
19546
- {
19547
- indexed: true,
19548
- internalType: "uint256",
19549
- name: "value",
19550
- type: "uint256"
19551
- }
19552
- ],
19553
- name: "ValueReceived",
19554
- type: "event",
19555
- userdoc: { notice: "`value` native tokens received from `sender`." }
19556
19795
  }
19557
19796
  },
19558
19797
  UniversalProfileInit: {
@@ -19836,35 +20075,6 @@ const EventSigHashes = {
19836
20075
  userdoc: {
19837
20076
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
19838
20077
  }
19839
- },
19840
- /**
19841
- * event ValueReceived(
19842
- * address indexed sender,
19843
- * uint256 indexed value
19844
- * )
19845
- *
19846
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
19847
- */
19848
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
19849
- sig: "ValueReceived(address,uint256)",
19850
- anonymous: false,
19851
- inputs: [
19852
- {
19853
- indexed: true,
19854
- internalType: "address",
19855
- name: "sender",
19856
- type: "address"
19857
- },
19858
- {
19859
- indexed: true,
19860
- internalType: "uint256",
19861
- name: "value",
19862
- type: "uint256"
19863
- }
19864
- ],
19865
- name: "ValueReceived",
19866
- type: "event",
19867
- userdoc: { notice: "`value` native tokens received from `sender`." }
19868
20078
  }
19869
20079
  }
19870
20080
  };
@@ -20037,7 +20247,7 @@ const FunctionSelectors = {
20037
20247
  stateMutability: "payable",
20038
20248
  type: "function",
20039
20249
  devdoc: {
20040
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {ValueReceived} event when receiving native tokens.",
20250
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {UniversalReceiver} event when receiving native tokens.",
20041
20251
  "custom:requirements": "- Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3) or `DELEGATECALL` (4), `value` transfer is disallowed and must be 0.",
20042
20252
  details: "Generic executor function to: - send native tokens to any address. - interact with any contract by passing an abi-encoded function call in the `data` parameter. - deploy a contract by providing its creation bytecode in the `data` parameter.",
20043
20253
  params: {
@@ -20078,7 +20288,7 @@ const FunctionSelectors = {
20078
20288
  stateMutability: "payable",
20079
20289
  type: "function",
20080
20290
  devdoc: {
20081
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2) (each iteration) - {ValueReceived} event when receiving native tokens.",
20291
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2) (each iteration) - {UniversalReceiver} event when receiving native tokens.",
20082
20292
  "custom:requirements": "- The length of the parameters provided must be equal. - Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3) or `DELEGATECALL` (4), `value` transfer is disallowed and must be 0.",
20083
20293
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
20084
20294
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -20250,7 +20460,7 @@ const FunctionSelectors = {
20250
20460
  stateMutability: "payable",
20251
20461
  type: "function",
20252
20462
  devdoc: {
20253
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
20463
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
20254
20464
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20255
20465
  details: "Sets a single bytes value `dataValue` in the ERC725Y storage for a specific data key `dataKey`. The function is marked as payable to enable flexibility on child contracts. For instance to implement a fee mechanism for setting specific data.",
20256
20466
  params: {
@@ -20281,7 +20491,7 @@ const FunctionSelectors = {
20281
20491
  stateMutability: "payable",
20282
20492
  type: "function",
20283
20493
  devdoc: {
20284
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20494
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20285
20495
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20286
20496
  details: "Batch data setting function that behaves the same as {setData} but allowing to set multiple data key/value pairs in the ERC725Y storage in the same transaction.",
20287
20497
  params: {
@@ -20364,7 +20574,7 @@ const FunctionSelectors = {
20364
20574
  stateMutability: "payable",
20365
20575
  type: "function",
20366
20576
  devdoc: {
20367
- "custom:events": "- {ValueReceived} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
20577
+ "custom:events": "- {UniversalReceiver} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
20368
20578
  details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
20369
20579
  params: {
20370
20580
  receivedData: "The data received.",
@@ -20377,6 +20587,24 @@ const FunctionSelectors = {
20377
20587
  userdoc: {
20378
20588
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
20379
20589
  }
20590
+ },
20591
+ /**
20592
+ * function version()
20593
+ *
20594
+ * 0x54fd4d50 = keccak256('version()')
20595
+ */
20596
+ "0x54fd4d50": {
20597
+ sig: "version()",
20598
+ inputs: [],
20599
+ name: "version",
20600
+ outputs: [{ internalType: "string", name: "", type: "string" }],
20601
+ stateMutability: "view",
20602
+ type: "function",
20603
+ devdoc: {
20604
+ details: "Get the version of the contract.",
20605
+ returns: { _0: "The version of the the contract." }
20606
+ },
20607
+ userdoc: { notice: "Contract version." }
20380
20608
  }
20381
20609
  },
20382
20610
  LSP0ERC725AccountInit: {
@@ -20477,7 +20705,7 @@ const FunctionSelectors = {
20477
20705
  stateMutability: "payable",
20478
20706
  type: "function",
20479
20707
  devdoc: {
20480
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {ValueReceived} event when receiving native tokens.",
20708
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {UniversalReceiver} event when receiving native tokens.",
20481
20709
  "custom:requirements": "- Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3) or `DELEGATECALL` (4), `value` transfer is disallowed and must be 0.",
20482
20710
  details: "Generic executor function to: - send native tokens to any address. - interact with any contract by passing an abi-encoded function call in the `data` parameter. - deploy a contract by providing its creation bytecode in the `data` parameter.",
20483
20711
  params: {
@@ -20518,7 +20746,7 @@ const FunctionSelectors = {
20518
20746
  stateMutability: "payable",
20519
20747
  type: "function",
20520
20748
  devdoc: {
20521
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2) (each iteration) - {ValueReceived} event when receiving native tokens.",
20749
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2) (each iteration) - {UniversalReceiver} event when receiving native tokens.",
20522
20750
  "custom:requirements": "- The length of the parameters provided must be equal. - Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3) or `DELEGATECALL` (4), `value` transfer is disallowed and must be 0.",
20523
20751
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
20524
20752
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -20602,7 +20830,7 @@ const FunctionSelectors = {
20602
20830
  stateMutability: "payable",
20603
20831
  type: "function",
20604
20832
  devdoc: {
20605
- "custom:events": "- {ValueReceived} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
20833
+ "custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
20606
20834
  details: "Set `initialOwner` as the contract owner. The `initialize(address)` also allows funding the contract on deployment.",
20607
20835
  params: { initialOwner: "The owner of the contract." }
20608
20836
  },
@@ -20715,7 +20943,7 @@ const FunctionSelectors = {
20715
20943
  stateMutability: "payable",
20716
20944
  type: "function",
20717
20945
  devdoc: {
20718
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
20946
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
20719
20947
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20720
20948
  details: "Sets a single bytes value `dataValue` in the ERC725Y storage for a specific data key `dataKey`. The function is marked as payable to enable flexibility on child contracts. For instance to implement a fee mechanism for setting specific data.",
20721
20949
  params: {
@@ -20746,7 +20974,7 @@ const FunctionSelectors = {
20746
20974
  stateMutability: "payable",
20747
20975
  type: "function",
20748
20976
  devdoc: {
20749
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20977
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20750
20978
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20751
20979
  details: "Batch data setting function that behaves the same as {setData} but allowing to set multiple data key/value pairs in the ERC725Y storage in the same transaction.",
20752
20980
  params: {
@@ -20829,7 +21057,7 @@ const FunctionSelectors = {
20829
21057
  stateMutability: "payable",
20830
21058
  type: "function",
20831
21059
  devdoc: {
20832
- "custom:events": "- {ValueReceived} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
21060
+ "custom:events": "- {UniversalReceiver} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
20833
21061
  details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
20834
21062
  params: {
20835
21063
  receivedData: "The data received.",
@@ -20842,6 +21070,24 @@ const FunctionSelectors = {
20842
21070
  userdoc: {
20843
21071
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
20844
21072
  }
21073
+ },
21074
+ /**
21075
+ * function version()
21076
+ *
21077
+ * 0x54fd4d50 = keccak256('version()')
21078
+ */
21079
+ "0x54fd4d50": {
21080
+ sig: "version()",
21081
+ inputs: [],
21082
+ name: "version",
21083
+ outputs: [{ internalType: "string", name: "", type: "string" }],
21084
+ stateMutability: "view",
21085
+ type: "function",
21086
+ devdoc: {
21087
+ details: "Get the version of the contract.",
21088
+ returns: { _0: "The version of the the contract." }
21089
+ },
21090
+ userdoc: { notice: "Contract version." }
20845
21091
  }
20846
21092
  },
20847
21093
  LSP11BasicSocialRecovery: {
@@ -21828,6 +22074,24 @@ const FunctionSelectors = {
21828
22074
  returns: { _0: "The result of the reaction for `typeId`." }
21829
22075
  },
21830
22076
  userdoc: { notice: "Reacted on received notification with `typeId`." }
22077
+ },
22078
+ /**
22079
+ * function version()
22080
+ *
22081
+ * 0x54fd4d50 = keccak256('version()')
22082
+ */
22083
+ "0x54fd4d50": {
22084
+ sig: "version()",
22085
+ inputs: [],
22086
+ name: "version",
22087
+ outputs: [{ internalType: "string", name: "", type: "string" }],
22088
+ stateMutability: "view",
22089
+ type: "function",
22090
+ devdoc: {
22091
+ details: "Get the version of the contract.",
22092
+ returns: { _0: "The version of the the contract." }
22093
+ },
22094
+ userdoc: { notice: "Contract version." }
21831
22095
  }
21832
22096
  },
21833
22097
  LSP1UniversalReceiverDelegateVault: {
@@ -21877,6 +22141,24 @@ const FunctionSelectors = {
21877
22141
  returns: { _0: "The result of the reaction for `typeId`." }
21878
22142
  },
21879
22143
  userdoc: { notice: "Reacted on received notification with `typeId`." }
22144
+ },
22145
+ /**
22146
+ * function version()
22147
+ *
22148
+ * 0x54fd4d50 = keccak256('version()')
22149
+ */
22150
+ "0x54fd4d50": {
22151
+ sig: "version()",
22152
+ inputs: [],
22153
+ name: "version",
22154
+ outputs: [{ internalType: "string", name: "", type: "string" }],
22155
+ stateMutability: "view",
22156
+ type: "function",
22157
+ devdoc: {
22158
+ details: "Get the version of the contract.",
22159
+ returns: { _0: "The version of the the contract." }
22160
+ },
22161
+ userdoc: { notice: "Contract version." }
21880
22162
  }
21881
22163
  },
21882
22164
  LSP23LinkedContractsFactory: {
@@ -22925,6 +23207,24 @@ const FunctionSelectors = {
22925
23207
  details: "Get The address of the contract linked to this Key Manager.",
22926
23208
  returns: { _0: "The address of the linked contract" }
22927
23209
  }
23210
+ },
23211
+ /**
23212
+ * function version()
23213
+ *
23214
+ * 0x54fd4d50 = keccak256('version()')
23215
+ */
23216
+ "0x54fd4d50": {
23217
+ sig: "version()",
23218
+ inputs: [],
23219
+ name: "version",
23220
+ outputs: [{ internalType: "string", name: "", type: "string" }],
23221
+ stateMutability: "view",
23222
+ type: "function",
23223
+ devdoc: {
23224
+ details: "Get the version of the contract.",
23225
+ returns: { _0: "The version of the the contract." }
23226
+ },
23227
+ userdoc: { notice: "Contract version." }
22928
23228
  }
22929
23229
  },
22930
23230
  LSP6KeyManagerInit: {
@@ -23261,6 +23561,24 @@ const FunctionSelectors = {
23261
23561
  details: "Get The address of the contract linked to this Key Manager.",
23262
23562
  returns: { _0: "The address of the linked contract" }
23263
23563
  }
23564
+ },
23565
+ /**
23566
+ * function version()
23567
+ *
23568
+ * 0x54fd4d50 = keccak256('version()')
23569
+ */
23570
+ "0x54fd4d50": {
23571
+ sig: "version()",
23572
+ inputs: [],
23573
+ name: "version",
23574
+ outputs: [{ internalType: "string", name: "", type: "string" }],
23575
+ stateMutability: "view",
23576
+ type: "function",
23577
+ devdoc: {
23578
+ details: "Get the version of the contract.",
23579
+ returns: { _0: "The version of the the contract." }
23580
+ },
23581
+ userdoc: { notice: "Contract version." }
23264
23582
  }
23265
23583
  },
23266
23584
  LSP7DigitalAsset: {
@@ -23290,7 +23608,7 @@ const FunctionSelectors = {
23290
23608
  type: "function",
23291
23609
  devdoc: {
23292
23610
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
23293
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
23611
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
23294
23612
  params: {
23295
23613
  amount: "The allowance amount of tokens operator has access to.",
23296
23614
  operator: "The address to authorize as an operator.",
@@ -23395,10 +23713,7 @@ const FunctionSelectors = {
23395
23713
  stateMutability: "nonpayable",
23396
23714
  type: "function",
23397
23715
  devdoc: {
23398
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
23399
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
23400
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
23401
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
23716
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
23402
23717
  params: {
23403
23718
  operator: "The operator to decrease allowance for `msg.sender`",
23404
23719
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -23509,10 +23824,7 @@ const FunctionSelectors = {
23509
23824
  stateMutability: "nonpayable",
23510
23825
  type: "function",
23511
23826
  devdoc: {
23512
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
23513
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
23514
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
23515
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
23827
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
23516
23828
  params: {
23517
23829
  addedAmount: "The additional amount to add on top of the current operator's allowance",
23518
23830
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -23555,15 +23867,17 @@ const FunctionSelectors = {
23555
23867
  /**
23556
23868
  * function revokeOperator(
23557
23869
  * address operator,
23870
+ * bool notify,
23558
23871
  * bytes operatorNotificationData
23559
23872
  * )
23560
23873
  *
23561
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
23874
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
23562
23875
  */
23563
- "0xca3631e7": {
23564
- sig: "revokeOperator(address,bytes)",
23876
+ "0x4521748e": {
23877
+ sig: "revokeOperator(address,bool,bytes)",
23565
23878
  inputs: [
23566
23879
  { internalType: "address", name: "operator", type: "address" },
23880
+ { internalType: "bool", name: "notify", type: "bool" },
23567
23881
  {
23568
23882
  internalType: "bytes",
23569
23883
  name: "operatorNotificationData",
@@ -23577,6 +23891,7 @@ const FunctionSelectors = {
23577
23891
  devdoc: {
23578
23892
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
23579
23893
  params: {
23894
+ notify: "Boolean indicating whether to notify the operator or not.",
23580
23895
  operator: "The address to revoke as an operator.",
23581
23896
  operatorNotificationData: "The data to notify the operator about via LSP1."
23582
23897
  }
@@ -23768,6 +24083,24 @@ const FunctionSelectors = {
23768
24083
  devdoc: {
23769
24084
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
23770
24085
  }
24086
+ },
24087
+ /**
24088
+ * function version()
24089
+ *
24090
+ * 0x54fd4d50 = keccak256('version()')
24091
+ */
24092
+ "0x54fd4d50": {
24093
+ sig: "version()",
24094
+ inputs: [],
24095
+ name: "version",
24096
+ outputs: [{ internalType: "string", name: "", type: "string" }],
24097
+ stateMutability: "view",
24098
+ type: "function",
24099
+ devdoc: {
24100
+ details: "Get the version of the contract.",
24101
+ returns: { _0: "The version of the the contract." }
24102
+ },
24103
+ userdoc: { notice: "Contract version." }
23771
24104
  }
23772
24105
  },
23773
24106
  LSP7DigitalAssetInitAbstract: {
@@ -23797,7 +24130,7 @@ const FunctionSelectors = {
23797
24130
  type: "function",
23798
24131
  devdoc: {
23799
24132
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
23800
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
24133
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
23801
24134
  params: {
23802
24135
  amount: "The allowance amount of tokens operator has access to.",
23803
24136
  operator: "The address to authorize as an operator.",
@@ -23902,10 +24235,7 @@ const FunctionSelectors = {
23902
24235
  stateMutability: "nonpayable",
23903
24236
  type: "function",
23904
24237
  devdoc: {
23905
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
23906
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
23907
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
23908
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
24238
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
23909
24239
  params: {
23910
24240
  operator: "The operator to decrease allowance for `msg.sender`",
23911
24241
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -24016,10 +24346,7 @@ const FunctionSelectors = {
24016
24346
  stateMutability: "nonpayable",
24017
24347
  type: "function",
24018
24348
  devdoc: {
24019
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
24020
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
24021
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
24022
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
24349
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
24023
24350
  params: {
24024
24351
  addedAmount: "The additional amount to add on top of the current operator's allowance",
24025
24352
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -24062,15 +24389,17 @@ const FunctionSelectors = {
24062
24389
  /**
24063
24390
  * function revokeOperator(
24064
24391
  * address operator,
24392
+ * bool notify,
24065
24393
  * bytes operatorNotificationData
24066
24394
  * )
24067
24395
  *
24068
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
24396
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
24069
24397
  */
24070
- "0xca3631e7": {
24071
- sig: "revokeOperator(address,bytes)",
24398
+ "0x4521748e": {
24399
+ sig: "revokeOperator(address,bool,bytes)",
24072
24400
  inputs: [
24073
24401
  { internalType: "address", name: "operator", type: "address" },
24402
+ { internalType: "bool", name: "notify", type: "bool" },
24074
24403
  {
24075
24404
  internalType: "bytes",
24076
24405
  name: "operatorNotificationData",
@@ -24084,6 +24413,7 @@ const FunctionSelectors = {
24084
24413
  devdoc: {
24085
24414
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
24086
24415
  params: {
24416
+ notify: "Boolean indicating whether to notify the operator or not.",
24087
24417
  operator: "The address to revoke as an operator.",
24088
24418
  operatorNotificationData: "The data to notify the operator about via LSP1."
24089
24419
  }
@@ -24273,6 +24603,24 @@ const FunctionSelectors = {
24273
24603
  devdoc: {
24274
24604
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
24275
24605
  }
24606
+ },
24607
+ /**
24608
+ * function version()
24609
+ *
24610
+ * 0x54fd4d50 = keccak256('version()')
24611
+ */
24612
+ "0x54fd4d50": {
24613
+ sig: "version()",
24614
+ inputs: [],
24615
+ name: "version",
24616
+ outputs: [{ internalType: "string", name: "", type: "string" }],
24617
+ stateMutability: "view",
24618
+ type: "function",
24619
+ devdoc: {
24620
+ details: "Get the version of the contract.",
24621
+ returns: { _0: "The version of the the contract." }
24622
+ },
24623
+ userdoc: { notice: "Contract version." }
24276
24624
  }
24277
24625
  },
24278
24626
  LSP7CappedSupply: {
@@ -24302,7 +24650,7 @@ const FunctionSelectors = {
24302
24650
  type: "function",
24303
24651
  devdoc: {
24304
24652
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
24305
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
24653
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
24306
24654
  params: {
24307
24655
  amount: "The allowance amount of tokens operator has access to.",
24308
24656
  operator: "The address to authorize as an operator.",
@@ -24407,10 +24755,7 @@ const FunctionSelectors = {
24407
24755
  stateMutability: "nonpayable",
24408
24756
  type: "function",
24409
24757
  devdoc: {
24410
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
24411
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
24412
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
24413
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
24758
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
24414
24759
  params: {
24415
24760
  operator: "The operator to decrease allowance for `msg.sender`",
24416
24761
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -24521,10 +24866,7 @@ const FunctionSelectors = {
24521
24866
  stateMutability: "nonpayable",
24522
24867
  type: "function",
24523
24868
  devdoc: {
24524
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
24525
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
24526
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
24527
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
24869
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
24528
24870
  params: {
24529
24871
  addedAmount: "The additional amount to add on top of the current operator's allowance",
24530
24872
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -24567,15 +24909,17 @@ const FunctionSelectors = {
24567
24909
  /**
24568
24910
  * function revokeOperator(
24569
24911
  * address operator,
24912
+ * bool notify,
24570
24913
  * bytes operatorNotificationData
24571
24914
  * )
24572
24915
  *
24573
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
24916
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
24574
24917
  */
24575
- "0xca3631e7": {
24576
- sig: "revokeOperator(address,bytes)",
24918
+ "0x4521748e": {
24919
+ sig: "revokeOperator(address,bool,bytes)",
24577
24920
  inputs: [
24578
24921
  { internalType: "address", name: "operator", type: "address" },
24922
+ { internalType: "bool", name: "notify", type: "bool" },
24579
24923
  {
24580
24924
  internalType: "bytes",
24581
24925
  name: "operatorNotificationData",
@@ -24589,6 +24933,7 @@ const FunctionSelectors = {
24589
24933
  devdoc: {
24590
24934
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
24591
24935
  params: {
24936
+ notify: "Boolean indicating whether to notify the operator or not.",
24592
24937
  operator: "The address to revoke as an operator.",
24593
24938
  operatorNotificationData: "The data to notify the operator about via LSP1."
24594
24939
  }
@@ -24802,6 +25147,24 @@ const FunctionSelectors = {
24802
25147
  devdoc: {
24803
25148
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
24804
25149
  }
25150
+ },
25151
+ /**
25152
+ * function version()
25153
+ *
25154
+ * 0x54fd4d50 = keccak256('version()')
25155
+ */
25156
+ "0x54fd4d50": {
25157
+ sig: "version()",
25158
+ inputs: [],
25159
+ name: "version",
25160
+ outputs: [{ internalType: "string", name: "", type: "string" }],
25161
+ stateMutability: "view",
25162
+ type: "function",
25163
+ devdoc: {
25164
+ details: "Get the version of the contract.",
25165
+ returns: { _0: "The version of the the contract." }
25166
+ },
25167
+ userdoc: { notice: "Contract version." }
24805
25168
  }
24806
25169
  },
24807
25170
  LSP7CappedSupplyInitAbstract: {
@@ -24831,7 +25194,7 @@ const FunctionSelectors = {
24831
25194
  type: "function",
24832
25195
  devdoc: {
24833
25196
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
24834
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
25197
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
24835
25198
  params: {
24836
25199
  amount: "The allowance amount of tokens operator has access to.",
24837
25200
  operator: "The address to authorize as an operator.",
@@ -24936,10 +25299,7 @@ const FunctionSelectors = {
24936
25299
  stateMutability: "nonpayable",
24937
25300
  type: "function",
24938
25301
  devdoc: {
24939
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
24940
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
24941
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
24942
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
25302
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
24943
25303
  params: {
24944
25304
  operator: "The operator to decrease allowance for `msg.sender`",
24945
25305
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -25050,10 +25410,7 @@ const FunctionSelectors = {
25050
25410
  stateMutability: "nonpayable",
25051
25411
  type: "function",
25052
25412
  devdoc: {
25053
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
25054
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
25055
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
25056
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
25413
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
25057
25414
  params: {
25058
25415
  addedAmount: "The additional amount to add on top of the current operator's allowance",
25059
25416
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -25096,15 +25453,17 @@ const FunctionSelectors = {
25096
25453
  /**
25097
25454
  * function revokeOperator(
25098
25455
  * address operator,
25456
+ * bool notify,
25099
25457
  * bytes operatorNotificationData
25100
25458
  * )
25101
25459
  *
25102
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
25460
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
25103
25461
  */
25104
- "0xca3631e7": {
25105
- sig: "revokeOperator(address,bytes)",
25462
+ "0x4521748e": {
25463
+ sig: "revokeOperator(address,bool,bytes)",
25106
25464
  inputs: [
25107
25465
  { internalType: "address", name: "operator", type: "address" },
25466
+ { internalType: "bool", name: "notify", type: "bool" },
25108
25467
  {
25109
25468
  internalType: "bytes",
25110
25469
  name: "operatorNotificationData",
@@ -25118,6 +25477,7 @@ const FunctionSelectors = {
25118
25477
  devdoc: {
25119
25478
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
25120
25479
  params: {
25480
+ notify: "Boolean indicating whether to notify the operator or not.",
25121
25481
  operator: "The address to revoke as an operator.",
25122
25482
  operatorNotificationData: "The data to notify the operator about via LSP1."
25123
25483
  }
@@ -25329,6 +25689,24 @@ const FunctionSelectors = {
25329
25689
  devdoc: {
25330
25690
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
25331
25691
  }
25692
+ },
25693
+ /**
25694
+ * function version()
25695
+ *
25696
+ * 0x54fd4d50 = keccak256('version()')
25697
+ */
25698
+ "0x54fd4d50": {
25699
+ sig: "version()",
25700
+ inputs: [],
25701
+ name: "version",
25702
+ outputs: [{ internalType: "string", name: "", type: "string" }],
25703
+ stateMutability: "view",
25704
+ type: "function",
25705
+ devdoc: {
25706
+ details: "Get the version of the contract.",
25707
+ returns: { _0: "The version of the the contract." }
25708
+ },
25709
+ userdoc: { notice: "Contract version." }
25332
25710
  }
25333
25711
  },
25334
25712
  LSP7CompatibleERC20: {
@@ -25412,7 +25790,7 @@ const FunctionSelectors = {
25412
25790
  type: "function",
25413
25791
  devdoc: {
25414
25792
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
25415
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
25793
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
25416
25794
  params: {
25417
25795
  amount: "The allowance amount of tokens operator has access to.",
25418
25796
  operator: "The address to authorize as an operator.",
@@ -25517,10 +25895,7 @@ const FunctionSelectors = {
25517
25895
  stateMutability: "nonpayable",
25518
25896
  type: "function",
25519
25897
  devdoc: {
25520
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
25521
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
25522
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
25523
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
25898
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
25524
25899
  params: {
25525
25900
  operator: "The operator to decrease allowance for `msg.sender`",
25526
25901
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -25631,10 +26006,7 @@ const FunctionSelectors = {
25631
26006
  stateMutability: "nonpayable",
25632
26007
  type: "function",
25633
26008
  devdoc: {
25634
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
25635
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
25636
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
25637
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
26009
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
25638
26010
  params: {
25639
26011
  addedAmount: "The additional amount to add on top of the current operator's allowance",
25640
26012
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -25694,15 +26066,17 @@ const FunctionSelectors = {
25694
26066
  /**
25695
26067
  * function revokeOperator(
25696
26068
  * address operator,
26069
+ * bool notify,
25697
26070
  * bytes operatorNotificationData
25698
26071
  * )
25699
26072
  *
25700
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
26073
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
25701
26074
  */
25702
- "0xca3631e7": {
25703
- sig: "revokeOperator(address,bytes)",
26075
+ "0x4521748e": {
26076
+ sig: "revokeOperator(address,bool,bytes)",
25704
26077
  inputs: [
25705
26078
  { internalType: "address", name: "operator", type: "address" },
26079
+ { internalType: "bool", name: "notify", type: "bool" },
25706
26080
  {
25707
26081
  internalType: "bytes",
25708
26082
  name: "operatorNotificationData",
@@ -25716,6 +26090,7 @@ const FunctionSelectors = {
25716
26090
  devdoc: {
25717
26091
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
25718
26092
  params: {
26093
+ notify: "Boolean indicating whether to notify the operator or not.",
25719
26094
  operator: "The address to revoke as an operator.",
25720
26095
  operatorNotificationData: "The data to notify the operator about via LSP1."
25721
26096
  }
@@ -25983,6 +26358,24 @@ const FunctionSelectors = {
25983
26358
  devdoc: {
25984
26359
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
25985
26360
  }
26361
+ },
26362
+ /**
26363
+ * function version()
26364
+ *
26365
+ * 0x54fd4d50 = keccak256('version()')
26366
+ */
26367
+ "0x54fd4d50": {
26368
+ sig: "version()",
26369
+ inputs: [],
26370
+ name: "version",
26371
+ outputs: [{ internalType: "string", name: "", type: "string" }],
26372
+ stateMutability: "view",
26373
+ type: "function",
26374
+ devdoc: {
26375
+ details: "Get the version of the contract.",
26376
+ returns: { _0: "The version of the the contract." }
26377
+ },
26378
+ userdoc: { notice: "Contract version." }
25986
26379
  }
25987
26380
  },
25988
26381
  LSP7CompatibleERC20InitAbstract: {
@@ -26066,7 +26459,7 @@ const FunctionSelectors = {
26066
26459
  type: "function",
26067
26460
  devdoc: {
26068
26461
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
26069
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
26462
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
26070
26463
  params: {
26071
26464
  amount: "The allowance amount of tokens operator has access to.",
26072
26465
  operator: "The address to authorize as an operator.",
@@ -26171,10 +26564,7 @@ const FunctionSelectors = {
26171
26564
  stateMutability: "nonpayable",
26172
26565
  type: "function",
26173
26566
  devdoc: {
26174
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
26175
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
26176
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
26177
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
26567
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
26178
26568
  params: {
26179
26569
  operator: "The operator to decrease allowance for `msg.sender`",
26180
26570
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -26285,10 +26675,7 @@ const FunctionSelectors = {
26285
26675
  stateMutability: "nonpayable",
26286
26676
  type: "function",
26287
26677
  devdoc: {
26288
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
26289
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
26290
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
26291
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
26678
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
26292
26679
  params: {
26293
26680
  addedAmount: "The additional amount to add on top of the current operator's allowance",
26294
26681
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -26348,15 +26735,17 @@ const FunctionSelectors = {
26348
26735
  /**
26349
26736
  * function revokeOperator(
26350
26737
  * address operator,
26738
+ * bool notify,
26351
26739
  * bytes operatorNotificationData
26352
26740
  * )
26353
26741
  *
26354
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
26742
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
26355
26743
  */
26356
- "0xca3631e7": {
26357
- sig: "revokeOperator(address,bytes)",
26744
+ "0x4521748e": {
26745
+ sig: "revokeOperator(address,bool,bytes)",
26358
26746
  inputs: [
26359
26747
  { internalType: "address", name: "operator", type: "address" },
26748
+ { internalType: "bool", name: "notify", type: "bool" },
26360
26749
  {
26361
26750
  internalType: "bytes",
26362
26751
  name: "operatorNotificationData",
@@ -26370,6 +26759,7 @@ const FunctionSelectors = {
26370
26759
  devdoc: {
26371
26760
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
26372
26761
  params: {
26762
+ notify: "Boolean indicating whether to notify the operator or not.",
26373
26763
  operator: "The address to revoke as an operator.",
26374
26764
  operatorNotificationData: "The data to notify the operator about via LSP1."
26375
26765
  }
@@ -26635,6 +27025,24 @@ const FunctionSelectors = {
26635
27025
  devdoc: {
26636
27026
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
26637
27027
  }
27028
+ },
27029
+ /**
27030
+ * function version()
27031
+ *
27032
+ * 0x54fd4d50 = keccak256('version()')
27033
+ */
27034
+ "0x54fd4d50": {
27035
+ sig: "version()",
27036
+ inputs: [],
27037
+ name: "version",
27038
+ outputs: [{ internalType: "string", name: "", type: "string" }],
27039
+ stateMutability: "view",
27040
+ type: "function",
27041
+ devdoc: {
27042
+ details: "Get the version of the contract.",
27043
+ returns: { _0: "The version of the the contract." }
27044
+ },
27045
+ userdoc: { notice: "Contract version." }
26638
27046
  }
26639
27047
  },
26640
27048
  LSP7CompatibleERC20Mintable: {
@@ -26718,7 +27126,7 @@ const FunctionSelectors = {
26718
27126
  type: "function",
26719
27127
  devdoc: {
26720
27128
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
26721
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
27129
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
26722
27130
  params: {
26723
27131
  amount: "The allowance amount of tokens operator has access to.",
26724
27132
  operator: "The address to authorize as an operator.",
@@ -26823,10 +27231,7 @@ const FunctionSelectors = {
26823
27231
  stateMutability: "nonpayable",
26824
27232
  type: "function",
26825
27233
  devdoc: {
26826
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
26827
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
26828
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
26829
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
27234
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
26830
27235
  params: {
26831
27236
  operator: "The operator to decrease allowance for `msg.sender`",
26832
27237
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -26937,10 +27342,7 @@ const FunctionSelectors = {
26937
27342
  stateMutability: "nonpayable",
26938
27343
  type: "function",
26939
27344
  devdoc: {
26940
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
26941
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
26942
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
26943
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
27345
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
26944
27346
  params: {
26945
27347
  addedAmount: "The additional amount to add on top of the current operator's allowance",
26946
27348
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -27026,15 +27428,17 @@ const FunctionSelectors = {
27026
27428
  /**
27027
27429
  * function revokeOperator(
27028
27430
  * address operator,
27431
+ * bool notify,
27029
27432
  * bytes operatorNotificationData
27030
27433
  * )
27031
27434
  *
27032
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
27435
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
27033
27436
  */
27034
- "0xca3631e7": {
27035
- sig: "revokeOperator(address,bytes)",
27437
+ "0x4521748e": {
27438
+ sig: "revokeOperator(address,bool,bytes)",
27036
27439
  inputs: [
27037
27440
  { internalType: "address", name: "operator", type: "address" },
27441
+ { internalType: "bool", name: "notify", type: "bool" },
27038
27442
  {
27039
27443
  internalType: "bytes",
27040
27444
  name: "operatorNotificationData",
@@ -27048,6 +27452,7 @@ const FunctionSelectors = {
27048
27452
  devdoc: {
27049
27453
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
27050
27454
  params: {
27455
+ notify: "Boolean indicating whether to notify the operator or not.",
27051
27456
  operator: "The address to revoke as an operator.",
27052
27457
  operatorNotificationData: "The data to notify the operator about via LSP1."
27053
27458
  }
@@ -27315,6 +27720,24 @@ const FunctionSelectors = {
27315
27720
  devdoc: {
27316
27721
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
27317
27722
  }
27723
+ },
27724
+ /**
27725
+ * function version()
27726
+ *
27727
+ * 0x54fd4d50 = keccak256('version()')
27728
+ */
27729
+ "0x54fd4d50": {
27730
+ sig: "version()",
27731
+ inputs: [],
27732
+ name: "version",
27733
+ outputs: [{ internalType: "string", name: "", type: "string" }],
27734
+ stateMutability: "view",
27735
+ type: "function",
27736
+ devdoc: {
27737
+ details: "Get the version of the contract.",
27738
+ returns: { _0: "The version of the the contract." }
27739
+ },
27740
+ userdoc: { notice: "Contract version." }
27318
27741
  }
27319
27742
  },
27320
27743
  LSP7CompatibleERC20MintableInit: {
@@ -27398,7 +27821,7 @@ const FunctionSelectors = {
27398
27821
  type: "function",
27399
27822
  devdoc: {
27400
27823
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
27401
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
27824
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
27402
27825
  params: {
27403
27826
  amount: "The allowance amount of tokens operator has access to.",
27404
27827
  operator: "The address to authorize as an operator.",
@@ -27503,10 +27926,7 @@ const FunctionSelectors = {
27503
27926
  stateMutability: "nonpayable",
27504
27927
  type: "function",
27505
27928
  devdoc: {
27506
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
27507
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
27508
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
27509
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
27929
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
27510
27930
  params: {
27511
27931
  operator: "The operator to decrease allowance for `msg.sender`",
27512
27932
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -27617,10 +28037,7 @@ const FunctionSelectors = {
27617
28037
  stateMutability: "nonpayable",
27618
28038
  type: "function",
27619
28039
  devdoc: {
27620
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
27621
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
27622
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
27623
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
28040
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
27624
28041
  params: {
27625
28042
  addedAmount: "The additional amount to add on top of the current operator's allowance",
27626
28043
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -27737,15 +28154,17 @@ const FunctionSelectors = {
27737
28154
  /**
27738
28155
  * function revokeOperator(
27739
28156
  * address operator,
28157
+ * bool notify,
27740
28158
  * bytes operatorNotificationData
27741
28159
  * )
27742
28160
  *
27743
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
28161
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
27744
28162
  */
27745
- "0xca3631e7": {
27746
- sig: "revokeOperator(address,bytes)",
28163
+ "0x4521748e": {
28164
+ sig: "revokeOperator(address,bool,bytes)",
27747
28165
  inputs: [
27748
28166
  { internalType: "address", name: "operator", type: "address" },
28167
+ { internalType: "bool", name: "notify", type: "bool" },
27749
28168
  {
27750
28169
  internalType: "bytes",
27751
28170
  name: "operatorNotificationData",
@@ -27759,6 +28178,7 @@ const FunctionSelectors = {
27759
28178
  devdoc: {
27760
28179
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
27761
28180
  params: {
28181
+ notify: "Boolean indicating whether to notify the operator or not.",
27762
28182
  operator: "The address to revoke as an operator.",
27763
28183
  operatorNotificationData: "The data to notify the operator about via LSP1."
27764
28184
  }
@@ -28024,6 +28444,24 @@ const FunctionSelectors = {
28024
28444
  devdoc: {
28025
28445
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
28026
28446
  }
28447
+ },
28448
+ /**
28449
+ * function version()
28450
+ *
28451
+ * 0x54fd4d50 = keccak256('version()')
28452
+ */
28453
+ "0x54fd4d50": {
28454
+ sig: "version()",
28455
+ inputs: [],
28456
+ name: "version",
28457
+ outputs: [{ internalType: "string", name: "", type: "string" }],
28458
+ stateMutability: "view",
28459
+ type: "function",
28460
+ devdoc: {
28461
+ details: "Get the version of the contract.",
28462
+ returns: { _0: "The version of the the contract." }
28463
+ },
28464
+ userdoc: { notice: "Contract version." }
28027
28465
  }
28028
28466
  },
28029
28467
  LSP7Mintable: {
@@ -28053,7 +28491,7 @@ const FunctionSelectors = {
28053
28491
  type: "function",
28054
28492
  devdoc: {
28055
28493
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
28056
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
28494
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
28057
28495
  params: {
28058
28496
  amount: "The allowance amount of tokens operator has access to.",
28059
28497
  operator: "The address to authorize as an operator.",
@@ -28158,10 +28596,7 @@ const FunctionSelectors = {
28158
28596
  stateMutability: "nonpayable",
28159
28597
  type: "function",
28160
28598
  devdoc: {
28161
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
28162
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
28163
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
28164
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
28599
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
28165
28600
  params: {
28166
28601
  operator: "The operator to decrease allowance for `msg.sender`",
28167
28602
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -28272,10 +28707,7 @@ const FunctionSelectors = {
28272
28707
  stateMutability: "nonpayable",
28273
28708
  type: "function",
28274
28709
  devdoc: {
28275
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
28276
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
28277
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
28278
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
28710
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
28279
28711
  params: {
28280
28712
  addedAmount: "The additional amount to add on top of the current operator's allowance",
28281
28713
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -28344,15 +28776,17 @@ const FunctionSelectors = {
28344
28776
  /**
28345
28777
  * function revokeOperator(
28346
28778
  * address operator,
28779
+ * bool notify,
28347
28780
  * bytes operatorNotificationData
28348
28781
  * )
28349
28782
  *
28350
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
28783
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
28351
28784
  */
28352
- "0xca3631e7": {
28353
- sig: "revokeOperator(address,bytes)",
28785
+ "0x4521748e": {
28786
+ sig: "revokeOperator(address,bool,bytes)",
28354
28787
  inputs: [
28355
28788
  { internalType: "address", name: "operator", type: "address" },
28789
+ { internalType: "bool", name: "notify", type: "bool" },
28356
28790
  {
28357
28791
  internalType: "bytes",
28358
28792
  name: "operatorNotificationData",
@@ -28366,6 +28800,7 @@ const FunctionSelectors = {
28366
28800
  devdoc: {
28367
28801
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
28368
28802
  params: {
28803
+ notify: "Boolean indicating whether to notify the operator or not.",
28369
28804
  operator: "The address to revoke as an operator.",
28370
28805
  operatorNotificationData: "The data to notify the operator about via LSP1."
28371
28806
  }
@@ -28557,6 +28992,24 @@ const FunctionSelectors = {
28557
28992
  devdoc: {
28558
28993
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
28559
28994
  }
28995
+ },
28996
+ /**
28997
+ * function version()
28998
+ *
28999
+ * 0x54fd4d50 = keccak256('version()')
29000
+ */
29001
+ "0x54fd4d50": {
29002
+ sig: "version()",
29003
+ inputs: [],
29004
+ name: "version",
29005
+ outputs: [{ internalType: "string", name: "", type: "string" }],
29006
+ stateMutability: "view",
29007
+ type: "function",
29008
+ devdoc: {
29009
+ details: "Get the version of the contract.",
29010
+ returns: { _0: "The version of the the contract." }
29011
+ },
29012
+ userdoc: { notice: "Contract version." }
28560
29013
  }
28561
29014
  },
28562
29015
  LSP7MintableInit: {
@@ -28586,7 +29039,7 @@ const FunctionSelectors = {
28586
29039
  type: "function",
28587
29040
  devdoc: {
28588
29041
  "custom:danger": "To avoid front-running and Allowance Double-Spend Exploit when increasing or decreasing the authorized amount of an operator, it is advised to: 1. either call {revokeOperator} first, and then re-call {authorizeOperator} with the new amount. 2. or use the non-standard functions {increaseAllowance} or {decreaseAllowance}. For more information, see: https://docs.google.com/document/d/1YLPtQxZu1UAvO9cZ1O2RPXBbT0mooh4DYKjA_jp-RLM/",
28589
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
29042
+ details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
28590
29043
  params: {
28591
29044
  amount: "The allowance amount of tokens operator has access to.",
28592
29045
  operator: "The address to authorize as an operator.",
@@ -28691,10 +29144,7 @@ const FunctionSelectors = {
28691
29144
  stateMutability: "nonpayable",
28692
29145
  type: "function",
28693
29146
  devdoc: {
28694
- "custom:events": "- {AuthorizedOperator} event indicating the updated allowance after decreasing it. - {RevokeOperator} event if `subtractedAmount` is the full allowance, indicating `operator` does not have any alauthorizedAmountForlowance left for `msg.sender`.",
28695
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against the double spending allowance vulnerability.",
28696
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
28697
- details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
29147
+ details: "Atomically decreases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
28698
29148
  params: {
28699
29149
  operator: "The operator to decrease allowance for `msg.sender`",
28700
29150
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -28805,10 +29255,7 @@ const FunctionSelectors = {
28805
29255
  stateMutability: "nonpayable",
28806
29256
  type: "function",
28807
29257
  devdoc: {
28808
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
28809
- "custom:info": "This is a non-standard function, not part of the LSP7 standard interface. It has been added in the LSP7 contract implementation so that it can be used as a prevention mechanism against double spending allowance vulnerability.",
28810
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
28811
- details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem.",
29258
+ details: "Atomically increases the allowance granted to `operator` by the caller. This is an alternative approach to {authorizeOperator} that can be used as a mitigation for the double spending allowance problem. Notify the operator based on the LSP1-UniversalReceiver standard",
28812
29259
  params: {
28813
29260
  addedAmount: "The additional amount to add on top of the current operator's allowance",
28814
29261
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -28910,15 +29357,17 @@ const FunctionSelectors = {
28910
29357
  /**
28911
29358
  * function revokeOperator(
28912
29359
  * address operator,
29360
+ * bool notify,
28913
29361
  * bytes operatorNotificationData
28914
29362
  * )
28915
29363
  *
28916
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
29364
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
28917
29365
  */
28918
- "0xca3631e7": {
28919
- sig: "revokeOperator(address,bytes)",
29366
+ "0x4521748e": {
29367
+ sig: "revokeOperator(address,bool,bytes)",
28920
29368
  inputs: [
28921
29369
  { internalType: "address", name: "operator", type: "address" },
29370
+ { internalType: "bool", name: "notify", type: "bool" },
28922
29371
  {
28923
29372
  internalType: "bytes",
28924
29373
  name: "operatorNotificationData",
@@ -28932,6 +29381,7 @@ const FunctionSelectors = {
28932
29381
  devdoc: {
28933
29382
  details: "Removes the `operator` address as an operator of callers tokens, disallowing it to send any amount of tokens on behalf of the token owner (the caller of the function `msg.sender`). See also {authorizedAmountFor}.",
28934
29383
  params: {
29384
+ notify: "Boolean indicating whether to notify the operator or not.",
28935
29385
  operator: "The address to revoke as an operator.",
28936
29386
  operatorNotificationData: "The data to notify the operator about via LSP1."
28937
29387
  }
@@ -29121,6 +29571,24 @@ const FunctionSelectors = {
29121
29571
  devdoc: {
29122
29572
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
29123
29573
  }
29574
+ },
29575
+ /**
29576
+ * function version()
29577
+ *
29578
+ * 0x54fd4d50 = keccak256('version()')
29579
+ */
29580
+ "0x54fd4d50": {
29581
+ sig: "version()",
29582
+ inputs: [],
29583
+ name: "version",
29584
+ outputs: [{ internalType: "string", name: "", type: "string" }],
29585
+ stateMutability: "view",
29586
+ type: "function",
29587
+ devdoc: {
29588
+ details: "Get the version of the contract.",
29589
+ returns: { _0: "The version of the the contract." }
29590
+ },
29591
+ userdoc: { notice: "Contract version." }
29124
29592
  }
29125
29593
  },
29126
29594
  LSP8IdentifiableDigitalAsset: {
@@ -29149,7 +29617,7 @@ const FunctionSelectors = {
29149
29617
  stateMutability: "nonpayable",
29150
29618
  type: "function",
29151
29619
  devdoc: {
29152
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
29620
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
29153
29621
  params: {
29154
29622
  operator: "The address to authorize as an operator.",
29155
29623
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -29318,16 +29786,18 @@ const FunctionSelectors = {
29318
29786
  * function revokeOperator(
29319
29787
  * address operator,
29320
29788
  * bytes32 tokenId,
29789
+ * bool notify,
29321
29790
  * bytes operatorNotificationData
29322
29791
  * )
29323
29792
  *
29324
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
29793
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
29325
29794
  */
29326
- "0xf1b97e04": {
29327
- sig: "revokeOperator(address,bytes32,bytes)",
29795
+ "0xdb8c9663": {
29796
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
29328
29797
  inputs: [
29329
29798
  { internalType: "address", name: "operator", type: "address" },
29330
29799
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
29800
+ { internalType: "bool", name: "notify", type: "bool" },
29331
29801
  {
29332
29802
  internalType: "bytes",
29333
29803
  name: "operatorNotificationData",
@@ -29341,6 +29811,7 @@ const FunctionSelectors = {
29341
29811
  devdoc: {
29342
29812
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
29343
29813
  params: {
29814
+ notify: "Boolean indicating whether to notify the operator or not",
29344
29815
  operator: "The address to revoke as an operator.",
29345
29816
  operatorNotificationData: "The data to notify the operator about via LSP1.",
29346
29817
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -29579,6 +30050,24 @@ const FunctionSelectors = {
29579
30050
  devdoc: {
29580
30051
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
29581
30052
  }
30053
+ },
30054
+ /**
30055
+ * function version()
30056
+ *
30057
+ * 0x54fd4d50 = keccak256('version()')
30058
+ */
30059
+ "0x54fd4d50": {
30060
+ sig: "version()",
30061
+ inputs: [],
30062
+ name: "version",
30063
+ outputs: [{ internalType: "string", name: "", type: "string" }],
30064
+ stateMutability: "view",
30065
+ type: "function",
30066
+ devdoc: {
30067
+ details: "Get the version of the contract.",
30068
+ returns: { _0: "The version of the the contract." }
30069
+ },
30070
+ userdoc: { notice: "Contract version." }
29582
30071
  }
29583
30072
  },
29584
30073
  LSP8IdentifiableDigitalAssetInitAbstract: {
@@ -29607,7 +30096,7 @@ const FunctionSelectors = {
29607
30096
  stateMutability: "nonpayable",
29608
30097
  type: "function",
29609
30098
  devdoc: {
29610
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
30099
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
29611
30100
  params: {
29612
30101
  operator: "The address to authorize as an operator.",
29613
30102
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -29776,16 +30265,18 @@ const FunctionSelectors = {
29776
30265
  * function revokeOperator(
29777
30266
  * address operator,
29778
30267
  * bytes32 tokenId,
30268
+ * bool notify,
29779
30269
  * bytes operatorNotificationData
29780
30270
  * )
29781
30271
  *
29782
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
30272
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
29783
30273
  */
29784
- "0xf1b97e04": {
29785
- sig: "revokeOperator(address,bytes32,bytes)",
30274
+ "0xdb8c9663": {
30275
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
29786
30276
  inputs: [
29787
30277
  { internalType: "address", name: "operator", type: "address" },
29788
30278
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
30279
+ { internalType: "bool", name: "notify", type: "bool" },
29789
30280
  {
29790
30281
  internalType: "bytes",
29791
30282
  name: "operatorNotificationData",
@@ -29799,6 +30290,7 @@ const FunctionSelectors = {
29799
30290
  devdoc: {
29800
30291
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
29801
30292
  params: {
30293
+ notify: "Boolean indicating whether to notify the operator or not",
29802
30294
  operator: "The address to revoke as an operator.",
29803
30295
  operatorNotificationData: "The data to notify the operator about via LSP1.",
29804
30296
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -30035,6 +30527,24 @@ const FunctionSelectors = {
30035
30527
  devdoc: {
30036
30528
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
30037
30529
  }
30530
+ },
30531
+ /**
30532
+ * function version()
30533
+ *
30534
+ * 0x54fd4d50 = keccak256('version()')
30535
+ */
30536
+ "0x54fd4d50": {
30537
+ sig: "version()",
30538
+ inputs: [],
30539
+ name: "version",
30540
+ outputs: [{ internalType: "string", name: "", type: "string" }],
30541
+ stateMutability: "view",
30542
+ type: "function",
30543
+ devdoc: {
30544
+ details: "Get the version of the contract.",
30545
+ returns: { _0: "The version of the the contract." }
30546
+ },
30547
+ userdoc: { notice: "Contract version." }
30038
30548
  }
30039
30549
  },
30040
30550
  LSP8CappedSupply: {
@@ -30063,7 +30573,7 @@ const FunctionSelectors = {
30063
30573
  stateMutability: "nonpayable",
30064
30574
  type: "function",
30065
30575
  devdoc: {
30066
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
30576
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
30067
30577
  params: {
30068
30578
  operator: "The address to authorize as an operator.",
30069
30579
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -30232,16 +30742,18 @@ const FunctionSelectors = {
30232
30742
  * function revokeOperator(
30233
30743
  * address operator,
30234
30744
  * bytes32 tokenId,
30745
+ * bool notify,
30235
30746
  * bytes operatorNotificationData
30236
30747
  * )
30237
30748
  *
30238
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
30749
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
30239
30750
  */
30240
- "0xf1b97e04": {
30241
- sig: "revokeOperator(address,bytes32,bytes)",
30751
+ "0xdb8c9663": {
30752
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
30242
30753
  inputs: [
30243
30754
  { internalType: "address", name: "operator", type: "address" },
30244
30755
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
30756
+ { internalType: "bool", name: "notify", type: "bool" },
30245
30757
  {
30246
30758
  internalType: "bytes",
30247
30759
  name: "operatorNotificationData",
@@ -30255,6 +30767,7 @@ const FunctionSelectors = {
30255
30767
  devdoc: {
30256
30768
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
30257
30769
  params: {
30770
+ notify: "Boolean indicating whether to notify the operator or not",
30258
30771
  operator: "The address to revoke as an operator.",
30259
30772
  operatorNotificationData: "The data to notify the operator about via LSP1.",
30260
30773
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -30515,6 +31028,24 @@ const FunctionSelectors = {
30515
31028
  devdoc: {
30516
31029
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
30517
31030
  }
31031
+ },
31032
+ /**
31033
+ * function version()
31034
+ *
31035
+ * 0x54fd4d50 = keccak256('version()')
31036
+ */
31037
+ "0x54fd4d50": {
31038
+ sig: "version()",
31039
+ inputs: [],
31040
+ name: "version",
31041
+ outputs: [{ internalType: "string", name: "", type: "string" }],
31042
+ stateMutability: "view",
31043
+ type: "function",
31044
+ devdoc: {
31045
+ details: "Get the version of the contract.",
31046
+ returns: { _0: "The version of the the contract." }
31047
+ },
31048
+ userdoc: { notice: "Contract version." }
30518
31049
  }
30519
31050
  },
30520
31051
  LSP8CappedSupplyInitAbstract: {
@@ -30543,7 +31074,7 @@ const FunctionSelectors = {
30543
31074
  stateMutability: "nonpayable",
30544
31075
  type: "function",
30545
31076
  devdoc: {
30546
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
31077
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
30547
31078
  params: {
30548
31079
  operator: "The address to authorize as an operator.",
30549
31080
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -30712,16 +31243,18 @@ const FunctionSelectors = {
30712
31243
  * function revokeOperator(
30713
31244
  * address operator,
30714
31245
  * bytes32 tokenId,
31246
+ * bool notify,
30715
31247
  * bytes operatorNotificationData
30716
31248
  * )
30717
31249
  *
30718
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
31250
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
30719
31251
  */
30720
- "0xf1b97e04": {
30721
- sig: "revokeOperator(address,bytes32,bytes)",
31252
+ "0xdb8c9663": {
31253
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
30722
31254
  inputs: [
30723
31255
  { internalType: "address", name: "operator", type: "address" },
30724
31256
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31257
+ { internalType: "bool", name: "notify", type: "bool" },
30725
31258
  {
30726
31259
  internalType: "bytes",
30727
31260
  name: "operatorNotificationData",
@@ -30735,6 +31268,7 @@ const FunctionSelectors = {
30735
31268
  devdoc: {
30736
31269
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
30737
31270
  params: {
31271
+ notify: "Boolean indicating whether to notify the operator or not",
30738
31272
  operator: "The address to revoke as an operator.",
30739
31273
  operatorNotificationData: "The data to notify the operator about via LSP1.",
30740
31274
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -30993,6 +31527,24 @@ const FunctionSelectors = {
30993
31527
  devdoc: {
30994
31528
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
30995
31529
  }
31530
+ },
31531
+ /**
31532
+ * function version()
31533
+ *
31534
+ * 0x54fd4d50 = keccak256('version()')
31535
+ */
31536
+ "0x54fd4d50": {
31537
+ sig: "version()",
31538
+ inputs: [],
31539
+ name: "version",
31540
+ outputs: [{ internalType: "string", name: "", type: "string" }],
31541
+ stateMutability: "view",
31542
+ type: "function",
31543
+ devdoc: {
31544
+ details: "Get the version of the contract.",
31545
+ returns: { _0: "The version of the the contract." }
31546
+ },
31547
+ userdoc: { notice: "Contract version." }
30996
31548
  }
30997
31549
  },
30998
31550
  LSP8CompatibleERC721: {
@@ -31051,7 +31603,7 @@ const FunctionSelectors = {
31051
31603
  type: "function",
31052
31604
  devdoc: {
31053
31605
  "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
31054
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
31606
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
31055
31607
  params: {
31056
31608
  operator: "The address to authorize as an operator.",
31057
31609
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -31313,16 +31865,18 @@ const FunctionSelectors = {
31313
31865
  * function revokeOperator(
31314
31866
  * address operator,
31315
31867
  * bytes32 tokenId,
31868
+ * bool notify,
31316
31869
  * bytes operatorNotificationData
31317
31870
  * )
31318
31871
  *
31319
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
31872
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
31320
31873
  */
31321
- "0xf1b97e04": {
31322
- sig: "revokeOperator(address,bytes32,bytes)",
31874
+ "0xdb8c9663": {
31875
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
31323
31876
  inputs: [
31324
31877
  { internalType: "address", name: "operator", type: "address" },
31325
31878
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31879
+ { internalType: "bool", name: "notify", type: "bool" },
31326
31880
  {
31327
31881
  internalType: "bytes",
31328
31882
  name: "operatorNotificationData",
@@ -31336,6 +31890,7 @@ const FunctionSelectors = {
31336
31890
  devdoc: {
31337
31891
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
31338
31892
  params: {
31893
+ notify: "Boolean indicating whether to notify the operator or not",
31339
31894
  operator: "The address to revoke as an operator.",
31340
31895
  operatorNotificationData: "The data to notify the operator about via LSP1.",
31341
31896
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -31743,6 +32298,24 @@ const FunctionSelectors = {
31743
32298
  devdoc: {
31744
32299
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
31745
32300
  }
32301
+ },
32302
+ /**
32303
+ * function version()
32304
+ *
32305
+ * 0x54fd4d50 = keccak256('version()')
32306
+ */
32307
+ "0x54fd4d50": {
32308
+ sig: "version()",
32309
+ inputs: [],
32310
+ name: "version",
32311
+ outputs: [{ internalType: "string", name: "", type: "string" }],
32312
+ stateMutability: "view",
32313
+ type: "function",
32314
+ devdoc: {
32315
+ details: "Get the version of the contract.",
32316
+ returns: { _0: "The version of the the contract." }
32317
+ },
32318
+ userdoc: { notice: "Contract version." }
31746
32319
  }
31747
32320
  },
31748
32321
  LSP8CompatibleERC721InitAbstract: {
@@ -31801,7 +32374,7 @@ const FunctionSelectors = {
31801
32374
  type: "function",
31802
32375
  devdoc: {
31803
32376
  "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
31804
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
32377
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
31805
32378
  params: {
31806
32379
  operator: "The address to authorize as an operator.",
31807
32380
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -32063,16 +32636,18 @@ const FunctionSelectors = {
32063
32636
  * function revokeOperator(
32064
32637
  * address operator,
32065
32638
  * bytes32 tokenId,
32639
+ * bool notify,
32066
32640
  * bytes operatorNotificationData
32067
32641
  * )
32068
32642
  *
32069
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
32643
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
32070
32644
  */
32071
- "0xf1b97e04": {
32072
- sig: "revokeOperator(address,bytes32,bytes)",
32645
+ "0xdb8c9663": {
32646
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
32073
32647
  inputs: [
32074
32648
  { internalType: "address", name: "operator", type: "address" },
32075
32649
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
32650
+ { internalType: "bool", name: "notify", type: "bool" },
32076
32651
  {
32077
32652
  internalType: "bytes",
32078
32653
  name: "operatorNotificationData",
@@ -32086,6 +32661,7 @@ const FunctionSelectors = {
32086
32661
  devdoc: {
32087
32662
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
32088
32663
  params: {
32664
+ notify: "Boolean indicating whether to notify the operator or not",
32089
32665
  operator: "The address to revoke as an operator.",
32090
32666
  operatorNotificationData: "The data to notify the operator about via LSP1.",
32091
32667
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -32491,6 +33067,24 @@ const FunctionSelectors = {
32491
33067
  devdoc: {
32492
33068
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
32493
33069
  }
33070
+ },
33071
+ /**
33072
+ * function version()
33073
+ *
33074
+ * 0x54fd4d50 = keccak256('version()')
33075
+ */
33076
+ "0x54fd4d50": {
33077
+ sig: "version()",
33078
+ inputs: [],
33079
+ name: "version",
33080
+ outputs: [{ internalType: "string", name: "", type: "string" }],
33081
+ stateMutability: "view",
33082
+ type: "function",
33083
+ devdoc: {
33084
+ details: "Get the version of the contract.",
33085
+ returns: { _0: "The version of the the contract." }
33086
+ },
33087
+ userdoc: { notice: "Contract version." }
32494
33088
  }
32495
33089
  },
32496
33090
  LSP8CompatibleERC721Mintable: {
@@ -32549,7 +33143,7 @@ const FunctionSelectors = {
32549
33143
  type: "function",
32550
33144
  devdoc: {
32551
33145
  "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
32552
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
33146
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
32553
33147
  params: {
32554
33148
  operator: "The address to authorize as an operator.",
32555
33149
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -32846,16 +33440,18 @@ const FunctionSelectors = {
32846
33440
  * function revokeOperator(
32847
33441
  * address operator,
32848
33442
  * bytes32 tokenId,
33443
+ * bool notify,
32849
33444
  * bytes operatorNotificationData
32850
33445
  * )
32851
33446
  *
32852
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
33447
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
32853
33448
  */
32854
- "0xf1b97e04": {
32855
- sig: "revokeOperator(address,bytes32,bytes)",
33449
+ "0xdb8c9663": {
33450
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
32856
33451
  inputs: [
32857
33452
  { internalType: "address", name: "operator", type: "address" },
32858
33453
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
33454
+ { internalType: "bool", name: "notify", type: "bool" },
32859
33455
  {
32860
33456
  internalType: "bytes",
32861
33457
  name: "operatorNotificationData",
@@ -32869,6 +33465,7 @@ const FunctionSelectors = {
32869
33465
  devdoc: {
32870
33466
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
32871
33467
  params: {
33468
+ notify: "Boolean indicating whether to notify the operator or not",
32872
33469
  operator: "The address to revoke as an operator.",
32873
33470
  operatorNotificationData: "The data to notify the operator about via LSP1.",
32874
33471
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -33276,6 +33873,24 @@ const FunctionSelectors = {
33276
33873
  devdoc: {
33277
33874
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
33278
33875
  }
33876
+ },
33877
+ /**
33878
+ * function version()
33879
+ *
33880
+ * 0x54fd4d50 = keccak256('version()')
33881
+ */
33882
+ "0x54fd4d50": {
33883
+ sig: "version()",
33884
+ inputs: [],
33885
+ name: "version",
33886
+ outputs: [{ internalType: "string", name: "", type: "string" }],
33887
+ stateMutability: "view",
33888
+ type: "function",
33889
+ devdoc: {
33890
+ details: "Get the version of the contract.",
33891
+ returns: { _0: "The version of the the contract." }
33892
+ },
33893
+ userdoc: { notice: "Contract version." }
33279
33894
  }
33280
33895
  },
33281
33896
  LSP8CompatibleERC721MintableInit: {
@@ -33334,7 +33949,7 @@ const FunctionSelectors = {
33334
33949
  type: "function",
33335
33950
  devdoc: {
33336
33951
  "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
33337
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
33952
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
33338
33953
  params: {
33339
33954
  operator: "The address to authorize as an operator.",
33340
33955
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -33664,16 +34279,18 @@ const FunctionSelectors = {
33664
34279
  * function revokeOperator(
33665
34280
  * address operator,
33666
34281
  * bytes32 tokenId,
34282
+ * bool notify,
33667
34283
  * bytes operatorNotificationData
33668
34284
  * )
33669
34285
  *
33670
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
34286
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
33671
34287
  */
33672
- "0xf1b97e04": {
33673
- sig: "revokeOperator(address,bytes32,bytes)",
34288
+ "0xdb8c9663": {
34289
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
33674
34290
  inputs: [
33675
34291
  { internalType: "address", name: "operator", type: "address" },
33676
34292
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34293
+ { internalType: "bool", name: "notify", type: "bool" },
33677
34294
  {
33678
34295
  internalType: "bytes",
33679
34296
  name: "operatorNotificationData",
@@ -33687,6 +34304,7 @@ const FunctionSelectors = {
33687
34304
  devdoc: {
33688
34305
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
33689
34306
  params: {
34307
+ notify: "Boolean indicating whether to notify the operator or not",
33690
34308
  operator: "The address to revoke as an operator.",
33691
34309
  operatorNotificationData: "The data to notify the operator about via LSP1.",
33692
34310
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -34092,6 +34710,24 @@ const FunctionSelectors = {
34092
34710
  devdoc: {
34093
34711
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
34094
34712
  }
34713
+ },
34714
+ /**
34715
+ * function version()
34716
+ *
34717
+ * 0x54fd4d50 = keccak256('version()')
34718
+ */
34719
+ "0x54fd4d50": {
34720
+ sig: "version()",
34721
+ inputs: [],
34722
+ name: "version",
34723
+ outputs: [{ internalType: "string", name: "", type: "string" }],
34724
+ stateMutability: "view",
34725
+ type: "function",
34726
+ devdoc: {
34727
+ details: "Get the version of the contract.",
34728
+ returns: { _0: "The version of the the contract." }
34729
+ },
34730
+ userdoc: { notice: "Contract version." }
34095
34731
  }
34096
34732
  },
34097
34733
  LSP8Mintable: {
@@ -34120,7 +34756,7 @@ const FunctionSelectors = {
34120
34756
  stateMutability: "nonpayable",
34121
34757
  type: "function",
34122
34758
  devdoc: {
34123
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
34759
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
34124
34760
  params: {
34125
34761
  operator: "The address to authorize as an operator.",
34126
34762
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -34324,16 +34960,18 @@ const FunctionSelectors = {
34324
34960
  * function revokeOperator(
34325
34961
  * address operator,
34326
34962
  * bytes32 tokenId,
34963
+ * bool notify,
34327
34964
  * bytes operatorNotificationData
34328
34965
  * )
34329
34966
  *
34330
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
34967
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
34331
34968
  */
34332
- "0xf1b97e04": {
34333
- sig: "revokeOperator(address,bytes32,bytes)",
34969
+ "0xdb8c9663": {
34970
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
34334
34971
  inputs: [
34335
34972
  { internalType: "address", name: "operator", type: "address" },
34336
34973
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34974
+ { internalType: "bool", name: "notify", type: "bool" },
34337
34975
  {
34338
34976
  internalType: "bytes",
34339
34977
  name: "operatorNotificationData",
@@ -34347,6 +34985,7 @@ const FunctionSelectors = {
34347
34985
  devdoc: {
34348
34986
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
34349
34987
  params: {
34988
+ notify: "Boolean indicating whether to notify the operator or not",
34350
34989
  operator: "The address to revoke as an operator.",
34351
34990
  operatorNotificationData: "The data to notify the operator about via LSP1.",
34352
34991
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -34585,6 +35224,24 @@ const FunctionSelectors = {
34585
35224
  devdoc: {
34586
35225
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
34587
35226
  }
35227
+ },
35228
+ /**
35229
+ * function version()
35230
+ *
35231
+ * 0x54fd4d50 = keccak256('version()')
35232
+ */
35233
+ "0x54fd4d50": {
35234
+ sig: "version()",
35235
+ inputs: [],
35236
+ name: "version",
35237
+ outputs: [{ internalType: "string", name: "", type: "string" }],
35238
+ stateMutability: "view",
35239
+ type: "function",
35240
+ devdoc: {
35241
+ details: "Get the version of the contract.",
35242
+ returns: { _0: "The version of the the contract." }
35243
+ },
35244
+ userdoc: { notice: "Contract version." }
34588
35245
  }
34589
35246
  },
34590
35247
  LSP8MintableInit: {
@@ -34613,7 +35270,7 @@ const FunctionSelectors = {
34613
35270
  stateMutability: "nonpayable",
34614
35271
  type: "function",
34615
35272
  devdoc: {
34616
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
35273
+ details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}. Notify the operator based on the LSP1-UniversalReceiver standard",
34617
35274
  params: {
34618
35275
  operator: "The address to authorize as an operator.",
34619
35276
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -34850,16 +35507,18 @@ const FunctionSelectors = {
34850
35507
  * function revokeOperator(
34851
35508
  * address operator,
34852
35509
  * bytes32 tokenId,
35510
+ * bool notify,
34853
35511
  * bytes operatorNotificationData
34854
35512
  * )
34855
35513
  *
34856
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
35514
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
34857
35515
  */
34858
- "0xf1b97e04": {
34859
- sig: "revokeOperator(address,bytes32,bytes)",
35516
+ "0xdb8c9663": {
35517
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
34860
35518
  inputs: [
34861
35519
  { internalType: "address", name: "operator", type: "address" },
34862
35520
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
35521
+ { internalType: "bool", name: "notify", type: "bool" },
34863
35522
  {
34864
35523
  internalType: "bytes",
34865
35524
  name: "operatorNotificationData",
@@ -34873,6 +35532,7 @@ const FunctionSelectors = {
34873
35532
  devdoc: {
34874
35533
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
34875
35534
  params: {
35535
+ notify: "Boolean indicating whether to notify the operator or not",
34876
35536
  operator: "The address to revoke as an operator.",
34877
35537
  operatorNotificationData: "The data to notify the operator about via LSP1.",
34878
35538
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -35109,6 +35769,24 @@ const FunctionSelectors = {
35109
35769
  devdoc: {
35110
35770
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
35111
35771
  }
35772
+ },
35773
+ /**
35774
+ * function version()
35775
+ *
35776
+ * 0x54fd4d50 = keccak256('version()')
35777
+ */
35778
+ "0x54fd4d50": {
35779
+ sig: "version()",
35780
+ inputs: [],
35781
+ name: "version",
35782
+ outputs: [{ internalType: "string", name: "", type: "string" }],
35783
+ stateMutability: "view",
35784
+ type: "function",
35785
+ devdoc: {
35786
+ details: "Get the version of the contract.",
35787
+ returns: { _0: "The version of the the contract." }
35788
+ },
35789
+ userdoc: { notice: "Contract version." }
35112
35790
  }
35113
35791
  },
35114
35792
  LSP9Vault: {
@@ -35209,7 +35887,7 @@ const FunctionSelectors = {
35209
35887
  stateMutability: "payable",
35210
35888
  type: "function",
35211
35889
  devdoc: {
35212
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0) and `STATICCALL` (3). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {ValueReceived} event when receiving native tokens.",
35890
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0) and `STATICCALL` (3). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {UniversalReceiver} event when receiving native tokens.",
35213
35891
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35214
35892
  "custom:requirements": "- Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3), `value` transfer is disallowed and must be 0.",
35215
35893
  details: "Generic executor function to: - send native tokens to any address. - interact with any contract by passing an abi-encoded function call in the `data` parameter. - deploy a contract by providing its creation bytecode in the `data` parameter.",
@@ -35251,7 +35929,7 @@ const FunctionSelectors = {
35251
35929
  stateMutability: "payable",
35252
35930
  type: "function",
35253
35931
  devdoc: {
35254
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0) and `STATICCALL` (3). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). (each iteration) - {ValueReceived} event when receiving native tokens.",
35932
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0) and `STATICCALL` (3). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). (each iteration) - {UniversalReceiver} event when receiving native tokens.",
35255
35933
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35256
35934
  "custom:requirements": "- The length of the parameters provided must be equal. - Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3), `value` transfer is disallowed and must be 0.",
35257
35935
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -35389,7 +36067,7 @@ const FunctionSelectors = {
35389
36067
  stateMutability: "payable",
35390
36068
  type: "function",
35391
36069
  devdoc: {
35392
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
36070
+ "custom:events": "- {DataChanged} event.",
35393
36071
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35394
36072
  details: "Sets a single bytes value `dataValue` in the ERC725Y storage for a specific data key `dataKey`. The function is marked as payable to enable flexibility on child contracts. For instance to implement a fee mechanism for setting specific data.",
35395
36073
  params: {
@@ -35420,7 +36098,7 @@ const FunctionSelectors = {
35420
36098
  stateMutability: "payable",
35421
36099
  type: "function",
35422
36100
  devdoc: {
35423
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36101
+ "custom:events": "- {DataChanged} event. (on each iteration of setting data)",
35424
36102
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35425
36103
  details: "Batch data setting function that behaves the same as {setData} but allowing to set multiple data key/value pairs in the ERC725Y storage in the same transaction.",
35426
36104
  params: {
@@ -35501,7 +36179,7 @@ const FunctionSelectors = {
35501
36179
  stateMutability: "payable",
35502
36180
  type: "function",
35503
36181
  devdoc: {
35504
- "custom:events": "- {ValueReceived} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
36182
+ "custom:events": "- {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
35505
36183
  details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
35506
36184
  params: {
35507
36185
  receivedData: "The data received.",
@@ -35514,6 +36192,24 @@ const FunctionSelectors = {
35514
36192
  userdoc: {
35515
36193
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
35516
36194
  }
36195
+ },
36196
+ /**
36197
+ * function version()
36198
+ *
36199
+ * 0x54fd4d50 = keccak256('version()')
36200
+ */
36201
+ "0x54fd4d50": {
36202
+ sig: "version()",
36203
+ inputs: [],
36204
+ name: "version",
36205
+ outputs: [{ internalType: "string", name: "", type: "string" }],
36206
+ stateMutability: "view",
36207
+ type: "function",
36208
+ devdoc: {
36209
+ details: "Get the version of the contract.",
36210
+ returns: { _0: "The version of the the contract." }
36211
+ },
36212
+ userdoc: { notice: "Contract version." }
35517
36213
  }
35518
36214
  },
35519
36215
  LSP9VaultInit: {
@@ -35614,7 +36310,7 @@ const FunctionSelectors = {
35614
36310
  stateMutability: "payable",
35615
36311
  type: "function",
35616
36312
  devdoc: {
35617
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0) and `STATICCALL` (3). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {ValueReceived} event when receiving native tokens.",
36313
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0) and `STATICCALL` (3). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {UniversalReceiver} event when receiving native tokens.",
35618
36314
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35619
36315
  "custom:requirements": "- Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3), `value` transfer is disallowed and must be 0.",
35620
36316
  details: "Generic executor function to: - send native tokens to any address. - interact with any contract by passing an abi-encoded function call in the `data` parameter. - deploy a contract by providing its creation bytecode in the `data` parameter.",
@@ -35656,7 +36352,7 @@ const FunctionSelectors = {
35656
36352
  stateMutability: "payable",
35657
36353
  type: "function",
35658
36354
  devdoc: {
35659
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0) and `STATICCALL` (3). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). (each iteration) - {ValueReceived} event when receiving native tokens.",
36355
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0) and `STATICCALL` (3). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). (each iteration) - {UniversalReceiver} event when receiving native tokens.",
35660
36356
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35661
36357
  "custom:requirements": "- The length of the parameters provided must be equal. - Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3), `value` transfer is disallowed and must be 0.",
35662
36358
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -35738,7 +36434,7 @@ const FunctionSelectors = {
35738
36434
  stateMutability: "payable",
35739
36435
  type: "function",
35740
36436
  devdoc: {
35741
- "custom:events": "- {ValueReceived} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}. - {DataChanged} event when updating the {_LSP9_SUPPORTED_STANDARDS_KEY}. - {UniversalReceiver} event when notifying the `initialOwner`.",
36437
+ "custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}. - {DataChanged} event when updating the {_LSP9_SUPPORTED_STANDARDS_KEY}. - {UniversalReceiver} event when notifying the `initialOwner`.",
35742
36438
  details: "Sets `initialOwner` as the contract owner and the `SupportedStandards:LSP9Vault` Data Key. The `initialize(address)` also allows funding the contract on deployment.",
35743
36439
  params: { newOwner: "The new owner of the contract." }
35744
36440
  },
@@ -35817,7 +36513,7 @@ const FunctionSelectors = {
35817
36513
  stateMutability: "payable",
35818
36514
  type: "function",
35819
36515
  devdoc: {
35820
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
36516
+ "custom:events": "- {DataChanged} event.",
35821
36517
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35822
36518
  details: "Sets a single bytes value `dataValue` in the ERC725Y storage for a specific data key `dataKey`. The function is marked as payable to enable flexibility on child contracts. For instance to implement a fee mechanism for setting specific data.",
35823
36519
  params: {
@@ -35848,7 +36544,7 @@ const FunctionSelectors = {
35848
36544
  stateMutability: "payable",
35849
36545
  type: "function",
35850
36546
  devdoc: {
35851
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36547
+ "custom:events": "- {DataChanged} event. (on each iteration of setting data)",
35852
36548
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35853
36549
  details: "Batch data setting function that behaves the same as {setData} but allowing to set multiple data key/value pairs in the ERC725Y storage in the same transaction.",
35854
36550
  params: {
@@ -35929,7 +36625,7 @@ const FunctionSelectors = {
35929
36625
  stateMutability: "payable",
35930
36626
  type: "function",
35931
36627
  devdoc: {
35932
- "custom:events": "- {ValueReceived} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
36628
+ "custom:events": "- {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
35933
36629
  details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
35934
36630
  params: {
35935
36631
  receivedData: "The data received.",
@@ -35942,6 +36638,24 @@ const FunctionSelectors = {
35942
36638
  userdoc: {
35943
36639
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
35944
36640
  }
36641
+ },
36642
+ /**
36643
+ * function version()
36644
+ *
36645
+ * 0x54fd4d50 = keccak256('version()')
36646
+ */
36647
+ "0x54fd4d50": {
36648
+ sig: "version()",
36649
+ inputs: [],
36650
+ name: "version",
36651
+ outputs: [{ internalType: "string", name: "", type: "string" }],
36652
+ stateMutability: "view",
36653
+ type: "function",
36654
+ devdoc: {
36655
+ details: "Get the version of the contract.",
36656
+ returns: { _0: "The version of the the contract." }
36657
+ },
36658
+ userdoc: { notice: "Contract version." }
35945
36659
  }
35946
36660
  },
35947
36661
  UniversalReceiverAddressStore: {
@@ -36197,7 +36911,7 @@ const FunctionSelectors = {
36197
36911
  stateMutability: "payable",
36198
36912
  type: "function",
36199
36913
  devdoc: {
36200
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {ValueReceived} event when receiving native tokens.",
36914
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {UniversalReceiver} event when receiving native tokens.",
36201
36915
  "custom:requirements": "- Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3) or `DELEGATECALL` (4), `value` transfer is disallowed and must be 0.",
36202
36916
  details: "Generic executor function to: - send native tokens to any address. - interact with any contract by passing an abi-encoded function call in the `data` parameter. - deploy a contract by providing its creation bytecode in the `data` parameter.",
36203
36917
  params: {
@@ -36238,7 +36952,7 @@ const FunctionSelectors = {
36238
36952
  stateMutability: "payable",
36239
36953
  type: "function",
36240
36954
  devdoc: {
36241
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2) (each iteration) - {ValueReceived} event when receiving native tokens.",
36955
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2) (each iteration) - {UniversalReceiver} event when receiving native tokens.",
36242
36956
  "custom:requirements": "- The length of the parameters provided must be equal. - Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3) or `DELEGATECALL` (4), `value` transfer is disallowed and must be 0.",
36243
36957
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
36244
36958
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -36410,7 +37124,7 @@ const FunctionSelectors = {
36410
37124
  stateMutability: "payable",
36411
37125
  type: "function",
36412
37126
  devdoc: {
36413
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
37127
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
36414
37128
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36415
37129
  details: "Sets a single bytes value `dataValue` in the ERC725Y storage for a specific data key `dataKey`. The function is marked as payable to enable flexibility on child contracts. For instance to implement a fee mechanism for setting specific data.",
36416
37130
  params: {
@@ -36441,7 +37155,7 @@ const FunctionSelectors = {
36441
37155
  stateMutability: "payable",
36442
37156
  type: "function",
36443
37157
  devdoc: {
36444
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
37158
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36445
37159
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36446
37160
  details: "Batch data setting function that behaves the same as {setData} but allowing to set multiple data key/value pairs in the ERC725Y storage in the same transaction.",
36447
37161
  params: {
@@ -36524,7 +37238,7 @@ const FunctionSelectors = {
36524
37238
  stateMutability: "payable",
36525
37239
  type: "function",
36526
37240
  devdoc: {
36527
- "custom:events": "- {ValueReceived} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
37241
+ "custom:events": "- {UniversalReceiver} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
36528
37242
  details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
36529
37243
  params: {
36530
37244
  receivedData: "The data received.",
@@ -36537,6 +37251,24 @@ const FunctionSelectors = {
36537
37251
  userdoc: {
36538
37252
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
36539
37253
  }
37254
+ },
37255
+ /**
37256
+ * function version()
37257
+ *
37258
+ * 0x54fd4d50 = keccak256('version()')
37259
+ */
37260
+ "0x54fd4d50": {
37261
+ sig: "version()",
37262
+ inputs: [],
37263
+ name: "version",
37264
+ outputs: [{ internalType: "string", name: "", type: "string" }],
37265
+ stateMutability: "view",
37266
+ type: "function",
37267
+ devdoc: {
37268
+ details: "Get the version of the contract.",
37269
+ returns: { _0: "The version of the the contract." }
37270
+ },
37271
+ userdoc: { notice: "Contract version." }
36540
37272
  }
36541
37273
  },
36542
37274
  UniversalProfileInit: {
@@ -36637,7 +37369,7 @@ const FunctionSelectors = {
36637
37369
  stateMutability: "payable",
36638
37370
  type: "function",
36639
37371
  devdoc: {
36640
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {ValueReceived} event when receiving native tokens.",
37372
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2). - {UniversalReceiver} event when receiving native tokens.",
36641
37373
  "custom:requirements": "- Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3) or `DELEGATECALL` (4), `value` transfer is disallowed and must be 0.",
36642
37374
  details: "Generic executor function to: - send native tokens to any address. - interact with any contract by passing an abi-encoded function call in the `data` parameter. - deploy a contract by providing its creation bytecode in the `data` parameter.",
36643
37375
  params: {
@@ -36678,7 +37410,7 @@ const FunctionSelectors = {
36678
37410
  stateMutability: "payable",
36679
37411
  type: "function",
36680
37412
  devdoc: {
36681
- "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2) (each iteration) - {ValueReceived} event when receiving native tokens.",
37413
+ "custom:events": "- {Executed} event for each call that uses under `operationType`: `CALL` (0), `STATICCALL` (3) and `DELEGATECALL` (4). (each iteration) - {ContractCreated} event, when a contract is created under `operationType`: `CREATE` (1) and `CREATE2` (2) (each iteration) - {UniversalReceiver} event when receiving native tokens.",
36682
37414
  "custom:requirements": "- The length of the parameters provided must be equal. - Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner. - If a `value` is provided, the contract must have at least this amount in its balance to execute successfully. - If the operation type is `CREATE` (1) or `CREATE2` (2), `target` must be `address(0)`. - If the operation type is `STATICCALL` (3) or `DELEGATECALL` (4), `value` transfer is disallowed and must be 0.",
36683
37415
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
36684
37416
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -36762,7 +37494,7 @@ const FunctionSelectors = {
36762
37494
  stateMutability: "payable",
36763
37495
  type: "function",
36764
37496
  devdoc: {
36765
- "custom:events": "- {ValueReceived} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
37497
+ "custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
36766
37498
  details: "Set `initialOwner` as the contract owner and the `SupportedStandards:LSP3UniversalProfile` data key in the ERC725Y data key/value store. The `constructor` also allows funding the contract on deployment. The `initialOwner` will then be allowed to call protected functions marked with the `onlyOwner` modifier. The `initialize(address)` function also allows funding the contract on initialization.",
36767
37499
  params: { initialOwner: "the owner of the contract" }
36768
37500
  },
@@ -36875,7 +37607,7 @@ const FunctionSelectors = {
36875
37607
  stateMutability: "payable",
36876
37608
  type: "function",
36877
37609
  devdoc: {
36878
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
37610
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
36879
37611
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36880
37612
  details: "Sets a single bytes value `dataValue` in the ERC725Y storage for a specific data key `dataKey`. The function is marked as payable to enable flexibility on child contracts. For instance to implement a fee mechanism for setting specific data.",
36881
37613
  params: {
@@ -36906,7 +37638,7 @@ const FunctionSelectors = {
36906
37638
  stateMutability: "payable",
36907
37639
  type: "function",
36908
37640
  devdoc: {
36909
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
37641
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36910
37642
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36911
37643
  details: "Batch data setting function that behaves the same as {setData} but allowing to set multiple data key/value pairs in the ERC725Y storage in the same transaction.",
36912
37644
  params: {
@@ -36989,7 +37721,7 @@ const FunctionSelectors = {
36989
37721
  stateMutability: "payable",
36990
37722
  type: "function",
36991
37723
  devdoc: {
36992
- "custom:events": "- {ValueReceived} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
37724
+ "custom:events": "- {UniversalReceiver} when receiving native tokens. - {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
36993
37725
  details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
36994
37726
  params: {
36995
37727
  receivedData: "The data received.",
@@ -37002,6 +37734,24 @@ const FunctionSelectors = {
37002
37734
  userdoc: {
37003
37735
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
37004
37736
  }
37737
+ },
37738
+ /**
37739
+ * function version()
37740
+ *
37741
+ * 0x54fd4d50 = keccak256('version()')
37742
+ */
37743
+ "0x54fd4d50": {
37744
+ sig: "version()",
37745
+ inputs: [],
37746
+ name: "version",
37747
+ outputs: [{ internalType: "string", name: "", type: "string" }],
37748
+ stateMutability: "view",
37749
+ type: "function",
37750
+ devdoc: {
37751
+ details: "Get the version of the contract.",
37752
+ returns: { _0: "The version of the the contract." }
37753
+ },
37754
+ userdoc: { notice: "Contract version." }
37005
37755
  }
37006
37756
  }
37007
37757
  };
@@ -37067,8 +37817,8 @@ const INTERFACE_IDS = {
37067
37817
  LSP1UniversalReceiver: "0x6bb56a14",
37068
37818
  LSP1UniversalReceiverDelegate: "0xa245bbda",
37069
37819
  LSP6KeyManager: "0x23f34c62",
37070
- LSP7DigitalAsset: "0x05519512",
37071
- LSP8IdentifiableDigitalAsset: "0x1ae9ba1f",
37820
+ LSP7DigitalAsset: "0xdaa746b7",
37821
+ LSP8IdentifiableDigitalAsset: "0x30dc5278",
37072
37822
  LSP9Vault: "0x28af17e6",
37073
37823
  LSP11BasicSocialRecovery: "0x049a28f1",
37074
37824
  LSP14Ownable2Step: "0x94be5999",
@@ -37165,7 +37915,10 @@ const ERC725YDataKeys = {
37165
37915
  "AddressPermissions:AllowedCalls": "0x4b80742de2bf393a64c70000"
37166
37916
  },
37167
37917
  LSP8: {
37168
- LSP8TokenIdType: "0x715f248956de7ce65e94d9d836bfead479f7e70d69b718d47bfe7b00e05b4fe4"
37918
+ LSP8TokenIdType: "0x715f248956de7ce65e94d9d836bfead479f7e70d69b718d47bfe7b00e05b4fe4",
37919
+ LSP8MetadataTokenURI: "0x1339e76a390b7b9ec9010000",
37920
+ LSP8TokenMetadataBaseURI: "0x1a7628600c3bac7101f53697f48df381ddc36b9015e7d7c9c5633d1252aa2843",
37921
+ LSP8ReferenceContract: "0x708e7b881795f2e6b6c2752108c177ec89248458de3bf69d0d43480b3e5034e6"
37169
37922
  },
37170
37923
  LSP9: {
37171
37924
  SupportedStandards_LSP9: SupportedStandards.LSP9Vault.key
@@ -37249,6 +38002,8 @@ const PERMISSIONS = {
37249
38002
  // 0100 0000 0000 0000 0000 0000
37250
38003
  };
37251
38004
  const LSP1_TYPE_IDS = {
38005
+ // keccak256('LSP0ValueReceived')
38006
+ LSP0ValueReceived: "0x9c4705229491d365fb5434052e12a386d6771d976bea61070a8c694e8affea3d",
37252
38007
  // keccak256('LSP0OwnershipTransferStarted')
37253
38008
  LSP0OwnershipTransferStarted: "0xe17117c9d2665d1dbeb479ed8058bbebde3c50ac50e2e65619f60006caac6926",
37254
38009
  // keccak256('LSP0OwnershipTransferred_SenderNotification')
@@ -37267,6 +38022,8 @@ const LSP1_TYPE_IDS = {
37267
38022
  LSP8Tokens_RecipientNotification: "0x0b084a55ebf70fd3c06fd755269dac2212c4d3f0f4d09079780bfa50c1b2984d",
37268
38023
  // keccak256('LSP8Tokens_OperatorNotification')
37269
38024
  LSP8Tokens_OperatorNotification: "0x8a1c15a8799f71b547e08e2bcb2e85257e81b0a07eee2ce6712549eef1f00970",
38025
+ // keccak256('LSP9ValueReceived')
38026
+ LSP9ValueReceived: "0x468cd1581d7bc001c3b685513d2b929b55437be34700410383d58f3aa1ea0abc",
37270
38027
  // keccak256('LSP9OwnershipTransferStarted')
37271
38028
  LSP9OwnershipTransferStarted: "0xaefd43f45fed1bcd8992f23c803b6f4ec45cf6b62b0d404d565f290a471e763f",
37272
38029
  // keccak256('LSP9OwnershipTransferred_SenderNotification')