@lukso/lsp-smart-contracts 0.12.0-rc.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) 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 +22 -0
  8. package/artifacts/LSP7CappedSupplyInitAbstract.json +22 -0
  9. package/artifacts/LSP7CompatibleERC20.json +22 -0
  10. package/artifacts/LSP7CompatibleERC20InitAbstract.json +22 -0
  11. package/artifacts/LSP7CompatibleERC20Mintable.json +24 -2
  12. package/artifacts/LSP7CompatibleERC20MintableInit.json +24 -2
  13. package/artifacts/LSP7DigitalAsset.json +22 -0
  14. package/artifacts/LSP7DigitalAssetInitAbstract.json +22 -0
  15. package/artifacts/LSP7Mintable.json +24 -2
  16. package/artifacts/LSP7MintableInit.json +24 -2
  17. package/artifacts/LSP8CappedSupply.json +11 -0
  18. package/artifacts/LSP8CappedSupplyInitAbstract.json +11 -0
  19. package/artifacts/LSP8CompatibleERC721.json +11 -0
  20. package/artifacts/LSP8CompatibleERC721InitAbstract.json +11 -0
  21. package/artifacts/LSP8CompatibleERC721Mintable.json +13 -2
  22. package/artifacts/LSP8CompatibleERC721MintableInit.json +13 -2
  23. package/artifacts/LSP8IdentifiableDigitalAsset.json +11 -0
  24. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +11 -0
  25. package/artifacts/LSP8Mintable.json +13 -2
  26. package/artifacts/LSP8MintableInit.json +13 -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 +6 -1
  33. package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +18 -4
  34. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +132 -66
  35. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +3 -2
  36. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +14 -3
  37. package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +11 -10
  38. package/contracts/LSP17ContractExtension/LSP17Extendable.sol +12 -8
  39. package/contracts/LSP17ContractExtension/LSP17Extension.sol +2 -1
  40. package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +2 -1
  41. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +32 -11
  42. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +25 -9
  43. package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +4 -3
  44. package/contracts/LSP20CallVerification/LSP20CallVerification.sol +43 -49
  45. package/contracts/LSP20CallVerification/LSP20Errors.sol +2 -2
  46. package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +1 -5
  47. package/contracts/LSP6KeyManager/LSP6KeyManager.sol +2 -1
  48. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +54 -8
  49. package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +2 -1
  50. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +14 -16
  51. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +9 -5
  52. package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +60 -0
  53. package/contracts/LSP7DigitalAsset/LSP7Constants.sol +1 -1
  54. package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +7 -5
  55. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +111 -175
  56. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +7 -5
  57. package/contracts/LSP7DigitalAsset/LSP7Errors.sol +5 -0
  58. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +8 -1
  59. package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +7 -1
  60. package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +5 -0
  61. package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +8 -5
  62. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +6 -5
  63. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +30 -73
  64. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +6 -5
  65. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +7 -7
  66. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +7 -7
  67. package/contracts/LSP9Vault/ILSP9Vault.sol +0 -8
  68. package/contracts/LSP9Vault/LSP9Constants.sol +6 -1
  69. package/contracts/LSP9Vault/LSP9Vault.sol +14 -4
  70. package/contracts/LSP9Vault/LSP9VaultCore.sol +80 -37
  71. package/contracts/LSP9Vault/LSP9VaultInit.sol +3 -2
  72. package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +12 -3
  73. package/contracts/UniversalProfile.sol +5 -3
  74. package/contracts/UniversalProfileInit.sol +9 -6
  75. package/contracts/UniversalProfileInitAbstract.sol +5 -3
  76. package/contracts/Version.sol +17 -0
  77. package/devdocs/LSP0ERC725Account.json +11 -10
  78. package/devdocs/LSP0ERC725AccountInit.json +10 -9
  79. package/devdocs/LSP6KeyManager.json +11 -0
  80. package/devdocs/LSP6KeyManagerInit.json +11 -0
  81. package/devdocs/LSP7CappedSupply.json +10 -10
  82. package/devdocs/LSP7CappedSupplyInitAbstract.json +10 -10
  83. package/devdocs/LSP7CompatibleERC20.json +10 -10
  84. package/devdocs/LSP7CompatibleERC20InitAbstract.json +10 -10
  85. package/devdocs/LSP7CompatibleERC20Mintable.json +10 -10
  86. package/devdocs/LSP7CompatibleERC20MintableInit.json +10 -10
  87. package/devdocs/LSP7DigitalAsset.json +10 -10
  88. package/devdocs/LSP7DigitalAssetInitAbstract.json +10 -10
  89. package/devdocs/LSP7Mintable.json +10 -10
  90. package/devdocs/LSP7MintableInit.json +10 -10
  91. package/devdocs/LSP8CappedSupply.json +3 -2
  92. package/devdocs/LSP8CappedSupplyInitAbstract.json +3 -2
  93. package/devdocs/LSP8CompatibleERC721.json +3 -2
  94. package/devdocs/LSP8CompatibleERC721InitAbstract.json +3 -2
  95. package/devdocs/LSP8CompatibleERC721Mintable.json +3 -2
  96. package/devdocs/LSP8CompatibleERC721MintableInit.json +3 -2
  97. package/devdocs/LSP8IdentifiableDigitalAsset.json +3 -2
  98. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +3 -2
  99. package/devdocs/LSP8Mintable.json +3 -2
  100. package/devdocs/LSP8MintableInit.json +3 -2
  101. package/devdocs/LSP9Vault.json +6 -6
  102. package/devdocs/LSP9VaultInit.json +6 -6
  103. package/devdocs/UniversalProfile.json +11 -10
  104. package/devdocs/UniversalProfileInit.json +11 -10
  105. package/dist/constants.cjs.js +822 -459
  106. package/dist/constants.d.ts +633 -298
  107. package/dist/constants.es.js +822 -459
  108. package/package.json +1 -3
  109. package/userdocs/LSP0ERC725Account.json +3 -3
  110. package/userdocs/LSP0ERC725AccountInit.json +3 -3
  111. package/userdocs/LSP1UniversalReceiverDelegateUP.json +3 -0
  112. package/userdocs/LSP1UniversalReceiverDelegateVault.json +3 -0
  113. package/userdocs/LSP6KeyManager.json +3 -0
  114. package/userdocs/LSP6KeyManagerInit.json +3 -0
  115. package/userdocs/LSP9Vault.json +3 -3
  116. package/userdocs/LSP9VaultInit.json +3 -3
  117. package/userdocs/UniversalProfile.json +3 -3
  118. package/userdocs/UniversalProfileInit.json +3 -3
  119. 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
  };
@@ -19962,6 +20172,20 @@ const FunctionSelectors = {
19962
20172
  stateMutability: "view",
19963
20173
  type: "function"
19964
20174
  },
