@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.
- package/artifacts/LSP0ERC725Account.json +15 -15
- package/artifacts/LSP0ERC725AccountInit.json +15 -15
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +15 -15
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +15 -15
- package/artifacts/LSP6KeyManager.json +15 -15
- package/artifacts/LSP6KeyManagerInit.json +15 -15
- package/artifacts/LSP7CappedSupply.json +0 -13
- package/artifacts/LSP7CappedSupplyInitAbstract.json +0 -13
- package/artifacts/LSP7CompatibleERC20.json +0 -13
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +0 -13
- package/artifacts/LSP7CompatibleERC20Mintable.json +2 -15
- package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -15
- package/artifacts/LSP7DigitalAsset.json +0 -13
- package/artifacts/LSP7DigitalAssetInitAbstract.json +0 -13
- package/artifacts/LSP7Mintable.json +2 -15
- package/artifacts/LSP7MintableInit.json +2 -15
- package/artifacts/LSP8CappedSupply.json +0 -13
- package/artifacts/LSP8CappedSupplyInitAbstract.json +0 -13
- package/artifacts/LSP8CompatibleERC721.json +0 -13
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +0 -13
- package/artifacts/LSP8CompatibleERC721Mintable.json +2 -15
- package/artifacts/LSP8CompatibleERC721MintableInit.json +2 -15
- package/artifacts/LSP8IdentifiableDigitalAsset.json +0 -13
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -13
- package/artifacts/LSP8Mintable.json +2 -15
- package/artifacts/LSP8MintableInit.json +2 -15
- package/artifacts/LSP9Vault.json +15 -15
- package/artifacts/LSP9VaultInit.json +15 -15
- package/artifacts/UniversalProfile.json +15 -15
- package/artifacts/UniversalProfileInit.json +15 -15
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +7 -3
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +62 -41
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +2 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +3 -1
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +11 -10
- package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +2 -1
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +31 -33
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +24 -17
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +1 -1
- package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +1 -5
- package/contracts/LSP6KeyManager/LSP6KeyManager.sol +2 -1
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +15 -9
- package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +2 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +14 -16
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +6 -2
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +7 -17
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +5 -15
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +1 -4
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +1 -4
- package/contracts/LSP9Vault/LSP9Constants.sol +1 -1
- package/contracts/LSP9Vault/LSP9Vault.sol +3 -2
- package/contracts/LSP9Vault/LSP9VaultCore.sol +22 -15
- package/contracts/LSP9Vault/LSP9VaultInit.sol +2 -1
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +1 -1
- package/contracts/UniversalProfile.sol +4 -2
- package/contracts/UniversalProfileInit.sol +8 -5
- package/contracts/UniversalProfileInitAbstract.sol +4 -2
- package/contracts/Version.sol +6 -5
- package/devdocs/LSP0ERC725Account.json +3 -8
- package/devdocs/LSP0ERC725AccountInit.json +2 -7
- package/devdocs/LSP1UniversalReceiverDelegateUP.json +0 -6
- package/devdocs/LSP1UniversalReceiverDelegateVault.json +0 -6
- package/devdocs/LSP6KeyManager.json +1 -6
- package/devdocs/LSP6KeyManagerInit.json +1 -6
- package/devdocs/LSP7CappedSupply.json +0 -6
- package/devdocs/LSP7CappedSupplyInitAbstract.json +0 -6
- package/devdocs/LSP7CompatibleERC20.json +0 -6
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +0 -6
- package/devdocs/LSP7CompatibleERC20Mintable.json +0 -6
- package/devdocs/LSP7CompatibleERC20MintableInit.json +0 -6
- package/devdocs/LSP7DigitalAsset.json +0 -6
- package/devdocs/LSP7DigitalAssetInitAbstract.json +0 -6
- package/devdocs/LSP7Mintable.json +0 -6
- package/devdocs/LSP7MintableInit.json +0 -6
- package/devdocs/LSP8CappedSupply.json +0 -6
- package/devdocs/LSP8CappedSupplyInitAbstract.json +0 -6
- package/devdocs/LSP8CompatibleERC721.json +0 -6
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +0 -6
- package/devdocs/LSP8CompatibleERC721Mintable.json +0 -6
- package/devdocs/LSP8CompatibleERC721MintableInit.json +0 -6
- package/devdocs/LSP8IdentifiableDigitalAsset.json +0 -6
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -6
- package/devdocs/LSP8Mintable.json +0 -6
- package/devdocs/LSP8MintableInit.json +0 -6
- package/devdocs/LSP9Vault.json +0 -6
- package/devdocs/LSP9VaultInit.json +0 -6
- package/devdocs/UniversalProfile.json +3 -8
- package/devdocs/UniversalProfileInit.json +4 -9
- package/dist/constants.cjs.js +142 -536
- package/dist/constants.d.ts +166 -734
- package/dist/constants.es.js +142 -536
- package/package.json +1 -1
- package/userdocs/LSP0ERC725Account.json +3 -3
- package/userdocs/LSP0ERC725AccountInit.json +3 -3
- package/userdocs/LSP1UniversalReceiverDelegateUP.json +3 -3
- package/userdocs/LSP1UniversalReceiverDelegateVault.json +3 -3
- package/userdocs/LSP6KeyManager.json +3 -3
- package/userdocs/LSP6KeyManagerInit.json +3 -3
- package/userdocs/LSP7CappedSupply.json +0 -3
- package/userdocs/LSP7CappedSupplyInitAbstract.json +0 -3
- package/userdocs/LSP7CompatibleERC20.json +0 -3
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +0 -3
- package/userdocs/LSP7CompatibleERC20Mintable.json +0 -3
- package/userdocs/LSP7CompatibleERC20MintableInit.json +0 -3
- package/userdocs/LSP7DigitalAsset.json +0 -3
- package/userdocs/LSP7DigitalAssetInitAbstract.json +0 -3
- package/userdocs/LSP7Mintable.json +0 -3
- package/userdocs/LSP7MintableInit.json +0 -3
- package/userdocs/LSP8CappedSupply.json +0 -3
- package/userdocs/LSP8CappedSupplyInitAbstract.json +0 -3
- package/userdocs/LSP8CompatibleERC721.json +0 -3
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +0 -3
- package/userdocs/LSP8CompatibleERC721Mintable.json +0 -3
- package/userdocs/LSP8CompatibleERC721MintableInit.json +0 -3
- package/userdocs/LSP8IdentifiableDigitalAsset.json +0 -3
- package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +0 -3
- package/userdocs/LSP8Mintable.json +0 -3
- package/userdocs/LSP8MintableInit.json +0 -3
- package/userdocs/LSP9Vault.json +3 -3
- package/userdocs/LSP9VaultInit.json +3 -3
- package/userdocs/UniversalProfile.json +3 -3
- package/userdocs/UniversalProfileInit.json +3 -3
package/dist/constants.cjs.js
CHANGED
|
@@ -20176,6 +20176,20 @@ const FunctionSelectors = {
|
|
|
20176
20176
|
stateMutability: "view",
|
|
20177
20177
|
type: "function"
|
|
20178
20178
|
},
|
|
20179
|
+
/**
|
|
20180
|
+
* function VERSION()
|
|
20181
|
+
*
|
|
20182
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
20183
|
+
*/
|
|
20184
|
+
"0xffa1ad74": {
|
|
20185
|
+
sig: "VERSION()",
|
|
20186
|
+
inputs: [],
|
|
20187
|
+
name: "VERSION",
|
|
20188
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
20189
|
+
stateMutability: "view",
|
|
20190
|
+
type: "function",
|
|
20191
|
+
userdoc: { notice: "Contract version." }
|
|
20192
|
+
},
|
|
20179
20193
|
/**
|
|
20180
20194
|
* function acceptOwnership()
|
|
20181
20195
|
*
|
|
@@ -20376,6 +20390,7 @@ const FunctionSelectors = {
|
|
|
20376
20390
|
stateMutability: "view",
|
|
20377
20391
|
type: "function",
|
|
20378
20392
|
devdoc: {
|
|
20393
|
+
"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.",
|
|
20379
20394
|
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.",
|
|
20380
20395
|
params: {
|
|
20381
20396
|
dataHash: "The hash of the data to be validated.",
|
|
@@ -20575,7 +20590,7 @@ const FunctionSelectors = {
|
|
|
20575
20590
|
type: "function",
|
|
20576
20591
|
devdoc: {
|
|
20577
20592
|
"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.",
|
|
20578
|
-
details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
|
|
20593
|
+
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.",
|
|
20579
20594
|
params: {
|
|
20580
20595
|
receivedData: "The data received.",
|
|
20581
20596
|
typeId: "The type of call received."
|
|
@@ -20587,24 +20602,6 @@ const FunctionSelectors = {
|
|
|
20587
20602
|
userdoc: {
|
|
20588
20603
|
notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
20589
20604
|
}
|
|
20590
|
-
},
|
|
20591
|
-
/**
|
|
20592
|
-
* function version()
|
|
20593
|
-
*
|
|
20594
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
20595
|
-
*/
|
|
20596
|
-
"0x54fd4d50": {
|
|
20597
|
-
sig: "version()",
|
|
20598
|
-
inputs: [],
|
|
20599
|
-
name: "version",
|
|
20600
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
20601
|
-
stateMutability: "view",
|
|
20602
|
-
type: "function",
|
|
20603
|
-
devdoc: {
|
|
20604
|
-
details: "Get the version of the contract.",
|
|
20605
|
-
returns: { _0: "The version of the the contract." }
|
|
20606
|
-
},
|
|
20607
|
-
userdoc: { notice: "Contract version." }
|
|
20608
20605
|
}
|
|
20609
20606
|
},
|
|
20610
20607
|
LSP0ERC725AccountInit: {
|
|
@@ -20634,6 +20631,20 @@ const FunctionSelectors = {
|
|
|
20634
20631
|
stateMutability: "view",
|
|
20635
20632
|
type: "function"
|
|
20636
20633
|
},
|
|
20634
|
+
/**
|
|
20635
|
+
* function VERSION()
|
|
20636
|
+
*
|
|
20637
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
20638
|
+
*/
|
|
20639
|
+
"0xffa1ad74": {
|
|
20640
|
+
sig: "VERSION()",
|
|
20641
|
+
inputs: [],
|
|
20642
|
+
name: "VERSION",
|
|
20643
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
20644
|
+
stateMutability: "view",
|
|
20645
|
+
type: "function",
|
|
20646
|
+
userdoc: { notice: "Contract version." }
|
|
20647
|
+
},
|
|
20637
20648
|
/**
|
|
20638
20649
|
* function acceptOwnership()
|
|
20639
20650
|
*
|
|
@@ -20859,6 +20870,7 @@ const FunctionSelectors = {
|
|
|
20859
20870
|
stateMutability: "view",
|
|
20860
20871
|
type: "function",
|
|
20861
20872
|
devdoc: {
|
|
20873
|
+
"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.",
|
|
20862
20874
|
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.",
|
|
20863
20875
|
params: {
|
|
20864
20876
|
dataHash: "The hash of the data to be validated.",
|
|
@@ -21058,7 +21070,7 @@ const FunctionSelectors = {
|
|
|
21058
21070
|
type: "function",
|
|
21059
21071
|
devdoc: {
|
|
21060
21072
|
"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.",
|
|
21061
|
-
details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
|
|
21073
|
+
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.",
|
|
21062
21074
|
params: {
|
|
21063
21075
|
receivedData: "The data received.",
|
|
21064
21076
|
typeId: "The type of call received."
|
|
@@ -21070,24 +21082,6 @@ const FunctionSelectors = {
|
|
|
21070
21082
|
userdoc: {
|
|
21071
21083
|
notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
21072
21084
|
}
|
|
21073
|
-
},
|
|
21074
|
-
/**
|
|
21075
|
-
* function version()
|
|
21076
|
-
*
|
|
21077
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
21078
|
-
*/
|
|
21079
|
-
"0x54fd4d50": {
|
|
21080
|
-
sig: "version()",
|
|
21081
|
-
inputs: [],
|
|
21082
|
-
name: "version",
|
|
21083
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
21084
|
-
stateMutability: "view",
|
|
21085
|
-
type: "function",
|
|
21086
|
-
devdoc: {
|
|
21087
|
-
details: "Get the version of the contract.",
|
|
21088
|
-
returns: { _0: "The version of the the contract." }
|
|
21089
|
-
},
|
|
21090
|
-
userdoc: { notice: "Contract version." }
|
|
21091
21085
|
}
|
|
21092
21086
|
},
|
|
21093
21087
|
LSP11BasicSocialRecovery: {
|
|
@@ -22027,6 +22021,20 @@ const FunctionSelectors = {
|
|
|
22027
22021
|
}
|
|
22028
22022
|
},
|
|
22029
22023
|
LSP1UniversalReceiverDelegateUP: {
|
|
22024
|
+
/**
|
|
22025
|
+
* function VERSION()
|
|
22026
|
+
*
|
|
22027
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
22028
|
+
*/
|
|
22029
|
+
"0xffa1ad74": {
|
|
22030
|
+
sig: "VERSION()",
|
|
22031
|
+
inputs: [],
|
|
22032
|
+
name: "VERSION",
|
|
22033
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
22034
|
+
stateMutability: "view",
|
|
22035
|
+
type: "function",
|
|
22036
|
+
userdoc: { notice: "Contract version." }
|
|
22037
|
+
},
|
|
22030
22038
|
/**
|
|
22031
22039
|
* function supportsInterface(
|
|
22032
22040
|
* bytes4 interfaceId
|
|
@@ -22074,27 +22082,23 @@ const FunctionSelectors = {
|
|
|
22074
22082
|
returns: { _0: "The result of the reaction for `typeId`." }
|
|
22075
22083
|
},
|
|
22076
22084
|
userdoc: { notice: "Reacted on received notification with `typeId`." }
|
|
22077
|
-
}
|
|
22085
|
+
}
|
|
22086
|
+
},
|
|
22087
|
+
LSP1UniversalReceiverDelegateVault: {
|
|
22078
22088
|
/**
|
|
22079
|
-
* function
|
|
22089
|
+
* function VERSION()
|
|
22080
22090
|
*
|
|
22081
|
-
*
|
|
22091
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
22082
22092
|
*/
|
|
22083
|
-
"
|
|
22084
|
-
sig: "
|
|
22093
|
+
"0xffa1ad74": {
|
|
22094
|
+
sig: "VERSION()",
|
|
22085
22095
|
inputs: [],
|
|
22086
|
-
name: "
|
|
22096
|
+
name: "VERSION",
|
|
22087
22097
|
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
22088
22098
|
stateMutability: "view",
|
|
22089
22099
|
type: "function",
|
|
22090
|
-
devdoc: {
|
|
22091
|
-
details: "Get the version of the contract.",
|
|
22092
|
-
returns: { _0: "The version of the the contract." }
|
|
22093
|
-
},
|
|
22094
22100
|
userdoc: { notice: "Contract version." }
|
|
22095
|
-
}
|
|
22096
|
-
},
|
|
22097
|
-
LSP1UniversalReceiverDelegateVault: {
|
|
22101
|
+
},
|
|
22098
22102
|
/**
|
|
22099
22103
|
* function supportsInterface(
|
|
22100
22104
|
* bytes4 interfaceId
|
|
@@ -22141,24 +22145,6 @@ const FunctionSelectors = {
|
|
|
22141
22145
|
returns: { _0: "The result of the reaction for `typeId`." }
|
|
22142
22146
|
},
|
|
22143
22147
|
userdoc: { notice: "Reacted on received notification with `typeId`." }
|
|
22144
|
-
},
|
|
22145
|
-
/**
|
|
22146
|
-
* function version()
|
|
22147
|
-
*
|
|
22148
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
22149
|
-
*/
|
|
22150
|
-
"0x54fd4d50": {
|
|
22151
|
-
sig: "version()",
|
|
22152
|
-
inputs: [],
|
|
22153
|
-
name: "version",
|
|
22154
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
22155
|
-
stateMutability: "view",
|
|
22156
|
-
type: "function",
|
|
22157
|
-
devdoc: {
|
|
22158
|
-
details: "Get the version of the contract.",
|
|
22159
|
-
returns: { _0: "The version of the the contract." }
|
|
22160
|
-
},
|
|
22161
|
-
userdoc: { notice: "Contract version." }
|
|
22162
22148
|
}
|
|
22163
22149
|
},
|
|
22164
22150
|
LSP23LinkedContractsFactory: {
|
|
@@ -22898,6 +22884,20 @@ const FunctionSelectors = {
|
|
|
22898
22884
|
}
|
|
22899
22885
|
},
|
|
22900
22886
|
LSP6KeyManager: {
|
|
22887
|
+
/**
|
|
22888
|
+
* function VERSION()
|
|
22889
|
+
*
|
|
22890
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
22891
|
+
*/
|
|
22892
|
+
"0xffa1ad74": {
|
|
22893
|
+
sig: "VERSION()",
|
|
22894
|
+
inputs: [],
|
|
22895
|
+
name: "VERSION",
|
|
22896
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
22897
|
+
stateMutability: "view",
|
|
22898
|
+
type: "function",
|
|
22899
|
+
userdoc: { notice: "Contract version." }
|
|
22900
|
+
},
|
|
22901
22901
|
/**
|
|
22902
22902
|
* function execute(
|
|
22903
22903
|
* bytes payload
|
|
@@ -23099,6 +23099,7 @@ const FunctionSelectors = {
|
|
|
23099
23099
|
stateMutability: "view",
|
|
23100
23100
|
type: "function",
|
|
23101
23101
|
devdoc: {
|
|
23102
|
+
"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.",
|
|
23102
23103
|
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.",
|
|
23103
23104
|
params: {
|
|
23104
23105
|
hash: "Hash of the data to be signed",
|
|
@@ -23207,27 +23208,23 @@ const FunctionSelectors = {
|
|
|
23207
23208
|
details: "Get The address of the contract linked to this Key Manager.",
|
|
23208
23209
|
returns: { _0: "The address of the linked contract" }
|
|
23209
23210
|
}
|
|
23210
|
-
}
|
|
23211
|
+
}
|
|
23212
|
+
},
|
|
23213
|
+
LSP6KeyManagerInit: {
|
|
23211
23214
|
/**
|
|
23212
|
-
* function
|
|
23215
|
+
* function VERSION()
|
|
23213
23216
|
*
|
|
23214
|
-
*
|
|
23217
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
23215
23218
|
*/
|
|
23216
|
-
"
|
|
23217
|
-
sig: "
|
|
23219
|
+
"0xffa1ad74": {
|
|
23220
|
+
sig: "VERSION()",
|
|
23218
23221
|
inputs: [],
|
|
23219
|
-
name: "
|
|
23222
|
+
name: "VERSION",
|
|
23220
23223
|
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
23221
23224
|
stateMutability: "view",
|
|
23222
23225
|
type: "function",
|
|
23223
|
-
devdoc: {
|
|
23224
|
-
details: "Get the version of the contract.",
|
|
23225
|
-
returns: { _0: "The version of the the contract." }
|
|
23226
|
-
},
|
|
23227
23226
|
userdoc: { notice: "Contract version." }
|
|
23228
|
-
}
|
|
23229
|
-
},
|
|
23230
|
-
LSP6KeyManagerInit: {
|
|
23227
|
+
},
|
|
23231
23228
|
/**
|
|
23232
23229
|
* function execute(
|
|
23233
23230
|
* bytes payload
|
|
@@ -23453,6 +23450,7 @@ const FunctionSelectors = {
|
|
|
23453
23450
|
stateMutability: "view",
|
|
23454
23451
|
type: "function",
|
|
23455
23452
|
devdoc: {
|
|
23453
|
+
"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.",
|
|
23456
23454
|
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.",
|
|
23457
23455
|
params: {
|
|
23458
23456
|
hash: "Hash of the data to be signed",
|
|
@@ -23561,24 +23559,6 @@ const FunctionSelectors = {
|
|
|
23561
23559
|
details: "Get The address of the contract linked to this Key Manager.",
|
|
23562
23560
|
returns: { _0: "The address of the linked contract" }
|
|
23563
23561
|
}
|
|
23564
|
-
},
|
|
23565
|
-
/**
|
|
23566
|
-
* function version()
|
|
23567
|
-
*
|
|
23568
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
23569
|
-
*/
|
|
23570
|
-
"0x54fd4d50": {
|
|
23571
|
-
sig: "version()",
|
|
23572
|
-
inputs: [],
|
|
23573
|
-
name: "version",
|
|
23574
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
23575
|
-
stateMutability: "view",
|
|
23576
|
-
type: "function",
|
|
23577
|
-
devdoc: {
|
|
23578
|
-
details: "Get the version of the contract.",
|
|
23579
|
-
returns: { _0: "The version of the the contract." }
|
|
23580
|
-
},
|
|
23581
|
-
userdoc: { notice: "Contract version." }
|
|
23582
23562
|
}
|
|
23583
23563
|
},
|
|
23584
23564
|
LSP7DigitalAsset: {
|
|
@@ -24083,24 +24063,6 @@ const FunctionSelectors = {
|
|
|
24083
24063
|
devdoc: {
|
|
24084
24064
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
24085
24065
|
}
|
|
24086
|
-
},
|
|
24087
|
-
/**
|
|
24088
|
-
* function version()
|
|
24089
|
-
*
|
|
24090
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
24091
|
-
*/
|
|
24092
|
-
"0x54fd4d50": {
|
|
24093
|
-
sig: "version()",
|
|
24094
|
-
inputs: [],
|
|
24095
|
-
name: "version",
|
|
24096
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
24097
|
-
stateMutability: "view",
|
|
24098
|
-
type: "function",
|
|
24099
|
-
devdoc: {
|
|
24100
|
-
details: "Get the version of the contract.",
|
|
24101
|
-
returns: { _0: "The version of the the contract." }
|
|
24102
|
-
},
|
|
24103
|
-
userdoc: { notice: "Contract version." }
|
|
24104
24066
|
}
|
|
24105
24067
|
},
|
|
24106
24068
|
LSP7DigitalAssetInitAbstract: {
|
|
@@ -24603,24 +24565,6 @@ const FunctionSelectors = {
|
|
|
24603
24565
|
devdoc: {
|
|
24604
24566
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
24605
24567
|
}
|
|
24606
|
-
},
|
|
24607
|
-
/**
|
|
24608
|
-
* function version()
|
|
24609
|
-
*
|
|
24610
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
24611
|
-
*/
|
|
24612
|
-
"0x54fd4d50": {
|
|
24613
|
-
sig: "version()",
|
|
24614
|
-
inputs: [],
|
|
24615
|
-
name: "version",
|
|
24616
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
24617
|
-
stateMutability: "view",
|
|
24618
|
-
type: "function",
|
|
24619
|
-
devdoc: {
|
|
24620
|
-
details: "Get the version of the contract.",
|
|
24621
|
-
returns: { _0: "The version of the the contract." }
|
|
24622
|
-
},
|
|
24623
|
-
userdoc: { notice: "Contract version." }
|
|
24624
24568
|
}
|
|
24625
24569
|
},
|
|
24626
24570
|
LSP7CappedSupply: {
|
|
@@ -25147,24 +25091,6 @@ const FunctionSelectors = {
|
|
|
25147
25091
|
devdoc: {
|
|
25148
25092
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
25149
25093
|
}
|
|
25150
|
-
},
|
|
25151
|
-
/**
|
|
25152
|
-
* function version()
|
|
25153
|
-
*
|
|
25154
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
25155
|
-
*/
|
|
25156
|
-
"0x54fd4d50": {
|
|
25157
|
-
sig: "version()",
|
|
25158
|
-
inputs: [],
|
|
25159
|
-
name: "version",
|
|
25160
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
25161
|
-
stateMutability: "view",
|
|
25162
|
-
type: "function",
|
|
25163
|
-
devdoc: {
|
|
25164
|
-
details: "Get the version of the contract.",
|
|
25165
|
-
returns: { _0: "The version of the the contract." }
|
|
25166
|
-
},
|
|
25167
|
-
userdoc: { notice: "Contract version." }
|
|
25168
25094
|
}
|
|
25169
25095
|
},
|
|
25170
25096
|
LSP7CappedSupplyInitAbstract: {
|
|
@@ -25689,24 +25615,6 @@ const FunctionSelectors = {
|
|
|
25689
25615
|
devdoc: {
|
|
25690
25616
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
25691
25617
|
}
|
|
25692
|
-
},
|
|
25693
|
-
/**
|
|
25694
|
-
* function version()
|
|
25695
|
-
*
|
|
25696
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
25697
|
-
*/
|
|
25698
|
-
"0x54fd4d50": {
|
|
25699
|
-
sig: "version()",
|
|
25700
|
-
inputs: [],
|
|
25701
|
-
name: "version",
|
|
25702
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
25703
|
-
stateMutability: "view",
|
|
25704
|
-
type: "function",
|
|
25705
|
-
devdoc: {
|
|
25706
|
-
details: "Get the version of the contract.",
|
|
25707
|
-
returns: { _0: "The version of the the contract." }
|
|
25708
|
-
},
|
|
25709
|
-
userdoc: { notice: "Contract version." }
|
|
25710
25618
|
}
|
|
25711
25619
|
},
|
|
25712
25620
|
LSP7CompatibleERC20: {
|
|
@@ -26358,24 +26266,6 @@ const FunctionSelectors = {
|
|
|
26358
26266
|
devdoc: {
|
|
26359
26267
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
26360
26268
|
}
|
|
26361
|
-
},
|
|
26362
|
-
/**
|
|
26363
|
-
* function version()
|
|
26364
|
-
*
|
|
26365
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
26366
|
-
*/
|
|
26367
|
-
"0x54fd4d50": {
|
|
26368
|
-
sig: "version()",
|
|
26369
|
-
inputs: [],
|
|
26370
|
-
name: "version",
|
|
26371
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
26372
|
-
stateMutability: "view",
|
|
26373
|
-
type: "function",
|
|
26374
|
-
devdoc: {
|
|
26375
|
-
details: "Get the version of the contract.",
|
|
26376
|
-
returns: { _0: "The version of the the contract." }
|
|
26377
|
-
},
|
|
26378
|
-
userdoc: { notice: "Contract version." }
|
|
26379
26269
|
}
|
|
26380
26270
|
},
|
|
26381
26271
|
LSP7CompatibleERC20InitAbstract: {
|
|
@@ -27025,24 +26915,6 @@ const FunctionSelectors = {
|
|
|
27025
26915
|
devdoc: {
|
|
27026
26916
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
27027
26917
|
}
|
|
27028
|
-
},
|
|
27029
|
-
/**
|
|
27030
|
-
* function version()
|
|
27031
|
-
*
|
|
27032
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
27033
|
-
*/
|
|
27034
|
-
"0x54fd4d50": {
|
|
27035
|
-
sig: "version()",
|
|
27036
|
-
inputs: [],
|
|
27037
|
-
name: "version",
|
|
27038
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
27039
|
-
stateMutability: "view",
|
|
27040
|
-
type: "function",
|
|
27041
|
-
devdoc: {
|
|
27042
|
-
details: "Get the version of the contract.",
|
|
27043
|
-
returns: { _0: "The version of the the contract." }
|
|
27044
|
-
},
|
|
27045
|
-
userdoc: { notice: "Contract version." }
|
|
27046
26918
|
}
|
|
27047
26919
|
},
|
|
27048
26920
|
LSP7CompatibleERC20Mintable: {
|
|
@@ -27720,24 +27592,6 @@ const FunctionSelectors = {
|
|
|
27720
27592
|
devdoc: {
|
|
27721
27593
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
27722
27594
|
}
|
|
27723
|
-
},
|
|
27724
|
-
/**
|
|
27725
|
-
* function version()
|
|
27726
|
-
*
|
|
27727
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
27728
|
-
*/
|
|
27729
|
-
"0x54fd4d50": {
|
|
27730
|
-
sig: "version()",
|
|
27731
|
-
inputs: [],
|
|
27732
|
-
name: "version",
|
|
27733
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
27734
|
-
stateMutability: "view",
|
|
27735
|
-
type: "function",
|
|
27736
|
-
devdoc: {
|
|
27737
|
-
details: "Get the version of the contract.",
|
|
27738
|
-
returns: { _0: "The version of the the contract." }
|
|
27739
|
-
},
|
|
27740
|
-
userdoc: { notice: "Contract version." }
|
|
27741
27595
|
}
|
|
27742
27596
|
},
|
|
27743
27597
|
LSP7CompatibleERC20MintableInit: {
|
|
@@ -28444,24 +28298,6 @@ const FunctionSelectors = {
|
|
|
28444
28298
|
devdoc: {
|
|
28445
28299
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
28446
28300
|
}
|
|
28447
|
-
},
|
|
28448
|
-
/**
|
|
28449
|
-
* function version()
|
|
28450
|
-
*
|
|
28451
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
28452
|
-
*/
|
|
28453
|
-
"0x54fd4d50": {
|
|
28454
|
-
sig: "version()",
|
|
28455
|
-
inputs: [],
|
|
28456
|
-
name: "version",
|
|
28457
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
28458
|
-
stateMutability: "view",
|
|
28459
|
-
type: "function",
|
|
28460
|
-
devdoc: {
|
|
28461
|
-
details: "Get the version of the contract.",
|
|
28462
|
-
returns: { _0: "The version of the the contract." }
|
|
28463
|
-
},
|
|
28464
|
-
userdoc: { notice: "Contract version." }
|
|
28465
28301
|
}
|
|
28466
28302
|
},
|
|
28467
28303
|
LSP7Mintable: {
|
|
@@ -28992,24 +28828,6 @@ const FunctionSelectors = {
|
|
|
28992
28828
|
devdoc: {
|
|
28993
28829
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
28994
28830
|
}
|
|
28995
|
-
},
|
|
28996
|
-
/**
|
|
28997
|
-
* function version()
|
|
28998
|
-
*
|
|
28999
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
29000
|
-
*/
|
|
29001
|
-
"0x54fd4d50": {
|
|
29002
|
-
sig: "version()",
|
|
29003
|
-
inputs: [],
|
|
29004
|
-
name: "version",
|
|
29005
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
29006
|
-
stateMutability: "view",
|
|
29007
|
-
type: "function",
|
|
29008
|
-
devdoc: {
|
|
29009
|
-
details: "Get the version of the contract.",
|
|
29010
|
-
returns: { _0: "The version of the the contract." }
|
|
29011
|
-
},
|
|
29012
|
-
userdoc: { notice: "Contract version." }
|
|
29013
28831
|
}
|
|
29014
28832
|
},
|
|
29015
28833
|
LSP7MintableInit: {
|
|
@@ -29571,24 +29389,6 @@ const FunctionSelectors = {
|
|
|
29571
29389
|
devdoc: {
|
|
29572
29390
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
29573
29391
|
}
|
|
29574
|
-
},
|
|
29575
|
-
/**
|
|
29576
|
-
* function version()
|
|
29577
|
-
*
|
|
29578
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
29579
|
-
*/
|
|
29580
|
-
"0x54fd4d50": {
|
|
29581
|
-
sig: "version()",
|
|
29582
|
-
inputs: [],
|
|
29583
|
-
name: "version",
|
|
29584
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
29585
|
-
stateMutability: "view",
|
|
29586
|
-
type: "function",
|
|
29587
|
-
devdoc: {
|
|
29588
|
-
details: "Get the version of the contract.",
|
|
29589
|
-
returns: { _0: "The version of the the contract." }
|
|
29590
|
-
},
|
|
29591
|
-
userdoc: { notice: "Contract version." }
|
|
29592
29392
|
}
|
|
29593
29393
|
},
|
|
29594
29394
|
LSP8IdentifiableDigitalAsset: {
|
|
@@ -30050,24 +29850,6 @@ const FunctionSelectors = {
|
|
|
30050
29850
|
devdoc: {
|
|
30051
29851
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
30052
29852
|
}
|
|
30053
|
-
},
|
|
30054
|
-
/**
|
|
30055
|
-
* function version()
|
|
30056
|
-
*
|
|
30057
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
30058
|
-
*/
|
|
30059
|
-
"0x54fd4d50": {
|
|
30060
|
-
sig: "version()",
|
|
30061
|
-
inputs: [],
|
|
30062
|
-
name: "version",
|
|
30063
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
30064
|
-
stateMutability: "view",
|
|
30065
|
-
type: "function",
|
|
30066
|
-
devdoc: {
|
|
30067
|
-
details: "Get the version of the contract.",
|
|
30068
|
-
returns: { _0: "The version of the the contract." }
|
|
30069
|
-
},
|
|
30070
|
-
userdoc: { notice: "Contract version." }
|
|
30071
29853
|
}
|
|
30072
29854
|
},
|
|
30073
29855
|
LSP8IdentifiableDigitalAssetInitAbstract: {
|
|
@@ -30527,24 +30309,6 @@ const FunctionSelectors = {
|
|
|
30527
30309
|
devdoc: {
|
|
30528
30310
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
30529
30311
|
}
|
|
30530
|
-
},
|
|
30531
|
-
/**
|
|
30532
|
-
* function version()
|
|
30533
|
-
*
|
|
30534
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
30535
|
-
*/
|
|
30536
|
-
"0x54fd4d50": {
|
|
30537
|
-
sig: "version()",
|
|
30538
|
-
inputs: [],
|
|
30539
|
-
name: "version",
|
|
30540
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
30541
|
-
stateMutability: "view",
|
|
30542
|
-
type: "function",
|
|
30543
|
-
devdoc: {
|
|
30544
|
-
details: "Get the version of the contract.",
|
|
30545
|
-
returns: { _0: "The version of the the contract." }
|
|
30546
|
-
},
|
|
30547
|
-
userdoc: { notice: "Contract version." }
|
|
30548
30312
|
}
|
|
30549
30313
|
},
|
|
30550
30314
|
LSP8CappedSupply: {
|
|
@@ -31028,24 +30792,6 @@ const FunctionSelectors = {
|
|
|
31028
30792
|
devdoc: {
|
|
31029
30793
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
31030
30794
|
}
|
|
31031
|
-
},
|
|
31032
|
-
/**
|
|
31033
|
-
* function version()
|
|
31034
|
-
*
|
|
31035
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
31036
|
-
*/
|
|
31037
|
-
"0x54fd4d50": {
|
|
31038
|
-
sig: "version()",
|
|
31039
|
-
inputs: [],
|
|
31040
|
-
name: "version",
|
|
31041
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
31042
|
-
stateMutability: "view",
|
|
31043
|
-
type: "function",
|
|
31044
|
-
devdoc: {
|
|
31045
|
-
details: "Get the version of the contract.",
|
|
31046
|
-
returns: { _0: "The version of the the contract." }
|
|
31047
|
-
},
|
|
31048
|
-
userdoc: { notice: "Contract version." }
|
|
31049
30795
|
}
|
|
31050
30796
|
},
|
|
31051
30797
|
LSP8CappedSupplyInitAbstract: {
|
|
@@ -31527,24 +31273,6 @@ const FunctionSelectors = {
|
|
|
31527
31273
|
devdoc: {
|
|
31528
31274
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
31529
31275
|
}
|
|
31530
|
-
},
|
|
31531
|
-
/**
|
|
31532
|
-
* function version()
|
|
31533
|
-
*
|
|
31534
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
31535
|
-
*/
|
|
31536
|
-
"0x54fd4d50": {
|
|
31537
|
-
sig: "version()",
|
|
31538
|
-
inputs: [],
|
|
31539
|
-
name: "version",
|
|
31540
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
31541
|
-
stateMutability: "view",
|
|
31542
|
-
type: "function",
|
|
31543
|
-
devdoc: {
|
|
31544
|
-
details: "Get the version of the contract.",
|
|
31545
|
-
returns: { _0: "The version of the the contract." }
|
|
31546
|
-
},
|
|
31547
|
-
userdoc: { notice: "Contract version." }
|
|
31548
31276
|
}
|
|
31549
31277
|
},
|
|
31550
31278
|
LSP8CompatibleERC721: {
|
|
@@ -32298,24 +32026,6 @@ const FunctionSelectors = {
|
|
|
32298
32026
|
devdoc: {
|
|
32299
32027
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
32300
32028
|
}
|
|
32301
|
-
},
|
|
32302
|
-
/**
|
|
32303
|
-
* function version()
|
|
32304
|
-
*
|
|
32305
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
32306
|
-
*/
|
|
32307
|
-
"0x54fd4d50": {
|
|
32308
|
-
sig: "version()",
|
|
32309
|
-
inputs: [],
|
|
32310
|
-
name: "version",
|
|
32311
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
32312
|
-
stateMutability: "view",
|
|
32313
|
-
type: "function",
|
|
32314
|
-
devdoc: {
|
|
32315
|
-
details: "Get the version of the contract.",
|
|
32316
|
-
returns: { _0: "The version of the the contract." }
|
|
32317
|
-
},
|
|
32318
|
-
userdoc: { notice: "Contract version." }
|
|
32319
32029
|
}
|
|
32320
32030
|
},
|
|
32321
32031
|
LSP8CompatibleERC721InitAbstract: {
|
|
@@ -33067,24 +32777,6 @@ const FunctionSelectors = {
|
|
|
33067
32777
|
devdoc: {
|
|
33068
32778
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
33069
32779
|
}
|
|
33070
|
-
},
|
|
33071
|
-
/**
|
|
33072
|
-
* function version()
|
|
33073
|
-
*
|
|
33074
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
33075
|
-
*/
|
|
33076
|
-
"0x54fd4d50": {
|
|
33077
|
-
sig: "version()",
|
|
33078
|
-
inputs: [],
|
|
33079
|
-
name: "version",
|
|
33080
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
33081
|
-
stateMutability: "view",
|
|
33082
|
-
type: "function",
|
|
33083
|
-
devdoc: {
|
|
33084
|
-
details: "Get the version of the contract.",
|
|
33085
|
-
returns: { _0: "The version of the the contract." }
|
|
33086
|
-
},
|
|
33087
|
-
userdoc: { notice: "Contract version." }
|
|
33088
32780
|
}
|
|
33089
32781
|
},
|
|
33090
32782
|
LSP8CompatibleERC721Mintable: {
|
|
@@ -33873,24 +33565,6 @@ const FunctionSelectors = {
|
|
|
33873
33565
|
devdoc: {
|
|
33874
33566
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
33875
33567
|
}
|
|
33876
|
-
},
|
|
33877
|
-
/**
|
|
33878
|
-
* function version()
|
|
33879
|
-
*
|
|
33880
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
33881
|
-
*/
|
|
33882
|
-
"0x54fd4d50": {
|
|
33883
|
-
sig: "version()",
|
|
33884
|
-
inputs: [],
|
|
33885
|
-
name: "version",
|
|
33886
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
33887
|
-
stateMutability: "view",
|
|
33888
|
-
type: "function",
|
|
33889
|
-
devdoc: {
|
|
33890
|
-
details: "Get the version of the contract.",
|
|
33891
|
-
returns: { _0: "The version of the the contract." }
|
|
33892
|
-
},
|
|
33893
|
-
userdoc: { notice: "Contract version." }
|
|
33894
33568
|
}
|
|
33895
33569
|
},
|
|
33896
33570
|
LSP8CompatibleERC721MintableInit: {
|
|
@@ -34710,24 +34384,6 @@ const FunctionSelectors = {
|
|
|
34710
34384
|
devdoc: {
|
|
34711
34385
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
34712
34386
|
}
|
|
34713
|
-
},
|
|
34714
|
-
/**
|
|
34715
|
-
* function version()
|
|
34716
|
-
*
|
|
34717
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
34718
|
-
*/
|
|
34719
|
-
"0x54fd4d50": {
|
|
34720
|
-
sig: "version()",
|
|
34721
|
-
inputs: [],
|
|
34722
|
-
name: "version",
|
|
34723
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
34724
|
-
stateMutability: "view",
|
|
34725
|
-
type: "function",
|
|
34726
|
-
devdoc: {
|
|
34727
|
-
details: "Get the version of the contract.",
|
|
34728
|
-
returns: { _0: "The version of the the contract." }
|
|
34729
|
-
},
|
|
34730
|
-
userdoc: { notice: "Contract version." }
|
|
34731
34387
|
}
|
|
34732
34388
|
},
|
|
34733
34389
|
LSP8Mintable: {
|
|
@@ -35224,24 +34880,6 @@ const FunctionSelectors = {
|
|
|
35224
34880
|
devdoc: {
|
|
35225
34881
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
35226
34882
|
}
|
|
35227
|
-
},
|
|
35228
|
-
/**
|
|
35229
|
-
* function version()
|
|
35230
|
-
*
|
|
35231
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
35232
|
-
*/
|
|
35233
|
-
"0x54fd4d50": {
|
|
35234
|
-
sig: "version()",
|
|
35235
|
-
inputs: [],
|
|
35236
|
-
name: "version",
|
|
35237
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
35238
|
-
stateMutability: "view",
|
|
35239
|
-
type: "function",
|
|
35240
|
-
devdoc: {
|
|
35241
|
-
details: "Get the version of the contract.",
|
|
35242
|
-
returns: { _0: "The version of the the contract." }
|
|
35243
|
-
},
|
|
35244
|
-
userdoc: { notice: "Contract version." }
|
|
35245
34883
|
}
|
|
35246
34884
|
},
|
|
35247
34885
|
LSP8MintableInit: {
|
|
@@ -35769,24 +35407,6 @@ const FunctionSelectors = {
|
|
|
35769
35407
|
devdoc: {
|
|
35770
35408
|
details: "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
35771
35409
|
}
|
|
35772
|
-
},
|
|
35773
|
-
/**
|
|
35774
|
-
* function version()
|
|
35775
|
-
*
|
|
35776
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
35777
|
-
*/
|
|
35778
|
-
"0x54fd4d50": {
|
|
35779
|
-
sig: "version()",
|
|
35780
|
-
inputs: [],
|
|
35781
|
-
name: "version",
|
|
35782
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
35783
|
-
stateMutability: "view",
|
|
35784
|
-
type: "function",
|
|
35785
|
-
devdoc: {
|
|
35786
|
-
details: "Get the version of the contract.",
|
|
35787
|
-
returns: { _0: "The version of the the contract." }
|
|
35788
|
-
},
|
|
35789
|
-
userdoc: { notice: "Contract version." }
|
|
35790
35410
|
}
|
|
35791
35411
|
},
|
|
35792
35412
|
LSP9Vault: {
|
|
@@ -35816,6 +35436,20 @@ const FunctionSelectors = {
|
|
|
35816
35436
|
stateMutability: "view",
|
|
35817
35437
|
type: "function"
|
|
35818
35438
|
},
|
|
35439
|
+
/**
|
|
35440
|
+
* function VERSION()
|
|
35441
|
+
*
|
|
35442
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
35443
|
+
*/
|
|
35444
|
+
"0xffa1ad74": {
|
|
35445
|
+
sig: "VERSION()",
|
|
35446
|
+
inputs: [],
|
|
35447
|
+
name: "VERSION",
|
|
35448
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
35449
|
+
stateMutability: "view",
|
|
35450
|
+
type: "function",
|
|
35451
|
+
userdoc: { notice: "Contract version." }
|
|
35452
|
+
},
|
|
35819
35453
|
/**
|
|
35820
35454
|
* function acceptOwnership()
|
|
35821
35455
|
*
|
|
@@ -36192,24 +35826,6 @@ const FunctionSelectors = {
|
|
|
36192
35826
|
userdoc: {
|
|
36193
35827
|
notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
36194
35828
|
}
|
|
36195
|
-
},
|
|
36196
|
-
/**
|
|
36197
|
-
* function version()
|
|
36198
|
-
*
|
|
36199
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
36200
|
-
*/
|
|
36201
|
-
"0x54fd4d50": {
|
|
36202
|
-
sig: "version()",
|
|
36203
|
-
inputs: [],
|
|
36204
|
-
name: "version",
|
|
36205
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
36206
|
-
stateMutability: "view",
|
|
36207
|
-
type: "function",
|
|
36208
|
-
devdoc: {
|
|
36209
|
-
details: "Get the version of the contract.",
|
|
36210
|
-
returns: { _0: "The version of the the contract." }
|
|
36211
|
-
},
|
|
36212
|
-
userdoc: { notice: "Contract version." }
|
|
36213
35829
|
}
|
|
36214
35830
|
},
|
|
36215
35831
|
LSP9VaultInit: {
|
|
@@ -36239,6 +35855,20 @@ const FunctionSelectors = {
|
|
|
36239
35855
|
stateMutability: "view",
|
|
36240
35856
|
type: "function"
|
|
36241
35857
|
},
|
|
35858
|
+
/**
|
|
35859
|
+
* function VERSION()
|
|
35860
|
+
*
|
|
35861
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
35862
|
+
*/
|
|
35863
|
+
"0xffa1ad74": {
|
|
35864
|
+
sig: "VERSION()",
|
|
35865
|
+
inputs: [],
|
|
35866
|
+
name: "VERSION",
|
|
35867
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
35868
|
+
stateMutability: "view",
|
|
35869
|
+
type: "function",
|
|
35870
|
+
userdoc: { notice: "Contract version." }
|
|
35871
|
+
},
|
|
36242
35872
|
/**
|
|
36243
35873
|
* function acceptOwnership()
|
|
36244
35874
|
*
|
|
@@ -36638,24 +36268,6 @@ const FunctionSelectors = {
|
|
|
36638
36268
|
userdoc: {
|
|
36639
36269
|
notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
36640
36270
|
}
|
|
36641
|
-
},
|
|
36642
|
-
/**
|
|
36643
|
-
* function version()
|
|
36644
|
-
*
|
|
36645
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
36646
|
-
*/
|
|
36647
|
-
"0x54fd4d50": {
|
|
36648
|
-
sig: "version()",
|
|
36649
|
-
inputs: [],
|
|
36650
|
-
name: "version",
|
|
36651
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
36652
|
-
stateMutability: "view",
|
|
36653
|
-
type: "function",
|
|
36654
|
-
devdoc: {
|
|
36655
|
-
details: "Get the version of the contract.",
|
|
36656
|
-
returns: { _0: "The version of the the contract." }
|
|
36657
|
-
},
|
|
36658
|
-
userdoc: { notice: "Contract version." }
|
|
36659
36271
|
}
|
|
36660
36272
|
},
|
|
36661
36273
|
UniversalReceiverAddressStore: {
|
|
@@ -36840,6 +36452,20 @@ const FunctionSelectors = {
|
|
|
36840
36452
|
stateMutability: "view",
|
|
36841
36453
|
type: "function"
|
|
36842
36454
|
},
|
|
36455
|
+
/**
|
|
36456
|
+
* function VERSION()
|
|
36457
|
+
*
|
|
36458
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
36459
|
+
*/
|
|
36460
|
+
"0xffa1ad74": {
|
|
36461
|
+
sig: "VERSION()",
|
|
36462
|
+
inputs: [],
|
|
36463
|
+
name: "VERSION",
|
|
36464
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
36465
|
+
stateMutability: "view",
|
|
36466
|
+
type: "function",
|
|
36467
|
+
userdoc: { notice: "Contract version." }
|
|
36468
|
+
},
|
|
36843
36469
|
/**
|
|
36844
36470
|
* function acceptOwnership()
|
|
36845
36471
|
*
|
|
@@ -37040,6 +36666,7 @@ const FunctionSelectors = {
|
|
|
37040
36666
|
stateMutability: "view",
|
|
37041
36667
|
type: "function",
|
|
37042
36668
|
devdoc: {
|
|
36669
|
+
"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.",
|
|
37043
36670
|
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.",
|
|
37044
36671
|
params: {
|
|
37045
36672
|
dataHash: "The hash of the data to be validated.",
|
|
@@ -37239,7 +36866,7 @@ const FunctionSelectors = {
|
|
|
37239
36866
|
type: "function",
|
|
37240
36867
|
devdoc: {
|
|
37241
36868
|
"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.",
|
|
37242
|
-
details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
|
|
36869
|
+
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.",
|
|
37243
36870
|
params: {
|
|
37244
36871
|
receivedData: "The data received.",
|
|
37245
36872
|
typeId: "The type of call received."
|
|
@@ -37251,24 +36878,6 @@ const FunctionSelectors = {
|
|
|
37251
36878
|
userdoc: {
|
|
37252
36879
|
notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
37253
36880
|
}
|
|
37254
|
-
},
|
|
37255
|
-
/**
|
|
37256
|
-
* function version()
|
|
37257
|
-
*
|
|
37258
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
37259
|
-
*/
|
|
37260
|
-
"0x54fd4d50": {
|
|
37261
|
-
sig: "version()",
|
|
37262
|
-
inputs: [],
|
|
37263
|
-
name: "version",
|
|
37264
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
37265
|
-
stateMutability: "view",
|
|
37266
|
-
type: "function",
|
|
37267
|
-
devdoc: {
|
|
37268
|
-
details: "Get the version of the contract.",
|
|
37269
|
-
returns: { _0: "The version of the the contract." }
|
|
37270
|
-
},
|
|
37271
|
-
userdoc: { notice: "Contract version." }
|
|
37272
36881
|
}
|
|
37273
36882
|
},
|
|
37274
36883
|
UniversalProfileInit: {
|
|
@@ -37298,6 +36907,20 @@ const FunctionSelectors = {
|
|
|
37298
36907
|
stateMutability: "view",
|
|
37299
36908
|
type: "function"
|
|
37300
36909
|
},
|
|
36910
|
+
/**
|
|
36911
|
+
* function VERSION()
|
|
36912
|
+
*
|
|
36913
|
+
* 0xffa1ad74 = keccak256('VERSION()')
|
|
36914
|
+
*/
|
|
36915
|
+
"0xffa1ad74": {
|
|
36916
|
+
sig: "VERSION()",
|
|
36917
|
+
inputs: [],
|
|
36918
|
+
name: "VERSION",
|
|
36919
|
+
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
36920
|
+
stateMutability: "view",
|
|
36921
|
+
type: "function",
|
|
36922
|
+
userdoc: { notice: "Contract version." }
|
|
36923
|
+
},
|
|
37301
36924
|
/**
|
|
37302
36925
|
* function acceptOwnership()
|
|
37303
36926
|
*
|
|
@@ -37494,8 +37117,8 @@ const FunctionSelectors = {
|
|
|
37494
37117
|
stateMutability: "payable",
|
|
37495
37118
|
type: "function",
|
|
37496
37119
|
devdoc: {
|
|
37497
|
-
"custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
|
|
37498
|
-
details: "Set `initialOwner` as the contract owner and the `SupportedStandards:
|
|
37120
|
+
"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}.",
|
|
37121
|
+
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.",
|
|
37499
37122
|
params: { initialOwner: "the owner of the contract" }
|
|
37500
37123
|
},
|
|
37501
37124
|
userdoc: {
|
|
@@ -37523,6 +37146,7 @@ const FunctionSelectors = {
|
|
|
37523
37146
|
stateMutability: "view",
|
|
37524
37147
|
type: "function",
|
|
37525
37148
|
devdoc: {
|
|
37149
|
+
"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.",
|
|
37526
37150
|
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.",
|
|
37527
37151
|
params: {
|
|
37528
37152
|
dataHash: "The hash of the data to be validated.",
|
|
@@ -37722,7 +37346,7 @@ const FunctionSelectors = {
|
|
|
37722
37346
|
type: "function",
|
|
37723
37347
|
devdoc: {
|
|
37724
37348
|
"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.",
|
|
37725
|
-
details: "Achieves the goal of [LSP-1-UniversalReceiver] by allowing the account to be notified about incoming/outgoing transactions and enabling reactions to these actions. The reaction is achieved by having two external contracts ([LSP1UniversalReceiverDelegate]) that react on the whole transaction and on the specific typeId, respectively. The function performs the following steps: 1. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_KEY]. - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function. 2. Query the [ERC-725Y] storage with the data key [_LSP1_UNIVERSAL_RECEIVER_DELEGATE_PREFIX] + `bytes32(typeId)`. (Check [LSP-2-ERC725YJSONSchema] for encoding the data key) - If there is an address stored under the data key, check if this address supports the LSP1 interfaceId. - If yes, call this address with the typeId and data (params), along with additional calldata consisting of 20 bytes of `msg.sender` and 32 bytes of `msg.value`. If not, continue the execution of the function.",
|
|
37349
|
+
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.",
|
|
37726
37350
|
params: {
|
|
37727
37351
|
receivedData: "The data received.",
|
|
37728
37352
|
typeId: "The type of call received."
|
|
@@ -37734,24 +37358,6 @@ const FunctionSelectors = {
|
|
|
37734
37358
|
userdoc: {
|
|
37735
37359
|
notice: "Notifying the contract by calling its `universalReceiver` function with the following informations: typeId: `typeId`; data: `data`."
|
|
37736
37360
|
}
|
|
37737
|
-
},
|
|
37738
|
-
/**
|
|
37739
|
-
* function version()
|
|
37740
|
-
*
|
|
37741
|
-
* 0x54fd4d50 = keccak256('version()')
|
|
37742
|
-
*/
|
|
37743
|
-
"0x54fd4d50": {
|
|
37744
|
-
sig: "version()",
|
|
37745
|
-
inputs: [],
|
|
37746
|
-
name: "version",
|
|
37747
|
-
outputs: [{ internalType: "string", name: "", type: "string" }],
|
|
37748
|
-
stateMutability: "view",
|
|
37749
|
-
type: "function",
|
|
37750
|
-
devdoc: {
|
|
37751
|
-
details: "Get the version of the contract.",
|
|
37752
|
-
returns: { _0: "The version of the the contract." }
|
|
37753
|
-
},
|
|
37754
|
-
userdoc: { notice: "Contract version." }
|
|
37755
37361
|
}
|
|
37756
37362
|
}
|
|
37757
37363
|
};
|