@lukso/lsp-smart-contracts 0.12.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 (123) hide show
  1. package/artifacts/LSP0ERC725Account.json +15 -15
  2. package/artifacts/LSP0ERC725AccountInit.json +15 -15
  3. package/artifacts/LSP1UniversalReceiverDelegateUP.json +15 -15
  4. package/artifacts/LSP1UniversalReceiverDelegateVault.json +15 -15
  5. package/artifacts/LSP6KeyManager.json +15 -15
  6. package/artifacts/LSP6KeyManagerInit.json +15 -15
  7. package/artifacts/LSP7CappedSupply.json +0 -13
  8. package/artifacts/LSP7CappedSupplyInitAbstract.json +0 -13
  9. package/artifacts/LSP7CompatibleERC20.json +0 -13
  10. package/artifacts/LSP7CompatibleERC20InitAbstract.json +0 -13
  11. package/artifacts/LSP7CompatibleERC20Mintable.json +2 -15
  12. package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -15
  13. package/artifacts/LSP7DigitalAsset.json +0 -13
  14. package/artifacts/LSP7DigitalAssetInitAbstract.json +0 -13
  15. package/artifacts/LSP7Mintable.json +2 -15
  16. package/artifacts/LSP7MintableInit.json +2 -15
  17. package/artifacts/LSP8CappedSupply.json +0 -13
  18. package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -13
  19. package/artifacts/LSP8CompatibleERC721.json +0 -13
  20. package/artifacts/LSP8CompatibleERC721InitAbstract.json +0 -13
  21. package/artifacts/LSP8CompatibleERC721Mintable.json +2 -15
  22. package/artifacts/LSP8CompatibleERC721MintableInit.json +2 -15
  23. package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -13
  24. package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -13
  25. package/artifacts/LSP8Mintable.json +2 -15
  26. package/artifacts/LSP8MintableInit.json +2 -15
  27. package/artifacts/LSP9Vault.json +15 -15
  28. package/artifacts/LSP9VaultInit.json +15 -15
  29. package/artifacts/UniversalProfile.json +15 -15
  30. package/artifacts/UniversalProfileInit.json +15 -15
  31. package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
  32. package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +7 -3
  33. package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +62 -41
  34. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +2 -1
  35. package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +3 -1
  36. package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +11 -10
  37. package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +2 -1
  38. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +31 -33
  39. package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +24 -17
  40. package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +1 -1
  41. package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +1 -5
  42. package/contracts/LSP6KeyManager/LSP6KeyManager.sol +2 -1
  43. package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +15 -9
  44. package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +2 -1
  45. package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +14 -16
  46. package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +6 -2
  47. package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +7 -17
  48. package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +5 -15
  49. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +1 -4
  50. package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +1 -4
  51. package/contracts/LSP9Vault/LSP9Constants.sol +1 -1
  52. package/contracts/LSP9Vault/LSP9Vault.sol +3 -2
  53. package/contracts/LSP9Vault/LSP9VaultCore.sol +22 -15
  54. package/contracts/LSP9Vault/LSP9VaultInit.sol +2 -1
  55. package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +1 -1
  56. package/contracts/UniversalProfile.sol +4 -2
  57. package/contracts/UniversalProfileInit.sol +8 -5
  58. package/contracts/UniversalProfileInitAbstract.sol +4 -2
  59. package/contracts/Version.sol +6 -5
  60. package/devdocs/LSP0ERC725Account.json +3 -8
  61. package/devdocs/LSP0ERC725AccountInit.json +2 -7
  62. package/devdocs/LSP1UniversalReceiverDelegateUP.json +0 -6
  63. package/devdocs/LSP1UniversalReceiverDelegateVault.json +0 -6
  64. package/devdocs/LSP6KeyManager.json +1 -6
  65. package/devdocs/LSP6KeyManagerInit.json +1 -6
  66. package/devdocs/LSP7CappedSupply.json +0 -6
  67. package/devdocs/LSP7CappedSupplyInitAbstract.json +0 -6
  68. package/devdocs/LSP7CompatibleERC20.json +0 -6
  69. package/devdocs/LSP7CompatibleERC20InitAbstract.json +0 -6
  70. package/devdocs/LSP7CompatibleERC20Mintable.json +0 -6
  71. package/devdocs/LSP7CompatibleERC20MintableInit.json +0 -6
  72. package/devdocs/LSP7DigitalAsset.json +0 -6
  73. package/devdocs/LSP7DigitalAssetInitAbstract.json +0 -6
  74. package/devdocs/LSP7Mintable.json +0 -6
  75. package/devdocs/LSP7MintableInit.json +0 -6
  76. package/devdocs/LSP8CappedSupply.json +0 -6
  77. package/devdocs/LSP8CappedSupplyInitAbstract.json +0 -6
  78. package/devdocs/LSP8CompatibleERC721.json +0 -6
  79. package/devdocs/LSP8CompatibleERC721InitAbstract.json +0 -6
  80. package/devdocs/LSP8CompatibleERC721Mintable.json +0 -6
  81. package/devdocs/LSP8CompatibleERC721MintableInit.json +0 -6
  82. package/devdocs/LSP8IdentifiableDigitalAsset.json +0 -6
  83. package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -6
  84. package/devdocs/LSP8Mintable.json +0 -6
  85. package/devdocs/LSP8MintableInit.json +0 -6
  86. package/devdocs/LSP9Vault.json +0 -6
  87. package/devdocs/LSP9VaultInit.json +0 -6
  88. package/devdocs/UniversalProfile.json +3 -8
  89. package/devdocs/UniversalProfileInit.json +4 -9
  90. package/dist/constants.cjs.js +142 -536
  91. package/dist/constants.d.ts +166 -734
  92. package/dist/constants.es.js +142 -536
  93. package/package.json +1 -1
  94. package/userdocs/LSP0ERC725Account.json +3 -3
  95. package/userdocs/LSP0ERC725AccountInit.json +3 -3
  96. package/userdocs/LSP1UniversalReceiverDelegateUP.json +3 -3
  97. package/userdocs/LSP1UniversalReceiverDelegateVault.json +3 -3
  98. package/userdocs/LSP6KeyManager.json +3 -3
  99. package/userdocs/LSP6KeyManagerInit.json +3 -3
  100. package/userdocs/LSP7CappedSupply.json +0 -3
  101. package/userdocs/LSP7CappedSupplyInitAbstract.json +0 -3
  102. package/userdocs/LSP7CompatibleERC20.json +0 -3
  103. package/userdocs/LSP7CompatibleERC20InitAbstract.json +0 -3
  104. package/userdocs/LSP7CompatibleERC20Mintable.json +0 -3
  105. package/userdocs/LSP7CompatibleERC20MintableInit.json +0 -3
  106. package/userdocs/LSP7DigitalAsset.json +0 -3
  107. package/userdocs/LSP7DigitalAssetInitAbstract.json +0 -3
  108. package/userdocs/LSP7Mintable.json +0 -3
  109. package/userdocs/LSP7MintableInit.json +0 -3
  110. package/userdocs/LSP8CappedSupply.json +0 -3
  111. package/userdocs/LSP8CappedSupplyInitAbstract.json +0 -3
  112. package/userdocs/LSP8CompatibleERC721.json +0 -3
  113. package/userdocs/LSP8CompatibleERC721InitAbstract.json +0 -3
  114. package/userdocs/LSP8CompatibleERC721Mintable.json +0 -3
  115. package/userdocs/LSP8CompatibleERC721MintableInit.json +0 -3
  116. package/userdocs/LSP8IdentifiableDigitalAsset.json +0 -3
  117. package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -3
  118. package/userdocs/LSP8Mintable.json +0 -3
  119. package/userdocs/LSP8MintableInit.json +0 -3
  120. package/userdocs/LSP9Vault.json +3 -3
  121. package/userdocs/LSP9VaultInit.json +3 -3
  122. package/userdocs/UniversalProfile.json +3 -3
  123. package/userdocs/UniversalProfileInit.json +3 -3
