@nevermined-io/core-kit 0.0.27 → 0.0.28
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/dist/artifacts/generated.d.ts +2207 -109
- package/dist/artifacts/generated.d.ts.map +1 -1
- package/dist/artifacts/generated.js +903 -90
- package/dist/contracts/NFT1155ExpirableCredits.js +3 -3
- package/dist/models/NvmApiKey.d.ts +1 -1
- package/dist/models/NvmApiKey.d.ts.map +1 -1
- package/dist/models/NvmApiKey.js +2 -1
- package/package.json +1 -1
|
@@ -809,7 +809,7 @@ export const accessManagerAbi = [
|
|
|
809
809
|
name: 'SafeCastOverflowedUintDowncast',
|
|
810
810
|
},
|
|
811
811
|
];
|
|
812
|
-
export const accessManagerAddress = '
|
|
812
|
+
export const accessManagerAddress = '0x1DDb088818d2eDfe5F1a57789250E1d1210991d2';
|
|
813
813
|
export const accessManagerConfig = {
|
|
814
814
|
address: accessManagerAddress,
|
|
815
815
|
abi: accessManagerAbi,
|
|
@@ -1195,7 +1195,7 @@ export const agreementsStoreAbi = [
|
|
|
1195
1195
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
1196
1196
|
},
|
|
1197
1197
|
];
|
|
1198
|
-
export const agreementsStoreAddress = '
|
|
1198
|
+
export const agreementsStoreAddress = '0x8e870857Aba6d0123a6f4fe0316cF0942425540f';
|
|
1199
1199
|
export const agreementsStoreConfig = {
|
|
1200
1200
|
address: agreementsStoreAddress,
|
|
1201
1201
|
abi: agreementsStoreAbi,
|
|
@@ -2712,7 +2712,7 @@ export const assetsRegistryAbi = [
|
|
|
2712
2712
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
2713
2713
|
},
|
|
2714
2714
|
];
|
|
2715
|
-
export const assetsRegistryAddress = '
|
|
2715
|
+
export const assetsRegistryAddress = '0xc45C70D2B12ec0a2f79c687c613bcce448C7b8f3';
|
|
2716
2716
|
export const assetsRegistryConfig = {
|
|
2717
2717
|
address: assetsRegistryAddress,
|
|
2718
2718
|
abi: assetsRegistryAbi,
|
|
@@ -4436,6 +4436,60 @@ export const baseTestAbi = [
|
|
|
4436
4436
|
},
|
|
4437
4437
|
];
|
|
4438
4438
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4439
|
+
// ConfigureAll
|
|
4440
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4441
|
+
export const configureAllAbi = [
|
|
4442
|
+
{
|
|
4443
|
+
type: 'function',
|
|
4444
|
+
inputs: [],
|
|
4445
|
+
name: 'IS_SCRIPT',
|
|
4446
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
4447
|
+
stateMutability: 'view',
|
|
4448
|
+
},
|
|
4449
|
+
{
|
|
4450
|
+
type: 'function',
|
|
4451
|
+
inputs: [],
|
|
4452
|
+
name: 'debug',
|
|
4453
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
4454
|
+
stateMutability: 'view',
|
|
4455
|
+
},
|
|
4456
|
+
{
|
|
4457
|
+
type: 'function',
|
|
4458
|
+
inputs: [],
|
|
4459
|
+
name: 'feeReceiver',
|
|
4460
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4461
|
+
stateMutability: 'view',
|
|
4462
|
+
},
|
|
4463
|
+
{
|
|
4464
|
+
type: 'function',
|
|
4465
|
+
inputs: [],
|
|
4466
|
+
name: 'governor',
|
|
4467
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4468
|
+
stateMutability: 'view',
|
|
4469
|
+
},
|
|
4470
|
+
{
|
|
4471
|
+
type: 'function',
|
|
4472
|
+
inputs: [],
|
|
4473
|
+
name: 'networkFee',
|
|
4474
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
4475
|
+
stateMutability: 'view',
|
|
4476
|
+
},
|
|
4477
|
+
{
|
|
4478
|
+
type: 'function',
|
|
4479
|
+
inputs: [],
|
|
4480
|
+
name: 'owner',
|
|
4481
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4482
|
+
stateMutability: 'view',
|
|
4483
|
+
},
|
|
4484
|
+
{
|
|
4485
|
+
type: 'function',
|
|
4486
|
+
inputs: [],
|
|
4487
|
+
name: 'run',
|
|
4488
|
+
outputs: [],
|
|
4489
|
+
stateMutability: 'nonpayable',
|
|
4490
|
+
},
|
|
4491
|
+
];
|
|
4492
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4439
4493
|
// ContextUpgradeable
|
|
4440
4494
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4441
4495
|
export const contextUpgradeableAbi = [
|
|
@@ -4695,6 +4749,11 @@ export const deployAllAbi = [
|
|
|
4695
4749
|
internalType: 'contract NFT1155ExpirableCredits',
|
|
4696
4750
|
type: 'address',
|
|
4697
4751
|
},
|
|
4752
|
+
{
|
|
4753
|
+
name: 'nftExpirableCreditsV2',
|
|
4754
|
+
internalType: 'contract NFT1155ExpirableCreditsV2',
|
|
4755
|
+
type: 'address',
|
|
4756
|
+
},
|
|
4698
4757
|
{
|
|
4699
4758
|
name: 'lockPaymentCondition',
|
|
4700
4759
|
internalType: 'contract LockPaymentCondition',
|
|
@@ -5915,6 +5974,44 @@ export const deployNftContractsAbi = [
|
|
|
5915
5974
|
],
|
|
5916
5975
|
stateMutability: 'nonpayable',
|
|
5917
5976
|
},
|
|
5977
|
+
{
|
|
5978
|
+
type: 'function',
|
|
5979
|
+
inputs: [
|
|
5980
|
+
{
|
|
5981
|
+
name: 'accessManagerAddress',
|
|
5982
|
+
internalType: 'contract IAccessManager',
|
|
5983
|
+
type: 'address',
|
|
5984
|
+
},
|
|
5985
|
+
{
|
|
5986
|
+
name: 'assetsRegistryAddress',
|
|
5987
|
+
internalType: 'contract IAsset',
|
|
5988
|
+
type: 'address',
|
|
5989
|
+
},
|
|
5990
|
+
{
|
|
5991
|
+
name: 'nftExpirableCreditsV2Salt',
|
|
5992
|
+
internalType: 'struct UpgradeableContractDeploySalt',
|
|
5993
|
+
type: 'tuple',
|
|
5994
|
+
components: [
|
|
5995
|
+
{ name: 'proxySalt', internalType: 'bytes32', type: 'bytes32' },
|
|
5996
|
+
{
|
|
5997
|
+
name: 'implementationSalt',
|
|
5998
|
+
internalType: 'bytes32',
|
|
5999
|
+
type: 'bytes32',
|
|
6000
|
+
},
|
|
6001
|
+
],
|
|
6002
|
+
},
|
|
6003
|
+
{ name: 'revertIfAlreadyDeployed', internalType: 'bool', type: 'bool' },
|
|
6004
|
+
],
|
|
6005
|
+
name: 'deployNFT1155ExpirableCreditsV2',
|
|
6006
|
+
outputs: [
|
|
6007
|
+
{
|
|
6008
|
+
name: 'nftExpirableCreditsV2',
|
|
6009
|
+
internalType: 'contract NFT1155ExpirableCreditsV2',
|
|
6010
|
+
type: 'address',
|
|
6011
|
+
},
|
|
6012
|
+
],
|
|
6013
|
+
stateMutability: 'nonpayable',
|
|
6014
|
+
},
|
|
5918
6015
|
{
|
|
5919
6016
|
type: 'function',
|
|
5920
6017
|
inputs: [],
|
|
@@ -5983,6 +6080,19 @@ export const deployNftContractsAbi = [
|
|
|
5983
6080
|
},
|
|
5984
6081
|
],
|
|
5985
6082
|
},
|
|
6083
|
+
{
|
|
6084
|
+
name: 'nftExpirableCreditsV2Salt',
|
|
6085
|
+
internalType: 'struct UpgradeableContractDeploySalt',
|
|
6086
|
+
type: 'tuple',
|
|
6087
|
+
components: [
|
|
6088
|
+
{ name: 'proxySalt', internalType: 'bytes32', type: 'bytes32' },
|
|
6089
|
+
{
|
|
6090
|
+
name: 'implementationSalt',
|
|
6091
|
+
internalType: 'bytes32',
|
|
6092
|
+
type: 'bytes32',
|
|
6093
|
+
},
|
|
6094
|
+
],
|
|
6095
|
+
},
|
|
5986
6096
|
{ name: 'revertIfAlreadyDeployed', internalType: 'bool', type: 'bool' },
|
|
5987
6097
|
],
|
|
5988
6098
|
name: 'run',
|
|
@@ -5993,6 +6103,11 @@ export const deployNftContractsAbi = [
|
|
|
5993
6103
|
internalType: 'contract NFT1155ExpirableCredits',
|
|
5994
6104
|
type: 'address',
|
|
5995
6105
|
},
|
|
6106
|
+
{
|
|
6107
|
+
name: '',
|
|
6108
|
+
internalType: 'contract NFT1155ExpirableCreditsV2',
|
|
6109
|
+
type: 'address',
|
|
6110
|
+
},
|
|
5996
6111
|
],
|
|
5997
6112
|
stateMutability: 'nonpayable',
|
|
5998
6113
|
},
|
|
@@ -6027,6 +6142,11 @@ export const deployNftContractsAbi = [
|
|
|
6027
6142
|
inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
|
|
6028
6143
|
name: 'NFT1155ExpirableCreditsDeployment_InvalidAuthority',
|
|
6029
6144
|
},
|
|
6145
|
+
{
|
|
6146
|
+
type: 'error',
|
|
6147
|
+
inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
|
|
6148
|
+
name: 'NFT1155ExpirableCreditsV2Deployment_InvalidAuthority',
|
|
6149
|
+
},
|
|
6030
6150
|
{
|
|
6031
6151
|
type: 'error',
|
|
6032
6152
|
inputs: [
|
|
@@ -6696,7 +6816,7 @@ export const distributePaymentsConditionAbi = [
|
|
|
6696
6816
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
6697
6817
|
},
|
|
6698
6818
|
];
|
|
6699
|
-
export const distributePaymentsConditionAddress = '
|
|
6819
|
+
export const distributePaymentsConditionAddress = '0x40652c6C1E258CD2EBC6b84179c62FE4A5cBD25f';
|
|
6700
6820
|
export const distributePaymentsConditionConfig = {
|
|
6701
6821
|
address: distributePaymentsConditionAddress,
|
|
6702
6822
|
abi: distributePaymentsConditionAbi,
|
|
@@ -7540,7 +7660,7 @@ export const fiatPaymentTemplateAbi = [
|
|
|
7540
7660
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
7541
7661
|
},
|
|
7542
7662
|
];
|
|
7543
|
-
export const fiatPaymentTemplateAddress = '
|
|
7663
|
+
export const fiatPaymentTemplateAddress = '0x74B83f32eC22fE0e64C2B9938aA37FEdF3D390D4';
|
|
7544
7664
|
export const fiatPaymentTemplateConfig = {
|
|
7545
7665
|
address: fiatPaymentTemplateAddress,
|
|
7546
7666
|
abi: fiatPaymentTemplateAbi,
|
|
@@ -7790,7 +7910,7 @@ export const fiatSettlementConditionAbi = [
|
|
|
7790
7910
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
7791
7911
|
},
|
|
7792
7912
|
];
|
|
7793
|
-
export const fiatSettlementConditionAddress = '
|
|
7913
|
+
export const fiatSettlementConditionAddress = '0x42aDd5e0C20FCD6c73762a1a35860C876E2E06B5';
|
|
7794
7914
|
export const fiatSettlementConditionConfig = {
|
|
7795
7915
|
address: fiatSettlementConditionAddress,
|
|
7796
7916
|
abi: fiatSettlementConditionAbi,
|
|
@@ -8042,7 +8162,7 @@ export const fixedPaymentTemplateAbi = [
|
|
|
8042
8162
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
8043
8163
|
},
|
|
8044
8164
|
];
|
|
8045
|
-
export const fixedPaymentTemplateAddress = '
|
|
8165
|
+
export const fixedPaymentTemplateAddress = '0xB53c88df92bdc06d18F018fBebcFAc613c82a4a4';
|
|
8046
8166
|
export const fixedPaymentTemplateConfig = {
|
|
8047
8167
|
address: fixedPaymentTemplateAddress,
|
|
8048
8168
|
abi: fixedPaymentTemplateAbi,
|
|
@@ -10167,31 +10287,6 @@ export const ierc20MetadataAbi = [
|
|
|
10167
10287
|
},
|
|
10168
10288
|
];
|
|
10169
10289
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
10170
|
-
// IERC2981
|
|
10171
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
10172
|
-
export const ierc2981Abi = [
|
|
10173
|
-
{
|
|
10174
|
-
type: 'function',
|
|
10175
|
-
inputs: [
|
|
10176
|
-
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
10177
|
-
{ name: 'salePrice', internalType: 'uint256', type: 'uint256' },
|
|
10178
|
-
],
|
|
10179
|
-
name: 'royaltyInfo',
|
|
10180
|
-
outputs: [
|
|
10181
|
-
{ name: 'receiver', internalType: 'address', type: 'address' },
|
|
10182
|
-
{ name: 'royaltyAmount', internalType: 'uint256', type: 'uint256' },
|
|
10183
|
-
],
|
|
10184
|
-
stateMutability: 'view',
|
|
10185
|
-
},
|
|
10186
|
-
{
|
|
10187
|
-
type: 'function',
|
|
10188
|
-
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
10189
|
-
name: 'supportsInterface',
|
|
10190
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
10191
|
-
stateMutability: 'view',
|
|
10192
|
-
},
|
|
10193
|
-
];
|
|
10194
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
10195
10290
|
// IERC5267
|
|
10196
10291
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
10197
10292
|
export const ierc5267Abi = [
|
|
@@ -11396,7 +11491,7 @@ export const lockPaymentConditionAbi = [
|
|
|
11396
11491
|
name: 'UnsupportedPriceTypeOption',
|
|
11397
11492
|
},
|
|
11398
11493
|
];
|
|
11399
|
-
export const lockPaymentConditionAddress = '
|
|
11494
|
+
export const lockPaymentConditionAddress = '0x69743e22cAAF1A14B927529635813e42E4b2ed2d';
|
|
11400
11495
|
export const lockPaymentConditionConfig = {
|
|
11401
11496
|
address: lockPaymentConditionAddress,
|
|
11402
11497
|
abi: lockPaymentConditionAbi,
|
|
@@ -11488,6 +11583,11 @@ export const managePermissionsAbi = [
|
|
|
11488
11583
|
internalType: 'contract NFT1155ExpirableCredits',
|
|
11489
11584
|
type: 'address',
|
|
11490
11585
|
},
|
|
11586
|
+
{
|
|
11587
|
+
name: 'nftExpirableCreditsV2',
|
|
11588
|
+
internalType: 'contract NFT1155ExpirableCreditsV2',
|
|
11589
|
+
type: 'address',
|
|
11590
|
+
},
|
|
11491
11591
|
{
|
|
11492
11592
|
name: 'lockPaymentCondition',
|
|
11493
11593
|
internalType: 'contract LockPaymentCondition',
|
|
@@ -12615,7 +12715,7 @@ export const nft1155CreditsAbi = [
|
|
|
12615
12715
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
12616
12716
|
},
|
|
12617
12717
|
];
|
|
12618
|
-
export const nft1155CreditsAddress = '
|
|
12718
|
+
export const nft1155CreditsAddress = '0xa37DAe507dD1bb426De19f330605f98b148319FB';
|
|
12619
12719
|
export const nft1155CreditsConfig = {
|
|
12620
12720
|
address: nft1155CreditsAddress,
|
|
12621
12721
|
abi: nft1155CreditsAbi,
|
|
@@ -13777,15 +13877,15 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
13777
13877
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
13778
13878
|
},
|
|
13779
13879
|
];
|
|
13780
|
-
export const nft1155ExpirableCreditsAddress = '
|
|
13880
|
+
export const nft1155ExpirableCreditsAddress = '0xaDD09CeBAC628cC7489C8266D6e25Bd1B8Ff0025';
|
|
13781
13881
|
export const nft1155ExpirableCreditsConfig = {
|
|
13782
13882
|
address: nft1155ExpirableCreditsAddress,
|
|
13783
13883
|
abi: nft1155ExpirableCreditsAbi,
|
|
13784
13884
|
};
|
|
13785
13885
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
13786
|
-
//
|
|
13886
|
+
// NFT1155ExpirableCreditsMock
|
|
13787
13887
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
13788
|
-
export const
|
|
13888
|
+
export const nft1155ExpirableCreditsMockAbi = [
|
|
13789
13889
|
{
|
|
13790
13890
|
type: 'function',
|
|
13791
13891
|
inputs: [],
|
|
@@ -14402,9 +14502,9 @@ export const nft1155ExpirableCreditsV2Abi = [
|
|
|
14402
14502
|
},
|
|
14403
14503
|
];
|
|
14404
14504
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
14405
|
-
//
|
|
14505
|
+
// NFT1155ExpirableCreditsV2
|
|
14406
14506
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
14407
|
-
export const
|
|
14507
|
+
export const nft1155ExpirableCreditsV2Abi = [
|
|
14408
14508
|
{
|
|
14409
14509
|
type: 'function',
|
|
14410
14510
|
inputs: [],
|
|
@@ -14421,36 +14521,81 @@ export const nvmConfigAbi = [
|
|
|
14421
14521
|
},
|
|
14422
14522
|
{
|
|
14423
14523
|
type: 'function',
|
|
14424
|
-
inputs: [
|
|
14425
|
-
|
|
14524
|
+
inputs: [
|
|
14525
|
+
{ name: '_owner', internalType: 'address', type: 'address' },
|
|
14526
|
+
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
14527
|
+
],
|
|
14528
|
+
name: 'balanceOf',
|
|
14529
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
14530
|
+
stateMutability: 'view',
|
|
14531
|
+
},
|
|
14532
|
+
{
|
|
14533
|
+
type: 'function',
|
|
14534
|
+
inputs: [
|
|
14535
|
+
{ name: '_owners', internalType: 'address[]', type: 'address[]' },
|
|
14536
|
+
{ name: '_ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14537
|
+
],
|
|
14538
|
+
name: 'balanceOfBatch',
|
|
14539
|
+
outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
14540
|
+
stateMutability: 'view',
|
|
14541
|
+
},
|
|
14542
|
+
{
|
|
14543
|
+
type: 'function',
|
|
14544
|
+
inputs: [
|
|
14545
|
+
{ name: '_from', internalType: 'address', type: 'address' },
|
|
14546
|
+
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
14547
|
+
{ name: '_value', internalType: 'uint256', type: 'uint256' },
|
|
14548
|
+
{ name: '_keyspace', internalType: 'uint256', type: 'uint256' },
|
|
14549
|
+
{ name: '_signature', internalType: 'bytes', type: 'bytes' },
|
|
14550
|
+
],
|
|
14551
|
+
name: 'burn',
|
|
14426
14552
|
outputs: [],
|
|
14427
14553
|
stateMutability: 'nonpayable',
|
|
14428
14554
|
},
|
|
14429
14555
|
{
|
|
14430
14556
|
type: 'function',
|
|
14431
|
-
inputs: [
|
|
14432
|
-
|
|
14433
|
-
|
|
14434
|
-
{ name: '', internalType: '
|
|
14557
|
+
inputs: [
|
|
14558
|
+
{ name: '_from', internalType: 'address', type: 'address' },
|
|
14559
|
+
{ name: '_ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14560
|
+
{ name: '_values', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14561
|
+
{ name: '_keyspace', internalType: 'uint256', type: 'uint256' },
|
|
14562
|
+
{ name: '_signature', internalType: 'bytes', type: 'bytes' },
|
|
14435
14563
|
],
|
|
14436
|
-
|
|
14564
|
+
name: 'burnBatch',
|
|
14565
|
+
outputs: [],
|
|
14566
|
+
stateMutability: 'nonpayable',
|
|
14437
14567
|
},
|
|
14438
14568
|
{
|
|
14439
14569
|
type: 'function',
|
|
14440
14570
|
inputs: [],
|
|
14441
|
-
name: '
|
|
14442
|
-
outputs: [
|
|
14571
|
+
name: 'eip712Domain',
|
|
14572
|
+
outputs: [
|
|
14573
|
+
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
14574
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
14575
|
+
{ name: 'version', internalType: 'string', type: 'string' },
|
|
14576
|
+
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
14577
|
+
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
14578
|
+
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
14579
|
+
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14580
|
+
],
|
|
14443
14581
|
stateMutability: 'view',
|
|
14444
14582
|
},
|
|
14445
14583
|
{
|
|
14446
14584
|
type: 'function',
|
|
14447
|
-
inputs: [
|
|
14448
|
-
|
|
14449
|
-
|
|
14450
|
-
|
|
14451
|
-
|
|
14452
|
-
|
|
14585
|
+
inputs: [
|
|
14586
|
+
{
|
|
14587
|
+
name: '_proof',
|
|
14588
|
+
internalType: 'struct INFT1155.CreditsBurnProofData',
|
|
14589
|
+
type: 'tuple',
|
|
14590
|
+
components: [
|
|
14591
|
+
{ name: 'keyspace', internalType: 'uint256', type: 'uint256' },
|
|
14592
|
+
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
14593
|
+
{ name: 'planIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14594
|
+
],
|
|
14595
|
+
},
|
|
14453
14596
|
],
|
|
14597
|
+
name: 'hashCreditsBurnProof',
|
|
14598
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
14454
14599
|
stateMutability: 'view',
|
|
14455
14600
|
},
|
|
14456
14601
|
{
|
|
@@ -14462,65 +14607,662 @@ export const nvmConfigAbi = [
|
|
|
14462
14607
|
type: 'address',
|
|
14463
14608
|
},
|
|
14464
14609
|
{
|
|
14465
|
-
name: '
|
|
14466
|
-
internalType: 'contract
|
|
14610
|
+
name: '_assetsRegistryAddress',
|
|
14611
|
+
internalType: 'contract IAsset',
|
|
14467
14612
|
type: 'address',
|
|
14468
14613
|
},
|
|
14614
|
+
{ name: '', internalType: 'string', type: 'string' },
|
|
14615
|
+
{ name: '', internalType: 'string', type: 'string' },
|
|
14469
14616
|
],
|
|
14470
14617
|
name: 'initialize',
|
|
14471
14618
|
outputs: [],
|
|
14472
14619
|
stateMutability: 'nonpayable',
|
|
14473
14620
|
},
|
|
14474
|
-
{
|
|
14475
|
-
type: 'function',
|
|
14476
|
-
inputs: [],
|
|
14477
|
-
name: 'isConsumingScheduledOp',
|
|
14478
|
-
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
14479
|
-
stateMutability: 'view',
|
|
14480
|
-
},
|
|
14481
14621
|
{
|
|
14482
14622
|
type: 'function',
|
|
14483
14623
|
inputs: [
|
|
14484
|
-
{
|
|
14485
|
-
|
|
14486
|
-
internalType: 'contract IFeeController',
|
|
14487
|
-
type: 'address',
|
|
14488
|
-
},
|
|
14489
|
-
{ name: '_creator', internalType: 'address', type: 'address' },
|
|
14624
|
+
{ name: 'account', internalType: 'address', type: 'address' },
|
|
14625
|
+
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
14490
14626
|
],
|
|
14491
|
-
name: '
|
|
14492
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
14493
|
-
stateMutability: 'view',
|
|
14494
|
-
},
|
|
14495
|
-
{
|
|
14496
|
-
type: 'function',
|
|
14497
|
-
inputs: [{ name: '_paramName', internalType: 'bytes32', type: 'bytes32' }],
|
|
14498
|
-
name: 'parameterExists',
|
|
14627
|
+
name: 'isApprovedForAll',
|
|
14499
14628
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
14500
14629
|
stateMutability: 'view',
|
|
14501
14630
|
},
|
|
14502
14631
|
{
|
|
14503
14632
|
type: 'function',
|
|
14504
14633
|
inputs: [],
|
|
14505
|
-
name: '
|
|
14506
|
-
outputs: [{ name: '', internalType: '
|
|
14634
|
+
name: 'isConsumingScheduledOp',
|
|
14635
|
+
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
14507
14636
|
stateMutability: 'view',
|
|
14508
14637
|
},
|
|
14509
14638
|
{
|
|
14510
14639
|
type: 'function',
|
|
14511
14640
|
inputs: [
|
|
14512
|
-
{ name: '
|
|
14641
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
|
14642
|
+
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
14643
|
+
{ name: '_value', internalType: 'uint256', type: 'uint256' },
|
|
14644
|
+
{ name: '_data', internalType: 'bytes', type: 'bytes' },
|
|
14513
14645
|
],
|
|
14514
|
-
name: '
|
|
14646
|
+
name: 'mint',
|
|
14515
14647
|
outputs: [],
|
|
14516
14648
|
stateMutability: 'nonpayable',
|
|
14517
14649
|
},
|
|
14518
14650
|
{
|
|
14519
14651
|
type: 'function',
|
|
14520
14652
|
inputs: [
|
|
14521
|
-
{
|
|
14522
|
-
|
|
14523
|
-
|
|
14653
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
|
14654
|
+
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
14655
|
+
{ name: '_value', internalType: 'uint256', type: 'uint256' },
|
|
14656
|
+
{ name: '_secsDuration', internalType: 'uint256', type: 'uint256' },
|
|
14657
|
+
{ name: '_data', internalType: 'bytes', type: 'bytes' },
|
|
14658
|
+
],
|
|
14659
|
+
name: 'mint',
|
|
14660
|
+
outputs: [],
|
|
14661
|
+
stateMutability: 'nonpayable',
|
|
14662
|
+
},
|
|
14663
|
+
{
|
|
14664
|
+
type: 'function',
|
|
14665
|
+
inputs: [
|
|
14666
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
|
14667
|
+
{ name: '_ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14668
|
+
{ name: '_values', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14669
|
+
{ name: '_data', internalType: 'bytes', type: 'bytes' },
|
|
14670
|
+
],
|
|
14671
|
+
name: 'mintBatch',
|
|
14672
|
+
outputs: [],
|
|
14673
|
+
stateMutability: 'nonpayable',
|
|
14674
|
+
},
|
|
14675
|
+
{
|
|
14676
|
+
type: 'function',
|
|
14677
|
+
inputs: [
|
|
14678
|
+
{ name: '_to', internalType: 'address', type: 'address' },
|
|
14679
|
+
{ name: '_ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14680
|
+
{ name: '_values', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14681
|
+
{ name: '_secsDurations', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14682
|
+
{ name: '_data', internalType: 'bytes', type: 'bytes' },
|
|
14683
|
+
],
|
|
14684
|
+
name: 'mintBatch',
|
|
14685
|
+
outputs: [],
|
|
14686
|
+
stateMutability: 'nonpayable',
|
|
14687
|
+
},
|
|
14688
|
+
{
|
|
14689
|
+
type: 'function',
|
|
14690
|
+
inputs: [
|
|
14691
|
+
{ name: '_sender', internalType: 'address', type: 'address' },
|
|
14692
|
+
{ name: '_keyspaces', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14693
|
+
],
|
|
14694
|
+
name: 'nextNonce',
|
|
14695
|
+
outputs: [{ name: 'nonces', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
14696
|
+
stateMutability: 'view',
|
|
14697
|
+
},
|
|
14698
|
+
{
|
|
14699
|
+
type: 'function',
|
|
14700
|
+
inputs: [],
|
|
14701
|
+
name: 'proxiableUUID',
|
|
14702
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
14703
|
+
stateMutability: 'view',
|
|
14704
|
+
},
|
|
14705
|
+
{
|
|
14706
|
+
type: 'function',
|
|
14707
|
+
inputs: [
|
|
14708
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
14709
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
14710
|
+
{ name: '', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14711
|
+
{ name: '', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14712
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
14713
|
+
],
|
|
14714
|
+
name: 'safeBatchTransferFrom',
|
|
14715
|
+
outputs: [],
|
|
14716
|
+
stateMutability: 'nonpayable',
|
|
14717
|
+
},
|
|
14718
|
+
{
|
|
14719
|
+
type: 'function',
|
|
14720
|
+
inputs: [
|
|
14721
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
14722
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
14723
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
14724
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
14725
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
14726
|
+
],
|
|
14727
|
+
name: 'safeTransferFrom',
|
|
14728
|
+
outputs: [],
|
|
14729
|
+
stateMutability: 'nonpayable',
|
|
14730
|
+
},
|
|
14731
|
+
{
|
|
14732
|
+
type: 'function',
|
|
14733
|
+
inputs: [
|
|
14734
|
+
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
14735
|
+
{ name: 'approved', internalType: 'bool', type: 'bool' },
|
|
14736
|
+
],
|
|
14737
|
+
name: 'setApprovalForAll',
|
|
14738
|
+
outputs: [],
|
|
14739
|
+
stateMutability: 'nonpayable',
|
|
14740
|
+
},
|
|
14741
|
+
{
|
|
14742
|
+
type: 'function',
|
|
14743
|
+
inputs: [
|
|
14744
|
+
{ name: 'newAuthority', internalType: 'address', type: 'address' },
|
|
14745
|
+
],
|
|
14746
|
+
name: 'setAuthority',
|
|
14747
|
+
outputs: [],
|
|
14748
|
+
stateMutability: 'nonpayable',
|
|
14749
|
+
},
|
|
14750
|
+
{
|
|
14751
|
+
type: 'function',
|
|
14752
|
+
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
14753
|
+
name: 'supportsInterface',
|
|
14754
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
14755
|
+
stateMutability: 'view',
|
|
14756
|
+
},
|
|
14757
|
+
{
|
|
14758
|
+
type: 'function',
|
|
14759
|
+
inputs: [
|
|
14760
|
+
{ name: 'newImplementation', internalType: 'address', type: 'address' },
|
|
14761
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
14762
|
+
],
|
|
14763
|
+
name: 'upgradeToAndCall',
|
|
14764
|
+
outputs: [],
|
|
14765
|
+
stateMutability: 'payable',
|
|
14766
|
+
},
|
|
14767
|
+
{
|
|
14768
|
+
type: 'function',
|
|
14769
|
+
inputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
14770
|
+
name: 'uri',
|
|
14771
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
14772
|
+
stateMutability: 'view',
|
|
14773
|
+
},
|
|
14774
|
+
{
|
|
14775
|
+
type: 'event',
|
|
14776
|
+
anonymous: false,
|
|
14777
|
+
inputs: [
|
|
14778
|
+
{
|
|
14779
|
+
name: 'account',
|
|
14780
|
+
internalType: 'address',
|
|
14781
|
+
type: 'address',
|
|
14782
|
+
indexed: true,
|
|
14783
|
+
},
|
|
14784
|
+
{
|
|
14785
|
+
name: 'operator',
|
|
14786
|
+
internalType: 'address',
|
|
14787
|
+
type: 'address',
|
|
14788
|
+
indexed: true,
|
|
14789
|
+
},
|
|
14790
|
+
{ name: 'approved', internalType: 'bool', type: 'bool', indexed: false },
|
|
14791
|
+
],
|
|
14792
|
+
name: 'ApprovalForAll',
|
|
14793
|
+
},
|
|
14794
|
+
{
|
|
14795
|
+
type: 'event',
|
|
14796
|
+
anonymous: false,
|
|
14797
|
+
inputs: [
|
|
14798
|
+
{
|
|
14799
|
+
name: 'authority',
|
|
14800
|
+
internalType: 'address',
|
|
14801
|
+
type: 'address',
|
|
14802
|
+
indexed: false,
|
|
14803
|
+
},
|
|
14804
|
+
],
|
|
14805
|
+
name: 'AuthorityUpdated',
|
|
14806
|
+
},
|
|
14807
|
+
{
|
|
14808
|
+
type: 'event',
|
|
14809
|
+
anonymous: false,
|
|
14810
|
+
inputs: [
|
|
14811
|
+
{
|
|
14812
|
+
name: '_from',
|
|
14813
|
+
internalType: 'address',
|
|
14814
|
+
type: 'address',
|
|
14815
|
+
indexed: true,
|
|
14816
|
+
},
|
|
14817
|
+
{
|
|
14818
|
+
name: '_planId',
|
|
14819
|
+
internalType: 'uint256',
|
|
14820
|
+
type: 'uint256',
|
|
14821
|
+
indexed: false,
|
|
14822
|
+
},
|
|
14823
|
+
{
|
|
14824
|
+
name: '_value',
|
|
14825
|
+
internalType: 'uint256',
|
|
14826
|
+
type: 'uint256',
|
|
14827
|
+
indexed: false,
|
|
14828
|
+
},
|
|
14829
|
+
{
|
|
14830
|
+
name: '_expiration',
|
|
14831
|
+
internalType: 'uint256',
|
|
14832
|
+
type: 'uint256',
|
|
14833
|
+
indexed: false,
|
|
14834
|
+
},
|
|
14835
|
+
],
|
|
14836
|
+
name: 'Burned',
|
|
14837
|
+
},
|
|
14838
|
+
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
14839
|
+
{
|
|
14840
|
+
type: 'event',
|
|
14841
|
+
anonymous: false,
|
|
14842
|
+
inputs: [
|
|
14843
|
+
{
|
|
14844
|
+
name: 'version',
|
|
14845
|
+
internalType: 'uint64',
|
|
14846
|
+
type: 'uint64',
|
|
14847
|
+
indexed: false,
|
|
14848
|
+
},
|
|
14849
|
+
],
|
|
14850
|
+
name: 'Initialized',
|
|
14851
|
+
},
|
|
14852
|
+
{
|
|
14853
|
+
type: 'event',
|
|
14854
|
+
anonymous: false,
|
|
14855
|
+
inputs: [
|
|
14856
|
+
{ name: '_to', internalType: 'address', type: 'address', indexed: true },
|
|
14857
|
+
{
|
|
14858
|
+
name: '_planId',
|
|
14859
|
+
internalType: 'uint256',
|
|
14860
|
+
type: 'uint256',
|
|
14861
|
+
indexed: false,
|
|
14862
|
+
},
|
|
14863
|
+
{
|
|
14864
|
+
name: '_value',
|
|
14865
|
+
internalType: 'uint256',
|
|
14866
|
+
type: 'uint256',
|
|
14867
|
+
indexed: false,
|
|
14868
|
+
},
|
|
14869
|
+
{
|
|
14870
|
+
name: '_expiration',
|
|
14871
|
+
internalType: 'uint256',
|
|
14872
|
+
type: 'uint256',
|
|
14873
|
+
indexed: false,
|
|
14874
|
+
},
|
|
14875
|
+
],
|
|
14876
|
+
name: 'Minted',
|
|
14877
|
+
},
|
|
14878
|
+
{
|
|
14879
|
+
type: 'event',
|
|
14880
|
+
anonymous: false,
|
|
14881
|
+
inputs: [
|
|
14882
|
+
{
|
|
14883
|
+
name: 'operator',
|
|
14884
|
+
internalType: 'address',
|
|
14885
|
+
type: 'address',
|
|
14886
|
+
indexed: true,
|
|
14887
|
+
},
|
|
14888
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
|
14889
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
|
14890
|
+
{
|
|
14891
|
+
name: 'ids',
|
|
14892
|
+
internalType: 'uint256[]',
|
|
14893
|
+
type: 'uint256[]',
|
|
14894
|
+
indexed: false,
|
|
14895
|
+
},
|
|
14896
|
+
{
|
|
14897
|
+
name: 'values',
|
|
14898
|
+
internalType: 'uint256[]',
|
|
14899
|
+
type: 'uint256[]',
|
|
14900
|
+
indexed: false,
|
|
14901
|
+
},
|
|
14902
|
+
],
|
|
14903
|
+
name: 'TransferBatch',
|
|
14904
|
+
},
|
|
14905
|
+
{
|
|
14906
|
+
type: 'event',
|
|
14907
|
+
anonymous: false,
|
|
14908
|
+
inputs: [
|
|
14909
|
+
{
|
|
14910
|
+
name: 'operator',
|
|
14911
|
+
internalType: 'address',
|
|
14912
|
+
type: 'address',
|
|
14913
|
+
indexed: true,
|
|
14914
|
+
},
|
|
14915
|
+
{ name: 'from', internalType: 'address', type: 'address', indexed: true },
|
|
14916
|
+
{ name: 'to', internalType: 'address', type: 'address', indexed: true },
|
|
14917
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256', indexed: false },
|
|
14918
|
+
{
|
|
14919
|
+
name: 'value',
|
|
14920
|
+
internalType: 'uint256',
|
|
14921
|
+
type: 'uint256',
|
|
14922
|
+
indexed: false,
|
|
14923
|
+
},
|
|
14924
|
+
],
|
|
14925
|
+
name: 'TransferSingle',
|
|
14926
|
+
},
|
|
14927
|
+
{
|
|
14928
|
+
type: 'event',
|
|
14929
|
+
anonymous: false,
|
|
14930
|
+
inputs: [
|
|
14931
|
+
{ name: 'value', internalType: 'string', type: 'string', indexed: false },
|
|
14932
|
+
{ name: 'id', internalType: 'uint256', type: 'uint256', indexed: true },
|
|
14933
|
+
],
|
|
14934
|
+
name: 'URI',
|
|
14935
|
+
},
|
|
14936
|
+
{
|
|
14937
|
+
type: 'event',
|
|
14938
|
+
anonymous: false,
|
|
14939
|
+
inputs: [
|
|
14940
|
+
{
|
|
14941
|
+
name: 'caller',
|
|
14942
|
+
internalType: 'address',
|
|
14943
|
+
type: 'address',
|
|
14944
|
+
indexed: true,
|
|
14945
|
+
},
|
|
14946
|
+
{
|
|
14947
|
+
name: 'newImplementation',
|
|
14948
|
+
internalType: 'address',
|
|
14949
|
+
type: 'address',
|
|
14950
|
+
indexed: true,
|
|
14951
|
+
},
|
|
14952
|
+
],
|
|
14953
|
+
name: 'UpgradeAuthorized',
|
|
14954
|
+
},
|
|
14955
|
+
{
|
|
14956
|
+
type: 'event',
|
|
14957
|
+
anonymous: false,
|
|
14958
|
+
inputs: [
|
|
14959
|
+
{
|
|
14960
|
+
name: 'implementation',
|
|
14961
|
+
internalType: 'address',
|
|
14962
|
+
type: 'address',
|
|
14963
|
+
indexed: true,
|
|
14964
|
+
},
|
|
14965
|
+
],
|
|
14966
|
+
name: 'Upgraded',
|
|
14967
|
+
},
|
|
14968
|
+
{
|
|
14969
|
+
type: 'error',
|
|
14970
|
+
inputs: [{ name: 'authority', internalType: 'address', type: 'address' }],
|
|
14971
|
+
name: 'AccessManagedInvalidAuthority',
|
|
14972
|
+
},
|
|
14973
|
+
{
|
|
14974
|
+
type: 'error',
|
|
14975
|
+
inputs: [
|
|
14976
|
+
{ name: 'caller', internalType: 'address', type: 'address' },
|
|
14977
|
+
{ name: 'delay', internalType: 'uint32', type: 'uint32' },
|
|
14978
|
+
],
|
|
14979
|
+
name: 'AccessManagedRequiredDelay',
|
|
14980
|
+
},
|
|
14981
|
+
{
|
|
14982
|
+
type: 'error',
|
|
14983
|
+
inputs: [{ name: 'caller', internalType: 'address', type: 'address' }],
|
|
14984
|
+
name: 'AccessManagedUnauthorized',
|
|
14985
|
+
},
|
|
14986
|
+
{
|
|
14987
|
+
type: 'error',
|
|
14988
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
14989
|
+
name: 'AddressEmptyCode',
|
|
14990
|
+
},
|
|
14991
|
+
{ type: 'error', inputs: [], name: 'AuthorityCannotBeZero' },
|
|
14992
|
+
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
14993
|
+
{
|
|
14994
|
+
type: 'error',
|
|
14995
|
+
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
14996
|
+
name: 'ECDSAInvalidSignatureLength',
|
|
14997
|
+
},
|
|
14998
|
+
{
|
|
14999
|
+
type: 'error',
|
|
15000
|
+
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
15001
|
+
name: 'ECDSAInvalidSignatureS',
|
|
15002
|
+
},
|
|
15003
|
+
{
|
|
15004
|
+
type: 'error',
|
|
15005
|
+
inputs: [
|
|
15006
|
+
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
15007
|
+
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
15008
|
+
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
15009
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
15010
|
+
],
|
|
15011
|
+
name: 'ERC1155InsufficientBalance',
|
|
15012
|
+
},
|
|
15013
|
+
{
|
|
15014
|
+
type: 'error',
|
|
15015
|
+
inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
|
|
15016
|
+
name: 'ERC1155InvalidApprover',
|
|
15017
|
+
},
|
|
15018
|
+
{
|
|
15019
|
+
type: 'error',
|
|
15020
|
+
inputs: [
|
|
15021
|
+
{ name: 'idsLength', internalType: 'uint256', type: 'uint256' },
|
|
15022
|
+
{ name: 'valuesLength', internalType: 'uint256', type: 'uint256' },
|
|
15023
|
+
],
|
|
15024
|
+
name: 'ERC1155InvalidArrayLength',
|
|
15025
|
+
},
|
|
15026
|
+
{
|
|
15027
|
+
type: 'error',
|
|
15028
|
+
inputs: [{ name: 'operator', internalType: 'address', type: 'address' }],
|
|
15029
|
+
name: 'ERC1155InvalidOperator',
|
|
15030
|
+
},
|
|
15031
|
+
{
|
|
15032
|
+
type: 'error',
|
|
15033
|
+
inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
|
|
15034
|
+
name: 'ERC1155InvalidReceiver',
|
|
15035
|
+
},
|
|
15036
|
+
{
|
|
15037
|
+
type: 'error',
|
|
15038
|
+
inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
|
|
15039
|
+
name: 'ERC1155InvalidSender',
|
|
15040
|
+
},
|
|
15041
|
+
{
|
|
15042
|
+
type: 'error',
|
|
15043
|
+
inputs: [
|
|
15044
|
+
{ name: 'operator', internalType: 'address', type: 'address' },
|
|
15045
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
15046
|
+
],
|
|
15047
|
+
name: 'ERC1155MissingApprovalForAll',
|
|
15048
|
+
},
|
|
15049
|
+
{
|
|
15050
|
+
type: 'error',
|
|
15051
|
+
inputs: [
|
|
15052
|
+
{ name: 'implementation', internalType: 'address', type: 'address' },
|
|
15053
|
+
],
|
|
15054
|
+
name: 'ERC1967InvalidImplementation',
|
|
15055
|
+
},
|
|
15056
|
+
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
15057
|
+
{ type: 'error', inputs: [], name: 'FailedCall' },
|
|
15058
|
+
{ type: 'error', inputs: [], name: 'InvalidAssetsRegistryAddress' },
|
|
15059
|
+
{ type: 'error', inputs: [], name: 'InvalidAuthorityAddress' },
|
|
15060
|
+
{
|
|
15061
|
+
type: 'error',
|
|
15062
|
+
inputs: [
|
|
15063
|
+
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
15064
|
+
{ name: 'from', internalType: 'address', type: 'address' },
|
|
15065
|
+
],
|
|
15066
|
+
name: 'InvalidCreditsBurnProof',
|
|
15067
|
+
},
|
|
15068
|
+
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
15069
|
+
{
|
|
15070
|
+
type: 'error',
|
|
15071
|
+
inputs: [
|
|
15072
|
+
{ name: 'idsLength', internalType: 'uint256', type: 'uint256' },
|
|
15073
|
+
{ name: 'valuesLength', internalType: 'uint256', type: 'uint256' },
|
|
15074
|
+
],
|
|
15075
|
+
name: 'InvalidLength',
|
|
15076
|
+
},
|
|
15077
|
+
{
|
|
15078
|
+
type: 'error',
|
|
15079
|
+
inputs: [
|
|
15080
|
+
{ name: 'planId', internalType: 'uint256', type: 'uint256' },
|
|
15081
|
+
{
|
|
15082
|
+
name: 'creditsType',
|
|
15083
|
+
internalType: 'enum IAsset.CreditsType',
|
|
15084
|
+
type: 'uint8',
|
|
15085
|
+
},
|
|
15086
|
+
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
15087
|
+
],
|
|
15088
|
+
name: 'InvalidRedemptionAmount',
|
|
15089
|
+
},
|
|
15090
|
+
{
|
|
15091
|
+
type: 'error',
|
|
15092
|
+
inputs: [
|
|
15093
|
+
{ name: 'planId', internalType: 'uint256', type: 'uint256' },
|
|
15094
|
+
{
|
|
15095
|
+
name: 'redemptionType',
|
|
15096
|
+
internalType: 'enum IAsset.RedemptionType',
|
|
15097
|
+
type: 'uint8',
|
|
15098
|
+
},
|
|
15099
|
+
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
15100
|
+
],
|
|
15101
|
+
name: 'InvalidRedemptionPermission',
|
|
15102
|
+
},
|
|
15103
|
+
{
|
|
15104
|
+
type: 'error',
|
|
15105
|
+
inputs: [
|
|
15106
|
+
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
15107
|
+
{ name: 'role', internalType: 'uint64', type: 'uint64' },
|
|
15108
|
+
],
|
|
15109
|
+
name: 'InvalidRole',
|
|
15110
|
+
},
|
|
15111
|
+
{ type: 'error', inputs: [], name: 'InvalidVaultAddress' },
|
|
15112
|
+
{
|
|
15113
|
+
type: 'error',
|
|
15114
|
+
inputs: [
|
|
15115
|
+
{ name: '_from', internalType: 'address', type: 'address' },
|
|
15116
|
+
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
15117
|
+
{ name: '_value', internalType: 'uint256', type: 'uint256' },
|
|
15118
|
+
],
|
|
15119
|
+
name: 'NotEnoughCreditsToBurn',
|
|
15120
|
+
},
|
|
15121
|
+
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
15122
|
+
{
|
|
15123
|
+
type: 'error',
|
|
15124
|
+
inputs: [{ name: 'planId', internalType: 'uint256', type: 'uint256' }],
|
|
15125
|
+
name: 'PlanNotFound',
|
|
15126
|
+
},
|
|
15127
|
+
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
15128
|
+
{
|
|
15129
|
+
type: 'error',
|
|
15130
|
+
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
15131
|
+
name: 'UUPSUnsupportedProxiableUUID',
|
|
15132
|
+
},
|
|
15133
|
+
];
|
|
15134
|
+
export const nft1155ExpirableCreditsV2Address = '0x7C31FBf2a67175a3d7605935Cdf64fEFb0ac4fB8';
|
|
15135
|
+
export const nft1155ExpirableCreditsV2Config = {
|
|
15136
|
+
address: nft1155ExpirableCreditsV2Address,
|
|
15137
|
+
abi: nft1155ExpirableCreditsV2Abi,
|
|
15138
|
+
};
|
|
15139
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
15140
|
+
// NVMConfig
|
|
15141
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
15142
|
+
export const nvmConfigAbi = [
|
|
15143
|
+
{
|
|
15144
|
+
type: 'function',
|
|
15145
|
+
inputs: [],
|
|
15146
|
+
name: 'UPGRADE_INTERFACE_VERSION',
|
|
15147
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
15148
|
+
stateMutability: 'view',
|
|
15149
|
+
},
|
|
15150
|
+
{
|
|
15151
|
+
type: 'function',
|
|
15152
|
+
inputs: [],
|
|
15153
|
+
name: 'authority',
|
|
15154
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
15155
|
+
stateMutability: 'view',
|
|
15156
|
+
},
|
|
15157
|
+
{
|
|
15158
|
+
type: 'function',
|
|
15159
|
+
inputs: [{ name: '_paramName', internalType: 'bytes32', type: 'bytes32' }],
|
|
15160
|
+
name: 'disableParameter',
|
|
15161
|
+
outputs: [],
|
|
15162
|
+
stateMutability: 'nonpayable',
|
|
15163
|
+
},
|
|
15164
|
+
{
|
|
15165
|
+
type: 'function',
|
|
15166
|
+
inputs: [],
|
|
15167
|
+
name: 'getDefaultFeeController',
|
|
15168
|
+
outputs: [
|
|
15169
|
+
{ name: '', internalType: 'contract IFeeController', type: 'address' },
|
|
15170
|
+
],
|
|
15171
|
+
stateMutability: 'view',
|
|
15172
|
+
},
|
|
15173
|
+
{
|
|
15174
|
+
type: 'function',
|
|
15175
|
+
inputs: [],
|
|
15176
|
+
name: 'getFeeReceiver',
|
|
15177
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
15178
|
+
stateMutability: 'view',
|
|
15179
|
+
},
|
|
15180
|
+
{
|
|
15181
|
+
type: 'function',
|
|
15182
|
+
inputs: [{ name: '_paramName', internalType: 'bytes32', type: 'bytes32' }],
|
|
15183
|
+
name: 'getParameter',
|
|
15184
|
+
outputs: [
|
|
15185
|
+
{ name: 'value', internalType: 'bytes', type: 'bytes' },
|
|
15186
|
+
{ name: 'isActive', internalType: 'bool', type: 'bool' },
|
|
15187
|
+
{ name: 'lastUpdated', internalType: 'uint256', type: 'uint256' },
|
|
15188
|
+
],
|
|
15189
|
+
stateMutability: 'view',
|
|
15190
|
+
},
|
|
15191
|
+
{
|
|
15192
|
+
type: 'function',
|
|
15193
|
+
inputs: [{ name: 'roleId', internalType: 'uint64', type: 'uint64' }],
|
|
15194
|
+
name: 'haveRole',
|
|
15195
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15196
|
+
stateMutability: 'view',
|
|
15197
|
+
},
|
|
15198
|
+
{
|
|
15199
|
+
type: 'function',
|
|
15200
|
+
inputs: [
|
|
15201
|
+
{
|
|
15202
|
+
name: '_authority',
|
|
15203
|
+
internalType: 'contract IAccessManager',
|
|
15204
|
+
type: 'address',
|
|
15205
|
+
},
|
|
15206
|
+
{
|
|
15207
|
+
name: '_defaultFeeController',
|
|
15208
|
+
internalType: 'contract IFeeController',
|
|
15209
|
+
type: 'address',
|
|
15210
|
+
},
|
|
15211
|
+
],
|
|
15212
|
+
name: 'initialize',
|
|
15213
|
+
outputs: [],
|
|
15214
|
+
stateMutability: 'nonpayable',
|
|
15215
|
+
},
|
|
15216
|
+
{
|
|
15217
|
+
type: 'function',
|
|
15218
|
+
inputs: [],
|
|
15219
|
+
name: 'isConsumingScheduledOp',
|
|
15220
|
+
outputs: [{ name: '', internalType: 'bytes4', type: 'bytes4' }],
|
|
15221
|
+
stateMutability: 'view',
|
|
15222
|
+
},
|
|
15223
|
+
{
|
|
15224
|
+
type: 'function',
|
|
15225
|
+
inputs: [
|
|
15226
|
+
{
|
|
15227
|
+
name: '_feeController',
|
|
15228
|
+
internalType: 'contract IFeeController',
|
|
15229
|
+
type: 'address',
|
|
15230
|
+
},
|
|
15231
|
+
{ name: '_creator', internalType: 'address', type: 'address' },
|
|
15232
|
+
],
|
|
15233
|
+
name: 'isFeeControllerAllowed',
|
|
15234
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15235
|
+
stateMutability: 'view',
|
|
15236
|
+
},
|
|
15237
|
+
{
|
|
15238
|
+
type: 'function',
|
|
15239
|
+
inputs: [{ name: '_paramName', internalType: 'bytes32', type: 'bytes32' }],
|
|
15240
|
+
name: 'parameterExists',
|
|
15241
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15242
|
+
stateMutability: 'view',
|
|
15243
|
+
},
|
|
15244
|
+
{
|
|
15245
|
+
type: 'function',
|
|
15246
|
+
inputs: [],
|
|
15247
|
+
name: 'proxiableUUID',
|
|
15248
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
15249
|
+
stateMutability: 'view',
|
|
15250
|
+
},
|
|
15251
|
+
{
|
|
15252
|
+
type: 'function',
|
|
15253
|
+
inputs: [
|
|
15254
|
+
{ name: 'newAuthority', internalType: 'address', type: 'address' },
|
|
15255
|
+
],
|
|
15256
|
+
name: 'setAuthority',
|
|
15257
|
+
outputs: [],
|
|
15258
|
+
stateMutability: 'nonpayable',
|
|
15259
|
+
},
|
|
15260
|
+
{
|
|
15261
|
+
type: 'function',
|
|
15262
|
+
inputs: [
|
|
15263
|
+
{
|
|
15264
|
+
name: '_defaultFeeController',
|
|
15265
|
+
internalType: 'contract IFeeController',
|
|
14524
15266
|
type: 'address',
|
|
14525
15267
|
},
|
|
14526
15268
|
],
|
|
@@ -14730,7 +15472,7 @@ export const nvmConfigAbi = [
|
|
|
14730
15472
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
14731
15473
|
},
|
|
14732
15474
|
];
|
|
14733
|
-
export const nvmConfigAddress = '
|
|
15475
|
+
export const nvmConfigAddress = '0x85a209d957817A0159186499B623BDDb0F202270';
|
|
14734
15476
|
export const nvmConfigConfig = {
|
|
14735
15477
|
address: nvmConfigAddress,
|
|
14736
15478
|
abi: nvmConfigAbi,
|
|
@@ -14794,6 +15536,13 @@ export const nvmConfigV2Abi = [
|
|
|
14794
15536
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
14795
15537
|
stateMutability: 'view',
|
|
14796
15538
|
},
|
|
15539
|
+
{
|
|
15540
|
+
type: 'function',
|
|
15541
|
+
inputs: [{ name: 'roleId', internalType: 'uint64', type: 'uint64' }],
|
|
15542
|
+
name: 'haveRole',
|
|
15543
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15544
|
+
stateMutability: 'view',
|
|
15545
|
+
},
|
|
14797
15546
|
{
|
|
14798
15547
|
type: 'function',
|
|
14799
15548
|
inputs: [
|
|
@@ -15308,7 +16057,7 @@ export const oneTimeCreatorHookAbi = [
|
|
|
15308
16057
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
15309
16058
|
},
|
|
15310
16059
|
];
|
|
15311
|
-
export const oneTimeCreatorHookAddress = '
|
|
16060
|
+
export const oneTimeCreatorHookAddress = '0x41A73401Df52CF1bACB08e91328039d1Fec4aA9F';
|
|
15312
16061
|
export const oneTimeCreatorHookConfig = {
|
|
15313
16062
|
address: oneTimeCreatorHookAddress,
|
|
15314
16063
|
abi: oneTimeCreatorHookAbi,
|
|
@@ -15628,7 +16377,7 @@ export const paymentsVaultAbi = [
|
|
|
15628
16377
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
15629
16378
|
},
|
|
15630
16379
|
];
|
|
15631
|
-
export const paymentsVaultAddress = '
|
|
16380
|
+
export const paymentsVaultAddress = '0x9B9411566bd606399aa188c73d65215BD1853c6D';
|
|
15632
16381
|
export const paymentsVaultConfig = {
|
|
15633
16382
|
address: paymentsVaultAddress,
|
|
15634
16383
|
abi: paymentsVaultAbi,
|
|
@@ -16220,7 +16969,7 @@ export const protocolStandardFeesAbi = [
|
|
|
16220
16969
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
16221
16970
|
},
|
|
16222
16971
|
];
|
|
16223
|
-
export const protocolStandardFeesAddress = '
|
|
16972
|
+
export const protocolStandardFeesAddress = '0x6B81EEB0dDfC85E996A18a7d6ccAed4B08723Da5';
|
|
16224
16973
|
export const protocolStandardFeesConfig = {
|
|
16225
16974
|
address: protocolStandardFeesAddress,
|
|
16226
16975
|
abi: protocolStandardFeesAbi,
|
|
@@ -16232,6 +16981,16 @@ export const proxyAbi = [
|
|
|
16232
16981
|
{ type: 'fallback', stateMutability: 'payable' },
|
|
16233
16982
|
];
|
|
16234
16983
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
16984
|
+
// RedBlackTreeLib
|
|
16985
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
16986
|
+
export const redBlackTreeLibAbi = [
|
|
16987
|
+
{ type: 'error', inputs: [], name: 'PointerOutOfBounds' },
|
|
16988
|
+
{ type: 'error', inputs: [], name: 'TreeIsFull' },
|
|
16989
|
+
{ type: 'error', inputs: [], name: 'ValueAlreadyExists' },
|
|
16990
|
+
{ type: 'error', inputs: [], name: 'ValueDoesNotExist' },
|
|
16991
|
+
{ type: 'error', inputs: [], name: 'ValueIsEmpty' },
|
|
16992
|
+
];
|
|
16993
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
16235
16994
|
// ReentrancyGuardTransientUpgradeable
|
|
16236
16995
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
16237
16996
|
export const reentrancyGuardTransientUpgradeableAbi = [
|
|
@@ -16303,6 +17062,60 @@ export const safeErc20Abi = [
|
|
|
16303
17062
|
},
|
|
16304
17063
|
];
|
|
16305
17064
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
17065
|
+
// SetNetworkFees
|
|
17066
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
17067
|
+
export const setNetworkFeesAbi = [
|
|
17068
|
+
{
|
|
17069
|
+
type: 'function',
|
|
17070
|
+
inputs: [],
|
|
17071
|
+
name: 'IS_SCRIPT',
|
|
17072
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
17073
|
+
stateMutability: 'view',
|
|
17074
|
+
},
|
|
17075
|
+
{
|
|
17076
|
+
type: 'function',
|
|
17077
|
+
inputs: [],
|
|
17078
|
+
name: 'debug',
|
|
17079
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
17080
|
+
stateMutability: 'view',
|
|
17081
|
+
},
|
|
17082
|
+
{
|
|
17083
|
+
type: 'function',
|
|
17084
|
+
inputs: [],
|
|
17085
|
+
name: 'feeReceiver',
|
|
17086
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
17087
|
+
stateMutability: 'view',
|
|
17088
|
+
},
|
|
17089
|
+
{
|
|
17090
|
+
type: 'function',
|
|
17091
|
+
inputs: [],
|
|
17092
|
+
name: 'governor',
|
|
17093
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
17094
|
+
stateMutability: 'view',
|
|
17095
|
+
},
|
|
17096
|
+
{
|
|
17097
|
+
type: 'function',
|
|
17098
|
+
inputs: [],
|
|
17099
|
+
name: 'networkFee',
|
|
17100
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
17101
|
+
stateMutability: 'view',
|
|
17102
|
+
},
|
|
17103
|
+
{
|
|
17104
|
+
type: 'function',
|
|
17105
|
+
inputs: [],
|
|
17106
|
+
name: 'owner',
|
|
17107
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
17108
|
+
stateMutability: 'view',
|
|
17109
|
+
},
|
|
17110
|
+
{
|
|
17111
|
+
type: 'function',
|
|
17112
|
+
inputs: [],
|
|
17113
|
+
name: 'run',
|
|
17114
|
+
outputs: [],
|
|
17115
|
+
stateMutability: 'nonpayable',
|
|
17116
|
+
},
|
|
17117
|
+
];
|
|
17118
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
16306
17119
|
// Strings
|
|
16307
17120
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
16308
17121
|
export const stringsAbi = [
|
|
@@ -16501,7 +17314,7 @@ export const tokenUtilsAbi = [
|
|
|
16501
17314
|
name: 'InvalidTransactionAmount',
|
|
16502
17315
|
},
|
|
16503
17316
|
];
|
|
16504
|
-
export const tokenUtilsAddress = '
|
|
17317
|
+
export const tokenUtilsAddress = '0xfD0C26e775950ffbd3e4C522F1D62858F24D47Ea';
|
|
16505
17318
|
export const tokenUtilsConfig = {
|
|
16506
17319
|
address: tokenUtilsAddress,
|
|
16507
17320
|
abi: tokenUtilsAbi,
|
|
@@ -16744,7 +17557,7 @@ export const transferCreditsConditionAbi = [
|
|
|
16744
17557
|
name: 'UUPSUnsupportedProxiableUUID',
|
|
16745
17558
|
},
|
|
16746
17559
|
];
|
|
16747
|
-
export const transferCreditsConditionAddress = '
|
|
17560
|
+
export const transferCreditsConditionAddress = '0xC109e539b1d355E9A0E3Bd14BF032CB708eAaD7f';
|
|
16748
17561
|
export const transferCreditsConditionConfig = {
|
|
16749
17562
|
address: transferCreditsConditionAddress,
|
|
16750
17563
|
abi: transferCreditsConditionAbi,
|