@lukso/lsp-smart-contracts 0.10.0 → 0.10.2
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 +14 -1
- package/artifacts/Create2Factory.json +2 -2
- package/artifacts/LSP0ERC725Account.json +4 -4
- package/artifacts/LSP0ERC725AccountInit.json +4 -4
- 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/LSP6KeyManager.json +2 -2
- package/artifacts/LSP6KeyManagerInit.json +2 -2
- package/artifacts/LSP7CompatibleERC20Mintable.json +2 -2
- package/artifacts/LSP7CompatibleERC20MintableInit.json +2 -2
- package/artifacts/LSP7Mintable.json +2 -2
- package/artifacts/LSP7MintableInit.json +2 -2
- package/artifacts/LSP8CompatibleERC721Mintable.json +2 -2
- package/artifacts/LSP8CompatibleERC721MintableInit.json +2 -2
- package/artifacts/LSP8Mintable.json +2 -2
- package/artifacts/LSP8MintableInit.json +2 -2
- package/artifacts/LSP9Vault.json +2 -2
- package/artifacts/LSP9VaultInit.json +2 -2
- package/artifacts/UniversalProfile.json +4 -4
- package/artifacts/UniversalProfileInit.json +4 -4
- package/artifacts/UniversalReceiverAddressStore.json +2 -2
- package/contracts/Factories/Create2Factory.sol +11 -3
- package/contracts/LSP0ERC725Account/ILSP0ERC725Account.sol +13 -5
- package/contracts/LSP0ERC725Account/LSP0ERC725Account.sol +11 -6
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol +256 -186
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInit.sol +20 -6
- package/contracts/LSP0ERC725Account/LSP0ERC725AccountInitAbstract.sol +23 -9
- package/contracts/LSP0ERC725Account/LSP0Utils.sol +3 -5
- package/contracts/LSP10ReceivedVaults/LSP10Utils.sol +25 -10
- package/contracts/LSP11BasicSocialRecovery/ILSP11BasicSocialRecovery.sol +4 -2
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecovery.sol +3 -1
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryCore.sol +65 -23
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInit.sol +7 -2
- package/contracts/LSP11BasicSocialRecovery/LSP11BasicSocialRecoveryInitAbstract.sol +14 -4
- package/contracts/LSP11BasicSocialRecovery/LSP11Errors.sol +4 -1
- package/contracts/LSP14Ownable2Step/ILSP14Ownable2Step.sol +17 -16
- package/contracts/LSP14Ownable2Step/LSP14Errors.sol +4 -1
- package/contracts/LSP14Ownable2Step/LSP14Ownable2Step.sol +22 -11
- package/contracts/LSP16UniversalFactory/LSP16UniversalFactory.sol +333 -128
- package/contracts/LSP17ContractExtension/LSP17Extendable.sol +38 -16
- package/contracts/LSP17ContractExtension/LSP17Extension.sol +20 -8
- package/contracts/LSP17ContractExtension/LSP17Utils.sol +4 -5
- package/contracts/LSP1UniversalReceiver/ILSP1UniversalReceiver.sol +5 -5
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateUP/LSP1UniversalReceiverDelegateUP.sol +38 -14
- package/contracts/LSP1UniversalReceiver/LSP1UniversalReceiverDelegateVault/LSP1UniversalReceiverDelegateVault.sol +31 -11
- package/contracts/LSP1UniversalReceiver/LSP1Utils.sol +34 -9
- package/contracts/LSP20CallVerification/{ILSP20CallVerification.sol → ILSP20CallVerifier.sol} +7 -2
- package/contracts/LSP20CallVerification/LSP20CallVerification.sol +24 -9
- package/contracts/LSP20CallVerification/LSP20Errors.sol +1 -1
- package/contracts/LSP2ERC725YJSONSchema/LSP2Utils.sol +62 -36
- package/contracts/LSP4DigitalAssetMetadata/ILSP4Compatibility.sol +3 -1
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadata.sol +15 -4
- package/contracts/LSP4DigitalAssetMetadata/LSP4DigitalAssetMetadataInitAbstract.sol +18 -5
- package/contracts/LSP5ReceivedAssets/LSP5Utils.sol +32 -12
- package/contracts/LSP6KeyManager/ILSP6KeyManager.sol +17 -8
- package/contracts/LSP6KeyManager/LSP6Constants.sol +3 -9
- package/contracts/LSP6KeyManager/LSP6Errors.sol +4 -1
- package/contracts/LSP6KeyManager/LSP6KeyManagerCore.sol +114 -72
- package/contracts/LSP6KeyManager/LSP6KeyManagerInitAbstract.sol +7 -2
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6ExecuteModule.sol +96 -46
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6OwnershipModule.sol +10 -5
- package/contracts/LSP6KeyManager/LSP6Modules/LSP6SetDataModule.sol +98 -32
- package/contracts/LSP6KeyManager/LSP6Utils.sol +42 -34
- package/contracts/LSP7DigitalAsset/ILSP7DigitalAsset.sol +8 -6
- package/contracts/LSP7DigitalAsset/LSP7DigitalAsset.sol +13 -10
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetCore.sol +96 -26
- package/contracts/LSP7DigitalAsset/LSP7DigitalAssetInitAbstract.sol +11 -9
- package/contracts/LSP7DigitalAsset/LSP7Errors.sol +8 -2
- package/contracts/LSP7DigitalAsset/extensions/ILSP7CompatibleERC20.sol +9 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7Burnable.sol +1 -5
- package/contracts/LSP7DigitalAsset/extensions/LSP7BurnableInitAbstract.sol +4 -6
- package/contracts/LSP7DigitalAsset/extensions/LSP7CappedSupplyInitAbstract.sol +6 -2
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20.sol +32 -12
- package/contracts/LSP7DigitalAsset/extensions/LSP7CompatibleERC20InitAbstract.sol +28 -7
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInit.sol +8 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7CompatibleERC20MintableInitAbstract.sol +6 -2
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInit.sol +6 -1
- package/contracts/LSP7DigitalAsset/presets/LSP7MintableInitAbstract.sol +13 -3
- package/contracts/LSP8IdentifiableDigitalAsset/ILSP8IdentifiableDigitalAsset.sol +14 -5
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8Errors.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAsset.sol +12 -10
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetCore.sol +95 -28
- package/contracts/LSP8IdentifiableDigitalAsset/LSP8IdentifiableDigitalAssetInitAbstract.sol +14 -10
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/ILSP8CompatibleERC721.sol +23 -10
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Burnable.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupply.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CappedSupplyInitAbstract.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721.sol +72 -30
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8CompatibleERC721InitAbstract.sol +77 -27
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8Enumerable.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/extensions/LSP8EnumerableInitAbstract.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/ILSP8Mintable.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInit.sol +8 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8CompatibleERC721MintableInitAbstract.sol +6 -2
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8Mintable.sol +3 -1
- package/contracts/LSP8IdentifiableDigitalAsset/presets/LSP8MintableInitAbstract.sol +5 -1
- package/contracts/LSP9Vault/ILSP9Vault.sol +13 -5
- package/contracts/LSP9Vault/LSP9Vault.sol +7 -2
- package/contracts/LSP9Vault/LSP9VaultCore.sol +108 -51
- package/contracts/LSP9Vault/LSP9VaultInitAbstract.sol +10 -3
- package/contracts/Legacy/Registries/AddressRegistry.sol +13 -4
- package/contracts/Legacy/Registries/AddressRegistryRequiresERC725.sol +6 -2
- package/contracts/Legacy/UniversalReceiverAddressStore.sol +17 -6
- package/contracts/UniversalProfile.sol +14 -5
- package/contracts/UniversalProfileInit.sol +17 -5
- package/contracts/UniversalProfileInitAbstract.sol +17 -9
- package/devdocs/LSP0ERC725Account.json +33 -19
- package/devdocs/LSP0ERC725AccountInit.json +33 -20
- package/devdocs/LSP16UniversalFactory.json +87 -22
- package/devdocs/LSP9Vault.json +3 -3
- package/devdocs/LSP9VaultInit.json +3 -3
- package/devdocs/UniversalProfile.json +32 -18
- package/devdocs/UniversalProfileInit.json +33 -19
- package/dist/constants.cjs.js +310 -182
- package/dist/constants.d.ts +178 -48
- package/dist/constants.es.js +310 -182
- package/package.json +19 -17
- package/userdocs/LSP0ERC725Account.json +5 -2
- package/userdocs/LSP0ERC725AccountInit.json +8 -2
- package/userdocs/UniversalProfile.json +3 -3
- package/userdocs/UniversalProfileInit.json +6 -3
- package/contracts/Custom/EIP191Signer.sol +0 -12
package/dist/constants.d.ts
CHANGED
|
@@ -217,6 +217,7 @@ export declare const ErrorSelectors: {
|
|
|
217
217
|
details: string;
|
|
218
218
|
params: {
|
|
219
219
|
postCall: string;
|
|
220
|
+
returnedData: string;
|
|
220
221
|
};
|
|
221
222
|
}[];
|
|
222
223
|
};
|
|
@@ -478,6 +479,7 @@ export declare const ErrorSelectors: {
|
|
|
478
479
|
details: string;
|
|
479
480
|
params: {
|
|
480
481
|
postCall: string;
|
|
482
|
+
returnedData: string;
|
|
481
483
|
};
|
|
482
484
|
}[];
|
|
483
485
|
};
|
|
@@ -869,11 +871,11 @@ export declare const ErrorSelectors: {
|
|
|
869
871
|
};
|
|
870
872
|
LSP16UniversalFactory: {
|
|
871
873
|
/**
|
|
872
|
-
* error
|
|
874
|
+
* error ContractInitializationFailed()
|
|
873
875
|
*
|
|
874
|
-
*
|
|
876
|
+
* 0xc1ee8543 = keccak256('ContractInitializationFailed()')
|
|
875
877
|
*/
|
|
876
|
-
"
|
|
878
|
+
"0xc1ee8543": {
|
|
877
879
|
sig: string;
|
|
878
880
|
inputs: any[];
|
|
879
881
|
name: string;
|
|
@@ -883,11 +885,11 @@ export declare const ErrorSelectors: {
|
|
|
883
885
|
}[];
|
|
884
886
|
};
|
|
885
887
|
/**
|
|
886
|
-
* error
|
|
888
|
+
* error InvalidValueSum()
|
|
887
889
|
*
|
|
888
|
-
*
|
|
890
|
+
* 0x2fd9ca91 = keccak256('InvalidValueSum()')
|
|
889
891
|
*/
|
|
890
|
-
"
|
|
892
|
+
"0x2fd9ca91": {
|
|
891
893
|
sig: string;
|
|
892
894
|
inputs: any[];
|
|
893
895
|
name: string;
|
|
@@ -8524,6 +8526,7 @@ export declare const ErrorSelectors: {
|
|
|
8524
8526
|
details: string;
|
|
8525
8527
|
params: {
|
|
8526
8528
|
postCall: string;
|
|
8529
|
+
returnedData: string;
|
|
8527
8530
|
};
|
|
8528
8531
|
}[];
|
|
8529
8532
|
};
|
|
@@ -8785,6 +8788,7 @@ export declare const ErrorSelectors: {
|
|
|
8785
8788
|
details: string;
|
|
8786
8789
|
params: {
|
|
8787
8790
|
postCall: string;
|
|
8791
|
+
returnedData: string;
|
|
8788
8792
|
};
|
|
8789
8793
|
}[];
|
|
8790
8794
|
};
|
|
@@ -9591,13 +9595,14 @@ export declare const EventSigHashes: {
|
|
|
9591
9595
|
* event ContractCreated(
|
|
9592
9596
|
* address indexed contractCreated,
|
|
9593
9597
|
* bytes32 indexed providedSalt,
|
|
9594
|
-
*
|
|
9598
|
+
* bytes32 generatedSalt,
|
|
9599
|
+
* bool indexed initialized,
|
|
9595
9600
|
* bytes initializeCalldata
|
|
9596
9601
|
* )
|
|
9597
9602
|
*
|
|
9598
|
-
*
|
|
9603
|
+
* 0x8872a323d65599f01bf90dc61c94b4e0cc8e2347d6af4122fccc3e112ee34a84 = keccak256('ContractCreated(address,bytes32,bytes32,bool,bytes)')
|
|
9599
9604
|
*/
|
|
9600
|
-
"
|
|
9605
|
+
"0x8872a323d65599f01bf90dc61c94b4e0cc8e2347d6af4122fccc3e112ee34a84": {
|
|
9601
9606
|
sig: string;
|
|
9602
9607
|
anonymous: boolean;
|
|
9603
9608
|
inputs: {
|
|
@@ -9612,8 +9617,9 @@ export declare const EventSigHashes: {
|
|
|
9612
9617
|
details: string;
|
|
9613
9618
|
params: {
|
|
9614
9619
|
contractCreated: string;
|
|
9615
|
-
|
|
9620
|
+
generatedSalt: string;
|
|
9616
9621
|
initializeCalldata: string;
|
|
9622
|
+
initialized: string;
|
|
9617
9623
|
providedSalt: string;
|
|
9618
9624
|
};
|
|
9619
9625
|
};
|
|
@@ -13686,6 +13692,7 @@ export declare const FunctionSelectors: {
|
|
|
13686
13692
|
stateMutability: string;
|
|
13687
13693
|
type: string;
|
|
13688
13694
|
devdoc: {
|
|
13695
|
+
"custom:requirements": string;
|
|
13689
13696
|
details: string;
|
|
13690
13697
|
};
|
|
13691
13698
|
userdoc: {
|
|
@@ -13750,6 +13757,8 @@ export declare const FunctionSelectors: {
|
|
|
13750
13757
|
stateMutability: string;
|
|
13751
13758
|
type: string;
|
|
13752
13759
|
devdoc: {
|
|
13760
|
+
"custom:events": string;
|
|
13761
|
+
"custom:requirements": string;
|
|
13753
13762
|
details: string;
|
|
13754
13763
|
params: {
|
|
13755
13764
|
data: string;
|
|
@@ -13785,6 +13794,8 @@ export declare const FunctionSelectors: {
|
|
|
13785
13794
|
stateMutability: string;
|
|
13786
13795
|
type: string;
|
|
13787
13796
|
devdoc: {
|
|
13797
|
+
"custom:events": string;
|
|
13798
|
+
"custom:requirements": string;
|
|
13788
13799
|
details: string;
|
|
13789
13800
|
params: {
|
|
13790
13801
|
datas: string;
|
|
@@ -13952,6 +13963,7 @@ export declare const FunctionSelectors: {
|
|
|
13952
13963
|
stateMutability: string;
|
|
13953
13964
|
type: string;
|
|
13954
13965
|
devdoc: {
|
|
13966
|
+
"custom:danger": string;
|
|
13955
13967
|
details: string;
|
|
13956
13968
|
};
|
|
13957
13969
|
userdoc: {
|
|
@@ -13978,6 +13990,8 @@ export declare const FunctionSelectors: {
|
|
|
13978
13990
|
stateMutability: string;
|
|
13979
13991
|
type: string;
|
|
13980
13992
|
devdoc: {
|
|
13993
|
+
"custom:events": string;
|
|
13994
|
+
"custom:requirements": string;
|
|
13981
13995
|
details: string;
|
|
13982
13996
|
params: {
|
|
13983
13997
|
dataKey: string;
|
|
@@ -14005,6 +14019,8 @@ export declare const FunctionSelectors: {
|
|
|
14005
14019
|
stateMutability: string;
|
|
14006
14020
|
type: string;
|
|
14007
14021
|
devdoc: {
|
|
14022
|
+
"custom:events": string;
|
|
14023
|
+
"custom:requirements": string;
|
|
14008
14024
|
details: string;
|
|
14009
14025
|
params: {
|
|
14010
14026
|
dataKeys: string;
|
|
@@ -14043,7 +14059,7 @@ export declare const FunctionSelectors: {
|
|
|
14043
14059
|
};
|
|
14044
14060
|
/**
|
|
14045
14061
|
* function transferOwnership(
|
|
14046
|
-
* address
|
|
14062
|
+
* address pendingNewOwner
|
|
14047
14063
|
* )
|
|
14048
14064
|
*
|
|
14049
14065
|
* 0xf2fde38b = keccak256('transferOwnership(address)')
|
|
@@ -14060,9 +14076,10 @@ export declare const FunctionSelectors: {
|
|
|
14060
14076
|
stateMutability: string;
|
|
14061
14077
|
type: string;
|
|
14062
14078
|
devdoc: {
|
|
14079
|
+
"custom:requirements": string;
|
|
14063
14080
|
details: string;
|
|
14064
14081
|
params: {
|
|
14065
|
-
|
|
14082
|
+
pendingNewOwner: string;
|
|
14066
14083
|
};
|
|
14067
14084
|
};
|
|
14068
14085
|
userdoc: {
|
|
@@ -14093,6 +14110,7 @@ export declare const FunctionSelectors: {
|
|
|
14093
14110
|
stateMutability: string;
|
|
14094
14111
|
type: string;
|
|
14095
14112
|
devdoc: {
|
|
14113
|
+
"custom:events": string;
|
|
14096
14114
|
details: string;
|
|
14097
14115
|
params: {
|
|
14098
14116
|
receivedData: string;
|
|
@@ -14155,6 +14173,7 @@ export declare const FunctionSelectors: {
|
|
|
14155
14173
|
stateMutability: string;
|
|
14156
14174
|
type: string;
|
|
14157
14175
|
devdoc: {
|
|
14176
|
+
"custom:requirements": string;
|
|
14158
14177
|
details: string;
|
|
14159
14178
|
};
|
|
14160
14179
|
userdoc: {
|
|
@@ -14219,6 +14238,8 @@ export declare const FunctionSelectors: {
|
|
|
14219
14238
|
stateMutability: string;
|
|
14220
14239
|
type: string;
|
|
14221
14240
|
devdoc: {
|
|
14241
|
+
"custom:events": string;
|
|
14242
|
+
"custom:requirements": string;
|
|
14222
14243
|
details: string;
|
|
14223
14244
|
params: {
|
|
14224
14245
|
data: string;
|
|
@@ -14254,6 +14275,8 @@ export declare const FunctionSelectors: {
|
|
|
14254
14275
|
stateMutability: string;
|
|
14255
14276
|
type: string;
|
|
14256
14277
|
devdoc: {
|
|
14278
|
+
"custom:events": string;
|
|
14279
|
+
"custom:requirements": string;
|
|
14257
14280
|
details: string;
|
|
14258
14281
|
params: {
|
|
14259
14282
|
datas: string;
|
|
@@ -14333,7 +14356,7 @@ export declare const FunctionSelectors: {
|
|
|
14333
14356
|
};
|
|
14334
14357
|
/**
|
|
14335
14358
|
* function initialize(
|
|
14336
|
-
* address
|
|
14359
|
+
* address initialOwner
|
|
14337
14360
|
* )
|
|
14338
14361
|
*
|
|
14339
14362
|
* 0xc4d66de8 = keccak256('initialize(address)')
|
|
@@ -14352,9 +14375,12 @@ export declare const FunctionSelectors: {
|
|
|
14352
14375
|
devdoc: {
|
|
14353
14376
|
details: string;
|
|
14354
14377
|
params: {
|
|
14355
|
-
|
|
14378
|
+
initialOwner: string;
|
|
14356
14379
|
};
|
|
14357
14380
|
};
|
|
14381
|
+
userdoc: {
|
|
14382
|
+
notice: string;
|
|
14383
|
+
};
|
|
14358
14384
|
};
|
|
14359
14385
|
/**
|
|
14360
14386
|
* function isValidSignature(
|
|
@@ -14446,6 +14472,7 @@ export declare const FunctionSelectors: {
|
|
|
14446
14472
|
stateMutability: string;
|
|
14447
14473
|
type: string;
|
|
14448
14474
|
devdoc: {
|
|
14475
|
+
"custom:danger": string;
|
|
14449
14476
|
details: string;
|
|
14450
14477
|
};
|
|
14451
14478
|
userdoc: {
|
|
@@ -14472,6 +14499,8 @@ export declare const FunctionSelectors: {
|
|
|
14472
14499
|
stateMutability: string;
|
|
14473
14500
|
type: string;
|
|
14474
14501
|
devdoc: {
|
|
14502
|
+
"custom:events": string;
|
|
14503
|
+
"custom:requirements": string;
|
|
14475
14504
|
details: string;
|
|
14476
14505
|
params: {
|
|
14477
14506
|
dataKey: string;
|
|
@@ -14499,6 +14528,8 @@ export declare const FunctionSelectors: {
|
|
|
14499
14528
|
stateMutability: string;
|
|
14500
14529
|
type: string;
|
|
14501
14530
|
devdoc: {
|
|
14531
|
+
"custom:events": string;
|
|
14532
|
+
"custom:requirements": string;
|
|
14502
14533
|
details: string;
|
|
14503
14534
|
params: {
|
|
14504
14535
|
dataKeys: string;
|
|
@@ -14537,7 +14568,7 @@ export declare const FunctionSelectors: {
|
|
|
14537
14568
|
};
|
|
14538
14569
|
/**
|
|
14539
14570
|
* function transferOwnership(
|
|
14540
|
-
* address
|
|
14571
|
+
* address pendingNewOwner
|
|
14541
14572
|
* )
|
|
14542
14573
|
*
|
|
14543
14574
|
* 0xf2fde38b = keccak256('transferOwnership(address)')
|
|
@@ -14554,9 +14585,10 @@ export declare const FunctionSelectors: {
|
|
|
14554
14585
|
stateMutability: string;
|
|
14555
14586
|
type: string;
|
|
14556
14587
|
devdoc: {
|
|
14588
|
+
"custom:requirements": string;
|
|
14557
14589
|
details: string;
|
|
14558
14590
|
params: {
|
|
14559
|
-
|
|
14591
|
+
pendingNewOwner: string;
|
|
14560
14592
|
};
|
|
14561
14593
|
};
|
|
14562
14594
|
userdoc: {
|
|
@@ -14587,6 +14619,7 @@ export declare const FunctionSelectors: {
|
|
|
14587
14619
|
stateMutability: string;
|
|
14588
14620
|
type: string;
|
|
14589
14621
|
devdoc: {
|
|
14622
|
+
"custom:events": string;
|
|
14590
14623
|
details: string;
|
|
14591
14624
|
params: {
|
|
14592
14625
|
receivedData: string;
|
|
@@ -15434,16 +15467,16 @@ export declare const FunctionSelectors: {
|
|
|
15434
15467
|
};
|
|
15435
15468
|
LSP16UniversalFactory: {
|
|
15436
15469
|
/**
|
|
15437
|
-
* function
|
|
15470
|
+
* function computeAddress(
|
|
15438
15471
|
* bytes32 byteCodeHash,
|
|
15439
15472
|
* bytes32 providedSalt,
|
|
15440
15473
|
* bool initializable,
|
|
15441
|
-
* bytes
|
|
15474
|
+
* bytes initializeCalldata
|
|
15442
15475
|
* )
|
|
15443
15476
|
*
|
|
15444
|
-
*
|
|
15477
|
+
* 0x3b315680 = keccak256('computeAddress(bytes32,bytes32,bool,bytes)')
|
|
15445
15478
|
*/
|
|
15446
|
-
"
|
|
15479
|
+
"0x3b315680": {
|
|
15447
15480
|
sig: string;
|
|
15448
15481
|
inputs: {
|
|
15449
15482
|
internalType: string;
|
|
@@ -15460,19 +15493,28 @@ export declare const FunctionSelectors: {
|
|
|
15460
15493
|
type: string;
|
|
15461
15494
|
devdoc: {
|
|
15462
15495
|
details: string;
|
|
15496
|
+
params: {
|
|
15497
|
+
byteCodeHash: string;
|
|
15498
|
+
initializable: string;
|
|
15499
|
+
initializeCalldata: string;
|
|
15500
|
+
providedSalt: string;
|
|
15501
|
+
};
|
|
15502
|
+
returns: {
|
|
15503
|
+
_0: string;
|
|
15504
|
+
};
|
|
15463
15505
|
};
|
|
15464
15506
|
};
|
|
15465
15507
|
/**
|
|
15466
|
-
* function
|
|
15467
|
-
* address
|
|
15508
|
+
* function computeERC1167Address(
|
|
15509
|
+
* address implementationContract,
|
|
15468
15510
|
* bytes32 providedSalt,
|
|
15469
15511
|
* bool initializable,
|
|
15470
|
-
* bytes
|
|
15512
|
+
* bytes initializeCalldata
|
|
15471
15513
|
* )
|
|
15472
15514
|
*
|
|
15473
|
-
*
|
|
15515
|
+
* 0xe888edcb = keccak256('computeERC1167Address(address,bytes32,bool,bytes)')
|
|
15474
15516
|
*/
|
|
15475
|
-
"
|
|
15517
|
+
"0xe888edcb": {
|
|
15476
15518
|
sig: string;
|
|
15477
15519
|
inputs: {
|
|
15478
15520
|
internalType: string;
|
|
@@ -15489,6 +15531,15 @@ export declare const FunctionSelectors: {
|
|
|
15489
15531
|
type: string;
|
|
15490
15532
|
devdoc: {
|
|
15491
15533
|
details: string;
|
|
15534
|
+
params: {
|
|
15535
|
+
implementationContract: string;
|
|
15536
|
+
initializable: string;
|
|
15537
|
+
initializeCalldata: string;
|
|
15538
|
+
providedSalt: string;
|
|
15539
|
+
};
|
|
15540
|
+
returns: {
|
|
15541
|
+
_0: string;
|
|
15542
|
+
};
|
|
15492
15543
|
};
|
|
15493
15544
|
};
|
|
15494
15545
|
/**
|
|
@@ -15516,10 +15567,17 @@ export declare const FunctionSelectors: {
|
|
|
15516
15567
|
type: string;
|
|
15517
15568
|
devdoc: {
|
|
15518
15569
|
details: string;
|
|
15570
|
+
params: {
|
|
15571
|
+
byteCode: string;
|
|
15572
|
+
providedSalt: string;
|
|
15573
|
+
};
|
|
15574
|
+
returns: {
|
|
15575
|
+
_0: string;
|
|
15576
|
+
};
|
|
15519
15577
|
};
|
|
15520
15578
|
};
|
|
15521
15579
|
/**
|
|
15522
|
-
* function
|
|
15580
|
+
* function deployCreate2AndInitialize(
|
|
15523
15581
|
* bytes byteCode,
|
|
15524
15582
|
* bytes32 providedSalt,
|
|
15525
15583
|
* bytes initializeCalldata,
|
|
@@ -15527,9 +15585,9 @@ export declare const FunctionSelectors: {
|
|
|
15527
15585
|
* uint256 initializeCalldataMsgValue
|
|
15528
15586
|
* )
|
|
15529
15587
|
*
|
|
15530
|
-
*
|
|
15588
|
+
* 0xcdbd473a = keccak256('deployCreate2AndInitialize(bytes,bytes32,bytes,uint256,uint256)')
|
|
15531
15589
|
*/
|
|
15532
|
-
"
|
|
15590
|
+
"0xcdbd473a": {
|
|
15533
15591
|
sig: string;
|
|
15534
15592
|
inputs: {
|
|
15535
15593
|
internalType: string;
|
|
@@ -15546,17 +15604,27 @@ export declare const FunctionSelectors: {
|
|
|
15546
15604
|
type: string;
|
|
15547
15605
|
devdoc: {
|
|
15548
15606
|
details: string;
|
|
15607
|
+
params: {
|
|
15608
|
+
byteCode: string;
|
|
15609
|
+
constructorMsgValue: string;
|
|
15610
|
+
initializeCalldata: string;
|
|
15611
|
+
initializeCalldataMsgValue: string;
|
|
15612
|
+
providedSalt: string;
|
|
15613
|
+
};
|
|
15614
|
+
returns: {
|
|
15615
|
+
_0: string;
|
|
15616
|
+
};
|
|
15549
15617
|
};
|
|
15550
15618
|
};
|
|
15551
15619
|
/**
|
|
15552
|
-
* function
|
|
15553
|
-
* address
|
|
15620
|
+
* function deployERC1167Proxy(
|
|
15621
|
+
* address implementationContract,
|
|
15554
15622
|
* bytes32 providedSalt
|
|
15555
15623
|
* )
|
|
15556
15624
|
*
|
|
15557
|
-
*
|
|
15625
|
+
* 0x49d8abed = keccak256('deployERC1167Proxy(address,bytes32)')
|
|
15558
15626
|
*/
|
|
15559
|
-
"
|
|
15627
|
+
"0x49d8abed": {
|
|
15560
15628
|
sig: string;
|
|
15561
15629
|
inputs: {
|
|
15562
15630
|
internalType: string;
|
|
@@ -15573,18 +15641,25 @@ export declare const FunctionSelectors: {
|
|
|
15573
15641
|
type: string;
|
|
15574
15642
|
devdoc: {
|
|
15575
15643
|
details: string;
|
|
15644
|
+
params: {
|
|
15645
|
+
implementationContract: string;
|
|
15646
|
+
providedSalt: string;
|
|
15647
|
+
};
|
|
15648
|
+
returns: {
|
|
15649
|
+
_0: string;
|
|
15650
|
+
};
|
|
15576
15651
|
};
|
|
15577
15652
|
};
|
|
15578
15653
|
/**
|
|
15579
|
-
* function
|
|
15580
|
-
* address
|
|
15654
|
+
* function deployERC1167ProxyAndInitialize(
|
|
15655
|
+
* address implementationContract,
|
|
15581
15656
|
* bytes32 providedSalt,
|
|
15582
15657
|
* bytes initializeCalldata
|
|
15583
15658
|
* )
|
|
15584
15659
|
*
|
|
15585
|
-
*
|
|
15660
|
+
* 0x5340165f = keccak256('deployERC1167ProxyAndInitialize(address,bytes32,bytes)')
|
|
15586
15661
|
*/
|
|
15587
|
-
"
|
|
15662
|
+
"0x5340165f": {
|
|
15588
15663
|
sig: string;
|
|
15589
15664
|
inputs: {
|
|
15590
15665
|
internalType: string;
|
|
@@ -15601,18 +15676,26 @@ export declare const FunctionSelectors: {
|
|
|
15601
15676
|
type: string;
|
|
15602
15677
|
devdoc: {
|
|
15603
15678
|
details: string;
|
|
15679
|
+
params: {
|
|
15680
|
+
implementationContract: string;
|
|
15681
|
+
initializeCalldata: string;
|
|
15682
|
+
providedSalt: string;
|
|
15683
|
+
};
|
|
15684
|
+
returns: {
|
|
15685
|
+
_0: string;
|
|
15686
|
+
};
|
|
15604
15687
|
};
|
|
15605
15688
|
};
|
|
15606
15689
|
/**
|
|
15607
15690
|
* function generateSalt(
|
|
15691
|
+
* bytes32 providedSalt,
|
|
15608
15692
|
* bool initializable,
|
|
15609
|
-
* bytes
|
|
15610
|
-
* bytes32 providedSalt
|
|
15693
|
+
* bytes initializeCalldata
|
|
15611
15694
|
* )
|
|
15612
15695
|
*
|
|
15613
|
-
*
|
|
15696
|
+
* 0x1a17ccbf = keccak256('generateSalt(bytes32,bool,bytes)')
|
|
15614
15697
|
*/
|
|
15615
|
-
"
|
|
15698
|
+
"0x1a17ccbf": {
|
|
15616
15699
|
sig: string;
|
|
15617
15700
|
inputs: {
|
|
15618
15701
|
internalType: string;
|
|
@@ -15629,6 +15712,14 @@ export declare const FunctionSelectors: {
|
|
|
15629
15712
|
type: string;
|
|
15630
15713
|
devdoc: {
|
|
15631
15714
|
details: string;
|
|
15715
|
+
params: {
|
|
15716
|
+
initializable: string;
|
|
15717
|
+
initializeCalldata: string;
|
|
15718
|
+
providedSalt: string;
|
|
15719
|
+
};
|
|
15720
|
+
returns: {
|
|
15721
|
+
_0: string;
|
|
15722
|
+
};
|
|
15632
15723
|
};
|
|
15633
15724
|
};
|
|
15634
15725
|
};
|
|
@@ -30538,6 +30629,7 @@ export declare const FunctionSelectors: {
|
|
|
30538
30629
|
stateMutability: string;
|
|
30539
30630
|
type: string;
|
|
30540
30631
|
devdoc: {
|
|
30632
|
+
"custom:requirements": string;
|
|
30541
30633
|
details: string;
|
|
30542
30634
|
};
|
|
30543
30635
|
userdoc: {
|
|
@@ -30602,6 +30694,8 @@ export declare const FunctionSelectors: {
|
|
|
30602
30694
|
stateMutability: string;
|
|
30603
30695
|
type: string;
|
|
30604
30696
|
devdoc: {
|
|
30697
|
+
"custom:events": string;
|
|
30698
|
+
"custom:requirements": string;
|
|
30605
30699
|
details: string;
|
|
30606
30700
|
params: {
|
|
30607
30701
|
data: string;
|
|
@@ -30637,6 +30731,8 @@ export declare const FunctionSelectors: {
|
|
|
30637
30731
|
stateMutability: string;
|
|
30638
30732
|
type: string;
|
|
30639
30733
|
devdoc: {
|
|
30734
|
+
"custom:events": string;
|
|
30735
|
+
"custom:requirements": string;
|
|
30640
30736
|
details: string;
|
|
30641
30737
|
params: {
|
|
30642
30738
|
datas: string;
|
|
@@ -30804,6 +30900,7 @@ export declare const FunctionSelectors: {
|
|
|
30804
30900
|
stateMutability: string;
|
|
30805
30901
|
type: string;
|
|
30806
30902
|
devdoc: {
|
|
30903
|
+
"custom:danger": string;
|
|
30807
30904
|
details: string;
|
|
30808
30905
|
};
|
|
30809
30906
|
userdoc: {
|
|
@@ -30830,6 +30927,8 @@ export declare const FunctionSelectors: {
|
|
|
30830
30927
|
stateMutability: string;
|
|
30831
30928
|
type: string;
|
|
30832
30929
|
devdoc: {
|
|
30930
|
+
"custom:events": string;
|
|
30931
|
+
"custom:requirements": string;
|
|
30833
30932
|
details: string;
|
|
30834
30933
|
params: {
|
|
30835
30934
|
dataKey: string;
|
|
@@ -30857,6 +30956,8 @@ export declare const FunctionSelectors: {
|
|
|
30857
30956
|
stateMutability: string;
|
|
30858
30957
|
type: string;
|
|
30859
30958
|
devdoc: {
|
|
30959
|
+
"custom:events": string;
|
|
30960
|
+
"custom:requirements": string;
|
|
30860
30961
|
details: string;
|
|
30861
30962
|
params: {
|
|
30862
30963
|
dataKeys: string;
|
|
@@ -30895,7 +30996,7 @@ export declare const FunctionSelectors: {
|
|
|
30895
30996
|
};
|
|
30896
30997
|
/**
|
|
30897
30998
|
* function transferOwnership(
|
|
30898
|
-
* address
|
|
30999
|
+
* address pendingNewOwner
|
|
30899
31000
|
* )
|
|
30900
31001
|
*
|
|
30901
31002
|
* 0xf2fde38b = keccak256('transferOwnership(address)')
|
|
@@ -30912,9 +31013,10 @@ export declare const FunctionSelectors: {
|
|
|
30912
31013
|
stateMutability: string;
|
|
30913
31014
|
type: string;
|
|
30914
31015
|
devdoc: {
|
|
31016
|
+
"custom:requirements": string;
|
|
30915
31017
|
details: string;
|
|
30916
31018
|
params: {
|
|
30917
|
-
|
|
31019
|
+
pendingNewOwner: string;
|
|
30918
31020
|
};
|
|
30919
31021
|
};
|
|
30920
31022
|
userdoc: {
|
|
@@ -30945,6 +31047,7 @@ export declare const FunctionSelectors: {
|
|
|
30945
31047
|
stateMutability: string;
|
|
30946
31048
|
type: string;
|
|
30947
31049
|
devdoc: {
|
|
31050
|
+
"custom:events": string;
|
|
30948
31051
|
details: string;
|
|
30949
31052
|
params: {
|
|
30950
31053
|
receivedData: string;
|
|
@@ -31007,6 +31110,7 @@ export declare const FunctionSelectors: {
|
|
|
31007
31110
|
stateMutability: string;
|
|
31008
31111
|
type: string;
|
|
31009
31112
|
devdoc: {
|
|
31113
|
+
"custom:requirements": string;
|
|
31010
31114
|
details: string;
|
|
31011
31115
|
};
|
|
31012
31116
|
userdoc: {
|
|
@@ -31071,6 +31175,8 @@ export declare const FunctionSelectors: {
|
|
|
31071
31175
|
stateMutability: string;
|
|
31072
31176
|
type: string;
|
|
31073
31177
|
devdoc: {
|
|
31178
|
+
"custom:events": string;
|
|
31179
|
+
"custom:requirements": string;
|
|
31074
31180
|
details: string;
|
|
31075
31181
|
params: {
|
|
31076
31182
|
data: string;
|
|
@@ -31106,6 +31212,8 @@ export declare const FunctionSelectors: {
|
|
|
31106
31212
|
stateMutability: string;
|
|
31107
31213
|
type: string;
|
|
31108
31214
|
devdoc: {
|
|
31215
|
+
"custom:events": string;
|
|
31216
|
+
"custom:requirements": string;
|
|
31109
31217
|
details: string;
|
|
31110
31218
|
params: {
|
|
31111
31219
|
datas: string;
|
|
@@ -31185,7 +31293,7 @@ export declare const FunctionSelectors: {
|
|
|
31185
31293
|
};
|
|
31186
31294
|
/**
|
|
31187
31295
|
* function initialize(
|
|
31188
|
-
* address
|
|
31296
|
+
* address initialOwner
|
|
31189
31297
|
* )
|
|
31190
31298
|
*
|
|
31191
31299
|
* 0xc4d66de8 = keccak256('initialize(address)')
|
|
@@ -31202,8 +31310,9 @@ export declare const FunctionSelectors: {
|
|
|
31202
31310
|
stateMutability: string;
|
|
31203
31311
|
type: string;
|
|
31204
31312
|
devdoc: {
|
|
31313
|
+
details: string;
|
|
31205
31314
|
params: {
|
|
31206
|
-
|
|
31315
|
+
initialOwner: string;
|
|
31207
31316
|
};
|
|
31208
31317
|
};
|
|
31209
31318
|
userdoc: {
|
|
@@ -31300,6 +31409,7 @@ export declare const FunctionSelectors: {
|
|
|
31300
31409
|
stateMutability: string;
|
|
31301
31410
|
type: string;
|
|
31302
31411
|
devdoc: {
|
|
31412
|
+
"custom:danger": string;
|
|
31303
31413
|
details: string;
|
|
31304
31414
|
};
|
|
31305
31415
|
userdoc: {
|
|
@@ -31326,6 +31436,8 @@ export declare const FunctionSelectors: {
|
|
|
31326
31436
|
stateMutability: string;
|
|
31327
31437
|
type: string;
|
|
31328
31438
|
devdoc: {
|
|
31439
|
+
"custom:events": string;
|
|
31440
|
+
"custom:requirements": string;
|
|
31329
31441
|
details: string;
|
|
31330
31442
|
params: {
|
|
31331
31443
|
dataKey: string;
|
|
@@ -31353,6 +31465,8 @@ export declare const FunctionSelectors: {
|
|
|
31353
31465
|
stateMutability: string;
|
|
31354
31466
|
type: string;
|
|
31355
31467
|
devdoc: {
|
|
31468
|
+
"custom:events": string;
|
|
31469
|
+
"custom:requirements": string;
|
|
31356
31470
|
details: string;
|
|
31357
31471
|
params: {
|
|
31358
31472
|
dataKeys: string;
|
|
@@ -31391,7 +31505,7 @@ export declare const FunctionSelectors: {
|
|
|
31391
31505
|
};
|
|
31392
31506
|
/**
|
|
31393
31507
|
* function transferOwnership(
|
|
31394
|
-
* address
|
|
31508
|
+
* address pendingNewOwner
|
|
31395
31509
|
* )
|
|
31396
31510
|
*
|
|
31397
31511
|
* 0xf2fde38b = keccak256('transferOwnership(address)')
|
|
@@ -31408,9 +31522,10 @@ export declare const FunctionSelectors: {
|
|
|
31408
31522
|
stateMutability: string;
|
|
31409
31523
|
type: string;
|
|
31410
31524
|
devdoc: {
|
|
31525
|
+
"custom:requirements": string;
|
|
31411
31526
|
details: string;
|
|
31412
31527
|
params: {
|
|
31413
|
-
|
|
31528
|
+
pendingNewOwner: string;
|
|
31414
31529
|
};
|
|
31415
31530
|
};
|
|
31416
31531
|
userdoc: {
|
|
@@ -31441,6 +31556,7 @@ export declare const FunctionSelectors: {
|
|
|
31441
31556
|
stateMutability: string;
|
|
31442
31557
|
type: string;
|
|
31443
31558
|
devdoc: {
|
|
31559
|
+
"custom:events": string;
|
|
31444
31560
|
details: string;
|
|
31445
31561
|
params: {
|
|
31446
31562
|
receivedData: string;
|
|
@@ -31458,6 +31574,20 @@ export declare const FunctionSelectors: {
|
|
|
31458
31574
|
};
|
|
31459
31575
|
export declare const ContractsDocs: {};
|
|
31460
31576
|
export declare const StateVariables: {
|
|
31577
|
+
LSP16UniversalFactory: {
|
|
31578
|
+
/**
|
|
31579
|
+
* stateVariable _EMPTY_BYTE()
|
|
31580
|
+
*
|
|
31581
|
+
* 0x3bc60789 = keccak256('_EMPTY_BYTE()')
|
|
31582
|
+
*/
|
|
31583
|
+
"0x3bc60789": {
|
|
31584
|
+
sig: string;
|
|
31585
|
+
type: string;
|
|
31586
|
+
devdoc: {
|
|
31587
|
+
details: string;
|
|
31588
|
+
};
|
|
31589
|
+
};
|
|
31590
|
+
};
|
|
31461
31591
|
LSP8CompatibleERC721: {
|
|
31462
31592
|
/**
|
|
31463
31593
|
* stateVariable _operatorApprovals()
|
|
@@ -31615,7 +31745,7 @@ export declare const ERC725YDataKeys: {
|
|
|
31615
31745
|
* @dev LSP6 version number for signing `executeRelayCall(...)` transaction using EIP191
|
|
31616
31746
|
* @see for details see: https://github.com/lukso-network/LIPs/blob/main/LSPs/LSP-6-KeyManager.md#executerelaycall
|
|
31617
31747
|
*/
|
|
31618
|
-
export declare const LSP6_VERSION
|
|
31748
|
+
export declare const LSP6_VERSION = 6;
|
|
31619
31749
|
/**
|
|
31620
31750
|
* @dev The types of calls for an AllowedCall
|
|
31621
31751
|
*/
|
|
@@ -31628,7 +31758,7 @@ export declare const CALLTYPE: {
|
|
|
31628
31758
|
/**
|
|
31629
31759
|
* @dev `bytes32` hex value for all the LSP6 permissions excluding REENTRANCY, DELEGATECALL and SUPER_DELEGATECALL for security (these should be set manually)
|
|
31630
31760
|
*/
|
|
31631
|
-
export declare const ALL_PERMISSIONS
|
|
31761
|
+
export declare const ALL_PERMISSIONS = "0x00000000000000000000000000000000000000000000000000000000003f3f7f";
|
|
31632
31762
|
export type LSP6PermissionName = keyof typeof PERMISSIONS;
|
|
31633
31763
|
/**
|
|
31634
31764
|
* @dev List of `bytes32` permissions from LSP6 Key Manager Standard
|