@@ -20172,6 +20172,20 @@ const FunctionSelectors = {
20172
20172
  stateMutability: "view",
20173
20173
  type: "function"
20174
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
+ },
20175
20189
  /**
20176
20190
  * function acceptOwnership()
20177
20191
  *
@@ -20372,6 +20386,7 @@ const FunctionSelectors = {
20372
20386
  stateMutability: "view",
20373
20387
  type: "function",
20374
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.",
20375
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.",
20376
20391
  params: {
20377
20392
  dataHash: "The hash of the data to be validated.",
@@ -20571,7 +20586,7 @@ const FunctionSelectors = {
20571
20586
  type: "function",
20572
20587
  devdoc: {
20573
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.",
20574
- details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
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.",
20575
20590
  params: {
20576
20591
  receivedData: "The data received.",
20577
20592
  typeId: "The type of call received."
@@ -20583,24 +20598,6 @@ const FunctionSelectors = {
20583
20598
  userdoc: {
20584
20599
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
20585
20600
  }
20586
- },
20587
- /**
20588
- * function version()
20589
- *
20590
- * 0x54fd4d50 = keccak256('version()')
20591
- */
20592
- "0x54fd4d50": {
20593
- sig: "version()",
20594
- inputs: [],
20595
- name: "version",
20596
- outputs: [{ internalType: "string", name: "", type: "string" }],
20597
- stateMutability: "view",
20598
- type: "function",
20599
- devdoc: {
20600
- details: "Get the version of the contract.",
20601
- returns: { _0: "The version of the the contract." }
20602
- },
20603
- userdoc: { notice: "Contract version." }
20604
20601
  }
20605
20602
  },
