@lukso/lsp-smart-contracts 0.11.0-rc.0 → 0.11.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/README.md +1 -0
- package/artifacts/LSP0ERC725Account.json +7 -2
- package/artifacts/LSP0ERC725AccountInit.json +7 -2
- package/artifacts/LSP11BasicSocialRecovery.json +2 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +3 -79
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +3 -41
- package/artifacts/LSP23LinkedContractsFactory.json +544 -0
- package/artifacts/LSP6KeyManager.json +24 -19
- package/artifacts/LSP6KeyManagerInit.json +24 -19
- package/artifacts/LSP7CappedSupply.json +88 -0
- package/artifacts/LSP7CappedSupplyInitAbstract.json +88 -0
- package/artifacts/LSP7CompatibleERC20.json +88 -0
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +88 -0
- package/artifacts/LSP7CompatibleERC20Mintable.json +90 -2
- package/artifacts/LSP7CompatibleERC20MintableInit.json +90 -2
- package/artifacts/LSP7DigitalAsset.json +88 -0
- package/artifacts/LSP7DigitalAssetInitAbstract.json +88 -0
- package/artifacts/LSP7Mintable.json +90 -2
- package/artifacts/LSP7MintableInit.json +90 -2
- package/artifacts/LSP8CappedSupply.json +59 -0
- package/artifacts/LSP8CappedSupplyInitAbstract.json +59 -0
- package/artifacts/LSP8CompatibleERC721.json +60 -1
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +60 -1
- package/artifacts/LSP8CompatibleERC721Mintable.json +62 -3
- package/artifacts/LSP8CompatibleERC721MintableInit.json +62 -3
- package/artifacts/LSP8IdentifiableDigitalAsset.json +59 -0
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +59 -0
- package/artifacts/LSP8Mintable.json +61 -2
- package/artifacts/LSP8MintableInit.json +61 -2
- package/artifacts/LSP9Vault.json +7 -2
- package/artifacts/LSP9VaultInit.json +7 -2
- package/artifacts/UniversalProfile.json +7 -2
- package/artifacts/UniversalProfileInit.json +7 -2
- package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +8 -36
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +15 -30
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +122 -206
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +18 -36
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +8 -34
- package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +148 -177
- package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +21 -20
- package/contracts/LSP14Ownable2Step/LSP14Errors.sol +13 -2
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +50 -20
- package/contracts/LSP17ContractExtension/LSP17Errors.sol +10 -0
- package/contracts/LSP17ContractExtension/LSP17Extendable.sol +16 -34
- package/contracts/LSP17ContractExtension/LSP17Utils.sol +1 -1
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +16 -11
- package/contracts/LSP1UniversalReceiver/LSP1Errors.sol +5 -10
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +192 -177
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +150 -88
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +66 -48
- package/contracts/LSP20CallVerification/LSP20CallVerification.sol +1 -1
- package/contracts/LSP23LinkedContractsDeployment/ILSP23LinkedContractsFactory.sol +192 -0
- package/contracts/LSP23LinkedContractsDeployment/IPostDeploymentModule.sol +18 -0
- package/contracts/LSP23LinkedContractsDeployment/LSP23Errors.sol +24 -0
- package/contracts/LSP23LinkedContractsDeployment/LSP23LinkedContractsFactory.sol +392 -0
- package/contracts/{LSP23MultiChainDeployment → LSP23LinkedContractsDeployment}/modules/UniversalProfileInitPostDeploymentModule.sol +5 -1
- package/contracts/LSP23LinkedContractsDeployment/modules/UniversalProfilePostDeploymentModule.sol +61 -0
- package/contracts/LSP25ExecuteRelayCall/ILSP25ExecuteRelayCall.sol +68 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25Constants.sol +8 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25Errors.sol +17 -0
- package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +143 -0
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +256 -61
- package/contracts/{LSP3UniversalProfile → LSP3ProfileMetadata}/LSP3Constants.sol +3 -3
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +9 -8
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +13 -6
- package/contracts/LSP4DigitalAssetMetadata/LSP4Errors.sol +4 -4
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +148 -189
- package/contracts/LSP6KeyManager/ILSP6KeyManager.sol +26 -54
- package/contracts/LSP6KeyManager/LSP6Constants.sol +1 -3
- package/contracts/LSP6KeyManager/LSP6Errors.sol +142 -63
- package/contracts/LSP6KeyManager/LSP6KeyManager.sol +7 -4
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +125 -80
- package/contracts/LSP6KeyManager/LSP6KeyManagerInit.sol +8 -4
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +1 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +52 -84
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +59 -10
- package/contracts/LSP6KeyManager/LSP6Utils.sol +67 -46
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +116 -78
- package/contracts/LSP7DigitalAsset/LSP7Constants.sol +4 -1
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +128 -6
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +212 -80
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +126 -3
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +7 -5
- package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +27 -14
- package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +2 -4
- package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +2 -4
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol +29 -11
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +30 -9
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +46 -14
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +43 -12
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +14 -0
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +9 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +7 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +8 -8
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +7 -6
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +10 -2
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +120 -92
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +4 -1
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +135 -6
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +128 -38
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +134 -5
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +83 -41
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +13 -5
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +24 -0
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +30 -12
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +31 -10
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +96 -31
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +98 -23
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +21 -4
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +12 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +21 -0
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +9 -4
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +13 -0
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +15 -6
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +7 -5
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +17 -2
- package/contracts/LSP9Vault/ILSP9Vault.sol +10 -5
- package/contracts/LSP9Vault/LSP9Errors.sol +3 -2
- package/contracts/LSP9Vault/LSP9Vault.sol +12 -4
- package/contracts/LSP9Vault/LSP9VaultCore.sol +245 -182
- package/contracts/LSP9Vault/LSP9VaultInit.sol +10 -3
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +11 -6
- package/contracts/UniversalProfile.sol +8 -6
- package/contracts/UniversalProfileInit.sol +6 -6
- package/contracts/UniversalProfileInitAbstract.sol +10 -3
- package/devdocs/LSP0ERC725Account.json +54 -37
- package/devdocs/LSP0ERC725AccountInit.json +56 -38
- package/devdocs/LSP1UniversalReceiverDelegateUP.json +14 -55
- package/devdocs/LSP1UniversalReceiverDelegateVault.json +9 -33
- package/devdocs/LSP23LinkedContractsFactory.json +81 -0
- package/devdocs/LSP4DigitalAssetMetadata.json +5 -5
- package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +4 -4
- package/devdocs/LSP6KeyManager.json +109 -70
- package/devdocs/LSP6KeyManagerInit.json +109 -70
- package/devdocs/LSP7CappedSupply.json +90 -42
- package/devdocs/LSP7CappedSupplyInitAbstract.json +86 -40
- package/devdocs/LSP7CompatibleERC20.json +79 -43
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +75 -39
- package/devdocs/LSP7CompatibleERC20Mintable.json +87 -40
- package/devdocs/LSP7CompatibleERC20MintableInit.json +82 -42
- package/devdocs/LSP7DigitalAsset.json +76 -40
- package/devdocs/LSP7DigitalAssetInitAbstract.json +73 -37
- package/devdocs/LSP7Mintable.json +79 -51
- package/devdocs/LSP7MintableInit.json +78 -49
- package/devdocs/LSP8CappedSupply.json +72 -43
- package/devdocs/LSP8CappedSupplyInitAbstract.json +68 -41
- package/devdocs/LSP8CompatibleERC721.json +85 -64
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +81 -60
- package/devdocs/LSP8CompatibleERC721Mintable.json +98 -60
- package/devdocs/LSP8CompatibleERC721MintableInit.json +93 -62
- package/devdocs/LSP8IdentifiableDigitalAsset.json +58 -41
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +57 -40
- package/devdocs/LSP8Mintable.json +65 -48
- package/devdocs/LSP8MintableInit.json +64 -47
- package/devdocs/LSP9Vault.json +61 -18
- package/devdocs/LSP9VaultInit.json +59 -17
- package/devdocs/UniversalProfile.json +53 -35
- package/devdocs/UniversalProfileInit.json +53 -35
- package/dist/constants.cjs.js +6236 -2587
- package/dist/constants.d.ts +3851 -1129
- package/dist/constants.es.js +6236 -2587
- package/package.json +6 -4
- package/userdocs/LSP0ERC725Account.json +40 -8
- package/userdocs/LSP0ERC725AccountInit.json +40 -8
- package/userdocs/LSP1UniversalReceiverDelegateUP.json +18 -2
- package/userdocs/LSP1UniversalReceiverDelegateVault.json +18 -2
- package/userdocs/LSP23LinkedContractsFactory.json +29 -0
- package/userdocs/LSP4DigitalAssetMetadata.json +1 -1
- package/userdocs/LSP6KeyManager.json +144 -6
- package/userdocs/LSP6KeyManagerInit.json +147 -6
- package/userdocs/LSP7CappedSupply.json +18 -3
- package/userdocs/LSP7CappedSupplyInitAbstract.json +17 -2
- package/userdocs/LSP7CompatibleERC20.json +3 -9
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +2 -8
- package/userdocs/LSP7CompatibleERC20Mintable.json +5 -8
- package/userdocs/LSP7CompatibleERC20MintableInit.json +3 -9
- package/userdocs/LSP7DigitalAsset.json +2 -2
- package/userdocs/LSP7DigitalAssetInitAbstract.json +2 -2
- package/userdocs/LSP7Mintable.json +3 -3
- package/userdocs/LSP7MintableInit.json +3 -3
- package/userdocs/LSP8CappedSupply.json +16 -1
- package/userdocs/LSP8CappedSupplyInitAbstract.json +15 -0
- package/userdocs/LSP8CompatibleERC721.json +24 -3
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +23 -2
- package/userdocs/LSP8CompatibleERC721Mintable.json +29 -2
- package/userdocs/LSP8CompatibleERC721MintableInit.json +27 -3
- package/userdocs/LSP8Mintable.json +4 -1
- package/userdocs/LSP8MintableInit.json +4 -1
- package/userdocs/LSP9Vault.json +50 -4
- package/userdocs/LSP9VaultInit.json +50 -4
- package/userdocs/UniversalProfile.json +40 -8
- package/userdocs/UniversalProfileInit.json +40 -8
- package/contracts/LSP0ERC725Account/LSP0Utils.sol +0 -47
- package/contracts/LSP23MultiChainDeployment/IOwnerControlledContractDeployer.sol +0 -174
- package/contracts/LSP23MultiChainDeployment/IPostDeploymentModule.sol +0 -10
- package/contracts/LSP23MultiChainDeployment/LSP23Errors.sol +0 -24
- package/contracts/LSP23MultiChainDeployment/OwnerControlledContractDeployer.sol +0 -388
|
@@ -16,14 +16,24 @@
|
|
|
16
16
|
"details": "reverts when sending value to the `setData(..)` functions"
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
|
+
"InvalidExtensionAddress(bytes)": [
|
|
20
|
+
{
|
|
21
|
+
"details": "reverts when the bytes retrieved from the LSP17 data key is not a valid address (not 20 bytes)"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"InvalidFunctionSelector(bytes)": [
|
|
25
|
+
{
|
|
26
|
+
"details": "reverts when the contract is called with a function selector not valid (less than 4 bytes of data)"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
19
29
|
"LSP4TokenNameNotEditable()": [
|
|
20
30
|
{
|
|
21
|
-
"details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed.
|
|
31
|
+
"details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
|
|
22
32
|
}
|
|
23
33
|
],
|
|
24
34
|
"LSP4TokenSymbolNotEditable()": [
|
|
25
35
|
{
|
|
26
|
-
"details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed.
|
|
36
|
+
"details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
|
|
27
37
|
}
|
|
28
38
|
],
|
|
29
39
|
"LSP8CannotSendToAddressZero()": [
|
|
@@ -85,40 +95,47 @@
|
|
|
85
95
|
{
|
|
86
96
|
"details": "reverts when trying to authorize or revoke the token's owner as an operator."
|
|
87
97
|
}
|
|
98
|
+
],
|
|
99
|
+
"NoExtensionFoundForFunctionSelector(bytes4)": [
|
|
100
|
+
{
|
|
101
|
+
"details": "reverts when there is no extension for the function selector being called with"
|
|
102
|
+
}
|
|
88
103
|
]
|
|
89
104
|
},
|
|
90
105
|
"kind": "dev",
|
|
91
106
|
"methods": {
|
|
92
107
|
"approve(address,uint256)": {
|
|
93
|
-
"details": "
|
|
108
|
+
"details": "Approval function compatible with ERC721 `approve(address,uint256)`.",
|
|
94
109
|
"params": {
|
|
95
|
-
"operator": "The address to approve for `tokenId
|
|
96
|
-
"tokenId": "The tokenId to approve"
|
|
110
|
+
"operator": "The address to approve for `tokenId`.",
|
|
111
|
+
"tokenId": "The tokenId to approve."
|
|
97
112
|
}
|
|
98
113
|
},
|
|
99
|
-
"authorizeOperator(address,bytes32)": {
|
|
100
|
-
"
|
|
114
|
+
"authorizeOperator(address,bytes32,bytes)": {
|
|
115
|
+
"custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
|
|
116
|
+
"details": "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
|
|
101
117
|
"params": {
|
|
102
118
|
"operator": "The address to authorize as an operator.",
|
|
103
|
-
"
|
|
119
|
+
"operatorNotificationData": "The data to notify the operator about via LSP1.",
|
|
120
|
+
"tokenId": "The token ID operator has access to."
|
|
104
121
|
}
|
|
105
122
|
},
|
|
106
123
|
"balanceOf(address)": {
|
|
107
|
-
"details": "
|
|
124
|
+
"details": "Get the number of token IDs owned by `tokenOwner`.",
|
|
108
125
|
"params": {
|
|
109
|
-
"tokenOwner": "The address to query"
|
|
126
|
+
"tokenOwner": "The address to query *"
|
|
110
127
|
},
|
|
111
128
|
"returns": {
|
|
112
|
-
"_0": "The number of
|
|
129
|
+
"_0": "The total number of token IDs that `tokenOwner` owns."
|
|
113
130
|
}
|
|
114
131
|
},
|
|
115
132
|
"getApproved(uint256)": {
|
|
116
133
|
"details": "Compatible with ERC721 getApproved.",
|
|
117
134
|
"params": {
|
|
118
|
-
"tokenId": "The tokenId to query"
|
|
135
|
+
"tokenId": "The tokenId to query."
|
|
119
136
|
},
|
|
120
137
|
"returns": {
|
|
121
|
-
"_0": "The address of the operator for `tokenId
|
|
138
|
+
"_0": "The address of the operator for `tokenId`."
|
|
122
139
|
}
|
|
123
140
|
},
|
|
124
141
|
"getData(bytes32)": {
|
|
@@ -138,22 +155,22 @@
|
|
|
138
155
|
}
|
|
139
156
|
},
|
|
140
157
|
"getOperatorsOf(bytes32)": {
|
|
141
|
-
"details": "Returns all `operator` addresses
|
|
158
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
142
159
|
"params": {
|
|
143
|
-
"tokenId": "The
|
|
160
|
+
"tokenId": "The token ID to get the operators for."
|
|
144
161
|
},
|
|
145
162
|
"returns": {
|
|
146
|
-
"_0": "
|
|
163
|
+
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
147
164
|
}
|
|
148
165
|
},
|
|
149
166
|
"isOperatorFor(address,bytes32)": {
|
|
150
|
-
"details": "Returns whether `operator` address is an operator
|
|
167
|
+
"details": "Returns whether `operator` address is an operator for a given `tokenId`.",
|
|
151
168
|
"params": {
|
|
152
|
-
"operator": "The address to query",
|
|
153
|
-
"tokenId": "The
|
|
169
|
+
"operator": "The address to query operator status for.",
|
|
170
|
+
"tokenId": "The token ID to check if `operator` is allowed to operate on."
|
|
154
171
|
},
|
|
155
172
|
"returns": {
|
|
156
|
-
"_0": "
|
|
173
|
+
"_0": "`true` if `operator` is an operator for `tokenId`, `false` otherwise."
|
|
157
174
|
}
|
|
158
175
|
},
|
|
159
176
|
"name()": {
|
|
@@ -168,41 +185,44 @@
|
|
|
168
185
|
"ownerOf(uint256)": {
|
|
169
186
|
"details": "Compatible with ERC721 ownerOf.",
|
|
170
187
|
"params": {
|
|
171
|
-
"tokenId": "The tokenId to query"
|
|
188
|
+
"tokenId": "The tokenId to query."
|
|
172
189
|
},
|
|
173
190
|
"returns": {
|
|
174
|
-
"_0": "The owner of the tokenId"
|
|
191
|
+
"_0": "The owner of the tokenId."
|
|
175
192
|
}
|
|
176
193
|
},
|
|
177
194
|
"renounceOwnership()": {
|
|
178
195
|
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
|
|
179
196
|
},
|
|
180
|
-
"revokeOperator(address,bytes32)": {
|
|
181
|
-
"details": "
|
|
197
|
+
"revokeOperator(address,bytes32,bytes)": {
|
|
198
|
+
"details": "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
|
|
182
199
|
"params": {
|
|
183
200
|
"operator": "The address to revoke as an operator.",
|
|
184
|
-
"
|
|
201
|
+
"operatorNotificationData": "The data to notify the operator about via LSP1.",
|
|
202
|
+
"tokenId": "The tokenId `operator` is revoked from operating on."
|
|
185
203
|
}
|
|
186
204
|
},
|
|
187
205
|
"safeTransferFrom(address,address,uint256)": {
|
|
188
|
-
"
|
|
206
|
+
"custom:info": "This function sets the `allowNonLSP1Recipient` parameter to `true` so that EOAs and any contract can receive the `tokenId`.",
|
|
207
|
+
"details": "Safe Transfer function without optional data from the ERC721 standard interface.",
|
|
189
208
|
"params": {
|
|
190
|
-
"from": "The sending address",
|
|
191
|
-
"to": "The receiving address",
|
|
192
|
-
"tokenId": "The tokenId to transfer"
|
|
209
|
+
"from": "The sending address.",
|
|
210
|
+
"to": "The receiving address.",
|
|
211
|
+
"tokenId": "The tokenId to transfer."
|
|
193
212
|
}
|
|
194
213
|
},
|
|
195
214
|
"safeTransferFrom(address,address,uint256,bytes)": {
|
|
196
|
-
"
|
|
215
|
+
"custom:info": "This function sets the `allowNonLSP1Recipient` parameter to `true` so that EOAs and any contract can receive the `tokenId`.",
|
|
216
|
+
"details": "Safe Transfer function with optional data from the ERC721 standard interface.",
|
|
197
217
|
"params": {
|
|
198
|
-
"data": "The data to be sent with the transfer",
|
|
199
|
-
"from": "The sending address",
|
|
200
|
-
"to": "The receiving address",
|
|
201
|
-
"tokenId": "The tokenId to transfer"
|
|
218
|
+
"data": "The data to be sent with the transfer.",
|
|
219
|
+
"from": "The sending address.",
|
|
220
|
+
"to": "The receiving address.",
|
|
221
|
+
"tokenId": "The tokenId to transfer."
|
|
202
222
|
}
|
|
203
223
|
},
|
|
204
224
|
"setApprovalForAll(address,bool)": {
|
|
205
|
-
"details": "See _setApprovalForAll"
|
|
225
|
+
"details": "See {_setApprovalForAll}"
|
|
206
226
|
},
|
|
207
227
|
"setData(bytes32,bytes)": {
|
|
208
228
|
"params": {
|
|
@@ -227,55 +247,56 @@
|
|
|
227
247
|
}
|
|
228
248
|
},
|
|
229
249
|
"tokenIdsOf(address)": {
|
|
230
|
-
"details": "Returns the list of
|
|
250
|
+
"details": "Returns the list of token IDs that the `tokenOwner` address owns.",
|
|
231
251
|
"params": {
|
|
232
|
-
"tokenOwner": "The address to
|
|
252
|
+
"tokenOwner": "The address that we want to get the list of token IDs for."
|
|
233
253
|
},
|
|
234
254
|
"returns": {
|
|
235
|
-
"_0": "
|
|
255
|
+
"_0": "An array of `bytes32[] tokenIds` owned by `tokenOwner`."
|
|
236
256
|
}
|
|
237
257
|
},
|
|
238
258
|
"tokenOwnerOf(bytes32)": {
|
|
239
|
-
"details": "Returns the
|
|
259
|
+
"details": "Returns the list of `tokenIds` for the `tokenOwner` address.",
|
|
240
260
|
"params": {
|
|
241
|
-
"tokenId": "The
|
|
261
|
+
"tokenId": "tokenOwner The address to query owned tokens"
|
|
242
262
|
},
|
|
243
263
|
"returns": {
|
|
244
|
-
"_0": "The address
|
|
264
|
+
"_0": "The owner address of the given `tokenId`."
|
|
245
265
|
}
|
|
246
266
|
},
|
|
247
267
|
"totalSupply()": {
|
|
248
|
-
"details": "Returns the number of existing tokens.",
|
|
268
|
+
"details": "Returns the number of existing tokens that have been minted in this contract.",
|
|
249
269
|
"returns": {
|
|
250
|
-
"_0": "The number of existing tokens"
|
|
270
|
+
"_0": "The number of existing tokens."
|
|
251
271
|
}
|
|
252
272
|
},
|
|
253
273
|
"transfer(address,address,bytes32,bool,bytes)": {
|
|
254
|
-
"details": "
|
|
274
|
+
"details": "Transfer a given `tokenId` token from the `from` address to the `to` address. If operators are set for a specific `tokenId`, all the operators are revoked after the tokenId have been transferred. The `allowNonLSP1Recipient` parameter MUST be set to `true` when transferring tokens to Externally Owned Accounts (EOAs) or contracts that do not implement the LSP1 standard.",
|
|
255
275
|
"params": {
|
|
256
|
-
"allowNonLSP1Recipient": "When set to
|
|
257
|
-
"data": "
|
|
258
|
-
"from": "The
|
|
259
|
-
"to": "The
|
|
260
|
-
"tokenId": "The
|
|
276
|
+
"allowNonLSP1Recipient": "When set to `true`, the `to` address CAN be any addres. When set to `false`, the `to` address MUST be a contract that supports the LSP1 UniversalReceiver standard.",
|
|
277
|
+
"data": "Any additional data the caller wants included in the emitted event, and sent in the hooks of the `from` and `to` addresses.",
|
|
278
|
+
"from": "The address that owns the given `tokenId`.",
|
|
279
|
+
"to": "The address that will receive the `tokenId`.",
|
|
280
|
+
"tokenId": "The token ID to transfer."
|
|
261
281
|
}
|
|
262
282
|
},
|
|
263
283
|
"transferBatch(address[],address[],bytes32[],bool[],bytes[])": {
|
|
264
|
-
"details": "Transfers
|
|
284
|
+
"details": "Transfers multiple tokens at once based on the arrays of `from`, `to` and `tokenId`. If any transfer fails, the whole call will revert.",
|
|
265
285
|
"params": {
|
|
266
|
-
"allowNonLSP1Recipient": "When set to
|
|
267
|
-
"data": "
|
|
268
|
-
"from": "
|
|
269
|
-
"to": "
|
|
270
|
-
"tokenId": "
|
|
286
|
+
"allowNonLSP1Recipient": "When set to `true`, `to` may be any address. When set to `false`, `to` must be a contract that supports the LSP1 standard and not revert.",
|
|
287
|
+
"data": "Any additional data the caller wants included in the emitted event, and sent in the hooks to the `from` and `to` addresses.",
|
|
288
|
+
"from": "An array of sending addresses.",
|
|
289
|
+
"to": "An array of recipient addresses.",
|
|
290
|
+
"tokenId": "An array of token IDs to transfer."
|
|
271
291
|
}
|
|
272
292
|
},
|
|
273
293
|
"transferFrom(address,address,uint256)": {
|
|
274
|
-
"
|
|
294
|
+
"custom:info": "This function sets the `allowNonLSP1Recipient` parameter to `true` so that EOAs and any contract can receive the `tokenId`.",
|
|
295
|
+
"details": "Transfer functions from the ERC721 standard interface.",
|
|
275
296
|
"params": {
|
|
276
|
-
"from": "The sending address",
|
|
277
|
-
"to": "The receiving address",
|
|
278
|
-
"tokenId": "The tokenId to transfer"
|
|
297
|
+
"from": "The sending address.",
|
|
298
|
+
"to": "The receiving address.",
|
|
299
|
+
"tokenId": "The tokenId to transfer."
|
|
279
300
|
}
|
|
280
301
|
},
|
|
281
302
|
"transferOwnership(address)": {
|
|
@@ -284,7 +305,7 @@
|
|
|
284
305
|
},
|
|
285
306
|
"stateVariables": {
|
|
286
307
|
"_operatorApprovals": {
|
|
287
|
-
"details": "for backward compatibility with ERC721"
|
|
308
|
+
"details": "Mapping from owner to operator approvals for backward compatibility with ERC721"
|
|
288
309
|
}
|
|
289
310
|
},
|
|
290
311
|
"version": 1
|
|
@@ -15,14 +15,24 @@
|
|
|
15
15
|
"details": "reverts when sending value to the `setData(..)` functions"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
+
"InvalidExtensionAddress(bytes)": [
|
|
19
|
+
{
|
|
20
|
+
"details": "reverts when the bytes retrieved from the LSP17 data key is not a valid address (not 20 bytes)"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"InvalidFunctionSelector(bytes)": [
|
|
24
|
+
{
|
|
25
|
+
"details": "reverts when the contract is called with a function selector not valid (less than 4 bytes of data)"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
18
28
|
"LSP4TokenNameNotEditable()": [
|
|
19
29
|
{
|
|
20
|
-
"details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed.
|
|
30
|
+
"details": "Reverts when trying to edit the data key `LSP4TokenName` after the digital asset contract has been deployed. The `LSP4TokenName` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
|
|
21
31
|
}
|
|
22
32
|
],
|
|
23
33
|
"LSP4TokenSymbolNotEditable()": [
|
|
24
34
|
{
|
|
25
|
-
"details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed.
|
|
35
|
+
"details": "Reverts when trying to edit the data key `LSP4TokenSymbol` after the digital asset contract has been deployed. The `LSP4TokenSymbol` data key is located inside the ERC725Y Data key-value store of the digital asset contract. It can be set only once inside the constructor/initializer when the digital asset contract is being deployed."
|
|
26
36
|
}
|
|
27
37
|
],
|
|
28
38
|
"LSP8CannotSendToAddressZero()": [
|
|
@@ -89,40 +99,54 @@
|
|
|
89
99
|
{
|
|
90
100
|
"details": "reverts when trying to authorize or revoke the token's owner as an operator."
|
|
91
101
|
}
|
|
102
|
+
],
|
|
103
|
+
"NoExtensionFoundForFunctionSelector(bytes4)": [
|
|
104
|
+
{
|
|
105
|
+
"details": "reverts when there is no extension for the function selector being called with"
|
|
106
|
+
}
|
|
92
107
|
]
|
|
93
108
|
},
|
|
94
109
|
"kind": "dev",
|
|
95
110
|
"methods": {
|
|
96
111
|
"approve(address,uint256)": {
|
|
97
|
-
"details": "
|
|
112
|
+
"details": "Approval function compatible with ERC721 `approve(address,uint256)`.",
|
|
98
113
|
"params": {
|
|
99
|
-
"operator": "The address to approve for `tokenId
|
|
100
|
-
"tokenId": "The tokenId to approve"
|
|
114
|
+
"operator": "The address to approve for `tokenId`.",
|
|
115
|
+
"tokenId": "The tokenId to approve."
|
|
101
116
|
}
|
|
102
117
|
},
|
|
103
|
-
"authorizeOperator(address,bytes32)": {
|
|
104
|
-
"
|
|
118
|
+
"authorizeOperator(address,bytes32,bytes)": {
|
|
119
|
+
"custom:events": "- LSP7 {AuthorizedOperator} event. - ERC721 {Approval} event.",
|
|
120
|
+
"details": "Allow an `operator` address to transfer or burn a specific `tokenId` on behalf of its token owner. See {isOperatorFor}.",
|
|
105
121
|
"params": {
|
|
106
122
|
"operator": "The address to authorize as an operator.",
|
|
107
|
-
"
|
|
123
|
+
"operatorNotificationData": "The data to notify the operator about via LSP1.",
|
|
124
|
+
"tokenId": "The token ID operator has access to."
|
|
108
125
|
}
|
|
109
126
|
},
|
|
110
127
|
"balanceOf(address)": {
|
|
111
|
-
"details": "
|
|
128
|
+
"details": "Get the number of token IDs owned by `tokenOwner`.",
|
|
112
129
|
"params": {
|
|
113
|
-
"tokenOwner": "The address to query"
|
|
130
|
+
"tokenOwner": "The address to query *"
|
|
114
131
|
},
|
|
115
132
|
"returns": {
|
|
116
|
-
"_0": "The number of
|
|
133
|
+
"_0": "The total number of token IDs that `tokenOwner` owns."
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"constructor": {
|
|
137
|
+
"params": {
|
|
138
|
+
"name_": "The name of the token.",
|
|
139
|
+
"newOwner_": "The owner of the token contract.",
|
|
140
|
+
"symbol_": "The symbol of the token."
|
|
117
141
|
}
|
|
118
142
|
},
|
|
119
143
|
"getApproved(uint256)": {
|
|
120
144
|
"details": "Compatible with ERC721 getApproved.",
|
|
121
145
|
"params": {
|
|
122
|
-
"tokenId": "The tokenId to query"
|
|
146
|
+
"tokenId": "The tokenId to query."
|
|
123
147
|
},
|
|
124
148
|
"returns": {
|
|
125
|
-
"_0": "The address of the operator for `tokenId
|
|
149
|
+
"_0": "The address of the operator for `tokenId`."
|
|
126
150
|
}
|
|
127
151
|
},
|
|
128
152
|
"getData(bytes32)": {
|
|
@@ -142,22 +166,31 @@
|
|
|
142
166
|
}
|
|
143
167
|
},
|
|
144
168
|
"getOperatorsOf(bytes32)": {
|
|
145
|
-
"details": "Returns all `operator` addresses
|
|
169
|
+
"details": "Returns all `operator` addresses that are allowed to transfer or burn a specific `tokenId` on behalf of its owner.",
|
|
146
170
|
"params": {
|
|
147
|
-
"tokenId": "The
|
|
171
|
+
"tokenId": "The token ID to get the operators for."
|
|
148
172
|
},
|
|
149
173
|
"returns": {
|
|
150
|
-
"_0": "
|
|
174
|
+
"_0": "An array of operators allowed to transfer or burn a specific `tokenId`. Requirements - `tokenId` must exist."
|
|
151
175
|
}
|
|
152
176
|
},
|
|
153
177
|
"isOperatorFor(address,bytes32)": {
|
|
154
|
-
"details": "Returns whether `operator` address is an operator
|
|
178
|
+
"details": "Returns whether `operator` address is an operator for a given `tokenId`.",
|
|
155
179
|
"params": {
|
|
156
|
-
"operator": "The address to query",
|
|
157
|
-
"tokenId": "The
|
|
180
|
+
"operator": "The address to query operator status for.",
|
|
181
|
+
"tokenId": "The token ID to check if `operator` is allowed to operate on."
|
|
158
182
|
},
|
|
159
183
|
"returns": {
|
|
160
|
-
"_0": "
|
|
184
|
+
"_0": "`true` if `operator` is an operator for `tokenId`, `false` otherwise."
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"mint(address,bytes32,bool,bytes)": {
|
|
188
|
+
"details": "Public {_mint} function only callable by the {owner}.",
|
|
189
|
+
"params": {
|
|
190
|
+
"allowNonLSP1Recipient": "Set to `false` to ensure that you are minting for a recipient that implements LSP1, `false` otherwise for forcing the minting.",
|
|
191
|
+
"data": "Any addition data to be sent alongside the minting.",
|
|
192
|
+
"to": "The address that will receive the minted `tokenId`.",
|
|
193
|
+
"tokenId": "The tokenId to mint."
|
|
161
194
|
}
|
|
162
195
|
},
|
|
163
196
|
"name()": {
|
|
@@ -172,41 +205,44 @@
|
|
|
172
205
|
"ownerOf(uint256)": {
|
|
173
206
|
"details": "Compatible with ERC721 ownerOf.",
|
|
174
207
|
"params": {
|
|
175
|
-
"tokenId": "The tokenId to query"
|
|
208
|
+
"tokenId": "The tokenId to query."
|
|
176
209
|
},
|
|
177
210
|
"returns": {
|
|
178
|
-
"_0": "The owner of the tokenId"
|
|
211
|
+
"_0": "The owner of the tokenId."
|
|
179
212
|
}
|
|
180
213
|
},
|
|
181
214
|
"renounceOwnership()": {
|
|
182
215
|
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."
|
|
183
216
|
},
|
|
184
|
-
"revokeOperator(address,bytes32)": {
|
|
185
|
-
"details": "
|
|
217
|
+
"revokeOperator(address,bytes32,bytes)": {
|
|
218
|
+
"details": "Remove access of `operator` for a given `tokenId`, disallowing it to transfer `tokenId` on behalf of its owner. See also {isOperatorFor}.",
|
|
186
219
|
"params": {
|
|
187
220
|
"operator": "The address to revoke as an operator.",
|
|
188
|
-
"
|
|
221
|
+
"operatorNotificationData": "The data to notify the operator about via LSP1.",
|
|
222
|
+
"tokenId": "The tokenId `operator` is revoked from operating on."
|
|
189
223
|
}
|
|
190
224
|
},
|
|
191
225
|
"safeTransferFrom(address,address,uint256)": {
|
|
192
|
-
"
|
|
226
|
+
"custom:info": "This function sets the `allowNonLSP1Recipient` parameter to `true` so that EOAs and any contract can receive the `tokenId`.",
|
|
227
|
+
"details": "Safe Transfer function without optional data from the ERC721 standard interface.",
|
|
193
228
|
"params": {
|
|
194
|
-
"from": "The sending address",
|
|
195
|
-
"to": "The receiving address",
|
|
196
|
-
"tokenId": "The tokenId to transfer"
|
|
229
|
+
"from": "The sending address.",
|
|
230
|
+
"to": "The receiving address.",
|
|
231
|
+
"tokenId": "The tokenId to transfer."
|
|
197
232
|
}
|
|
198
233
|
},
|
|
199
234
|
"safeTransferFrom(address,address,uint256,bytes)": {
|
|
200
|
-
"
|
|
235
|
+
"custom:info": "This function sets the `allowNonLSP1Recipient` parameter to `true` so that EOAs and any contract can receive the `tokenId`.",
|
|
236
|
+
"details": "Safe Transfer function with optional data from the ERC721 standard interface.",
|
|
201
237
|
"params": {
|
|
202
|
-
"data": "The data to be sent with the transfer",
|
|
203
|
-
"from": "The sending address",
|
|
204
|
-
"to": "The receiving address",
|
|
205
|
-
"tokenId": "The tokenId to transfer"
|
|
238
|
+
"data": "The data to be sent with the transfer.",
|
|
239
|
+
"from": "The sending address.",
|
|
240
|
+
"to": "The receiving address.",
|
|
241
|
+
"tokenId": "The tokenId to transfer."
|
|
206
242
|
}
|
|
207
243
|
},
|
|
208
244
|
"setApprovalForAll(address,bool)": {
|
|
209
|
-
"details": "See _setApprovalForAll"
|
|
245
|
+
"details": "See {_setApprovalForAll}"
|
|
210
246
|
},
|
|
211
247
|
"setData(bytes32,bytes)": {
|
|
212
248
|
"params": {
|
|
@@ -222,7 +258,7 @@
|
|
|
222
258
|
}
|
|
223
259
|
},
|
|
224
260
|
"supportsInterface(bytes4)": {
|
|
225
|
-
"details": "See
|
|
261
|
+
"details": "Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas."
|
|
226
262
|
},
|
|
227
263
|
"symbol()": {
|
|
228
264
|
"details": "Returns the symbol of the token, usually a shorter version of the name.",
|
|
@@ -231,60 +267,62 @@
|
|
|
231
267
|
}
|
|
232
268
|
},
|
|
233
269
|
"tokenIdsOf(address)": {
|
|
234
|
-
"details": "Returns the list of
|
|
270
|
+
"details": "Returns the list of token IDs that the `tokenOwner` address owns.",
|
|
235
271
|
"params": {
|
|
236
|
-
"tokenOwner": "The address to
|
|
272
|
+
"tokenOwner": "The address that we want to get the list of token IDs for."
|
|
237
273
|
},
|
|
238
274
|
"returns": {
|
|
239
|
-
"_0": "
|
|
275
|
+
"_0": "An array of `bytes32[] tokenIds` owned by `tokenOwner`."
|
|
240
276
|
}
|
|
241
277
|
},
|
|
242
278
|
"tokenOwnerOf(bytes32)": {
|
|
243
|
-
"details": "Returns the
|
|
279
|
+
"details": "Returns the list of `tokenIds` for the `tokenOwner` address.",
|
|
244
280
|
"params": {
|
|
245
|
-
"tokenId": "The
|
|
281
|
+
"tokenId": "tokenOwner The address to query owned tokens"
|
|
246
282
|
},
|
|
247
283
|
"returns": {
|
|
248
|
-
"_0": "The address
|
|
284
|
+
"_0": "The owner address of the given `tokenId`."
|
|
249
285
|
}
|
|
250
286
|
},
|
|
251
287
|
"totalSupply()": {
|
|
252
|
-
"details": "Returns the number of existing tokens.",
|
|
288
|
+
"details": "Returns the number of existing tokens that have been minted in this contract.",
|
|
253
289
|
"returns": {
|
|
254
|
-
"_0": "The number of existing tokens"
|
|
290
|
+
"_0": "The number of existing tokens."
|
|
255
291
|
}
|
|
256
292
|
},
|
|
257
293
|
"transfer(address,address,bytes32,bool,bytes)": {
|
|
258
|
-
"details": "
|
|
294
|
+
"details": "Transfer a given `tokenId` token from the `from` address to the `to` address. If operators are set for a specific `tokenId`, all the operators are revoked after the tokenId have been transferred. The `allowNonLSP1Recipient` parameter MUST be set to `true` when transferring tokens to Externally Owned Accounts (EOAs) or contracts that do not implement the LSP1 standard.",
|
|
259
295
|
"params": {
|
|
260
|
-
"allowNonLSP1Recipient": "When set to
|
|
261
|
-
"data": "
|
|
262
|
-
"from": "The
|
|
263
|
-
"to": "The
|
|
264
|
-
"tokenId": "The
|
|
296
|
+
"allowNonLSP1Recipient": "When set to `true`, the `to` address CAN be any addres. When set to `false`, the `to` address MUST be a contract that supports the LSP1 UniversalReceiver standard.",
|
|
297
|
+
"data": "Any additional data the caller wants included in the emitted event, and sent in the hooks of the `from` and `to` addresses.",
|
|
298
|
+
"from": "The address that owns the given `tokenId`.",
|
|
299
|
+
"to": "The address that will receive the `tokenId`.",
|
|
300
|
+
"tokenId": "The token ID to transfer."
|
|
265
301
|
}
|
|
266
302
|
},
|
|
267
303
|
"transferBatch(address[],address[],bytes32[],bool[],bytes[])": {
|
|
268
|
-
"details": "Transfers
|
|
304
|
+
"details": "Transfers multiple tokens at once based on the arrays of `from`, `to` and `tokenId`. If any transfer fails, the whole call will revert.",
|
|
269
305
|
"params": {
|
|
270
|
-
"allowNonLSP1Recipient": "When set to
|
|
271
|
-
"data": "
|
|
272
|
-
"from": "
|
|
273
|
-
"to": "
|
|
274
|
-
"tokenId": "
|
|
306
|
+
"allowNonLSP1Recipient": "When set to `true`, `to` may be any address. When set to `false`, `to` must be a contract that supports the LSP1 standard and not revert.",
|
|
307
|
+
"data": "Any additional data the caller wants included in the emitted event, and sent in the hooks to the `from` and `to` addresses.",
|
|
308
|
+
"from": "An array of sending addresses.",
|
|
309
|
+
"to": "An array of recipient addresses.",
|
|
310
|
+
"tokenId": "An array of token IDs to transfer."
|
|
275
311
|
}
|
|
276
312
|
},
|
|
277
313
|
"transferFrom(address,address,uint256)": {
|
|
278
|
-
"
|
|
314
|
+
"custom:info": "This function sets the `allowNonLSP1Recipient` parameter to `true` so that EOAs and any contract can receive the `tokenId`.",
|
|
315
|
+
"details": "Transfer functions from the ERC721 standard interface.",
|
|
279
316
|
"params": {
|
|
280
|
-
"from": "The sending address",
|
|
281
|
-
"to": "The receiving address",
|
|
282
|
-
"tokenId": "The tokenId to transfer"
|
|
317
|
+
"from": "The sending address.",
|
|
318
|
+
"to": "The receiving address.",
|
|
319
|
+
"tokenId": "The tokenId to transfer."
|
|
283
320
|
}
|
|
284
321
|
},
|
|
285
322
|
"transferOwnership(address)": {
|
|
286
323
|
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
287
324
|
}
|
|
288
325
|
},
|
|
326
|
+
"title": "LSP8CompatibleERC721Mintable deployable preset contract with a public {mint} function callable only by the contract {owner}.",
|
|
289
327
|
"version": 1
|
|
290
328
|
}
|