@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
|
@@ -276,12 +276,6 @@
|
|
|
276
276
|
},
|
|
277
277
|
"transferOwnership(address)": {
|
|
278
278
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
279
|
-
},
|
|
280
|
-
"version()": {
|
|
281
|
-
"details": "Get the version of the contract.",
|
|
282
|
-
"returns": {
|
|
283
|
-
"_0": "The version of the the contract."
|
|
284
|
-
}
|
|
285
279
|
}
|
|
286
280
|
},
|
|
287
281
|
"title": "Implementation of a LSP8 Identifiable Digital Asset, a contract that represents a non-fungible token.",
|
|
@@ -266,12 +266,6 @@
|
|
|
266
266
|
},
|
|
267
267
|
"transferOwnership(address)": {
|
|
268
268
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
269
|
-
},
|
|
270
|
-
"version()": {
|
|
271
|
-
"details": "Get the version of the contract.",
|
|
272
|
-
"returns": {
|
|
273
|
-
"_0": "The version of the the contract."
|
|
274
|
-
}
|
|
275
269
|
}
|
|
276
270
|
},
|
|
277
271
|
"title": "Implementation of a LSP8 Identifiable Digital Asset, a contract that represents a non-fungible token.",
|
|
@@ -285,12 +285,6 @@
|
|
|
285
285
|
},
|
|
286
286
|
"transferOwnership(address)": {
|
|
287
287
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
288
|
-
},
|
|
289
|
-
"version()": {
|
|
290
|
-
"details": "Get the version of the contract.",
|
|
291
|
-
"returns": {
|
|
292
|
-
"_0": "The version of the the contract."
|
|
293
|
-
}
|
|
294
288
|
}
|
|
295
289
|
},
|
|
296
290
|
"title": "LSP8IdentifiableDigitalAsset deployable preset contract with a public {mint} function callable only by the contract {owner}.",
|
|
@@ -289,12 +289,6 @@
|
|
|
289
289
|
},
|
|
290
290
|
"transferOwnership(address)": {
|
|
291
291
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
292
|
-
},
|
|
293
|
-
"version()": {
|
|
294
|
-
"details": "Get the version of the contract.",
|
|
295
|
-
"returns": {
|
|
296
|
-
"_0": "The version of the the contract."
|
|
297
|
-
}
|
|
298
292
|
}
|
|
299
293
|
},
|
|
300
294
|
"version": 1
|
package/devdocs/LSP9Vault.json
CHANGED
|
@@ -229,12 +229,6 @@
|
|
|
229
229
|
"returns": {
|
|
230
230
|
"returnedValues": "The ABI encoded return value of the LSP1UniversalReceiverDelegate call and the LSP1TypeIdDelegate call."
|
|
231
231
|
}
|
|
232
|
-
},
|
|
233
|
-
"version()": {
|
|
234
|
-
"details": "Get the version of the contract.",
|
|
235
|
-
"returns": {
|
|
236
|
-
"_0": "The version of the the contract."
|
|
237
|
-
}
|
|
238
232
|
}
|
|
239
233
|
},
|
|
240
234
|
"title": "Implementation of LSP9Vault built on top of [ERC725], [LSP-1-UniversalReceiver]",
|
|
@@ -232,12 +232,6 @@
|
|
|
232
232
|
"returns": {
|
|
233
233
|
"returnedValues": "The ABI encoded return value of the LSP1UniversalReceiverDelegate call and the LSP1TypeIdDelegate call."
|
|
234
234
|
}
|
|
235
|
-
},
|
|
236
|
-
"version()": {
|
|
237
|
-
"details": "Get the version of the contract.",
|
|
238
|
-
"returns": {
|
|
239
|
-
"_0": "The version of the the contract."
|
|
240
|
-
}
|
|
241
235
|
}
|
|
242
236
|
},
|
|
243
237
|
"title": "Deployable Proxy Implementation of LSP9Vault built on top of ERC725, LSP1UniversalReceiver",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
},
|
|
141
141
|
"constructor": {
|
|
142
142
|
"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}.",
|
|
143
|
-
"details": "Set `initialOwner` as the contract owner and the `SupportedStandards:
|
|
143
|
+
"details": "Set `initialOwner` as the contract owner and the `SupportedStandards:LSP3Profile` data key in the ERC725Y data key/value store. - The `constructor` is payable and allows funding the contract on deployment. - The `initialOwner` will then be allowed to call protected functions marked with the `onlyOwner` modifier.",
|
|
144
144
|
"params": {
|
|
145
145
|
"initialOwner": "the owner of the contract"
|
|
146
146
|
}
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
}
|
|
188
188
|
},
|
|
189
189
|
"isValidSignature(bytes32,bytes)": {
|
|
190
|
+
"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.",
|
|
190
191
|
"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.",
|
|
191
192
|
"params": {
|
|
192
193
|
"dataHash": "The hash of the data to be validated.",
|
|
@@ -244,7 +245,7 @@
|
|
|
244
245
|
},
|
|
245
246
|
"universalReceiver(bytes32,bytes)": {
|
|
246
247
|
"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.",
|
|
247
|
-
"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.",
|
|
248
|
+
"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.",
|
|
248
249
|
"params": {
|
|
249
250
|
"receivedData": "The data received.",
|
|
250
251
|
"typeId": "The type of call received."
|
|
@@ -252,12 +253,6 @@
|
|
|
252
253
|
"returns": {
|
|
253
254
|
"returnedValues": "The ABI encoded return value of the LSP1UniversalReceiverDelegate call and the LSP1TypeIdDelegate call."
|
|
254
255
|
}
|
|
255
|
-
},
|
|
256
|
-
"version()": {
|
|
257
|
-
"details": "Get the version of the contract.",
|
|
258
|
-
"returns": {
|
|
259
|
-
"_0": "The version of the the contract."
|
|
260
|
-
}
|
|
261
256
|
}
|
|
262
257
|
},
|
|
263
258
|
"title": "implementation of a LUKSO's Universal Profile based on LSP3",
|
|
@@ -183,13 +183,14 @@
|
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
185
|
"initialize(address)": {
|
|
186
|
-
"custom:events": "- {UniversalReceiver} event when funding the contract on deployment. - {OwnershipTransferred} event when `initialOwner` is set as the contract {owner}.",
|
|
187
|
-
"details": "Set `initialOwner` as the contract owner and the `SupportedStandards:
|
|
186
|
+
"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}.",
|
|
187
|
+
"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.",
|
|
188
188
|
"params": {
|
|
189
189
|
"initialOwner": "the owner of the contract"
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
192
|
"isValidSignature(bytes32,bytes)": {
|
|
193
|
+
"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.",
|
|
193
194
|
"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.",
|
|
194
195
|
"params": {
|
|
195
196
|
"dataHash": "The hash of the data to be validated.",
|
|
@@ -247,7 +248,7 @@
|
|
|
247
248
|
},
|
|
248
249
|
"universalReceiver(bytes32,bytes)": {
|
|
249
250
|
"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.",
|
|
250
|
-
"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.",
|
|
251
|
+
"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.",
|
|
251
252
|
"params": {
|
|
252
253
|
"receivedData": "The data received.",
|
|
253
254
|
"typeId": "The type of call received."
|
|
@@ -255,12 +256,6 @@
|
|
|
255
256
|
"returns": {
|
|
256
257
|
"returnedValues": "The ABI encoded return value of the LSP1UniversalReceiverDelegate call and the LSP1TypeIdDelegate call."
|
|
257
258
|
}
|
|
258
|
-
},
|
|
259
|
-
"version()": {
|
|
260
|
-
"details": "Get the version of the contract.",
|
|
261
|
-
"returns": {
|
|
262
|
-
"_0": "The version of the the contract."
|
|
263
|
-
}
|
|
264
259
|
}
|
|
265
260
|
},
|
|
266
261
|
"title": "Deployable Proxy implementation of a LUKSO's Universal Profile based on LSP3",
|