20606
20603
  LSP0ERC725AccountInit: {
@@ -20630,6 +20627,20 @@ const FunctionSelectors = {
20630
20627
  stateMutability: "view",
20631
20628
  type: "function"
20632
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
+ },
20633
20644
  /**
20634
20645
  * function acceptOwnership()
20635
20646
  *
@@ -20855,6 +20866,7 @@ const FunctionSelectors = {
20855
20866
  stateMutability: "view",
20856
20867
  type: "function",
20857
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.",
20858
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.",
20859
20871
  params: {
20860
20872
  dataHash: "The hash of the data to be validated.",
@@ -21054,7 +21066,7 @@ const FunctionSelectors = {
21054
21066
  type: "function",
21055
21067
  devdoc: {
21056
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.",
21057
- details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
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.",
21058
21070
  params: {
21059
21071
  receivedData: "The data received.",
21060
21072
  typeId: "The type of call received."
@@ -21066,24 +21078,6 @@ const FunctionSelectors = {
21066
21078
  userdoc: {
21067
21079
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
21068
21080
  }
21069
- },
21070
- /**
21071
- * function version()
21072
- *
21073
- * 0x54fd4d50 = keccak256('version()')
21074
- */
21075
- "0x54fd4d50": {
21076
- sig: "version()",
21077
- inputs: [],
21078
- name: "version",
21079
- outputs: [{ internalType: "string", name: "", type: "string" }],
21080
- stateMutability: "view",
21081
- type: "function",
21082
- devdoc: {
21083
- details: "Get the version of the contract.",
21084
- returns: { _0: "The version of the the contract." }
21085
- },
21086
- userdoc: { notice: "Contract version." }
21087
21081
  }
21088
21082
  },
21089
21083
  LSP11BasicSocialRecovery: {
@@ -22023,6 +22017,20 @@ const FunctionSelectors = {
22023
22017
  }
22024
22018
  },
22025
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
+ },
22026
22034
  /**
22027
22035
  * function supportsInterface(
22028
22036
  * bytes4 interfaceId
@@ -22070,27 +22078,23 @@ const FunctionSelectors = {
22070
22078
  returns: { _0: "The result of the reaction for `typeId`." }
22071
22079
  },
22072
22080
  userdoc: { notice: "Reacted on received notification with `typeId`." }
22073
- },
22081
+ }
22082
+ },
22083
+ LSP1UniversalReceiverDelegateVault: {
22074
22084
  /**
22075
- * function version()
22085
+ * function VERSION()
22076
22086
  *
22077
- * 0x54fd4d50 = keccak256('version()')
22087
+ * 0xffa1ad74 = keccak256('VERSION()')
22078
22088
  */
22079
- "0x54fd4d50": {
22080
- sig: "version()",
22089
+ "0xffa1ad74": {
22090
+ sig: "VERSION()",
22081
22091
  inputs: [],
22082
- name: "version",
22092
+ name: "VERSION",
22083
22093
  outputs: [{ internalType: "string", name: "", type: "string" }],
22084
22094
  stateMutability: "view",
22085
22095
  type: "function",
22086
- devdoc: {
22087
- details: "Get the version of the contract.",
22088
- returns: { _0: "The version of the the contract." }
22089
- },
22090
22096
  userdoc: { notice: "Contract version." }
22091
- }
22092
- },
22093
- LSP1UniversalReceiverDelegateVault: {
22097
+ },
22094
22098
  /**
22095
22099
  * function supportsInterface(
22096
22100
  * bytes4 interfaceId
@@ -22137,24 +22141,6 @@ const FunctionSelectors = {
22137
22141
  returns: { _0: "The result of the reaction for `typeId`." }
22138
22142
  },
22139
22143
  userdoc: { notice: "Reacted on received notification with `typeId`." }
22140
- },
22141
- /**
22142
- * function version()
22143
- *
22144
- * 0x54fd4d50 = keccak256('version()')
22145
- */
22146
- "0x54fd4d50": {
22147
- sig: "version()",
22148
- inputs: [],
22149
- name: "version",
22150
- outputs: [{ internalType: "string", name: "", type: "string" }],
22151
- stateMutability: "view",
22152
- type: "function",
22153
- devdoc: {
22154
- details: "Get the version of the contract.",
22155
- returns: { _0: "The version of the the contract." }
22156
- },
22157
- userdoc: { notice: "Contract version." }
22158
22144
  }
22159
22145
  },
22160
22146
  LSP23LinkedContractsFactory: {
@@ -22894,6 +22880,20 @@ const FunctionSelectors = {
22894
22880
  }
22895
22881
  },
22896
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
+ },
22897
22897
  /**
22898
22898
  * function execute(
22899
22899
  * bytes payload
@@ -23095,6 +23095,7 @@ const FunctionSelectors = {
23095
23095
  stateMutability: "view",
23096
23096
  type: "function",
23097
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.",
23098
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.",
23099
23100
  params: {
23100
23101
  hash: "Hash of the data to be signed",
@@ -23203,27 +23204,23 @@ const FunctionSelectors = {
23203
23204
  details: "Get The address of the contract linked to this Key Manager.",
23204
23205
  returns: { _0: "The address of the linked contract" }
23205
23206
  }
23206
- },
23207
+ }
23208
+ },
23209
+ LSP6KeyManagerInit: {
23207
23210
  /**
23208
- * function version()
23211
+ * function VERSION()
23209
23212
  *
23210
- * 0x54fd4d50 = keccak256('version()')
23213
+ * 0xffa1ad74 = keccak256('VERSION()')
23211
23214
  */
