@nevermined-io/core-kit 0.2.14 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artifacts/generated.d.ts +85 -1197
- package/dist/artifacts/generated.d.ts.map +1 -1
- package/dist/artifacts/generated.js +62 -476
- package/dist/contracts/AssetRegistry.d.ts +1 -1
- package/dist/contracts/ContractBase.d.ts.map +1 -1
- package/dist/contracts/ContractBase.js +28 -1
- package/dist/contracts/NFT1155Base.d.ts +4 -2
- package/dist/contracts/NFT1155Base.d.ts.map +1 -1
- package/dist/contracts/NFT1155Base.js +2 -2
- package/dist/nevermined/utils/BlockchainViemUtils.d.ts +5 -4
- package/dist/nevermined/utils/BlockchainViemUtils.d.ts.map +1 -1
- package/dist/nevermined/utils/BlockchainViemUtils.js +18 -27
- package/package.json +1 -1
|
@@ -1650,7 +1650,7 @@ export const assetsRegistryAbi = [
|
|
|
1650
1650
|
internalType: 'enum IAsset.RedemptionType',
|
|
1651
1651
|
type: 'uint8',
|
|
1652
1652
|
},
|
|
1653
|
-
{ name: '
|
|
1653
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
1654
1654
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
1655
1655
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
1656
1656
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -1754,7 +1754,7 @@ export const assetsRegistryAbi = [
|
|
|
1754
1754
|
internalType: 'enum IAsset.RedemptionType',
|
|
1755
1755
|
type: 'uint8',
|
|
1756
1756
|
},
|
|
1757
|
-
{ name: '
|
|
1757
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
1758
1758
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
1759
1759
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
1760
1760
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -1808,7 +1808,7 @@ export const assetsRegistryAbi = [
|
|
|
1808
1808
|
internalType: 'enum IAsset.RedemptionType',
|
|
1809
1809
|
type: 'uint8',
|
|
1810
1810
|
},
|
|
1811
|
-
{ name: '
|
|
1811
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
1812
1812
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
1813
1813
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
1814
1814
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -1934,7 +1934,7 @@ export const assetsRegistryAbi = [
|
|
|
1934
1934
|
internalType: 'enum IAsset.RedemptionType',
|
|
1935
1935
|
type: 'uint8',
|
|
1936
1936
|
},
|
|
1937
|
-
{ name: '
|
|
1937
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
1938
1938
|
{
|
|
1939
1939
|
name: 'durationSecs',
|
|
1940
1940
|
internalType: 'uint256',
|
|
@@ -2018,7 +2018,7 @@ export const assetsRegistryAbi = [
|
|
|
2018
2018
|
internalType: 'enum IAsset.RedemptionType',
|
|
2019
2019
|
type: 'uint8',
|
|
2020
2020
|
},
|
|
2021
|
-
{ name: '
|
|
2021
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
2022
2022
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
2023
2023
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
2024
2024
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -2072,7 +2072,7 @@ export const assetsRegistryAbi = [
|
|
|
2072
2072
|
internalType: 'enum IAsset.RedemptionType',
|
|
2073
2073
|
type: 'uint8',
|
|
2074
2074
|
},
|
|
2075
|
-
{ name: '
|
|
2075
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
2076
2076
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
2077
2077
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
2078
2078
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -2127,7 +2127,7 @@ export const assetsRegistryAbi = [
|
|
|
2127
2127
|
internalType: 'enum IAsset.RedemptionType',
|
|
2128
2128
|
type: 'uint8',
|
|
2129
2129
|
},
|
|
2130
|
-
{ name: '
|
|
2130
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
2131
2131
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
2132
2132
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
2133
2133
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -2321,7 +2321,7 @@ export const assetsRegistryAbi = [
|
|
|
2321
2321
|
internalType: 'enum IAsset.RedemptionType',
|
|
2322
2322
|
type: 'uint8',
|
|
2323
2323
|
},
|
|
2324
|
-
{ name: '
|
|
2324
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
2325
2325
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
2326
2326
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
2327
2327
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -2803,6 +2803,12 @@ export const assetsRegistryAbi = [
|
|
|
2803
2803
|
type: 'address',
|
|
2804
2804
|
indexed: true,
|
|
2805
2805
|
},
|
|
2806
|
+
{
|
|
2807
|
+
name: 'onchainMirror',
|
|
2808
|
+
internalType: 'bool',
|
|
2809
|
+
type: 'bool',
|
|
2810
|
+
indexed: true,
|
|
2811
|
+
},
|
|
2806
2812
|
],
|
|
2807
2813
|
name: 'PlanRegistered',
|
|
2808
2814
|
},
|
|
@@ -3143,7 +3149,7 @@ export const assetsRegistryV2Abi = [
|
|
|
3143
3149
|
internalType: 'enum IAsset.RedemptionType',
|
|
3144
3150
|
type: 'uint8',
|
|
3145
3151
|
},
|
|
3146
|
-
{ name: '
|
|
3152
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
3147
3153
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
3148
3154
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
3149
3155
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -3247,7 +3253,7 @@ export const assetsRegistryV2Abi = [
|
|
|
3247
3253
|
internalType: 'enum IAsset.RedemptionType',
|
|
3248
3254
|
type: 'uint8',
|
|
3249
3255
|
},
|
|
3250
|
-
{ name: '
|
|
3256
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
3251
3257
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
3252
3258
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
3253
3259
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -3301,7 +3307,7 @@ export const assetsRegistryV2Abi = [
|
|
|
3301
3307
|
internalType: 'enum IAsset.RedemptionType',
|
|
3302
3308
|
type: 'uint8',
|
|
3303
3309
|
},
|
|
3304
|
-
{ name: '
|
|
3310
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
3305
3311
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
3306
3312
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
3307
3313
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -3427,7 +3433,7 @@ export const assetsRegistryV2Abi = [
|
|
|
3427
3433
|
internalType: 'enum IAsset.RedemptionType',
|
|
3428
3434
|
type: 'uint8',
|
|
3429
3435
|
},
|
|
3430
|
-
{ name: '
|
|
3436
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
3431
3437
|
{
|
|
3432
3438
|
name: 'durationSecs',
|
|
3433
3439
|
internalType: 'uint256',
|
|
@@ -3518,7 +3524,7 @@ export const assetsRegistryV2Abi = [
|
|
|
3518
3524
|
internalType: 'enum IAsset.RedemptionType',
|
|
3519
3525
|
type: 'uint8',
|
|
3520
3526
|
},
|
|
3521
|
-
{ name: '
|
|
3527
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
3522
3528
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
3523
3529
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
3524
3530
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -3572,7 +3578,7 @@ export const assetsRegistryV2Abi = [
|
|
|
3572
3578
|
internalType: 'enum IAsset.RedemptionType',
|
|
3573
3579
|
type: 'uint8',
|
|
3574
3580
|
},
|
|
3575
|
-
{ name: '
|
|
3581
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
3576
3582
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
3577
3583
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
3578
3584
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -3627,7 +3633,7 @@ export const assetsRegistryV2Abi = [
|
|
|
3627
3633
|
internalType: 'enum IAsset.RedemptionType',
|
|
3628
3634
|
type: 'uint8',
|
|
3629
3635
|
},
|
|
3630
|
-
{ name: '
|
|
3636
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
3631
3637
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
3632
3638
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
3633
3639
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -3828,7 +3834,7 @@ export const assetsRegistryV2Abi = [
|
|
|
3828
3834
|
internalType: 'enum IAsset.RedemptionType',
|
|
3829
3835
|
type: 'uint8',
|
|
3830
3836
|
},
|
|
3831
|
-
{ name: '
|
|
3837
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
3832
3838
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
3833
3839
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
3834
3840
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -4310,6 +4316,12 @@ export const assetsRegistryV2Abi = [
|
|
|
4310
4316
|
type: 'address',
|
|
4311
4317
|
indexed: true,
|
|
4312
4318
|
},
|
|
4319
|
+
{
|
|
4320
|
+
name: 'onchainMirror',
|
|
4321
|
+
internalType: 'bool',
|
|
4322
|
+
type: 'bool',
|
|
4323
|
+
indexed: true,
|
|
4324
|
+
},
|
|
4313
4325
|
],
|
|
4314
4326
|
name: 'PlanRegistered',
|
|
4315
4327
|
},
|
|
@@ -7837,42 +7849,6 @@ export const eip712Abi = [
|
|
|
7837
7849
|
},
|
|
7838
7850
|
];
|
|
7839
7851
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
7840
|
-
// EIP712Upgradeable
|
|
7841
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
7842
|
-
export const eip712UpgradeableAbi = [
|
|
7843
|
-
{
|
|
7844
|
-
type: 'function',
|
|
7845
|
-
inputs: [],
|
|
7846
|
-
name: 'eip712Domain',
|
|
7847
|
-
outputs: [
|
|
7848
|
-
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
7849
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
7850
|
-
{ name: 'version', internalType: 'string', type: 'string' },
|
|
7851
|
-
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
7852
|
-
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
7853
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
7854
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
7855
|
-
],
|
|
7856
|
-
stateMutability: 'view',
|
|
7857
|
-
},
|
|
7858
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
7859
|
-
{
|
|
7860
|
-
type: 'event',
|
|
7861
|
-
anonymous: false,
|
|
7862
|
-
inputs: [
|
|
7863
|
-
{
|
|
7864
|
-
name: 'version',
|
|
7865
|
-
internalType: 'uint64',
|
|
7866
|
-
type: 'uint64',
|
|
7867
|
-
indexed: false,
|
|
7868
|
-
},
|
|
7869
|
-
],
|
|
7870
|
-
name: 'Initialized',
|
|
7871
|
-
},
|
|
7872
|
-
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
7873
|
-
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
7874
|
-
];
|
|
7875
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
7876
7852
|
// ERC1155Holder
|
|
7877
7853
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
7878
7854
|
export const erc1155HolderAbi = [
|
|
@@ -10811,7 +10787,7 @@ export const iAssetAbi = [
|
|
|
10811
10787
|
internalType: 'enum IAsset.RedemptionType',
|
|
10812
10788
|
type: 'uint8',
|
|
10813
10789
|
},
|
|
10814
|
-
{ name: '
|
|
10790
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
10815
10791
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
10816
10792
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
10817
10793
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -10924,7 +10900,7 @@ export const iAssetAbi = [
|
|
|
10924
10900
|
internalType: 'enum IAsset.RedemptionType',
|
|
10925
10901
|
type: 'uint8',
|
|
10926
10902
|
},
|
|
10927
|
-
{ name: '
|
|
10903
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
10928
10904
|
{
|
|
10929
10905
|
name: 'durationSecs',
|
|
10930
10906
|
internalType: 'uint256',
|
|
@@ -10991,7 +10967,7 @@ export const iAssetAbi = [
|
|
|
10991
10967
|
internalType: 'enum IAsset.RedemptionType',
|
|
10992
10968
|
type: 'uint8',
|
|
10993
10969
|
},
|
|
10994
|
-
{ name: '
|
|
10970
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
10995
10971
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
10996
10972
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
10997
10973
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -11250,6 +11226,12 @@ export const iAssetAbi = [
|
|
|
11250
11226
|
type: 'address',
|
|
11251
11227
|
indexed: true,
|
|
11252
11228
|
},
|
|
11229
|
+
{
|
|
11230
|
+
name: 'onchainMirror',
|
|
11231
|
+
internalType: 'bool',
|
|
11232
|
+
type: 'bool',
|
|
11233
|
+
indexed: true,
|
|
11234
|
+
},
|
|
11253
11235
|
],
|
|
11254
11236
|
name: 'PlanRegistered',
|
|
11255
11237
|
},
|
|
@@ -12702,7 +12684,7 @@ export const iFeeControllerAbi = [
|
|
|
12702
12684
|
internalType: 'enum IAsset.RedemptionType',
|
|
12703
12685
|
type: 'uint8',
|
|
12704
12686
|
},
|
|
12705
|
-
{ name: '
|
|
12687
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
12706
12688
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
12707
12689
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
12708
12690
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -13326,16 +13308,6 @@ export const inft1155Abi = [
|
|
|
13326
13308
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
13327
13309
|
stateMutability: 'view',
|
|
13328
13310
|
},
|
|
13329
|
-
{
|
|
13330
|
-
type: 'function',
|
|
13331
|
-
inputs: [
|
|
13332
|
-
{ name: '_sender', internalType: 'address', type: 'address' },
|
|
13333
|
-
{ name: '_keyspace', internalType: 'uint256[]', type: 'uint256[]' },
|
|
13334
|
-
],
|
|
13335
|
-
name: 'nextNonce',
|
|
13336
|
-
outputs: [{ name: '', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
13337
|
-
stateMutability: 'view',
|
|
13338
|
-
},
|
|
13339
13311
|
{
|
|
13340
13312
|
type: 'function',
|
|
13341
13313
|
inputs: [
|
|
@@ -13429,14 +13401,6 @@ export const inft1155Abi = [
|
|
|
13429
13401
|
},
|
|
13430
13402
|
{ type: 'error', inputs: [], name: 'InvalidAddress' },
|
|
13431
13403
|
{ type: 'error', inputs: [], name: 'InvalidAssetsRegistryAddress' },
|
|
13432
|
-
{
|
|
13433
|
-
type: 'error',
|
|
13434
|
-
inputs: [
|
|
13435
|
-
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
13436
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
13437
|
-
],
|
|
13438
|
-
name: 'InvalidCreditsBurnProof',
|
|
13439
|
-
},
|
|
13440
13404
|
{
|
|
13441
13405
|
type: 'error',
|
|
13442
13406
|
inputs: [
|
|
@@ -13747,7 +13711,7 @@ export const iProtocolStandardFeesAbi = [
|
|
|
13747
13711
|
internalType: 'enum IAsset.RedemptionType',
|
|
13748
13712
|
type: 'uint8',
|
|
13749
13713
|
},
|
|
13750
|
-
{ name: '
|
|
13714
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
13751
13715
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
13752
13716
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
13753
13717
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|
|
@@ -14568,8 +14532,8 @@ export const nft1155BaseAbi = [
|
|
|
14568
14532
|
{ name: '_from', internalType: 'address', type: 'address' },
|
|
14569
14533
|
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
14570
14534
|
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
|
14571
|
-
{ name: '
|
|
14572
|
-
{ name: '
|
|
14535
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
14536
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
14573
14537
|
],
|
|
14574
14538
|
name: 'burn',
|
|
14575
14539
|
outputs: [],
|
|
@@ -14581,8 +14545,8 @@ export const nft1155BaseAbi = [
|
|
|
14581
14545
|
{ name: '_from', internalType: 'address', type: 'address' },
|
|
14582
14546
|
{ name: '_ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14583
14547
|
{ name: '_amounts', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14584
|
-
{ name: '
|
|
14585
|
-
{ name: '
|
|
14548
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
14549
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
14586
14550
|
],
|
|
14587
14551
|
name: 'burnBatch',
|
|
14588
14552
|
outputs: [],
|
|
@@ -14598,39 +14562,6 @@ export const nft1155BaseAbi = [
|
|
|
14598
14562
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
14599
14563
|
stateMutability: 'view',
|
|
14600
14564
|
},
|
|
14601
|
-
{
|
|
14602
|
-
type: 'function',
|
|
14603
|
-
inputs: [],
|
|
14604
|
-
name: 'eip712Domain',
|
|
14605
|
-
outputs: [
|
|
14606
|
-
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
14607
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
14608
|
-
{ name: 'version', internalType: 'string', type: 'string' },
|
|
14609
|
-
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
14610
|
-
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
14611
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
14612
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14613
|
-
],
|
|
14614
|
-
stateMutability: 'view',
|
|
14615
|
-
},
|
|
14616
|
-
{
|
|
14617
|
-
type: 'function',
|
|
14618
|
-
inputs: [
|
|
14619
|
-
{
|
|
14620
|
-
name: '_proof',
|
|
14621
|
-
internalType: 'struct INFT1155.CreditsBurnProofData',
|
|
14622
|
-
type: 'tuple',
|
|
14623
|
-
components: [
|
|
14624
|
-
{ name: 'keyspace', internalType: 'uint256', type: 'uint256' },
|
|
14625
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
14626
|
-
{ name: 'planIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14627
|
-
],
|
|
14628
|
-
},
|
|
14629
|
-
],
|
|
14630
|
-
name: 'hashCreditsBurnProof',
|
|
14631
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
14632
|
-
stateMutability: 'view',
|
|
14633
|
-
},
|
|
14634
14565
|
{
|
|
14635
14566
|
type: 'function',
|
|
14636
14567
|
inputs: [
|
|
@@ -14672,16 +14603,6 @@ export const nft1155BaseAbi = [
|
|
|
14672
14603
|
outputs: [],
|
|
14673
14604
|
stateMutability: 'nonpayable',
|
|
14674
14605
|
},
|
|
14675
|
-
{
|
|
14676
|
-
type: 'function',
|
|
14677
|
-
inputs: [
|
|
14678
|
-
{ name: '_sender', internalType: 'address', type: 'address' },
|
|
14679
|
-
{ name: '_keyspaces', internalType: 'uint256[]', type: 'uint256[]' },
|
|
14680
|
-
],
|
|
14681
|
-
name: 'nextNonce',
|
|
14682
|
-
outputs: [{ name: 'nonces', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
14683
|
-
stateMutability: 'view',
|
|
14684
|
-
},
|
|
14685
14606
|
{
|
|
14686
14607
|
type: 'function',
|
|
14687
14608
|
inputs: [],
|
|
@@ -14851,7 +14772,6 @@ export const nft1155BaseAbi = [
|
|
|
14851
14772
|
],
|
|
14852
14773
|
name: 'BurnerRevoked',
|
|
14853
14774
|
},
|
|
14854
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
14855
14775
|
{
|
|
14856
14776
|
type: 'event',
|
|
14857
14777
|
anonymous: false,
|
|
@@ -15010,17 +14930,6 @@ export const nft1155BaseAbi = [
|
|
|
15010
14930
|
name: 'AddressEmptyCode',
|
|
15011
14931
|
},
|
|
15012
14932
|
{ type: 'error', inputs: [], name: 'AuthorityCannotBeZero' },
|
|
15013
|
-
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
15014
|
-
{
|
|
15015
|
-
type: 'error',
|
|
15016
|
-
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
15017
|
-
name: 'ECDSAInvalidSignatureLength',
|
|
15018
|
-
},
|
|
15019
|
-
{
|
|
15020
|
-
type: 'error',
|
|
15021
|
-
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
15022
|
-
name: 'ECDSAInvalidSignatureS',
|
|
15023
|
-
},
|
|
15024
14933
|
{
|
|
15025
14934
|
type: 'error',
|
|
15026
14935
|
inputs: [
|
|
@@ -15078,14 +14987,6 @@ export const nft1155BaseAbi = [
|
|
|
15078
14987
|
{ type: 'error', inputs: [], name: 'FailedCall' },
|
|
15079
14988
|
{ type: 'error', inputs: [], name: 'InvalidAddress' },
|
|
15080
14989
|
{ type: 'error', inputs: [], name: 'InvalidAssetsRegistryAddress' },
|
|
15081
|
-
{
|
|
15082
|
-
type: 'error',
|
|
15083
|
-
inputs: [
|
|
15084
|
-
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
15085
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
15086
|
-
],
|
|
15087
|
-
name: 'InvalidCreditsBurnProof',
|
|
15088
|
-
},
|
|
15089
14990
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
15090
14991
|
{
|
|
15091
14992
|
type: 'error',
|
|
@@ -15232,39 +15133,6 @@ export const nft1155CreditsAbi = [
|
|
|
15232
15133
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15233
15134
|
stateMutability: 'view',
|
|
15234
15135
|
},
|
|
15235
|
-
{
|
|
15236
|
-
type: 'function',
|
|
15237
|
-
inputs: [],
|
|
15238
|
-
name: 'eip712Domain',
|
|
15239
|
-
outputs: [
|
|
15240
|
-
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
15241
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
15242
|
-
{ name: 'version', internalType: 'string', type: 'string' },
|
|
15243
|
-
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
15244
|
-
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
15245
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
15246
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15247
|
-
],
|
|
15248
|
-
stateMutability: 'view',
|
|
15249
|
-
},
|
|
15250
|
-
{
|
|
15251
|
-
type: 'function',
|
|
15252
|
-
inputs: [
|
|
15253
|
-
{
|
|
15254
|
-
name: '_proof',
|
|
15255
|
-
internalType: 'struct INFT1155.CreditsBurnProofData',
|
|
15256
|
-
type: 'tuple',
|
|
15257
|
-
components: [
|
|
15258
|
-
{ name: 'keyspace', internalType: 'uint256', type: 'uint256' },
|
|
15259
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15260
|
-
{ name: 'planIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15261
|
-
],
|
|
15262
|
-
},
|
|
15263
|
-
],
|
|
15264
|
-
name: 'hashCreditsBurnProof',
|
|
15265
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
15266
|
-
stateMutability: 'view',
|
|
15267
|
-
},
|
|
15268
15136
|
{
|
|
15269
15137
|
type: 'function',
|
|
15270
15138
|
inputs: [
|
|
@@ -15326,16 +15194,6 @@ export const nft1155CreditsAbi = [
|
|
|
15326
15194
|
outputs: [],
|
|
15327
15195
|
stateMutability: 'nonpayable',
|
|
15328
15196
|
},
|
|
15329
|
-
{
|
|
15330
|
-
type: 'function',
|
|
15331
|
-
inputs: [
|
|
15332
|
-
{ name: '_sender', internalType: 'address', type: 'address' },
|
|
15333
|
-
{ name: '_keyspaces', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15334
|
-
],
|
|
15335
|
-
name: 'nextNonce',
|
|
15336
|
-
outputs: [{ name: 'nonces', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
15337
|
-
stateMutability: 'view',
|
|
15338
|
-
},
|
|
15339
15197
|
{
|
|
15340
15198
|
type: 'function',
|
|
15341
15199
|
inputs: [],
|
|
@@ -15505,7 +15363,6 @@ export const nft1155CreditsAbi = [
|
|
|
15505
15363
|
],
|
|
15506
15364
|
name: 'BurnerRevoked',
|
|
15507
15365
|
},
|
|
15508
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
15509
15366
|
{
|
|
15510
15367
|
type: 'event',
|
|
15511
15368
|
anonymous: false,
|
|
@@ -15664,17 +15521,6 @@ export const nft1155CreditsAbi = [
|
|
|
15664
15521
|
name: 'AddressEmptyCode',
|
|
15665
15522
|
},
|
|
15666
15523
|
{ type: 'error', inputs: [], name: 'AuthorityCannotBeZero' },
|
|
15667
|
-
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
15668
|
-
{
|
|
15669
|
-
type: 'error',
|
|
15670
|
-
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
15671
|
-
name: 'ECDSAInvalidSignatureLength',
|
|
15672
|
-
},
|
|
15673
|
-
{
|
|
15674
|
-
type: 'error',
|
|
15675
|
-
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
15676
|
-
name: 'ECDSAInvalidSignatureS',
|
|
15677
|
-
},
|
|
15678
15524
|
{
|
|
15679
15525
|
type: 'error',
|
|
15680
15526
|
inputs: [
|
|
@@ -15732,14 +15578,6 @@ export const nft1155CreditsAbi = [
|
|
|
15732
15578
|
{ type: 'error', inputs: [], name: 'FailedCall' },
|
|
15733
15579
|
{ type: 'error', inputs: [], name: 'InvalidAddress' },
|
|
15734
15580
|
{ type: 'error', inputs: [], name: 'InvalidAssetsRegistryAddress' },
|
|
15735
|
-
{
|
|
15736
|
-
type: 'error',
|
|
15737
|
-
inputs: [
|
|
15738
|
-
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
15739
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
15740
|
-
],
|
|
15741
|
-
name: 'InvalidCreditsBurnProof',
|
|
15742
|
-
},
|
|
15743
15581
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
15744
15582
|
{
|
|
15745
15583
|
type: 'error',
|
|
@@ -15891,21 +15729,6 @@ export const nft1155CreditsV2Abi = [
|
|
|
15891
15729
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
15892
15730
|
stateMutability: 'view',
|
|
15893
15731
|
},
|
|
15894
|
-
{
|
|
15895
|
-
type: 'function',
|
|
15896
|
-
inputs: [],
|
|
15897
|
-
name: 'eip712Domain',
|
|
15898
|
-
outputs: [
|
|
15899
|
-
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
15900
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
15901
|
-
{ name: 'version', internalType: 'string', type: 'string' },
|
|
15902
|
-
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
15903
|
-
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
15904
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
15905
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15906
|
-
],
|
|
15907
|
-
stateMutability: 'view',
|
|
15908
|
-
},
|
|
15909
15732
|
{
|
|
15910
15733
|
type: 'function',
|
|
15911
15734
|
inputs: [],
|
|
@@ -15913,24 +15736,6 @@ export const nft1155CreditsV2Abi = [
|
|
|
15913
15736
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
15914
15737
|
stateMutability: 'view',
|
|
15915
15738
|
},
|
|
15916
|
-
{
|
|
15917
|
-
type: 'function',
|
|
15918
|
-
inputs: [
|
|
15919
|
-
{
|
|
15920
|
-
name: '_proof',
|
|
15921
|
-
internalType: 'struct INFT1155.CreditsBurnProofData',
|
|
15922
|
-
type: 'tuple',
|
|
15923
|
-
components: [
|
|
15924
|
-
{ name: 'keyspace', internalType: 'uint256', type: 'uint256' },
|
|
15925
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
15926
|
-
{ name: 'planIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
15927
|
-
],
|
|
15928
|
-
},
|
|
15929
|
-
],
|
|
15930
|
-
name: 'hashCreditsBurnProof',
|
|
15931
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
15932
|
-
stateMutability: 'view',
|
|
15933
|
-
},
|
|
15934
15739
|
{
|
|
15935
15740
|
type: 'function',
|
|
15936
15741
|
inputs: [
|
|
@@ -15999,16 +15804,6 @@ export const nft1155CreditsV2Abi = [
|
|
|
15999
15804
|
outputs: [],
|
|
16000
15805
|
stateMutability: 'nonpayable',
|
|
16001
15806
|
},
|
|
16002
|
-
{
|
|
16003
|
-
type: 'function',
|
|
16004
|
-
inputs: [
|
|
16005
|
-
{ name: '_sender', internalType: 'address', type: 'address' },
|
|
16006
|
-
{ name: '_keyspaces', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16007
|
-
],
|
|
16008
|
-
name: 'nextNonce',
|
|
16009
|
-
outputs: [{ name: 'nonces', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
16010
|
-
stateMutability: 'view',
|
|
16011
|
-
},
|
|
16012
15807
|
{
|
|
16013
15808
|
type: 'function',
|
|
16014
15809
|
inputs: [],
|
|
@@ -16178,7 +15973,6 @@ export const nft1155CreditsV2Abi = [
|
|
|
16178
15973
|
],
|
|
16179
15974
|
name: 'BurnerRevoked',
|
|
16180
15975
|
},
|
|
16181
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
16182
15976
|
{
|
|
16183
15977
|
type: 'event',
|
|
16184
15978
|
anonymous: false,
|
|
@@ -16337,17 +16131,6 @@ export const nft1155CreditsV2Abi = [
|
|
|
16337
16131
|
name: 'AddressEmptyCode',
|
|
16338
16132
|
},
|
|
16339
16133
|
{ type: 'error', inputs: [], name: 'AuthorityCannotBeZero' },
|
|
16340
|
-
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
16341
|
-
{
|
|
16342
|
-
type: 'error',
|
|
16343
|
-
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
16344
|
-
name: 'ECDSAInvalidSignatureLength',
|
|
16345
|
-
},
|
|
16346
|
-
{
|
|
16347
|
-
type: 'error',
|
|
16348
|
-
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
16349
|
-
name: 'ECDSAInvalidSignatureS',
|
|
16350
|
-
},
|
|
16351
16134
|
{
|
|
16352
16135
|
type: 'error',
|
|
16353
16136
|
inputs: [
|
|
@@ -16405,14 +16188,6 @@ export const nft1155CreditsV2Abi = [
|
|
|
16405
16188
|
{ type: 'error', inputs: [], name: 'FailedCall' },
|
|
16406
16189
|
{ type: 'error', inputs: [], name: 'InvalidAddress' },
|
|
16407
16190
|
{ type: 'error', inputs: [], name: 'InvalidAssetsRegistryAddress' },
|
|
16408
|
-
{
|
|
16409
|
-
type: 'error',
|
|
16410
|
-
inputs: [
|
|
16411
|
-
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
16412
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
16413
|
-
],
|
|
16414
|
-
name: 'InvalidCreditsBurnProof',
|
|
16415
|
-
},
|
|
16416
16191
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
16417
16192
|
{
|
|
16418
16193
|
type: 'error',
|
|
@@ -16528,9 +16303,9 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
16528
16303
|
inputs: [
|
|
16529
16304
|
{ name: '_from', internalType: 'address', type: 'address' },
|
|
16530
16305
|
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
16531
|
-
{ name: '
|
|
16532
|
-
{ name: '
|
|
16533
|
-
{ name: '
|
|
16306
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
|
16307
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
16308
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
16534
16309
|
],
|
|
16535
16310
|
name: 'burn',
|
|
16536
16311
|
outputs: [],
|
|
@@ -16541,9 +16316,9 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
16541
16316
|
inputs: [
|
|
16542
16317
|
{ name: '_from', internalType: 'address', type: 'address' },
|
|
16543
16318
|
{ name: '_ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16544
|
-
{ name: '
|
|
16545
|
-
{ name: '
|
|
16546
|
-
{ name: '
|
|
16319
|
+
{ name: '_amounts', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16320
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
16321
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
16547
16322
|
],
|
|
16548
16323
|
name: 'burnBatch',
|
|
16549
16324
|
outputs: [],
|
|
@@ -16559,21 +16334,6 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
16559
16334
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
16560
16335
|
stateMutability: 'view',
|
|
16561
16336
|
},
|
|
16562
|
-
{
|
|
16563
|
-
type: 'function',
|
|
16564
|
-
inputs: [],
|
|
16565
|
-
name: 'eip712Domain',
|
|
16566
|
-
outputs: [
|
|
16567
|
-
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
16568
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
16569
|
-
{ name: 'version', internalType: 'string', type: 'string' },
|
|
16570
|
-
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
16571
|
-
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
16572
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
16573
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16574
|
-
],
|
|
16575
|
-
stateMutability: 'view',
|
|
16576
|
-
},
|
|
16577
16337
|
{
|
|
16578
16338
|
type: 'function',
|
|
16579
16339
|
inputs: [
|
|
@@ -16596,24 +16356,6 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
16596
16356
|
],
|
|
16597
16357
|
stateMutability: 'view',
|
|
16598
16358
|
},
|
|
16599
|
-
{
|
|
16600
|
-
type: 'function',
|
|
16601
|
-
inputs: [
|
|
16602
|
-
{
|
|
16603
|
-
name: '_proof',
|
|
16604
|
-
internalType: 'struct INFT1155.CreditsBurnProofData',
|
|
16605
|
-
type: 'tuple',
|
|
16606
|
-
components: [
|
|
16607
|
-
{ name: 'keyspace', internalType: 'uint256', type: 'uint256' },
|
|
16608
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
16609
|
-
{ name: 'planIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16610
|
-
],
|
|
16611
|
-
},
|
|
16612
|
-
],
|
|
16613
|
-
name: 'hashCreditsBurnProof',
|
|
16614
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
16615
|
-
stateMutability: 'view',
|
|
16616
|
-
},
|
|
16617
16359
|
{
|
|
16618
16360
|
type: 'function',
|
|
16619
16361
|
inputs: [
|
|
@@ -16701,16 +16443,6 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
16701
16443
|
outputs: [],
|
|
16702
16444
|
stateMutability: 'nonpayable',
|
|
16703
16445
|
},
|
|
16704
|
-
{
|
|
16705
|
-
type: 'function',
|
|
16706
|
-
inputs: [
|
|
16707
|
-
{ name: '_sender', internalType: 'address', type: 'address' },
|
|
16708
|
-
{ name: '_keyspaces', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16709
|
-
],
|
|
16710
|
-
name: 'nextNonce',
|
|
16711
|
-
outputs: [{ name: 'nonces', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
16712
|
-
stateMutability: 'view',
|
|
16713
|
-
},
|
|
16714
16446
|
{
|
|
16715
16447
|
type: 'function',
|
|
16716
16448
|
inputs: [],
|
|
@@ -16890,7 +16622,6 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
16890
16622
|
],
|
|
16891
16623
|
name: 'BurnerRevoked',
|
|
16892
16624
|
},
|
|
16893
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
16894
16625
|
{
|
|
16895
16626
|
type: 'event',
|
|
16896
16627
|
anonymous: false,
|
|
@@ -17049,17 +16780,6 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
17049
16780
|
name: 'AddressEmptyCode',
|
|
17050
16781
|
},
|
|
17051
16782
|
{ type: 'error', inputs: [], name: 'AuthorityCannotBeZero' },
|
|
17052
|
-
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
17053
|
-
{
|
|
17054
|
-
type: 'error',
|
|
17055
|
-
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
17056
|
-
name: 'ECDSAInvalidSignatureLength',
|
|
17057
|
-
},
|
|
17058
|
-
{
|
|
17059
|
-
type: 'error',
|
|
17060
|
-
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
17061
|
-
name: 'ECDSAInvalidSignatureS',
|
|
17062
|
-
},
|
|
17063
16783
|
{
|
|
17064
16784
|
type: 'error',
|
|
17065
16785
|
inputs: [
|
|
@@ -17117,14 +16837,6 @@ export const nft1155ExpirableCreditsAbi = [
|
|
|
17117
16837
|
{ type: 'error', inputs: [], name: 'FailedCall' },
|
|
17118
16838
|
{ type: 'error', inputs: [], name: 'InvalidAddress' },
|
|
17119
16839
|
{ type: 'error', inputs: [], name: 'InvalidAssetsRegistryAddress' },
|
|
17120
|
-
{
|
|
17121
|
-
type: 'error',
|
|
17122
|
-
inputs: [
|
|
17123
|
-
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
17124
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
17125
|
-
],
|
|
17126
|
-
name: 'InvalidCreditsBurnProof',
|
|
17127
|
-
},
|
|
17128
16840
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
17129
16841
|
{
|
|
17130
16842
|
type: 'error',
|
|
@@ -17254,9 +16966,9 @@ export const nft1155ExpirableCreditsMockAbi = [
|
|
|
17254
16966
|
inputs: [
|
|
17255
16967
|
{ name: '_from', internalType: 'address', type: 'address' },
|
|
17256
16968
|
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
17257
|
-
{ name: '
|
|
17258
|
-
{ name: '
|
|
17259
|
-
{ name: '
|
|
16969
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
|
16970
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
16971
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
17260
16972
|
],
|
|
17261
16973
|
name: 'burn',
|
|
17262
16974
|
outputs: [],
|
|
@@ -17267,9 +16979,9 @@ export const nft1155ExpirableCreditsMockAbi = [
|
|
|
17267
16979
|
inputs: [
|
|
17268
16980
|
{ name: '_from', internalType: 'address', type: 'address' },
|
|
17269
16981
|
{ name: '_ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17270
|
-
{ name: '
|
|
17271
|
-
{ name: '
|
|
17272
|
-
{ name: '
|
|
16982
|
+
{ name: '_amounts', internalType: 'uint256[]', type: 'uint256[]' },
|
|
16983
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
16984
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
17273
16985
|
],
|
|
17274
16986
|
name: 'burnBatch',
|
|
17275
16987
|
outputs: [],
|
|
@@ -17285,21 +16997,6 @@ export const nft1155ExpirableCreditsMockAbi = [
|
|
|
17285
16997
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
17286
16998
|
stateMutability: 'view',
|
|
17287
16999
|
},
|
|
17288
|
-
{
|
|
17289
|
-
type: 'function',
|
|
17290
|
-
inputs: [],
|
|
17291
|
-
name: 'eip712Domain',
|
|
17292
|
-
outputs: [
|
|
17293
|
-
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
17294
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
17295
|
-
{ name: 'version', internalType: 'string', type: 'string' },
|
|
17296
|
-
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
17297
|
-
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
17298
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
17299
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17300
|
-
],
|
|
17301
|
-
stateMutability: 'view',
|
|
17302
|
-
},
|
|
17303
17000
|
{
|
|
17304
17001
|
type: 'function',
|
|
17305
17002
|
inputs: [
|
|
@@ -17329,24 +17026,6 @@ export const nft1155ExpirableCreditsMockAbi = [
|
|
|
17329
17026
|
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
17330
17027
|
stateMutability: 'view',
|
|
17331
17028
|
},
|
|
17332
|
-
{
|
|
17333
|
-
type: 'function',
|
|
17334
|
-
inputs: [
|
|
17335
|
-
{
|
|
17336
|
-
name: '_proof',
|
|
17337
|
-
internalType: 'struct INFT1155.CreditsBurnProofData',
|
|
17338
|
-
type: 'tuple',
|
|
17339
|
-
components: [
|
|
17340
|
-
{ name: 'keyspace', internalType: 'uint256', type: 'uint256' },
|
|
17341
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
17342
|
-
{ name: 'planIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17343
|
-
],
|
|
17344
|
-
},
|
|
17345
|
-
],
|
|
17346
|
-
name: 'hashCreditsBurnProof',
|
|
17347
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
17348
|
-
stateMutability: 'view',
|
|
17349
|
-
},
|
|
17350
17029
|
{
|
|
17351
17030
|
type: 'function',
|
|
17352
17031
|
inputs: [
|
|
@@ -17441,16 +17120,6 @@ export const nft1155ExpirableCreditsMockAbi = [
|
|
|
17441
17120
|
outputs: [],
|
|
17442
17121
|
stateMutability: 'nonpayable',
|
|
17443
17122
|
},
|
|
17444
|
-
{
|
|
17445
|
-
type: 'function',
|
|
17446
|
-
inputs: [
|
|
17447
|
-
{ name: '_sender', internalType: 'address', type: 'address' },
|
|
17448
|
-
{ name: '_keyspaces', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17449
|
-
],
|
|
17450
|
-
name: 'nextNonce',
|
|
17451
|
-
outputs: [{ name: 'nonces', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
17452
|
-
stateMutability: 'view',
|
|
17453
|
-
},
|
|
17454
17123
|
{
|
|
17455
17124
|
type: 'function',
|
|
17456
17125
|
inputs: [],
|
|
@@ -17630,7 +17299,6 @@ export const nft1155ExpirableCreditsMockAbi = [
|
|
|
17630
17299
|
],
|
|
17631
17300
|
name: 'BurnerRevoked',
|
|
17632
17301
|
},
|
|
17633
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
17634
17302
|
{
|
|
17635
17303
|
type: 'event',
|
|
17636
17304
|
anonymous: false,
|
|
@@ -17789,17 +17457,6 @@ export const nft1155ExpirableCreditsMockAbi = [
|
|
|
17789
17457
|
name: 'AddressEmptyCode',
|
|
17790
17458
|
},
|
|
17791
17459
|
{ type: 'error', inputs: [], name: 'AuthorityCannotBeZero' },
|
|
17792
|
-
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
17793
|
-
{
|
|
17794
|
-
type: 'error',
|
|
17795
|
-
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
17796
|
-
name: 'ECDSAInvalidSignatureLength',
|
|
17797
|
-
},
|
|
17798
|
-
{
|
|
17799
|
-
type: 'error',
|
|
17800
|
-
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
17801
|
-
name: 'ECDSAInvalidSignatureS',
|
|
17802
|
-
},
|
|
17803
17460
|
{
|
|
17804
17461
|
type: 'error',
|
|
17805
17462
|
inputs: [
|
|
@@ -17857,14 +17514,6 @@ export const nft1155ExpirableCreditsMockAbi = [
|
|
|
17857
17514
|
{ type: 'error', inputs: [], name: 'FailedCall' },
|
|
17858
17515
|
{ type: 'error', inputs: [], name: 'InvalidAddress' },
|
|
17859
17516
|
{ type: 'error', inputs: [], name: 'InvalidAssetsRegistryAddress' },
|
|
17860
|
-
{
|
|
17861
|
-
type: 'error',
|
|
17862
|
-
inputs: [
|
|
17863
|
-
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
17864
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
17865
|
-
],
|
|
17866
|
-
name: 'InvalidCreditsBurnProof',
|
|
17867
|
-
},
|
|
17868
17517
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
17869
17518
|
{
|
|
17870
17519
|
type: 'error',
|
|
@@ -17989,9 +17638,9 @@ export const nft1155ExpirableCreditsV2Abi = [
|
|
|
17989
17638
|
inputs: [
|
|
17990
17639
|
{ name: '_from', internalType: 'address', type: 'address' },
|
|
17991
17640
|
{ name: '_planId', internalType: 'uint256', type: 'uint256' },
|
|
17992
|
-
{ name: '
|
|
17993
|
-
{ name: '
|
|
17994
|
-
{ name: '
|
|
17641
|
+
{ name: '_amount', internalType: 'uint256', type: 'uint256' },
|
|
17642
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
17643
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
17995
17644
|
],
|
|
17996
17645
|
name: 'burn',
|
|
17997
17646
|
outputs: [],
|
|
@@ -18002,9 +17651,9 @@ export const nft1155ExpirableCreditsV2Abi = [
|
|
|
18002
17651
|
inputs: [
|
|
18003
17652
|
{ name: '_from', internalType: 'address', type: 'address' },
|
|
18004
17653
|
{ name: '_ids', internalType: 'uint256[]', type: 'uint256[]' },
|
|
18005
|
-
{ name: '
|
|
18006
|
-
{ name: '
|
|
18007
|
-
{ name: '
|
|
17654
|
+
{ name: '_amounts', internalType: 'uint256[]', type: 'uint256[]' },
|
|
17655
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
17656
|
+
{ name: '', internalType: 'bytes', type: 'bytes' },
|
|
18008
17657
|
],
|
|
18009
17658
|
name: 'burnBatch',
|
|
18010
17659
|
outputs: [],
|
|
@@ -18020,39 +17669,6 @@ export const nft1155ExpirableCreditsV2Abi = [
|
|
|
18020
17669
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
18021
17670
|
stateMutability: 'view',
|
|
18022
17671
|
},
|
|
18023
|
-
{
|
|
18024
|
-
type: 'function',
|
|
18025
|
-
inputs: [],
|
|
18026
|
-
name: 'eip712Domain',
|
|
18027
|
-
outputs: [
|
|
18028
|
-
{ name: 'fields', internalType: 'bytes1', type: 'bytes1' },
|
|
18029
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
18030
|
-
{ name: 'version', internalType: 'string', type: 'string' },
|
|
18031
|
-
{ name: 'chainId', internalType: 'uint256', type: 'uint256' },
|
|
18032
|
-
{ name: 'verifyingContract', internalType: 'address', type: 'address' },
|
|
18033
|
-
{ name: 'salt', internalType: 'bytes32', type: 'bytes32' },
|
|
18034
|
-
{ name: 'extensions', internalType: 'uint256[]', type: 'uint256[]' },
|
|
18035
|
-
],
|
|
18036
|
-
stateMutability: 'view',
|
|
18037
|
-
},
|
|
18038
|
-
{
|
|
18039
|
-
type: 'function',
|
|
18040
|
-
inputs: [
|
|
18041
|
-
{
|
|
18042
|
-
name: '_proof',
|
|
18043
|
-
internalType: 'struct INFT1155.CreditsBurnProofData',
|
|
18044
|
-
type: 'tuple',
|
|
18045
|
-
components: [
|
|
18046
|
-
{ name: 'keyspace', internalType: 'uint256', type: 'uint256' },
|
|
18047
|
-
{ name: 'nonce', internalType: 'uint256', type: 'uint256' },
|
|
18048
|
-
{ name: 'planIds', internalType: 'uint256[]', type: 'uint256[]' },
|
|
18049
|
-
],
|
|
18050
|
-
},
|
|
18051
|
-
],
|
|
18052
|
-
name: 'hashCreditsBurnProof',
|
|
18053
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
18054
|
-
stateMutability: 'view',
|
|
18055
|
-
},
|
|
18056
17672
|
{
|
|
18057
17673
|
type: 'function',
|
|
18058
17674
|
inputs: [
|
|
@@ -18140,16 +17756,6 @@ export const nft1155ExpirableCreditsV2Abi = [
|
|
|
18140
17756
|
outputs: [],
|
|
18141
17757
|
stateMutability: 'nonpayable',
|
|
18142
17758
|
},
|
|
18143
|
-
{
|
|
18144
|
-
type: 'function',
|
|
18145
|
-
inputs: [
|
|
18146
|
-
{ name: '_sender', internalType: 'address', type: 'address' },
|
|
18147
|
-
{ name: '_keyspaces', internalType: 'uint256[]', type: 'uint256[]' },
|
|
18148
|
-
],
|
|
18149
|
-
name: 'nextNonce',
|
|
18150
|
-
outputs: [{ name: 'nonces', internalType: 'uint256[]', type: 'uint256[]' }],
|
|
18151
|
-
stateMutability: 'view',
|
|
18152
|
-
},
|
|
18153
17759
|
{
|
|
18154
17760
|
type: 'function',
|
|
18155
17761
|
inputs: [],
|
|
@@ -18361,7 +17967,6 @@ export const nft1155ExpirableCreditsV2Abi = [
|
|
|
18361
17967
|
],
|
|
18362
17968
|
name: 'BurnerRevoked',
|
|
18363
17969
|
},
|
|
18364
|
-
{ type: 'event', anonymous: false, inputs: [], name: 'EIP712DomainChanged' },
|
|
18365
17970
|
{
|
|
18366
17971
|
type: 'event',
|
|
18367
17972
|
anonymous: false,
|
|
@@ -18546,17 +18151,6 @@ export const nft1155ExpirableCreditsV2Abi = [
|
|
|
18546
18151
|
name: 'AddressEmptyCode',
|
|
18547
18152
|
},
|
|
18548
18153
|
{ type: 'error', inputs: [], name: 'AuthorityCannotBeZero' },
|
|
18549
|
-
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
18550
|
-
{
|
|
18551
|
-
type: 'error',
|
|
18552
|
-
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
18553
|
-
name: 'ECDSAInvalidSignatureLength',
|
|
18554
|
-
},
|
|
18555
|
-
{
|
|
18556
|
-
type: 'error',
|
|
18557
|
-
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
18558
|
-
name: 'ECDSAInvalidSignatureS',
|
|
18559
|
-
},
|
|
18560
18154
|
{
|
|
18561
18155
|
type: 'error',
|
|
18562
18156
|
inputs: [
|
|
@@ -18614,14 +18208,6 @@ export const nft1155ExpirableCreditsV2Abi = [
|
|
|
18614
18208
|
{ type: 'error', inputs: [], name: 'FailedCall' },
|
|
18615
18209
|
{ type: 'error', inputs: [], name: 'InvalidAddress' },
|
|
18616
18210
|
{ type: 'error', inputs: [], name: 'InvalidAssetsRegistryAddress' },
|
|
18617
|
-
{
|
|
18618
|
-
type: 'error',
|
|
18619
|
-
inputs: [
|
|
18620
|
-
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
18621
|
-
{ name: 'from', internalType: 'address', type: 'address' },
|
|
18622
|
-
],
|
|
18623
|
-
name: 'InvalidCreditsBurnProof',
|
|
18624
|
-
},
|
|
18625
18211
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
18626
18212
|
{
|
|
18627
18213
|
type: 'error',
|
|
@@ -20626,7 +20212,7 @@ export const protocolStandardFeesAbi = [
|
|
|
20626
20212
|
internalType: 'enum IAsset.RedemptionType',
|
|
20627
20213
|
type: 'uint8',
|
|
20628
20214
|
},
|
|
20629
|
-
{ name: '
|
|
20215
|
+
{ name: 'onchainMirror', internalType: 'bool', type: 'bool' },
|
|
20630
20216
|
{ name: 'durationSecs', internalType: 'uint256', type: 'uint256' },
|
|
20631
20217
|
{ name: 'amount', internalType: 'uint256', type: 'uint256' },
|
|
20632
20218
|
{ name: 'minAmount', internalType: 'uint256', type: 'uint256' },
|