@lukso/lsp-smart-contracts 0.11.1 → 0.12.0
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 +10 -2
- package/artifacts/Create2Factory.json +2 -2
- package/artifacts/LSP0ERC725Account.json +68 -47
- package/artifacts/LSP0ERC725AccountInit.json +68 -47
- package/artifacts/LSP11BasicSocialRecovery.json +18 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +18 -2
- package/artifacts/LSP16UniversalFactory.json +3 -3
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +27 -46
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +27 -46
- package/artifacts/LSP23LinkedContractsFactory.json +3 -3
- package/artifacts/LSP4DigitalAssetMetadata.json +16 -0
- package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +16 -0
- package/artifacts/LSP6KeyManager.json +34 -6
- package/artifacts/LSP6KeyManagerInit.json +34 -6
- package/artifacts/LSP7CappedSupply.json +64 -4
- package/artifacts/LSP7CappedSupplyInitAbstract.json +64 -4
- package/artifacts/LSP7CompatibleERC20.json +83 -23
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +83 -23
- package/artifacts/LSP7CompatibleERC20Mintable.json +86 -26
- package/artifacts/LSP7CompatibleERC20MintableInit.json +86 -26
- package/artifacts/LSP7DigitalAsset.json +64 -4
- package/artifacts/LSP7DigitalAssetInitAbstract.json +64 -4
- package/artifacts/LSP7Mintable.json +67 -7
- package/artifacts/LSP7MintableInit.json +67 -7
- package/artifacts/LSP8CappedSupply.json +57 -3
- package/artifacts/LSP8CappedSupplyInitAbstract.json +57 -3
- package/artifacts/LSP8CompatibleERC721.json +79 -25
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +79 -25
- package/artifacts/LSP8CompatibleERC721Mintable.json +87 -28
- package/artifacts/LSP8CompatibleERC721MintableInit.json +87 -28
- package/artifacts/LSP8IdentifiableDigitalAsset.json +57 -3
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +57 -3
- package/artifacts/LSP8Mintable.json +65 -6
- package/artifacts/LSP8MintableInit.json +65 -6
- package/artifacts/LSP9Vault.json +51 -35
- package/artifacts/LSP9VaultInit.json +51 -35
- package/artifacts/UniversalProfile.json +68 -47
- package/artifacts/UniversalProfileInit.json +68 -47
- package/contracts/Factories/Create2Factory.sol +1 -1
- package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +0 -22
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +6 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +12 -2
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +196 -123
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +11 -2
- package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +5 -3
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +54 -14
- package/contracts/LSP11BasicSocialRecovery/LSP11Constants.sol +1 -1
- package/contracts/LSP11BasicSocialRecovery/LSP11Errors.sol +1 -1
- package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +2 -2
- package/contracts/LSP14Ownable2Step/LSP14Constants.sol +1 -1
- package/contracts/LSP14Ownable2Step/LSP14Errors.sol +9 -3
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +16 -12
- package/contracts/LSP16UniversalFactory/LSP16UniversalFactory.sol +65 -96
- package/contracts/LSP17ContractExtension/LSP17Errors.sol +1 -1
- package/contracts/LSP17ContractExtension/LSP17Extendable.sol +22 -15
- package/contracts/LSP17ContractExtension/LSP17Extension.sol +6 -5
- package/contracts/LSP17Extensions/Extension4337.sol +101 -0
- package/contracts/LSP17Extensions/OnERC721ReceivedExtension.sol +15 -0
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +1 -2
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiverDelegate.sol +24 -0
- package/contracts/LSP1UniversalReceiver/LSP1Constants.sol +1 -0
- package/contracts/LSP1UniversalReceiver/LSP1Errors.sol +0 -6
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +49 -33
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +33 -27
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +5 -48
- package/contracts/LSP20CallVerification/ILSP20CallVerifier.sol +13 -9
- package/contracts/LSP20CallVerification/LSP20CallVerification.sol +64 -45
- package/contracts/LSP20CallVerification/LSP20Constants.sol +6 -6
- package/contracts/LSP20CallVerification/LSP20Errors.sol +10 -4
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/ILSP23LinkedContractsFactory.sol +1 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/IPostDeploymentModule.sol +1 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/LSP23Errors.sol +1 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/LSP23LinkedContractsFactory.sol +5 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/modules/UniversalProfileInitPostDeploymentModule.sol +1 -1
- package/contracts/{LSP23LinkedContractsDeployment → LSP23LinkedContractsFactory}/modules/UniversalProfilePostDeploymentModule.sol +1 -1
- package/contracts/LSP25ExecuteRelayCall/LSP25Constants.sol +1 -1
- package/contracts/LSP25ExecuteRelayCall/LSP25MultiChannelNonce.sol +8 -3
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +1 -97
- package/contracts/LSP3ProfileMetadata/LSP3Constants.sol +1 -1
- package/contracts/LSP4DigitalAssetMetadata/LSP4Constants.sol +1 -1
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +8 -3
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +8 -3
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +4 -3
- package/contracts/LSP6KeyManager/LSP6Constants.sol +4 -3
- package/contracts/LSP6KeyManager/LSP6Errors.sol +2 -23
- package/contracts/LSP6KeyManager/LSP6KeyManager.sol +0 -1
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +176 -101
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +0 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +1 -2
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteRelayCallModule.sol +27 -0
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +34 -28
- package/contracts/LSP6KeyManager/LSP6Utils.sol +29 -2
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +70 -10
- package/contracts/LSP7DigitalAsset/LSP7Constants.sol +2 -2
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +29 -13
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +273 -265
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +28 -12
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +17 -3
- package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +5 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +4 -1
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol +7 -7
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +3 -3
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +128 -54
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +129 -54
- package/contracts/LSP7DigitalAsset/presets/ILSP7Mintable.sol +3 -3
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20Mintable.sol +4 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +2 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +4 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7Mintable.sol +4 -4
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +1 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +4 -4
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +16 -11
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Constants.sol +20 -6
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +32 -16
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +67 -16
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +143 -137
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +69 -15
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8BurnableInitAbstract.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +7 -7
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +3 -3
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +172 -80
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +178 -91
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +7 -7
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +7 -7
- package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +3 -3
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721Mintable.sol +8 -7
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +5 -3
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +13 -7
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +9 -8
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInit.sol +9 -3
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +10 -8
- package/contracts/LSP9Vault/ILSP9Vault.sol +0 -21
- package/contracts/LSP9Vault/LSP9Constants.sol +6 -1
- package/contracts/LSP9Vault/LSP9Errors.sol +1 -1
- package/contracts/LSP9Vault/LSP9Vault.sol +11 -2
- package/contracts/LSP9Vault/LSP9VaultCore.sol +119 -66
- package/contracts/LSP9Vault/LSP9VaultInit.sol +1 -1
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +11 -2
- package/contracts/UniversalProfile.sol +1 -1
- package/contracts/UniversalProfileInit.sol +1 -1
- package/contracts/UniversalProfileInitAbstract.sol +1 -1
- package/contracts/Version.sol +16 -0
- package/devdocs/LSP0ERC725Account.json +86 -52
- package/devdocs/LSP0ERC725AccountInit.json +86 -52
- package/devdocs/LSP11BasicSocialRecovery.json +13 -0
- package/devdocs/LSP11BasicSocialRecoveryInit.json +13 -0
- package/devdocs/LSP16UniversalFactory.json +9 -9
- package/devdocs/LSP1UniversalReceiverDelegateUP.json +7 -6
- package/devdocs/LSP1UniversalReceiverDelegateVault.json +7 -6
- package/devdocs/LSP4DigitalAssetMetadata.json +32 -10
- package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +32 -10
- package/devdocs/LSP6KeyManager.json +27 -13
- package/devdocs/LSP6KeyManagerInit.json +27 -13
- package/devdocs/LSP7CappedSupply.json +61 -28
- package/devdocs/LSP7CappedSupplyInitAbstract.json +61 -28
- package/devdocs/LSP7CompatibleERC20.json +102 -32
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +102 -32
- package/devdocs/LSP7CompatibleERC20Mintable.json +102 -32
- package/devdocs/LSP7CompatibleERC20MintableInit.json +102 -32
- package/devdocs/LSP7DigitalAsset.json +61 -28
- package/devdocs/LSP7DigitalAssetInitAbstract.json +61 -28
- package/devdocs/LSP7Mintable.json +61 -28
- package/devdocs/LSP7MintableInit.json +61 -28
- package/devdocs/LSP8CappedSupply.json +66 -27
- package/devdocs/LSP8CappedSupplyInitAbstract.json +66 -27
- package/devdocs/LSP8CompatibleERC721.json +93 -33
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +93 -33
- package/devdocs/LSP8CompatibleERC721Mintable.json +95 -35
- package/devdocs/LSP8CompatibleERC721MintableInit.json +96 -36
- package/devdocs/LSP8IdentifiableDigitalAsset.json +70 -28
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +66 -27
- package/devdocs/LSP8Mintable.json +68 -29
- package/devdocs/LSP8MintableInit.json +69 -30
- package/devdocs/LSP9Vault.json +69 -41
- package/devdocs/LSP9VaultInit.json +69 -41
- package/devdocs/UniversalProfile.json +86 -52
- package/devdocs/UniversalProfileInit.json +86 -52
- package/dist/constants.cjs.js +5565 -2846
- package/dist/constants.d.ts +3996 -1182
- package/dist/constants.es.js +5564 -2846
- package/package.json +8 -8
- package/userdocs/LSP0ERC725Account.json +20 -11
- package/userdocs/LSP0ERC725AccountInit.json +20 -11
- package/userdocs/LSP16UniversalFactory.json +26 -1
- package/userdocs/LSP1UniversalReceiverDelegateUP.json +4 -11
- package/userdocs/LSP1UniversalReceiverDelegateVault.json +4 -11
- package/userdocs/LSP4DigitalAssetMetadata.json +7 -4
- package/userdocs/LSP4DigitalAssetMetadataInitAbstract.json +7 -4
- package/userdocs/LSP6KeyManager.json +3 -5
- package/userdocs/LSP6KeyManagerInit.json +3 -5
- package/userdocs/LSP7CappedSupply.json +17 -6
- package/userdocs/LSP7CappedSupplyInitAbstract.json +16 -5
- package/userdocs/LSP7CompatibleERC20.json +18 -5
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +18 -5
- package/userdocs/LSP7CompatibleERC20Mintable.json +18 -5
- package/userdocs/LSP7CompatibleERC20MintableInit.json +18 -5
- package/userdocs/LSP7DigitalAsset.json +18 -5
- package/userdocs/LSP7DigitalAssetInitAbstract.json +18 -5
- package/userdocs/LSP7Mintable.json +18 -5
- package/userdocs/LSP7MintableInit.json +18 -5
- package/userdocs/LSP8CappedSupply.json +16 -5
- package/userdocs/LSP8CappedSupplyInitAbstract.json +15 -4
- package/userdocs/LSP8CompatibleERC721.json +30 -17
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +30 -17
- package/userdocs/LSP8CompatibleERC721Mintable.json +31 -18
- package/userdocs/LSP8CompatibleERC721MintableInit.json +32 -19
- package/userdocs/LSP8IdentifiableDigitalAsset.json +18 -5
- package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +17 -4
- package/userdocs/LSP8Mintable.json +18 -5
- package/userdocs/LSP8MintableInit.json +19 -6
- package/userdocs/LSP9Vault.json +23 -14
- package/userdocs/LSP9VaultInit.json +23 -14
- package/userdocs/UniversalProfile.json +20 -11
- package/userdocs/UniversalProfileInit.json +20 -11
- package/CONTRIBUTING.md +0 -184
- package/artifacts/LSP4Compatibility.json +0 -216
- package/contracts/LSP4DigitalAssetMetadata/ILSP4Compatibility.sol +0 -25
- package/contracts/LSP4DigitalAssetMetadata/LSP4Compatibility.sol +0 -38
- package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +0 -83
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +0 -175
- package/devdocs/LSP4Compatibility.json +0 -79
- package/userdocs/LSP4Compatibility.json +0 -20
|
@@ -144,6 +144,11 @@
|
|
|
144
144
|
"name": "LSP7NotifyTokenReceiverIsEOA",
|
|
145
145
|
"type": "error"
|
|
146
146
|
},
|
|
147
|
+
{
|
|
148
|
+
"inputs": [],
|
|
149
|
+
"name": "LSP7TokenContractCannotHoldValue",
|
|
150
|
+
"type": "error"
|
|
151
|
+
},
|
|
147
152
|
{
|
|
148
153
|
"inputs": [],
|
|
149
154
|
"name": "LSP7TokenOwnerCannotBeOperator",
|
|
@@ -160,6 +165,33 @@
|
|
|
160
165
|
"name": "NoExtensionFoundForFunctionSelector",
|
|
161
166
|
"type": "error"
|
|
162
167
|
},
|
|
168
|
+
{
|
|
169
|
+
"inputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "address",
|
|
172
|
+
"name": "operator",
|
|
173
|
+
"type": "address"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"name": "OperatorAllowanceCannotBeIncreasedFromZero",
|
|
177
|
+
"type": "error"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"inputs": [
|
|
181
|
+
{
|
|
182
|
+
"internalType": "address",
|
|
183
|
+
"name": "callerAddress",
|
|
184
|
+
"type": "address"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"name": "OwnableCallerNotTheOwner",
|
|
188
|
+
"type": "error"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"inputs": [],
|
|
192
|
+
"name": "OwnableCannotSetZeroAddressAsOwner",
|
|
193
|
+
"type": "error"
|
|
194
|
+
},
|
|
163
195
|
{
|
|
164
196
|
"anonymous": false,
|
|
165
197
|
"inputs": [
|
|
@@ -269,6 +301,12 @@
|
|
|
269
301
|
"name": "tokenOwner",
|
|
270
302
|
"type": "address"
|
|
271
303
|
},
|
|
304
|
+
{
|
|
305
|
+
"indexed": false,
|
|
306
|
+
"internalType": "bool",
|
|
307
|
+
"name": "notified",
|
|
308
|
+
"type": "bool"
|
|
309
|
+
},
|
|
272
310
|
{
|
|
273
311
|
"indexed": false,
|
|
274
312
|
"internalType": "bytes",
|
|
@@ -282,6 +320,12 @@
|
|
|
282
320
|
{
|
|
283
321
|
"anonymous": false,
|
|
284
322
|
"inputs": [
|
|
323
|
+
{
|
|
324
|
+
"indexed": true,
|
|
325
|
+
"internalType": "address",
|
|
326
|
+
"name": "operator",
|
|
327
|
+
"type": "address"
|
|
328
|
+
},
|
|
285
329
|
{
|
|
286
330
|
"indexed": true,
|
|
287
331
|
"internalType": "address",
|
|
@@ -297,8 +341,20 @@
|
|
|
297
341
|
{
|
|
298
342
|
"indexed": false,
|
|
299
343
|
"internalType": "uint256",
|
|
300
|
-
"name": "
|
|
344
|
+
"name": "amount",
|
|
301
345
|
"type": "uint256"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"indexed": false,
|
|
349
|
+
"internalType": "bool",
|
|
350
|
+
"name": "force",
|
|
351
|
+
"type": "bool"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"indexed": false,
|
|
355
|
+
"internalType": "bytes",
|
|
356
|
+
"name": "data",
|
|
357
|
+
"type": "bytes"
|
|
302
358
|
}
|
|
303
359
|
],
|
|
304
360
|
"name": "Transfer",
|
|
@@ -307,12 +363,6 @@
|
|
|
307
363
|
{
|
|
308
364
|
"anonymous": false,
|
|
309
365
|
"inputs": [
|
|
310
|
-
{
|
|
311
|
-
"indexed": true,
|
|
312
|
-
"internalType": "address",
|
|
313
|
-
"name": "operator",
|
|
314
|
-
"type": "address"
|
|
315
|
-
},
|
|
316
366
|
{
|
|
317
367
|
"indexed": true,
|
|
318
368
|
"internalType": "address",
|
|
@@ -328,20 +378,8 @@
|
|
|
328
378
|
{
|
|
329
379
|
"indexed": false,
|
|
330
380
|
"internalType": "uint256",
|
|
331
|
-
"name": "
|
|
381
|
+
"name": "value",
|
|
332
382
|
"type": "uint256"
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
"indexed": false,
|
|
336
|
-
"internalType": "bool",
|
|
337
|
-
"name": "allowNonLSP1Recipient",
|
|
338
|
-
"type": "bool"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"indexed": false,
|
|
342
|
-
"internalType": "bytes",
|
|
343
|
-
"name": "data",
|
|
344
|
-
"type": "bytes"
|
|
345
383
|
}
|
|
346
384
|
],
|
|
347
385
|
"name": "Transfer",
|
|
@@ -487,7 +525,7 @@
|
|
|
487
525
|
},
|
|
488
526
|
{
|
|
489
527
|
"internalType": "uint256",
|
|
490
|
-
"name": "
|
|
528
|
+
"name": "subtractedAmount",
|
|
491
529
|
"type": "uint256"
|
|
492
530
|
},
|
|
493
531
|
{
|
|
@@ -621,6 +659,11 @@
|
|
|
621
659
|
"name": "operator",
|
|
622
660
|
"type": "address"
|
|
623
661
|
},
|
|
662
|
+
{
|
|
663
|
+
"internalType": "bool",
|
|
664
|
+
"name": "notify",
|
|
665
|
+
"type": "bool"
|
|
666
|
+
},
|
|
624
667
|
{
|
|
625
668
|
"internalType": "bytes",
|
|
626
669
|
"name": "operatorNotificationData",
|
|
@@ -732,7 +775,7 @@
|
|
|
732
775
|
},
|
|
733
776
|
{
|
|
734
777
|
"internalType": "bool",
|
|
735
|
-
"name": "
|
|
778
|
+
"name": "force",
|
|
736
779
|
"type": "bool"
|
|
737
780
|
},
|
|
738
781
|
{
|
|
@@ -789,7 +832,7 @@
|
|
|
789
832
|
},
|
|
790
833
|
{
|
|
791
834
|
"internalType": "bool[]",
|
|
792
|
-
"name": "
|
|
835
|
+
"name": "force",
|
|
793
836
|
"type": "bool[]"
|
|
794
837
|
},
|
|
795
838
|
{
|
|
@@ -844,6 +887,23 @@
|
|
|
844
887
|
"outputs": [],
|
|
845
888
|
"stateMutability": "nonpayable",
|
|
846
889
|
"type": "function"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"inputs": [],
|
|
893
|
+
"name": "version",
|
|
894
|
+
"outputs": [
|
|
895
|
+
{
|
|
896
|
+
"internalType": "string",
|
|
897
|
+
"name": "",
|
|
898
|
+
"type": "string"
|
|
899
|
+
}
|
|
900
|
+
],
|
|
901
|
+
"stateMutability": "view",
|
|
902
|
+
"type": "function"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"stateMutability": "payable",
|
|
906
|
+
"type": "receive"
|
|
847
907
|
}
|
|
848
908
|
],
|
|
849
909
|
"bytecode": "0x",
|
|
@@ -144,6 +144,11 @@
|
|
|
144
144
|
"name": "LSP7NotifyTokenReceiverIsEOA",
|
|
145
145
|
"type": "error"
|
|
146
146
|
},
|
|
147
|
+
{
|
|
148
|
+
"inputs": [],
|
|
149
|
+
"name": "LSP7TokenContractCannotHoldValue",
|
|
150
|
+
"type": "error"
|
|
151
|
+
},
|
|
147
152
|
{
|
|
148
153
|
"inputs": [],
|
|
149
154
|
"name": "LSP7TokenOwnerCannotBeOperator",
|
|
@@ -160,6 +165,33 @@
|
|
|
160
165
|
"name": "NoExtensionFoundForFunctionSelector",
|
|
161
166
|
"type": "error"
|
|
162
167
|
},
|
|
168
|
+
{
|
|
169
|
+
"inputs": [
|
|
170
|
+
{
|
|
171
|
+
"internalType": "address",
|
|
172
|
+
"name": "operator",
|
|
173
|
+
"type": "address"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"name": "OperatorAllowanceCannotBeIncreasedFromZero",
|
|
177
|
+
"type": "error"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"inputs": [
|
|
181
|
+
{
|
|
182
|
+
"internalType": "address",
|
|
183
|
+
"name": "callerAddress",
|
|
184
|
+
"type": "address"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"name": "OwnableCallerNotTheOwner",
|
|
188
|
+
"type": "error"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"inputs": [],
|
|
192
|
+
"name": "OwnableCannotSetZeroAddressAsOwner",
|
|
193
|
+
"type": "error"
|
|
194
|
+
},
|
|
163
195
|
{
|
|
164
196
|
"anonymous": false,
|
|
165
197
|
"inputs": [
|
|
@@ -282,6 +314,12 @@
|
|
|
282
314
|
"name": "tokenOwner",
|
|
283
315
|
"type": "address"
|
|
284
316
|
},
|
|
317
|
+
{
|
|
318
|
+
"indexed": false,
|
|
319
|
+
"internalType": "bool",
|
|
320
|
+
"name": "notified",
|
|
321
|
+
"type": "bool"
|
|
322
|
+
},
|
|
285
323
|
{
|
|
286
324
|
"indexed": false,
|
|
287
325
|
"internalType": "bytes",
|
|
@@ -295,6 +333,12 @@
|
|
|
295
333
|
{
|
|
296
334
|
"anonymous": false,
|
|
297
335
|
"inputs": [
|
|
336
|
+
{
|
|
337
|
+
"indexed": true,
|
|
338
|
+
"internalType": "address",
|
|
339
|
+
"name": "operator",
|
|
340
|
+
"type": "address"
|
|
341
|
+
},
|
|
298
342
|
{
|
|
299
343
|
"indexed": true,
|
|
300
344
|
"internalType": "address",
|
|
@@ -310,8 +354,20 @@
|
|
|
310
354
|
{
|
|
311
355
|
"indexed": false,
|
|
312
356
|
"internalType": "uint256",
|
|
313
|
-
"name": "
|
|
357
|
+
"name": "amount",
|
|
314
358
|
"type": "uint256"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"indexed": false,
|
|
362
|
+
"internalType": "bool",
|
|
363
|
+
"name": "force",
|
|
364
|
+
"type": "bool"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"indexed": false,
|
|
368
|
+
"internalType": "bytes",
|
|
369
|
+
"name": "data",
|
|
370
|
+
"type": "bytes"
|
|
315
371
|
}
|
|
316
372
|
],
|
|
317
373
|
"name": "Transfer",
|
|
@@ -320,12 +376,6 @@
|
|
|
320
376
|
{
|
|
321
377
|
"anonymous": false,
|
|
322
378
|
"inputs": [
|
|
323
|
-
{
|
|
324
|
-
"indexed": true,
|
|
325
|
-
"internalType": "address",
|
|
326
|
-
"name": "operator",
|
|
327
|
-
"type": "address"
|
|
328
|
-
},
|
|
329
379
|
{
|
|
330
380
|
"indexed": true,
|
|
331
381
|
"internalType": "address",
|
|
@@ -341,20 +391,8 @@
|
|
|
341
391
|
{
|
|
342
392
|
"indexed": false,
|
|
343
393
|
"internalType": "uint256",
|
|
344
|
-
"name": "
|
|
394
|
+
"name": "value",
|
|
345
395
|
"type": "uint256"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"indexed": false,
|
|
349
|
-
"internalType": "bool",
|
|
350
|
-
"name": "allowNonLSP1Recipient",
|
|
351
|
-
"type": "bool"
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"indexed": false,
|
|
355
|
-
"internalType": "bytes",
|
|
356
|
-
"name": "data",
|
|
357
|
-
"type": "bytes"
|
|
358
396
|
}
|
|
359
397
|
],
|
|
360
398
|
"name": "Transfer",
|
|
@@ -500,7 +538,7 @@
|
|
|
500
538
|
},
|
|
501
539
|
{
|
|
502
540
|
"internalType": "uint256",
|
|
503
|
-
"name": "
|
|
541
|
+
"name": "subtractedAmount",
|
|
504
542
|
"type": "uint256"
|
|
505
543
|
},
|
|
506
544
|
{
|
|
@@ -634,6 +672,11 @@
|
|
|
634
672
|
"name": "operator",
|
|
635
673
|
"type": "address"
|
|
636
674
|
},
|
|
675
|
+
{
|
|
676
|
+
"internalType": "bool",
|
|
677
|
+
"name": "notify",
|
|
678
|
+
"type": "bool"
|
|
679
|
+
},
|
|
637
680
|
{
|
|
638
681
|
"internalType": "bytes",
|
|
639
682
|
"name": "operatorNotificationData",
|
|
@@ -745,7 +788,7 @@
|
|
|
745
788
|
},
|
|
746
789
|
{
|
|
747
790
|
"internalType": "bool",
|
|
748
|
-
"name": "
|
|
791
|
+
"name": "force",
|
|
749
792
|
"type": "bool"
|
|
750
793
|
},
|
|
751
794
|
{
|
|
@@ -802,7 +845,7 @@
|
|
|
802
845
|
},
|
|
803
846
|
{
|
|
804
847
|
"internalType": "bool[]",
|
|
805
|
-
"name": "
|
|
848
|
+
"name": "force",
|
|
806
849
|
"type": "bool[]"
|
|
807
850
|
},
|
|
808
851
|
{
|
|
@@ -857,6 +900,23 @@
|
|
|
857
900
|
"outputs": [],
|
|
858
901
|
"stateMutability": "nonpayable",
|
|
859
902
|
"type": "function"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"inputs": [],
|
|
906
|
+
"name": "version",
|
|
907
|
+
"outputs": [
|
|
908
|
+
{
|
|
909
|
+
"internalType": "string",
|
|
910
|
+
"name": "",
|
|
911
|
+
"type": "string"
|
|
912
|
+
}
|
|
913
|
+
],
|
|
914
|
+
"stateMutability": "view",
|
|
915
|
+
"type": "function"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"stateMutability": "payable",
|
|
919
|
+
"type": "receive"
|
|
860
920
|
}
|
|
861
921
|
],
|
|
862
922
|
"bytecode": "0x",
|