23212
- "0x54fd4d50": {
23213
- sig: "version()",
23215
+ "0xffa1ad74": {
23216
+ sig: "VERSION()",
23214
23217
  inputs: [],
23215
- name: "version",
23218
+ name: "VERSION",
23216
23219
  outputs: [{ internalType: "string", name: "", type: "string" }],
23217
23220
  stateMutability: "view",
23218
23221
  type: "function",
23219
- devdoc: {
23220
- details: "Get the version of the contract.",
23221
- returns: { _0: "The version of the the contract." }
23222
- },
23223
23222
  userdoc: { notice: "Contract version." }
23224
- }
23225
- },
23226
- LSP6KeyManagerInit: {
23223
+ },
23227
23224
  /**
23228
23225
  * function execute(
23229
23226
  * bytes payload
@@ -23449,6 +23446,7 @@ const FunctionSelectors = {
23449
23446
  stateMutability: "view",
23450
23447
  type: "function",
23451
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.",
23452
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.",
23453
23451
  params: {
23454
23452
  hash: "Hash of the data to be signed",
@@ -23557,24 +23555,6 @@ const FunctionSelectors = {
23557
23555
  details: "Get The address of the contract linked to this Key Manager.",
23558
23556
  returns: { _0: "The address of the linked contract" }
23559
23557
  }
23560
- },
23561
- /**
23562
- * function version()
23563
- *
23564
- * 0x54fd4d50 = keccak256('version()')
23565
- */
23566
- "0x54fd4d50": {
23567
- sig: "version()",
23568
- inputs: [],
23569
- name: "version",
23570
- outputs: [{ internalType: "string", name: "", type: "string" }],
23571
- stateMutability: "view",
23572
- type: "function",
23573
- devdoc: {
23574
- details: "Get the version of the contract.",
23575
- returns: { _0: "The version of the the contract." }
23576
- },
23577
- userdoc: { notice: "Contract version." }
23578
23558
  }
23579
23559
  },
23580
23560
  LSP7DigitalAsset: {
@@ -24079,24 +24059,6 @@ const FunctionSelectors = {
24079
24059
  devdoc: {
24080
24060
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
24081
24061
  }
24082
- },
24083
- /**
24084
- * function version()
24085
- *
24086
- * 0x54fd4d50 = keccak256('version()')
24087
- */
24088
- "0x54fd4d50": {
24089
- sig: "version()",
24090
- inputs: [],
24091
- name: "version",
24092
- outputs: [{ internalType: "string", name: "", type: "string" }],
24093
- stateMutability: "view",
24094
- type: "function",
24095
- devdoc: {
24096
- details: "Get the version of the contract.",
24097
- returns: { _0: "The version of the the contract." }
24098
- },
24099
- userdoc: { notice: "Contract version." }
24100
24062
  }
24101
24063
  },
24102
24064
  LSP7DigitalAssetInitAbstract: {
@@ -24599,24 +24561,6 @@ const FunctionSelectors = {
24599
24561
  devdoc: {
24600
24562
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
24601
24563
  }
24602
- },
24603
- /**
24604
- * function version()
24605
- *
24606
- * 0x54fd4d50 = keccak256('version()')
24607
- */
24608
- "0x54fd4d50": {
24609
- sig: "version()",
24610
- inputs: [],
24611
- name: "version",
24612
- outputs: [{ internalType: "string", name: "", type: "string" }],
24613
- stateMutability: "view",
24614
- type: "function",
24615
- devdoc: {
24616
- details: "Get the version of the contract.",
24617
- returns: { _0: "The version of the the contract." }
24618
- },
24619
- userdoc: { notice: "Contract version." }
24620
24564
  }
24621
24565
  },
24622
24566
  LSP7CappedSupply: {
@@ -25143,24 +25087,6 @@ const FunctionSelectors = {
25143
25087
  devdoc: {
25144
25088
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
25145
25089
  }
25146
- },
25147
- /**
25148
- * function version()
25149
- *
25150
- * 0x54fd4d50 = keccak256('version()')
25151
- */
25152
- "0x54fd4d50": {
25153
- sig: "version()",
25154
- inputs: [],
25155
- name: "version",
25156
- outputs: [{ internalType: "string", name: "", type: "string" }],
25157
- stateMutability: "view",
25158
- type: "function",
25159
- devdoc: {
25160
- details: "Get the version of the contract.",
25161
- returns: { _0: "The version of the the contract." }
25162
- },
25163
- userdoc: { notice: "Contract version." }
25164
25090
  }
25165
25091
  },
25166
25092
  LSP7CappedSupplyInitAbstract: {
@@ -25685,24 +25611,6 @@ const FunctionSelectors = {
25685
25611
  devdoc: {
25686
25612
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
25687
25613
  }
25688
- },
25689
- /**
25690
- * function version()
25691
- *
25692
- * 0x54fd4d50 = keccak256('version()')
25693
- */
25694
- "0x54fd4d50": {
25695
- sig: "version()",
25696
- inputs: [],
25697
- name: "version",
25698
- outputs: [{ internalType: "string", name: "", type: "string" }],
25699
- stateMutability: "view",
25700
- type: "function",
25701
- devdoc: {
25702
- details: "Get the version of the contract.",
25703
- returns: { _0: "The version of the the contract." }
25704
- },
25705
- userdoc: { notice: "Contract version." }
25706
25614
  }
25707
25615
  },
