@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
@@ -300,16 +300,16 @@ const ErrorSelectors = {
300
300
  /**
301
301
  * error LSP20CallVerificationFailed(
302
302
  * bool postCall,
303
- * bytes returnedData
303
+ * bytes4 returnedStatus
304
304
  * )
305
305
  *
306
- * 0x00c28d0f = keccak256('LSP20CallVerificationFailed(bool,bytes)')
306
+ * 0x9d6741e3 = keccak256('LSP20CallVerificationFailed(bool,bytes4)')
307
307
  */
308
- "0x00c28d0f": {
309
- sig: "LSP20CallVerificationFailed(bool,bytes)",
308
+ "0x9d6741e3": {
309
+ sig: "LSP20CallVerificationFailed(bool,bytes4)",
310
310
  inputs: [
311
311
  { internalType: "bool", name: "postCall", type: "bool" },
312
- { internalType: "bytes", name: "returnedData", type: "bytes" }
312
+ { internalType: "bytes4", name: "returnedStatus", type: "bytes4" }
313
313
  ],
314
314
  name: "LSP20CallVerificationFailed",
315
315
  type: "error",
@@ -318,7 +318,7 @@ const ErrorSelectors = {
318
318
  details: "reverts when the call to the owner does not return the LSP20 success value",
319
319
  params: {
320
320
  postCall: "True if the execution call was done, False otherwise",
321
- returnedData: "The data returned by the call to the logic verifier"
321
+ returnedStatus: "The bytes4 decoded data returned by the logic verifier."
322
322
  }
323
323
  }
324
324
  ]
@@ -687,16 +687,16 @@ const ErrorSelectors = {
687
687
  /**
688
688
  * error LSP20CallVerificationFailed(
689
689
  * bool postCall,
690
- * bytes returnedData
690
+ * bytes4 returnedStatus
691
691
  * )
692
692
  *
693
- * 0x00c28d0f = keccak256('LSP20CallVerificationFailed(bool,bytes)')
693
+ * 0x9d6741e3 = keccak256('LSP20CallVerificationFailed(bool,bytes4)')
694
694
  */
695
- "0x00c28d0f": {
696
- sig: "LSP20CallVerificationFailed(bool,bytes)",
695
+ "0x9d6741e3": {
696
+ sig: "LSP20CallVerificationFailed(bool,bytes4)",
697
697
  inputs: [
698
698
  { internalType: "bool", name: "postCall", type: "bool" },
699
- { internalType: "bytes", name: "returnedData", type: "bytes" }
699
+ { internalType: "bytes4", name: "returnedStatus", type: "bytes4" }
700
700
  ],
701
701
  name: "LSP20CallVerificationFailed",
702
702
  type: "error",
@@ -705,7 +705,7 @@ const ErrorSelectors = {
705
705
  details: "reverts when the call to the owner does not return the LSP20 success value",
706
706
  params: {
707
707
  postCall: "True if the execution call was done, False otherwise",
708
- returnedData: "The data returned by the call to the logic verifier"
708
+ returnedStatus: "The bytes4 decoded data returned by the logic verifier."
709
709
  }
710
710
  }
711
711
  ]
@@ -1662,6 +1662,38 @@ const ErrorSelectors = {
1662
1662
  }
1663
1663
  ]
1664
1664
  },
1665
+ /**
1666
+ * error ERC725X_ExecuteParametersEmptyArray()
1667
+ *
1668
+ * 0xe9ad2b5f = keccak256('ERC725X_ExecuteParametersEmptyArray()')
1669
+ */
1670
+ "0xe9ad2b5f": {
1671
+ sig: "ERC725X_ExecuteParametersEmptyArray()",
1672
+ inputs: [],
1673
+ name: "ERC725X_ExecuteParametersEmptyArray",
1674
+ type: "error",
1675
+ devdoc: [
1676
+ {
1677
+ details: "Reverts when one of the array parameter provided to the {executeBatch} function is an empty array."
1678
+ }
1679
+ ]
1680
+ },
1681
+ /**
1682
+ * error ERC725X_ExecuteParametersLengthMismatch()
1683
+ *
1684
+ * 0x3ff55f4d = keccak256('ERC725X_ExecuteParametersLengthMismatch()')
1685
+ */
1686
+ "0x3ff55f4d": {
1687
+ sig: "ERC725X_ExecuteParametersLengthMismatch()",
1688
+ inputs: [],
1689
+ name: "ERC725X_ExecuteParametersLengthMismatch",
1690
+ type: "error",
1691
+ devdoc: [
1692
+ {
1693
+ 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."
1694
+ }
1695
+ ]
1696
+ },
1665
1697
  /**
1666
1698
  * error ERC725Y_DataKeysValuesLengthMismatch()
1667
1699
  *
@@ -2287,6 +2319,38 @@ const ErrorSelectors = {
2287
2319
  }
2288
2320
  ]
2289
2321
  },
2322
+ /**
2323
+ * error ERC725X_ExecuteParametersEmptyArray()
2324
+ *
2325
+ * 0xe9ad2b5f = keccak256('ERC725X_ExecuteParametersEmptyArray()')
2326
+ */
2327
+ "0xe9ad2b5f": {
2328
+ sig: "ERC725X_ExecuteParametersEmptyArray()",
2329
+ inputs: [],
2330
+ name: "ERC725X_ExecuteParametersEmptyArray",
2331
+ type: "error",
2332
+ devdoc: [
2333
+ {
2334
+ details: "Reverts when one of the array parameter provided to the {executeBatch} function is an empty array."
2335
+ }
2336
+ ]
2337
+ },
2338
+ /**
2339
+ * error ERC725X_ExecuteParametersLengthMismatch()
2340
+ *
2341
+ * 0x3ff55f4d = keccak256('ERC725X_ExecuteParametersLengthMismatch()')
2342
+ */
2343
+ "0x3ff55f4d": {
2344
+ sig: "ERC725X_ExecuteParametersLengthMismatch()",
2345
+ inputs: [],
2346
+ name: "ERC725X_ExecuteParametersLengthMismatch",
2347
+ type: "error",
2348
+ devdoc: [
2349
+ {
2350
+ 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."
2351
+ }
2352
+ ]
2353
+ },
2290
2354
  /**
2291
2355
  * error ERC725Y_DataKeysValuesLengthMismatch()
2292
2356
  *
@@ -3167,6 +3231,24 @@ const ErrorSelectors = {
3167
3231
  }
3168
3232
  ]
3169
3233
  },
3234
+ /**
3235
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
3236
+ * address operator
3237
+ * )
3238
+ *
3239
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
3240
+ */
3241
+ "0xcba6e977": {
3242
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
3243
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
3244
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
3245
+ type: "error",
3246
+ devdoc: [
3247
+ {
3248
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
3249
+ }
3250
+ ]
3251
+ },
3170
3252
  /**
3171
3253
  * error OwnableCallerNotTheOwner(
3172
3254
  * address callerAddress
@@ -3545,6 +3627,24 @@ const ErrorSelectors = {
3545
3627
  }
3546
3628
  ]
3547
3629
  },
3630
+ /**
3631
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
3632
+ * address operator
3633
+ * )
3634
+ *
3635
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
3636
+ */
3637
+ "0xcba6e977": {
3638
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
3639
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
3640
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
3641
+ type: "error",
3642
+ devdoc: [
3643
+ {
3644
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
3645
+ }
3646
+ ]
3647
+ },
3548
3648
  /**
3549
3649
  * error OwnableCallerNotTheOwner(
3550
3650
  * address callerAddress
@@ -3963,6 +4063,24 @@ const ErrorSelectors = {
3963
4063
  }
3964
4064
  ]
3965
4065
  },
4066
+ /**
4067
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
4068
+ * address operator
4069
+ * )
4070
+ *
4071
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
4072
+ */
4073
+ "0xcba6e977": {
4074
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
4075
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
4076
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
4077
+ type: "error",
4078
+ devdoc: [
4079
+ {
4080
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
4081
+ }
4082
+ ]
4083
+ },
3966
4084
  /**
3967
4085
  * error OwnableCallerNotTheOwner(
3968
4086
  * address callerAddress
@@ -4381,6 +4499,24 @@ const ErrorSelectors = {
4381
4499
  }
4382
4500
  ]
4383
4501
  },
4502
+ /**
4503
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
4504
+ * address operator
4505
+ * )
4506
+ *
4507
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
4508
+ */
4509
+ "0xcba6e977": {
4510
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
4511
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
4512
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
4513
+ type: "error",
4514
+ devdoc: [
4515
+ {
4516
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
4517
+ }
4518
+ ]
4519
+ },
4384
4520
  /**
4385
4521
  * error OwnableCallerNotTheOwner(
4386
4522
  * address callerAddress
@@ -4759,6 +4895,24 @@ const ErrorSelectors = {
4759
4895
  }
4760
4896
  ]
4761
4897
  },
4898
+ /**
4899
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
4900
+ * address operator
4901
+ * )
4902
+ *
4903
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
4904
+ */
4905
+ "0xcba6e977": {
4906
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
4907
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
4908
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
4909
+ type: "error",
4910
+ devdoc: [
4911
+ {
4912
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
4913
+ }
4914
+ ]
4915
+ },
4762
4916
  /**
4763
4917
  * error OwnableCallerNotTheOwner(
4764
4918
  * address callerAddress
@@ -5137,6 +5291,24 @@ const ErrorSelectors = {
5137
5291
  }
5138
5292
  ]
5139
5293
  },
5294
+ /**
5295
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
5296
+ * address operator
5297
+ * )
5298
+ *
5299
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
5300
+ */
5301
+ "0xcba6e977": {
5302
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
5303
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
5304
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
5305
+ type: "error",
5306
+ devdoc: [
5307
+ {
5308
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
5309
+ }
5310
+ ]
5311
+ },
5140
5312
  /**
5141
5313
  * error OwnableCallerNotTheOwner(
5142
5314
  * address callerAddress
@@ -5515,6 +5687,24 @@ const ErrorSelectors = {
5515
5687
  }
5516
5688
  ]
5517
5689
  },
5690
+ /**
5691
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
5692
+ * address operator
5693
+ * )
5694
+ *
5695
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
5696
+ */
5697
+ "0xcba6e977": {
5698
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
5699
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
5700
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
5701
+ type: "error",
5702
+ devdoc: [
5703
+ {
5704
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
5705
+ }
5706
+ ]
5707
+ },
5518
5708
  /**
5519
5709
  * error OwnableCallerNotTheOwner(
5520
5710
  * address callerAddress
@@ -5893,6 +6083,24 @@ const ErrorSelectors = {
5893
6083
  }
5894
6084
  ]
5895
6085
  },
6086
+ /**
6087
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
6088
+ * address operator
6089
+ * )
6090
+ *
6091
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
6092
+ */
6093
+ "0xcba6e977": {
6094
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
6095
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
6096
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
6097
+ type: "error",
6098
+ devdoc: [
6099
+ {
6100
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
6101
+ }
6102
+ ]
6103
+ },
5896
6104
  /**
5897
6105
  * error OwnableCallerNotTheOwner(
5898
6106
  * address callerAddress
@@ -6271,6 +6479,24 @@ const ErrorSelectors = {
6271
6479
  }
6272
6480
  ]
6273
6481
  },
6482
+ /**
6483
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
6484
+ * address operator
6485
+ * )
6486
+ *
6487
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
6488
+ */
6489
+ "0xcba6e977": {
6490
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
6491
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
6492
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
6493
+ type: "error",
6494
+ devdoc: [
6495
+ {
6496
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
6497
+ }
6498
+ ]
6499
+ },
6274
6500
  /**
6275
6501
  * error OwnableCallerNotTheOwner(
6276
6502
  * address callerAddress
@@ -6649,6 +6875,24 @@ const ErrorSelectors = {
6649
6875
  }
6650
6876
  ]
6651
6877
  },
6878
+ /**
6879
+ * error OperatorAllowanceCannotBeIncreasedFromZero(
6880
+ * address operator
6881
+ * )
6882
+ *
6883
+ * 0xcba6e977 = keccak256('OperatorAllowanceCannotBeIncreasedFromZero(address)')
6884
+ */
6885
+ "0xcba6e977": {
6886
+ sig: "OperatorAllowanceCannotBeIncreasedFromZero(address)",
6887
+ inputs: [{ internalType: "address", name: "operator", type: "address" }],
6888
+ name: "OperatorAllowanceCannotBeIncreasedFromZero",
6889
+ type: "error",
6890
+ devdoc: [
6891
+ {
6892
+ details: "Reverts when token owner call {increaseAllowance} for an operator that does not have any allowance"
6893
+ }
6894
+ ]
6895
+ },
6652
6896
  /**
6653
6897
  * error OwnableCallerNotTheOwner(
6654
6898
  * address callerAddress
@@ -12124,16 +12368,16 @@ const ErrorSelectors = {
12124
12368
  /**
12125
12369
  * error LSP20CallVerificationFailed(
12126
12370
  * bool postCall,
12127
- * bytes returnedData
12371
+ * bytes4 returnedStatus
12128
12372
  * )
12129
12373
  *
12130
- * 0x00c28d0f = keccak256('LSP20CallVerificationFailed(bool,bytes)')
12374
+ * 0x9d6741e3 = keccak256('LSP20CallVerificationFailed(bool,bytes4)')
12131
12375
  */
12132
- "0x00c28d0f": {
12133
- sig: "LSP20CallVerificationFailed(bool,bytes)",
12376
+ "0x9d6741e3": {
12377
+ sig: "LSP20CallVerificationFailed(bool,bytes4)",
12134
12378
  inputs: [
12135
12379
  { internalType: "bool", name: "postCall", type: "bool" },
12136
- { internalType: "bytes", name: "returnedData", type: "bytes" }
12380
+ { internalType: "bytes4", name: "returnedStatus", type: "bytes4" }
12137
12381
  ],
12138
12382
  name: "LSP20CallVerificationFailed",
12139
12383
  type: "error",
@@ -12142,7 +12386,7 @@ const ErrorSelectors = {
12142
12386
  details: "reverts when the call to the owner does not return the LSP20 success value",
12143
12387
  params: {
12144
12388
  postCall: "True if the execution call was done, False otherwise",
12145
- returnedData: "The data returned by the call to the logic verifier"
12389
+ returnedStatus: "The bytes4 decoded data returned by the logic verifier."
12146
12390
  }
12147
12391
  }
12148
12392
  ]
@@ -12511,16 +12755,16 @@ const ErrorSelectors = {
12511
12755
  /**
12512
12756
  * error LSP20CallVerificationFailed(
12513
12757
  * bool postCall,
12514
- * bytes returnedData
12758
+ * bytes4 returnedStatus
12515
12759
  * )
12516
12760
  *
12517
- * 0x00c28d0f = keccak256('LSP20CallVerificationFailed(bool,bytes)')
12761
+ * 0x9d6741e3 = keccak256('LSP20CallVerificationFailed(bool,bytes4)')
12518
12762
  */
12519
- "0x00c28d0f": {
12520
- sig: "LSP20CallVerificationFailed(bool,bytes)",
12763
+ "0x9d6741e3": {
12764
+ sig: "LSP20CallVerificationFailed(bool,bytes4)",
12521
12765
  inputs: [
12522
12766
  { internalType: "bool", name: "postCall", type: "bool" },
12523
- { internalType: "bytes", name: "returnedData", type: "bytes" }
12767
+ { internalType: "bytes4", name: "returnedStatus", type: "bytes4" }
12524
12768
  ],
12525
12769
  name: "LSP20CallVerificationFailed",
12526
12770
  type: "error",
@@ -12529,7 +12773,7 @@ const ErrorSelectors = {
12529
12773
  details: "reverts when the call to the owner does not return the LSP20 success value",
12530
12774
  params: {
12531
12775
  postCall: "True if the execution call was done, False otherwise",
12532
- returnedData: "The data returned by the call to the logic verifier"
12776
+ returnedStatus: "The bytes4 decoded data returned by the logic verifier."
12533
12777
  }
12534
12778
  }
12535
12779
  ]
@@ -12889,35 +13133,6 @@ const EventSigHashes = {
12889
13133
  userdoc: {
12890
13134
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
12891
13135
  }
12892
- },
12893
- /**
12894
- * event ValueReceived(
12895
- * address indexed sender,
12896
- * uint256 indexed value
12897
- * )
12898
- *
12899
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
12900
- */
12901
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
12902
- sig: "ValueReceived(address,uint256)",
12903
- anonymous: false,
12904
- inputs: [
12905
- {
12906
- indexed: true,
12907
- internalType: "address",
12908
- name: "sender",
12909
- type: "address"
12910
- },
12911
- {
12912
- indexed: true,
12913
- internalType: "uint256",
12914
- name: "value",
12915
- type: "uint256"
12916
- }
12917
- ],
12918
- name: "ValueReceived",
12919
- type: "event",
12920
- userdoc: { notice: "`value` native tokens received from `sender`." }
12921
13136
  }
12922
13137
  },
12923
13138
  LSP0ERC725AccountInit: {
@@ -13201,35 +13416,6 @@ const EventSigHashes = {
13201
13416
  userdoc: {
13202
13417
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
13203
13418
  }
13204
- },
13205
- /**
13206
- * event ValueReceived(
13207
- * address indexed sender,
13208
- * uint256 indexed value
13209
- * )
13210
- *
13211
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
13212
- */
13213
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
13214
- sig: "ValueReceived(address,uint256)",
13215
- anonymous: false,
13216
- inputs: [
13217
- {
13218
- indexed: true,
13219
- internalType: "address",
13220
- name: "sender",
13221
- type: "address"
13222
- },
13223
- {
13224
- indexed: true,
13225
- internalType: "uint256",
13226
- name: "value",
13227
- type: "uint256"
13228
- }
13229
- ],
13230
- name: "ValueReceived",
13231
- type: "event",
13232
- userdoc: { notice: "`value` native tokens received from `sender`." }
13233
13419
  }
13234
13420
  },
13235
13421
  LSP11BasicSocialRecovery: {
@@ -14243,13 +14429,14 @@ const EventSigHashes = {
14243
14429
  * event RevokedOperator(
14244
14430
  * address indexed operator,
14245
14431
  * address indexed tokenOwner,
14432
+ * bool notified,
14246
14433
  * bytes operatorNotificationData
14247
14434
  * )
14248
14435
  *
14249
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
14436
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
14250
14437
  */
14251
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
14252
- sig: "RevokedOperator(address,address,bytes)",
14438
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
14439
+ sig: "RevokedOperator(address,address,bool,bytes)",
14253
14440
  anonymous: false,
14254
14441
  inputs: [
14255
14442
  {
@@ -14264,6 +14451,12 @@ const EventSigHashes = {
14264
14451
  name: "tokenOwner",
14265
14452
  type: "address"
14266
14453
  },
14454
+ {
14455
+ indexed: false,
14456
+ internalType: "bool",
14457
+ name: "notified",
14458
+ type: "bool"
14459
+ },
14267
14460
  {
14268
14461
  indexed: false,
14269
14462
  internalType: "bytes",
@@ -14443,13 +14636,14 @@ const EventSigHashes = {
14443
14636
  * event RevokedOperator(
14444
14637
  * address indexed operator,
14445
14638
  * address indexed tokenOwner,
14639
+ * bool notified,
14446
14640
  * bytes operatorNotificationData
14447
14641
  * )
14448
14642
  *
14449
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
14643
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
14450
14644
  */
14451
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
14452
- sig: "RevokedOperator(address,address,bytes)",
14645
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
14646
+ sig: "RevokedOperator(address,address,bool,bytes)",
14453
14647
  anonymous: false,
14454
14648
  inputs: [
14455
14649
  {
@@ -14464,6 +14658,12 @@ const EventSigHashes = {
14464
14658
  name: "tokenOwner",
14465
14659
  type: "address"
14466
14660
  },
14661
+ {
14662
+ indexed: false,
14663
+ internalType: "bool",
14664
+ name: "notified",
14665
+ type: "bool"
14666
+ },
14467
14667
  {
14468
14668
  indexed: false,
14469
14669
  internalType: "bytes",
@@ -14622,13 +14822,14 @@ const EventSigHashes = {
14622
14822
  * event RevokedOperator(
14623
14823
  * address indexed operator,
14624
14824
  * address indexed tokenOwner,
14825
+ * bool notified,
14625
14826
  * bytes operatorNotificationData
14626
14827
  * )
14627
14828
  *
14628
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
14829
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
14629
14830
  */
14630
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
14631
- sig: "RevokedOperator(address,address,bytes)",
14831
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
14832
+ sig: "RevokedOperator(address,address,bool,bytes)",
14632
14833
  anonymous: false,
14633
14834
  inputs: [
14634
14835
  {
@@ -14643,6 +14844,12 @@ const EventSigHashes = {
14643
14844
  name: "tokenOwner",
14644
14845
  type: "address"
14645
14846
  },
14847
+ {
14848
+ indexed: false,
14849
+ internalType: "bool",
14850
+ name: "notified",
14851
+ type: "bool"
14852
+ },
14646
14853
  {
14647
14854
  indexed: false,
14648
14855
  internalType: "bytes",
@@ -14822,13 +15029,14 @@ const EventSigHashes = {
14822
15029
  * event RevokedOperator(
14823
15030
  * address indexed operator,
14824
15031
  * address indexed tokenOwner,
15032
+ * bool notified,
14825
15033
  * bytes operatorNotificationData
14826
15034
  * )
14827
15035
  *
14828
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
15036
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
14829
15037
  */
14830
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
14831
- sig: "RevokedOperator(address,address,bytes)",
15038
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
15039
+ sig: "RevokedOperator(address,address,bool,bytes)",
14832
15040
  anonymous: false,
14833
15041
  inputs: [
14834
15042
  {
@@ -14843,6 +15051,12 @@ const EventSigHashes = {
14843
15051
  name: "tokenOwner",
14844
15052
  type: "address"
14845
15053
  },
15054
+ {
15055
+ indexed: false,
15056
+ internalType: "bool",
15057
+ name: "notified",
15058
+ type: "bool"
15059
+ },
14846
15060
  {
14847
15061
  indexed: false,
14848
15062
  internalType: "bytes",
@@ -15036,13 +15250,14 @@ const EventSigHashes = {
15036
15250
  * event RevokedOperator(
15037
15251
  * address indexed operator,
15038
15252
  * address indexed tokenOwner,
15253
+ * bool notified,
15039
15254
  * bytes operatorNotificationData
15040
15255
  * )
15041
15256
  *
15042
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
15257
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
15043
15258
  */
15044
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
15045
- sig: "RevokedOperator(address,address,bytes)",
15259
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
15260
+ sig: "RevokedOperator(address,address,bool,bytes)",
15046
15261
  anonymous: false,
15047
15262
  inputs: [
15048
15263
  {
@@ -15057,6 +15272,12 @@ const EventSigHashes = {
15057
15272
  name: "tokenOwner",
15058
15273
  type: "address"
15059
15274
  },
15275
+ {
15276
+ indexed: false,
15277
+ internalType: "bool",
15278
+ name: "notified",
15279
+ type: "bool"
15280
+ },
15060
15281
  {
15061
15282
  indexed: false,
15062
15283
  internalType: "bytes",
@@ -15301,13 +15522,14 @@ const EventSigHashes = {
15301
15522
  * event RevokedOperator(
15302
15523
  * address indexed operator,
15303
15524
  * address indexed tokenOwner,
15525
+ * bool notified,
15304
15526
  * bytes operatorNotificationData
15305
15527
  * )
15306
15528
  *
15307
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
15529
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
15308
15530
  */
15309
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
15310
- sig: "RevokedOperator(address,address,bytes)",
15531
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
15532
+ sig: "RevokedOperator(address,address,bool,bytes)",
15311
15533
  anonymous: false,
15312
15534
  inputs: [
15313
15535
  {
@@ -15322,6 +15544,12 @@ const EventSigHashes = {
15322
15544
  name: "tokenOwner",
15323
15545
  type: "address"
15324
15546
  },
15547
+ {
15548
+ indexed: false,
15549
+ internalType: "bool",
15550
+ name: "notified",
15551
+ type: "bool"
15552
+ },
15325
15553
  {
15326
15554
  indexed: false,
15327
15555
  internalType: "bytes",
@@ -15545,13 +15773,14 @@ const EventSigHashes = {
15545
15773
  * event RevokedOperator(
15546
15774
  * address indexed operator,
15547
15775
  * address indexed tokenOwner,
15776
+ * bool notified,
15548
15777
  * bytes operatorNotificationData
15549
15778
  * )
15550
15779
  *
15551
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
15780
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
15552
15781
  */
15553
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
15554
- sig: "RevokedOperator(address,address,bytes)",
15782
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
15783
+ sig: "RevokedOperator(address,address,bool,bytes)",
15555
15784
  anonymous: false,
15556
15785
  inputs: [
15557
15786
  {
@@ -15566,6 +15795,12 @@ const EventSigHashes = {
15566
15795
  name: "tokenOwner",
15567
15796
  type: "address"
15568
15797
  },
15798
+ {
15799
+ indexed: false,
15800
+ internalType: "bool",
15801
+ name: "notified",
15802
+ type: "bool"
15803
+ },
15569
15804
  {
15570
15805
  indexed: false,
15571
15806
  internalType: "bytes",
@@ -15810,13 +16045,14 @@ const EventSigHashes = {
15810
16045
  * event RevokedOperator(
15811
16046
  * address indexed operator,
15812
16047
  * address indexed tokenOwner,
16048
+ * bool notified,
15813
16049
  * bytes operatorNotificationData
15814
16050
  * )
15815
16051
  *
15816
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
16052
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
15817
16053
  */
15818
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
15819
- sig: "RevokedOperator(address,address,bytes)",
16054
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
16055
+ sig: "RevokedOperator(address,address,bool,bytes)",
15820
16056
  anonymous: false,
15821
16057
  inputs: [
15822
16058
  {
@@ -15831,6 +16067,12 @@ const EventSigHashes = {
15831
16067
  name: "tokenOwner",
15832
16068
  type: "address"
15833
16069
  },
16070
+ {
16071
+ indexed: false,
16072
+ internalType: "bool",
16073
+ name: "notified",
16074
+ type: "bool"
16075
+ },
15834
16076
  {
15835
16077
  indexed: false,
15836
16078
  internalType: "bytes",
@@ -16019,13 +16261,14 @@ const EventSigHashes = {
16019
16261
  * event RevokedOperator(
16020
16262
  * address indexed operator,
16021
16263
  * address indexed tokenOwner,
16264
+ * bool notified,
16022
16265
  * bytes operatorNotificationData
16023
16266
  * )
16024
16267
  *
16025
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
16268
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
16026
16269
  */
16027
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
16028
- sig: "RevokedOperator(address,address,bytes)",
16270
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
16271
+ sig: "RevokedOperator(address,address,bool,bytes)",
16029
16272
  anonymous: false,
16030
16273
  inputs: [
16031
16274
  {
@@ -16040,6 +16283,12 @@ const EventSigHashes = {
16040
16283
  name: "tokenOwner",
16041
16284
  type: "address"
16042
16285
  },
16286
+ {
16287
+ indexed: false,
16288
+ internalType: "bool",
16289
+ name: "notified",
16290
+ type: "bool"
16291
+ },
16043
16292
  {
16044
16293
  indexed: false,
16045
16294
  internalType: "bytes",
@@ -16219,13 +16468,14 @@ const EventSigHashes = {
16219
16468
  * event RevokedOperator(
16220
16469
  * address indexed operator,
16221
16470
  * address indexed tokenOwner,
16471
+ * bool notified,
16222
16472
  * bytes operatorNotificationData
16223
16473
  * )
16224
16474
  *
16225
- * 0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228 = keccak256('RevokedOperator(address,address,bytes)')
16475
+ * 0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22 = keccak256('RevokedOperator(address,address,bool,bytes)')
16226
16476
  */
16227
- "0x9ebfc34ce0da1178c4be66252d63a8a173d733c4bbb049241ce142dc4f0e0228": {
16228
- sig: "RevokedOperator(address,address,bytes)",
16477
+ "0x66015c8835ee443e5bc280176609215a5035da4bae05bdef994596d7e43aae22": {
16478
+ sig: "RevokedOperator(address,address,bool,bytes)",
16229
16479
  anonymous: false,
16230
16480
  inputs: [
16231
16481
  {
@@ -16240,6 +16490,12 @@ const EventSigHashes = {
16240
16490
  name: "tokenOwner",
16241
16491
  type: "address"
16242
16492
  },
16493
+ {
16494
+ indexed: false,
16495
+ internalType: "bool",
16496
+ name: "notified",
16497
+ type: "bool"
16498
+ },
16243
16499
  {
16244
16500
  indexed: false,
16245
16501
  internalType: "bytes",
@@ -16399,13 +16655,14 @@ const EventSigHashes = {
16399
16655
  * address indexed operator,
16400
16656
  * address indexed tokenOwner,
16401
16657
  * bytes32 indexed tokenId,
16658
+ * bool notified,
16402
16659
  * bytes operatorNotificationData
16403
16660
  * )
16404
16661
  *
16405
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
16662
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
16406
16663
  */
16407
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
16408
- sig: "RevokedOperator(address,address,bytes32,bytes)",
16664
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
16665
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
16409
16666
  anonymous: false,
16410
16667
  inputs: [
16411
16668
  {
@@ -16426,6 +16683,12 @@ const EventSigHashes = {
16426
16683
  name: "tokenId",
16427
16684
  type: "bytes32"
16428
16685
  },
16686
+ {
16687
+ indexed: false,
16688
+ internalType: "bool",
16689
+ name: "notified",
16690
+ type: "bool"
16691
+ },
16429
16692
  {
16430
16693
  indexed: false,
16431
16694
  internalType: "bytes",
@@ -16606,13 +16869,14 @@ const EventSigHashes = {
16606
16869
  * address indexed operator,
16607
16870
  * address indexed tokenOwner,
16608
16871
  * bytes32 indexed tokenId,
16872
+ * bool notified,
16609
16873
  * bytes operatorNotificationData
16610
16874
  * )
16611
16875
  *
16612
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
16876
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
16613
16877
  */
16614
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
16615
- sig: "RevokedOperator(address,address,bytes32,bytes)",
16878
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
16879
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
16616
16880
  anonymous: false,
16617
16881
  inputs: [
16618
16882
  {
@@ -16633,6 +16897,12 @@ const EventSigHashes = {
16633
16897
  name: "tokenId",
16634
16898
  type: "bytes32"
16635
16899
  },
16900
+ {
16901
+ indexed: false,
16902
+ internalType: "bool",
16903
+ name: "notified",
16904
+ type: "bool"
16905
+ },
16636
16906
  {
16637
16907
  indexed: false,
16638
16908
  internalType: "bytes",
@@ -16792,13 +17062,14 @@ const EventSigHashes = {
16792
17062
  * address indexed operator,
16793
17063
  * address indexed tokenOwner,
16794
17064
  * bytes32 indexed tokenId,
17065
+ * bool notified,
16795
17066
  * bytes operatorNotificationData
16796
17067
  * )
16797
17068
  *
16798
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
17069
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
16799
17070
  */
16800
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
16801
- sig: "RevokedOperator(address,address,bytes32,bytes)",
17071
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
17072
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
16802
17073
  anonymous: false,
16803
17074
  inputs: [
16804
17075
  {
@@ -16819,6 +17090,12 @@ const EventSigHashes = {
16819
17090
  name: "tokenId",
16820
17091
  type: "bytes32"
16821
17092
  },
17093
+ {
17094
+ indexed: false,
17095
+ internalType: "bool",
17096
+ name: "notified",
17097
+ type: "bool"
17098
+ },
16822
17099
  {
16823
17100
  indexed: false,
16824
17101
  internalType: "bytes",
@@ -16999,13 +17276,14 @@ const EventSigHashes = {
16999
17276
  * address indexed operator,
17000
17277
  * address indexed tokenOwner,
17001
17278
  * bytes32 indexed tokenId,
17279
+ * bool notified,
17002
17280
  * bytes operatorNotificationData
17003
17281
  * )
17004
17282
  *
17005
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
17283
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
17006
17284
  */
17007
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
17008
- sig: "RevokedOperator(address,address,bytes32,bytes)",
17285
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
17286
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
17009
17287
  anonymous: false,
17010
17288
  inputs: [
17011
17289
  {
@@ -17026,6 +17304,12 @@ const EventSigHashes = {
17026
17304
  name: "tokenId",
17027
17305
  type: "bytes32"
17028
17306
  },
17307
+ {
17308
+ indexed: false,
17309
+ internalType: "bool",
17310
+ name: "notified",
17311
+ type: "bool"
17312
+ },
17029
17313
  {
17030
17314
  indexed: false,
17031
17315
  internalType: "bytes",
@@ -17255,13 +17539,14 @@ const EventSigHashes = {
17255
17539
  * address indexed operator,
17256
17540
  * address indexed tokenOwner,
17257
17541
  * bytes32 indexed tokenId,
17542
+ * bool notified,
17258
17543
  * bytes operatorNotificationData
17259
17544
  * )
17260
17545
  *
17261
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
17546
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
17262
17547
  */
17263
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
17264
- sig: "RevokedOperator(address,address,bytes32,bytes)",
17548
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
17549
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
17265
17550
  anonymous: false,
17266
17551
  inputs: [
17267
17552
  {
@@ -17282,6 +17567,12 @@ const EventSigHashes = {
17282
17567
  name: "tokenId",
17283
17568
  type: "bytes32"
17284
17569
  },
17570
+ {
17571
+ indexed: false,
17572
+ internalType: "bool",
17573
+ name: "notified",
17574
+ type: "bool"
17575
+ },
17285
17576
  {
17286
17577
  indexed: false,
17287
17578
  internalType: "bytes",
@@ -17562,13 +17853,14 @@ const EventSigHashes = {
17562
17853
  * address indexed operator,
17563
17854
  * address indexed tokenOwner,
17564
17855
  * bytes32 indexed tokenId,
17856
+ * bool notified,
17565
17857
  * bytes operatorNotificationData
17566
17858
  * )
17567
17859
  *
17568
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
17860
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
17569
17861
  */
17570
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
17571
- sig: "RevokedOperator(address,address,bytes32,bytes)",
17862
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
17863
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
17572
17864
  anonymous: false,
17573
17865
  inputs: [
17574
17866
  {
@@ -17589,6 +17881,12 @@ const EventSigHashes = {
17589
17881
  name: "tokenId",
17590
17882
  type: "bytes32"
17591
17883
  },
17884
+ {
17885
+ indexed: false,
17886
+ internalType: "bool",
17887
+ name: "notified",
17888
+ type: "bool"
17889
+ },
17592
17890
  {
17593
17891
  indexed: false,
17594
17892
  internalType: "bytes",
@@ -17848,13 +18146,14 @@ const EventSigHashes = {
17848
18146
  * address indexed operator,
17849
18147
  * address indexed tokenOwner,
17850
18148
  * bytes32 indexed tokenId,
18149
+ * bool notified,
17851
18150
  * bytes operatorNotificationData
17852
18151
  * )
17853
18152
  *
17854
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
18153
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
17855
18154
  */
17856
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
17857
- sig: "RevokedOperator(address,address,bytes32,bytes)",
18155
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
18156
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
17858
18157
  anonymous: false,
17859
18158
  inputs: [
17860
18159
  {
@@ -17875,6 +18174,12 @@ const EventSigHashes = {
17875
18174
  name: "tokenId",
17876
18175
  type: "bytes32"
17877
18176
  },
18177
+ {
18178
+ indexed: false,
18179
+ internalType: "bool",
18180
+ name: "notified",
18181
+ type: "bool"
18182
+ },
17878
18183
  {
17879
18184
  indexed: false,
17880
18185
  internalType: "bytes",
@@ -18155,13 +18460,14 @@ const EventSigHashes = {
18155
18460
  * address indexed operator,
18156
18461
  * address indexed tokenOwner,
18157
18462
  * bytes32 indexed tokenId,
18463
+ * bool notified,
18158
18464
  * bytes operatorNotificationData
18159
18465
  * )
18160
18466
  *
18161
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
18467
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
18162
18468
  */
18163
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
18164
- sig: "RevokedOperator(address,address,bytes32,bytes)",
18469
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
18470
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
18165
18471
  anonymous: false,
18166
18472
  inputs: [
18167
18473
  {
@@ -18182,6 +18488,12 @@ const EventSigHashes = {
18182
18488
  name: "tokenId",
18183
18489
  type: "bytes32"
18184
18490
  },
18491
+ {
18492
+ indexed: false,
18493
+ internalType: "bool",
18494
+ name: "notified",
18495
+ type: "bool"
18496
+ },
18185
18497
  {
18186
18498
  indexed: false,
18187
18499
  internalType: "bytes",
@@ -18371,13 +18683,14 @@ const EventSigHashes = {
18371
18683
  * address indexed operator,
18372
18684
  * address indexed tokenOwner,
18373
18685
  * bytes32 indexed tokenId,
18686
+ * bool notified,
18374
18687
  * bytes operatorNotificationData
18375
18688
  * )
18376
18689
  *
18377
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
18690
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
18378
18691
  */
18379
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
18380
- sig: "RevokedOperator(address,address,bytes32,bytes)",
18692
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
18693
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
18381
18694
  anonymous: false,
18382
18695
  inputs: [
18383
18696
  {
@@ -18398,6 +18711,12 @@ const EventSigHashes = {
18398
18711
  name: "tokenId",
18399
18712
  type: "bytes32"
18400
18713
  },
18714
+ {
18715
+ indexed: false,
18716
+ internalType: "bool",
18717
+ name: "notified",
18718
+ type: "bool"
18719
+ },
18401
18720
  {
18402
18721
  indexed: false,
18403
18722
  internalType: "bytes",
@@ -18578,13 +18897,14 @@ const EventSigHashes = {
18578
18897
  * address indexed operator,
18579
18898
  * address indexed tokenOwner,
18580
18899
  * bytes32 indexed tokenId,
18900
+ * bool notified,
18581
18901
  * bytes operatorNotificationData
18582
18902
  * )
18583
18903
  *
18584
- * 0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea = keccak256('RevokedOperator(address,address,bytes32,bytes)')
18904
+ * 0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a = keccak256('RevokedOperator(address,address,bytes32,bool,bytes)')
18585
18905
  */
18586
- "0x501bc920d7f604417e315bcf29247652b2327fa1076b27b7f132bd8927cb15ea": {
18587
- sig: "RevokedOperator(address,address,bytes32,bytes)",
18906
+ "0x3ee932cea40ebbbfd8577d47156cc17cce8683802c57bbd1fb8c131c6f07af0a": {
18907
+ sig: "RevokedOperator(address,address,bytes32,bool,bytes)",
18588
18908
  anonymous: false,
18589
18909
  inputs: [
18590
18910
  {
@@ -18605,6 +18925,12 @@ const EventSigHashes = {
18605
18925
  name: "tokenId",
18606
18926
  type: "bytes32"
18607
18927
  },
18928
+ {
18929
+ indexed: false,
18930
+ internalType: "bool",
18931
+ name: "notified",
18932
+ type: "bool"
18933
+ },
18608
18934
  {
18609
18935
  indexed: false,
18610
18936
  internalType: "bytes",
@@ -18917,35 +19243,6 @@ const EventSigHashes = {
18917
19243
  userdoc: {
18918
19244
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
18919
19245
  }
18920
- },
18921
- /**
18922
- * event ValueReceived(
18923
- * address indexed sender,
18924
- * uint256 indexed value
18925
- * )
18926
- *
18927
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
18928
- */
18929
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
18930
- sig: "ValueReceived(address,uint256)",
18931
- anonymous: false,
18932
- inputs: [
18933
- {
18934
- indexed: true,
18935
- internalType: "address",
18936
- name: "sender",
18937
- type: "address"
18938
- },
18939
- {
18940
- indexed: true,
18941
- internalType: "uint256",
18942
- name: "value",
18943
- type: "uint256"
18944
- }
18945
- ],
18946
- name: "ValueReceived",
18947
- type: "event",
18948
- userdoc: { notice: "`value` native tokens received from `sender`." }
18949
19246
  }
18950
19247
  },
18951
19248
  LSP9VaultInit: {
@@ -19229,35 +19526,6 @@ const EventSigHashes = {
19229
19526
  userdoc: {
19230
19527
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
19231
19528
  }
19232
- },
19233
- /**
19234
- * event ValueReceived(
19235
- * address indexed sender,
19236
- * uint256 indexed value
19237
- * )
19238
- *
19239
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
19240
- */
19241
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
19242
- sig: "ValueReceived(address,uint256)",
19243
- anonymous: false,
19244
- inputs: [
19245
- {
19246
- indexed: true,
19247
- internalType: "address",
19248
- name: "sender",
19249
- type: "address"
19250
- },
19251
- {
19252
- indexed: true,
19253
- internalType: "uint256",
19254
- name: "value",
19255
- type: "uint256"
19256
- }
19257
- ],
19258
- name: "ValueReceived",
19259
- type: "event",
19260
- userdoc: { notice: "`value` native tokens received from `sender`." }
19261
19529
  }
19262
19530
  },
19263
19531
  UniversalProfile: {
@@ -19520,35 +19788,6 @@ const EventSigHashes = {
19520
19788
  userdoc: {
19521
19789
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
19522
19790
  }
19523
- },
19524
- /**
19525
- * event ValueReceived(
19526
- * address indexed sender,
19527
- * uint256 indexed value
19528
- * )
19529
- *
19530
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
19531
- */
19532
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
19533
- sig: "ValueReceived(address,uint256)",
19534
- anonymous: false,
19535
- inputs: [
19536
- {
19537
- indexed: true,
19538
- internalType: "address",
19539
- name: "sender",
19540
- type: "address"
19541
- },
19542
- {
19543
- indexed: true,
19544
- internalType: "uint256",
19545
- name: "value",
19546
- type: "uint256"
19547
- }
19548
- ],
19549
- name: "ValueReceived",
19550
- type: "event",
19551
- userdoc: { notice: "`value` native tokens received from `sender`." }
19552
19791
  }
19553
19792
  },
19554
19793
  UniversalProfileInit: {
@@ -19832,35 +20071,6 @@ const EventSigHashes = {
19832
20071
  userdoc: {
19833
20072
  notice: "Address `from` called the `universalReceiver(...)` function while sending `value` LYX. Notification type (typeId): `typeId` - Data received: `receivedData`."
19834
20073
  }
19835
- },
19836
- /**
19837
- * event ValueReceived(
19838
- * address indexed sender,
19839
- * uint256 indexed value
19840
- * )
19841
- *
19842
- * 0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493 = keccak256('ValueReceived(address,uint256)')
19843
- */
19844
- "0x7e71433ddf847725166244795048ecf3e3f9f35628254ecbf736056664233493": {
19845
- sig: "ValueReceived(address,uint256)",
19846
- anonymous: false,
19847
- inputs: [
19848
- {
19849
- indexed: true,
19850
- internalType: "address",
19851
- name: "sender",
19852
- type: "address"
19853
- },
19854
- {
19855
- indexed: true,
19856
- internalType: "uint256",
19857
- name: "value",
19858
- type: "uint256"
19859
- }
19860
- ],
19861
- name: "ValueReceived",
19862
- type: "event",
19863
- userdoc: { notice: "`value` native tokens received from `sender`." }
19864
20074
  }
19865
20075
  }
19866
20076
  };
@@ -20033,7 +20243,7 @@ const FunctionSelectors = {
20033
20243
  stateMutability: "payable",
20034
20244
  type: "function",
20035
20245
  devdoc: {
20036
- "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.",
20246
+ "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.",
20037
20247
  "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.",
20038
20248
  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.",
20039
20249
  params: {
@@ -20074,7 +20284,7 @@ const FunctionSelectors = {
20074
20284
  stateMutability: "payable",
20075
20285
  type: "function",
20076
20286
  devdoc: {
20077
- "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.",
20287
+ "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.",
20078
20288
  "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.",
20079
20289
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
20080
20290
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -20246,7 +20456,7 @@ const FunctionSelectors = {
20246
20456
  stateMutability: "payable",
20247
20457
  type: "function",
20248
20458
  devdoc: {
20249
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
20459
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
20250
20460
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20251
20461
  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.",
20252
20462
  params: {
@@ -20277,7 +20487,7 @@ const FunctionSelectors = {
20277
20487
  stateMutability: "payable",
20278
20488
  type: "function",
20279
20489
  devdoc: {
20280
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20490
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20281
20491
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20282
20492
  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.",
20283
20493
  params: {
@@ -20360,7 +20570,7 @@ const FunctionSelectors = {
20360
20570
  stateMutability: "payable",
20361
20571
  type: "function",
20362
20572
  devdoc: {
20363
- "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.",
20573
+ "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.",
20364
20574
  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.",
20365
20575
  params: {
20366
20576
  receivedData: "The data received.",
@@ -20373,6 +20583,24 @@ const FunctionSelectors = {
20373
20583
  userdoc: {
20374
20584
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
20375
20585
  }
20586
+ },
20587
+ /**
20588
+ * function version()
20589
+ *
20590
+ * 0x54fd4d50 = keccak256('version()')
20591
+ */
20592
+ "0x54fd4d50": {
20593
+ sig: "version()",
20594
+ inputs: [],
20595
+ name: "version",
20596
+ outputs: [{ internalType: "string", name: "", type: "string" }],
20597
+ stateMutability: "view",
20598
+ type: "function",
20599
+ devdoc: {
20600
+ details: "Get the version of the contract.",
20601
+ returns: { _0: "The version of the the contract." }
20602
+ },
20603
+ userdoc: { notice: "Contract version." }
20376
20604
  }
20377
20605
  },
20378
20606
  LSP0ERC725AccountInit: {
@@ -20473,7 +20701,7 @@ const FunctionSelectors = {
20473
20701
  stateMutability: "payable",
20474
20702
  type: "function",
20475
20703
  devdoc: {
20476
- "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.",
20704
+ "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.",
20477
20705
  "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.",
20478
20706
  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.",
20479
20707
  params: {
@@ -20514,7 +20742,7 @@ const FunctionSelectors = {
20514
20742
  stateMutability: "payable",
20515
20743
  type: "function",
20516
20744
  devdoc: {
20517
- "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.",
20745
+ "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.",
20518
20746
  "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.",
20519
20747
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
20520
20748
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -20598,7 +20826,7 @@ const FunctionSelectors = {
20598
20826
  stateMutability: "payable",
20599
20827
  type: "function",
20600
20828
  devdoc: {
20601
- "custom:events": "- {ValueReceived} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
20829
+ "custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
20602
20830
  details: "Set `initialOwner` as the contract owner. The `initialize(address)` also allows funding the contract on deployment.",
20603
20831
  params: { initialOwner: "The owner of the contract." }
20604
20832
  },
@@ -20711,7 +20939,7 @@ const FunctionSelectors = {
20711
20939
  stateMutability: "payable",
20712
20940
  type: "function",
20713
20941
  devdoc: {
20714
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
20942
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
20715
20943
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20716
20944
  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.",
20717
20945
  params: {
@@ -20742,7 +20970,7 @@ const FunctionSelectors = {
20742
20970
  stateMutability: "payable",
20743
20971
  type: "function",
20744
20972
  devdoc: {
20745
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20973
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20746
20974
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20747
20975
  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.",
20748
20976
  params: {
@@ -20825,7 +21053,7 @@ const FunctionSelectors = {
20825
21053
  stateMutability: "payable",
20826
21054
  type: "function",
20827
21055
  devdoc: {
20828
- "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.",
21056
+ "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.",
20829
21057
  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.",
20830
21058
  params: {
20831
21059
  receivedData: "The data received.",
@@ -20838,6 +21066,24 @@ const FunctionSelectors = {
20838
21066
  userdoc: {
20839
21067
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
20840
21068
  }
21069
+ },
21070
+ /**
21071
+ * function version()
21072
+ *
21073
+ * 0x54fd4d50 = keccak256('version()')
21074
+ */
21075
+ "0x54fd4d50": {
21076
+ sig: "version()",
21077
+ inputs: [],
21078
+ name: "version",
21079
+ outputs: [{ internalType: "string", name: "", type: "string" }],
21080
+ stateMutability: "view",
21081
+ type: "function",
21082
+ devdoc: {
21083
+ details: "Get the version of the contract.",
21084
+ returns: { _0: "The version of the the contract." }
21085
+ },
21086
+ userdoc: { notice: "Contract version." }
20841
21087
  }
20842
21088
  },
20843
21089
  LSP11BasicSocialRecovery: {
@@ -21824,6 +22070,24 @@ const FunctionSelectors = {
21824
22070
  returns: { _0: "The result of the reaction for `typeId`." }
21825
22071
  },
21826
22072
  userdoc: { notice: "Reacted on received notification with `typeId`." }
22073
+ },
22074
+ /**
22075
+ * function version()
22076
+ *
22077
+ * 0x54fd4d50 = keccak256('version()')
22078
+ */
22079
+ "0x54fd4d50": {
22080
+ sig: "version()",
22081
+ inputs: [],
22082
+ name: "version",
22083
+ outputs: [{ internalType: "string", name: "", type: "string" }],
22084
+ stateMutability: "view",
22085
+ type: "function",
22086
+ devdoc: {
22087
+ details: "Get the version of the contract.",
22088
+ returns: { _0: "The version of the the contract." }
22089
+ },
22090
+ userdoc: { notice: "Contract version." }
21827
22091
  }
21828
22092
  },
21829
22093
  LSP1UniversalReceiverDelegateVault: {
@@ -21873,6 +22137,24 @@ const FunctionSelectors = {
21873
22137
  returns: { _0: "The result of the reaction for `typeId`." }
21874
22138
  },
21875
22139
  userdoc: { notice: "Reacted on received notification with `typeId`." }
22140
+ },
22141
+ /**
22142
+ * function version()
22143
+ *
22144
+ * 0x54fd4d50 = keccak256('version()')
22145
+ */
22146
+ "0x54fd4d50": {
22147
+ sig: "version()",
22148
+ inputs: [],
22149
+ name: "version",
22150
+ outputs: [{ internalType: "string", name: "", type: "string" }],
22151
+ stateMutability: "view",
22152
+ type: "function",
22153
+ devdoc: {
22154
+ details: "Get the version of the contract.",
22155
+ returns: { _0: "The version of the the contract." }
22156
+ },
22157
+ userdoc: { notice: "Contract version." }
21876
22158
  }
21877
22159
  },
21878
22160
  LSP23LinkedContractsFactory: {
@@ -22921,6 +23203,24 @@ const FunctionSelectors = {
22921
23203
  details: "Get The address of the contract linked to this Key Manager.",
22922
23204
  returns: { _0: "The address of the linked contract" }
22923
23205
  }
23206
+ },
23207
+ /**
23208
+ * function version()
23209
+ *
23210
+ * 0x54fd4d50 = keccak256('version()')
23211
+ */
23212
+ "0x54fd4d50": {
23213
+ sig: "version()",
23214
+ inputs: [],
23215
+ name: "version",
23216
+ outputs: [{ internalType: "string", name: "", type: "string" }],
23217
+ stateMutability: "view",
23218
+ type: "function",
23219
+ devdoc: {
23220
+ details: "Get the version of the contract.",
23221
+ returns: { _0: "The version of the the contract." }
23222
+ },
23223
+ userdoc: { notice: "Contract version." }
22924
23224
  }
22925
23225
  },
22926
23226
  LSP6KeyManagerInit: {
@@ -23257,6 +23557,24 @@ const FunctionSelectors = {
23257
23557
  details: "Get The address of the contract linked to this Key Manager.",
23258
23558
  returns: { _0: "The address of the linked contract" }
23259
23559
  }
23560
+ },
23561
+ /**
23562
+ * function version()
23563
+ *
23564
+ * 0x54fd4d50 = keccak256('version()')
23565
+ */
23566
+ "0x54fd4d50": {
23567
+ sig: "version()",
23568
+ inputs: [],
23569
+ name: "version",
23570
+ outputs: [{ internalType: "string", name: "", type: "string" }],
23571
+ stateMutability: "view",
23572
+ type: "function",
23573
+ devdoc: {
23574
+ details: "Get the version of the contract.",
23575
+ returns: { _0: "The version of the the contract." }
23576
+ },
23577
+ userdoc: { notice: "Contract version." }
23260
23578
  }
23261
23579
  },
23262
23580
  LSP7DigitalAsset: {
@@ -23286,7 +23604,7 @@ const FunctionSelectors = {
23286
23604
  type: "function",
23287
23605
  devdoc: {
23288
23606
  "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/",
23289
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
23607
+ 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",
23290
23608
  params: {
23291
23609
  amount: "The allowance amount of tokens operator has access to.",
23292
23610
  operator: "The address to authorize as an operator.",
@@ -23391,10 +23709,7 @@ const FunctionSelectors = {
23391
23709
  stateMutability: "nonpayable",
23392
23710
  type: "function",
23393
23711
  devdoc: {
23394
- "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`.",
23395
- "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.",
23396
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
23397
- 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.",
23712
+ 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",
23398
23713
  params: {
23399
23714
  operator: "The operator to decrease allowance for `msg.sender`",
23400
23715
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -23505,10 +23820,7 @@ const FunctionSelectors = {
23505
23820
  stateMutability: "nonpayable",
23506
23821
  type: "function",
23507
23822
  devdoc: {
23508
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
23509
- "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.",
23510
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
23511
- 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.",
23823
+ 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",
23512
23824
  params: {
23513
23825
  addedAmount: "The additional amount to add on top of the current operator's allowance",
23514
23826
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -23551,15 +23863,17 @@ const FunctionSelectors = {
23551
23863
  /**
23552
23864
  * function revokeOperator(
23553
23865
  * address operator,
23866
+ * bool notify,
23554
23867
  * bytes operatorNotificationData
23555
23868
  * )
23556
23869
  *
23557
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
23870
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
23558
23871
  */
23559
- "0xca3631e7": {
23560
- sig: "revokeOperator(address,bytes)",
23872
+ "0x4521748e": {
23873
+ sig: "revokeOperator(address,bool,bytes)",
23561
23874
  inputs: [
23562
23875
  { internalType: "address", name: "operator", type: "address" },
23876
+ { internalType: "bool", name: "notify", type: "bool" },
23563
23877
  {
23564
23878
  internalType: "bytes",
23565
23879
  name: "operatorNotificationData",
@@ -23573,6 +23887,7 @@ const FunctionSelectors = {
23573
23887
  devdoc: {
23574
23888
  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}.",
23575
23889
  params: {
23890
+ notify: "Boolean indicating whether to notify the operator or not.",
23576
23891
  operator: "The address to revoke as an operator.",
23577
23892
  operatorNotificationData: "The data to notify the operator about via LSP1."
23578
23893
  }
@@ -23764,6 +24079,24 @@ const FunctionSelectors = {
23764
24079
  devdoc: {
23765
24080
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
23766
24081
  }
24082
+ },
24083
+ /**
24084
+ * function version()
24085
+ *
24086
+ * 0x54fd4d50 = keccak256('version()')
24087
+ */
24088
+ "0x54fd4d50": {
24089
+ sig: "version()",
24090
+ inputs: [],
24091
+ name: "version",
24092
+ outputs: [{ internalType: "string", name: "", type: "string" }],
24093
+ stateMutability: "view",
24094
+ type: "function",
24095
+ devdoc: {
24096
+ details: "Get the version of the contract.",
24097
+ returns: { _0: "The version of the the contract." }
24098
+ },
24099
+ userdoc: { notice: "Contract version." }
23767
24100
  }
23768
24101
  },
23769
24102
  LSP7DigitalAssetInitAbstract: {
@@ -23793,7 +24126,7 @@ const FunctionSelectors = {
23793
24126
  type: "function",
23794
24127
  devdoc: {
23795
24128
  "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/",
23796
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
24129
+ 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",
23797
24130
  params: {
23798
24131
  amount: "The allowance amount of tokens operator has access to.",
23799
24132
  operator: "The address to authorize as an operator.",
@@ -23898,10 +24231,7 @@ const FunctionSelectors = {
23898
24231
  stateMutability: "nonpayable",
23899
24232
  type: "function",
23900
24233
  devdoc: {
23901
- "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`.",
23902
- "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.",
23903
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
23904
- 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.",
24234
+ 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",
23905
24235
  params: {
23906
24236
  operator: "The operator to decrease allowance for `msg.sender`",
23907
24237
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -24012,10 +24342,7 @@ const FunctionSelectors = {
24012
24342
  stateMutability: "nonpayable",
24013
24343
  type: "function",
24014
24344
  devdoc: {
24015
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
24016
- "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.",
24017
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
24018
- 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.",
24345
+ 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",
24019
24346
  params: {
24020
24347
  addedAmount: "The additional amount to add on top of the current operator's allowance",
24021
24348
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -24058,15 +24385,17 @@ const FunctionSelectors = {
24058
24385
  /**
24059
24386
  * function revokeOperator(
24060
24387
  * address operator,
24388
+ * bool notify,
24061
24389
  * bytes operatorNotificationData
24062
24390
  * )
24063
24391
  *
24064
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
24392
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
24065
24393
  */
24066
- "0xca3631e7": {
24067
- sig: "revokeOperator(address,bytes)",
24394
+ "0x4521748e": {
24395
+ sig: "revokeOperator(address,bool,bytes)",
24068
24396
  inputs: [
24069
24397
  { internalType: "address", name: "operator", type: "address" },
24398
+ { internalType: "bool", name: "notify", type: "bool" },
24070
24399
  {
24071
24400
  internalType: "bytes",
24072
24401
  name: "operatorNotificationData",
@@ -24080,6 +24409,7 @@ const FunctionSelectors = {
24080
24409
  devdoc: {
24081
24410
  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}.",
24082
24411
  params: {
24412
+ notify: "Boolean indicating whether to notify the operator or not.",
24083
24413
  operator: "The address to revoke as an operator.",
24084
24414
  operatorNotificationData: "The data to notify the operator about via LSP1."
24085
24415
  }
@@ -24269,6 +24599,24 @@ const FunctionSelectors = {
24269
24599
  devdoc: {
24270
24600
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
24271
24601
  }
24602
+ },
24603
+ /**
24604
+ * function version()
24605
+ *
24606
+ * 0x54fd4d50 = keccak256('version()')
24607
+ */
24608
+ "0x54fd4d50": {
24609
+ sig: "version()",
24610
+ inputs: [],
24611
+ name: "version",
24612
+ outputs: [{ internalType: "string", name: "", type: "string" }],
24613
+ stateMutability: "view",
24614
+ type: "function",
24615
+ devdoc: {
24616
+ details: "Get the version of the contract.",
24617
+ returns: { _0: "The version of the the contract." }
24618
+ },
24619
+ userdoc: { notice: "Contract version." }
24272
24620
  }
24273
24621
  },
24274
24622
  LSP7CappedSupply: {
@@ -24298,7 +24646,7 @@ const FunctionSelectors = {
24298
24646
  type: "function",
24299
24647
  devdoc: {
24300
24648
  "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/",
24301
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
24649
+ 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",
24302
24650
  params: {
24303
24651
  amount: "The allowance amount of tokens operator has access to.",
24304
24652
  operator: "The address to authorize as an operator.",
@@ -24403,10 +24751,7 @@ const FunctionSelectors = {
24403
24751
  stateMutability: "nonpayable",
24404
24752
  type: "function",
24405
24753
  devdoc: {
24406
- "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`.",
24407
- "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.",
24408
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
24409
- 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.",
24754
+ 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",
24410
24755
  params: {
24411
24756
  operator: "The operator to decrease allowance for `msg.sender`",
24412
24757
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -24517,10 +24862,7 @@ const FunctionSelectors = {
24517
24862
  stateMutability: "nonpayable",
24518
24863
  type: "function",
24519
24864
  devdoc: {
24520
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
24521
- "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.",
24522
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
24523
- 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.",
24865
+ 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",
24524
24866
  params: {
24525
24867
  addedAmount: "The additional amount to add on top of the current operator's allowance",
24526
24868
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -24563,15 +24905,17 @@ const FunctionSelectors = {
24563
24905
  /**
24564
24906
  * function revokeOperator(
24565
24907
  * address operator,
24908
+ * bool notify,
24566
24909
  * bytes operatorNotificationData
24567
24910
  * )
24568
24911
  *
24569
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
24912
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
24570
24913
  */
24571
- "0xca3631e7": {
24572
- sig: "revokeOperator(address,bytes)",
24914
+ "0x4521748e": {
24915
+ sig: "revokeOperator(address,bool,bytes)",
24573
24916
  inputs: [
24574
24917
  { internalType: "address", name: "operator", type: "address" },
24918
+ { internalType: "bool", name: "notify", type: "bool" },
24575
24919
  {
24576
24920
  internalType: "bytes",
24577
24921
  name: "operatorNotificationData",
@@ -24585,6 +24929,7 @@ const FunctionSelectors = {
24585
24929
  devdoc: {
24586
24930
  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}.",
24587
24931
  params: {
24932
+ notify: "Boolean indicating whether to notify the operator or not.",
24588
24933
  operator: "The address to revoke as an operator.",
24589
24934
  operatorNotificationData: "The data to notify the operator about via LSP1."
24590
24935
  }
@@ -24798,6 +25143,24 @@ const FunctionSelectors = {
24798
25143
  devdoc: {
24799
25144
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
24800
25145
  }
25146
+ },
25147
+ /**
25148
+ * function version()
25149
+ *
25150
+ * 0x54fd4d50 = keccak256('version()')
25151
+ */
25152
+ "0x54fd4d50": {
25153
+ sig: "version()",
25154
+ inputs: [],
25155
+ name: "version",
25156
+ outputs: [{ internalType: "string", name: "", type: "string" }],
25157
+ stateMutability: "view",
25158
+ type: "function",
25159
+ devdoc: {
25160
+ details: "Get the version of the contract.",
25161
+ returns: { _0: "The version of the the contract." }
25162
+ },
25163
+ userdoc: { notice: "Contract version." }
24801
25164
  }
24802
25165
  },
24803
25166
  LSP7CappedSupplyInitAbstract: {
@@ -24827,7 +25190,7 @@ const FunctionSelectors = {
24827
25190
  type: "function",
24828
25191
  devdoc: {
24829
25192
  "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/",
24830
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
25193
+ 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",
24831
25194
  params: {
24832
25195
  amount: "The allowance amount of tokens operator has access to.",
24833
25196
  operator: "The address to authorize as an operator.",
@@ -24932,10 +25295,7 @@ const FunctionSelectors = {
24932
25295
  stateMutability: "nonpayable",
24933
25296
  type: "function",
24934
25297
  devdoc: {
24935
- "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`.",
24936
- "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.",
24937
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
24938
- 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.",
25298
+ 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",
24939
25299
  params: {
24940
25300
  operator: "The operator to decrease allowance for `msg.sender`",
24941
25301
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -25046,10 +25406,7 @@ const FunctionSelectors = {
25046
25406
  stateMutability: "nonpayable",
25047
25407
  type: "function",
25048
25408
  devdoc: {
25049
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
25050
- "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.",
25051
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
25052
- 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.",
25409
+ 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",
25053
25410
  params: {
25054
25411
  addedAmount: "The additional amount to add on top of the current operator's allowance",
25055
25412
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -25092,15 +25449,17 @@ const FunctionSelectors = {
25092
25449
  /**
25093
25450
  * function revokeOperator(
25094
25451
  * address operator,
25452
+ * bool notify,
25095
25453
  * bytes operatorNotificationData
25096
25454
  * )
25097
25455
  *
25098
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
25456
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
25099
25457
  */
25100
- "0xca3631e7": {
25101
- sig: "revokeOperator(address,bytes)",
25458
+ "0x4521748e": {
25459
+ sig: "revokeOperator(address,bool,bytes)",
25102
25460
  inputs: [
25103
25461
  { internalType: "address", name: "operator", type: "address" },
25462
+ { internalType: "bool", name: "notify", type: "bool" },
25104
25463
  {
25105
25464
  internalType: "bytes",
25106
25465
  name: "operatorNotificationData",
@@ -25114,6 +25473,7 @@ const FunctionSelectors = {
25114
25473
  devdoc: {
25115
25474
  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}.",
25116
25475
  params: {
25476
+ notify: "Boolean indicating whether to notify the operator or not.",
25117
25477
  operator: "The address to revoke as an operator.",
25118
25478
  operatorNotificationData: "The data to notify the operator about via LSP1."
25119
25479
  }
@@ -25325,6 +25685,24 @@ const FunctionSelectors = {
25325
25685
  devdoc: {
25326
25686
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
25327
25687
  }
25688
+ },
25689
+ /**
25690
+ * function version()
25691
+ *
25692
+ * 0x54fd4d50 = keccak256('version()')
25693
+ */
25694
+ "0x54fd4d50": {
25695
+ sig: "version()",
25696
+ inputs: [],
25697
+ name: "version",
25698
+ outputs: [{ internalType: "string", name: "", type: "string" }],
25699
+ stateMutability: "view",
25700
+ type: "function",
25701
+ devdoc: {
25702
+ details: "Get the version of the contract.",
25703
+ returns: { _0: "The version of the the contract." }
25704
+ },
25705
+ userdoc: { notice: "Contract version." }
25328
25706
  }
25329
25707
  },
25330
25708
  LSP7CompatibleERC20: {
@@ -25408,7 +25786,7 @@ const FunctionSelectors = {
25408
25786
  type: "function",
25409
25787
  devdoc: {
25410
25788
  "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/",
25411
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
25789
+ 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",
25412
25790
  params: {
25413
25791
  amount: "The allowance amount of tokens operator has access to.",
25414
25792
  operator: "The address to authorize as an operator.",
@@ -25513,10 +25891,7 @@ const FunctionSelectors = {
25513
25891
  stateMutability: "nonpayable",
25514
25892
  type: "function",
25515
25893
  devdoc: {
25516
- "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`.",
25517
- "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.",
25518
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
25519
- 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.",
25894
+ 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",
25520
25895
  params: {
25521
25896
  operator: "The operator to decrease allowance for `msg.sender`",
25522
25897
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -25627,10 +26002,7 @@ const FunctionSelectors = {
25627
26002
  stateMutability: "nonpayable",
25628
26003
  type: "function",
25629
26004
  devdoc: {
25630
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
25631
- "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.",
25632
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
25633
- 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.",
26005
+ 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",
25634
26006
  params: {
25635
26007
  addedAmount: "The additional amount to add on top of the current operator's allowance",
25636
26008
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -25690,15 +26062,17 @@ const FunctionSelectors = {
25690
26062
  /**
25691
26063
  * function revokeOperator(
25692
26064
  * address operator,
26065
+ * bool notify,
25693
26066
  * bytes operatorNotificationData
25694
26067
  * )
25695
26068
  *
25696
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
26069
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
25697
26070
  */
25698
- "0xca3631e7": {
25699
- sig: "revokeOperator(address,bytes)",
26071
+ "0x4521748e": {
26072
+ sig: "revokeOperator(address,bool,bytes)",
25700
26073
  inputs: [
25701
26074
  { internalType: "address", name: "operator", type: "address" },
26075
+ { internalType: "bool", name: "notify", type: "bool" },
25702
26076
  {
25703
26077
  internalType: "bytes",
25704
26078
  name: "operatorNotificationData",
@@ -25712,6 +26086,7 @@ const FunctionSelectors = {
25712
26086
  devdoc: {
25713
26087
  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}.",
25714
26088
  params: {
26089
+ notify: "Boolean indicating whether to notify the operator or not.",
25715
26090
  operator: "The address to revoke as an operator.",
25716
26091
  operatorNotificationData: "The data to notify the operator about via LSP1."
25717
26092
  }
@@ -25979,6 +26354,24 @@ const FunctionSelectors = {
25979
26354
  devdoc: {
25980
26355
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
25981
26356
  }
26357
+ },
26358
+ /**
26359
+ * function version()
26360
+ *
26361
+ * 0x54fd4d50 = keccak256('version()')
26362
+ */
26363
+ "0x54fd4d50": {
26364
+ sig: "version()",
26365
+ inputs: [],
26366
+ name: "version",
26367
+ outputs: [{ internalType: "string", name: "", type: "string" }],
26368
+ stateMutability: "view",
26369
+ type: "function",
26370
+ devdoc: {
26371
+ details: "Get the version of the contract.",
26372
+ returns: { _0: "The version of the the contract." }
26373
+ },
26374
+ userdoc: { notice: "Contract version." }
25982
26375
  }
25983
26376
  },
25984
26377
  LSP7CompatibleERC20InitAbstract: {
@@ -26062,7 +26455,7 @@ const FunctionSelectors = {
26062
26455
  type: "function",
26063
26456
  devdoc: {
26064
26457
  "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/",
26065
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
26458
+ 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",
26066
26459
  params: {
26067
26460
  amount: "The allowance amount of tokens operator has access to.",
26068
26461
  operator: "The address to authorize as an operator.",
@@ -26167,10 +26560,7 @@ const FunctionSelectors = {
26167
26560
  stateMutability: "nonpayable",
26168
26561
  type: "function",
26169
26562
  devdoc: {
26170
- "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`.",
26171
- "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.",
26172
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
26173
- 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.",
26563
+ 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",
26174
26564
  params: {
26175
26565
  operator: "The operator to decrease allowance for `msg.sender`",
26176
26566
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -26281,10 +26671,7 @@ const FunctionSelectors = {
26281
26671
  stateMutability: "nonpayable",
26282
26672
  type: "function",
26283
26673
  devdoc: {
26284
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
26285
- "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.",
26286
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
26287
- 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.",
26674
+ 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",
26288
26675
  params: {
26289
26676
  addedAmount: "The additional amount to add on top of the current operator's allowance",
26290
26677
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -26344,15 +26731,17 @@ const FunctionSelectors = {
26344
26731
  /**
26345
26732
  * function revokeOperator(
26346
26733
  * address operator,
26734
+ * bool notify,
26347
26735
  * bytes operatorNotificationData
26348
26736
  * )
26349
26737
  *
26350
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
26738
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
26351
26739
  */
26352
- "0xca3631e7": {
26353
- sig: "revokeOperator(address,bytes)",
26740
+ "0x4521748e": {
26741
+ sig: "revokeOperator(address,bool,bytes)",
26354
26742
  inputs: [
26355
26743
  { internalType: "address", name: "operator", type: "address" },
26744
+ { internalType: "bool", name: "notify", type: "bool" },
26356
26745
  {
26357
26746
  internalType: "bytes",
26358
26747
  name: "operatorNotificationData",
@@ -26366,6 +26755,7 @@ const FunctionSelectors = {
26366
26755
  devdoc: {
26367
26756
  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}.",
26368
26757
  params: {
26758
+ notify: "Boolean indicating whether to notify the operator or not.",
26369
26759
  operator: "The address to revoke as an operator.",
26370
26760
  operatorNotificationData: "The data to notify the operator about via LSP1."
26371
26761
  }
@@ -26631,6 +27021,24 @@ const FunctionSelectors = {
26631
27021
  devdoc: {
26632
27022
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
26633
27023
  }
27024
+ },
27025
+ /**
27026
+ * function version()
27027
+ *
27028
+ * 0x54fd4d50 = keccak256('version()')
27029
+ */
27030
+ "0x54fd4d50": {
27031
+ sig: "version()",
27032
+ inputs: [],
27033
+ name: "version",
27034
+ outputs: [{ internalType: "string", name: "", type: "string" }],
27035
+ stateMutability: "view",
27036
+ type: "function",
27037
+ devdoc: {
27038
+ details: "Get the version of the contract.",
27039
+ returns: { _0: "The version of the the contract." }
27040
+ },
27041
+ userdoc: { notice: "Contract version." }
26634
27042
  }
26635
27043
  },
26636
27044
  LSP7CompatibleERC20Mintable: {
@@ -26714,7 +27122,7 @@ const FunctionSelectors = {
26714
27122
  type: "function",
26715
27123
  devdoc: {
26716
27124
  "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/",
26717
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
27125
+ 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",
26718
27126
  params: {
26719
27127
  amount: "The allowance amount of tokens operator has access to.",
26720
27128
  operator: "The address to authorize as an operator.",
@@ -26819,10 +27227,7 @@ const FunctionSelectors = {
26819
27227
  stateMutability: "nonpayable",
26820
27228
  type: "function",
26821
27229
  devdoc: {
26822
- "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`.",
26823
- "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.",
26824
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
26825
- 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.",
27230
+ 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",
26826
27231
  params: {
26827
27232
  operator: "The operator to decrease allowance for `msg.sender`",
26828
27233
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -26933,10 +27338,7 @@ const FunctionSelectors = {
26933
27338
  stateMutability: "nonpayable",
26934
27339
  type: "function",
26935
27340
  devdoc: {
26936
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
26937
- "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.",
26938
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
26939
- 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.",
27341
+ 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",
26940
27342
  params: {
26941
27343
  addedAmount: "The additional amount to add on top of the current operator's allowance",
26942
27344
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -27022,15 +27424,17 @@ const FunctionSelectors = {
27022
27424
  /**
27023
27425
  * function revokeOperator(
27024
27426
  * address operator,
27427
+ * bool notify,
27025
27428
  * bytes operatorNotificationData
27026
27429
  * )
27027
27430
  *
27028
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
27431
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
27029
27432
  */
27030
- "0xca3631e7": {
27031
- sig: "revokeOperator(address,bytes)",
27433
+ "0x4521748e": {
27434
+ sig: "revokeOperator(address,bool,bytes)",
27032
27435
  inputs: [
27033
27436
  { internalType: "address", name: "operator", type: "address" },
27437
+ { internalType: "bool", name: "notify", type: "bool" },
27034
27438
  {
27035
27439
  internalType: "bytes",
27036
27440
  name: "operatorNotificationData",
@@ -27044,6 +27448,7 @@ const FunctionSelectors = {
27044
27448
  devdoc: {
27045
27449
  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}.",
27046
27450
  params: {
27451
+ notify: "Boolean indicating whether to notify the operator or not.",
27047
27452
  operator: "The address to revoke as an operator.",
27048
27453
  operatorNotificationData: "The data to notify the operator about via LSP1."
27049
27454
  }
@@ -27311,6 +27716,24 @@ const FunctionSelectors = {
27311
27716
  devdoc: {
27312
27717
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
27313
27718
  }
27719
+ },
27720
+ /**
27721
+ * function version()
27722
+ *
27723
+ * 0x54fd4d50 = keccak256('version()')
27724
+ */
27725
+ "0x54fd4d50": {
27726
+ sig: "version()",
27727
+ inputs: [],
27728
+ name: "version",
27729
+ outputs: [{ internalType: "string", name: "", type: "string" }],
27730
+ stateMutability: "view",
27731
+ type: "function",
27732
+ devdoc: {
27733
+ details: "Get the version of the contract.",
27734
+ returns: { _0: "The version of the the contract." }
27735
+ },
27736
+ userdoc: { notice: "Contract version." }
27314
27737
  }
27315
27738
  },
27316
27739
  LSP7CompatibleERC20MintableInit: {
@@ -27394,7 +27817,7 @@ const FunctionSelectors = {
27394
27817
  type: "function",
27395
27818
  devdoc: {
27396
27819
  "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/",
27397
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
27820
+ 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",
27398
27821
  params: {
27399
27822
  amount: "The allowance amount of tokens operator has access to.",
27400
27823
  operator: "The address to authorize as an operator.",
@@ -27499,10 +27922,7 @@ const FunctionSelectors = {
27499
27922
  stateMutability: "nonpayable",
27500
27923
  type: "function",
27501
27924
  devdoc: {
27502
- "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`.",
27503
- "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.",
27504
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
27505
- 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.",
27925
+ 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",
27506
27926
  params: {
27507
27927
  operator: "The operator to decrease allowance for `msg.sender`",
27508
27928
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -27613,10 +28033,7 @@ const FunctionSelectors = {
27613
28033
  stateMutability: "nonpayable",
27614
28034
  type: "function",
27615
28035
  devdoc: {
27616
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
27617
- "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.",
27618
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
27619
- 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.",
28036
+ 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",
27620
28037
  params: {
27621
28038
  addedAmount: "The additional amount to add on top of the current operator's allowance",
27622
28039
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -27733,15 +28150,17 @@ const FunctionSelectors = {
27733
28150
  /**
27734
28151
  * function revokeOperator(
27735
28152
  * address operator,
28153
+ * bool notify,
27736
28154
  * bytes operatorNotificationData
27737
28155
  * )
27738
28156
  *
27739
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
28157
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
27740
28158
  */
27741
- "0xca3631e7": {
27742
- sig: "revokeOperator(address,bytes)",
28159
+ "0x4521748e": {
28160
+ sig: "revokeOperator(address,bool,bytes)",
27743
28161
  inputs: [
27744
28162
  { internalType: "address", name: "operator", type: "address" },
28163
+ { internalType: "bool", name: "notify", type: "bool" },
27745
28164
  {
27746
28165
  internalType: "bytes",
27747
28166
  name: "operatorNotificationData",
@@ -27755,6 +28174,7 @@ const FunctionSelectors = {
27755
28174
  devdoc: {
27756
28175
  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}.",
27757
28176
  params: {
28177
+ notify: "Boolean indicating whether to notify the operator or not.",
27758
28178
  operator: "The address to revoke as an operator.",
27759
28179
  operatorNotificationData: "The data to notify the operator about via LSP1."
27760
28180
  }
@@ -28020,6 +28440,24 @@ const FunctionSelectors = {
28020
28440
  devdoc: {
28021
28441
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
28022
28442
  }
28443
+ },
28444
+ /**
28445
+ * function version()
28446
+ *
28447
+ * 0x54fd4d50 = keccak256('version()')
28448
+ */
28449
+ "0x54fd4d50": {
28450
+ sig: "version()",
28451
+ inputs: [],
28452
+ name: "version",
28453
+ outputs: [{ internalType: "string", name: "", type: "string" }],
28454
+ stateMutability: "view",
28455
+ type: "function",
28456
+ devdoc: {
28457
+ details: "Get the version of the contract.",
28458
+ returns: { _0: "The version of the the contract." }
28459
+ },
28460
+ userdoc: { notice: "Contract version." }
28023
28461
  }
28024
28462
  },
28025
28463
  LSP7Mintable: {
@@ -28049,7 +28487,7 @@ const FunctionSelectors = {
28049
28487
  type: "function",
28050
28488
  devdoc: {
28051
28489
  "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/",
28052
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
28490
+ 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",
28053
28491
  params: {
28054
28492
  amount: "The allowance amount of tokens operator has access to.",
28055
28493
  operator: "The address to authorize as an operator.",
@@ -28154,10 +28592,7 @@ const FunctionSelectors = {
28154
28592
  stateMutability: "nonpayable",
28155
28593
  type: "function",
28156
28594
  devdoc: {
28157
- "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`.",
28158
- "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.",
28159
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
28160
- 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.",
28595
+ 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",
28161
28596
  params: {
28162
28597
  operator: "The operator to decrease allowance for `msg.sender`",
28163
28598
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -28268,10 +28703,7 @@ const FunctionSelectors = {
28268
28703
  stateMutability: "nonpayable",
28269
28704
  type: "function",
28270
28705
  devdoc: {
28271
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
28272
- "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.",
28273
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
28274
- 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.",
28706
+ 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",
28275
28707
  params: {
28276
28708
  addedAmount: "The additional amount to add on top of the current operator's allowance",
28277
28709
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -28340,15 +28772,17 @@ const FunctionSelectors = {
28340
28772
  /**
28341
28773
  * function revokeOperator(
28342
28774
  * address operator,
28775
+ * bool notify,
28343
28776
  * bytes operatorNotificationData
28344
28777
  * )
28345
28778
  *
28346
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
28779
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
28347
28780
  */
28348
- "0xca3631e7": {
28349
- sig: "revokeOperator(address,bytes)",
28781
+ "0x4521748e": {
28782
+ sig: "revokeOperator(address,bool,bytes)",
28350
28783
  inputs: [
28351
28784
  { internalType: "address", name: "operator", type: "address" },
28785
+ { internalType: "bool", name: "notify", type: "bool" },
28352
28786
  {
28353
28787
  internalType: "bytes",
28354
28788
  name: "operatorNotificationData",
@@ -28362,6 +28796,7 @@ const FunctionSelectors = {
28362
28796
  devdoc: {
28363
28797
  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}.",
28364
28798
  params: {
28799
+ notify: "Boolean indicating whether to notify the operator or not.",
28365
28800
  operator: "The address to revoke as an operator.",
28366
28801
  operatorNotificationData: "The data to notify the operator about via LSP1."
28367
28802
  }
@@ -28553,6 +28988,24 @@ const FunctionSelectors = {
28553
28988
  devdoc: {
28554
28989
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
28555
28990
  }
28991
+ },
28992
+ /**
28993
+ * function version()
28994
+ *
28995
+ * 0x54fd4d50 = keccak256('version()')
28996
+ */
28997
+ "0x54fd4d50": {
28998
+ sig: "version()",
28999
+ inputs: [],
29000
+ name: "version",
29001
+ outputs: [{ internalType: "string", name: "", type: "string" }],
29002
+ stateMutability: "view",
29003
+ type: "function",
29004
+ devdoc: {
29005
+ details: "Get the version of the contract.",
29006
+ returns: { _0: "The version of the the contract." }
29007
+ },
29008
+ userdoc: { notice: "Contract version." }
28556
29009
  }
28557
29010
  },
28558
29011
  LSP7MintableInit: {
@@ -28582,7 +29035,7 @@ const FunctionSelectors = {
28582
29035
  type: "function",
28583
29036
  devdoc: {
28584
29037
  "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/",
28585
- details: "Sets an `amount` of tokens that an `operator` has access from the caller's balance (allowance). See {authorizedAmountFor}.",
29038
+ 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",
28586
29039
  params: {
28587
29040
  amount: "The allowance amount of tokens operator has access to.",
28588
29041
  operator: "The address to authorize as an operator.",
@@ -28687,10 +29140,7 @@ const FunctionSelectors = {
28687
29140
  stateMutability: "nonpayable",
28688
29141
  type: "function",
28689
29142
  devdoc: {
28690
- "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`.",
28691
- "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.",
28692
- "custom:requirements": "- `operator` cannot be the zero address. - `operator` must have allowance for the caller of at least `subtractedAmount`.",
28693
- 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.",
29143
+ 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",
28694
29144
  params: {
28695
29145
  operator: "The operator to decrease allowance for `msg.sender`",
28696
29146
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -28801,10 +29251,7 @@ const FunctionSelectors = {
28801
29251
  stateMutability: "nonpayable",
28802
29252
  type: "function",
28803
29253
  devdoc: {
28804
- "custom:events": "{AuthorizedOperator} indicating the updated allowance",
28805
- "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.",
28806
- "custom:requirements": "- `operator` cannot be the same address as `msg.sender` - `operator` cannot be the zero address.",
28807
- 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.",
29254
+ 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",
28808
29255
  params: {
28809
29256
  addedAmount: "The additional amount to add on top of the current operator's allowance",
28810
29257
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -28906,15 +29353,17 @@ const FunctionSelectors = {
28906
29353
  /**
28907
29354
  * function revokeOperator(
28908
29355
  * address operator,
29356
+ * bool notify,
28909
29357
  * bytes operatorNotificationData
28910
29358
  * )
28911
29359
  *
28912
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
29360
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
28913
29361
  */
28914
- "0xca3631e7": {
28915
- sig: "revokeOperator(address,bytes)",
29362
+ "0x4521748e": {
29363
+ sig: "revokeOperator(address,bool,bytes)",
28916
29364
  inputs: [
28917
29365
  { internalType: "address", name: "operator", type: "address" },
29366
+ { internalType: "bool", name: "notify", type: "bool" },
28918
29367
  {
28919
29368
  internalType: "bytes",
28920
29369
  name: "operatorNotificationData",
@@ -28928,6 +29377,7 @@ const FunctionSelectors = {
28928
29377
  devdoc: {
28929
29378
  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}.",
28930
29379
  params: {
29380
+ notify: "Boolean indicating whether to notify the operator or not.",
28931
29381
  operator: "The address to revoke as an operator.",
28932
29382
  operatorNotificationData: "The data to notify the operator about via LSP1."
28933
29383
  }
@@ -29117,6 +29567,24 @@ const FunctionSelectors = {
29117
29567
  devdoc: {
29118
29568
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
29119
29569
  }
29570
+ },
29571
+ /**
29572
+ * function version()
29573
+ *
29574
+ * 0x54fd4d50 = keccak256('version()')
29575
+ */
29576
+ "0x54fd4d50": {
29577
+ sig: "version()",
29578
+ inputs: [],
29579
+ name: "version",
29580
+ outputs: [{ internalType: "string", name: "", type: "string" }],
29581
+ stateMutability: "view",
29582
+ type: "function",
29583
+ devdoc: {
29584
+ details: "Get the version of the contract.",
29585
+ returns: { _0: "The version of the the contract." }
29586
+ },
29587
+ userdoc: { notice: "Contract version." }
29120
29588
  }
29121
29589
  },
29122
29590
  LSP8IdentifiableDigitalAsset: {
@@ -29145,7 +29613,7 @@ const FunctionSelectors = {
29145
29613
  stateMutability: "nonpayable",
29146
29614
  type: "function",
29147
29615
  devdoc: {
29148
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
29616
+ 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",
29149
29617
  params: {
29150
29618
  operator: "The address to authorize as an operator.",
29151
29619
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -29314,16 +29782,18 @@ const FunctionSelectors = {
29314
29782
  * function revokeOperator(
29315
29783
  * address operator,
29316
29784
  * bytes32 tokenId,
29785
+ * bool notify,
29317
29786
  * bytes operatorNotificationData
29318
29787
  * )
29319
29788
  *
29320
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
29789
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
29321
29790
  */
29322
- "0xf1b97e04": {
29323
- sig: "revokeOperator(address,bytes32,bytes)",
29791
+ "0xdb8c9663": {
29792
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
29324
29793
  inputs: [
29325
29794
  { internalType: "address", name: "operator", type: "address" },
29326
29795
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
29796
+ { internalType: "bool", name: "notify", type: "bool" },
29327
29797
  {
29328
29798
  internalType: "bytes",
29329
29799
  name: "operatorNotificationData",
@@ -29337,6 +29807,7 @@ const FunctionSelectors = {
29337
29807
  devdoc: {
29338
29808
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
29339
29809
  params: {
29810
+ notify: "Boolean indicating whether to notify the operator or not",
29340
29811
  operator: "The address to revoke as an operator.",
29341
29812
  operatorNotificationData: "The data to notify the operator about via LSP1.",
29342
29813
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -29575,6 +30046,24 @@ const FunctionSelectors = {
29575
30046
  devdoc: {
29576
30047
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
29577
30048
  }
30049
+ },
30050
+ /**
30051
+ * function version()
30052
+ *
30053
+ * 0x54fd4d50 = keccak256('version()')
30054
+ */
30055
+ "0x54fd4d50": {
30056
+ sig: "version()",
30057
+ inputs: [],
30058
+ name: "version",
30059
+ outputs: [{ internalType: "string", name: "", type: "string" }],
30060
+ stateMutability: "view",
30061
+ type: "function",
30062
+ devdoc: {
30063
+ details: "Get the version of the contract.",
30064
+ returns: { _0: "The version of the the contract." }
30065
+ },
30066
+ userdoc: { notice: "Contract version." }
29578
30067
  }
29579
30068
  },
29580
30069
  LSP8IdentifiableDigitalAssetInitAbstract: {
@@ -29603,7 +30092,7 @@ const FunctionSelectors = {
29603
30092
  stateMutability: "nonpayable",
29604
30093
  type: "function",
29605
30094
  devdoc: {
29606
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
30095
+ 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",
29607
30096
  params: {
29608
30097
  operator: "The address to authorize as an operator.",
29609
30098
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -29772,16 +30261,18 @@ const FunctionSelectors = {
29772
30261
  * function revokeOperator(
29773
30262
  * address operator,
29774
30263
  * bytes32 tokenId,
30264
+ * bool notify,
29775
30265
  * bytes operatorNotificationData
29776
30266
  * )
29777
30267
  *
29778
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
30268
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
29779
30269
  */
29780
- "0xf1b97e04": {
29781
- sig: "revokeOperator(address,bytes32,bytes)",
30270
+ "0xdb8c9663": {
30271
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
29782
30272
  inputs: [
29783
30273
  { internalType: "address", name: "operator", type: "address" },
29784
30274
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
30275
+ { internalType: "bool", name: "notify", type: "bool" },
29785
30276
  {
29786
30277
  internalType: "bytes",
29787
30278
  name: "operatorNotificationData",
@@ -29795,6 +30286,7 @@ const FunctionSelectors = {
29795
30286
  devdoc: {
29796
30287
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
29797
30288
  params: {
30289
+ notify: "Boolean indicating whether to notify the operator or not",
29798
30290
  operator: "The address to revoke as an operator.",
29799
30291
  operatorNotificationData: "The data to notify the operator about via LSP1.",
29800
30292
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -30031,6 +30523,24 @@ const FunctionSelectors = {
30031
30523
  devdoc: {
30032
30524
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
30033
30525
  }
30526
+ },
30527
+ /**
30528
+ * function version()
30529
+ *
30530
+ * 0x54fd4d50 = keccak256('version()')
30531
+ */
30532
+ "0x54fd4d50": {
30533
+ sig: "version()",
30534
+ inputs: [],
30535
+ name: "version",
30536
+ outputs: [{ internalType: "string", name: "", type: "string" }],
30537
+ stateMutability: "view",
30538
+ type: "function",
30539
+ devdoc: {
30540
+ details: "Get the version of the contract.",
30541
+ returns: { _0: "The version of the the contract." }
30542
+ },
30543
+ userdoc: { notice: "Contract version." }
30034
30544
  }
30035
30545
  },
30036
30546
  LSP8CappedSupply: {
@@ -30059,7 +30569,7 @@ const FunctionSelectors = {
30059
30569
  stateMutability: "nonpayable",
30060
30570
  type: "function",
30061
30571
  devdoc: {
30062
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
30572
+ 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",
30063
30573
  params: {
30064
30574
  operator: "The address to authorize as an operator.",
30065
30575
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -30228,16 +30738,18 @@ const FunctionSelectors = {
30228
30738
  * function revokeOperator(
30229
30739
  * address operator,
30230
30740
  * bytes32 tokenId,
30741
+ * bool notify,
30231
30742
  * bytes operatorNotificationData
30232
30743
  * )
30233
30744
  *
30234
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
30745
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
30235
30746
  */
30236
- "0xf1b97e04": {
30237
- sig: "revokeOperator(address,bytes32,bytes)",
30747
+ "0xdb8c9663": {
30748
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
30238
30749
  inputs: [
30239
30750
  { internalType: "address", name: "operator", type: "address" },
30240
30751
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
30752
+ { internalType: "bool", name: "notify", type: "bool" },
30241
30753
  {
30242
30754
  internalType: "bytes",
30243
30755
  name: "operatorNotificationData",
@@ -30251,6 +30763,7 @@ const FunctionSelectors = {
30251
30763
  devdoc: {
30252
30764
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
30253
30765
  params: {
30766
+ notify: "Boolean indicating whether to notify the operator or not",
30254
30767
  operator: "The address to revoke as an operator.",
30255
30768
  operatorNotificationData: "The data to notify the operator about via LSP1.",
30256
30769
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -30511,6 +31024,24 @@ const FunctionSelectors = {
30511
31024
  devdoc: {
30512
31025
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
30513
31026
  }
31027
+ },
31028
+ /**
31029
+ * function version()
31030
+ *
31031
+ * 0x54fd4d50 = keccak256('version()')
31032
+ */
31033
+ "0x54fd4d50": {
31034
+ sig: "version()",
31035
+ inputs: [],
31036
+ name: "version",
31037
+ outputs: [{ internalType: "string", name: "", type: "string" }],
31038
+ stateMutability: "view",
31039
+ type: "function",
31040
+ devdoc: {
31041
+ details: "Get the version of the contract.",
31042
+ returns: { _0: "The version of the the contract." }
31043
+ },
31044
+ userdoc: { notice: "Contract version." }
30514
31045
  }
30515
31046
  },
30516
31047
  LSP8CappedSupplyInitAbstract: {
@@ -30539,7 +31070,7 @@ const FunctionSelectors = {
30539
31070
  stateMutability: "nonpayable",
30540
31071
  type: "function",
30541
31072
  devdoc: {
30542
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
31073
+ 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",
30543
31074
  params: {
30544
31075
  operator: "The address to authorize as an operator.",
30545
31076
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -30708,16 +31239,18 @@ const FunctionSelectors = {
30708
31239
  * function revokeOperator(
30709
31240
  * address operator,
30710
31241
  * bytes32 tokenId,
31242
+ * bool notify,
30711
31243
  * bytes operatorNotificationData
30712
31244
  * )
30713
31245
  *
30714
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
31246
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
30715
31247
  */
30716
- "0xf1b97e04": {
30717
- sig: "revokeOperator(address,bytes32,bytes)",
31248
+ "0xdb8c9663": {
31249
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
30718
31250
  inputs: [
30719
31251
  { internalType: "address", name: "operator", type: "address" },
30720
31252
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31253
+ { internalType: "bool", name: "notify", type: "bool" },
30721
31254
  {
30722
31255
  internalType: "bytes",
30723
31256
  name: "operatorNotificationData",
@@ -30731,6 +31264,7 @@ const FunctionSelectors = {
30731
31264
  devdoc: {
30732
31265
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
30733
31266
  params: {
31267
+ notify: "Boolean indicating whether to notify the operator or not",
30734
31268
  operator: "The address to revoke as an operator.",
30735
31269
  operatorNotificationData: "The data to notify the operator about via LSP1.",
30736
31270
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -30989,6 +31523,24 @@ const FunctionSelectors = {
30989
31523
  devdoc: {
30990
31524
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
30991
31525
  }
31526
+ },
31527
+ /**
31528
+ * function version()
31529
+ *
31530
+ * 0x54fd4d50 = keccak256('version()')
31531
+ */
31532
+ "0x54fd4d50": {
31533
+ sig: "version()",
31534
+ inputs: [],
31535
+ name: "version",
31536
+ outputs: [{ internalType: "string", name: "", type: "string" }],
31537
+ stateMutability: "view",
31538
+ type: "function",
31539
+ devdoc: {
31540
+ details: "Get the version of the contract.",
31541
+ returns: { _0: "The version of the the contract." }
31542
+ },
31543
+ userdoc: { notice: "Contract version." }
30992
31544
  }
30993
31545
  },
30994
31546
  LSP8CompatibleERC721: {
@@ -31047,7 +31599,7 @@ const FunctionSelectors = {
31047
31599
  type: "function",
31048
31600
  devdoc: {
31049
31601
  "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
31050
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
31602
+ 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",
31051
31603
  params: {
31052
31604
  operator: "The address to authorize as an operator.",
31053
31605
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -31309,16 +31861,18 @@ const FunctionSelectors = {
31309
31861
  * function revokeOperator(
31310
31862
  * address operator,
31311
31863
  * bytes32 tokenId,
31864
+ * bool notify,
31312
31865
  * bytes operatorNotificationData
31313
31866
  * )
31314
31867
  *
31315
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
31868
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
31316
31869
  */
31317
- "0xf1b97e04": {
31318
- sig: "revokeOperator(address,bytes32,bytes)",
31870
+ "0xdb8c9663": {
31871
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
31319
31872
  inputs: [
31320
31873
  { internalType: "address", name: "operator", type: "address" },
31321
31874
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31875
+ { internalType: "bool", name: "notify", type: "bool" },
31322
31876
  {
31323
31877
  internalType: "bytes",
31324
31878
  name: "operatorNotificationData",
@@ -31332,6 +31886,7 @@ const FunctionSelectors = {
31332
31886
  devdoc: {
31333
31887
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
31334
31888
  params: {
31889
+ notify: "Boolean indicating whether to notify the operator or not",
31335
31890
  operator: "The address to revoke as an operator.",
31336
31891
  operatorNotificationData: "The data to notify the operator about via LSP1.",
31337
31892
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -31739,6 +32294,24 @@ const FunctionSelectors = {
31739
32294
  devdoc: {
31740
32295
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
31741
32296
  }
32297
+ },
32298
+ /**
32299
+ * function version()
32300
+ *
32301
+ * 0x54fd4d50 = keccak256('version()')
32302
+ */
32303
+ "0x54fd4d50": {
32304
+ sig: "version()",
32305
+ inputs: [],
32306
+ name: "version",
32307
+ outputs: [{ internalType: "string", name: "", type: "string" }],
32308
+ stateMutability: "view",
32309
+ type: "function",
32310
+ devdoc: {
32311
+ details: "Get the version of the contract.",
32312
+ returns: { _0: "The version of the the contract." }
32313
+ },
32314
+ userdoc: { notice: "Contract version." }
31742
32315
  }
31743
32316
  },
31744
32317
  LSP8CompatibleERC721InitAbstract: {
@@ -31797,7 +32370,7 @@ const FunctionSelectors = {
31797
32370
  type: "function",
31798
32371
  devdoc: {
31799
32372
  "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
31800
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
32373
+ 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",
31801
32374
  params: {
31802
32375
  operator: "The address to authorize as an operator.",
31803
32376
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -32059,16 +32632,18 @@ const FunctionSelectors = {
32059
32632
  * function revokeOperator(
32060
32633
  * address operator,
32061
32634
  * bytes32 tokenId,
32635
+ * bool notify,
32062
32636
  * bytes operatorNotificationData
32063
32637
  * )
32064
32638
  *
32065
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
32639
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
32066
32640
  */
32067
- "0xf1b97e04": {
32068
- sig: "revokeOperator(address,bytes32,bytes)",
32641
+ "0xdb8c9663": {
32642
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
32069
32643
  inputs: [
32070
32644
  { internalType: "address", name: "operator", type: "address" },
32071
32645
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
32646
+ { internalType: "bool", name: "notify", type: "bool" },
32072
32647
  {
32073
32648
  internalType: "bytes",
32074
32649
  name: "operatorNotificationData",
@@ -32082,6 +32657,7 @@ const FunctionSelectors = {
32082
32657
  devdoc: {
32083
32658
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
32084
32659
  params: {
32660
+ notify: "Boolean indicating whether to notify the operator or not",
32085
32661
  operator: "The address to revoke as an operator.",
32086
32662
  operatorNotificationData: "The data to notify the operator about via LSP1.",
32087
32663
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -32487,6 +33063,24 @@ const FunctionSelectors = {
32487
33063
  devdoc: {
32488
33064
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
32489
33065
  }
33066
+ },
33067
+ /**
33068
+ * function version()
33069
+ *
33070
+ * 0x54fd4d50 = keccak256('version()')
33071
+ */
33072
+ "0x54fd4d50": {
33073
+ sig: "version()",
33074
+ inputs: [],
33075
+ name: "version",
33076
+ outputs: [{ internalType: "string", name: "", type: "string" }],
33077
+ stateMutability: "view",
33078
+ type: "function",
33079
+ devdoc: {
33080
+ details: "Get the version of the contract.",
33081
+ returns: { _0: "The version of the the contract." }
33082
+ },
33083
+ userdoc: { notice: "Contract version." }
32490
33084
  }
32491
33085
  },
32492
33086
  LSP8CompatibleERC721Mintable: {
@@ -32545,7 +33139,7 @@ const FunctionSelectors = {
32545
33139
  type: "function",
32546
33140
  devdoc: {
32547
33141
  "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
32548
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
33142
+ 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",
32549
33143
  params: {
32550
33144
  operator: "The address to authorize as an operator.",
32551
33145
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -32842,16 +33436,18 @@ const FunctionSelectors = {
32842
33436
  * function revokeOperator(
32843
33437
  * address operator,
32844
33438
  * bytes32 tokenId,
33439
+ * bool notify,
32845
33440
  * bytes operatorNotificationData
32846
33441
  * )
32847
33442
  *
32848
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
33443
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
32849
33444
  */
32850
- "0xf1b97e04": {
32851
- sig: "revokeOperator(address,bytes32,bytes)",
33445
+ "0xdb8c9663": {
33446
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
32852
33447
  inputs: [
32853
33448
  { internalType: "address", name: "operator", type: "address" },
32854
33449
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
33450
+ { internalType: "bool", name: "notify", type: "bool" },
32855
33451
  {
32856
33452
  internalType: "bytes",
32857
33453
  name: "operatorNotificationData",
@@ -32865,6 +33461,7 @@ const FunctionSelectors = {
32865
33461
  devdoc: {
32866
33462
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
32867
33463
  params: {
33464
+ notify: "Boolean indicating whether to notify the operator or not",
32868
33465
  operator: "The address to revoke as an operator.",
32869
33466
  operatorNotificationData: "The data to notify the operator about via LSP1.",
32870
33467
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -33272,6 +33869,24 @@ const FunctionSelectors = {
33272
33869
  devdoc: {
33273
33870
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
33274
33871
  }
33872
+ },
33873
+ /**
33874
+ * function version()
33875
+ *
33876
+ * 0x54fd4d50 = keccak256('version()')
33877
+ */
33878
+ "0x54fd4d50": {
33879
+ sig: "version()",
33880
+ inputs: [],
33881
+ name: "version",
33882
+ outputs: [{ internalType: "string", name: "", type: "string" }],
33883
+ stateMutability: "view",
33884
+ type: "function",
33885
+ devdoc: {
33886
+ details: "Get the version of the contract.",
33887
+ returns: { _0: "The version of the the contract." }
33888
+ },
33889
+ userdoc: { notice: "Contract version." }
33275
33890
  }
33276
33891
  },
33277
33892
  LSP8CompatibleERC721MintableInit: {
@@ -33330,7 +33945,7 @@ const FunctionSelectors = {
33330
33945
  type: "function",
33331
33946
  devdoc: {
33332
33947
  "custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
33333
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
33948
+ 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",
33334
33949
  params: {
33335
33950
  operator: "The address to authorize as an operator.",
33336
33951
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -33660,16 +34275,18 @@ const FunctionSelectors = {
33660
34275
  * function revokeOperator(
33661
34276
  * address operator,
33662
34277
  * bytes32 tokenId,
34278
+ * bool notify,
33663
34279
  * bytes operatorNotificationData
33664
34280
  * )
33665
34281
  *
33666
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
34282
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
33667
34283
  */
33668
- "0xf1b97e04": {
33669
- sig: "revokeOperator(address,bytes32,bytes)",
34284
+ "0xdb8c9663": {
34285
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
33670
34286
  inputs: [
33671
34287
  { internalType: "address", name: "operator", type: "address" },
33672
34288
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34289
+ { internalType: "bool", name: "notify", type: "bool" },
33673
34290
  {
33674
34291
  internalType: "bytes",
33675
34292
  name: "operatorNotificationData",
@@ -33683,6 +34300,7 @@ const FunctionSelectors = {
33683
34300
  devdoc: {
33684
34301
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
33685
34302
  params: {
34303
+ notify: "Boolean indicating whether to notify the operator or not",
33686
34304
  operator: "The address to revoke as an operator.",
33687
34305
  operatorNotificationData: "The data to notify the operator about via LSP1.",
33688
34306
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -34088,6 +34706,24 @@ const FunctionSelectors = {
34088
34706
  devdoc: {
34089
34707
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
34090
34708
  }
34709
+ },
34710
+ /**
34711
+ * function version()
34712
+ *
34713
+ * 0x54fd4d50 = keccak256('version()')
34714
+ */
34715
+ "0x54fd4d50": {
34716
+ sig: "version()",
34717
+ inputs: [],
34718
+ name: "version",
34719
+ outputs: [{ internalType: "string", name: "", type: "string" }],
34720
+ stateMutability: "view",
34721
+ type: "function",
34722
+ devdoc: {
34723
+ details: "Get the version of the contract.",
34724
+ returns: { _0: "The version of the the contract." }
34725
+ },
34726
+ userdoc: { notice: "Contract version." }
34091
34727
  }
34092
34728
  },
34093
34729
  LSP8Mintable: {
@@ -34116,7 +34752,7 @@ const FunctionSelectors = {
34116
34752
  stateMutability: "nonpayable",
34117
34753
  type: "function",
34118
34754
  devdoc: {
34119
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
34755
+ 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",
34120
34756
  params: {
34121
34757
  operator: "The address to authorize as an operator.",
34122
34758
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -34320,16 +34956,18 @@ const FunctionSelectors = {
34320
34956
  * function revokeOperator(
34321
34957
  * address operator,
34322
34958
  * bytes32 tokenId,
34959
+ * bool notify,
34323
34960
  * bytes operatorNotificationData
34324
34961
  * )
34325
34962
  *
34326
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
34963
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
34327
34964
  */
34328
- "0xf1b97e04": {
34329
- sig: "revokeOperator(address,bytes32,bytes)",
34965
+ "0xdb8c9663": {
34966
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
34330
34967
  inputs: [
34331
34968
  { internalType: "address", name: "operator", type: "address" },
34332
34969
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34970
+ { internalType: "bool", name: "notify", type: "bool" },
34333
34971
  {
34334
34972
  internalType: "bytes",
34335
34973
  name: "operatorNotificationData",
@@ -34343,6 +34981,7 @@ const FunctionSelectors = {
34343
34981
  devdoc: {
34344
34982
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
34345
34983
  params: {
34984
+ notify: "Boolean indicating whether to notify the operator or not",
34346
34985
  operator: "The address to revoke as an operator.",
34347
34986
  operatorNotificationData: "The data to notify the operator about via LSP1.",
34348
34987
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -34581,6 +35220,24 @@ const FunctionSelectors = {
34581
35220
  devdoc: {
34582
35221
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
34583
35222
  }
35223
+ },
35224
+ /**
35225
+ * function version()
35226
+ *
35227
+ * 0x54fd4d50 = keccak256('version()')
35228
+ */
35229
+ "0x54fd4d50": {
35230
+ sig: "version()",
35231
+ inputs: [],
35232
+ name: "version",
35233
+ outputs: [{ internalType: "string", name: "", type: "string" }],
35234
+ stateMutability: "view",
35235
+ type: "function",
35236
+ devdoc: {
35237
+ details: "Get the version of the contract.",
35238
+ returns: { _0: "The version of the the contract." }
35239
+ },
35240
+ userdoc: { notice: "Contract version." }
34584
35241
  }
34585
35242
  },
34586
35243
  LSP8MintableInit: {
@@ -34609,7 +35266,7 @@ const FunctionSelectors = {
34609
35266
  stateMutability: "nonpayable",
34610
35267
  type: "function",
34611
35268
  devdoc: {
34612
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
35269
+ 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",
34613
35270
  params: {
34614
35271
  operator: "The address to authorize as an operator.",
34615
35272
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -34846,16 +35503,18 @@ const FunctionSelectors = {
34846
35503
  * function revokeOperator(
34847
35504
  * address operator,
34848
35505
  * bytes32 tokenId,
35506
+ * bool notify,
34849
35507
  * bytes operatorNotificationData
34850
35508
  * )
34851
35509
  *
34852
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
35510
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
34853
35511
  */
34854
- "0xf1b97e04": {
34855
- sig: "revokeOperator(address,bytes32,bytes)",
35512
+ "0xdb8c9663": {
35513
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
34856
35514
  inputs: [
34857
35515
  { internalType: "address", name: "operator", type: "address" },
34858
35516
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
35517
+ { internalType: "bool", name: "notify", type: "bool" },
34859
35518
  {
34860
35519
  internalType: "bytes",
34861
35520
  name: "operatorNotificationData",
@@ -34869,6 +35528,7 @@ const FunctionSelectors = {
34869
35528
  devdoc: {
34870
35529
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
34871
35530
  params: {
35531
+ notify: "Boolean indicating whether to notify the operator or not",
34872
35532
  operator: "The address to revoke as an operator.",
34873
35533
  operatorNotificationData: "The data to notify the operator about via LSP1.",
34874
35534
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -35105,6 +35765,24 @@ const FunctionSelectors = {
35105
35765
  devdoc: {
35106
35766
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
35107
35767
  }
35768
+ },
35769
+ /**
35770
+ * function version()
35771
+ *
35772
+ * 0x54fd4d50 = keccak256('version()')
35773
+ */
35774
+ "0x54fd4d50": {
35775
+ sig: "version()",
35776
+ inputs: [],
35777
+ name: "version",
35778
+ outputs: [{ internalType: "string", name: "", type: "string" }],
35779
+ stateMutability: "view",
35780
+ type: "function",
35781
+ devdoc: {
35782
+ details: "Get the version of the contract.",
35783
+ returns: { _0: "The version of the the contract." }
35784
+ },
35785
+ userdoc: { notice: "Contract version." }
35108
35786
  }
35109
35787
  },
35110
35788
  LSP9Vault: {
@@ -35205,7 +35883,7 @@ const FunctionSelectors = {
35205
35883
  stateMutability: "payable",
35206
35884
  type: "function",
35207
35885
  devdoc: {
35208
- "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.",
35886
+ "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.",
35209
35887
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35210
35888
  "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.",
35211
35889
  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.",
@@ -35247,7 +35925,7 @@ const FunctionSelectors = {
35247
35925
  stateMutability: "payable",
35248
35926
  type: "function",
35249
35927
  devdoc: {
35250
- "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.",
35928
+ "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.",
35251
35929
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35252
35930
  "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.",
35253
35931
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -35385,7 +36063,7 @@ const FunctionSelectors = {
35385
36063
  stateMutability: "payable",
35386
36064
  type: "function",
35387
36065
  devdoc: {
35388
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
36066
+ "custom:events": "- {DataChanged} event.",
35389
36067
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35390
36068
  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.",
35391
36069
  params: {
@@ -35416,7 +36094,7 @@ const FunctionSelectors = {
35416
36094
  stateMutability: "payable",
35417
36095
  type: "function",
35418
36096
  devdoc: {
35419
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36097
+ "custom:events": "- {DataChanged} event. (on each iteration of setting data)",
35420
36098
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35421
36099
  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.",
35422
36100
  params: {
@@ -35497,7 +36175,7 @@ const FunctionSelectors = {
35497
36175
  stateMutability: "payable",
35498
36176
  type: "function",
35499
36177
  devdoc: {
35500
- "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.",
36178
+ "custom:events": "- {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
35501
36179
  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.",
35502
36180
  params: {
35503
36181
  receivedData: "The data received.",
@@ -35510,6 +36188,24 @@ const FunctionSelectors = {
35510
36188
  userdoc: {
35511
36189
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
35512
36190
  }
36191
+ },
36192
+ /**
36193
+ * function version()
36194
+ *
36195
+ * 0x54fd4d50 = keccak256('version()')
36196
+ */
36197
+ "0x54fd4d50": {
36198
+ sig: "version()",
36199
+ inputs: [],
36200
+ name: "version",
36201
+ outputs: [{ internalType: "string", name: "", type: "string" }],
36202
+ stateMutability: "view",
36203
+ type: "function",
36204
+ devdoc: {
36205
+ details: "Get the version of the contract.",
36206
+ returns: { _0: "The version of the the contract." }
36207
+ },
36208
+ userdoc: { notice: "Contract version." }
35513
36209
  }
35514
36210
  },
35515
36211
  LSP9VaultInit: {
@@ -35610,7 +36306,7 @@ const FunctionSelectors = {
35610
36306
  stateMutability: "payable",
35611
36307
  type: "function",
35612
36308
  devdoc: {
35613
- "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.",
36309
+ "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.",
35614
36310
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35615
36311
  "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.",
35616
36312
  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.",
@@ -35652,7 +36348,7 @@ const FunctionSelectors = {
35652
36348
  stateMutability: "payable",
35653
36349
  type: "function",
35654
36350
  devdoc: {
35655
- "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.",
36351
+ "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.",
35656
36352
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35657
36353
  "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.",
35658
36354
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -35734,7 +36430,7 @@ const FunctionSelectors = {
35734
36430
  stateMutability: "payable",
35735
36431
  type: "function",
35736
36432
  devdoc: {
35737
- "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`.",
36433
+ "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`.",
35738
36434
  details: "Sets `initialOwner` as the contract owner and the `SupportedStandards:LSP9Vault` Data Key. The `initialize(address)` also allows funding the contract on deployment.",
35739
36435
  params: { newOwner: "The new owner of the contract." }
35740
36436
  },
@@ -35813,7 +36509,7 @@ const FunctionSelectors = {
35813
36509
  stateMutability: "payable",
35814
36510
  type: "function",
35815
36511
  devdoc: {
35816
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
36512
+ "custom:events": "- {DataChanged} event.",
35817
36513
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35818
36514
  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.",
35819
36515
  params: {
@@ -35844,7 +36540,7 @@ const FunctionSelectors = {
35844
36540
  stateMutability: "payable",
35845
36541
  type: "function",
35846
36542
  devdoc: {
35847
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36543
+ "custom:events": "- {DataChanged} event. (on each iteration of setting data)",
35848
36544
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35849
36545
  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.",
35850
36546
  params: {
@@ -35925,7 +36621,7 @@ const FunctionSelectors = {
35925
36621
  stateMutability: "payable",
35926
36622
  type: "function",
35927
36623
  devdoc: {
35928
- "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.",
36624
+ "custom:events": "- {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
35929
36625
  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.",
35930
36626
  params: {
35931
36627
  receivedData: "The data received.",
@@ -35938,6 +36634,24 @@ const FunctionSelectors = {
35938
36634
  userdoc: {
35939
36635
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
35940
36636
  }
36637
+ },
36638
+ /**
36639
+ * function version()
36640
+ *
36641
+ * 0x54fd4d50 = keccak256('version()')
36642
+ */
36643
+ "0x54fd4d50": {
36644
+ sig: "version()",
36645
+ inputs: [],
36646
+ name: "version",
36647
+ outputs: [{ internalType: "string", name: "", type: "string" }],
36648
+ stateMutability: "view",
36649
+ type: "function",
36650
+ devdoc: {
36651
+ details: "Get the version of the contract.",
36652
+ returns: { _0: "The version of the the contract." }
36653
+ },
36654
+ userdoc: { notice: "Contract version." }
35941
36655
  }
35942
36656
  },
35943
36657
  UniversalReceiverAddressStore: {
@@ -36193,7 +36907,7 @@ const FunctionSelectors = {
36193
36907
  stateMutability: "payable",
36194
36908
  type: "function",
36195
36909
  devdoc: {
36196
- "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.",
36910
+ "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.",
36197
36911
  "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.",
36198
36912
  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.",
36199
36913
  params: {
@@ -36234,7 +36948,7 @@ const FunctionSelectors = {
36234
36948
  stateMutability: "payable",
36235
36949
  type: "function",
36236
36950
  devdoc: {
36237
- "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.",
36951
+ "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.",
36238
36952
  "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.",
36239
36953
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
36240
36954
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -36406,7 +37120,7 @@ const FunctionSelectors = {
36406
37120
  stateMutability: "payable",
36407
37121
  type: "function",
36408
37122
  devdoc: {
36409
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
37123
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
36410
37124
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36411
37125
  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.",
36412
37126
  params: {
@@ -36437,7 +37151,7 @@ const FunctionSelectors = {
36437
37151
  stateMutability: "payable",
36438
37152
  type: "function",
36439
37153
  devdoc: {
36440
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
37154
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36441
37155
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36442
37156
  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.",
36443
37157
  params: {
@@ -36520,7 +37234,7 @@ const FunctionSelectors = {
36520
37234
  stateMutability: "payable",
36521
37235
  type: "function",
36522
37236
  devdoc: {
36523
- "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.",
37237
+ "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.",
36524
37238
  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.",
36525
37239
  params: {
36526
37240
  receivedData: "The data received.",
@@ -36533,6 +37247,24 @@ const FunctionSelectors = {
36533
37247
  userdoc: {
36534
37248
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
36535
37249
  }
37250
+ },
37251
+ /**
37252
+ * function version()
37253
+ *
37254
+ * 0x54fd4d50 = keccak256('version()')
37255
+ */
37256
+ "0x54fd4d50": {
37257
+ sig: "version()",
37258
+ inputs: [],
37259
+ name: "version",
37260
+ outputs: [{ internalType: "string", name: "", type: "string" }],
37261
+ stateMutability: "view",
37262
+ type: "function",
37263
+ devdoc: {
37264
+ details: "Get the version of the contract.",
37265
+ returns: { _0: "The version of the the contract." }
37266
+ },
37267
+ userdoc: { notice: "Contract version." }
36536
37268
  }
36537
37269
  },
36538
37270
  UniversalProfileInit: {
@@ -36633,7 +37365,7 @@ const FunctionSelectors = {
36633
37365
  stateMutability: "payable",
36634
37366
  type: "function",
36635
37367
  devdoc: {
36636
- "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.",
37368
+ "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.",
36637
37369
  "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.",
36638
37370
  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.",
36639
37371
  params: {
@@ -36674,7 +37406,7 @@ const FunctionSelectors = {
36674
37406
  stateMutability: "payable",
36675
37407
  type: "function",
36676
37408
  devdoc: {
36677
- "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.",
37409
+ "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.",
36678
37410
  "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.",
36679
37411
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
36680
37412
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -36758,7 +37490,7 @@ const FunctionSelectors = {
36758
37490
  stateMutability: "payable",
36759
37491
  type: "function",
36760
37492
  devdoc: {
36761
- "custom:events": "- {ValueReceived} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
37493
+ "custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
36762
37494
  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.",
36763
37495
  params: { initialOwner: "the owner of the contract" }
36764
37496
  },
@@ -36871,7 +37603,7 @@ const FunctionSelectors = {
36871
37603
  stateMutability: "payable",
36872
37604
  type: "function",
36873
37605
  devdoc: {
36874
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
37606
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
36875
37607
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36876
37608
  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.",
36877
37609
  params: {
@@ -36902,7 +37634,7 @@ const FunctionSelectors = {
36902
37634
  stateMutability: "payable",
36903
37635
  type: "function",
36904
37636
  devdoc: {
36905
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
37637
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36906
37638
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36907
37639
  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.",
36908
37640
  params: {
@@ -36985,7 +37717,7 @@ const FunctionSelectors = {
36985
37717
  stateMutability: "payable",
36986
37718
  type: "function",
36987
37719
  devdoc: {
36988
- "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.",
37720
+ "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.",
36989
37721
  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.",
36990
37722
  params: {
36991
37723
  receivedData: "The data received.",
@@ -36998,6 +37730,24 @@ const FunctionSelectors = {
36998
37730
  userdoc: {
36999
37731
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
37000
37732
  }
37733
+ },
37734
+ /**
37735
+ * function version()
37736
+ *
37737
+ * 0x54fd4d50 = keccak256('version()')
37738
+ */
37739
+ "0x54fd4d50": {
37740
+ sig: "version()",
37741
+ inputs: [],
37742
+ name: "version",
37743
+ outputs: [{ internalType: "string", name: "", type: "string" }],
37744
+ stateMutability: "view",
37745
+ type: "function",
37746
+ devdoc: {
37747
+ details: "Get the version of the contract.",
37748
+ returns: { _0: "The version of the the contract." }
37749
+ },
37750
+ userdoc: { notice: "Contract version." }
37001
37751
  }
37002
37752
  }
37003
37753
  };
@@ -37063,8 +37813,8 @@ const INTERFACE_IDS = {
37063
37813
  LSP1UniversalReceiver: "0x6bb56a14",
37064
37814
  LSP1UniversalReceiverDelegate: "0xa245bbda",
37065
37815
  LSP6KeyManager: "0x23f34c62",
37066
- LSP7DigitalAsset: "0x05519512",
37067
- LSP8IdentifiableDigitalAsset: "0x1ae9ba1f",
37816
+ LSP7DigitalAsset: "0xdaa746b7",
37817
+ LSP8IdentifiableDigitalAsset: "0x30dc5278",
37068
37818
  LSP9Vault: "0x28af17e6",
37069
37819
  LSP11BasicSocialRecovery: "0x049a28f1",
37070
37820
  LSP14Ownable2Step: "0x94be5999",
@@ -37161,7 +37911,10 @@ const ERC725YDataKeys = {
37161
37911
  "AddressPermissions:AllowedCalls": "0x4b80742de2bf393a64c70000"
37162
37912
  },
37163
37913
  LSP8: {
37164
- LSP8TokenIdType: "0x715f248956de7ce65e94d9d836bfead479f7e70d69b718d47bfe7b00e05b4fe4"
37914
+ LSP8TokenIdType: "0x715f248956de7ce65e94d9d836bfead479f7e70d69b718d47bfe7b00e05b4fe4",
37915
+ LSP8MetadataTokenURI: "0x1339e76a390b7b9ec9010000",
37916
+ LSP8TokenMetadataBaseURI: "0x1a7628600c3bac7101f53697f48df381ddc36b9015e7d7c9c5633d1252aa2843",
37917
+ LSP8ReferenceContract: "0x708e7b881795f2e6b6c2752108c177ec89248458de3bf69d0d43480b3e5034e6"
37165
37918
  },
37166
37919
  LSP9: {
37167
37920
  SupportedStandards_LSP9: SupportedStandards.LSP9Vault.key
@@ -37245,6 +37998,8 @@ const PERMISSIONS = {
37245
37998
  // 0100 0000 0000 0000 0000 0000
37246
37999
  };
37247
38000
  const LSP1_TYPE_IDS = {
38001
+ // keccak256('LSP0ValueReceived')
38002
+ LSP0ValueReceived: "0x9c4705229491d365fb5434052e12a386d6771d976bea61070a8c694e8affea3d",
37248
38003
  // keccak256('LSP0OwnershipTransferStarted')
37249
38004
  LSP0OwnershipTransferStarted: "0xe17117c9d2665d1dbeb479ed8058bbebde3c50ac50e2e65619f60006caac6926",
37250
38005
  // keccak256('LSP0OwnershipTransferred_SenderNotification')
@@ -37263,6 +38018,8 @@ const LSP1_TYPE_IDS = {
37263
38018
  LSP8Tokens_RecipientNotification: "0x0b084a55ebf70fd3c06fd755269dac2212c4d3f0f4d09079780bfa50c1b2984d",
37264
38019
  // keccak256('LSP8Tokens_OperatorNotification')
37265
38020
  LSP8Tokens_OperatorNotification: "0x8a1c15a8799f71b547e08e2bcb2e85257e81b0a07eee2ce6712549eef1f00970",
38021
+ // keccak256('LSP9ValueReceived')
38022
+ LSP9ValueReceived: "0x468cd1581d7bc001c3b685513d2b929b55437be34700410383d58f3aa1ea0abc",
37266
38023
  // keccak256('LSP9OwnershipTransferStarted')
37267
38024
  LSP9OwnershipTransferStarted: "0xaefd43f45fed1bcd8992f23c803b6f4ec45cf6b62b0d404d565f290a471e763f",
37268
38025
  // keccak256('LSP9OwnershipTransferred_SenderNotification')