@nevermined-io/core-kit 1.2.2 → 1.4.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.
|
@@ -1724,6 +1724,25 @@ export const agreementsStoreAbi = [
|
|
|
1724
1724
|
],
|
|
1725
1725
|
stateMutability: 'view'
|
|
1726
1726
|
},
|
|
1727
|
+
{
|
|
1728
|
+
type: 'function',
|
|
1729
|
+
inputs: [
|
|
1730
|
+
{
|
|
1731
|
+
name: '_agreementId',
|
|
1732
|
+
internalType: 'bytes32',
|
|
1733
|
+
type: 'bytes32'
|
|
1734
|
+
}
|
|
1735
|
+
],
|
|
1736
|
+
name: 'getLockedAmounts',
|
|
1737
|
+
outputs: [
|
|
1738
|
+
{
|
|
1739
|
+
name: '',
|
|
1740
|
+
internalType: 'uint256[]',
|
|
1741
|
+
type: 'uint256[]'
|
|
1742
|
+
}
|
|
1743
|
+
],
|
|
1744
|
+
stateMutability: 'view'
|
|
1745
|
+
},
|
|
1727
1746
|
{
|
|
1728
1747
|
type: 'function',
|
|
1729
1748
|
inputs: [
|
|
@@ -1843,6 +1862,24 @@ export const agreementsStoreAbi = [
|
|
|
1843
1862
|
outputs: [],
|
|
1844
1863
|
stateMutability: 'nonpayable'
|
|
1845
1864
|
},
|
|
1865
|
+
{
|
|
1866
|
+
type: 'function',
|
|
1867
|
+
inputs: [
|
|
1868
|
+
{
|
|
1869
|
+
name: '_agreementId',
|
|
1870
|
+
internalType: 'bytes32',
|
|
1871
|
+
type: 'bytes32'
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
name: '_amounts',
|
|
1875
|
+
internalType: 'uint256[]',
|
|
1876
|
+
type: 'uint256[]'
|
|
1877
|
+
}
|
|
1878
|
+
],
|
|
1879
|
+
name: 'setLockedAmounts',
|
|
1880
|
+
outputs: [],
|
|
1881
|
+
stateMutability: 'nonpayable'
|
|
1882
|
+
},
|
|
1846
1883
|
{
|
|
1847
1884
|
type: 'function',
|
|
1848
1885
|
inputs: [
|
|
@@ -2141,6 +2178,17 @@ export const agreementsStoreAbi = [
|
|
|
2141
2178
|
inputs: [],
|
|
2142
2179
|
name: 'InvalidNumberOfPurchases'
|
|
2143
2180
|
},
|
|
2181
|
+
{
|
|
2182
|
+
type: 'error',
|
|
2183
|
+
inputs: [
|
|
2184
|
+
{
|
|
2185
|
+
name: 'agreementId',
|
|
2186
|
+
internalType: 'bytes32',
|
|
2187
|
+
type: 'bytes32'
|
|
2188
|
+
}
|
|
2189
|
+
],
|
|
2190
|
+
name: 'LockedAmountsAlreadySet'
|
|
2191
|
+
},
|
|
2144
2192
|
{
|
|
2145
2193
|
type: 'error',
|
|
2146
2194
|
inputs: [],
|
|
@@ -2355,6 +2403,25 @@ export const agreementsStoreV2Abi = [
|
|
|
2355
2403
|
],
|
|
2356
2404
|
stateMutability: 'view'
|
|
2357
2405
|
},
|
|
2406
|
+
{
|
|
2407
|
+
type: 'function',
|
|
2408
|
+
inputs: [
|
|
2409
|
+
{
|
|
2410
|
+
name: '_agreementId',
|
|
2411
|
+
internalType: 'bytes32',
|
|
2412
|
+
type: 'bytes32'
|
|
2413
|
+
}
|
|
2414
|
+
],
|
|
2415
|
+
name: 'getLockedAmounts',
|
|
2416
|
+
outputs: [
|
|
2417
|
+
{
|
|
2418
|
+
name: '',
|
|
2419
|
+
internalType: 'uint256[]',
|
|
2420
|
+
type: 'uint256[]'
|
|
2421
|
+
}
|
|
2422
|
+
],
|
|
2423
|
+
stateMutability: 'view'
|
|
2424
|
+
},
|
|
2358
2425
|
{
|
|
2359
2426
|
type: 'function',
|
|
2360
2427
|
inputs: [],
|
|
@@ -2500,6 +2567,24 @@ export const agreementsStoreV2Abi = [
|
|
|
2500
2567
|
outputs: [],
|
|
2501
2568
|
stateMutability: 'nonpayable'
|
|
2502
2569
|
},
|
|
2570
|
+
{
|
|
2571
|
+
type: 'function',
|
|
2572
|
+
inputs: [
|
|
2573
|
+
{
|
|
2574
|
+
name: '_agreementId',
|
|
2575
|
+
internalType: 'bytes32',
|
|
2576
|
+
type: 'bytes32'
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
name: '_amounts',
|
|
2580
|
+
internalType: 'uint256[]',
|
|
2581
|
+
type: 'uint256[]'
|
|
2582
|
+
}
|
|
2583
|
+
],
|
|
2584
|
+
name: 'setLockedAmounts',
|
|
2585
|
+
outputs: [],
|
|
2586
|
+
stateMutability: 'nonpayable'
|
|
2587
|
+
},
|
|
2503
2588
|
{
|
|
2504
2589
|
type: 'function',
|
|
2505
2590
|
inputs: [
|
|
@@ -2798,6 +2883,17 @@ export const agreementsStoreV2Abi = [
|
|
|
2798
2883
|
inputs: [],
|
|
2799
2884
|
name: 'InvalidNumberOfPurchases'
|
|
2800
2885
|
},
|
|
2886
|
+
{
|
|
2887
|
+
type: 'error',
|
|
2888
|
+
inputs: [
|
|
2889
|
+
{
|
|
2890
|
+
name: 'agreementId',
|
|
2891
|
+
internalType: 'bytes32',
|
|
2892
|
+
type: 'bytes32'
|
|
2893
|
+
}
|
|
2894
|
+
],
|
|
2895
|
+
name: 'LockedAmountsAlreadySet'
|
|
2896
|
+
},
|
|
2801
2897
|
{
|
|
2802
2898
|
type: 'error',
|
|
2803
2899
|
inputs: [],
|
|
@@ -11946,6 +12042,11 @@ export const deployPricingContractsAbi = [
|
|
|
11946
12042
|
{
|
|
11947
12043
|
type: 'function',
|
|
11948
12044
|
inputs: [
|
|
12045
|
+
{
|
|
12046
|
+
name: 'assetsRegistry',
|
|
12047
|
+
internalType: 'address',
|
|
12048
|
+
type: 'address'
|
|
12049
|
+
},
|
|
11949
12050
|
{
|
|
11950
12051
|
name: 'salt',
|
|
11951
12052
|
internalType: 'bytes32',
|
|
@@ -12032,6 +12133,11 @@ export const deployPricingContractsAbi = [
|
|
|
12032
12133
|
internalType: 'address',
|
|
12033
12134
|
type: 'address'
|
|
12034
12135
|
},
|
|
12136
|
+
{
|
|
12137
|
+
name: 'assetsRegistry',
|
|
12138
|
+
internalType: 'address',
|
|
12139
|
+
type: 'address'
|
|
12140
|
+
},
|
|
12035
12141
|
{
|
|
12036
12142
|
name: 'linearPricingSalt',
|
|
12037
12143
|
internalType: 'bytes32',
|
|
@@ -12093,6 +12199,11 @@ export const deployPricingContractsAbi = [
|
|
|
12093
12199
|
],
|
|
12094
12200
|
name: 'DeploymentFailed'
|
|
12095
12201
|
},
|
|
12202
|
+
{
|
|
12203
|
+
type: 'error',
|
|
12204
|
+
inputs: [],
|
|
12205
|
+
name: 'InvalidAssetsRegistry'
|
|
12206
|
+
},
|
|
12096
12207
|
{
|
|
12097
12208
|
type: 'error',
|
|
12098
12209
|
inputs: [],
|
|
@@ -13031,6 +13142,22 @@ export const distributePaymentsConditionAbi = [
|
|
|
13031
13142
|
inputs: [],
|
|
13032
13143
|
name: 'InvalidVaultAddress'
|
|
13033
13144
|
},
|
|
13145
|
+
{
|
|
13146
|
+
type: 'error',
|
|
13147
|
+
inputs: [
|
|
13148
|
+
{
|
|
13149
|
+
name: 'lockedLength',
|
|
13150
|
+
internalType: 'uint256',
|
|
13151
|
+
type: 'uint256'
|
|
13152
|
+
},
|
|
13153
|
+
{
|
|
13154
|
+
name: 'receiversLength',
|
|
13155
|
+
internalType: 'uint256',
|
|
13156
|
+
type: 'uint256'
|
|
13157
|
+
}
|
|
13158
|
+
],
|
|
13159
|
+
name: 'LockedAmountsReceiversLengthMismatch'
|
|
13160
|
+
},
|
|
13034
13161
|
{
|
|
13035
13162
|
type: 'error',
|
|
13036
13163
|
inputs: [],
|
|
@@ -16575,6 +16702,17 @@ export const fiatSettlementConditionAbi = [
|
|
|
16575
16702
|
inputs: [],
|
|
16576
16703
|
name: 'ReentrancyGuardReentrantCall'
|
|
16577
16704
|
},
|
|
16705
|
+
{
|
|
16706
|
+
type: 'error',
|
|
16707
|
+
inputs: [
|
|
16708
|
+
{
|
|
16709
|
+
name: 'addr',
|
|
16710
|
+
internalType: 'address',
|
|
16711
|
+
type: 'address'
|
|
16712
|
+
}
|
|
16713
|
+
],
|
|
16714
|
+
name: 'SelfSettlementNotAllowed'
|
|
16715
|
+
},
|
|
16578
16716
|
{
|
|
16579
16717
|
type: 'error',
|
|
16580
16718
|
inputs: [],
|
|
@@ -16759,6 +16897,76 @@ export const fixedPaymentTemplateAbi = [
|
|
|
16759
16897
|
outputs: [],
|
|
16760
16898
|
stateMutability: 'payable'
|
|
16761
16899
|
},
|
|
16900
|
+
{
|
|
16901
|
+
type: 'function',
|
|
16902
|
+
inputs: [
|
|
16903
|
+
{
|
|
16904
|
+
name: '_seed',
|
|
16905
|
+
internalType: 'bytes32',
|
|
16906
|
+
type: 'bytes32'
|
|
16907
|
+
},
|
|
16908
|
+
{
|
|
16909
|
+
name: '_planId',
|
|
16910
|
+
internalType: 'uint256',
|
|
16911
|
+
type: 'uint256'
|
|
16912
|
+
},
|
|
16913
|
+
{
|
|
16914
|
+
name: '_buyer',
|
|
16915
|
+
internalType: 'address',
|
|
16916
|
+
type: 'address'
|
|
16917
|
+
},
|
|
16918
|
+
{
|
|
16919
|
+
name: '_creditsReceiver',
|
|
16920
|
+
internalType: 'address',
|
|
16921
|
+
type: 'address'
|
|
16922
|
+
},
|
|
16923
|
+
{
|
|
16924
|
+
name: '_numberOfPurchases',
|
|
16925
|
+
internalType: 'uint256',
|
|
16926
|
+
type: 'uint256'
|
|
16927
|
+
},
|
|
16928
|
+
{
|
|
16929
|
+
name: '_params',
|
|
16930
|
+
internalType: 'bytes[]',
|
|
16931
|
+
type: 'bytes[]'
|
|
16932
|
+
},
|
|
16933
|
+
{
|
|
16934
|
+
name: '_authorization',
|
|
16935
|
+
internalType: 'struct IERC3009.ReceiveAuthorization',
|
|
16936
|
+
type: 'tuple',
|
|
16937
|
+
components: [
|
|
16938
|
+
{
|
|
16939
|
+
name: 'validAfter',
|
|
16940
|
+
internalType: 'uint256',
|
|
16941
|
+
type: 'uint256'
|
|
16942
|
+
},
|
|
16943
|
+
{
|
|
16944
|
+
name: 'validBefore',
|
|
16945
|
+
internalType: 'uint256',
|
|
16946
|
+
type: 'uint256'
|
|
16947
|
+
},
|
|
16948
|
+
{
|
|
16949
|
+
name: 'v',
|
|
16950
|
+
internalType: 'uint8',
|
|
16951
|
+
type: 'uint8'
|
|
16952
|
+
},
|
|
16953
|
+
{
|
|
16954
|
+
name: 'r',
|
|
16955
|
+
internalType: 'bytes32',
|
|
16956
|
+
type: 'bytes32'
|
|
16957
|
+
},
|
|
16958
|
+
{
|
|
16959
|
+
name: 's',
|
|
16960
|
+
internalType: 'bytes32',
|
|
16961
|
+
type: 'bytes32'
|
|
16962
|
+
}
|
|
16963
|
+
]
|
|
16964
|
+
}
|
|
16965
|
+
],
|
|
16966
|
+
name: 'orderWithAuthorization',
|
|
16967
|
+
outputs: [],
|
|
16968
|
+
stateMutability: 'nonpayable'
|
|
16969
|
+
},
|
|
16762
16970
|
{
|
|
16763
16971
|
type: 'function',
|
|
16764
16972
|
inputs: [],
|
|
@@ -18409,6 +18617,43 @@ export const iAgreementAbi = [
|
|
|
18409
18617
|
],
|
|
18410
18618
|
stateMutability: 'view'
|
|
18411
18619
|
},
|
|
18620
|
+
{
|
|
18621
|
+
type: 'function',
|
|
18622
|
+
inputs: [
|
|
18623
|
+
{
|
|
18624
|
+
name: '_agreementId',
|
|
18625
|
+
internalType: 'bytes32',
|
|
18626
|
+
type: 'bytes32'
|
|
18627
|
+
}
|
|
18628
|
+
],
|
|
18629
|
+
name: 'getLockedAmounts',
|
|
18630
|
+
outputs: [
|
|
18631
|
+
{
|
|
18632
|
+
name: '',
|
|
18633
|
+
internalType: 'uint256[]',
|
|
18634
|
+
type: 'uint256[]'
|
|
18635
|
+
}
|
|
18636
|
+
],
|
|
18637
|
+
stateMutability: 'view'
|
|
18638
|
+
},
|
|
18639
|
+
{
|
|
18640
|
+
type: 'function',
|
|
18641
|
+
inputs: [
|
|
18642
|
+
{
|
|
18643
|
+
name: '_agreementId',
|
|
18644
|
+
internalType: 'bytes32',
|
|
18645
|
+
type: 'bytes32'
|
|
18646
|
+
},
|
|
18647
|
+
{
|
|
18648
|
+
name: '_amounts',
|
|
18649
|
+
internalType: 'uint256[]',
|
|
18650
|
+
type: 'uint256[]'
|
|
18651
|
+
}
|
|
18652
|
+
],
|
|
18653
|
+
name: 'setLockedAmounts',
|
|
18654
|
+
outputs: [],
|
|
18655
|
+
stateMutability: 'nonpayable'
|
|
18656
|
+
},
|
|
18412
18657
|
{
|
|
18413
18658
|
type: 'function',
|
|
18414
18659
|
inputs: [
|
|
@@ -18551,6 +18796,17 @@ export const iAgreementAbi = [
|
|
|
18551
18796
|
inputs: [],
|
|
18552
18797
|
name: 'InvalidNumberOfPurchases'
|
|
18553
18798
|
},
|
|
18799
|
+
{
|
|
18800
|
+
type: 'error',
|
|
18801
|
+
inputs: [
|
|
18802
|
+
{
|
|
18803
|
+
name: 'agreementId',
|
|
18804
|
+
internalType: 'bytes32',
|
|
18805
|
+
type: 'bytes32'
|
|
18806
|
+
}
|
|
18807
|
+
],
|
|
18808
|
+
name: 'LockedAmountsAlreadySet'
|
|
18809
|
+
},
|
|
18554
18810
|
{
|
|
18555
18811
|
type: 'error',
|
|
18556
18812
|
inputs: [],
|
|
@@ -21172,6 +21428,64 @@ export const ierc20MetadataAbi = [
|
|
|
21172
21428
|
}
|
|
21173
21429
|
];
|
|
21174
21430
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
21431
|
+
// IERC3009
|
|
21432
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
21433
|
+
export const ierc3009Abi = [
|
|
21434
|
+
{
|
|
21435
|
+
type: 'function',
|
|
21436
|
+
inputs: [
|
|
21437
|
+
{
|
|
21438
|
+
name: 'from',
|
|
21439
|
+
internalType: 'address',
|
|
21440
|
+
type: 'address'
|
|
21441
|
+
},
|
|
21442
|
+
{
|
|
21443
|
+
name: 'to',
|
|
21444
|
+
internalType: 'address',
|
|
21445
|
+
type: 'address'
|
|
21446
|
+
},
|
|
21447
|
+
{
|
|
21448
|
+
name: 'value',
|
|
21449
|
+
internalType: 'uint256',
|
|
21450
|
+
type: 'uint256'
|
|
21451
|
+
},
|
|
21452
|
+
{
|
|
21453
|
+
name: 'validAfter',
|
|
21454
|
+
internalType: 'uint256',
|
|
21455
|
+
type: 'uint256'
|
|
21456
|
+
},
|
|
21457
|
+
{
|
|
21458
|
+
name: 'validBefore',
|
|
21459
|
+
internalType: 'uint256',
|
|
21460
|
+
type: 'uint256'
|
|
21461
|
+
},
|
|
21462
|
+
{
|
|
21463
|
+
name: 'nonce',
|
|
21464
|
+
internalType: 'bytes32',
|
|
21465
|
+
type: 'bytes32'
|
|
21466
|
+
},
|
|
21467
|
+
{
|
|
21468
|
+
name: 'v',
|
|
21469
|
+
internalType: 'uint8',
|
|
21470
|
+
type: 'uint8'
|
|
21471
|
+
},
|
|
21472
|
+
{
|
|
21473
|
+
name: 'r',
|
|
21474
|
+
internalType: 'bytes32',
|
|
21475
|
+
type: 'bytes32'
|
|
21476
|
+
},
|
|
21477
|
+
{
|
|
21478
|
+
name: 's',
|
|
21479
|
+
internalType: 'bytes32',
|
|
21480
|
+
type: 'bytes32'
|
|
21481
|
+
}
|
|
21482
|
+
],
|
|
21483
|
+
name: 'receiveWithAuthorization',
|
|
21484
|
+
outputs: [],
|
|
21485
|
+
stateMutability: 'nonpayable'
|
|
21486
|
+
}
|
|
21487
|
+
];
|
|
21488
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
21175
21489
|
// IERC4906
|
|
21176
21490
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
21177
21491
|
export const ierc4906Abi = [
|
|
@@ -22203,6 +22517,17 @@ export const iFiatSettlementAbi = [
|
|
|
22203
22517
|
}
|
|
22204
22518
|
],
|
|
22205
22519
|
name: 'OnlyPlanWithFiatPrice'
|
|
22520
|
+
},
|
|
22521
|
+
{
|
|
22522
|
+
type: 'error',
|
|
22523
|
+
inputs: [
|
|
22524
|
+
{
|
|
22525
|
+
name: 'addr',
|
|
22526
|
+
internalType: 'address',
|
|
22527
|
+
type: 'address'
|
|
22528
|
+
}
|
|
22529
|
+
],
|
|
22530
|
+
name: 'SelfSettlementNotAllowed'
|
|
22206
22531
|
}
|
|
22207
22532
|
];
|
|
22208
22533
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -24121,6 +24446,59 @@ export const iVaultAbi = [
|
|
|
24121
24446
|
outputs: [],
|
|
24122
24447
|
stateMutability: 'nonpayable'
|
|
24123
24448
|
},
|
|
24449
|
+
{
|
|
24450
|
+
type: 'function',
|
|
24451
|
+
inputs: [
|
|
24452
|
+
{
|
|
24453
|
+
name: '_erc20TokenAddress',
|
|
24454
|
+
internalType: 'address',
|
|
24455
|
+
type: 'address'
|
|
24456
|
+
},
|
|
24457
|
+
{
|
|
24458
|
+
name: '_from',
|
|
24459
|
+
internalType: 'address',
|
|
24460
|
+
type: 'address'
|
|
24461
|
+
},
|
|
24462
|
+
{
|
|
24463
|
+
name: '_amount',
|
|
24464
|
+
internalType: 'uint256',
|
|
24465
|
+
type: 'uint256'
|
|
24466
|
+
},
|
|
24467
|
+
{
|
|
24468
|
+
name: '_validAfter',
|
|
24469
|
+
internalType: 'uint256',
|
|
24470
|
+
type: 'uint256'
|
|
24471
|
+
},
|
|
24472
|
+
{
|
|
24473
|
+
name: '_validBefore',
|
|
24474
|
+
internalType: 'uint256',
|
|
24475
|
+
type: 'uint256'
|
|
24476
|
+
},
|
|
24477
|
+
{
|
|
24478
|
+
name: '_nonce',
|
|
24479
|
+
internalType: 'bytes32',
|
|
24480
|
+
type: 'bytes32'
|
|
24481
|
+
},
|
|
24482
|
+
{
|
|
24483
|
+
name: '_v',
|
|
24484
|
+
internalType: 'uint8',
|
|
24485
|
+
type: 'uint8'
|
|
24486
|
+
},
|
|
24487
|
+
{
|
|
24488
|
+
name: '_r',
|
|
24489
|
+
internalType: 'bytes32',
|
|
24490
|
+
type: 'bytes32'
|
|
24491
|
+
},
|
|
24492
|
+
{
|
|
24493
|
+
name: '_s',
|
|
24494
|
+
internalType: 'bytes32',
|
|
24495
|
+
type: 'bytes32'
|
|
24496
|
+
}
|
|
24497
|
+
],
|
|
24498
|
+
name: 'depositERC20WithAuthorization',
|
|
24499
|
+
outputs: [],
|
|
24500
|
+
stateMutability: 'nonpayable'
|
|
24501
|
+
},
|
|
24124
24502
|
{
|
|
24125
24503
|
type: 'function',
|
|
24126
24504
|
inputs: [],
|
|
@@ -24301,6 +24679,22 @@ export const iVaultAbi = [
|
|
|
24301
24679
|
],
|
|
24302
24680
|
name: 'WithdrawNativeToken'
|
|
24303
24681
|
},
|
|
24682
|
+
{
|
|
24683
|
+
type: 'error',
|
|
24684
|
+
inputs: [
|
|
24685
|
+
{
|
|
24686
|
+
name: 'expected',
|
|
24687
|
+
internalType: 'uint256',
|
|
24688
|
+
type: 'uint256'
|
|
24689
|
+
},
|
|
24690
|
+
{
|
|
24691
|
+
name: 'received',
|
|
24692
|
+
internalType: 'uint256',
|
|
24693
|
+
type: 'uint256'
|
|
24694
|
+
}
|
|
24695
|
+
],
|
|
24696
|
+
name: 'ERC20DepositMismatch'
|
|
24697
|
+
},
|
|
24304
24698
|
{
|
|
24305
24699
|
type: 'error',
|
|
24306
24700
|
inputs: [],
|
|
@@ -24355,6 +24749,30 @@ export const initializableAbi = [
|
|
|
24355
24749
|
// LinearPricing
|
|
24356
24750
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
24357
24751
|
export const linearPricingAbi = [
|
|
24752
|
+
{
|
|
24753
|
+
type: 'constructor',
|
|
24754
|
+
inputs: [
|
|
24755
|
+
{
|
|
24756
|
+
name: '_assetsRegistry',
|
|
24757
|
+
internalType: 'contract IAsset',
|
|
24758
|
+
type: 'address'
|
|
24759
|
+
}
|
|
24760
|
+
],
|
|
24761
|
+
stateMutability: 'nonpayable'
|
|
24762
|
+
},
|
|
24763
|
+
{
|
|
24764
|
+
type: 'function',
|
|
24765
|
+
inputs: [],
|
|
24766
|
+
name: 'assetsRegistry',
|
|
24767
|
+
outputs: [
|
|
24768
|
+
{
|
|
24769
|
+
name: '',
|
|
24770
|
+
internalType: 'contract IAsset',
|
|
24771
|
+
type: 'address'
|
|
24772
|
+
}
|
|
24773
|
+
],
|
|
24774
|
+
stateMutability: 'view'
|
|
24775
|
+
},
|
|
24358
24776
|
{
|
|
24359
24777
|
type: 'function',
|
|
24360
24778
|
inputs: [
|
|
@@ -24493,6 +24911,11 @@ export const linearPricingAbi = [
|
|
|
24493
24911
|
],
|
|
24494
24912
|
name: 'PriceQuoted'
|
|
24495
24913
|
},
|
|
24914
|
+
{
|
|
24915
|
+
type: 'error',
|
|
24916
|
+
inputs: [],
|
|
24917
|
+
name: 'InvalidAssetsRegistry'
|
|
24918
|
+
},
|
|
24496
24919
|
{
|
|
24497
24920
|
type: 'error',
|
|
24498
24921
|
inputs: [],
|
|
@@ -24503,6 +24926,22 @@ export const linearPricingAbi = [
|
|
|
24503
24926
|
inputs: [],
|
|
24504
24927
|
name: 'InvalidWeights'
|
|
24505
24928
|
},
|
|
24929
|
+
{
|
|
24930
|
+
type: 'error',
|
|
24931
|
+
inputs: [
|
|
24932
|
+
{
|
|
24933
|
+
name: 'planId',
|
|
24934
|
+
internalType: 'uint256',
|
|
24935
|
+
type: 'uint256'
|
|
24936
|
+
},
|
|
24937
|
+
{
|
|
24938
|
+
name: 'caller',
|
|
24939
|
+
internalType: 'address',
|
|
24940
|
+
type: 'address'
|
|
24941
|
+
}
|
|
24942
|
+
],
|
|
24943
|
+
name: 'NotPlanOwner'
|
|
24944
|
+
},
|
|
24506
24945
|
{
|
|
24507
24946
|
type: 'error',
|
|
24508
24947
|
inputs: [
|
|
@@ -24607,6 +25046,66 @@ export const lockPaymentConditionAbi = [
|
|
|
24607
25046
|
outputs: [],
|
|
24608
25047
|
stateMutability: 'payable'
|
|
24609
25048
|
},
|
|
25049
|
+
{
|
|
25050
|
+
type: 'function',
|
|
25051
|
+
inputs: [
|
|
25052
|
+
{
|
|
25053
|
+
name: '_conditionId',
|
|
25054
|
+
internalType: 'bytes32',
|
|
25055
|
+
type: 'bytes32'
|
|
25056
|
+
},
|
|
25057
|
+
{
|
|
25058
|
+
name: '_agreementId',
|
|
25059
|
+
internalType: 'bytes32',
|
|
25060
|
+
type: 'bytes32'
|
|
25061
|
+
},
|
|
25062
|
+
{
|
|
25063
|
+
name: '_planId',
|
|
25064
|
+
internalType: 'uint256',
|
|
25065
|
+
type: 'uint256'
|
|
25066
|
+
},
|
|
25067
|
+
{
|
|
25068
|
+
name: '_from',
|
|
25069
|
+
internalType: 'address',
|
|
25070
|
+
type: 'address'
|
|
25071
|
+
},
|
|
25072
|
+
{
|
|
25073
|
+
name: '_authorization',
|
|
25074
|
+
internalType: 'struct IERC3009.ReceiveAuthorization',
|
|
25075
|
+
type: 'tuple',
|
|
25076
|
+
components: [
|
|
25077
|
+
{
|
|
25078
|
+
name: 'validAfter',
|
|
25079
|
+
internalType: 'uint256',
|
|
25080
|
+
type: 'uint256'
|
|
25081
|
+
},
|
|
25082
|
+
{
|
|
25083
|
+
name: 'validBefore',
|
|
25084
|
+
internalType: 'uint256',
|
|
25085
|
+
type: 'uint256'
|
|
25086
|
+
},
|
|
25087
|
+
{
|
|
25088
|
+
name: 'v',
|
|
25089
|
+
internalType: 'uint8',
|
|
25090
|
+
type: 'uint8'
|
|
25091
|
+
},
|
|
25092
|
+
{
|
|
25093
|
+
name: 'r',
|
|
25094
|
+
internalType: 'bytes32',
|
|
25095
|
+
type: 'bytes32'
|
|
25096
|
+
},
|
|
25097
|
+
{
|
|
25098
|
+
name: 's',
|
|
25099
|
+
internalType: 'bytes32',
|
|
25100
|
+
type: 'bytes32'
|
|
25101
|
+
}
|
|
25102
|
+
]
|
|
25103
|
+
}
|
|
25104
|
+
],
|
|
25105
|
+
name: 'fulfillWithAuthorization',
|
|
25106
|
+
outputs: [],
|
|
25107
|
+
stateMutability: 'nonpayable'
|
|
25108
|
+
},
|
|
24610
25109
|
{
|
|
24611
25110
|
type: 'function',
|
|
24612
25111
|
inputs: [
|
|
@@ -24891,6 +25390,11 @@ export const lockPaymentConditionAbi = [
|
|
|
24891
25390
|
inputs: [],
|
|
24892
25391
|
name: 'InvalidInitialization'
|
|
24893
25392
|
},
|
|
25393
|
+
{
|
|
25394
|
+
type: 'error',
|
|
25395
|
+
inputs: [],
|
|
25396
|
+
name: 'InvalidPayerAddress'
|
|
25397
|
+
},
|
|
24894
25398
|
{
|
|
24895
25399
|
type: 'error',
|
|
24896
25400
|
inputs: [
|
|
@@ -24917,6 +25421,11 @@ export const lockPaymentConditionAbi = [
|
|
|
24917
25421
|
inputs: [],
|
|
24918
25422
|
name: 'MsgValueMustBeZeroForERC20Payments'
|
|
24919
25423
|
},
|
|
25424
|
+
{
|
|
25425
|
+
type: 'error',
|
|
25426
|
+
inputs: [],
|
|
25427
|
+
name: 'NativeTokenNotSupportedForAuthorization'
|
|
25428
|
+
},
|
|
24920
25429
|
{
|
|
24921
25430
|
type: 'error',
|
|
24922
25431
|
inputs: [
|
|
@@ -24926,71 +25435,1040 @@ export const lockPaymentConditionAbi = [
|
|
|
24926
25435
|
type: 'uint256[]'
|
|
24927
25436
|
},
|
|
24928
25437
|
{
|
|
24929
|
-
name: 'receivers',
|
|
24930
|
-
internalType: 'address[]',
|
|
24931
|
-
type: 'address[]'
|
|
25438
|
+
name: 'receivers',
|
|
25439
|
+
internalType: 'address[]',
|
|
25440
|
+
type: 'address[]'
|
|
25441
|
+
}
|
|
25442
|
+
],
|
|
25443
|
+
name: 'NeverminedFeesNotIncluded'
|
|
25444
|
+
},
|
|
25445
|
+
{
|
|
25446
|
+
type: 'error',
|
|
25447
|
+
inputs: [],
|
|
25448
|
+
name: 'NotInitializing'
|
|
25449
|
+
},
|
|
25450
|
+
{
|
|
25451
|
+
type: 'error',
|
|
25452
|
+
inputs: [
|
|
25453
|
+
{
|
|
25454
|
+
name: 'quotedLength',
|
|
25455
|
+
internalType: 'uint256',
|
|
25456
|
+
type: 'uint256'
|
|
25457
|
+
},
|
|
25458
|
+
{
|
|
25459
|
+
name: 'receiversLength',
|
|
25460
|
+
internalType: 'uint256',
|
|
25461
|
+
type: 'uint256'
|
|
25462
|
+
}
|
|
25463
|
+
],
|
|
25464
|
+
name: 'QuotedAmountsReceiversLengthMismatch'
|
|
25465
|
+
},
|
|
25466
|
+
{
|
|
25467
|
+
type: 'error',
|
|
25468
|
+
inputs: [],
|
|
25469
|
+
name: 'ReentrancyGuardReentrantCall'
|
|
25470
|
+
},
|
|
25471
|
+
{
|
|
25472
|
+
type: 'error',
|
|
25473
|
+
inputs: [],
|
|
25474
|
+
name: 'UUPSUnauthorizedCallContext'
|
|
25475
|
+
},
|
|
25476
|
+
{
|
|
25477
|
+
type: 'error',
|
|
25478
|
+
inputs: [
|
|
25479
|
+
{
|
|
25480
|
+
name: 'slot',
|
|
25481
|
+
internalType: 'bytes32',
|
|
25482
|
+
type: 'bytes32'
|
|
25483
|
+
}
|
|
25484
|
+
],
|
|
25485
|
+
name: 'UUPSUnsupportedProxiableUUID'
|
|
25486
|
+
},
|
|
25487
|
+
{
|
|
25488
|
+
type: 'error',
|
|
25489
|
+
inputs: [],
|
|
25490
|
+
name: 'UnsupportedPriceTypeOption'
|
|
25491
|
+
},
|
|
25492
|
+
{
|
|
25493
|
+
type: 'error',
|
|
25494
|
+
inputs: [],
|
|
25495
|
+
name: 'ZeroAmountNotSupportedForAuthorization'
|
|
25496
|
+
}
|
|
25497
|
+
];
|
|
25498
|
+
export const lockPaymentConditionAddress = '0x104ae701C9B3e8EA54145dE54D0ca7DDb2DE4DF5';
|
|
25499
|
+
export const lockPaymentConditionConfig = {
|
|
25500
|
+
address: lockPaymentConditionAddress,
|
|
25501
|
+
abi: lockPaymentConditionAbi
|
|
25502
|
+
};
|
|
25503
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
25504
|
+
// ManagePermissions
|
|
25505
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
25506
|
+
export const managePermissionsAbi = [
|
|
25507
|
+
{
|
|
25508
|
+
type: 'function',
|
|
25509
|
+
inputs: [],
|
|
25510
|
+
name: 'IS_SCRIPT',
|
|
25511
|
+
outputs: [
|
|
25512
|
+
{
|
|
25513
|
+
name: '',
|
|
25514
|
+
internalType: 'bool',
|
|
25515
|
+
type: 'bool'
|
|
25516
|
+
}
|
|
25517
|
+
],
|
|
25518
|
+
stateMutability: 'view'
|
|
25519
|
+
},
|
|
25520
|
+
{
|
|
25521
|
+
type: 'function',
|
|
25522
|
+
inputs: [],
|
|
25523
|
+
name: 'debug',
|
|
25524
|
+
outputs: [
|
|
25525
|
+
{
|
|
25526
|
+
name: '',
|
|
25527
|
+
internalType: 'bool',
|
|
25528
|
+
type: 'bool'
|
|
25529
|
+
}
|
|
25530
|
+
],
|
|
25531
|
+
stateMutability: 'view'
|
|
25532
|
+
},
|
|
25533
|
+
{
|
|
25534
|
+
type: 'function',
|
|
25535
|
+
inputs: [],
|
|
25536
|
+
name: 'feeReceiver',
|
|
25537
|
+
outputs: [
|
|
25538
|
+
{
|
|
25539
|
+
name: '',
|
|
25540
|
+
internalType: 'address',
|
|
25541
|
+
type: 'address'
|
|
25542
|
+
}
|
|
25543
|
+
],
|
|
25544
|
+
stateMutability: 'view'
|
|
25545
|
+
},
|
|
25546
|
+
{
|
|
25547
|
+
type: 'function',
|
|
25548
|
+
inputs: [],
|
|
25549
|
+
name: 'governor',
|
|
25550
|
+
outputs: [
|
|
25551
|
+
{
|
|
25552
|
+
name: '',
|
|
25553
|
+
internalType: 'address',
|
|
25554
|
+
type: 'address'
|
|
25555
|
+
}
|
|
25556
|
+
],
|
|
25557
|
+
stateMutability: 'view'
|
|
25558
|
+
},
|
|
25559
|
+
{
|
|
25560
|
+
type: 'function',
|
|
25561
|
+
inputs: [],
|
|
25562
|
+
name: 'networkFee',
|
|
25563
|
+
outputs: [
|
|
25564
|
+
{
|
|
25565
|
+
name: '',
|
|
25566
|
+
internalType: 'uint256',
|
|
25567
|
+
type: 'uint256'
|
|
25568
|
+
}
|
|
25569
|
+
],
|
|
25570
|
+
stateMutability: 'view'
|
|
25571
|
+
},
|
|
25572
|
+
{
|
|
25573
|
+
type: 'function',
|
|
25574
|
+
inputs: [],
|
|
25575
|
+
name: 'owner',
|
|
25576
|
+
outputs: [
|
|
25577
|
+
{
|
|
25578
|
+
name: '',
|
|
25579
|
+
internalType: 'address',
|
|
25580
|
+
type: 'address'
|
|
25581
|
+
}
|
|
25582
|
+
],
|
|
25583
|
+
stateMutability: 'view'
|
|
25584
|
+
},
|
|
25585
|
+
{
|
|
25586
|
+
type: 'function',
|
|
25587
|
+
inputs: [
|
|
25588
|
+
{
|
|
25589
|
+
name: 'config',
|
|
25590
|
+
internalType: 'struct ManagePermissions.Config',
|
|
25591
|
+
type: 'tuple',
|
|
25592
|
+
components: [
|
|
25593
|
+
{
|
|
25594
|
+
name: 'owner',
|
|
25595
|
+
internalType: 'address',
|
|
25596
|
+
type: 'address'
|
|
25597
|
+
},
|
|
25598
|
+
{
|
|
25599
|
+
name: 'upgrader',
|
|
25600
|
+
internalType: 'address',
|
|
25601
|
+
type: 'address'
|
|
25602
|
+
},
|
|
25603
|
+
{
|
|
25604
|
+
name: 'governor',
|
|
25605
|
+
internalType: 'address',
|
|
25606
|
+
type: 'address'
|
|
25607
|
+
},
|
|
25608
|
+
{
|
|
25609
|
+
name: 'nvmConfig',
|
|
25610
|
+
internalType: 'contract NVMConfig',
|
|
25611
|
+
type: 'address'
|
|
25612
|
+
},
|
|
25613
|
+
{
|
|
25614
|
+
name: 'assetsRegistry',
|
|
25615
|
+
internalType: 'contract AssetsRegistry',
|
|
25616
|
+
type: 'address'
|
|
25617
|
+
},
|
|
25618
|
+
{
|
|
25619
|
+
name: 'agreementsStore',
|
|
25620
|
+
internalType: 'contract AgreementsStore',
|
|
25621
|
+
type: 'address'
|
|
25622
|
+
},
|
|
25623
|
+
{
|
|
25624
|
+
name: 'paymentsVault',
|
|
25625
|
+
internalType: 'contract PaymentsVault',
|
|
25626
|
+
type: 'address'
|
|
25627
|
+
},
|
|
25628
|
+
{
|
|
25629
|
+
name: 'nftCredits',
|
|
25630
|
+
internalType: 'contract NFT1155Credits',
|
|
25631
|
+
type: 'address'
|
|
25632
|
+
},
|
|
25633
|
+
{
|
|
25634
|
+
name: 'nftExpirableCredits',
|
|
25635
|
+
internalType: 'contract NFT1155ExpirableCredits',
|
|
25636
|
+
type: 'address'
|
|
25637
|
+
},
|
|
25638
|
+
{
|
|
25639
|
+
name: 'nftExpirableCreditsV2',
|
|
25640
|
+
internalType: 'contract NFT1155ExpirableCreditsV2',
|
|
25641
|
+
type: 'address'
|
|
25642
|
+
},
|
|
25643
|
+
{
|
|
25644
|
+
name: 'lockPaymentCondition',
|
|
25645
|
+
internalType: 'contract LockPaymentCondition',
|
|
25646
|
+
type: 'address'
|
|
25647
|
+
},
|
|
25648
|
+
{
|
|
25649
|
+
name: 'distributePaymentsCondition',
|
|
25650
|
+
internalType: 'contract DistributePaymentsCondition',
|
|
25651
|
+
type: 'address'
|
|
25652
|
+
},
|
|
25653
|
+
{
|
|
25654
|
+
name: 'transferCreditsCondition',
|
|
25655
|
+
internalType: 'contract TransferCreditsCondition',
|
|
25656
|
+
type: 'address'
|
|
25657
|
+
},
|
|
25658
|
+
{
|
|
25659
|
+
name: 'fiatSettlementCondition',
|
|
25660
|
+
internalType: 'contract FiatSettlementCondition',
|
|
25661
|
+
type: 'address'
|
|
25662
|
+
},
|
|
25663
|
+
{
|
|
25664
|
+
name: 'fixedPaymentTemplate',
|
|
25665
|
+
internalType: 'contract FixedPaymentTemplate',
|
|
25666
|
+
type: 'address'
|
|
25667
|
+
},
|
|
25668
|
+
{
|
|
25669
|
+
name: 'fiatPaymentTemplate',
|
|
25670
|
+
internalType: 'contract FiatPaymentTemplate',
|
|
25671
|
+
type: 'address'
|
|
25672
|
+
},
|
|
25673
|
+
{
|
|
25674
|
+
name: 'payAsYouGoTemplate',
|
|
25675
|
+
internalType: 'contract PayAsYouGoTemplate',
|
|
25676
|
+
type: 'address'
|
|
25677
|
+
},
|
|
25678
|
+
{
|
|
25679
|
+
name: 'oneTimeCreatorHook',
|
|
25680
|
+
internalType: 'contract OneTimeCreatorHook',
|
|
25681
|
+
type: 'address'
|
|
25682
|
+
},
|
|
25683
|
+
{
|
|
25684
|
+
name: 'protocolStandardFees',
|
|
25685
|
+
internalType: 'contract ProtocolStandardFees',
|
|
25686
|
+
type: 'address'
|
|
25687
|
+
},
|
|
25688
|
+
{
|
|
25689
|
+
name: 'accessManager',
|
|
25690
|
+
internalType: 'contract AccessManager',
|
|
25691
|
+
type: 'address'
|
|
25692
|
+
}
|
|
25693
|
+
]
|
|
25694
|
+
}
|
|
25695
|
+
],
|
|
25696
|
+
name: 'run',
|
|
25697
|
+
outputs: [],
|
|
25698
|
+
stateMutability: 'nonpayable'
|
|
25699
|
+
}
|
|
25700
|
+
];
|
|
25701
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
25702
|
+
// MockEIP3009Token
|
|
25703
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
25704
|
+
export const mockEip3009TokenAbi = [
|
|
25705
|
+
{
|
|
25706
|
+
type: 'constructor',
|
|
25707
|
+
inputs: [
|
|
25708
|
+
{
|
|
25709
|
+
name: 'name',
|
|
25710
|
+
internalType: 'string',
|
|
25711
|
+
type: 'string'
|
|
25712
|
+
},
|
|
25713
|
+
{
|
|
25714
|
+
name: 'symbol',
|
|
25715
|
+
internalType: 'string',
|
|
25716
|
+
type: 'string'
|
|
25717
|
+
}
|
|
25718
|
+
],
|
|
25719
|
+
stateMutability: 'nonpayable'
|
|
25720
|
+
},
|
|
25721
|
+
{
|
|
25722
|
+
type: 'function',
|
|
25723
|
+
inputs: [],
|
|
25724
|
+
name: 'DOMAIN_SEPARATOR',
|
|
25725
|
+
outputs: [
|
|
25726
|
+
{
|
|
25727
|
+
name: '',
|
|
25728
|
+
internalType: 'bytes32',
|
|
25729
|
+
type: 'bytes32'
|
|
25730
|
+
}
|
|
25731
|
+
],
|
|
25732
|
+
stateMutability: 'view'
|
|
25733
|
+
},
|
|
25734
|
+
{
|
|
25735
|
+
type: 'function',
|
|
25736
|
+
inputs: [],
|
|
25737
|
+
name: 'RECEIVE_WITH_AUTHORIZATION_TYPEHASH',
|
|
25738
|
+
outputs: [
|
|
25739
|
+
{
|
|
25740
|
+
name: '',
|
|
25741
|
+
internalType: 'bytes32',
|
|
25742
|
+
type: 'bytes32'
|
|
25743
|
+
}
|
|
25744
|
+
],
|
|
25745
|
+
stateMutability: 'view'
|
|
25746
|
+
},
|
|
25747
|
+
{
|
|
25748
|
+
type: 'function',
|
|
25749
|
+
inputs: [
|
|
25750
|
+
{
|
|
25751
|
+
name: 'owner',
|
|
25752
|
+
internalType: 'address',
|
|
25753
|
+
type: 'address'
|
|
25754
|
+
},
|
|
25755
|
+
{
|
|
25756
|
+
name: 'spender',
|
|
25757
|
+
internalType: 'address',
|
|
25758
|
+
type: 'address'
|
|
25759
|
+
}
|
|
25760
|
+
],
|
|
25761
|
+
name: 'allowance',
|
|
25762
|
+
outputs: [
|
|
25763
|
+
{
|
|
25764
|
+
name: '',
|
|
25765
|
+
internalType: 'uint256',
|
|
25766
|
+
type: 'uint256'
|
|
25767
|
+
}
|
|
25768
|
+
],
|
|
25769
|
+
stateMutability: 'view'
|
|
25770
|
+
},
|
|
25771
|
+
{
|
|
25772
|
+
type: 'function',
|
|
25773
|
+
inputs: [
|
|
25774
|
+
{
|
|
25775
|
+
name: 'spender',
|
|
25776
|
+
internalType: 'address',
|
|
25777
|
+
type: 'address'
|
|
25778
|
+
},
|
|
25779
|
+
{
|
|
25780
|
+
name: 'value',
|
|
25781
|
+
internalType: 'uint256',
|
|
25782
|
+
type: 'uint256'
|
|
25783
|
+
}
|
|
25784
|
+
],
|
|
25785
|
+
name: 'approve',
|
|
25786
|
+
outputs: [
|
|
25787
|
+
{
|
|
25788
|
+
name: '',
|
|
25789
|
+
internalType: 'bool',
|
|
25790
|
+
type: 'bool'
|
|
25791
|
+
}
|
|
25792
|
+
],
|
|
25793
|
+
stateMutability: 'nonpayable'
|
|
25794
|
+
},
|
|
25795
|
+
{
|
|
25796
|
+
type: 'function',
|
|
25797
|
+
inputs: [
|
|
25798
|
+
{
|
|
25799
|
+
name: 'authorizer',
|
|
25800
|
+
internalType: 'address',
|
|
25801
|
+
type: 'address'
|
|
25802
|
+
},
|
|
25803
|
+
{
|
|
25804
|
+
name: 'nonce',
|
|
25805
|
+
internalType: 'bytes32',
|
|
25806
|
+
type: 'bytes32'
|
|
25807
|
+
}
|
|
25808
|
+
],
|
|
25809
|
+
name: 'authorizationState',
|
|
25810
|
+
outputs: [
|
|
25811
|
+
{
|
|
25812
|
+
name: '',
|
|
25813
|
+
internalType: 'bool',
|
|
25814
|
+
type: 'bool'
|
|
25815
|
+
}
|
|
25816
|
+
],
|
|
25817
|
+
stateMutability: 'view'
|
|
25818
|
+
},
|
|
25819
|
+
{
|
|
25820
|
+
type: 'function',
|
|
25821
|
+
inputs: [
|
|
25822
|
+
{
|
|
25823
|
+
name: 'account',
|
|
25824
|
+
internalType: 'address',
|
|
25825
|
+
type: 'address'
|
|
25826
|
+
}
|
|
25827
|
+
],
|
|
25828
|
+
name: 'balanceOf',
|
|
25829
|
+
outputs: [
|
|
25830
|
+
{
|
|
25831
|
+
name: '',
|
|
25832
|
+
internalType: 'uint256',
|
|
25833
|
+
type: 'uint256'
|
|
25834
|
+
}
|
|
25835
|
+
],
|
|
25836
|
+
stateMutability: 'view'
|
|
25837
|
+
},
|
|
25838
|
+
{
|
|
25839
|
+
type: 'function',
|
|
25840
|
+
inputs: [],
|
|
25841
|
+
name: 'decimals',
|
|
25842
|
+
outputs: [
|
|
25843
|
+
{
|
|
25844
|
+
name: '',
|
|
25845
|
+
internalType: 'uint8',
|
|
25846
|
+
type: 'uint8'
|
|
25847
|
+
}
|
|
25848
|
+
],
|
|
25849
|
+
stateMutability: 'view'
|
|
25850
|
+
},
|
|
25851
|
+
{
|
|
25852
|
+
type: 'function',
|
|
25853
|
+
inputs: [],
|
|
25854
|
+
name: 'eip712Domain',
|
|
25855
|
+
outputs: [
|
|
25856
|
+
{
|
|
25857
|
+
name: 'fields',
|
|
25858
|
+
internalType: 'bytes1',
|
|
25859
|
+
type: 'bytes1'
|
|
25860
|
+
},
|
|
25861
|
+
{
|
|
25862
|
+
name: 'name',
|
|
25863
|
+
internalType: 'string',
|
|
25864
|
+
type: 'string'
|
|
25865
|
+
},
|
|
25866
|
+
{
|
|
25867
|
+
name: 'version',
|
|
25868
|
+
internalType: 'string',
|
|
25869
|
+
type: 'string'
|
|
25870
|
+
},
|
|
25871
|
+
{
|
|
25872
|
+
name: 'chainId',
|
|
25873
|
+
internalType: 'uint256',
|
|
25874
|
+
type: 'uint256'
|
|
25875
|
+
},
|
|
25876
|
+
{
|
|
25877
|
+
name: 'verifyingContract',
|
|
25878
|
+
internalType: 'address',
|
|
25879
|
+
type: 'address'
|
|
25880
|
+
},
|
|
25881
|
+
{
|
|
25882
|
+
name: 'salt',
|
|
25883
|
+
internalType: 'bytes32',
|
|
25884
|
+
type: 'bytes32'
|
|
25885
|
+
},
|
|
25886
|
+
{
|
|
25887
|
+
name: 'extensions',
|
|
25888
|
+
internalType: 'uint256[]',
|
|
25889
|
+
type: 'uint256[]'
|
|
25890
|
+
}
|
|
25891
|
+
],
|
|
25892
|
+
stateMutability: 'view'
|
|
25893
|
+
},
|
|
25894
|
+
{
|
|
25895
|
+
type: 'function',
|
|
25896
|
+
inputs: [
|
|
25897
|
+
{
|
|
25898
|
+
name: 'to',
|
|
25899
|
+
internalType: 'address',
|
|
25900
|
+
type: 'address'
|
|
25901
|
+
},
|
|
25902
|
+
{
|
|
25903
|
+
name: 'amount',
|
|
25904
|
+
internalType: 'uint256',
|
|
25905
|
+
type: 'uint256'
|
|
25906
|
+
}
|
|
25907
|
+
],
|
|
25908
|
+
name: 'mint',
|
|
25909
|
+
outputs: [],
|
|
25910
|
+
stateMutability: 'nonpayable'
|
|
25911
|
+
},
|
|
25912
|
+
{
|
|
25913
|
+
type: 'function',
|
|
25914
|
+
inputs: [],
|
|
25915
|
+
name: 'name',
|
|
25916
|
+
outputs: [
|
|
25917
|
+
{
|
|
25918
|
+
name: '',
|
|
25919
|
+
internalType: 'string',
|
|
25920
|
+
type: 'string'
|
|
25921
|
+
}
|
|
25922
|
+
],
|
|
25923
|
+
stateMutability: 'view'
|
|
25924
|
+
},
|
|
25925
|
+
{
|
|
25926
|
+
type: 'function',
|
|
25927
|
+
inputs: [
|
|
25928
|
+
{
|
|
25929
|
+
name: 'from',
|
|
25930
|
+
internalType: 'address',
|
|
25931
|
+
type: 'address'
|
|
25932
|
+
},
|
|
25933
|
+
{
|
|
25934
|
+
name: 'to',
|
|
25935
|
+
internalType: 'address',
|
|
25936
|
+
type: 'address'
|
|
25937
|
+
},
|
|
25938
|
+
{
|
|
25939
|
+
name: 'value',
|
|
25940
|
+
internalType: 'uint256',
|
|
25941
|
+
type: 'uint256'
|
|
25942
|
+
},
|
|
25943
|
+
{
|
|
25944
|
+
name: 'validAfter',
|
|
25945
|
+
internalType: 'uint256',
|
|
25946
|
+
type: 'uint256'
|
|
25947
|
+
},
|
|
25948
|
+
{
|
|
25949
|
+
name: 'validBefore',
|
|
25950
|
+
internalType: 'uint256',
|
|
25951
|
+
type: 'uint256'
|
|
25952
|
+
},
|
|
25953
|
+
{
|
|
25954
|
+
name: 'nonce',
|
|
25955
|
+
internalType: 'bytes32',
|
|
25956
|
+
type: 'bytes32'
|
|
25957
|
+
},
|
|
25958
|
+
{
|
|
25959
|
+
name: 'v',
|
|
25960
|
+
internalType: 'uint8',
|
|
25961
|
+
type: 'uint8'
|
|
25962
|
+
},
|
|
25963
|
+
{
|
|
25964
|
+
name: 'r',
|
|
25965
|
+
internalType: 'bytes32',
|
|
25966
|
+
type: 'bytes32'
|
|
25967
|
+
},
|
|
25968
|
+
{
|
|
25969
|
+
name: 's',
|
|
25970
|
+
internalType: 'bytes32',
|
|
25971
|
+
type: 'bytes32'
|
|
25972
|
+
}
|
|
25973
|
+
],
|
|
25974
|
+
name: 'receiveWithAuthorization',
|
|
25975
|
+
outputs: [],
|
|
25976
|
+
stateMutability: 'nonpayable'
|
|
25977
|
+
},
|
|
25978
|
+
{
|
|
25979
|
+
type: 'function',
|
|
25980
|
+
inputs: [],
|
|
25981
|
+
name: 'symbol',
|
|
25982
|
+
outputs: [
|
|
25983
|
+
{
|
|
25984
|
+
name: '',
|
|
25985
|
+
internalType: 'string',
|
|
25986
|
+
type: 'string'
|
|
25987
|
+
}
|
|
25988
|
+
],
|
|
25989
|
+
stateMutability: 'view'
|
|
25990
|
+
},
|
|
25991
|
+
{
|
|
25992
|
+
type: 'function',
|
|
25993
|
+
inputs: [],
|
|
25994
|
+
name: 'totalSupply',
|
|
25995
|
+
outputs: [
|
|
25996
|
+
{
|
|
25997
|
+
name: '',
|
|
25998
|
+
internalType: 'uint256',
|
|
25999
|
+
type: 'uint256'
|
|
26000
|
+
}
|
|
26001
|
+
],
|
|
26002
|
+
stateMutability: 'view'
|
|
26003
|
+
},
|
|
26004
|
+
{
|
|
26005
|
+
type: 'function',
|
|
26006
|
+
inputs: [
|
|
26007
|
+
{
|
|
26008
|
+
name: 'to',
|
|
26009
|
+
internalType: 'address',
|
|
26010
|
+
type: 'address'
|
|
26011
|
+
},
|
|
26012
|
+
{
|
|
26013
|
+
name: 'value',
|
|
26014
|
+
internalType: 'uint256',
|
|
26015
|
+
type: 'uint256'
|
|
26016
|
+
}
|
|
26017
|
+
],
|
|
26018
|
+
name: 'transfer',
|
|
26019
|
+
outputs: [
|
|
26020
|
+
{
|
|
26021
|
+
name: '',
|
|
26022
|
+
internalType: 'bool',
|
|
26023
|
+
type: 'bool'
|
|
26024
|
+
}
|
|
26025
|
+
],
|
|
26026
|
+
stateMutability: 'nonpayable'
|
|
26027
|
+
},
|
|
26028
|
+
{
|
|
26029
|
+
type: 'function',
|
|
26030
|
+
inputs: [
|
|
26031
|
+
{
|
|
26032
|
+
name: 'from',
|
|
26033
|
+
internalType: 'address',
|
|
26034
|
+
type: 'address'
|
|
26035
|
+
},
|
|
26036
|
+
{
|
|
26037
|
+
name: 'to',
|
|
26038
|
+
internalType: 'address',
|
|
26039
|
+
type: 'address'
|
|
26040
|
+
},
|
|
26041
|
+
{
|
|
26042
|
+
name: 'value',
|
|
26043
|
+
internalType: 'uint256',
|
|
26044
|
+
type: 'uint256'
|
|
26045
|
+
}
|
|
26046
|
+
],
|
|
26047
|
+
name: 'transferFrom',
|
|
26048
|
+
outputs: [
|
|
26049
|
+
{
|
|
26050
|
+
name: '',
|
|
26051
|
+
internalType: 'bool',
|
|
26052
|
+
type: 'bool'
|
|
26053
|
+
}
|
|
26054
|
+
],
|
|
26055
|
+
stateMutability: 'nonpayable'
|
|
26056
|
+
},
|
|
26057
|
+
{
|
|
26058
|
+
type: 'event',
|
|
26059
|
+
anonymous: false,
|
|
26060
|
+
inputs: [
|
|
26061
|
+
{
|
|
26062
|
+
name: 'owner',
|
|
26063
|
+
internalType: 'address',
|
|
26064
|
+
type: 'address',
|
|
26065
|
+
indexed: true
|
|
26066
|
+
},
|
|
26067
|
+
{
|
|
26068
|
+
name: 'spender',
|
|
26069
|
+
internalType: 'address',
|
|
26070
|
+
type: 'address',
|
|
26071
|
+
indexed: true
|
|
26072
|
+
},
|
|
26073
|
+
{
|
|
26074
|
+
name: 'value',
|
|
26075
|
+
internalType: 'uint256',
|
|
26076
|
+
type: 'uint256',
|
|
26077
|
+
indexed: false
|
|
26078
|
+
}
|
|
26079
|
+
],
|
|
26080
|
+
name: 'Approval'
|
|
26081
|
+
},
|
|
26082
|
+
{
|
|
26083
|
+
type: 'event',
|
|
26084
|
+
anonymous: false,
|
|
26085
|
+
inputs: [
|
|
26086
|
+
{
|
|
26087
|
+
name: 'authorizer',
|
|
26088
|
+
internalType: 'address',
|
|
26089
|
+
type: 'address',
|
|
26090
|
+
indexed: true
|
|
26091
|
+
},
|
|
26092
|
+
{
|
|
26093
|
+
name: 'nonce',
|
|
26094
|
+
internalType: 'bytes32',
|
|
26095
|
+
type: 'bytes32',
|
|
26096
|
+
indexed: true
|
|
26097
|
+
}
|
|
26098
|
+
],
|
|
26099
|
+
name: 'AuthorizationUsed'
|
|
26100
|
+
},
|
|
26101
|
+
{
|
|
26102
|
+
type: 'event',
|
|
26103
|
+
anonymous: false,
|
|
26104
|
+
inputs: [],
|
|
26105
|
+
name: 'EIP712DomainChanged'
|
|
26106
|
+
},
|
|
26107
|
+
{
|
|
26108
|
+
type: 'event',
|
|
26109
|
+
anonymous: false,
|
|
26110
|
+
inputs: [
|
|
26111
|
+
{
|
|
26112
|
+
name: 'from',
|
|
26113
|
+
internalType: 'address',
|
|
26114
|
+
type: 'address',
|
|
26115
|
+
indexed: true
|
|
26116
|
+
},
|
|
26117
|
+
{
|
|
26118
|
+
name: 'to',
|
|
26119
|
+
internalType: 'address',
|
|
26120
|
+
type: 'address',
|
|
26121
|
+
indexed: true
|
|
26122
|
+
},
|
|
26123
|
+
{
|
|
26124
|
+
name: 'value',
|
|
26125
|
+
internalType: 'uint256',
|
|
26126
|
+
type: 'uint256',
|
|
26127
|
+
indexed: false
|
|
26128
|
+
}
|
|
26129
|
+
],
|
|
26130
|
+
name: 'Transfer'
|
|
26131
|
+
},
|
|
26132
|
+
{
|
|
26133
|
+
type: 'error',
|
|
26134
|
+
inputs: [],
|
|
26135
|
+
name: 'AuthorizationExpired'
|
|
26136
|
+
},
|
|
26137
|
+
{
|
|
26138
|
+
type: 'error',
|
|
26139
|
+
inputs: [],
|
|
26140
|
+
name: 'AuthorizationNotYetValid'
|
|
26141
|
+
},
|
|
26142
|
+
{
|
|
26143
|
+
type: 'error',
|
|
26144
|
+
inputs: [
|
|
26145
|
+
{
|
|
26146
|
+
name: 'authorizer',
|
|
26147
|
+
internalType: 'address',
|
|
26148
|
+
type: 'address'
|
|
26149
|
+
},
|
|
26150
|
+
{
|
|
26151
|
+
name: 'nonce',
|
|
26152
|
+
internalType: 'bytes32',
|
|
26153
|
+
type: 'bytes32'
|
|
26154
|
+
}
|
|
26155
|
+
],
|
|
26156
|
+
name: 'AuthorizationUsedOrCanceled'
|
|
26157
|
+
},
|
|
26158
|
+
{
|
|
26159
|
+
type: 'error',
|
|
26160
|
+
inputs: [],
|
|
26161
|
+
name: 'CallerMustBePayee'
|
|
26162
|
+
},
|
|
26163
|
+
{
|
|
26164
|
+
type: 'error',
|
|
26165
|
+
inputs: [],
|
|
26166
|
+
name: 'ECDSAInvalidSignature'
|
|
26167
|
+
},
|
|
26168
|
+
{
|
|
26169
|
+
type: 'error',
|
|
26170
|
+
inputs: [
|
|
26171
|
+
{
|
|
26172
|
+
name: 'length',
|
|
26173
|
+
internalType: 'uint256',
|
|
26174
|
+
type: 'uint256'
|
|
26175
|
+
}
|
|
26176
|
+
],
|
|
26177
|
+
name: 'ECDSAInvalidSignatureLength'
|
|
26178
|
+
},
|
|
26179
|
+
{
|
|
26180
|
+
type: 'error',
|
|
26181
|
+
inputs: [
|
|
26182
|
+
{
|
|
26183
|
+
name: 's',
|
|
26184
|
+
internalType: 'bytes32',
|
|
26185
|
+
type: 'bytes32'
|
|
26186
|
+
}
|
|
26187
|
+
],
|
|
26188
|
+
name: 'ECDSAInvalidSignatureS'
|
|
26189
|
+
},
|
|
26190
|
+
{
|
|
26191
|
+
type: 'error',
|
|
26192
|
+
inputs: [
|
|
26193
|
+
{
|
|
26194
|
+
name: 'spender',
|
|
26195
|
+
internalType: 'address',
|
|
26196
|
+
type: 'address'
|
|
26197
|
+
},
|
|
26198
|
+
{
|
|
26199
|
+
name: 'allowance',
|
|
26200
|
+
internalType: 'uint256',
|
|
26201
|
+
type: 'uint256'
|
|
26202
|
+
},
|
|
26203
|
+
{
|
|
26204
|
+
name: 'needed',
|
|
26205
|
+
internalType: 'uint256',
|
|
26206
|
+
type: 'uint256'
|
|
26207
|
+
}
|
|
26208
|
+
],
|
|
26209
|
+
name: 'ERC20InsufficientAllowance'
|
|
26210
|
+
},
|
|
26211
|
+
{
|
|
26212
|
+
type: 'error',
|
|
26213
|
+
inputs: [
|
|
26214
|
+
{
|
|
26215
|
+
name: 'sender',
|
|
26216
|
+
internalType: 'address',
|
|
26217
|
+
type: 'address'
|
|
26218
|
+
},
|
|
26219
|
+
{
|
|
26220
|
+
name: 'balance',
|
|
26221
|
+
internalType: 'uint256',
|
|
26222
|
+
type: 'uint256'
|
|
26223
|
+
},
|
|
26224
|
+
{
|
|
26225
|
+
name: 'needed',
|
|
26226
|
+
internalType: 'uint256',
|
|
26227
|
+
type: 'uint256'
|
|
26228
|
+
}
|
|
26229
|
+
],
|
|
26230
|
+
name: 'ERC20InsufficientBalance'
|
|
26231
|
+
},
|
|
26232
|
+
{
|
|
26233
|
+
type: 'error',
|
|
26234
|
+
inputs: [
|
|
26235
|
+
{
|
|
26236
|
+
name: 'approver',
|
|
26237
|
+
internalType: 'address',
|
|
26238
|
+
type: 'address'
|
|
26239
|
+
}
|
|
26240
|
+
],
|
|
26241
|
+
name: 'ERC20InvalidApprover'
|
|
26242
|
+
},
|
|
26243
|
+
{
|
|
26244
|
+
type: 'error',
|
|
26245
|
+
inputs: [
|
|
26246
|
+
{
|
|
26247
|
+
name: 'receiver',
|
|
26248
|
+
internalType: 'address',
|
|
26249
|
+
type: 'address'
|
|
26250
|
+
}
|
|
26251
|
+
],
|
|
26252
|
+
name: 'ERC20InvalidReceiver'
|
|
26253
|
+
},
|
|
26254
|
+
{
|
|
26255
|
+
type: 'error',
|
|
26256
|
+
inputs: [
|
|
26257
|
+
{
|
|
26258
|
+
name: 'sender',
|
|
26259
|
+
internalType: 'address',
|
|
26260
|
+
type: 'address'
|
|
26261
|
+
}
|
|
26262
|
+
],
|
|
26263
|
+
name: 'ERC20InvalidSender'
|
|
26264
|
+
},
|
|
26265
|
+
{
|
|
26266
|
+
type: 'error',
|
|
26267
|
+
inputs: [
|
|
26268
|
+
{
|
|
26269
|
+
name: 'spender',
|
|
26270
|
+
internalType: 'address',
|
|
26271
|
+
type: 'address'
|
|
26272
|
+
}
|
|
26273
|
+
],
|
|
26274
|
+
name: 'ERC20InvalidSpender'
|
|
26275
|
+
},
|
|
26276
|
+
{
|
|
26277
|
+
type: 'error',
|
|
26278
|
+
inputs: [],
|
|
26279
|
+
name: 'InvalidShortString'
|
|
26280
|
+
},
|
|
26281
|
+
{
|
|
26282
|
+
type: 'error',
|
|
26283
|
+
inputs: [],
|
|
26284
|
+
name: 'InvalidSignature'
|
|
26285
|
+
},
|
|
26286
|
+
{
|
|
26287
|
+
type: 'error',
|
|
26288
|
+
inputs: [
|
|
26289
|
+
{
|
|
26290
|
+
name: 'str',
|
|
26291
|
+
internalType: 'string',
|
|
26292
|
+
type: 'string'
|
|
26293
|
+
}
|
|
26294
|
+
],
|
|
26295
|
+
name: 'StringTooLong'
|
|
26296
|
+
}
|
|
26297
|
+
];
|
|
26298
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
26299
|
+
// MockFeeOnTransferERC20
|
|
26300
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
26301
|
+
export const mockFeeOnTransferErc20Abi = [
|
|
26302
|
+
{
|
|
26303
|
+
type: 'constructor',
|
|
26304
|
+
inputs: [],
|
|
26305
|
+
stateMutability: 'nonpayable'
|
|
26306
|
+
},
|
|
26307
|
+
{
|
|
26308
|
+
type: 'function',
|
|
26309
|
+
inputs: [],
|
|
26310
|
+
name: 'FEE_BPS',
|
|
26311
|
+
outputs: [
|
|
26312
|
+
{
|
|
26313
|
+
name: '',
|
|
26314
|
+
internalType: 'uint256',
|
|
26315
|
+
type: 'uint256'
|
|
26316
|
+
}
|
|
26317
|
+
],
|
|
26318
|
+
stateMutability: 'view'
|
|
26319
|
+
},
|
|
26320
|
+
{
|
|
26321
|
+
type: 'function',
|
|
26322
|
+
inputs: [
|
|
26323
|
+
{
|
|
26324
|
+
name: 'owner',
|
|
26325
|
+
internalType: 'address',
|
|
26326
|
+
type: 'address'
|
|
26327
|
+
},
|
|
26328
|
+
{
|
|
26329
|
+
name: 'spender',
|
|
26330
|
+
internalType: 'address',
|
|
26331
|
+
type: 'address'
|
|
26332
|
+
}
|
|
26333
|
+
],
|
|
26334
|
+
name: 'allowance',
|
|
26335
|
+
outputs: [
|
|
26336
|
+
{
|
|
26337
|
+
name: '',
|
|
26338
|
+
internalType: 'uint256',
|
|
26339
|
+
type: 'uint256'
|
|
26340
|
+
}
|
|
26341
|
+
],
|
|
26342
|
+
stateMutability: 'view'
|
|
26343
|
+
},
|
|
26344
|
+
{
|
|
26345
|
+
type: 'function',
|
|
26346
|
+
inputs: [
|
|
26347
|
+
{
|
|
26348
|
+
name: 'spender',
|
|
26349
|
+
internalType: 'address',
|
|
26350
|
+
type: 'address'
|
|
26351
|
+
},
|
|
26352
|
+
{
|
|
26353
|
+
name: 'value',
|
|
26354
|
+
internalType: 'uint256',
|
|
26355
|
+
type: 'uint256'
|
|
26356
|
+
}
|
|
26357
|
+
],
|
|
26358
|
+
name: 'approve',
|
|
26359
|
+
outputs: [
|
|
26360
|
+
{
|
|
26361
|
+
name: '',
|
|
26362
|
+
internalType: 'bool',
|
|
26363
|
+
type: 'bool'
|
|
26364
|
+
}
|
|
26365
|
+
],
|
|
26366
|
+
stateMutability: 'nonpayable'
|
|
26367
|
+
},
|
|
26368
|
+
{
|
|
26369
|
+
type: 'function',
|
|
26370
|
+
inputs: [
|
|
26371
|
+
{
|
|
26372
|
+
name: 'account',
|
|
26373
|
+
internalType: 'address',
|
|
26374
|
+
type: 'address'
|
|
26375
|
+
}
|
|
26376
|
+
],
|
|
26377
|
+
name: 'balanceOf',
|
|
26378
|
+
outputs: [
|
|
26379
|
+
{
|
|
26380
|
+
name: '',
|
|
26381
|
+
internalType: 'uint256',
|
|
26382
|
+
type: 'uint256'
|
|
26383
|
+
}
|
|
26384
|
+
],
|
|
26385
|
+
stateMutability: 'view'
|
|
26386
|
+
},
|
|
26387
|
+
{
|
|
26388
|
+
type: 'function',
|
|
26389
|
+
inputs: [],
|
|
26390
|
+
name: 'decimals',
|
|
26391
|
+
outputs: [
|
|
26392
|
+
{
|
|
26393
|
+
name: '',
|
|
26394
|
+
internalType: 'uint8',
|
|
26395
|
+
type: 'uint8'
|
|
26396
|
+
}
|
|
26397
|
+
],
|
|
26398
|
+
stateMutability: 'view'
|
|
26399
|
+
},
|
|
26400
|
+
{
|
|
26401
|
+
type: 'function',
|
|
26402
|
+
inputs: [
|
|
26403
|
+
{
|
|
26404
|
+
name: 'to',
|
|
26405
|
+
internalType: 'address',
|
|
26406
|
+
type: 'address'
|
|
26407
|
+
},
|
|
26408
|
+
{
|
|
26409
|
+
name: 'amount',
|
|
26410
|
+
internalType: 'uint256',
|
|
26411
|
+
type: 'uint256'
|
|
24932
26412
|
}
|
|
24933
26413
|
],
|
|
24934
|
-
name: '
|
|
24935
|
-
|
|
24936
|
-
|
|
24937
|
-
type: 'error',
|
|
24938
|
-
inputs: [],
|
|
24939
|
-
name: 'NotInitializing'
|
|
26414
|
+
name: 'mint',
|
|
26415
|
+
outputs: [],
|
|
26416
|
+
stateMutability: 'nonpayable'
|
|
24940
26417
|
},
|
|
24941
26418
|
{
|
|
24942
|
-
type: '
|
|
26419
|
+
type: 'function',
|
|
24943
26420
|
inputs: [],
|
|
24944
|
-
name: '
|
|
26421
|
+
name: 'name',
|
|
26422
|
+
outputs: [
|
|
26423
|
+
{
|
|
26424
|
+
name: '',
|
|
26425
|
+
internalType: 'string',
|
|
26426
|
+
type: 'string'
|
|
26427
|
+
}
|
|
26428
|
+
],
|
|
26429
|
+
stateMutability: 'view'
|
|
24945
26430
|
},
|
|
24946
26431
|
{
|
|
24947
|
-
type: '
|
|
26432
|
+
type: 'function',
|
|
24948
26433
|
inputs: [],
|
|
24949
|
-
name: '
|
|
24950
|
-
|
|
24951
|
-
{
|
|
24952
|
-
type: 'error',
|
|
24953
|
-
inputs: [
|
|
26434
|
+
name: 'symbol',
|
|
26435
|
+
outputs: [
|
|
24954
26436
|
{
|
|
24955
|
-
name: '
|
|
24956
|
-
internalType: '
|
|
24957
|
-
type: '
|
|
26437
|
+
name: '',
|
|
26438
|
+
internalType: 'string',
|
|
26439
|
+
type: 'string'
|
|
24958
26440
|
}
|
|
24959
26441
|
],
|
|
24960
|
-
|
|
26442
|
+
stateMutability: 'view'
|
|
24961
26443
|
},
|
|
24962
|
-
{
|
|
24963
|
-
type: 'error',
|
|
24964
|
-
inputs: [],
|
|
24965
|
-
name: 'UnsupportedPriceTypeOption'
|
|
24966
|
-
}
|
|
24967
|
-
];
|
|
24968
|
-
export const lockPaymentConditionAddress = '0x104ae701C9B3e8EA54145dE54D0ca7DDb2DE4DF5';
|
|
24969
|
-
export const lockPaymentConditionConfig = {
|
|
24970
|
-
address: lockPaymentConditionAddress,
|
|
24971
|
-
abi: lockPaymentConditionAbi
|
|
24972
|
-
};
|
|
24973
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
24974
|
-
// ManagePermissions
|
|
24975
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
24976
|
-
export const managePermissionsAbi = [
|
|
24977
26444
|
{
|
|
24978
26445
|
type: 'function',
|
|
24979
26446
|
inputs: [],
|
|
24980
|
-
name: '
|
|
26447
|
+
name: 'totalSupply',
|
|
24981
26448
|
outputs: [
|
|
24982
26449
|
{
|
|
24983
26450
|
name: '',
|
|
24984
|
-
internalType: '
|
|
24985
|
-
type: '
|
|
26451
|
+
internalType: 'uint256',
|
|
26452
|
+
type: 'uint256'
|
|
24986
26453
|
}
|
|
24987
26454
|
],
|
|
24988
26455
|
stateMutability: 'view'
|
|
24989
26456
|
},
|
|
24990
26457
|
{
|
|
24991
26458
|
type: 'function',
|
|
24992
|
-
inputs: [
|
|
24993
|
-
|
|
26459
|
+
inputs: [
|
|
26460
|
+
{
|
|
26461
|
+
name: 'to',
|
|
26462
|
+
internalType: 'address',
|
|
26463
|
+
type: 'address'
|
|
26464
|
+
},
|
|
26465
|
+
{
|
|
26466
|
+
name: 'value',
|
|
26467
|
+
internalType: 'uint256',
|
|
26468
|
+
type: 'uint256'
|
|
26469
|
+
}
|
|
26470
|
+
],
|
|
26471
|
+
name: 'transfer',
|
|
24994
26472
|
outputs: [
|
|
24995
26473
|
{
|
|
24996
26474
|
name: '',
|
|
@@ -24998,174 +26476,172 @@ export const managePermissionsAbi = [
|
|
|
24998
26476
|
type: 'bool'
|
|
24999
26477
|
}
|
|
25000
26478
|
],
|
|
25001
|
-
stateMutability: '
|
|
26479
|
+
stateMutability: 'nonpayable'
|
|
25002
26480
|
},
|
|
25003
26481
|
{
|
|
25004
26482
|
type: 'function',
|
|
25005
|
-
inputs: [
|
|
25006
|
-
|
|
26483
|
+
inputs: [
|
|
26484
|
+
{
|
|
26485
|
+
name: 'from',
|
|
26486
|
+
internalType: 'address',
|
|
26487
|
+
type: 'address'
|
|
26488
|
+
},
|
|
26489
|
+
{
|
|
26490
|
+
name: 'to',
|
|
26491
|
+
internalType: 'address',
|
|
26492
|
+
type: 'address'
|
|
26493
|
+
},
|
|
26494
|
+
{
|
|
26495
|
+
name: 'value',
|
|
26496
|
+
internalType: 'uint256',
|
|
26497
|
+
type: 'uint256'
|
|
26498
|
+
}
|
|
26499
|
+
],
|
|
26500
|
+
name: 'transferFrom',
|
|
25007
26501
|
outputs: [
|
|
25008
26502
|
{
|
|
25009
26503
|
name: '',
|
|
26504
|
+
internalType: 'bool',
|
|
26505
|
+
type: 'bool'
|
|
26506
|
+
}
|
|
26507
|
+
],
|
|
26508
|
+
stateMutability: 'nonpayable'
|
|
26509
|
+
},
|
|
26510
|
+
{
|
|
26511
|
+
type: 'event',
|
|
26512
|
+
anonymous: false,
|
|
26513
|
+
inputs: [
|
|
26514
|
+
{
|
|
26515
|
+
name: 'owner',
|
|
25010
26516
|
internalType: 'address',
|
|
25011
|
-
type: 'address'
|
|
26517
|
+
type: 'address',
|
|
26518
|
+
indexed: true
|
|
26519
|
+
},
|
|
26520
|
+
{
|
|
26521
|
+
name: 'spender',
|
|
26522
|
+
internalType: 'address',
|
|
26523
|
+
type: 'address',
|
|
26524
|
+
indexed: true
|
|
26525
|
+
},
|
|
26526
|
+
{
|
|
26527
|
+
name: 'value',
|
|
26528
|
+
internalType: 'uint256',
|
|
26529
|
+
type: 'uint256',
|
|
26530
|
+
indexed: false
|
|
25012
26531
|
}
|
|
25013
26532
|
],
|
|
25014
|
-
|
|
26533
|
+
name: 'Approval'
|
|
25015
26534
|
},
|
|
25016
26535
|
{
|
|
25017
|
-
type: '
|
|
25018
|
-
|
|
25019
|
-
|
|
25020
|
-
outputs: [
|
|
26536
|
+
type: 'event',
|
|
26537
|
+
anonymous: false,
|
|
26538
|
+
inputs: [
|
|
25021
26539
|
{
|
|
25022
|
-
name: '',
|
|
26540
|
+
name: 'from',
|
|
26541
|
+
internalType: 'address',
|
|
26542
|
+
type: 'address',
|
|
26543
|
+
indexed: true
|
|
26544
|
+
},
|
|
26545
|
+
{
|
|
26546
|
+
name: 'to',
|
|
26547
|
+
internalType: 'address',
|
|
26548
|
+
type: 'address',
|
|
26549
|
+
indexed: true
|
|
26550
|
+
},
|
|
26551
|
+
{
|
|
26552
|
+
name: 'value',
|
|
26553
|
+
internalType: 'uint256',
|
|
26554
|
+
type: 'uint256',
|
|
26555
|
+
indexed: false
|
|
26556
|
+
}
|
|
26557
|
+
],
|
|
26558
|
+
name: 'Transfer'
|
|
26559
|
+
},
|
|
26560
|
+
{
|
|
26561
|
+
type: 'error',
|
|
26562
|
+
inputs: [
|
|
26563
|
+
{
|
|
26564
|
+
name: 'spender',
|
|
25023
26565
|
internalType: 'address',
|
|
25024
26566
|
type: 'address'
|
|
26567
|
+
},
|
|
26568
|
+
{
|
|
26569
|
+
name: 'allowance',
|
|
26570
|
+
internalType: 'uint256',
|
|
26571
|
+
type: 'uint256'
|
|
26572
|
+
},
|
|
26573
|
+
{
|
|
26574
|
+
name: 'needed',
|
|
26575
|
+
internalType: 'uint256',
|
|
26576
|
+
type: 'uint256'
|
|
25025
26577
|
}
|
|
25026
26578
|
],
|
|
25027
|
-
|
|
26579
|
+
name: 'ERC20InsufficientAllowance'
|
|
25028
26580
|
},
|
|
25029
26581
|
{
|
|
25030
|
-
type: '
|
|
25031
|
-
inputs: [
|
|
25032
|
-
name: 'networkFee',
|
|
25033
|
-
outputs: [
|
|
26582
|
+
type: 'error',
|
|
26583
|
+
inputs: [
|
|
25034
26584
|
{
|
|
25035
|
-
name: '',
|
|
26585
|
+
name: 'sender',
|
|
26586
|
+
internalType: 'address',
|
|
26587
|
+
type: 'address'
|
|
26588
|
+
},
|
|
26589
|
+
{
|
|
26590
|
+
name: 'balance',
|
|
26591
|
+
internalType: 'uint256',
|
|
26592
|
+
type: 'uint256'
|
|
26593
|
+
},
|
|
26594
|
+
{
|
|
26595
|
+
name: 'needed',
|
|
25036
26596
|
internalType: 'uint256',
|
|
25037
26597
|
type: 'uint256'
|
|
25038
26598
|
}
|
|
25039
26599
|
],
|
|
25040
|
-
|
|
26600
|
+
name: 'ERC20InsufficientBalance'
|
|
25041
26601
|
},
|
|
25042
26602
|
{
|
|
25043
|
-
type: '
|
|
25044
|
-
inputs: [
|
|
25045
|
-
name: 'owner',
|
|
25046
|
-
outputs: [
|
|
26603
|
+
type: 'error',
|
|
26604
|
+
inputs: [
|
|
25047
26605
|
{
|
|
25048
|
-
name: '',
|
|
26606
|
+
name: 'approver',
|
|
25049
26607
|
internalType: 'address',
|
|
25050
26608
|
type: 'address'
|
|
25051
26609
|
}
|
|
25052
26610
|
],
|
|
25053
|
-
|
|
26611
|
+
name: 'ERC20InvalidApprover'
|
|
25054
26612
|
},
|
|
25055
26613
|
{
|
|
25056
|
-
type: '
|
|
26614
|
+
type: 'error',
|
|
25057
26615
|
inputs: [
|
|
25058
26616
|
{
|
|
25059
|
-
name: '
|
|
25060
|
-
internalType: '
|
|
25061
|
-
type: '
|
|
25062
|
-
components: [
|
|
25063
|
-
{
|
|
25064
|
-
name: 'owner',
|
|
25065
|
-
internalType: 'address',
|
|
25066
|
-
type: 'address'
|
|
25067
|
-
},
|
|
25068
|
-
{
|
|
25069
|
-
name: 'upgrader',
|
|
25070
|
-
internalType: 'address',
|
|
25071
|
-
type: 'address'
|
|
25072
|
-
},
|
|
25073
|
-
{
|
|
25074
|
-
name: 'governor',
|
|
25075
|
-
internalType: 'address',
|
|
25076
|
-
type: 'address'
|
|
25077
|
-
},
|
|
25078
|
-
{
|
|
25079
|
-
name: 'nvmConfig',
|
|
25080
|
-
internalType: 'contract NVMConfig',
|
|
25081
|
-
type: 'address'
|
|
25082
|
-
},
|
|
25083
|
-
{
|
|
25084
|
-
name: 'assetsRegistry',
|
|
25085
|
-
internalType: 'contract AssetsRegistry',
|
|
25086
|
-
type: 'address'
|
|
25087
|
-
},
|
|
25088
|
-
{
|
|
25089
|
-
name: 'agreementsStore',
|
|
25090
|
-
internalType: 'contract AgreementsStore',
|
|
25091
|
-
type: 'address'
|
|
25092
|
-
},
|
|
25093
|
-
{
|
|
25094
|
-
name: 'paymentsVault',
|
|
25095
|
-
internalType: 'contract PaymentsVault',
|
|
25096
|
-
type: 'address'
|
|
25097
|
-
},
|
|
25098
|
-
{
|
|
25099
|
-
name: 'nftCredits',
|
|
25100
|
-
internalType: 'contract NFT1155Credits',
|
|
25101
|
-
type: 'address'
|
|
25102
|
-
},
|
|
25103
|
-
{
|
|
25104
|
-
name: 'nftExpirableCredits',
|
|
25105
|
-
internalType: 'contract NFT1155ExpirableCredits',
|
|
25106
|
-
type: 'address'
|
|
25107
|
-
},
|
|
25108
|
-
{
|
|
25109
|
-
name: 'nftExpirableCreditsV2',
|
|
25110
|
-
internalType: 'contract NFT1155ExpirableCreditsV2',
|
|
25111
|
-
type: 'address'
|
|
25112
|
-
},
|
|
25113
|
-
{
|
|
25114
|
-
name: 'lockPaymentCondition',
|
|
25115
|
-
internalType: 'contract LockPaymentCondition',
|
|
25116
|
-
type: 'address'
|
|
25117
|
-
},
|
|
25118
|
-
{
|
|
25119
|
-
name: 'distributePaymentsCondition',
|
|
25120
|
-
internalType: 'contract DistributePaymentsCondition',
|
|
25121
|
-
type: 'address'
|
|
25122
|
-
},
|
|
25123
|
-
{
|
|
25124
|
-
name: 'transferCreditsCondition',
|
|
25125
|
-
internalType: 'contract TransferCreditsCondition',
|
|
25126
|
-
type: 'address'
|
|
25127
|
-
},
|
|
25128
|
-
{
|
|
25129
|
-
name: 'fiatSettlementCondition',
|
|
25130
|
-
internalType: 'contract FiatSettlementCondition',
|
|
25131
|
-
type: 'address'
|
|
25132
|
-
},
|
|
25133
|
-
{
|
|
25134
|
-
name: 'fixedPaymentTemplate',
|
|
25135
|
-
internalType: 'contract FixedPaymentTemplate',
|
|
25136
|
-
type: 'address'
|
|
25137
|
-
},
|
|
25138
|
-
{
|
|
25139
|
-
name: 'fiatPaymentTemplate',
|
|
25140
|
-
internalType: 'contract FiatPaymentTemplate',
|
|
25141
|
-
type: 'address'
|
|
25142
|
-
},
|
|
25143
|
-
{
|
|
25144
|
-
name: 'payAsYouGoTemplate',
|
|
25145
|
-
internalType: 'contract PayAsYouGoTemplate',
|
|
25146
|
-
type: 'address'
|
|
25147
|
-
},
|
|
25148
|
-
{
|
|
25149
|
-
name: 'oneTimeCreatorHook',
|
|
25150
|
-
internalType: 'contract OneTimeCreatorHook',
|
|
25151
|
-
type: 'address'
|
|
25152
|
-
},
|
|
25153
|
-
{
|
|
25154
|
-
name: 'protocolStandardFees',
|
|
25155
|
-
internalType: 'contract ProtocolStandardFees',
|
|
25156
|
-
type: 'address'
|
|
25157
|
-
},
|
|
25158
|
-
{
|
|
25159
|
-
name: 'accessManager',
|
|
25160
|
-
internalType: 'contract AccessManager',
|
|
25161
|
-
type: 'address'
|
|
25162
|
-
}
|
|
25163
|
-
]
|
|
26617
|
+
name: 'receiver',
|
|
26618
|
+
internalType: 'address',
|
|
26619
|
+
type: 'address'
|
|
25164
26620
|
}
|
|
25165
26621
|
],
|
|
25166
|
-
name: '
|
|
25167
|
-
|
|
25168
|
-
|
|
26622
|
+
name: 'ERC20InvalidReceiver'
|
|
26623
|
+
},
|
|
26624
|
+
{
|
|
26625
|
+
type: 'error',
|
|
26626
|
+
inputs: [
|
|
26627
|
+
{
|
|
26628
|
+
name: 'sender',
|
|
26629
|
+
internalType: 'address',
|
|
26630
|
+
type: 'address'
|
|
26631
|
+
}
|
|
26632
|
+
],
|
|
26633
|
+
name: 'ERC20InvalidSender'
|
|
26634
|
+
},
|
|
26635
|
+
{
|
|
26636
|
+
type: 'error',
|
|
26637
|
+
inputs: [
|
|
26638
|
+
{
|
|
26639
|
+
name: 'spender',
|
|
26640
|
+
internalType: 'address',
|
|
26641
|
+
type: 'address'
|
|
26642
|
+
}
|
|
26643
|
+
],
|
|
26644
|
+
name: 'ERC20InvalidSpender'
|
|
25169
26645
|
}
|
|
25170
26646
|
];
|
|
25171
26647
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -33842,6 +35318,66 @@ export const payAsYouGoTemplateAbi = [
|
|
|
33842
35318
|
outputs: [],
|
|
33843
35319
|
stateMutability: 'payable'
|
|
33844
35320
|
},
|
|
35321
|
+
{
|
|
35322
|
+
type: 'function',
|
|
35323
|
+
inputs: [
|
|
35324
|
+
{
|
|
35325
|
+
name: '_seed',
|
|
35326
|
+
internalType: 'bytes32',
|
|
35327
|
+
type: 'bytes32'
|
|
35328
|
+
},
|
|
35329
|
+
{
|
|
35330
|
+
name: '_planId',
|
|
35331
|
+
internalType: 'uint256',
|
|
35332
|
+
type: 'uint256'
|
|
35333
|
+
},
|
|
35334
|
+
{
|
|
35335
|
+
name: '_buyer',
|
|
35336
|
+
internalType: 'address',
|
|
35337
|
+
type: 'address'
|
|
35338
|
+
},
|
|
35339
|
+
{
|
|
35340
|
+
name: '_params',
|
|
35341
|
+
internalType: 'bytes[]',
|
|
35342
|
+
type: 'bytes[]'
|
|
35343
|
+
},
|
|
35344
|
+
{
|
|
35345
|
+
name: '_authorization',
|
|
35346
|
+
internalType: 'struct IERC3009.ReceiveAuthorization',
|
|
35347
|
+
type: 'tuple',
|
|
35348
|
+
components: [
|
|
35349
|
+
{
|
|
35350
|
+
name: 'validAfter',
|
|
35351
|
+
internalType: 'uint256',
|
|
35352
|
+
type: 'uint256'
|
|
35353
|
+
},
|
|
35354
|
+
{
|
|
35355
|
+
name: 'validBefore',
|
|
35356
|
+
internalType: 'uint256',
|
|
35357
|
+
type: 'uint256'
|
|
35358
|
+
},
|
|
35359
|
+
{
|
|
35360
|
+
name: 'v',
|
|
35361
|
+
internalType: 'uint8',
|
|
35362
|
+
type: 'uint8'
|
|
35363
|
+
},
|
|
35364
|
+
{
|
|
35365
|
+
name: 'r',
|
|
35366
|
+
internalType: 'bytes32',
|
|
35367
|
+
type: 'bytes32'
|
|
35368
|
+
},
|
|
35369
|
+
{
|
|
35370
|
+
name: 's',
|
|
35371
|
+
internalType: 'bytes32',
|
|
35372
|
+
type: 'bytes32'
|
|
35373
|
+
}
|
|
35374
|
+
]
|
|
35375
|
+
}
|
|
35376
|
+
],
|
|
35377
|
+
name: 'orderWithAuthorization',
|
|
35378
|
+
outputs: [],
|
|
35379
|
+
stateMutability: 'nonpayable'
|
|
35380
|
+
},
|
|
33845
35381
|
{
|
|
33846
35382
|
type: 'function',
|
|
33847
35383
|
inputs: [],
|
|
@@ -34228,6 +35764,59 @@ export const paymentsVaultAbi = [
|
|
|
34228
35764
|
outputs: [],
|
|
34229
35765
|
stateMutability: 'nonpayable'
|
|
34230
35766
|
},
|
|
35767
|
+
{
|
|
35768
|
+
type: 'function',
|
|
35769
|
+
inputs: [
|
|
35770
|
+
{
|
|
35771
|
+
name: '_erc20TokenAddress',
|
|
35772
|
+
internalType: 'address',
|
|
35773
|
+
type: 'address'
|
|
35774
|
+
},
|
|
35775
|
+
{
|
|
35776
|
+
name: '_from',
|
|
35777
|
+
internalType: 'address',
|
|
35778
|
+
type: 'address'
|
|
35779
|
+
},
|
|
35780
|
+
{
|
|
35781
|
+
name: '_amount',
|
|
35782
|
+
internalType: 'uint256',
|
|
35783
|
+
type: 'uint256'
|
|
35784
|
+
},
|
|
35785
|
+
{
|
|
35786
|
+
name: '_validAfter',
|
|
35787
|
+
internalType: 'uint256',
|
|
35788
|
+
type: 'uint256'
|
|
35789
|
+
},
|
|
35790
|
+
{
|
|
35791
|
+
name: '_validBefore',
|
|
35792
|
+
internalType: 'uint256',
|
|
35793
|
+
type: 'uint256'
|
|
35794
|
+
},
|
|
35795
|
+
{
|
|
35796
|
+
name: '_nonce',
|
|
35797
|
+
internalType: 'bytes32',
|
|
35798
|
+
type: 'bytes32'
|
|
35799
|
+
},
|
|
35800
|
+
{
|
|
35801
|
+
name: '_v',
|
|
35802
|
+
internalType: 'uint8',
|
|
35803
|
+
type: 'uint8'
|
|
35804
|
+
},
|
|
35805
|
+
{
|
|
35806
|
+
name: '_r',
|
|
35807
|
+
internalType: 'bytes32',
|
|
35808
|
+
type: 'bytes32'
|
|
35809
|
+
},
|
|
35810
|
+
{
|
|
35811
|
+
name: '_s',
|
|
35812
|
+
internalType: 'bytes32',
|
|
35813
|
+
type: 'bytes32'
|
|
35814
|
+
}
|
|
35815
|
+
],
|
|
35816
|
+
name: 'depositERC20WithAuthorization',
|
|
35817
|
+
outputs: [],
|
|
35818
|
+
stateMutability: 'nonpayable'
|
|
35819
|
+
},
|
|
34231
35820
|
{
|
|
34232
35821
|
type: 'function',
|
|
34233
35822
|
inputs: [],
|
|
@@ -34606,6 +36195,22 @@ export const paymentsVaultAbi = [
|
|
|
34606
36195
|
inputs: [],
|
|
34607
36196
|
name: 'ERC1967NonPayable'
|
|
34608
36197
|
},
|
|
36198
|
+
{
|
|
36199
|
+
type: 'error',
|
|
36200
|
+
inputs: [
|
|
36201
|
+
{
|
|
36202
|
+
name: 'expected',
|
|
36203
|
+
internalType: 'uint256',
|
|
36204
|
+
type: 'uint256'
|
|
36205
|
+
},
|
|
36206
|
+
{
|
|
36207
|
+
name: 'received',
|
|
36208
|
+
internalType: 'uint256',
|
|
36209
|
+
type: 'uint256'
|
|
36210
|
+
}
|
|
36211
|
+
],
|
|
36212
|
+
name: 'ERC20DepositMismatch'
|
|
36213
|
+
},
|
|
34609
36214
|
{
|
|
34610
36215
|
type: 'error',
|
|
34611
36216
|
inputs: [],
|
|
@@ -34737,6 +36342,59 @@ export const paymentsVaultV2Abi = [
|
|
|
34737
36342
|
outputs: [],
|
|
34738
36343
|
stateMutability: 'nonpayable'
|
|
34739
36344
|
},
|
|
36345
|
+
{
|
|
36346
|
+
type: 'function',
|
|
36347
|
+
inputs: [
|
|
36348
|
+
{
|
|
36349
|
+
name: '_erc20TokenAddress',
|
|
36350
|
+
internalType: 'address',
|
|
36351
|
+
type: 'address'
|
|
36352
|
+
},
|
|
36353
|
+
{
|
|
36354
|
+
name: '_from',
|
|
36355
|
+
internalType: 'address',
|
|
36356
|
+
type: 'address'
|
|
36357
|
+
},
|
|
36358
|
+
{
|
|
36359
|
+
name: '_amount',
|
|
36360
|
+
internalType: 'uint256',
|
|
36361
|
+
type: 'uint256'
|
|
36362
|
+
},
|
|
36363
|
+
{
|
|
36364
|
+
name: '_validAfter',
|
|
36365
|
+
internalType: 'uint256',
|
|
36366
|
+
type: 'uint256'
|
|
36367
|
+
},
|
|
36368
|
+
{
|
|
36369
|
+
name: '_validBefore',
|
|
36370
|
+
internalType: 'uint256',
|
|
36371
|
+
type: 'uint256'
|
|
36372
|
+
},
|
|
36373
|
+
{
|
|
36374
|
+
name: '_nonce',
|
|
36375
|
+
internalType: 'bytes32',
|
|
36376
|
+
type: 'bytes32'
|
|
36377
|
+
},
|
|
36378
|
+
{
|
|
36379
|
+
name: '_v',
|
|
36380
|
+
internalType: 'uint8',
|
|
36381
|
+
type: 'uint8'
|
|
36382
|
+
},
|
|
36383
|
+
{
|
|
36384
|
+
name: '_r',
|
|
36385
|
+
internalType: 'bytes32',
|
|
36386
|
+
type: 'bytes32'
|
|
36387
|
+
},
|
|
36388
|
+
{
|
|
36389
|
+
name: '_s',
|
|
36390
|
+
internalType: 'bytes32',
|
|
36391
|
+
type: 'bytes32'
|
|
36392
|
+
}
|
|
36393
|
+
],
|
|
36394
|
+
name: 'depositERC20WithAuthorization',
|
|
36395
|
+
outputs: [],
|
|
36396
|
+
stateMutability: 'nonpayable'
|
|
36397
|
+
},
|
|
34740
36398
|
{
|
|
34741
36399
|
type: 'function',
|
|
34742
36400
|
inputs: [],
|
|
@@ -35141,6 +36799,22 @@ export const paymentsVaultV2Abi = [
|
|
|
35141
36799
|
inputs: [],
|
|
35142
36800
|
name: 'ERC1967NonPayable'
|
|
35143
36801
|
},
|
|
36802
|
+
{
|
|
36803
|
+
type: 'error',
|
|
36804
|
+
inputs: [
|
|
36805
|
+
{
|
|
36806
|
+
name: 'expected',
|
|
36807
|
+
internalType: 'uint256',
|
|
36808
|
+
type: 'uint256'
|
|
36809
|
+
},
|
|
36810
|
+
{
|
|
36811
|
+
name: 'received',
|
|
36812
|
+
internalType: 'uint256',
|
|
36813
|
+
type: 'uint256'
|
|
36814
|
+
}
|
|
36815
|
+
],
|
|
36816
|
+
name: 'ERC20DepositMismatch'
|
|
36817
|
+
},
|
|
35144
36818
|
{
|
|
35145
36819
|
type: 'error',
|
|
35146
36820
|
inputs: [],
|