25708
25616
  LSP7CompatibleERC20: {
@@ -26354,24 +26262,6 @@ const FunctionSelectors = {
26354
26262
  devdoc: {
26355
26263
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
26356
26264
  }
26357
- },
26358
- /**
26359
- * function version()
26360
- *
26361
- * 0x54fd4d50 = keccak256('version()')
26362
- */
26363
- "0x54fd4d50": {
26364
- sig: "version()",
26365
- inputs: [],
26366
- name: "version",
26367
- outputs: [{ internalType: "string", name: "", type: "string" }],
26368
- stateMutability: "view",
26369
- type: "function",
26370
- devdoc: {
26371
- details: "Get the version of the contract.",
26372
- returns: { _0: "The version of the the contract." }
26373
- },
26374
- userdoc: { notice: "Contract version." }
26375
26265
  }
26376
26266
  },
26377
26267
  LSP7CompatibleERC20InitAbstract: {
@@ -27021,24 +26911,6 @@ const FunctionSelectors = {
27021
26911
  devdoc: {
27022
26912
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
27023
26913
  }
27024
- },
27025
- /**
27026
- * function version()
27027
- *
27028
- * 0x54fd4d50 = keccak256('version()')
27029
- */
27030
- "0x54fd4d50": {
27031
- sig: "version()",
27032
- inputs: [],
27033
- name: "version",
27034
- outputs: [{ internalType: "string", name: "", type: "string" }],
27035
- stateMutability: "view",
27036
- type: "function",
27037
- devdoc: {
27038
- details: "Get the version of the contract.",
27039
- returns: { _0: "The version of the the contract." }
27040
- },
27041
- userdoc: { notice: "Contract version." }
27042
26914
  }
27043
26915
  },
27044
26916
  LSP7CompatibleERC20Mintable: {
@@ -27716,24 +27588,6 @@ const FunctionSelectors = {
27716
27588
  devdoc: {
27717
27589
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
27718
27590
  }
27719
- },
27720
- /**
27721
- * function version()
27722
- *
27723
- * 0x54fd4d50 = keccak256('version()')
27724
- */
27725
- "0x54fd4d50": {
27726
- sig: "version()",
27727
- inputs: [],
27728
- name: "version",
27729
- outputs: [{ internalType: "string", name: "", type: "string" }],
27730
- stateMutability: "view",
27731
- type: "function",
27732
- devdoc: {
27733
- details: "Get the version of the contract.",
27734
- returns: { _0: "The version of the the contract." }
27735
- },
27736
- userdoc: { notice: "Contract version." }
27737
27591
  }
27738
27592
  },
27739
27593
  LSP7CompatibleERC20MintableInit: {
@@ -28440,24 +28294,6 @@ const FunctionSelectors = {
28440
28294
  devdoc: {
28441
28295
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
28442
28296
  }
28443
- },
28444
- /**
28445
- * function version()
28446
- *
28447
- * 0x54fd4d50 = keccak256('version()')
28448
- */
28449
- "0x54fd4d50": {
28450
- sig: "version()",
28451
- inputs: [],
28452
- name: "version",
28453
- outputs: [{ internalType: "string", name: "", type: "string" }],
28454
- stateMutability: "view",
28455
- type: "function",
28456
- devdoc: {
28457
- details: "Get the version of the contract.",
28458
- returns: { _0: "The version of the the contract." }
28459
- },
28460
- userdoc: { notice: "Contract version." }
28461
28297
  }
28462
28298
  },
28463
28299
  LSP7Mintable: {
@@ -28988,24 +28824,6 @@ const FunctionSelectors = {
28988
28824
  devdoc: {
28989
28825
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
28990
28826
  }
28991
- },
28992
- /**
28993
- * function version()
28994
- *
28995
- * 0x54fd4d50 = keccak256('version()')
28996
- */
28997
- "0x54fd4d50": {
28998
- sig: "version()",
28999
- inputs: [],
29000
- name: "version",
29001
- outputs: [{ internalType: "string", name: "", type: "string" }],
29002
- stateMutability: "view",
29003
- type: "function",
29004
- devdoc: {
29005
- details: "Get the version of the contract.",
29006
- returns: { _0: "The version of the the contract." }
29007
- },
29008
- userdoc: { notice: "Contract version." }
29009
28827
  }
29010
28828
  },
29011
28829
  LSP7MintableInit: {
@@ -29567,24 +29385,6 @@ const FunctionSelectors = {
29567
29385
  devdoc: {
29568
29386
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
29569
29387
  }
29570
- },
29571
- /**
29572
- * function version()
29573
- *
29574
- * 0x54fd4d50 = keccak256('version()')
29575
- */
29576
- "0x54fd4d50": {
29577
- sig: "version()",
29578
- inputs: [],
29579
- name: "version",
29580
- outputs: [{ internalType: "string", name: "", type: "string" }],
29581
- stateMutability: "view",
29582
- type: "function",
29583
- devdoc: {
29584
- details: "Get the version of the contract.",
29585
- returns: { _0: "The version of the the contract." }
29586
- },
29587
- userdoc: { notice: "Contract version." }
29588
29388
  }
29589
29389
  },
