@zkp2p/contracts-v2 0.1.11-rc.3 → 0.1.11-rc.4
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/_cjs/addresses/base.js +1 -1
- package/_cjs/addresses/base.json +1 -1
- package/_cjs/addresses/baseStaging.js +1 -1
- package/_cjs/addresses/baseStaging.json +1 -1
- package/_cjs/addresses/index.json +1 -1
- package/_cjs/constants/index.json +1 -1
- package/_cjs/paymentMethods/base.js +1 -1
- package/_cjs/paymentMethods/base.json +1 -1
- package/_cjs/paymentMethods/baseSepolia.js +1 -1
- package/_cjs/paymentMethods/baseSepolia.json +1 -1
- package/_cjs/paymentMethods/baseStaging.js +1 -1
- package/_cjs/paymentMethods/baseStaging.json +1 -1
- package/_cjs/paymentMethods/index.json +1 -1
- package/_cjs/types/contracts/EscrowV2.js +89 -85
- package/_cjs/types/contracts/RateManagerV1.js +17 -42
- package/_cjs/types/contracts/interfaces/IEscrowV2.js +58 -54
- package/_esm/addresses/base.js +1 -1
- package/_esm/addresses/base.json +1 -1
- package/_esm/addresses/baseStaging.js +1 -1
- package/_esm/addresses/baseStaging.json +1 -1
- package/_esm/addresses/index.json +1 -1
- package/_esm/constants/index.json +1 -1
- package/_esm/paymentMethods/base.js +1 -1
- package/_esm/paymentMethods/base.json +1 -1
- package/_esm/paymentMethods/baseSepolia.js +1 -1
- package/_esm/paymentMethods/baseSepolia.json +1 -1
- package/_esm/paymentMethods/baseStaging.js +1 -1
- package/_esm/paymentMethods/baseStaging.json +1 -1
- package/_esm/paymentMethods/index.json +1 -1
- package/_esm/types/contracts/EscrowV2.js +89 -85
- package/_esm/types/contracts/RateManagerV1.js +17 -42
- package/_esm/types/contracts/interfaces/IEscrowV2.js +58 -54
- package/addresses/base.json +1 -1
- package/addresses/baseStaging.json +1 -1
- package/addresses/index.json +1 -1
- package/constants/index.json +1 -1
- package/package.json +1 -1
- package/paymentMethods/base.json +1 -1
- package/paymentMethods/baseSepolia.json +1 -1
- package/paymentMethods/baseStaging.json +1 -1
- package/paymentMethods/index.json +1 -1
- package/types/contracts/EscrowV2.ts +89 -85
- package/types/contracts/RateManagerV1.ts +17 -42
- package/types/contracts/interfaces/IEscrowV2.ts +58 -54
package/_cjs/addresses/base.js
CHANGED
package/_cjs/addresses/base.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const data = {
|
|
2
2
|
"network": "base",
|
|
3
3
|
"chainId": "8453",
|
|
4
|
-
"generatedAt": "2026-02-
|
|
4
|
+
"generatedAt": "2026-02-26T07:58:08.507Z",
|
|
5
5
|
"methods": {
|
|
6
6
|
"venmo": {
|
|
7
7
|
"paymentMethodHash": "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
@@ -27,7 +27,7 @@ import type {
|
|
|
27
27
|
PromiseOrValue,
|
|
28
28
|
} from "../common";
|
|
29
29
|
|
|
30
|
-
export declare namespace
|
|
30
|
+
export declare namespace IEscrowV2 {
|
|
31
31
|
export type RangeStruct = {
|
|
32
32
|
min: PromiseOrValue<BigNumberish>;
|
|
33
33
|
max: PromiseOrValue<BigNumberish>;
|
|
@@ -38,14 +38,39 @@ export declare namespace IEscrow {
|
|
|
38
38
|
max: BigNumber;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
+
export type OracleRateConfigStruct = {
|
|
42
|
+
adapter: PromiseOrValue<string>;
|
|
43
|
+
adapterConfig: PromiseOrValue<BytesLike>;
|
|
44
|
+
spreadBps: PromiseOrValue<BigNumberish>;
|
|
45
|
+
maxStaleness: PromiseOrValue<BigNumberish>;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export type OracleRateConfigStructOutput = [
|
|
49
|
+
string,
|
|
50
|
+
string,
|
|
51
|
+
number,
|
|
52
|
+
number
|
|
53
|
+
] & {
|
|
54
|
+
adapter: string;
|
|
55
|
+
adapterConfig: string;
|
|
56
|
+
spreadBps: number;
|
|
57
|
+
maxStaleness: number;
|
|
58
|
+
};
|
|
59
|
+
|
|
41
60
|
export type CurrencyStruct = {
|
|
42
61
|
code: PromiseOrValue<BytesLike>;
|
|
43
62
|
minConversionRate: PromiseOrValue<BigNumberish>;
|
|
63
|
+
oracleRateConfig: IEscrowV2.OracleRateConfigStruct;
|
|
44
64
|
};
|
|
45
65
|
|
|
46
|
-
export type CurrencyStructOutput = [
|
|
66
|
+
export type CurrencyStructOutput = [
|
|
67
|
+
string,
|
|
68
|
+
BigNumber,
|
|
69
|
+
IEscrowV2.OracleRateConfigStructOutput
|
|
70
|
+
] & {
|
|
47
71
|
code: string;
|
|
48
72
|
minConversionRate: BigNumber;
|
|
73
|
+
oracleRateConfig: IEscrowV2.OracleRateConfigStructOutput;
|
|
49
74
|
};
|
|
50
75
|
|
|
51
76
|
export type DepositPaymentMethodDataStruct = {
|
|
@@ -63,10 +88,10 @@ export declare namespace IEscrow {
|
|
|
63
88
|
export type CreateDepositParamsStruct = {
|
|
64
89
|
token: PromiseOrValue<string>;
|
|
65
90
|
amount: PromiseOrValue<BigNumberish>;
|
|
66
|
-
intentAmountRange:
|
|
91
|
+
intentAmountRange: IEscrowV2.RangeStruct;
|
|
67
92
|
paymentMethods: PromiseOrValue<BytesLike>[];
|
|
68
|
-
paymentMethodData:
|
|
69
|
-
currencies:
|
|
93
|
+
paymentMethodData: IEscrowV2.DepositPaymentMethodDataStruct[];
|
|
94
|
+
currencies: IEscrowV2.CurrencyStruct[][];
|
|
70
95
|
delegate: PromiseOrValue<string>;
|
|
71
96
|
intentGuardian: PromiseOrValue<string>;
|
|
72
97
|
retainOnEmpty: PromiseOrValue<boolean>;
|
|
@@ -75,20 +100,20 @@ export declare namespace IEscrow {
|
|
|
75
100
|
export type CreateDepositParamsStructOutput = [
|
|
76
101
|
string,
|
|
77
102
|
BigNumber,
|
|
78
|
-
|
|
103
|
+
IEscrowV2.RangeStructOutput,
|
|
79
104
|
string[],
|
|
80
|
-
|
|
81
|
-
|
|
105
|
+
IEscrowV2.DepositPaymentMethodDataStructOutput[],
|
|
106
|
+
IEscrowV2.CurrencyStructOutput[][],
|
|
82
107
|
string,
|
|
83
108
|
string,
|
|
84
109
|
boolean
|
|
85
110
|
] & {
|
|
86
111
|
token: string;
|
|
87
112
|
amount: BigNumber;
|
|
88
|
-
intentAmountRange:
|
|
113
|
+
intentAmountRange: IEscrowV2.RangeStructOutput;
|
|
89
114
|
paymentMethods: string[];
|
|
90
|
-
paymentMethodData:
|
|
91
|
-
currencies:
|
|
115
|
+
paymentMethodData: IEscrowV2.DepositPaymentMethodDataStructOutput[];
|
|
116
|
+
currencies: IEscrowV2.CurrencyStructOutput[][];
|
|
92
117
|
delegate: string;
|
|
93
118
|
intentGuardian: string;
|
|
94
119
|
retainOnEmpty: boolean;
|
|
@@ -98,7 +123,7 @@ export declare namespace IEscrow {
|
|
|
98
123
|
depositor: PromiseOrValue<string>;
|
|
99
124
|
delegate: PromiseOrValue<string>;
|
|
100
125
|
token: PromiseOrValue<string>;
|
|
101
|
-
intentAmountRange:
|
|
126
|
+
intentAmountRange: IEscrowV2.RangeStruct;
|
|
102
127
|
acceptingIntents: PromiseOrValue<boolean>;
|
|
103
128
|
remainingDeposits: PromiseOrValue<BigNumberish>;
|
|
104
129
|
outstandingIntentAmount: PromiseOrValue<BigNumberish>;
|
|
@@ -110,7 +135,7 @@ export declare namespace IEscrow {
|
|
|
110
135
|
string,
|
|
111
136
|
string,
|
|
112
137
|
string,
|
|
113
|
-
|
|
138
|
+
IEscrowV2.RangeStructOutput,
|
|
114
139
|
boolean,
|
|
115
140
|
BigNumber,
|
|
116
141
|
BigNumber,
|
|
@@ -120,7 +145,7 @@ export declare namespace IEscrow {
|
|
|
120
145
|
depositor: string;
|
|
121
146
|
delegate: string;
|
|
122
147
|
token: string;
|
|
123
|
-
intentAmountRange:
|
|
148
|
+
intentAmountRange: IEscrowV2.RangeStructOutput;
|
|
124
149
|
acceptingIntents: boolean;
|
|
125
150
|
remainingDeposits: BigNumber;
|
|
126
151
|
outstandingIntentAmount: BigNumber;
|
|
@@ -143,30 +168,9 @@ export declare namespace IEscrow {
|
|
|
143
168
|
};
|
|
144
169
|
}
|
|
145
170
|
|
|
146
|
-
export declare namespace IEscrowV2 {
|
|
147
|
-
export type OracleRateConfigStruct = {
|
|
148
|
-
adapter: PromiseOrValue<string>;
|
|
149
|
-
adapterConfig: PromiseOrValue<BytesLike>;
|
|
150
|
-
spreadBps: PromiseOrValue<BigNumberish>;
|
|
151
|
-
maxStaleness: PromiseOrValue<BigNumberish>;
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
export type OracleRateConfigStructOutput = [
|
|
155
|
-
string,
|
|
156
|
-
string,
|
|
157
|
-
number,
|
|
158
|
-
number
|
|
159
|
-
] & {
|
|
160
|
-
adapter: string;
|
|
161
|
-
adapterConfig: string;
|
|
162
|
-
spreadBps: number;
|
|
163
|
-
maxStaleness: number;
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
|
|
167
171
|
export interface EscrowV2Interface extends utils.Interface {
|
|
168
172
|
functions: {
|
|
169
|
-
"addCurrencies(uint256,bytes32,(bytes32,uint256)[])": FunctionFragment;
|
|
173
|
+
"addCurrencies(uint256,bytes32,(bytes32,uint256,(address,bytes,uint16,uint32))[])": FunctionFragment;
|
|
170
174
|
"addFunds(uint256,uint256)": FunctionFragment;
|
|
171
175
|
"addPaymentMethods(uint256,bytes32[],(address,bytes32,bytes)[],tuple[][])": FunctionFragment;
|
|
172
176
|
"chainId()": FunctionFragment;
|
|
@@ -299,7 +303,7 @@ export interface EscrowV2Interface extends utils.Interface {
|
|
|
299
303
|
values: [
|
|
300
304
|
PromiseOrValue<BigNumberish>,
|
|
301
305
|
PromiseOrValue<BytesLike>,
|
|
302
|
-
|
|
306
|
+
IEscrowV2.CurrencyStruct[]
|
|
303
307
|
]
|
|
304
308
|
): string;
|
|
305
309
|
encodeFunctionData(
|
|
@@ -311,8 +315,8 @@ export interface EscrowV2Interface extends utils.Interface {
|
|
|
311
315
|
values: [
|
|
312
316
|
PromiseOrValue<BigNumberish>,
|
|
313
317
|
PromiseOrValue<BytesLike>[],
|
|
314
|
-
|
|
315
|
-
|
|
318
|
+
IEscrowV2.DepositPaymentMethodDataStruct[],
|
|
319
|
+
IEscrowV2.CurrencyStruct[][]
|
|
316
320
|
]
|
|
317
321
|
): string;
|
|
318
322
|
encodeFunctionData(functionFragment: "chainId", values?: undefined): string;
|
|
@@ -322,7 +326,7 @@ export interface EscrowV2Interface extends utils.Interface {
|
|
|
322
326
|
): string;
|
|
323
327
|
encodeFunctionData(
|
|
324
328
|
functionFragment: "createDeposit",
|
|
325
|
-
values: [
|
|
329
|
+
values: [IEscrowV2.CreateDepositParamsStruct]
|
|
326
330
|
): string;
|
|
327
331
|
encodeFunctionData(
|
|
328
332
|
functionFragment: "deactivateCurrency",
|
|
@@ -338,7 +342,7 @@ export interface EscrowV2Interface extends utils.Interface {
|
|
|
338
342
|
): string;
|
|
339
343
|
encodeFunctionData(
|
|
340
344
|
functionFragment: "depositTo",
|
|
341
|
-
values: [PromiseOrValue<string>,
|
|
345
|
+
values: [PromiseOrValue<string>, IEscrowV2.CreateDepositParamsStruct]
|
|
342
346
|
): string;
|
|
343
347
|
encodeFunctionData(
|
|
344
348
|
functionFragment: "dustRecipient",
|
|
@@ -521,7 +525,7 @@ export interface EscrowV2Interface extends utils.Interface {
|
|
|
521
525
|
): string;
|
|
522
526
|
encodeFunctionData(
|
|
523
527
|
functionFragment: "setIntentRange",
|
|
524
|
-
values: [PromiseOrValue<BigNumberish>,
|
|
528
|
+
values: [PromiseOrValue<BigNumberish>, IEscrowV2.RangeStruct]
|
|
525
529
|
): string;
|
|
526
530
|
encodeFunctionData(
|
|
527
531
|
functionFragment: "setMaxIntentsPerDeposit",
|
|
@@ -993,10 +997,10 @@ export type DepositFundsAddedEventFilter =
|
|
|
993
997
|
|
|
994
998
|
export interface DepositIntentAmountRangeUpdatedEventObject {
|
|
995
999
|
depositId: BigNumber;
|
|
996
|
-
intentAmountRange:
|
|
1000
|
+
intentAmountRange: IEscrowV2.RangeStructOutput;
|
|
997
1001
|
}
|
|
998
1002
|
export type DepositIntentAmountRangeUpdatedEvent = TypedEvent<
|
|
999
|
-
[BigNumber,
|
|
1003
|
+
[BigNumber, IEscrowV2.RangeStructOutput],
|
|
1000
1004
|
DepositIntentAmountRangeUpdatedEventObject
|
|
1001
1005
|
>;
|
|
1002
1006
|
|
|
@@ -1105,7 +1109,7 @@ export interface DepositReceivedEventObject {
|
|
|
1105
1109
|
depositor: string;
|
|
1106
1110
|
token: string;
|
|
1107
1111
|
amount: BigNumber;
|
|
1108
|
-
intentAmountRange:
|
|
1112
|
+
intentAmountRange: IEscrowV2.RangeStructOutput;
|
|
1109
1113
|
delegate: string;
|
|
1110
1114
|
intentGuardian: string;
|
|
1111
1115
|
}
|
|
@@ -1115,7 +1119,7 @@ export type DepositReceivedEvent = TypedEvent<
|
|
|
1115
1119
|
string,
|
|
1116
1120
|
string,
|
|
1117
1121
|
BigNumber,
|
|
1118
|
-
|
|
1122
|
+
IEscrowV2.RangeStructOutput,
|
|
1119
1123
|
string,
|
|
1120
1124
|
string
|
|
1121
1125
|
],
|
|
@@ -1358,7 +1362,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1358
1362
|
addCurrencies(
|
|
1359
1363
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1360
1364
|
_paymentMethod: PromiseOrValue<BytesLike>,
|
|
1361
|
-
_currencies:
|
|
1365
|
+
_currencies: IEscrowV2.CurrencyStruct[],
|
|
1362
1366
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1363
1367
|
): Promise<ContractTransaction>;
|
|
1364
1368
|
|
|
@@ -1371,8 +1375,8 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1371
1375
|
addPaymentMethods(
|
|
1372
1376
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1373
1377
|
_paymentMethods: PromiseOrValue<BytesLike>[],
|
|
1374
|
-
_paymentMethodData:
|
|
1375
|
-
_currencies:
|
|
1378
|
+
_paymentMethodData: IEscrowV2.DepositPaymentMethodDataStruct[],
|
|
1379
|
+
_currencies: IEscrowV2.CurrencyStruct[][],
|
|
1376
1380
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1377
1381
|
): Promise<ContractTransaction>;
|
|
1378
1382
|
|
|
@@ -1384,7 +1388,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1384
1388
|
): Promise<ContractTransaction>;
|
|
1385
1389
|
|
|
1386
1390
|
createDeposit(
|
|
1387
|
-
_params:
|
|
1391
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
1388
1392
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1389
1393
|
): Promise<ContractTransaction>;
|
|
1390
1394
|
|
|
@@ -1399,7 +1403,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1399
1403
|
|
|
1400
1404
|
depositTo(
|
|
1401
1405
|
_depositor: PromiseOrValue<string>,
|
|
1402
|
-
_params:
|
|
1406
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
1403
1407
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1404
1408
|
): Promise<ContractTransaction>;
|
|
1405
1409
|
|
|
@@ -1417,7 +1421,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1417
1421
|
getDeposit(
|
|
1418
1422
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1419
1423
|
overrides?: CallOverrides
|
|
1420
|
-
): Promise<[
|
|
1424
|
+
): Promise<[IEscrowV2.DepositStructOutput]>;
|
|
1421
1425
|
|
|
1422
1426
|
getDepositCurrencies(
|
|
1423
1427
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -1449,7 +1453,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1449
1453
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1450
1454
|
_intentHash: PromiseOrValue<BytesLike>,
|
|
1451
1455
|
overrides?: CallOverrides
|
|
1452
|
-
): Promise<[
|
|
1456
|
+
): Promise<[IEscrowV2.IntentStructOutput]>;
|
|
1453
1457
|
|
|
1454
1458
|
getDepositIntentHashes(
|
|
1455
1459
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -1473,7 +1477,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1473
1477
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1474
1478
|
_paymentMethod: PromiseOrValue<BytesLike>,
|
|
1475
1479
|
overrides?: CallOverrides
|
|
1476
|
-
): Promise<[
|
|
1480
|
+
): Promise<[IEscrowV2.DepositPaymentMethodDataStructOutput]>;
|
|
1477
1481
|
|
|
1478
1482
|
getDepositPaymentMethodListed(
|
|
1479
1483
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -1602,7 +1606,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1602
1606
|
|
|
1603
1607
|
setIntentRange(
|
|
1604
1608
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1605
|
-
_intentAmountRange:
|
|
1609
|
+
_intentAmountRange: IEscrowV2.RangeStruct,
|
|
1606
1610
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1607
1611
|
): Promise<ContractTransaction>;
|
|
1608
1612
|
|
|
@@ -1689,7 +1693,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1689
1693
|
addCurrencies(
|
|
1690
1694
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1691
1695
|
_paymentMethod: PromiseOrValue<BytesLike>,
|
|
1692
|
-
_currencies:
|
|
1696
|
+
_currencies: IEscrowV2.CurrencyStruct[],
|
|
1693
1697
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1694
1698
|
): Promise<ContractTransaction>;
|
|
1695
1699
|
|
|
@@ -1702,8 +1706,8 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1702
1706
|
addPaymentMethods(
|
|
1703
1707
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1704
1708
|
_paymentMethods: PromiseOrValue<BytesLike>[],
|
|
1705
|
-
_paymentMethodData:
|
|
1706
|
-
_currencies:
|
|
1709
|
+
_paymentMethodData: IEscrowV2.DepositPaymentMethodDataStruct[],
|
|
1710
|
+
_currencies: IEscrowV2.CurrencyStruct[][],
|
|
1707
1711
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1708
1712
|
): Promise<ContractTransaction>;
|
|
1709
1713
|
|
|
@@ -1715,7 +1719,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1715
1719
|
): Promise<ContractTransaction>;
|
|
1716
1720
|
|
|
1717
1721
|
createDeposit(
|
|
1718
|
-
_params:
|
|
1722
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
1719
1723
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1720
1724
|
): Promise<ContractTransaction>;
|
|
1721
1725
|
|
|
@@ -1730,7 +1734,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1730
1734
|
|
|
1731
1735
|
depositTo(
|
|
1732
1736
|
_depositor: PromiseOrValue<string>,
|
|
1733
|
-
_params:
|
|
1737
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
1734
1738
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1735
1739
|
): Promise<ContractTransaction>;
|
|
1736
1740
|
|
|
@@ -1748,7 +1752,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1748
1752
|
getDeposit(
|
|
1749
1753
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1750
1754
|
overrides?: CallOverrides
|
|
1751
|
-
): Promise<
|
|
1755
|
+
): Promise<IEscrowV2.DepositStructOutput>;
|
|
1752
1756
|
|
|
1753
1757
|
getDepositCurrencies(
|
|
1754
1758
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -1780,7 +1784,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1780
1784
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1781
1785
|
_intentHash: PromiseOrValue<BytesLike>,
|
|
1782
1786
|
overrides?: CallOverrides
|
|
1783
|
-
): Promise<
|
|
1787
|
+
): Promise<IEscrowV2.IntentStructOutput>;
|
|
1784
1788
|
|
|
1785
1789
|
getDepositIntentHashes(
|
|
1786
1790
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -1804,7 +1808,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1804
1808
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1805
1809
|
_paymentMethod: PromiseOrValue<BytesLike>,
|
|
1806
1810
|
overrides?: CallOverrides
|
|
1807
|
-
): Promise<
|
|
1811
|
+
): Promise<IEscrowV2.DepositPaymentMethodDataStructOutput>;
|
|
1808
1812
|
|
|
1809
1813
|
getDepositPaymentMethodListed(
|
|
1810
1814
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -1931,7 +1935,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
1931
1935
|
|
|
1932
1936
|
setIntentRange(
|
|
1933
1937
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
1934
|
-
_intentAmountRange:
|
|
1938
|
+
_intentAmountRange: IEscrowV2.RangeStruct,
|
|
1935
1939
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1936
1940
|
): Promise<ContractTransaction>;
|
|
1937
1941
|
|
|
@@ -2018,7 +2022,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2018
2022
|
addCurrencies(
|
|
2019
2023
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2020
2024
|
_paymentMethod: PromiseOrValue<BytesLike>,
|
|
2021
|
-
_currencies:
|
|
2025
|
+
_currencies: IEscrowV2.CurrencyStruct[],
|
|
2022
2026
|
overrides?: CallOverrides
|
|
2023
2027
|
): Promise<void>;
|
|
2024
2028
|
|
|
@@ -2031,8 +2035,8 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2031
2035
|
addPaymentMethods(
|
|
2032
2036
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2033
2037
|
_paymentMethods: PromiseOrValue<BytesLike>[],
|
|
2034
|
-
_paymentMethodData:
|
|
2035
|
-
_currencies:
|
|
2038
|
+
_paymentMethodData: IEscrowV2.DepositPaymentMethodDataStruct[],
|
|
2039
|
+
_currencies: IEscrowV2.CurrencyStruct[][],
|
|
2036
2040
|
overrides?: CallOverrides
|
|
2037
2041
|
): Promise<void>;
|
|
2038
2042
|
|
|
@@ -2044,7 +2048,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2044
2048
|
): Promise<void>;
|
|
2045
2049
|
|
|
2046
2050
|
createDeposit(
|
|
2047
|
-
_params:
|
|
2051
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
2048
2052
|
overrides?: CallOverrides
|
|
2049
2053
|
): Promise<void>;
|
|
2050
2054
|
|
|
@@ -2059,7 +2063,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2059
2063
|
|
|
2060
2064
|
depositTo(
|
|
2061
2065
|
_depositor: PromiseOrValue<string>,
|
|
2062
|
-
_params:
|
|
2066
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
2063
2067
|
overrides?: CallOverrides
|
|
2064
2068
|
): Promise<void>;
|
|
2065
2069
|
|
|
@@ -2077,7 +2081,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2077
2081
|
getDeposit(
|
|
2078
2082
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2079
2083
|
overrides?: CallOverrides
|
|
2080
|
-
): Promise<
|
|
2084
|
+
): Promise<IEscrowV2.DepositStructOutput>;
|
|
2081
2085
|
|
|
2082
2086
|
getDepositCurrencies(
|
|
2083
2087
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -2109,7 +2113,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2109
2113
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2110
2114
|
_intentHash: PromiseOrValue<BytesLike>,
|
|
2111
2115
|
overrides?: CallOverrides
|
|
2112
|
-
): Promise<
|
|
2116
|
+
): Promise<IEscrowV2.IntentStructOutput>;
|
|
2113
2117
|
|
|
2114
2118
|
getDepositIntentHashes(
|
|
2115
2119
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -2133,7 +2137,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2133
2137
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2134
2138
|
_paymentMethod: PromiseOrValue<BytesLike>,
|
|
2135
2139
|
overrides?: CallOverrides
|
|
2136
|
-
): Promise<
|
|
2140
|
+
): Promise<IEscrowV2.DepositPaymentMethodDataStructOutput>;
|
|
2137
2141
|
|
|
2138
2142
|
getDepositPaymentMethodListed(
|
|
2139
2143
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
@@ -2258,7 +2262,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2258
2262
|
|
|
2259
2263
|
setIntentRange(
|
|
2260
2264
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2261
|
-
_intentAmountRange:
|
|
2265
|
+
_intentAmountRange: IEscrowV2.RangeStruct,
|
|
2262
2266
|
overrides?: CallOverrides
|
|
2263
2267
|
): Promise<void>;
|
|
2264
2268
|
|
|
@@ -2672,7 +2676,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2672
2676
|
addCurrencies(
|
|
2673
2677
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2674
2678
|
_paymentMethod: PromiseOrValue<BytesLike>,
|
|
2675
|
-
_currencies:
|
|
2679
|
+
_currencies: IEscrowV2.CurrencyStruct[],
|
|
2676
2680
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
2677
2681
|
): Promise<BigNumber>;
|
|
2678
2682
|
|
|
@@ -2685,8 +2689,8 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2685
2689
|
addPaymentMethods(
|
|
2686
2690
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2687
2691
|
_paymentMethods: PromiseOrValue<BytesLike>[],
|
|
2688
|
-
_paymentMethodData:
|
|
2689
|
-
_currencies:
|
|
2692
|
+
_paymentMethodData: IEscrowV2.DepositPaymentMethodDataStruct[],
|
|
2693
|
+
_currencies: IEscrowV2.CurrencyStruct[][],
|
|
2690
2694
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
2691
2695
|
): Promise<BigNumber>;
|
|
2692
2696
|
|
|
@@ -2698,7 +2702,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2698
2702
|
): Promise<BigNumber>;
|
|
2699
2703
|
|
|
2700
2704
|
createDeposit(
|
|
2701
|
-
_params:
|
|
2705
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
2702
2706
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
2703
2707
|
): Promise<BigNumber>;
|
|
2704
2708
|
|
|
@@ -2713,7 +2717,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2713
2717
|
|
|
2714
2718
|
depositTo(
|
|
2715
2719
|
_depositor: PromiseOrValue<string>,
|
|
2716
|
-
_params:
|
|
2720
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
2717
2721
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
2718
2722
|
): Promise<BigNumber>;
|
|
2719
2723
|
|
|
@@ -2909,7 +2913,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2909
2913
|
|
|
2910
2914
|
setIntentRange(
|
|
2911
2915
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2912
|
-
_intentAmountRange:
|
|
2916
|
+
_intentAmountRange: IEscrowV2.RangeStruct,
|
|
2913
2917
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
2914
2918
|
): Promise<BigNumber>;
|
|
2915
2919
|
|
|
@@ -2997,7 +3001,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
2997
3001
|
addCurrencies(
|
|
2998
3002
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
2999
3003
|
_paymentMethod: PromiseOrValue<BytesLike>,
|
|
3000
|
-
_currencies:
|
|
3004
|
+
_currencies: IEscrowV2.CurrencyStruct[],
|
|
3001
3005
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
3002
3006
|
): Promise<PopulatedTransaction>;
|
|
3003
3007
|
|
|
@@ -3010,8 +3014,8 @@ export interface EscrowV2 extends BaseContract {
|
|
|
3010
3014
|
addPaymentMethods(
|
|
3011
3015
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
3012
3016
|
_paymentMethods: PromiseOrValue<BytesLike>[],
|
|
3013
|
-
_paymentMethodData:
|
|
3014
|
-
_currencies:
|
|
3017
|
+
_paymentMethodData: IEscrowV2.DepositPaymentMethodDataStruct[],
|
|
3018
|
+
_currencies: IEscrowV2.CurrencyStruct[][],
|
|
3015
3019
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
3016
3020
|
): Promise<PopulatedTransaction>;
|
|
3017
3021
|
|
|
@@ -3023,7 +3027,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
3023
3027
|
): Promise<PopulatedTransaction>;
|
|
3024
3028
|
|
|
3025
3029
|
createDeposit(
|
|
3026
|
-
_params:
|
|
3030
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
3027
3031
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
3028
3032
|
): Promise<PopulatedTransaction>;
|
|
3029
3033
|
|
|
@@ -3038,7 +3042,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
3038
3042
|
|
|
3039
3043
|
depositTo(
|
|
3040
3044
|
_depositor: PromiseOrValue<string>,
|
|
3041
|
-
_params:
|
|
3045
|
+
_params: IEscrowV2.CreateDepositParamsStruct,
|
|
3042
3046
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
3043
3047
|
): Promise<PopulatedTransaction>;
|
|
3044
3048
|
|
|
@@ -3242,7 +3246,7 @@ export interface EscrowV2 extends BaseContract {
|
|
|
3242
3246
|
|
|
3243
3247
|
setIntentRange(
|
|
3244
3248
|
_depositId: PromiseOrValue<BigNumberish>,
|
|
3245
|
-
_intentAmountRange:
|
|
3249
|
+
_intentAmountRange: IEscrowV2.RangeStruct,
|
|
3246
3250
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
3247
3251
|
): Promise<PopulatedTransaction>;
|
|
3248
3252
|
|