20175
+ /**
20176
+ * function VERSION()
20177
+ *
20178
+ * 0xffa1ad74 = keccak256('VERSION()')
20179
+ */
20180
+ "0xffa1ad74": {
20181
+ sig: "VERSION()",
20182
+ inputs: [],
20183
+ name: "VERSION",
20184
+ outputs: [{ internalType: "string", name: "", type: "string" }],
20185
+ stateMutability: "view",
20186
+ type: "function",
20187
+ userdoc: { notice: "Contract version." }
20188
+ },
19965
20189
  /**
19966
20190
  * function acceptOwnership()
19967
20191
  *
@@ -20033,7 +20257,7 @@ const FunctionSelectors = {
20033
20257
  stateMutability: "payable",
20034
20258
  type: "function",
20035
20259
  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.",
20260
+ "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
20261
  "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
20262
  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
20263
  params: {
@@ -20074,7 +20298,7 @@ const FunctionSelectors = {
20074
20298
  stateMutability: "payable",
20075
20299
  type: "function",
20076
20300
  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.",
20301
+ "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
20302
  "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
20303
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
20080
20304
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -20162,6 +20386,7 @@ const FunctionSelectors = {
20162
20386
  stateMutability: "view",
20163
20387
  type: "function",
20164
20388
  devdoc: {
20389
+ "custom:warning": "This function does not enforce by default the inclusion of the address of this contract in the signature digest. It is recommended that protocols or applications using this contract include the targeted address (= this contract) in the data to sign. To ensure that a signature is valid for a specific LSP0ERC725Account and prevent signatures from the same EOA to be replayed across different LSP0ERC725Accounts.",
20165
20390
  details: "Handles two cases: 1. If the owner is an EOA, recovers an address from the hash and the signature provided: - Returns the `_ERC1271_SUCCESSVALUE` if the address recovered is the same as the owner, indicating that it was a valid signature. - If the address is different, it returns the `_ERC1271_FAILVALUE` indicating that the signature is not valid. 2. If the owner is a smart contract, it forwards the call of {isValidSignature()} to the owner contract: - If the contract fails or returns the `_ERC1271_FAILVALUE`, the {isValidSignature()} on the account returns the `_ERC1271_FAILVALUE`, indicating that the signature is not valid. - If the {isValidSignature()} on the owner returned the `_ERC1271_SUCCESSVALUE`, the {isValidSignature()} on the account returns the `_ERC1271_SUCCESSVALUE`, indicating that it's a valid signature.",
20166
20391
  params: {
20167
20392
  dataHash: "The hash of the data to be validated.",
@@ -20246,7 +20471,7 @@ const FunctionSelectors = {
20246
20471
  stateMutability: "payable",
20247
20472
  type: "function",
20248
20473
  devdoc: {
20249
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
20474
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
20250
20475
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20251
20476
  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
20477
  params: {
@@ -20277,7 +20502,7 @@ const FunctionSelectors = {
20277
20502
  stateMutability: "payable",
20278
20503
  type: "function",
20279
20504
  devdoc: {
20280
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20505
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20281
20506
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20282
20507
  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
20508
  params: {
@@ -20360,8 +20585,8 @@ const FunctionSelectors = {
20360
20585
  stateMutability: "payable",
20361
20586
  type: "function",
20362
20587
  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.",
20364
- 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.",
20588
+ "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.",
20589
+ 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. This function delegates internally the handling of native tokens to the {universalReceiver} function itself passing `_TYPEID_LSP0_VALUE_RECEIVED` as typeId and the calldata as received data.",
20365
20590
  params: {
20366
20591
  receivedData: "The data received.",
20367
20592
  typeId: "The type of call received."
@@ -20402,6 +20627,20 @@ const FunctionSelectors = {
20402
20627
  stateMutability: "view",
20403
20628
  type: "function"
20404
20629
  },
20630
+ /**
20631
+ * function VERSION()
20632
+ *
20633
+ * 0xffa1ad74 = keccak256('VERSION()')
20634
+ */
20635
+ "0xffa1ad74": {
20636
+ sig: "VERSION()",
20637
+ inputs: [],
20638
+ name: "VERSION",
20639
+ outputs: [{ internalType: "string", name: "", type: "string" }],
20640
+ stateMutability: "view",
20641
+ type: "function",
20642
+ userdoc: { notice: "Contract version." }
20643
+ },
20405
20644
  /**
20406
20645
  * function acceptOwnership()
20407
20646
  *
@@ -20473,7 +20712,7 @@ const FunctionSelectors = {
20473
20712
  stateMutability: "payable",
20474
20713
  type: "function",
20475
20714
  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.",
20715
+ "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
20716
  "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
20717
  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
20718
  params: {
@@ -20514,7 +20753,7 @@ const FunctionSelectors = {
20514
20753
  stateMutability: "payable",
20515
20754
  type: "function",
20516
20755
  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.",
20756
+ "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
20757
  "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
20758
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
20520
20759
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -20598,7 +20837,7 @@ const FunctionSelectors = {
20598
20837
  stateMutability: "payable",
20599
20838
  type: "function",
20600
20839
  devdoc: {
20601
- "custom:events": "- {ValueReceived} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
20840
+ "custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
20602
20841
  details: "Set `initialOwner` as the contract owner. The `initialize(address)` also allows funding the contract on deployment.",
20603
20842
  params: { initialOwner: "The owner of the contract." }
20604
20843
  },
@@ -20627,6 +20866,7 @@ const FunctionSelectors = {
20627
20866
  stateMutability: "view",
20628
20867
  type: "function",
20629
20868
  devdoc: {
20869
+ "custom:warning": "This function does not enforce by default the inclusion of the address of this contract in the signature digest. It is recommended that protocols or applications using this contract include the targeted address (= this contract) in the data to sign. To ensure that a signature is valid for a specific LSP0ERC725Account and prevent signatures from the same EOA to be replayed across different LSP0ERC725Accounts.",
20630
20870
  details: "Handles two cases: 1. If the owner is an EOA, recovers an address from the hash and the signature provided: - Returns the `_ERC1271_SUCCESSVALUE` if the address recovered is the same as the owner, indicating that it was a valid signature. - If the address is different, it returns the `_ERC1271_FAILVALUE` indicating that the signature is not valid. 2. If the owner is a smart contract, it forwards the call of {isValidSignature()} to the owner contract: - If the contract fails or returns the `_ERC1271_FAILVALUE`, the {isValidSignature()} on the account returns the `_ERC1271_FAILVALUE`, indicating that the signature is not valid. - If the {isValidSignature()} on the owner returned the `_ERC1271_SUCCESSVALUE`, the {isValidSignature()} on the account returns the `_ERC1271_SUCCESSVALUE`, indicating that it's a valid signature.",
20631
20871
  params: {
20632
20872
  dataHash: "The hash of the data to be validated.",
@@ -20711,7 +20951,7 @@ const FunctionSelectors = {
20711
20951
  stateMutability: "payable",
20712
20952
  type: "function",
20713
20953
  devdoc: {
20714
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
20954
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
20715
20955
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20716
20956
  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
20957
  params: {
@@ -20742,7 +20982,7 @@ const FunctionSelectors = {
20742
20982
  stateMutability: "payable",
20743
20983
  type: "function",
20744
20984
  devdoc: {
20745
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20985
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
20746
20986
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
20747
20987
  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
20988
  params: {
@@ -20825,8 +21065,8 @@ const FunctionSelectors = {
20825
21065
  stateMutability: "payable",
20826
21066
  type: "function",
20827
21067
  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.",
20829
- 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.",
21068
+ "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.",
21069
+ 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. This function delegates internally the handling of native tokens to the {universalReceiver} function itself passing `_TYPEID_LSP0_VALUE_RECEIVED` as typeId and the calldata as received data.",
20830
21070
  params: {
20831
21071
  receivedData: "The data received.",
20832
21072
  typeId: "The type of call received."
@@ -21777,6 +22017,20 @@ const FunctionSelectors = {
21777
22017
  }
21778
22018
  },
21779
22019
  LSP1UniversalReceiverDelegateUP: {
22020
+ /**
22021
+ * function VERSION()
22022
+ *
22023
+ * 0xffa1ad74 = keccak256('VERSION()')
22024
+ */
22025
+ "0xffa1ad74": {
22026
+ sig: "VERSION()",
22027
+ inputs: [],
22028
+ name: "VERSION",
22029
+ outputs: [{ internalType: "string", name: "", type: "string" }],
22030
+ stateMutability: "view",
22031
+ type: "function",
22032
+ userdoc: { notice: "Contract version." }
22033
+ },
21780
22034
  /**
21781
22035
  * function supportsInterface(
21782
22036
  * bytes4 interfaceId
@@ -21827,6 +22081,20 @@ const FunctionSelectors = {
21827
22081
  }
21828
22082
  },
21829
22083
  LSP1UniversalReceiverDelegateVault: {
22084
+ /**
22085
+ * function VERSION()
22086
+ *
22087
+ * 0xffa1ad74 = keccak256('VERSION()')
22088
+ */
22089
+ "0xffa1ad74": {
22090
+ sig: "VERSION()",
22091
+ inputs: [],
22092
+ name: "VERSION",
22093
+ outputs: [{ internalType: "string", name: "", type: "string" }],
22094
+ stateMutability: "view",
22095
+ type: "function",
22096
+ userdoc: { notice: "Contract version." }
22097
+ },
21830
22098
  /**
21831
22099
  * function supportsInterface(
21832
22100
  * bytes4 interfaceId
@@ -22612,6 +22880,20 @@ const FunctionSelectors = {
22612
22880
  }
22613
22881
  },
22614
22882
  LSP6KeyManager: {
22883
+ /**
22884
+ * function VERSION()
22885
+ *
22886
+ * 0xffa1ad74 = keccak256('VERSION()')
22887
+ */
22888
+ "0xffa1ad74": {
22889
+ sig: "VERSION()",
22890
+ inputs: [],
22891
+ name: "VERSION",
22892
+ outputs: [{ internalType: "string", name: "", type: "string" }],
22893
+ stateMutability: "view",
22894
+ type: "function",
22895
+ userdoc: { notice: "Contract version." }
22896
+ },
22615
22897
  /**
22616
22898
  * function execute(
22617
22899
  * bytes payload
@@ -22813,6 +23095,7 @@ const FunctionSelectors = {
22813
23095
  stateMutability: "view",
22814
23096
  type: "function",
22815
23097
  devdoc: {
23098
+ "custom:warning": "This function does not enforce by default the inclusion of the address of this contract in the signature digest. It is recommended that protocols or applications using this contract include the targeted address (= this contract) in the data to sign. To ensure that a signature is valid for a specific LSP6KeyManager and prevent signatures from the same EOA to be replayed across different LSP6KeyManager.",
22816
23099
  details: "Checks if a signature was signed by a controller that has the permission `SIGN`. If the signer is a controller with the permission `SIGN`, it will return the ERC1271 success value.",
22817
23100
  params: {
22818
23101
  hash: "Hash of the data to be signed",
@@ -22924,6 +23207,20 @@ const FunctionSelectors = {
22924
23207
  }
22925
23208
  },
22926
23209
  LSP6KeyManagerInit: {
23210
+ /**
23211
+ * function VERSION()
23212
+ *
23213
+ * 0xffa1ad74 = keccak256('VERSION()')
23214
+ */
23215
+ "0xffa1ad74": {
23216
+ sig: "VERSION()",
23217
+ inputs: [],
23218
+ name: "VERSION",
23219
+ outputs: [{ internalType: "string", name: "", type: "string" }],
23220
+ stateMutability: "view",
23221
+ type: "function",
23222
+ userdoc: { notice: "Contract version." }
23223
+ },
22927
23224
  /**
22928
23225
  * function execute(
22929
23226
  * bytes payload
@@ -23149,6 +23446,7 @@ const FunctionSelectors = {
23149
23446
  stateMutability: "view",
23150
23447
  type: "function",
23151
23448
  devdoc: {
23449
+ "custom:warning": "This function does not enforce by default the inclusion of the address of this contract in the signature digest. It is recommended that protocols or applications using this contract include the targeted address (= this contract) in the data to sign. To ensure that a signature is valid for a specific LSP6KeyManager and prevent signatures from the same EOA to be replayed across different LSP6KeyManager.",
23152
23450
  details: "Checks if a signature was signed by a controller that has the permission `SIGN`. If the signer is a controller with the permission `SIGN`, it will return the ERC1271 success value.",
23153
23451
  params: {
23154
23452
  hash: "Hash of the data to be signed",
@@ -23286,7 +23584,7 @@ const FunctionSelectors = {
23286
23584
  type: "function",
23287
23585
  devdoc: {
23288
23586
  "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}.",
23587
+ 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
23588
  params: {
23291
23589
  amount: "The allowance amount of tokens operator has access to.",
23292
23590
  operator: "The address to authorize as an operator.",
@@ -23391,10 +23689,7 @@ const FunctionSelectors = {
23391
23689
  stateMutability: "nonpayable",
23392
23690
  type: "function",
23393
23691
  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.",
23692
+ 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
23693
  params: {
23399
23694
  operator: "The operator to decrease allowance for `msg.sender`",
23400
23695
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -23505,10 +23800,7 @@ const FunctionSelectors = {
23505
23800
  stateMutability: "nonpayable",
23506
23801
  type: "function",
23507
23802
  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.",
23803
+ 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
23804
  params: {
23513
23805
  addedAmount: "The additional amount to add on top of the current operator's allowance",
23514
23806
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -23551,15 +23843,17 @@ const FunctionSelectors = {
23551
23843
  /**
23552
23844
  * function revokeOperator(
23553
23845
  * address operator,
23846
+ * bool notify,
23554
23847
  * bytes operatorNotificationData
23555
23848
  * )
23556
23849
  *
23557
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
23850
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
23558
23851
  */