29590
29390
  LSP8IdentifiableDigitalAsset: {
@@ -30046,24 +29846,6 @@ const FunctionSelectors = {
30046
29846
  devdoc: {
30047
29847
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
30048
29848
  }
30049
- },
30050
- /**
30051
- * function version()
30052
- *
30053
- * 0x54fd4d50 = keccak256('version()')
30054
- */
30055
- "0x54fd4d50": {
30056
- sig: "version()",
30057
- inputs: [],
30058
- name: "version",
30059
- outputs: [{ internalType: "string", name: "", type: "string" }],
30060
- stateMutability: "view",
30061
- type: "function",
30062
- devdoc: {
30063
- details: "Get the version of the contract.",
30064
- returns: { _0: "The version of the the contract." }
30065
- },
30066
- userdoc: { notice: "Contract version." }
30067
29849
  }
30068
29850
  },
30069
29851
  LSP8IdentifiableDigitalAssetInitAbstract: {
@@ -30523,24 +30305,6 @@ const FunctionSelectors = {
30523
30305
  devdoc: {
30524
30306
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
30525
30307
  }
30526
- },
30527
- /**
30528
- * function version()
30529
- *
30530
- * 0x54fd4d50 = keccak256('version()')
30531
- */
30532
- "0x54fd4d50": {
30533
- sig: "version()",
30534
- inputs: [],
30535
- name: "version",
30536
- outputs: [{ internalType: "string", name: "", type: "string" }],
30537
- stateMutability: "view",
30538
- type: "function",
30539
- devdoc: {
30540
- details: "Get the version of the contract.",
30541
- returns: { _0: "The version of the the contract." }
30542
- },
30543
- userdoc: { notice: "Contract version." }
30544
30308
  }
30545
30309
  },
30546
30310
  LSP8CappedSupply: {
@@ -31024,24 +30788,6 @@ const FunctionSelectors = {
31024
30788
  devdoc: {
31025
30789
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
31026
30790
  }
31027
- },
31028
- /**
31029
- * function version()
31030
- *
31031
- * 0x54fd4d50 = keccak256('version()')
31032
- */
31033
- "0x54fd4d50": {
31034
- sig: "version()",
31035
- inputs: [],
31036
- name: "version",
31037
- outputs: [{ internalType: "string", name: "", type: "string" }],
31038
- stateMutability: "view",
31039
- type: "function",
31040
- devdoc: {
31041
- details: "Get the version of the contract.",
31042
- returns: { _0: "The version of the the contract." }
31043
- },
31044
- userdoc: { notice: "Contract version." }
31045
30791
  }
31046
30792
  },
31047
30793
  LSP8CappedSupplyInitAbstract: {
@@ -31523,24 +31269,6 @@ const FunctionSelectors = {
31523
31269
  devdoc: {
31524
31270
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
31525
31271
  }
31526
- },
31527
- /**
31528
- * function version()
31529
- *
31530
- * 0x54fd4d50 = keccak256('version()')
31531
- */
31532
- "0x54fd4d50": {
31533
- sig: "version()",
31534
- inputs: [],
31535
- name: "version",
31536
- outputs: [{ internalType: "string", name: "", type: "string" }],
31537
- stateMutability: "view",
31538
- type: "function",
31539
- devdoc: {
31540
- details: "Get the version of the contract.",
31541
- returns: { _0: "The version of the the contract." }
31542
- },
31543
- userdoc: { notice: "Contract version." }
31544
31272
  }
31545
31273
  },
31546
31274
  LSP8CompatibleERC721: {
@@ -32294,24 +32022,6 @@ const FunctionSelectors = {
32294
32022
  devdoc: {
32295
32023
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
32296
32024
  }
32297
- },
32298
- /**
32299
- * function version()
32300
- *
32301
- * 0x54fd4d50 = keccak256('version()')
32302
- */
32303
- "0x54fd4d50": {
32304
- sig: "version()",
32305
- inputs: [],
32306
- name: "version",
32307
- outputs: [{ internalType: "string", name: "", type: "string" }],
32308
- stateMutability: "view",
32309
- type: "function",
32310
- devdoc: {
32311
- details: "Get the version of the contract.",
32312
- returns: { _0: "The version of the the contract." }
32313
- },
32314
- userdoc: { notice: "Contract version." }
32315
32025
  }
32316
32026
  },
32317
32027
  LSP8CompatibleERC721InitAbstract: {
@@ -33063,24 +32773,6 @@ const FunctionSelectors = {
33063
32773
  devdoc: {
33064
32774
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
33065
32775
  }
33066
- },
33067
- /**
33068
- * function version()
33069
- *
33070
- * 0x54fd4d50 = keccak256('version()')
33071
- */
33072
- "0x54fd4d50": {
33073
- sig: "version()",
33074
- inputs: [],
33075
- name: "version",
33076
- outputs: [{ internalType: "string", name: "", type: "string" }],
33077
- stateMutability: "view",
33078
- type: "function",
33079
- devdoc: {
33080
- details: "Get the version of the contract.",
33081
- returns: { _0: "The version of the the contract." }
33082
- },
33083
- userdoc: { notice: "Contract version." }
33084
32776
  }
33085
32777
  },
