@lukso/lsp-smart-contracts 0.9.0 → 0.10.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 +29 -7
- package/artifacts/LSP0ERC725Account.json +63 -69
- package/artifacts/LSP0ERC725AccountInit.json +63 -69
- package/artifacts/LSP11BasicSocialRecovery.json +2 -2
- package/artifacts/LSP11BasicSocialRecoveryInit.json +2 -2
- package/artifacts/LSP16UniversalFactory.json +27 -21
- package/artifacts/LSP1UniversalReceiverDelegateUP.json +2 -2
- package/artifacts/LSP1UniversalReceiverDelegateVault.json +2 -2
- package/artifacts/LSP4Compatibility.json +32 -38
- package/artifacts/LSP4DigitalAssetMetadata.json +32 -38
- package/artifacts/LSP4DigitalAssetMetadataInitAbstract.json +32 -38
- package/artifacts/LSP6KeyManager.json +29 -15
- package/artifacts/LSP6KeyManagerInit.json +29 -15
- package/artifacts/LSP7CappedSupply.json +71 -36
- package/artifacts/LSP7CappedSupplyInitAbstract.json +71 -36
- package/artifacts/LSP7CompatibleERC20.json +71 -36
- package/artifacts/LSP7CompatibleERC20InitAbstract.json +71 -36
- package/artifacts/LSP7CompatibleERC20Mintable.json +73 -38
- package/artifacts/LSP7CompatibleERC20MintableInit.json +73 -38
- package/artifacts/LSP7DigitalAsset.json +71 -36
- package/artifacts/LSP7DigitalAssetInitAbstract.json +71 -36
- package/artifacts/LSP7Mintable.json +73 -38
- package/artifacts/LSP7MintableInit.json +73 -38
- package/artifacts/LSP8CappedSupply.json +32 -38
- package/artifacts/LSP8CappedSupplyInitAbstract.json +32 -38
- package/artifacts/LSP8CompatibleERC721.json +35 -41
- package/artifacts/LSP8CompatibleERC721InitAbstract.json +35 -41
- package/artifacts/LSP8CompatibleERC721Mintable.json +37 -43
- package/artifacts/LSP8CompatibleERC721MintableInit.json +37 -43
- package/artifacts/LSP8IdentifiableDigitalAsset.json +32 -38
- package/artifacts/LSP8IdentifiableDigitalAssetInitAbstract.json +32 -38
- package/artifacts/LSP8Mintable.json +34 -40
- package/artifacts/LSP8MintableInit.json +34 -40
- package/artifacts/LSP9Vault.json +61 -67
- package/artifacts/LSP9VaultInit.json +61 -67
- package/artifacts/UniversalProfile.json +63 -69
- package/artifacts/UniversalProfileInit.json +63 -69
- package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +45 -10
- package/contracts/LSP0ERC725Account/LSP0Constants.sol +1 -1
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +43 -8
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +361 -124
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +44 -8
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +45 -6
- package/contracts/LSP0ERC725Account/LSP0Utils.sol +0 -1
- package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +30 -15
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +0 -1
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.sol +0 -1
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +5 -7
- package/contracts/LSP16UniversalFactory/LSP16UniversalFactory.sol +262 -115
- package/contracts/LSP17ContractExtension/LSP17Extendable.sol +10 -5
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +0 -4
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +91 -34
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +27 -8
- package/contracts/LSP20CallVerification/LSP20CallVerification.sol +18 -9
- package/contracts/LSP20CallVerification/LSP20Constants.sol +17 -0
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +26 -12
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +0 -1
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +32 -16
- package/contracts/LSP6KeyManager/ILSP6KeyManager.sol +11 -2
- package/contracts/LSP6KeyManager/LSP6Constants.sol +5 -5
- package/contracts/LSP6KeyManager/LSP6Errors.sol +10 -6
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +140 -68
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +0 -1
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +30 -38
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +153 -60
- package/contracts/LSP6KeyManager/LSP6Utils.sol +1 -5
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +67 -13
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +5 -0
- package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +2 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +24 -0
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupply.sol +1 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +1 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +3 -5
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +3 -5
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +15 -12
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +1 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +1 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +1 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +5 -5
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +6 -6
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +2 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +2 -2
- package/contracts/LSP9Vault/ILSP9Vault.sol +9 -1
- package/contracts/LSP9Vault/LSP9Constants.sol +1 -1
- package/contracts/LSP9Vault/LSP9Vault.sol +0 -6
- package/contracts/LSP9Vault/LSP9VaultCore.sol +17 -15
- package/contracts/LSP9Vault/LSP9VaultInit.sol +2 -1
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +8 -5
- package/contracts/UniversalProfile.sol +10 -4
- package/contracts/UniversalProfileInit.sol +15 -5
- package/contracts/UniversalProfileInitAbstract.sol +7 -3
- package/devdocs/Create2Factory.json +16 -0
- package/devdocs/LSP0ERC725Account.json +200 -0
- package/devdocs/LSP0ERC725AccountInit.json +203 -0
- package/devdocs/LSP11BasicSocialRecovery.json +146 -0
- package/devdocs/LSP11BasicSocialRecoveryInit.json +146 -0
- package/devdocs/LSP16UniversalFactory.json +116 -0
- package/devdocs/LSP1UniversalReceiverDelegateUP.json +80 -0
- package/devdocs/LSP1UniversalReceiverDelegateVault.json +62 -0
- package/devdocs/LSP4Compatibility.json +79 -0
- package/devdocs/LSP4DigitalAssetMetadata.json +84 -0
- package/devdocs/LSP4DigitalAssetMetadataInitAbstract.json +77 -0
- package/devdocs/LSP6KeyManager.json +257 -0
- package/devdocs/LSP6KeyManagerInit.json +260 -0
- package/devdocs/LSP7CappedSupply.json +211 -0
- package/devdocs/LSP7CappedSupplyInitAbstract.json +206 -0
- package/devdocs/LSP7CompatibleERC20.json +225 -0
- package/devdocs/LSP7CompatibleERC20InitAbstract.json +218 -0
- package/devdocs/LSP7CompatibleERC20Mintable.json +217 -0
- package/devdocs/LSP7CompatibleERC20MintableInit.json +227 -0
- package/devdocs/LSP7DigitalAsset.json +210 -0
- package/devdocs/LSP7DigitalAssetInitAbstract.json +202 -0
- package/devdocs/LSP7Mintable.json +219 -0
- package/devdocs/LSP7MintableInit.json +220 -0
- package/devdocs/LSP8CappedSupply.json +232 -0
- package/devdocs/LSP8CappedSupplyInitAbstract.json +227 -0
- package/devdocs/LSP8CompatibleERC721.json +298 -0
- package/devdocs/LSP8CompatibleERC721InitAbstract.json +291 -0
- package/devdocs/LSP8CompatibleERC721Mintable.json +290 -0
- package/devdocs/LSP8CompatibleERC721MintableInit.json +300 -0
- package/devdocs/LSP8IdentifiableDigitalAsset.json +230 -0
- package/devdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +223 -0
- package/devdocs/LSP8Mintable.json +242 -0
- package/devdocs/LSP8MintableInit.json +245 -0
- package/devdocs/LSP9Vault.json +171 -0
- package/devdocs/LSP9VaultInit.json +175 -0
- package/devdocs/UniversalProfile.json +200 -0
- package/devdocs/UniversalProfileInit.json +203 -0
- package/devdocs/UniversalReceiverAddressStore.json +9 -0
- package/dist/constants.cjs.js +31657 -0
- package/dist/constants.d.ts +31759 -0
- package/dist/constants.es.js +31638 -0
- package/package.json +71 -53
- package/userdocs/Create2Factory.json +5 -0
- package/userdocs/LSP0ERC725Account.json +50 -0
- package/userdocs/LSP0ERC725AccountInit.json +53 -0
- package/userdocs/LSP11BasicSocialRecovery.json +29 -0
- package/userdocs/LSP11BasicSocialRecoveryInit.json +29 -0
- package/userdocs/LSP16UniversalFactory.json +5 -0
- package/userdocs/LSP1UniversalReceiverDelegateUP.json +10 -0
- package/userdocs/LSP1UniversalReceiverDelegateVault.json +10 -0
- package/userdocs/LSP4Compatibility.json +20 -0
- package/userdocs/LSP4DigitalAssetMetadata.json +23 -0
- package/userdocs/LSP4DigitalAssetMetadataInitAbstract.json +20 -0
- package/userdocs/LSP6KeyManager.json +18 -0
- package/userdocs/LSP6KeyManagerInit.json +18 -0
- package/userdocs/LSP7CappedSupply.json +29 -0
- package/userdocs/LSP7CappedSupplyInitAbstract.json +26 -0
- package/userdocs/LSP7CompatibleERC20.json +35 -0
- package/userdocs/LSP7CompatibleERC20InitAbstract.json +32 -0
- package/userdocs/LSP7CompatibleERC20Mintable.json +32 -0
- package/userdocs/LSP7CompatibleERC20MintableInit.json +35 -0
- package/userdocs/LSP7DigitalAsset.json +29 -0
- package/userdocs/LSP7DigitalAssetInitAbstract.json +26 -0
- package/userdocs/LSP7Mintable.json +29 -0
- package/userdocs/LSP7MintableInit.json +29 -0
- package/userdocs/LSP8CappedSupply.json +23 -0
- package/userdocs/LSP8CappedSupplyInitAbstract.json +20 -0
- package/userdocs/LSP8CompatibleERC721.json +29 -0
- package/userdocs/LSP8CompatibleERC721InitAbstract.json +26 -0
- package/userdocs/LSP8CompatibleERC721Mintable.json +26 -0
- package/userdocs/LSP8CompatibleERC721MintableInit.json +29 -0
- package/userdocs/LSP8IdentifiableDigitalAsset.json +23 -0
- package/userdocs/LSP8IdentifiableDigitalAssetInitAbstract.json +20 -0
- package/userdocs/LSP8Mintable.json +23 -0
- package/userdocs/LSP8MintableInit.json +23 -0
- package/userdocs/LSP9Vault.json +38 -0
- package/userdocs/LSP9VaultInit.json +38 -0
- package/userdocs/UniversalProfile.json +50 -0
- package/userdocs/UniversalProfileInit.json +53 -0
- package/userdocs/UniversalReceiverAddressStore.json +5 -0
- package/CONTRIBUTING.md +0 -57
- package/common/constants.d.ts +0 -461
- package/common/constants.js +0 -789
- package/contracts/Utils/GasLib.sol +0 -17
- package/module/constants.d.ts +0 -461
- package/module/constants.js +0 -786
|
@@ -4,18 +4,12 @@
|
|
|
4
4
|
"sourceName": "contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint256",
|
|
15
|
-
"name": "dataValuesLength",
|
|
16
|
-
"type": "uint256"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "ERC725Y_DataKeysValuesEmptyArray",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
19
13
|
"name": "ERC725Y_DataKeysValuesLengthMismatch",
|
|
20
14
|
"type": "error"
|
|
21
15
|
},
|
|
@@ -106,6 +100,11 @@
|
|
|
106
100
|
"name": "LSP7CappedSupplyRequired",
|
|
107
101
|
"type": "error"
|
|
108
102
|
},
|
|
103
|
+
{
|
|
104
|
+
"inputs": [],
|
|
105
|
+
"name": "LSP7DecreasedAllowanceBelowZero",
|
|
106
|
+
"type": "error"
|
|
107
|
+
},
|
|
109
108
|
{
|
|
110
109
|
"inputs": [],
|
|
111
110
|
"name": "LSP7InvalidTransferBatch",
|
|
@@ -353,20 +352,19 @@
|
|
|
353
352
|
{
|
|
354
353
|
"inputs": [
|
|
355
354
|
{
|
|
356
|
-
"internalType": "
|
|
357
|
-
"name": "
|
|
358
|
-
"type": "
|
|
359
|
-
}
|
|
360
|
-
],
|
|
361
|
-
"name": "getData",
|
|
362
|
-
"outputs": [
|
|
355
|
+
"internalType": "address",
|
|
356
|
+
"name": "operator",
|
|
357
|
+
"type": "address"
|
|
358
|
+
},
|
|
363
359
|
{
|
|
364
|
-
"internalType": "
|
|
365
|
-
"name": "
|
|
366
|
-
"type": "
|
|
360
|
+
"internalType": "uint256",
|
|
361
|
+
"name": "substractedAmount",
|
|
362
|
+
"type": "uint256"
|
|
367
363
|
}
|
|
368
364
|
],
|
|
369
|
-
"
|
|
365
|
+
"name": "decreaseAllowance",
|
|
366
|
+
"outputs": [],
|
|
367
|
+
"stateMutability": "nonpayable",
|
|
370
368
|
"type": "function"
|
|
371
369
|
},
|
|
372
370
|
{
|
|
@@ -388,6 +386,43 @@
|
|
|
388
386
|
"stateMutability": "view",
|
|
389
387
|
"type": "function"
|
|
390
388
|
},
|
|
389
|
+
{
|
|
390
|
+
"inputs": [
|
|
391
|
+
{
|
|
392
|
+
"internalType": "bytes32[]",
|
|
393
|
+
"name": "dataKeys",
|
|
394
|
+
"type": "bytes32[]"
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"name": "getDataBatch",
|
|
398
|
+
"outputs": [
|
|
399
|
+
{
|
|
400
|
+
"internalType": "bytes[]",
|
|
401
|
+
"name": "dataValues",
|
|
402
|
+
"type": "bytes[]"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"stateMutability": "view",
|
|
406
|
+
"type": "function"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"inputs": [
|
|
410
|
+
{
|
|
411
|
+
"internalType": "address",
|
|
412
|
+
"name": "operator",
|
|
413
|
+
"type": "address"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"internalType": "uint256",
|
|
417
|
+
"name": "addedAmount",
|
|
418
|
+
"type": "uint256"
|
|
419
|
+
}
|
|
420
|
+
],
|
|
421
|
+
"name": "increaseAllowance",
|
|
422
|
+
"outputs": [],
|
|
423
|
+
"stateMutability": "nonpayable",
|
|
424
|
+
"type": "function"
|
|
425
|
+
},
|
|
391
426
|
{
|
|
392
427
|
"inputs": [],
|
|
393
428
|
"name": "owner",
|
|
@@ -424,14 +459,14 @@
|
|
|
424
459
|
{
|
|
425
460
|
"inputs": [
|
|
426
461
|
{
|
|
427
|
-
"internalType": "bytes32
|
|
428
|
-
"name": "
|
|
429
|
-
"type": "bytes32
|
|
462
|
+
"internalType": "bytes32",
|
|
463
|
+
"name": "dataKey",
|
|
464
|
+
"type": "bytes32"
|
|
430
465
|
},
|
|
431
466
|
{
|
|
432
|
-
"internalType": "bytes
|
|
433
|
-
"name": "
|
|
434
|
-
"type": "bytes
|
|
467
|
+
"internalType": "bytes",
|
|
468
|
+
"name": "dataValue",
|
|
469
|
+
"type": "bytes"
|
|
435
470
|
}
|
|
436
471
|
],
|
|
437
472
|
"name": "setData",
|
|
@@ -442,17 +477,17 @@
|
|
|
442
477
|
{
|
|
443
478
|
"inputs": [
|
|
444
479
|
{
|
|
445
|
-
"internalType": "bytes32",
|
|
446
|
-
"name": "
|
|
447
|
-
"type": "bytes32"
|
|
480
|
+
"internalType": "bytes32[]",
|
|
481
|
+
"name": "dataKeys",
|
|
482
|
+
"type": "bytes32[]"
|
|
448
483
|
},
|
|
449
484
|
{
|
|
450
|
-
"internalType": "bytes",
|
|
451
|
-
"name": "
|
|
452
|
-
"type": "bytes"
|
|
485
|
+
"internalType": "bytes[]",
|
|
486
|
+
"name": "dataValues",
|
|
487
|
+
"type": "bytes[]"
|
|
453
488
|
}
|
|
454
489
|
],
|
|
455
|
-
"name": "
|
|
490
|
+
"name": "setDataBatch",
|
|
456
491
|
"outputs": [],
|
|
457
492
|
"stateMutability": "payable",
|
|
458
493
|
"type": "function"
|
|
@@ -4,18 +4,12 @@
|
|
|
4
4
|
"sourceName": "contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint256",
|
|
15
|
-
"name": "dataValuesLength",
|
|
16
|
-
"type": "uint256"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "ERC725Y_DataKeysValuesEmptyArray",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
19
13
|
"name": "ERC725Y_DataKeysValuesLengthMismatch",
|
|
20
14
|
"type": "error"
|
|
21
15
|
},
|
|
@@ -96,6 +90,11 @@
|
|
|
96
90
|
"name": "LSP7CannotUseAddressZeroAsOperator",
|
|
97
91
|
"type": "error"
|
|
98
92
|
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [],
|
|
95
|
+
"name": "LSP7DecreasedAllowanceBelowZero",
|
|
96
|
+
"type": "error"
|
|
97
|
+
},
|
|
99
98
|
{
|
|
100
99
|
"inputs": [],
|
|
101
100
|
"name": "LSP7InvalidTransferBatch",
|
|
@@ -428,20 +427,19 @@
|
|
|
428
427
|
{
|
|
429
428
|
"inputs": [
|
|
430
429
|
{
|
|
431
|
-
"internalType": "
|
|
432
|
-
"name": "
|
|
433
|
-
"type": "
|
|
434
|
-
}
|
|
435
|
-
],
|
|
436
|
-
"name": "getData",
|
|
437
|
-
"outputs": [
|
|
430
|
+
"internalType": "address",
|
|
431
|
+
"name": "operator",
|
|
432
|
+
"type": "address"
|
|
433
|
+
},
|
|
438
434
|
{
|
|
439
|
-
"internalType": "
|
|
440
|
-
"name": "
|
|
441
|
-
"type": "
|
|
435
|
+
"internalType": "uint256",
|
|
436
|
+
"name": "substractedAmount",
|
|
437
|
+
"type": "uint256"
|
|
442
438
|
}
|
|
443
439
|
],
|
|
444
|
-
"
|
|
440
|
+
"name": "decreaseAllowance",
|
|
441
|
+
"outputs": [],
|
|
442
|
+
"stateMutability": "nonpayable",
|
|
445
443
|
"type": "function"
|
|
446
444
|
},
|
|
447
445
|
{
|
|
@@ -463,6 +461,43 @@
|
|
|
463
461
|
"stateMutability": "view",
|
|
464
462
|
"type": "function"
|
|
465
463
|
},
|
|
464
|
+
{
|
|
465
|
+
"inputs": [
|
|
466
|
+
{
|
|
467
|
+
"internalType": "bytes32[]",
|
|
468
|
+
"name": "dataKeys",
|
|
469
|
+
"type": "bytes32[]"
|
|
470
|
+
}
|
|
471
|
+
],
|
|
472
|
+
"name": "getDataBatch",
|
|
473
|
+
"outputs": [
|
|
474
|
+
{
|
|
475
|
+
"internalType": "bytes[]",
|
|
476
|
+
"name": "dataValues",
|
|
477
|
+
"type": "bytes[]"
|
|
478
|
+
}
|
|
479
|
+
],
|
|
480
|
+
"stateMutability": "view",
|
|
481
|
+
"type": "function"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"inputs": [
|
|
485
|
+
{
|
|
486
|
+
"internalType": "address",
|
|
487
|
+
"name": "operator",
|
|
488
|
+
"type": "address"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"internalType": "uint256",
|
|
492
|
+
"name": "addedAmount",
|
|
493
|
+
"type": "uint256"
|
|
494
|
+
}
|
|
495
|
+
],
|
|
496
|
+
"name": "increaseAllowance",
|
|
497
|
+
"outputs": [],
|
|
498
|
+
"stateMutability": "nonpayable",
|
|
499
|
+
"type": "function"
|
|
500
|
+
},
|
|
466
501
|
{
|
|
467
502
|
"inputs": [],
|
|
468
503
|
"name": "name",
|
|
@@ -512,14 +547,14 @@
|
|
|
512
547
|
{
|
|
513
548
|
"inputs": [
|
|
514
549
|
{
|
|
515
|
-
"internalType": "bytes32
|
|
516
|
-
"name": "
|
|
517
|
-
"type": "bytes32
|
|
550
|
+
"internalType": "bytes32",
|
|
551
|
+
"name": "dataKey",
|
|
552
|
+
"type": "bytes32"
|
|
518
553
|
},
|
|
519
554
|
{
|
|
520
|
-
"internalType": "bytes
|
|
521
|
-
"name": "
|
|
522
|
-
"type": "bytes
|
|
555
|
+
"internalType": "bytes",
|
|
556
|
+
"name": "dataValue",
|
|
557
|
+
"type": "bytes"
|
|
523
558
|
}
|
|
524
559
|
],
|
|
525
560
|
"name": "setData",
|
|
@@ -530,17 +565,17 @@
|
|
|
530
565
|
{
|
|
531
566
|
"inputs": [
|
|
532
567
|
{
|
|
533
|
-
"internalType": "bytes32",
|
|
534
|
-
"name": "
|
|
535
|
-
"type": "bytes32"
|
|
568
|
+
"internalType": "bytes32[]",
|
|
569
|
+
"name": "dataKeys",
|
|
570
|
+
"type": "bytes32[]"
|
|
536
571
|
},
|
|
537
572
|
{
|
|
538
|
-
"internalType": "bytes",
|
|
539
|
-
"name": "
|
|
540
|
-
"type": "bytes"
|
|
573
|
+
"internalType": "bytes[]",
|
|
574
|
+
"name": "dataValues",
|
|
575
|
+
"type": "bytes[]"
|
|
541
576
|
}
|
|
542
577
|
],
|
|
543
|
-
"name": "
|
|
578
|
+
"name": "setDataBatch",
|
|
544
579
|
"outputs": [],
|
|
545
580
|
"stateMutability": "payable",
|
|
546
581
|
"type": "function"
|
|
@@ -4,18 +4,12 @@
|
|
|
4
4
|
"sourceName": "contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol",
|
|
5
5
|
"abi": [
|
|
6
6
|
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
"internalType": "uint256",
|
|
15
|
-
"name": "dataValuesLength",
|
|
16
|
-
"type": "uint256"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "ERC725Y_DataKeysValuesEmptyArray",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"inputs": [],
|
|
19
13
|
"name": "ERC725Y_DataKeysValuesLengthMismatch",
|
|
20
14
|
"type": "error"
|
|
21
15
|
},
|
|
@@ -96,6 +90,11 @@
|
|
|
96
90
|
"name": "LSP7CannotUseAddressZeroAsOperator",
|
|
97
91
|
"type": "error"
|
|
98
92
|
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [],
|
|
95
|
+
"name": "LSP7DecreasedAllowanceBelowZero",
|
|
96
|
+
"type": "error"
|
|
97
|
+
},
|
|
99
98
|
{
|
|
100
99
|
"inputs": [],
|
|
101
100
|
"name": "LSP7InvalidTransferBatch",
|
|
@@ -441,20 +440,19 @@
|
|
|
441
440
|
{
|
|
442
441
|
"inputs": [
|
|
443
442
|
{
|
|
444
|
-
"internalType": "
|
|
445
|
-
"name": "
|
|
446
|
-
"type": "
|
|
447
|
-
}
|
|
448
|
-
],
|
|
449
|
-
"name": "getData",
|
|
450
|
-
"outputs": [
|
|
443
|
+
"internalType": "address",
|
|
444
|
+
"name": "operator",
|
|
445
|
+
"type": "address"
|
|
446
|
+
},
|
|
451
447
|
{
|
|
452
|
-
"internalType": "
|
|
453
|
-
"name": "
|
|
454
|
-
"type": "
|
|
448
|
+
"internalType": "uint256",
|
|
449
|
+
"name": "substractedAmount",
|
|
450
|
+
"type": "uint256"
|
|
455
451
|
}
|
|
456
452
|
],
|
|
457
|
-
"
|
|
453
|
+
"name": "decreaseAllowance",
|
|
454
|
+
"outputs": [],
|
|
455
|
+
"stateMutability": "nonpayable",
|
|
458
456
|
"type": "function"
|
|
459
457
|
},
|
|
460
458
|
{
|
|
@@ -476,6 +474,43 @@
|
|
|
476
474
|
"stateMutability": "view",
|
|
477
475
|
"type": "function"
|
|
478
476
|
},
|
|
477
|
+
{
|
|
478
|
+
"inputs": [
|
|
479
|
+
{
|
|
480
|
+
"internalType": "bytes32[]",
|
|
481
|
+
"name": "dataKeys",
|
|
482
|
+
"type": "bytes32[]"
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"name": "getDataBatch",
|
|
486
|
+
"outputs": [
|
|
487
|
+
{
|
|
488
|
+
"internalType": "bytes[]",
|
|
489
|
+
"name": "dataValues",
|
|
490
|
+
"type": "bytes[]"
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"stateMutability": "view",
|
|
494
|
+
"type": "function"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"inputs": [
|
|
498
|
+
{
|
|
499
|
+
"internalType": "address",
|
|
500
|
+
"name": "operator",
|
|
501
|
+
"type": "address"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"internalType": "uint256",
|
|
505
|
+
"name": "addedAmount",
|
|
506
|
+
"type": "uint256"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"name": "increaseAllowance",
|
|
510
|
+
"outputs": [],
|
|
511
|
+
"stateMutability": "nonpayable",
|
|
512
|
+
"type": "function"
|
|
513
|
+
},
|
|
479
514
|
{
|
|
480
515
|
"inputs": [],
|
|
481
516
|
"name": "name",
|
|
@@ -525,14 +560,14 @@
|
|
|
525
560
|
{
|
|
526
561
|
"inputs": [
|
|
527
562
|
{
|
|
528
|
-
"internalType": "bytes32
|
|
529
|
-
"name": "
|
|
530
|
-
"type": "bytes32
|
|
563
|
+
"internalType": "bytes32",
|
|
564
|
+
"name": "dataKey",
|
|
565
|
+
"type": "bytes32"
|
|
531
566
|
},
|
|
532
567
|
{
|
|
533
|
-
"internalType": "bytes
|
|
534
|
-
"name": "
|
|
535
|
-
"type": "bytes
|
|
568
|
+
"internalType": "bytes",
|
|
569
|
+
"name": "dataValue",
|
|
570
|
+
"type": "bytes"
|
|
536
571
|
}
|
|
537
572
|
],
|
|
538
573
|
"name": "setData",
|
|
@@ -543,17 +578,17 @@
|
|
|
543
578
|
{
|
|
544
579
|
"inputs": [
|
|
545
580
|
{
|
|
546
|
-
"internalType": "bytes32",
|
|
547
|
-
"name": "
|
|
548
|
-
"type": "bytes32"
|
|
581
|
+
"internalType": "bytes32[]",
|
|
582
|
+
"name": "dataKeys",
|
|
583
|
+
"type": "bytes32[]"
|
|
549
584
|
},
|
|
550
585
|
{
|
|
551
|
-
"internalType": "bytes",
|
|
552
|
-
"name": "
|
|
553
|
-
"type": "bytes"
|
|
586
|
+
"internalType": "bytes[]",
|
|
587
|
+
"name": "dataValues",
|
|
588
|
+
"type": "bytes[]"
|
|
554
589
|
}
|
|
555
590
|
],
|
|
556
|
-
"name": "
|
|
591
|
+
"name": "setDataBatch",
|
|
557
592
|
"outputs": [],
|
|
558
593
|
"stateMutability": "payable",
|
|
559
594
|
"type": "function"
|