23559
- "0xca3631e7": {
23560
- sig: "revokeOperator(address,bytes)",
23852
+ "0x4521748e": {
23853
+ sig: "revokeOperator(address,bool,bytes)",
23561
23854
  inputs: [
23562
23855
  { internalType: "address", name: "operator", type: "address" },
23856
+ { internalType: "bool", name: "notify", type: "bool" },
23563
23857
  {
23564
23858
  internalType: "bytes",
23565
23859
  name: "operatorNotificationData",
@@ -23573,6 +23867,7 @@ const FunctionSelectors = {
23573
23867
  devdoc: {
23574
23868
  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
23869
  params: {
23870
+ notify: "Boolean indicating whether to notify the operator or not.",
23576
23871
  operator: "The address to revoke as an operator.",
23577
23872
  operatorNotificationData: "The data to notify the operator about via LSP1."
23578
23873
  }
@@ -23793,7 +24088,7 @@ const FunctionSelectors = {
23793
24088
  type: "function",
23794
24089
  devdoc: {
23795
24090
  "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}.",
24091
+ 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
24092
  params: {
23798
24093
  amount: "The allowance amount of tokens operator has access to.",
23799
24094
  operator: "The address to authorize as an operator.",
@@ -23898,10 +24193,7 @@ const FunctionSelectors = {
23898
24193
  stateMutability: "nonpayable",
23899
24194
  type: "function",
23900
24195
  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.",
24196
+ 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
24197
  params: {
23906
24198
  operator: "The operator to decrease allowance for `msg.sender`",
23907
24199
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -24012,10 +24304,7 @@ const FunctionSelectors = {
24012
24304
  stateMutability: "nonpayable",
24013
24305
  type: "function",
24014
24306
  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.",
24307
+ 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
24308
  params: {
24020
24309
  addedAmount: "The additional amount to add on top of the current operator's allowance",
24021
24310
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -24058,15 +24347,17 @@ const FunctionSelectors = {
24058
24347
  /**
24059
24348
  * function revokeOperator(
24060
24349
  * address operator,
24350
+ * bool notify,
24061
24351
  * bytes operatorNotificationData
24062
24352
  * )
24063
24353
  *
24064
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
24354
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
24065
24355
  */
24066
- "0xca3631e7": {
24067
- sig: "revokeOperator(address,bytes)",
24356
+ "0x4521748e": {
24357
+ sig: "revokeOperator(address,bool,bytes)",
24068
24358
  inputs: [
24069
24359
  { internalType: "address", name: "operator", type: "address" },
24360
+ { internalType: "bool", name: "notify", type: "bool" },
24070
24361
  {
24071
24362
  internalType: "bytes",
24072
24363
  name: "operatorNotificationData",
@@ -24080,6 +24371,7 @@ const FunctionSelectors = {
24080
24371
  devdoc: {
24081
24372
  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
24373
  params: {
24374
+ notify: "Boolean indicating whether to notify the operator or not.",
24083
24375
  operator: "The address to revoke as an operator.",
24084
24376
  operatorNotificationData: "The data to notify the operator about via LSP1."
24085
24377
  }
@@ -24298,7 +24590,7 @@ const FunctionSelectors = {
24298
24590
  type: "function",
24299
24591
  devdoc: {
24300
24592
  "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}.",
24593
+ 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
24594
  params: {
24303
24595
  amount: "The allowance amount of tokens operator has access to.",
24304
24596
  operator: "The address to authorize as an operator.",
@@ -24403,10 +24695,7 @@ const FunctionSelectors = {
24403
24695
  stateMutability: "nonpayable",
24404
24696
  type: "function",
24405
24697
  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.",
24698
+ 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
24699
  params: {
24411
24700
  operator: "The operator to decrease allowance for `msg.sender`",
24412
24701
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -24517,10 +24806,7 @@ const FunctionSelectors = {
24517
24806
  stateMutability: "nonpayable",
24518
24807
  type: "function",
24519
24808
  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.",
24809
+ 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
24810
  params: {
24525
24811
  addedAmount: "The additional amount to add on top of the current operator's allowance",
24526
24812
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -24563,15 +24849,17 @@ const FunctionSelectors = {
24563
24849
  /**
24564
24850
  * function revokeOperator(
24565
24851
  * address operator,
24852
+ * bool notify,
24566
24853
  * bytes operatorNotificationData
24567
24854
  * )
24568
24855
  *
24569
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
24856
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
24570
24857
  */
24571
- "0xca3631e7": {
24572
- sig: "revokeOperator(address,bytes)",
24858
+ "0x4521748e": {
24859
+ sig: "revokeOperator(address,bool,bytes)",
24573
24860
  inputs: [
24574
24861
  { internalType: "address", name: "operator", type: "address" },
24862
+ { internalType: "bool", name: "notify", type: "bool" },
24575
24863
  {
24576
24864
  internalType: "bytes",
24577
24865
  name: "operatorNotificationData",
@@ -24585,6 +24873,7 @@ const FunctionSelectors = {
24585
24873
  devdoc: {
24586
24874
  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
24875
  params: {
24876
+ notify: "Boolean indicating whether to notify the operator or not.",
24588
24877
  operator: "The address to revoke as an operator.",
24589
24878
  operatorNotificationData: "The data to notify the operator about via LSP1."
24590
24879
  }
@@ -24827,7 +25116,7 @@ const FunctionSelectors = {
24827
25116
  type: "function",
24828
25117
  devdoc: {
24829
25118
  "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}.",
25119
+ 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
25120
  params: {
24832
25121
  amount: "The allowance amount of tokens operator has access to.",
24833
25122
  operator: "The address to authorize as an operator.",
@@ -24932,10 +25221,7 @@ const FunctionSelectors = {
24932
25221
  stateMutability: "nonpayable",
24933
25222
  type: "function",
24934
25223
  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.",
25224
+ 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
25225
  params: {
24940
25226
  operator: "The operator to decrease allowance for `msg.sender`",
24941
25227
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -25046,10 +25332,7 @@ const FunctionSelectors = {
25046
25332
  stateMutability: "nonpayable",
25047
25333
  type: "function",
25048
25334
  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.",
25335
+ 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
25336
  params: {
25054
25337
  addedAmount: "The additional amount to add on top of the current operator's allowance",
25055
25338
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -25092,15 +25375,17 @@ const FunctionSelectors = {
25092
25375
  /**
25093
25376
  * function revokeOperator(
25094
25377
  * address operator,
25378
+ * bool notify,
25095
25379
  * bytes operatorNotificationData
25096
25380
  * )
25097
25381
  *
25098
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
25382
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
25099
25383
  */
25100
- "0xca3631e7": {
25101
- sig: "revokeOperator(address,bytes)",
25384
+ "0x4521748e": {
25385
+ sig: "revokeOperator(address,bool,bytes)",
25102
25386
  inputs: [
25103
25387
  { internalType: "address", name: "operator", type: "address" },
25388
+ { internalType: "bool", name: "notify", type: "bool" },
25104
25389
  {
25105
25390
  internalType: "bytes",
25106
25391
  name: "operatorNotificationData",
@@ -25114,6 +25399,7 @@ const FunctionSelectors = {
25114
25399
  devdoc: {
25115
25400
  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
25401
  params: {
25402
+ notify: "Boolean indicating whether to notify the operator or not.",
25117
25403
  operator: "The address to revoke as an operator.",
25118
25404
  operatorNotificationData: "The data to notify the operator about via LSP1."
25119
25405
  }
@@ -25408,7 +25694,7 @@ const FunctionSelectors = {
25408
25694
  type: "function",
25409
25695
  devdoc: {
25410
25696
  "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}.",
25697
+ 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
25698
  params: {
25413
25699
  amount: "The allowance amount of tokens operator has access to.",
25414
25700
  operator: "The address to authorize as an operator.",
@@ -25513,10 +25799,7 @@ const FunctionSelectors = {
25513
25799
  stateMutability: "nonpayable",
25514
25800
  type: "function",
25515
25801
  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.",
25802
+ 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
25803
  params: {
25521
25804
  operator: "The operator to decrease allowance for `msg.sender`",
25522
25805
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -25627,10 +25910,7 @@ const FunctionSelectors = {
25627
25910
  stateMutability: "nonpayable",
25628
25911
  type: "function",
25629
25912
  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.",
25913
+ 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
25914
  params: {
25635
25915
  addedAmount: "The additional amount to add on top of the current operator's allowance",
25636
25916
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -25690,15 +25970,17 @@ const FunctionSelectors = {
25690
25970
  /**
25691
25971
  * function revokeOperator(
25692
25972
  * address operator,
25973
+ * bool notify,
25693
25974
  * bytes operatorNotificationData
25694
25975
  * )
25695
25976
  *
25696
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
25977
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
25697
25978
  */
25698
- "0xca3631e7": {
25699
- sig: "revokeOperator(address,bytes)",
25979
+ "0x4521748e": {
25980
+ sig: "revokeOperator(address,bool,bytes)",
25700
25981
  inputs: [
25701
25982
  { internalType: "address", name: "operator", type: "address" },
25983
+ { internalType: "bool", name: "notify", type: "bool" },
25702
25984
  {
25703
25985
  internalType: "bytes",
25704
25986
  name: "operatorNotificationData",
@@ -25712,6 +25994,7 @@ const FunctionSelectors = {
25712
25994
  devdoc: {
25713
25995
  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
25996
  params: {
25997
+ notify: "Boolean indicating whether to notify the operator or not.",
25715
25998
  operator: "The address to revoke as an operator.",
25716
25999
  operatorNotificationData: "The data to notify the operator about via LSP1."
25717
26000
  }
@@ -26062,7 +26345,7 @@ const FunctionSelectors = {
26062
26345
  type: "function",
26063
26346
  devdoc: {
26064
26347
  "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}.",
26348
+ 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
26349
  params: {
26067
26350
  amount: "The allowance amount of tokens operator has access to.",
26068
26351
  operator: "The address to authorize as an operator.",
@@ -26167,10 +26450,7 @@ const FunctionSelectors = {
26167
26450
  stateMutability: "nonpayable",
26168
26451
  type: "function",
26169
26452
  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.",
26453
+ 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
26454
  params: {
26175
26455
  operator: "The operator to decrease allowance for `msg.sender`",
26176
26456
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -26281,10 +26561,7 @@ const FunctionSelectors = {
26281
26561
  stateMutability: "nonpayable",
26282
26562
  type: "function",
26283
26563
  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.",
26564
+ 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
26565
  params: {
26289
26566
  addedAmount: "The additional amount to add on top of the current operator's allowance",
26290
26567
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -26344,15 +26621,17 @@ const FunctionSelectors = {
26344
26621
  /**
26345
26622
  * function revokeOperator(
26346
26623
  * address operator,
26624
+ * bool notify,
26347
26625
  * bytes operatorNotificationData
26348
26626
  * )
26349
26627
  *
26350
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
26628
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
26351
26629
  */
26352
- "0xca3631e7": {
26353
- sig: "revokeOperator(address,bytes)",
26630
+ "0x4521748e": {
26631
+ sig: "revokeOperator(address,bool,bytes)",
26354
26632
  inputs: [
26355
26633
  { internalType: "address", name: "operator", type: "address" },
26634
+ { internalType: "bool", name: "notify", type: "bool" },
26356
26635
  {
26357
26636
  internalType: "bytes",
26358
26637
  name: "operatorNotificationData",
@@ -26366,6 +26645,7 @@ const FunctionSelectors = {
26366
26645
  devdoc: {
26367
26646
  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
26647
  params: {
26648
+ notify: "Boolean indicating whether to notify the operator or not.",
26369
26649
  operator: "The address to revoke as an operator.",
26370
26650
  operatorNotificationData: "The data to notify the operator about via LSP1."
26371
26651
  }
@@ -26714,7 +26994,7 @@ const FunctionSelectors = {
26714
26994
  type: "function",
26715
26995
  devdoc: {
26716
26996
  "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}.",
26997
+ 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
26998
  params: {
26719
26999
  amount: "The allowance amount of tokens operator has access to.",
26720
27000
  operator: "The address to authorize as an operator.",
@@ -26819,10 +27099,7 @@ const FunctionSelectors = {
26819
27099
  stateMutability: "nonpayable",
26820
27100
  type: "function",
26821
27101
  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.",
27102
+ 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
27103
  params: {
26827
27104
  operator: "The operator to decrease allowance for `msg.sender`",
26828
27105
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -26933,10 +27210,7 @@ const FunctionSelectors = {
26933
27210
  stateMutability: "nonpayable",
26934
27211
  type: "function",
26935
27212
  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.",
27213
+ 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
27214
  params: {
26941
27215
  addedAmount: "The additional amount to add on top of the current operator's allowance",
26942
27216
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -27022,15 +27296,17 @@ const FunctionSelectors = {
27022
27296
  /**
27023
27297
  * function revokeOperator(
27024
27298
  * address operator,
27299
+ * bool notify,
27025
27300
  * bytes operatorNotificationData
27026
27301
  * )
27027
27302
  *
27028
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
27303
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
27029
27304
  */
27030
- "0xca3631e7": {
27031
- sig: "revokeOperator(address,bytes)",
27305
+ "0x4521748e": {
27306
+ sig: "revokeOperator(address,bool,bytes)",
27032
27307
  inputs: [
27033
27308
  { internalType: "address", name: "operator", type: "address" },
27309
+ { internalType: "bool", name: "notify", type: "bool" },
27034
27310
  {
27035
27311
  internalType: "bytes",
27036
27312
  name: "operatorNotificationData",
@@ -27044,6 +27320,7 @@ const FunctionSelectors = {
27044
27320
  devdoc: {
27045
27321
  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
27322
  params: {
27323
+ notify: "Boolean indicating whether to notify the operator or not.",
27047
27324
  operator: "The address to revoke as an operator.",
27048
27325
  operatorNotificationData: "The data to notify the operator about via LSP1."
27049
27326
  }
@@ -27394,7 +27671,7 @@ const FunctionSelectors = {
27394
27671
  type: "function",
27395
27672
  devdoc: {
27396
27673
  "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}.",
27674
+ 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
27675
  params: {
27399
27676
  amount: "The allowance amount of tokens operator has access to.",
27400
27677
  operator: "The address to authorize as an operator.",
@@ -27499,10 +27776,7 @@ const FunctionSelectors = {
27499
27776
  stateMutability: "nonpayable",
27500
27777
  type: "function",
27501
27778
  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.",
27779
+ 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
27780
  params: {
27507
27781
  operator: "The operator to decrease allowance for `msg.sender`",
27508
27782
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -27613,10 +27887,7 @@ const FunctionSelectors = {
27613
27887
  stateMutability: "nonpayable",
27614
27888
  type: "function",
27615
27889
  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.",
27890
+ 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
27891
  params: {
27621
27892
  addedAmount: "The additional amount to add on top of the current operator's allowance",
27622
27893
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -27733,15 +28004,17 @@ const FunctionSelectors = {
27733
28004
  /**
27734
28005
  * function revokeOperator(
27735
28006
  * address operator,
28007
+ * bool notify,
27736
28008
  * bytes operatorNotificationData
27737
28009
  * )
27738
28010
  *
27739
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
28011
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
27740
28012
  */
27741
- "0xca3631e7": {
27742
- sig: "revokeOperator(address,bytes)",
28013
+ "0x4521748e": {
28014
+ sig: "revokeOperator(address,bool,bytes)",
27743
28015
  inputs: [
27744
28016
  { internalType: "address", name: "operator", type: "address" },
28017
+ { internalType: "bool", name: "notify", type: "bool" },
27745
28018
  {
27746
28019
  internalType: "bytes",
27747
28020
  name: "operatorNotificationData",
@@ -27755,6 +28028,7 @@ const FunctionSelectors = {
27755
28028
  devdoc: {
27756
28029
  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
28030
  params: {
28031
+ notify: "Boolean indicating whether to notify the operator or not.",
27758
28032
  operator: "The address to revoke as an operator.",
27759
28033
  operatorNotificationData: "The data to notify the operator about via LSP1."
27760
28034
  }
@@ -28049,7 +28323,7 @@ const FunctionSelectors = {
28049
28323
  type: "function",
28050
28324
  devdoc: {
28051
28325
  "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}.",
28326
+ 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
28327
  params: {
28054
28328
  amount: "The allowance amount of tokens operator has access to.",
28055
28329
  operator: "The address to authorize as an operator.",
@@ -28154,10 +28428,7 @@ const FunctionSelectors = {
28154
28428
  stateMutability: "nonpayable",
28155
28429
  type: "function",
28156
28430
  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.",
28431
+ 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
28432
  params: {
28162
28433
  operator: "The operator to decrease allowance for `msg.sender`",
28163
28434
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -28268,10 +28539,7 @@ const FunctionSelectors = {
28268
28539
  stateMutability: "nonpayable",
28269
28540
  type: "function",
28270
28541
  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.",
28542
+ 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
28543
  params: {
28276
28544
  addedAmount: "The additional amount to add on top of the current operator's allowance",
28277
28545
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -28340,15 +28608,17 @@ const FunctionSelectors = {
28340
28608
  /**
28341
28609
  * function revokeOperator(
28342
28610
  * address operator,
28611
+ * bool notify,
28343
28612
  * bytes operatorNotificationData
28344
28613
  * )
28345
28614
  *
28346
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
28615
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
28347
28616
  */
28348
- "0xca3631e7": {
28349
- sig: "revokeOperator(address,bytes)",
28617
+ "0x4521748e": {
28618
+ sig: "revokeOperator(address,bool,bytes)",
28350
28619
  inputs: [
28351
28620
  { internalType: "address", name: "operator", type: "address" },
28621
+ { internalType: "bool", name: "notify", type: "bool" },
28352
28622
  {
28353
28623
  internalType: "bytes",
28354
28624
  name: "operatorNotificationData",
@@ -28362,6 +28632,7 @@ const FunctionSelectors = {
28362
28632
  devdoc: {
28363
28633
  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
28634
  params: {
28635
+ notify: "Boolean indicating whether to notify the operator or not.",
28365
28636
  operator: "The address to revoke as an operator.",
28366
28637
  operatorNotificationData: "The data to notify the operator about via LSP1."
28367
28638
  }
@@ -28582,7 +28853,7 @@ const FunctionSelectors = {
28582
28853
  type: "function",
28583
28854
  devdoc: {
28584
28855
  "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}.",
28856
+ 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
28857
  params: {
28587
28858
  amount: "The allowance amount of tokens operator has access to.",
28588
28859
  operator: "The address to authorize as an operator.",
@@ -28687,10 +28958,7 @@ const FunctionSelectors = {
28687
28958
  stateMutability: "nonpayable",
28688
28959
  type: "function",
28689
28960
  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.",
28961
+ 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
28962
  params: {
28695
28963
  operator: "The operator to decrease allowance for `msg.sender`",
28696
28964
  subtractedAmount: "The amount to decrease by in the operator's allowance."
@@ -28801,10 +29069,7 @@ const FunctionSelectors = {
28801
29069
  stateMutability: "nonpayable",
28802
29070
  type: "function",
28803
29071
  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.",
29072
+ 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
29073
  params: {
28809
29074
  addedAmount: "The additional amount to add on top of the current operator's allowance",
28810
29075
  operator: "The operator to increase the allowance for `msg.sender`"
@@ -28906,15 +29171,17 @@ const FunctionSelectors = {
28906
29171
  /**
28907
29172
  * function revokeOperator(
28908
29173
  * address operator,
29174
+ * bool notify,
28909
29175
  * bytes operatorNotificationData
28910
29176
  * )
28911
29177
  *
28912
- * 0xca3631e7 = keccak256('revokeOperator(address,bytes)')
29178
+ * 0x4521748e = keccak256('revokeOperator(address,bool,bytes)')
28913
29179
  */
28914
- "0xca3631e7": {
28915
- sig: "revokeOperator(address,bytes)",
29180
+ "0x4521748e": {
29181
+ sig: "revokeOperator(address,bool,bytes)",
28916
29182
  inputs: [
28917
29183
  { internalType: "address", name: "operator", type: "address" },
29184
+ { internalType: "bool", name: "notify", type: "bool" },
28918
29185
  {
28919
29186
  internalType: "bytes",
28920
29187
  name: "operatorNotificationData",
@@ -28928,6 +29195,7 @@ const FunctionSelectors = {
28928
29195
  devdoc: {
28929
29196
  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
29197
  params: {
29198
+ notify: "Boolean indicating whether to notify the operator or not.",
28931
29199
  operator: "The address to revoke as an operator.",
28932
29200
  operatorNotificationData: "The data to notify the operator about via LSP1."
28933
29201
  }
@@ -29145,7 +29413,7 @@ const FunctionSelectors = {
29145
29413
  stateMutability: "nonpayable",
29146
29414
  type: "function",
29147
29415
  devdoc: {
29148
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
29416
+ 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
29417
  params: {
29150
29418
  operator: "The address to authorize as an operator.",
29151
29419
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -29314,16 +29582,18 @@ const FunctionSelectors = {
29314
29582
  * function revokeOperator(
29315
29583
  * address operator,
29316
29584
  * bytes32 tokenId,
29585
+ * bool notify,
29317
29586
  * bytes operatorNotificationData
29318
29587
  * )
29319
29588
  *
29320
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
29589
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
29321
29590
  */
29322
- "0xf1b97e04": {
29323
- sig: "revokeOperator(address,bytes32,bytes)",
29591
+ "0xdb8c9663": {
29592
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
29324
29593
  inputs: [
29325
29594
  { internalType: "address", name: "operator", type: "address" },
29326
29595
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
29596
+ { internalType: "bool", name: "notify", type: "bool" },
29327
29597
  {
29328
29598
  internalType: "bytes",
29329
29599
  name: "operatorNotificationData",
@@ -29337,6 +29607,7 @@ const FunctionSelectors = {
29337
29607
  devdoc: {
29338
29608
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
29339
29609
  params: {
29610
+ notify: "Boolean indicating whether to notify the operator or not",
29340
29611
  operator: "The address to revoke as an operator.",
29341
29612
  operatorNotificationData: "The data to notify the operator about via LSP1.",
29342
29613
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -29603,7 +29874,7 @@ const FunctionSelectors = {
29603
29874
  stateMutability: "nonpayable",
29604
29875
  type: "function",
29605
29876
  devdoc: {
29606
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
29877
+ 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
29878
  params: {
29608
29879
  operator: "The address to authorize as an operator.",
29609
29880
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -29772,16 +30043,18 @@ const FunctionSelectors = {
29772
30043
  * function revokeOperator(
29773
30044
  * address operator,
29774
30045
  * bytes32 tokenId,
30046
+ * bool notify,
29775
30047
  * bytes operatorNotificationData
29776
30048
  * )
29777
30049
  *
29778
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
30050
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
29779
30051
  */
29780
- "0xf1b97e04": {
29781
- sig: "revokeOperator(address,bytes32,bytes)",
30052
+ "0xdb8c9663": {
30053
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
29782
30054
  inputs: [
29783
30055
  { internalType: "address", name: "operator", type: "address" },
29784
30056
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
30057
+ { internalType: "bool", name: "notify", type: "bool" },
29785
30058
  {
29786
30059
  internalType: "bytes",
29787
30060
  name: "operatorNotificationData",
@@ -29795,6 +30068,7 @@ const FunctionSelectors = {
29795
30068
  devdoc: {
29796
30069
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
29797
30070
  params: {
30071
+ notify: "Boolean indicating whether to notify the operator or not",
29798
30072
  operator: "The address to revoke as an operator.",
29799
30073
  operatorNotificationData: "The data to notify the operator about via LSP1.",
29800
30074
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -30059,7 +30333,7 @@ const FunctionSelectors = {
30059
30333
  stateMutability: "nonpayable",
30060
30334
  type: "function",
30061
30335
  devdoc: {
30062
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
30336
+ 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
30337
  params: {
30064
30338
  operator: "The address to authorize as an operator.",
30065
30339
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -30228,16 +30502,18 @@ const FunctionSelectors = {
30228
30502
  * function revokeOperator(
30229
30503
  * address operator,
30230
30504
  * bytes32 tokenId,
30505
+ * bool notify,
30231
30506
  * bytes operatorNotificationData
30232
30507
  * )
30233
30508
  *
30234
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
30509
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
30235
30510
  */
30236
- "0xf1b97e04": {
30237
- sig: "revokeOperator(address,bytes32,bytes)",
30511
+ "0xdb8c9663": {
30512
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
30238
30513
  inputs: [
30239
30514
  { internalType: "address", name: "operator", type: "address" },
30240
30515
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
30516
+ { internalType: "bool", name: "notify", type: "bool" },
30241
30517
  {
30242
30518
  internalType: "bytes",
30243
30519
  name: "operatorNotificationData",
@@ -30251,6 +30527,7 @@ const FunctionSelectors = {
30251
30527
  devdoc: {
30252
30528
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
30253
30529
  params: {
30530
+ notify: "Boolean indicating whether to notify the operator or not",
30254
30531
  operator: "The address to revoke as an operator.",
30255
30532
  operatorNotificationData: "The data to notify the operator about via LSP1.",
30256
30533
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -30539,7 +30816,7 @@ const FunctionSelectors = {
30539
30816
  stateMutability: "nonpayable",
30540
30817
  type: "function",
30541
30818
  devdoc: {
30542
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
30819
+ 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
30820
  params: {
30544
30821
  operator: "The address to authorize as an operator.",
30545
30822
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -30708,16 +30985,18 @@ const FunctionSelectors = {
30708
30985
  * function revokeOperator(
30709
30986
  * address operator,
30710
30987
  * bytes32 tokenId,
30988
+ * bool notify,
30711
30989
  * bytes operatorNotificationData
30712
30990
  * )
30713
30991
  *
30714
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
30992
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
30715
30993
  */
30716
- "0xf1b97e04": {
30717
- sig: "revokeOperator(address,bytes32,bytes)",
30994
+ "0xdb8c9663": {
30995
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
30718
30996
  inputs: [
30719
30997
  { internalType: "address", name: "operator", type: "address" },
30720
30998
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
30999
+ { internalType: "bool", name: "notify", type: "bool" },
30721
31000
  {
30722
31001
  internalType: "bytes",
30723
31002
  name: "operatorNotificationData",
@@ -30731,6 +31010,7 @@ const FunctionSelectors = {
30731
31010
  devdoc: {
30732
31011
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
30733
31012
  params: {
31013
+ notify: "Boolean indicating whether to notify the operator or not",
30734
31014
  operator: "The address to revoke as an operator.",
30735
31015
  operatorNotificationData: "The data to notify the operator about via LSP1.",
30736
31016
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -31047,7 +31327,7 @@ const FunctionSelectors = {
31047
31327
  type: "function",
31048
31328
  devdoc: {
31049
31329
  "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}.",
31330
+ 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
31331
  params: {
31052
31332
  operator: "The address to authorize as an operator.",
31053
31333
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -31309,16 +31589,18 @@ const FunctionSelectors = {
31309
31589
  * function revokeOperator(
31310
31590
  * address operator,
31311
31591
  * bytes32 tokenId,
31592
+ * bool notify,
31312
31593
  * bytes operatorNotificationData
31313
31594
  * )
31314
31595
  *
31315
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
31596
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
31316
31597
  */
31317
- "0xf1b97e04": {
31318
- sig: "revokeOperator(address,bytes32,bytes)",
31598
+ "0xdb8c9663": {
31599
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
31319
31600
  inputs: [
31320
31601
  { internalType: "address", name: "operator", type: "address" },
31321
31602
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
31603
+ { internalType: "bool", name: "notify", type: "bool" },
31322
31604
  {
31323
31605
  internalType: "bytes",
31324
31606
  name: "operatorNotificationData",
@@ -31332,6 +31614,7 @@ const FunctionSelectors = {
31332
31614
  devdoc: {
31333
31615
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
31334
31616
  params: {
31617
+ notify: "Boolean indicating whether to notify the operator or not",
31335
31618
  operator: "The address to revoke as an operator.",
31336
31619
  operatorNotificationData: "The data to notify the operator about via LSP1.",
31337
31620
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -31797,7 +32080,7 @@ const FunctionSelectors = {
31797
32080
  type: "function",
31798
32081
  devdoc: {
31799
32082
  "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}.",
32083
+ 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
32084
  params: {
31802
32085
  operator: "The address to authorize as an operator.",
31803
32086
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -32059,16 +32342,18 @@ const FunctionSelectors = {
32059
32342
  * function revokeOperator(
32060
32343
  * address operator,
32061
32344
  * bytes32 tokenId,
32345
+ * bool notify,
32062
32346
  * bytes operatorNotificationData
32063
32347
  * )
32064
32348
  *
32065
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
32349
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
32066
32350
  */
32067
- "0xf1b97e04": {
32068
- sig: "revokeOperator(address,bytes32,bytes)",
32351
+ "0xdb8c9663": {
32352
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
32069
32353
  inputs: [
32070
32354
  { internalType: "address", name: "operator", type: "address" },
32071
32355
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
32356
+ { internalType: "bool", name: "notify", type: "bool" },
32072
32357
  {
32073
32358
  internalType: "bytes",
32074
32359
  name: "operatorNotificationData",
@@ -32082,6 +32367,7 @@ const FunctionSelectors = {
32082
32367
  devdoc: {
32083
32368
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
32084
32369
  params: {
32370
+ notify: "Boolean indicating whether to notify the operator or not",
32085
32371
  operator: "The address to revoke as an operator.",
32086
32372
  operatorNotificationData: "The data to notify the operator about via LSP1.",
32087
32373
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -32545,7 +32831,7 @@ const FunctionSelectors = {
32545
32831
  type: "function",
32546
32832
  devdoc: {
32547
32833
  "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}.",
32834
+ 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
32835
  params: {
32550
32836
  operator: "The address to authorize as an operator.",
32551
32837
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -32842,16 +33128,18 @@ const FunctionSelectors = {
32842
33128
  * function revokeOperator(
32843
33129
  * address operator,
32844
33130
  * bytes32 tokenId,
33131
+ * bool notify,
32845
33132
  * bytes operatorNotificationData
32846
33133
  * )
32847
33134
  *
32848
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
33135
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
32849
33136
  */
32850
- "0xf1b97e04": {
32851
- sig: "revokeOperator(address,bytes32,bytes)",
33137
+ "0xdb8c9663": {
33138
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
32852
33139
  inputs: [
32853
33140
  { internalType: "address", name: "operator", type: "address" },
32854
33141
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
33142
+ { internalType: "bool", name: "notify", type: "bool" },
32855
33143
  {
32856
33144
  internalType: "bytes",
32857
33145
  name: "operatorNotificationData",
@@ -32865,6 +33153,7 @@ const FunctionSelectors = {
32865
33153
  devdoc: {
32866
33154
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
32867
33155
  params: {
33156
+ notify: "Boolean indicating whether to notify the operator or not",
32868
33157
  operator: "The address to revoke as an operator.",
32869
33158
  operatorNotificationData: "The data to notify the operator about via LSP1.",
32870
33159
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -33330,7 +33619,7 @@ const FunctionSelectors = {
33330
33619
  type: "function",
33331
33620
  devdoc: {
33332
33621
  "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}.",
33622
+ 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
33623
  params: {
33335
33624
  operator: "The address to authorize as an operator.",
33336
33625
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -33660,16 +33949,18 @@ const FunctionSelectors = {
33660
33949
  * function revokeOperator(
33661
33950
  * address operator,
33662
33951
  * bytes32 tokenId,
33952
+ * bool notify,
33663
33953
  * bytes operatorNotificationData
33664
33954
  * )
33665
33955
  *
33666
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
33956
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
33667
33957
  */
33668
- "0xf1b97e04": {
33669
- sig: "revokeOperator(address,bytes32,bytes)",
33958
+ "0xdb8c9663": {
33959
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
33670
33960
  inputs: [
33671
33961
  { internalType: "address", name: "operator", type: "address" },
33672
33962
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
33963
+ { internalType: "bool", name: "notify", type: "bool" },
33673
33964
  {
33674
33965
  internalType: "bytes",
33675
33966
  name: "operatorNotificationData",
@@ -33683,6 +33974,7 @@ const FunctionSelectors = {
33683
33974
  devdoc: {
33684
33975
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
33685
33976
  params: {
33977
+ notify: "Boolean indicating whether to notify the operator or not",
33686
33978
  operator: "The address to revoke as an operator.",
33687
33979
  operatorNotificationData: "The data to notify the operator about via LSP1.",
33688
33980
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -34116,7 +34408,7 @@ const FunctionSelectors = {
34116
34408
  stateMutability: "nonpayable",
34117
34409
  type: "function",
34118
34410
  devdoc: {
34119
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
34411
+ 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
34412
  params: {
34121
34413
  operator: "The address to authorize as an operator.",
34122
34414
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -34320,16 +34612,18 @@ const FunctionSelectors = {
34320
34612
  * function revokeOperator(
34321
34613
  * address operator,
34322
34614
  * bytes32 tokenId,
34615
+ * bool notify,
34323
34616
  * bytes operatorNotificationData
34324
34617
  * )
34325
34618
  *
34326
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
34619
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
34327
34620
  */
34328
- "0xf1b97e04": {
34329
- sig: "revokeOperator(address,bytes32,bytes)",
34621
+ "0xdb8c9663": {
34622
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
34330
34623
  inputs: [
34331
34624
  { internalType: "address", name: "operator", type: "address" },
34332
34625
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
34626
+ { internalType: "bool", name: "notify", type: "bool" },
34333
34627
  {
34334
34628
  internalType: "bytes",
34335
34629
  name: "operatorNotificationData",
@@ -34343,6 +34637,7 @@ const FunctionSelectors = {
34343
34637
  devdoc: {
34344
34638
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
34345
34639
  params: {
34640
+ notify: "Boolean indicating whether to notify the operator or not",
34346
34641
  operator: "The address to revoke as an operator.",
34347
34642
  operatorNotificationData: "The data to notify the operator about via LSP1.",
34348
34643
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -34609,7 +34904,7 @@ const FunctionSelectors = {
34609
34904
  stateMutability: "nonpayable",
34610
34905
  type: "function",
34611
34906
  devdoc: {
34612
- details: "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
34907
+ 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
34908
  params: {
34614
34909
  operator: "The address to authorize as an operator.",
34615
34910
  operatorNotificationData: "The data to notify the operator about via LSP1.",
@@ -34846,16 +35141,18 @@ const FunctionSelectors = {
34846
35141
  * function revokeOperator(
34847
35142
  * address operator,
34848
35143
  * bytes32 tokenId,
35144
+ * bool notify,
34849
35145
  * bytes operatorNotificationData
34850
35146
  * )
34851
35147
  *
34852
- * 0xf1b97e04 = keccak256('revokeOperator(address,bytes32,bytes)')
35148
+ * 0xdb8c9663 = keccak256('revokeOperator(address,bytes32,bool,bytes)')
34853
35149
  */
34854
- "0xf1b97e04": {
34855
- sig: "revokeOperator(address,bytes32,bytes)",
35150
+ "0xdb8c9663": {
35151
+ sig: "revokeOperator(address,bytes32,bool,bytes)",
34856
35152
  inputs: [
34857
35153
  { internalType: "address", name: "operator", type: "address" },
34858
35154
  { internalType: "bytes32", name: "tokenId", type: "bytes32" },
35155
+ { internalType: "bool", name: "notify", type: "bool" },
34859
35156
  {
34860
35157
  internalType: "bytes",
34861
35158
  name: "operatorNotificationData",
@@ -34869,6 +35166,7 @@ const FunctionSelectors = {
34869
35166
  devdoc: {
34870
35167
  details: "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
34871
35168
  params: {
35169
+ notify: "Boolean indicating whether to notify the operator or not",
34872
35170
  operator: "The address to revoke as an operator.",
34873
35171
  operatorNotificationData: "The data to notify the operator about via LSP1.",
34874
35172
  tokenId: "The tokenId `operator` is revoked from operating on."
@@ -35134,6 +35432,20 @@ const FunctionSelectors = {
35134
35432
  stateMutability: "view",
35135
35433
  type: "function"
35136
35434
  },
35435
+ /**
35436
+ * function VERSION()
35437
+ *
35438
+ * 0xffa1ad74 = keccak256('VERSION()')
35439
+ */
35440
+ "0xffa1ad74": {
35441
+ sig: "VERSION()",
35442
+ inputs: [],
35443
+ name: "VERSION",
35444
+ outputs: [{ internalType: "string", name: "", type: "string" }],
35445
+ stateMutability: "view",
35446
+ type: "function",
35447
+ userdoc: { notice: "Contract version." }
35448
+ },
35137
35449
  /**
35138
35450
  * function acceptOwnership()
35139
35451
  *
@@ -35205,7 +35517,7 @@ const FunctionSelectors = {
35205
35517
  stateMutability: "payable",
35206
35518
  type: "function",
35207
35519
  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.",
35520
+ "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
35521
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35210
35522
  "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
35523
  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 +35559,7 @@ const FunctionSelectors = {
35247
35559
  stateMutability: "payable",
35248
35560
  type: "function",
35249
35561
  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.",
35562
+ "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
35563
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35252
35564
  "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
35565
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -35385,7 +35697,7 @@ const FunctionSelectors = {
35385
35697
  stateMutability: "payable",
35386
35698
  type: "function",
35387
35699
  devdoc: {
35388
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
35700
+ "custom:events": "- {DataChanged} event.",
35389
35701
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35390
35702
  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
35703
  params: {
@@ -35416,7 +35728,7 @@ const FunctionSelectors = {
35416
35728
  stateMutability: "payable",
35417
35729
  type: "function",
35418
35730
  devdoc: {
35419
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
35731
+ "custom:events": "- {DataChanged} event. (on each iteration of setting data)",
35420
35732
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35421
35733
  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
35734
  params: {
@@ -35497,7 +35809,7 @@ const FunctionSelectors = {
35497
35809
  stateMutability: "payable",
35498
35810
  type: "function",
35499
35811
  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.",
35812
+ "custom:events": "- {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
35501
35813
  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
35814
  params: {
35503
35815
  receivedData: "The data received.",
@@ -35539,6 +35851,20 @@ const FunctionSelectors = {
35539
35851
  stateMutability: "view",
35540
35852
  type: "function"
35541
35853
  },
35854
+ /**
35855
+ * function VERSION()
35856
+ *
35857
+ * 0xffa1ad74 = keccak256('VERSION()')
35858
+ */
35859
+ "0xffa1ad74": {
35860
+ sig: "VERSION()",
35861
+ inputs: [],
35862
+ name: "VERSION",
35863
+ outputs: [{ internalType: "string", name: "", type: "string" }],
35864
+ stateMutability: "view",
35865
+ type: "function",
35866
+ userdoc: { notice: "Contract version." }
35867
+ },
35542
35868
  /**
35543
35869
  * function acceptOwnership()
35544
35870
  *
@@ -35610,7 +35936,7 @@ const FunctionSelectors = {
35610
35936
  stateMutability: "payable",
35611
35937
  type: "function",
35612
35938
  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.",
35939
+ "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
35940
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35615
35941
  "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
35942
  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 +35978,7 @@ const FunctionSelectors = {
35652
35978
  stateMutability: "payable",
35653
35979
  type: "function",
35654
35980
  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.",
35981
+ "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
35982
  "custom:info": "The `operationType` 4 `DELEGATECALL` is disabled by default in the LSP9 Vault.",
35657
35983
  "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
35984
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -35734,7 +36060,7 @@ const FunctionSelectors = {
35734
36060
  stateMutability: "payable",
35735
36061
  type: "function",
35736
36062
  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`.",
36063
+ "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
36064
  details: "Sets `initialOwner` as the contract owner and the `SupportedStandards:LSP9Vault` Data Key. The `initialize(address)` also allows funding the contract on deployment.",
35739
36065
  params: { newOwner: "The new owner of the contract." }
35740
36066
  },
@@ -35813,7 +36139,7 @@ const FunctionSelectors = {
35813
36139
  stateMutability: "payable",
35814
36140
  type: "function",
35815
36141
  devdoc: {
35816
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
36142
+ "custom:events": "- {DataChanged} event.",
35817
36143
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35818
36144
  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
36145
  params: {
@@ -35844,7 +36170,7 @@ const FunctionSelectors = {
35844
36170
  stateMutability: "payable",
35845
36171
  type: "function",
35846
36172
  devdoc: {
35847
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36173
+ "custom:events": "- {DataChanged} event. (on each iteration of setting data)",
35848
36174
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
35849
36175
  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
36176
  params: {
@@ -35925,7 +36251,7 @@ const FunctionSelectors = {
35925
36251
  stateMutability: "payable",
35926
36252
  type: "function",
35927
36253
  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.",
36254
+ "custom:events": "- {UniversalReceiver} event with the function parameters, call options, and the response of the UniversalReceiverDelegates (URD) contract that was called.",
35929
36255
  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
36256
  params: {
35931
36257
  receivedData: "The data received.",
@@ -36122,6 +36448,20 @@ const FunctionSelectors = {
36122
36448
  stateMutability: "view",
36123
36449
  type: "function"
36124
36450
  },
36451
+ /**
36452
+ * function VERSION()
36453
+ *
36454
+ * 0xffa1ad74 = keccak256('VERSION()')
36455
+ */
36456
+ "0xffa1ad74": {
36457
+ sig: "VERSION()",
36458
+ inputs: [],
36459
+ name: "VERSION",
36460
+ outputs: [{ internalType: "string", name: "", type: "string" }],
36461
+ stateMutability: "view",
36462
+ type: "function",
36463
+ userdoc: { notice: "Contract version." }
36464
+ },
36125
36465
  /**
36126
36466
  * function acceptOwnership()
36127
36467
  *
@@ -36193,7 +36533,7 @@ const FunctionSelectors = {
36193
36533
  stateMutability: "payable",
36194
36534
  type: "function",
36195
36535
  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.",
36536
+ "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
36537
  "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
36538
  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
36539
  params: {
@@ -36234,7 +36574,7 @@ const FunctionSelectors = {
36234
36574
  stateMutability: "payable",
36235
36575
  type: "function",
36236
36576
  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.",
36577
+ "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
36578
  "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
36579
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
36240
36580
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -36322,6 +36662,7 @@ const FunctionSelectors = {
36322
36662
  stateMutability: "view",
36323
36663
  type: "function",
36324
36664
  devdoc: {
36665
+ "custom:warning": "This function does not enforce by default the inclusion of the address of this contract in the signature digest. It is recommended that protocols or applications using this contract include the targeted address (= this contract) in the data to sign. To ensure that a signature is valid for a specific LSP0ERC725Account and prevent signatures from the same EOA to be replayed across different LSP0ERC725Accounts.",
36325
36666
  details: "Handles two cases: 1. If the owner is an EOA, recovers an address from the hash and the signature provided: - Returns the `_ERC1271_SUCCESSVALUE` if the address recovered is the same as the owner, indicating that it was a valid signature. - If the address is different, it returns the `_ERC1271_FAILVALUE` indicating that the signature is not valid. 2. If the owner is a smart contract, it forwards the call of {isValidSignature()} to the owner contract: - If the contract fails or returns the `_ERC1271_FAILVALUE`, the {isValidSignature()} on the account returns the `_ERC1271_FAILVALUE`, indicating that the signature is not valid. - If the {isValidSignature()} on the owner returned the `_ERC1271_SUCCESSVALUE`, the {isValidSignature()} on the account returns the `_ERC1271_SUCCESSVALUE`, indicating that it's a valid signature.",
36326
36667
  params: {
36327
36668
  dataHash: "The hash of the data to be validated.",
@@ -36406,7 +36747,7 @@ const FunctionSelectors = {
36406
36747
  stateMutability: "payable",
36407
36748
  type: "function",
36408
36749
  devdoc: {
36409
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
36750
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
36410
36751
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36411
36752
  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
36753
  params: {
@@ -36437,7 +36778,7 @@ const FunctionSelectors = {
36437
36778
  stateMutability: "payable",
36438
36779
  type: "function",
36439
36780
  devdoc: {
36440
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36781
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36441
36782
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36442
36783
  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
36784
  params: {
@@ -36520,8 +36861,8 @@ const FunctionSelectors = {
36520
36861
  stateMutability: "payable",
36521
36862
  type: "function",
36522
36863
  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.",
36524
- 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.",
36864
+ "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.",
36865
+ 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. This function delegates internally the handling of native tokens to the {universalReceiver} function itself passing `_TYPEID_LSP0_VALUE_RECEIVED` as typeId and the calldata as received data.",
36525
36866
  params: {
36526
36867
  receivedData: "The data received.",
36527
36868
  typeId: "The type of call received."
@@ -36562,6 +36903,20 @@ const FunctionSelectors = {
36562
36903
  stateMutability: "view",
36563
36904
  type: "function"
36564
36905
  },
36906
+ /**
36907
+ * function VERSION()
36908
+ *
36909
+ * 0xffa1ad74 = keccak256('VERSION()')
36910
+ */
36911
+ "0xffa1ad74": {
36912
+ sig: "VERSION()",
36913
+ inputs: [],
36914
+ name: "VERSION",
36915
+ outputs: [{ internalType: "string", name: "", type: "string" }],
36916
+ stateMutability: "view",
36917
+ type: "function",
36918
+ userdoc: { notice: "Contract version." }
36919
+ },
36565
36920
  /**
36566
36921
  * function acceptOwnership()
36567
36922
  *
@@ -36633,7 +36988,7 @@ const FunctionSelectors = {
36633
36988
  stateMutability: "payable",
36634
36989
  type: "function",
36635
36990
  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.",
36991
+ "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
36992
  "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
36993
  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
36994
  params: {
@@ -36674,7 +37029,7 @@ const FunctionSelectors = {
36674
37029
  stateMutability: "payable",
36675
37030
  type: "function",
36676
37031
  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.",
37032
+ "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
37033
  "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
37034
  "custom:warning": "- The `msg.value` should not be trusted for any method called within the batch with `operationType`: `DELEGATECALL` (4).",
36680
37035
  details: "Batch executor function that behaves the same as {execute} but allowing multiple operations in the same transaction.",
@@ -36758,8 +37113,8 @@ const FunctionSelectors = {
36758
37113
  stateMutability: "payable",
36759
37114
  type: "function",
36760
37115
  devdoc: {
36761
- "custom:events": "- {ValueReceived} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
36762
- 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.",
37116
+ "custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}. - {DataChanged} event when setting the {_LSP3_SUPPORTED_STANDARDS_KEY}.",
37117
+ details: "Set `initialOwner` as the contract owner and the `SupportedStandards:LSP3Profile` data key in the ERC725Y data key/value store. - The `initialize(address)` function is payable and allows funding the contract on initialization. - The `initialOwner` will then be allowed to call protected functions marked with the `onlyOwner` modifier.",
36763
37118
  params: { initialOwner: "the owner of the contract" }
36764
37119
  },
36765
37120
  userdoc: {
@@ -36787,6 +37142,7 @@ const FunctionSelectors = {
36787
37142
  stateMutability: "view",
36788
37143
  type: "function",
36789
37144
  devdoc: {
37145
+ "custom:warning": "This function does not enforce by default the inclusion of the address of this contract in the signature digest. It is recommended that protocols or applications using this contract include the targeted address (= this contract) in the data to sign. To ensure that a signature is valid for a specific LSP0ERC725Account and prevent signatures from the same EOA to be replayed across different LSP0ERC725Accounts.",
36790
37146
  details: "Handles two cases: 1. If the owner is an EOA, recovers an address from the hash and the signature provided: - Returns the `_ERC1271_SUCCESSVALUE` if the address recovered is the same as the owner, indicating that it was a valid signature. - If the address is different, it returns the `_ERC1271_FAILVALUE` indicating that the signature is not valid. 2. If the owner is a smart contract, it forwards the call of {isValidSignature()} to the owner contract: - If the contract fails or returns the `_ERC1271_FAILVALUE`, the {isValidSignature()} on the account returns the `_ERC1271_FAILVALUE`, indicating that the signature is not valid. - If the {isValidSignature()} on the owner returned the `_ERC1271_SUCCESSVALUE`, the {isValidSignature()} on the account returns the `_ERC1271_SUCCESSVALUE`, indicating that it's a valid signature.",
36791
37147
  params: {
36792
37148
  dataHash: "The hash of the data to be validated.",
@@ -36871,7 +37227,7 @@ const FunctionSelectors = {
36871
37227
  stateMutability: "payable",
36872
37228
  type: "function",
36873
37229
  devdoc: {
36874
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event.",
37230
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event.",
36875
37231
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36876
37232
  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
37233
  params: {
@@ -36902,7 +37258,7 @@ const FunctionSelectors = {
36902
37258
  stateMutability: "payable",
36903
37259
  type: "function",
36904
37260
  devdoc: {
36905
- "custom:events": "- {ValueReceived} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
37261
+ "custom:events": "- {UniversalReceiver} event when receiving native tokens. - {DataChanged} event. (on each iteration of setting data)",
36906
37262
  "custom:requirements": "Can be only called by the {owner} or by an authorised address that pass the verification check performed on the owner.",
36907
37263
  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
37264
  params: {
@@ -36985,8 +37341,8 @@ const FunctionSelectors = {
36985
37341
  stateMutability: "payable",
36986
37342
  type: "function",
36987
37343
  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.",
36989
- 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.",
37344
+ "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.",
37345
+ 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. This function delegates internally the handling of native tokens to the {universalReceiver} function itself passing `_TYPEID_LSP0_VALUE_RECEIVED` as typeId and the calldata as received data.",
36990
37346
  params: {
36991
37347
  receivedData: "The data received.",
36992
37348
  typeId: "The type of call received."
@@ -37063,8 +37419,8 @@ const INTERFACE_IDS = {
37063
37419
  LSP1UniversalReceiver: "0x6bb56a14",
37064
37420
  LSP1UniversalReceiverDelegate: "0xa245bbda",
37065
37421
  LSP6KeyManager: "0x23f34c62",
37066
- LSP7DigitalAsset: "0x05519512",
37067
- LSP8IdentifiableDigitalAsset: "0x1ae9ba1f",
37422
+ LSP7DigitalAsset: "0xdaa746b7",
37423
+ LSP8IdentifiableDigitalAsset: "0x30dc5278",
37068
37424
  LSP9Vault: "0x28af17e6",
37069
37425
  LSP11BasicSocialRecovery: "0x049a28f1",
37070
37426
  LSP14Ownable2Step: "0x94be5999",
@@ -37161,7 +37517,10 @@ const ERC725YDataKeys = {
37161
37517
  "AddressPermissions:AllowedCalls": "0x4b80742de2bf393a64c70000"
37162
37518
  },
37163
37519
  LSP8: {
37164
- LSP8TokenIdType: "0x715f248956de7ce65e94d9d836bfead479f7e70d69b718d47bfe7b00e05b4fe4"
37520
+ LSP8TokenIdType: "0x715f248956de7ce65e94d9d836bfead479f7e70d69b718d47bfe7b00e05b4fe4",
37521
+ LSP8MetadataTokenURI: "0x1339e76a390b7b9ec9010000",
37522
+ LSP8TokenMetadataBaseURI: "0x1a7628600c3bac7101f53697f48df381ddc36b9015e7d7c9c5633d1252aa2843",
37523
+ LSP8ReferenceContract: "0x708e7b881795f2e6b6c2752108c177ec89248458de3bf69d0d43480b3e5034e6"
37165
37524
  },
37166
37525
  LSP9: {
37167
37526
  SupportedStandards_LSP9: SupportedStandards.LSP9Vault.key
@@ -37245,6 +37604,8 @@ const PERMISSIONS = {
37245
37604
  // 0100 0000 0000 0000 0000 0000
37246
37605
  };
37247
37606
  const LSP1_TYPE_IDS = {
37607
+ // keccak256('LSP0ValueReceived')
37608
+ LSP0ValueReceived: "0x9c4705229491d365fb5434052e12a386d6771d976bea61070a8c694e8affea3d",
37248
37609
  // keccak256('LSP0OwnershipTransferStarted')
37249
37610
  LSP0OwnershipTransferStarted: "0xe17117c9d2665d1dbeb479ed8058bbebde3c50ac50e2e65619f60006caac6926",
37250
37611
  // keccak256('LSP0OwnershipTransferred_SenderNotification')
@@ -37263,6 +37624,8 @@ const LSP1_TYPE_IDS = {
37263
37624
  LSP8Tokens_RecipientNotification: "0x0b084a55ebf70fd3c06fd755269dac2212c4d3f0f4d09079780bfa50c1b2984d",
37264
37625
  // keccak256('LSP8Tokens_OperatorNotification')
37265
37626
  LSP8Tokens_OperatorNotification: "0x8a1c15a8799f71b547e08e2bcb2e85257e81b0a07eee2ce6712549eef1f00970",
37627
+ // keccak256('LSP9ValueReceived')
37628
+ LSP9ValueReceived: "0x468cd1581d7bc001c3b685513d2b929b55437be34700410383d58f3aa1ea0abc",
37266
37629
  // keccak256('LSP9OwnershipTransferStarted')
37267
37630
  LSP9OwnershipTransferStarted: "0xaefd43f45fed1bcd8992f23c803b6f4ec45cf6b62b0d404d565f290a471e763f",
37268
37631
  // keccak256('LSP9OwnershipTransferred_SenderNotification')