33086
32778
  LSP8CompatibleERC721Mintable: {
@@ -33869,24 +33561,6 @@ const FunctionSelectors = {
33869
33561
  devdoc: {
33870
33562
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
33871
33563
  }
33872
- },
33873
- /**
33874
- * function version()
33875
- *
33876
- * 0x54fd4d50 = keccak256('version()')
33877
- */
33878
- "0x54fd4d50": {
33879
- sig: "version()",
33880
- inputs: [],
33881
- name: "version",
33882
- outputs: [{ internalType: "string", name: "", type: "string" }],
33883
- stateMutability: "view",
33884
- type: "function",
33885
- devdoc: {
33886
- details: "Get the version of the contract.",
33887
- returns: { _0: "The version of the the contract." }
33888
- },
33889
- userdoc: { notice: "Contract version." }
33890
33564
  }
33891
33565
  },
33892
33566
  LSP8CompatibleERC721MintableInit: {
@@ -34706,24 +34380,6 @@ const FunctionSelectors = {
34706
34380
  devdoc: {
34707
34381
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
34708
34382
  }
34709
- },
34710
- /**
34711
- * function version()
34712
- *
34713
- * 0x54fd4d50 = keccak256('version()')
34714
- */
34715
- "0x54fd4d50": {
34716
- sig: "version()",
34717
- inputs: [],
34718
- name: "version",
34719
- outputs: [{ internalType: "string", name: "", type: "string" }],
34720
- stateMutability: "view",
34721
- type: "function",
34722
- devdoc: {
34723
- details: "Get the version of the contract.",
34724
- returns: { _0: "The version of the the contract." }
34725
- },
34726
- userdoc: { notice: "Contract version." }
34727
34383
  }
34728
34384
  },
34729
34385
  LSP8Mintable: {
@@ -35220,24 +34876,6 @@ const FunctionSelectors = {
35220
34876
  devdoc: {
35221
34877
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
35222
34878
  }
35223
- },
35224
- /**
35225
- * function version()
35226
- *
35227
- * 0x54fd4d50 = keccak256('version()')
35228
- */
35229
- "0x54fd4d50": {
35230
- sig: "version()",
35231
- inputs: [],
35232
- name: "version",
35233
- outputs: [{ internalType: "string", name: "", type: "string" }],
35234
- stateMutability: "view",
35235
- type: "function",
35236
- devdoc: {
35237
- details: "Get the version of the contract.",
35238
- returns: { _0: "The version of the the contract." }
35239
- },
35240
- userdoc: { notice: "Contract version." }
35241
34879
  }
35242
34880
  },
35243
34881
  LSP8MintableInit: {
@@ -35765,24 +35403,6 @@ const FunctionSelectors = {
35765
35403
  devdoc: {
35766
35404
  details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
35767
35405
  }
35768
- },
35769
- /**
35770
- * function version()
35771
- *
35772
- * 0x54fd4d50 = keccak256('version()')
35773
- */
35774
- "0x54fd4d50": {
35775
- sig: "version()",
35776
- inputs: [],
35777
- name: "version",
35778
- outputs: [{ internalType: "string", name: "", type: "string" }],
35779
- stateMutability: "view",
35780
- type: "function",
35781
- devdoc: {
35782
- details: "Get the version of the contract.",
35783
- returns: { _0: "The version of the the contract." }
35784
- },
35785
- userdoc: { notice: "Contract version." }
35786
35406
  }
35787
35407
  },
35788
35408
  LSP9Vault: {
@@ -35812,6 +35432,20 @@ const FunctionSelectors = {
35812
35432
  stateMutability: "view",
35813
35433
  type: "function"
35814
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
+ },
35815
35449
  /**
35816
35450
  * function acceptOwnership()
35817
35451
  *
@@ -36188,24 +35822,6 @@ const FunctionSelectors = {
36188
35822
  userdoc: {
36189
35823
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
36190
35824
  }
36191
- },
36192
- /**
36193
- * function version()
36194
- *
36195
- * 0x54fd4d50 = keccak256('version()')
36196
- */
36197
- "0x54fd4d50": {
36198
- sig: "version()",
36199
- inputs: [],
36200
- name: "version",
36201
- outputs: [{ internalType: "string", name: "", type: "string" }],
36202
- stateMutability: "view",
36203
- type: "function",
36204
- devdoc: {
36205
- details: "Get the version of the contract.",
36206
- returns: { _0: "The version of the the contract." }
36207
- },
36208
- userdoc: { notice: "Contract version." }
36209
35825
  }
36210
35826
  },
36211
35827
  LSP9VaultInit: {
@@ -36235,6 +35851,20 @@ const FunctionSelectors = {
36235
35851
  stateMutability: "view",
36236
35852
  type: "function"
36237
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
+ },
36238
35868
  /**
36239
35869
  * function acceptOwnership()
36240
35870
  *
@@ -36634,24 +36264,6 @@ const FunctionSelectors = {
36634
36264
  userdoc: {
36635
36265
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
36636
36266
  }
36637
- },
36638
- /**
36639
- * function version()
36640
- *
36641
- * 0x54fd4d50 = keccak256('version()')
36642
- */
36643
- "0x54fd4d50": {
36644
- sig: "version()",
36645
- inputs: [],
36646
- name: "version",
36647
- outputs: [{ internalType: "string", name: "", type: "string" }],
36648
- stateMutability: "view",
36649
- type: "function",
36650
- devdoc: {
36651
- details: "Get the version of the contract.",
36652
- returns: { _0: "The version of the the contract." }
36653
- },
36654
- userdoc: { notice: "Contract version." }
36655
36267
  }
36656
36268
  },
36657
36269
  UniversalReceiverAddressStore: {
@@ -36836,6 +36448,20 @@ const FunctionSelectors = {
36836
36448
  stateMutability: "view",
36837
36449
  type: "function"
36838
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
+ },
36839
36465
  /**
36840
36466
  * function acceptOwnership()
36841
36467
  *
@@ -37036,6 +36662,7 @@ const FunctionSelectors = {
37036
36662
  stateMutability: "view",
37037
36663
  type: "function",
37038
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.",
37039
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.",
37040
36667
  params: {
37041
36668
  dataHash: "The hash of the data to be validated.",
@@ -37235,7 +36862,7 @@ const FunctionSelectors = {
37235
36862
  type: "function",
37236
36863
  devdoc: {
37237
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.",
37238
- details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
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.",
37239
36866
  params: {
37240
36867
  receivedData: "The data received.",
37241
36868
  typeId: "The type of call received."
@@ -37247,24 +36874,6 @@ const FunctionSelectors = {
37247
36874
  userdoc: {
37248
36875
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
37249
36876
  }
37250
- },
37251
- /**
37252
- * function version()
37253
- *
37254
- * 0x54fd4d50 = keccak256('version()')
37255
- */
37256
- "0x54fd4d50": {
37257
- sig: "version()",
37258
- inputs: [],
37259
- name: "version",
37260
- outputs: [{ internalType: "string", name: "", type: "string" }],
37261
- stateMutability: "view",
37262
- type: "function",
37263
- devdoc: {
37264
- details: "Get the version of the contract.",
37265
- returns: { _0: "The version of the the contract." }
37266
- },
37267
- userdoc: { notice: "Contract version." }
37268
36877
  }
37269
36878
  },
37270
36879
  UniversalProfileInit: {
@@ -37294,6 +36903,20 @@ const FunctionSelectors = {
37294
36903
  stateMutability: "view",
37295
36904
  type: "function"
37296
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
+ },
37297
36920
  /**
37298
36921
  * function acceptOwnership()
37299
36922
  *
@@ -37490,8 +37113,8 @@ const FunctionSelectors = {
37490
37113
  stateMutability: "payable",
37491
37114
  type: "function",
37492
37115
  devdoc: {
37493
- "custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
37494
- details: "Set `initialOwner` as the contract owner and the `SupportedStandards:LSP3UniversalProfile` data key in the ERC725Y data key/value store. The `constructor` also allows funding the contract on deployment. The `initialOwner` will then be allowed to call protected functions marked with the `onlyOwner` modifier. The `initialize(address)` function also allows funding the contract on initialization.",
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.",
37495
37118
  params: { initialOwner: "the owner of the contract" }
37496
37119
  },
37497
37120
  userdoc: {
@@ -37519,6 +37142,7 @@ const FunctionSelectors = {
37519
37142
  stateMutability: "view",
37520
37143
  type: "function",
37521
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.",
37522
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.",
37523
37147
  params: {
37524
37148
  dataHash: "The hash of the data to be validated.",
@@ -37718,7 +37342,7 @@ const FunctionSelectors = {
37718
37342
  type: "function",
37719
37343
  devdoc: {
37720
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.",
37721
- details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
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.",
37722
37346
  params: {
37723
37347
  receivedData: "The data received.",
37724
37348
  typeId: "The type of call received."
@@ -37730,24 +37354,6 @@ const FunctionSelectors = {
37730
37354
  userdoc: {
37731
37355
  notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
37732
37356
  }
37733
- },
37734
- /**
37735
- * function version()
37736
- *
37737
- * 0x54fd4d50 = keccak256('version()')
37738
- */
37739
- "0x54fd4d50": {
37740
- sig: "version()",
37741
- inputs: [],
37742
- name: "version",
37743
- outputs: [{ internalType: "string", name: "", type: "string" }],
37744
- stateMutability: "view",
37745
- type: "function",
37746
- devdoc: {
37747
- details: "Get the version of the contract.",
37748
- returns: { _0: "The version of the the contract." }
37749
- },
37750
- userdoc: { notice: "Contract version." }
37751
37357
  }
37752
37358
  }
37753
37359
  };