@zkp2p/contracts-v2 0.2.0-rc.6 → 0.2.0-rc.7
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/abis/base/EscrowV2.js +108 -18
- package/_cjs/abis/base/EscrowV2.json +108 -18
- package/_cjs/abis/base/OrchestratorV2.js +99 -17
- package/_cjs/abis/base/OrchestratorV2.json +99 -17
- package/_cjs/abis/base/SignatureGatingPreIntentHook.js +15 -8
- package/_cjs/abis/base/SignatureGatingPreIntentHook.json +15 -8
- package/_cjs/addresses/base.js +4 -4
- package/_cjs/addresses/base.json +4 -4
- 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/_esm/abis/base/EscrowV2.js +108 -18
- package/_esm/abis/base/EscrowV2.json +108 -18
- package/_esm/abis/base/OrchestratorV2.js +99 -17
- package/_esm/abis/base/OrchestratorV2.json +99 -17
- package/_esm/abis/base/SignatureGatingPreIntentHook.js +15 -8
- package/_esm/abis/base/SignatureGatingPreIntentHook.json +15 -8
- package/_esm/addresses/base.js +4 -4
- package/_esm/addresses/base.json +4 -4
- 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/abis/base/EscrowV2.json +108 -18
- package/abis/base/OrchestratorV2.json +99 -17
- package/abis/base/SignatureGatingPreIntentHook.json +15 -8
- package/addresses/base.json +4 -4
- 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
|
@@ -120,6 +120,17 @@
|
|
|
120
120
|
"name": "CurrencyNotSupported",
|
|
121
121
|
"type": "error"
|
|
122
122
|
},
|
|
123
|
+
{
|
|
124
|
+
"inputs": [
|
|
125
|
+
{
|
|
126
|
+
"internalType": "address",
|
|
127
|
+
"name": "recipient",
|
|
128
|
+
"type": "address"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"name": "DuplicateReferralFeeRecipient",
|
|
132
|
+
"type": "error"
|
|
133
|
+
},
|
|
123
134
|
{
|
|
124
135
|
"inputs": [],
|
|
125
136
|
"name": "EscrowLockFailed",
|
|
@@ -203,7 +214,7 @@
|
|
|
203
214
|
},
|
|
204
215
|
{
|
|
205
216
|
"inputs": [],
|
|
206
|
-
"name": "
|
|
217
|
+
"name": "InvalidReferralFeeConfiguration",
|
|
207
218
|
"type": "error"
|
|
208
219
|
},
|
|
209
220
|
{
|
|
@@ -265,6 +276,38 @@
|
|
|
265
276
|
"name": "RateBelowMinimum",
|
|
266
277
|
"type": "error"
|
|
267
278
|
},
|
|
279
|
+
{
|
|
280
|
+
"inputs": [
|
|
281
|
+
{
|
|
282
|
+
"internalType": "uint256",
|
|
283
|
+
"name": "count",
|
|
284
|
+
"type": "uint256"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"internalType": "uint256",
|
|
288
|
+
"name": "maximum",
|
|
289
|
+
"type": "uint256"
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"name": "ReferralFeeCountExceedsMaximum",
|
|
293
|
+
"type": "error"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"inputs": [
|
|
297
|
+
{
|
|
298
|
+
"internalType": "uint256",
|
|
299
|
+
"name": "totalFee",
|
|
300
|
+
"type": "uint256"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"internalType": "uint256",
|
|
304
|
+
"name": "maximum",
|
|
305
|
+
"type": "uint256"
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"name": "ReferralFeeExceedsMaximum",
|
|
309
|
+
"type": "error"
|
|
310
|
+
},
|
|
268
311
|
{
|
|
269
312
|
"inputs": [
|
|
270
313
|
{
|
|
@@ -512,6 +555,31 @@
|
|
|
512
555
|
"name": "IntentPruned",
|
|
513
556
|
"type": "event"
|
|
514
557
|
},
|
|
558
|
+
{
|
|
559
|
+
"anonymous": false,
|
|
560
|
+
"inputs": [
|
|
561
|
+
{
|
|
562
|
+
"indexed": true,
|
|
563
|
+
"internalType": "bytes32",
|
|
564
|
+
"name": "intentHash",
|
|
565
|
+
"type": "bytes32"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"indexed": true,
|
|
569
|
+
"internalType": "address",
|
|
570
|
+
"name": "feeRecipient",
|
|
571
|
+
"type": "address"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"indexed": false,
|
|
575
|
+
"internalType": "uint256",
|
|
576
|
+
"name": "feeAmount",
|
|
577
|
+
"type": "uint256"
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
"name": "IntentReferralFeeDistributed",
|
|
581
|
+
"type": "event"
|
|
582
|
+
},
|
|
515
583
|
{
|
|
516
584
|
"anonymous": false,
|
|
517
585
|
"inputs": [
|
|
@@ -919,14 +987,21 @@
|
|
|
919
987
|
"type": "bytes32"
|
|
920
988
|
},
|
|
921
989
|
{
|
|
922
|
-
"
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
990
|
+
"components": [
|
|
991
|
+
{
|
|
992
|
+
"internalType": "address",
|
|
993
|
+
"name": "recipient",
|
|
994
|
+
"type": "address"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"internalType": "uint256",
|
|
998
|
+
"name": "fee",
|
|
999
|
+
"type": "uint256"
|
|
1000
|
+
}
|
|
1001
|
+
],
|
|
1002
|
+
"internalType": "struct IReferralFee.ReferralFee[]",
|
|
1003
|
+
"name": "referralFees",
|
|
1004
|
+
"type": "tuple[]"
|
|
930
1005
|
},
|
|
931
1006
|
{
|
|
932
1007
|
"internalType": "contract IPostIntentHookV2",
|
|
@@ -1248,14 +1323,21 @@
|
|
|
1248
1323
|
"type": "uint256"
|
|
1249
1324
|
},
|
|
1250
1325
|
{
|
|
1251
|
-
"
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1326
|
+
"components": [
|
|
1327
|
+
{
|
|
1328
|
+
"internalType": "address",
|
|
1329
|
+
"name": "recipient",
|
|
1330
|
+
"type": "address"
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"internalType": "uint256",
|
|
1334
|
+
"name": "fee",
|
|
1335
|
+
"type": "uint256"
|
|
1336
|
+
}
|
|
1337
|
+
],
|
|
1338
|
+
"internalType": "struct IReferralFee.ReferralFee[]",
|
|
1339
|
+
"name": "referralFees",
|
|
1340
|
+
"type": "tuple[]"
|
|
1259
1341
|
},
|
|
1260
1342
|
{
|
|
1261
1343
|
"internalType": "bytes",
|
|
@@ -262,14 +262,21 @@ const data = [
|
|
|
262
262
|
"type": "uint256"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
|
-
"
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
265
|
+
"components": [
|
|
266
|
+
{
|
|
267
|
+
"internalType": "address",
|
|
268
|
+
"name": "recipient",
|
|
269
|
+
"type": "address"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"internalType": "uint256",
|
|
273
|
+
"name": "fee",
|
|
274
|
+
"type": "uint256"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"internalType": "struct IReferralFee.ReferralFee[]",
|
|
278
|
+
"name": "referralFees",
|
|
279
|
+
"type": "tuple[]"
|
|
273
280
|
},
|
|
274
281
|
{
|
|
275
282
|
"internalType": "bytes",
|
|
@@ -262,14 +262,21 @@
|
|
|
262
262
|
"type": "uint256"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
|
-
"
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
265
|
+
"components": [
|
|
266
|
+
{
|
|
267
|
+
"internalType": "address",
|
|
268
|
+
"name": "recipient",
|
|
269
|
+
"type": "address"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"internalType": "uint256",
|
|
273
|
+
"name": "fee",
|
|
274
|
+
"type": "uint256"
|
|
275
|
+
}
|
|
276
|
+
],
|
|
277
|
+
"internalType": "struct IReferralFee.ReferralFee[]",
|
|
278
|
+
"name": "referralFees",
|
|
279
|
+
"type": "tuple[]"
|
|
273
280
|
},
|
|
274
281
|
{
|
|
275
282
|
"internalType": "bytes",
|
package/_cjs/addresses/base.js
CHANGED
|
@@ -7,11 +7,11 @@ const data = {
|
|
|
7
7
|
"ChainlinkOracleAdapter": "0x53881a928abD61C095e5f30b63bc554872C3b2f1",
|
|
8
8
|
"Escrow": "0x2f121CDDCA6d652f35e8B3E560f9760898888888",
|
|
9
9
|
"EscrowRegistry": "0xeD0e847B101abc96E796260AC358e12BAa2f5B21",
|
|
10
|
-
"EscrowV2": "
|
|
10
|
+
"EscrowV2": "0x777777779d229cdF3110e9de47943791c26300Ef",
|
|
11
11
|
"NullifierRegistry": "0x8d8e1A0e5345a5cc9AA206c3ca76D6d28c514608",
|
|
12
12
|
"Orchestrator": "0x88888883Ed048FF0a415271B28b2F52d431810D0",
|
|
13
13
|
"OrchestratorRegistry": "0xBe9fED15ED7A4B915C03EFcEcb9662739C3382A9",
|
|
14
|
-
"OrchestratorV2": "
|
|
14
|
+
"OrchestratorV2": "0x888888359E981B5225CA48fbCdCeff702FC3b888",
|
|
15
15
|
"PaymentVerifierRegistry": "0x2b82D24437ff66Fb173eabDfD67ee2ACeb8bEb1e",
|
|
16
16
|
"PostIntentHookRegistry": "0x9B128EBAD4d874199A2Dc57E93186796c5EcAdE9",
|
|
17
17
|
"ProtocolViewer": "0x30B03De22328074Fbe8447C425ae988797146606",
|
|
@@ -19,14 +19,14 @@ const data = {
|
|
|
19
19
|
"PythOracleAdapter": "0xad0b0126A657c0674d0DF53B2A2554D43bbb41D0",
|
|
20
20
|
"RateManagerV1": "0xeEd7Db23e724aC4590D6dB6F78fDa6DB203535F3",
|
|
21
21
|
"RelayerRegistry": "0xEbA979889a9c97382A92472fF3703786fF180083",
|
|
22
|
-
"SignatureGatingPreIntentHook": "
|
|
22
|
+
"SignatureGatingPreIntentHook": "0x62D410a3d6FC766dd2192be2a67a5fc79c5c2e1F",
|
|
23
23
|
"SimpleAttestationVerifier": "0xED6C0C34c3964D239e7a315C55E620fafE5Ae3AC",
|
|
24
24
|
"UnifiedPaymentVerifier": "0x16b3e4a3CA36D3A4bCA281767f15C7ADeF4ab163",
|
|
25
25
|
"UnifiedPaymentVerifierV2": "0x57833A85208b8E42db7368969662A6D7312b83D1",
|
|
26
26
|
"WhitelistPreIntentHook": "0xd793369b11357cdd076A9c631F6c44ff8e6353eA"
|
|
27
27
|
},
|
|
28
28
|
"meta": {
|
|
29
|
-
"generatedAt": "2026-03-
|
|
29
|
+
"generatedAt": "2026-03-11T14:23:12.072Z"
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
module.exports = data;
|
package/_cjs/addresses/base.json
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"ChainlinkOracleAdapter": "0x53881a928abD61C095e5f30b63bc554872C3b2f1",
|
|
8
8
|
"Escrow": "0x2f121CDDCA6d652f35e8B3E560f9760898888888",
|
|
9
9
|
"EscrowRegistry": "0xeD0e847B101abc96E796260AC358e12BAa2f5B21",
|
|
10
|
-
"EscrowV2": "
|
|
10
|
+
"EscrowV2": "0x777777779d229cdF3110e9de47943791c26300Ef",
|
|
11
11
|
"NullifierRegistry": "0x8d8e1A0e5345a5cc9AA206c3ca76D6d28c514608",
|
|
12
12
|
"Orchestrator": "0x88888883Ed048FF0a415271B28b2F52d431810D0",
|
|
13
13
|
"OrchestratorRegistry": "0xBe9fED15ED7A4B915C03EFcEcb9662739C3382A9",
|
|
14
|
-
"OrchestratorV2": "
|
|
14
|
+
"OrchestratorV2": "0x888888359E981B5225CA48fbCdCeff702FC3b888",
|
|
15
15
|
"PaymentVerifierRegistry": "0x2b82D24437ff66Fb173eabDfD67ee2ACeb8bEb1e",
|
|
16
16
|
"PostIntentHookRegistry": "0x9B128EBAD4d874199A2Dc57E93186796c5EcAdE9",
|
|
17
17
|
"ProtocolViewer": "0x30B03De22328074Fbe8447C425ae988797146606",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"PythOracleAdapter": "0xad0b0126A657c0674d0DF53B2A2554D43bbb41D0",
|
|
20
20
|
"RateManagerV1": "0xeEd7Db23e724aC4590D6dB6F78fDa6DB203535F3",
|
|
21
21
|
"RelayerRegistry": "0xEbA979889a9c97382A92472fF3703786fF180083",
|
|
22
|
-
"SignatureGatingPreIntentHook": "
|
|
22
|
+
"SignatureGatingPreIntentHook": "0x62D410a3d6FC766dd2192be2a67a5fc79c5c2e1F",
|
|
23
23
|
"SimpleAttestationVerifier": "0xED6C0C34c3964D239e7a315C55E620fafE5Ae3AC",
|
|
24
24
|
"UnifiedPaymentVerifier": "0x16b3e4a3CA36D3A4bCA281767f15C7ADeF4ab163",
|
|
25
25
|
"UnifiedPaymentVerifierV2": "0x57833A85208b8E42db7368969662A6D7312b83D1",
|
|
26
26
|
"WhitelistPreIntentHook": "0xd793369b11357cdd076A9c631F6c44ff8e6353eA"
|
|
27
27
|
},
|
|
28
28
|
"meta": {
|
|
29
|
-
"generatedAt": "2026-03-
|
|
29
|
+
"generatedAt": "2026-03-11T14:23:12.072Z"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const data = {
|
|
2
2
|
"network": "base",
|
|
3
3
|
"chainId": "8453",
|
|
4
|
-
"generatedAt": "2026-03-
|
|
4
|
+
"generatedAt": "2026-03-11T14:23:12.320Z",
|
|
5
5
|
"methods": {
|
|
6
6
|
"venmo": {
|
|
7
7
|
"paymentMethodHash": "0x90262a3db0edd0be2369c6b28f9e8511ec0bac7136cefbada0880602f87e7268",
|
|
@@ -327,9 +327,9 @@ const data = [
|
|
|
327
327
|
{
|
|
328
328
|
"inputs": [
|
|
329
329
|
{
|
|
330
|
-
"internalType": "
|
|
330
|
+
"internalType": "int16",
|
|
331
331
|
"name": "spreadBps",
|
|
332
|
-
"type": "
|
|
332
|
+
"type": "int16"
|
|
333
333
|
}
|
|
334
334
|
],
|
|
335
335
|
"name": "InvalidSpread",
|
|
@@ -765,9 +765,9 @@ const data = [
|
|
|
765
765
|
},
|
|
766
766
|
{
|
|
767
767
|
"indexed": false,
|
|
768
|
-
"internalType": "
|
|
768
|
+
"internalType": "int16",
|
|
769
769
|
"name": "spreadBps",
|
|
770
|
-
"type": "
|
|
770
|
+
"type": "int16"
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
773
|
"indexed": false,
|
|
@@ -1319,9 +1319,9 @@ const data = [
|
|
|
1319
1319
|
"type": "bytes"
|
|
1320
1320
|
},
|
|
1321
1321
|
{
|
|
1322
|
-
"internalType": "
|
|
1322
|
+
"internalType": "int16",
|
|
1323
1323
|
"name": "spreadBps",
|
|
1324
|
-
"type": "
|
|
1324
|
+
"type": "int16"
|
|
1325
1325
|
},
|
|
1326
1326
|
{
|
|
1327
1327
|
"internalType": "uint32",
|
|
@@ -1421,9 +1421,9 @@ const data = [
|
|
|
1421
1421
|
"type": "bytes"
|
|
1422
1422
|
},
|
|
1423
1423
|
{
|
|
1424
|
-
"internalType": "
|
|
1424
|
+
"internalType": "int16",
|
|
1425
1425
|
"name": "spreadBps",
|
|
1426
|
-
"type": "
|
|
1426
|
+
"type": "int16"
|
|
1427
1427
|
},
|
|
1428
1428
|
{
|
|
1429
1429
|
"internalType": "uint32",
|
|
@@ -1555,9 +1555,9 @@ const data = [
|
|
|
1555
1555
|
"type": "bytes"
|
|
1556
1556
|
},
|
|
1557
1557
|
{
|
|
1558
|
-
"internalType": "
|
|
1558
|
+
"internalType": "int16",
|
|
1559
1559
|
"name": "spreadBps",
|
|
1560
|
-
"type": "
|
|
1560
|
+
"type": "int16"
|
|
1561
1561
|
},
|
|
1562
1562
|
{
|
|
1563
1563
|
"internalType": "uint32",
|
|
@@ -1600,6 +1600,29 @@ const data = [
|
|
|
1600
1600
|
"stateMutability": "nonpayable",
|
|
1601
1601
|
"type": "function"
|
|
1602
1602
|
},
|
|
1603
|
+
{
|
|
1604
|
+
"inputs": [
|
|
1605
|
+
{
|
|
1606
|
+
"internalType": "uint256",
|
|
1607
|
+
"name": "_depositId",
|
|
1608
|
+
"type": "uint256"
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"internalType": "bytes32[]",
|
|
1612
|
+
"name": "_paymentMethods",
|
|
1613
|
+
"type": "bytes32[]"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"internalType": "bytes32[][]",
|
|
1617
|
+
"name": "_currencyCodes",
|
|
1618
|
+
"type": "bytes32[][]"
|
|
1619
|
+
}
|
|
1620
|
+
],
|
|
1621
|
+
"name": "deactivateCurrenciesBatch",
|
|
1622
|
+
"outputs": [],
|
|
1623
|
+
"stateMutability": "nonpayable",
|
|
1624
|
+
"type": "function"
|
|
1625
|
+
},
|
|
1603
1626
|
{
|
|
1604
1627
|
"inputs": [
|
|
1605
1628
|
{
|
|
@@ -1724,9 +1747,9 @@ const data = [
|
|
|
1724
1747
|
"type": "bytes"
|
|
1725
1748
|
},
|
|
1726
1749
|
{
|
|
1727
|
-
"internalType": "
|
|
1750
|
+
"internalType": "int16",
|
|
1728
1751
|
"name": "spreadBps",
|
|
1729
|
-
"type": "
|
|
1752
|
+
"type": "int16"
|
|
1730
1753
|
},
|
|
1731
1754
|
{
|
|
1732
1755
|
"internalType": "uint32",
|
|
@@ -2100,9 +2123,9 @@ const data = [
|
|
|
2100
2123
|
"type": "bytes"
|
|
2101
2124
|
},
|
|
2102
2125
|
{
|
|
2103
|
-
"internalType": "
|
|
2126
|
+
"internalType": "int16",
|
|
2104
2127
|
"name": "spreadBps",
|
|
2105
|
-
"type": "
|
|
2128
|
+
"type": "int16"
|
|
2106
2129
|
},
|
|
2107
2130
|
{
|
|
2108
2131
|
"internalType": "uint32",
|
|
@@ -2685,9 +2708,9 @@ const data = [
|
|
|
2685
2708
|
"type": "bytes"
|
|
2686
2709
|
},
|
|
2687
2710
|
{
|
|
2688
|
-
"internalType": "
|
|
2711
|
+
"internalType": "int16",
|
|
2689
2712
|
"name": "spreadBps",
|
|
2690
|
-
"type": "
|
|
2713
|
+
"type": "int16"
|
|
2691
2714
|
},
|
|
2692
2715
|
{
|
|
2693
2716
|
"internalType": "uint32",
|
|
@@ -2735,9 +2758,9 @@ const data = [
|
|
|
2735
2758
|
"type": "bytes"
|
|
2736
2759
|
},
|
|
2737
2760
|
{
|
|
2738
|
-
"internalType": "
|
|
2761
|
+
"internalType": "int16",
|
|
2739
2762
|
"name": "spreadBps",
|
|
2740
|
-
"type": "
|
|
2763
|
+
"type": "int16"
|
|
2741
2764
|
},
|
|
2742
2765
|
{
|
|
2743
2766
|
"internalType": "uint32",
|
|
@@ -2911,6 +2934,73 @@ const data = [
|
|
|
2911
2934
|
"stateMutability": "nonpayable",
|
|
2912
2935
|
"type": "function"
|
|
2913
2936
|
},
|
|
2937
|
+
{
|
|
2938
|
+
"inputs": [
|
|
2939
|
+
{
|
|
2940
|
+
"internalType": "uint256",
|
|
2941
|
+
"name": "_depositId",
|
|
2942
|
+
"type": "uint256"
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"internalType": "bytes32[]",
|
|
2946
|
+
"name": "_paymentMethods",
|
|
2947
|
+
"type": "bytes32[]"
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
"components": [
|
|
2951
|
+
{
|
|
2952
|
+
"internalType": "bytes32",
|
|
2953
|
+
"name": "code",
|
|
2954
|
+
"type": "bytes32"
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
"internalType": "uint256",
|
|
2958
|
+
"name": "minConversionRate",
|
|
2959
|
+
"type": "uint256"
|
|
2960
|
+
},
|
|
2961
|
+
{
|
|
2962
|
+
"internalType": "bool",
|
|
2963
|
+
"name": "updateOracle",
|
|
2964
|
+
"type": "bool"
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"components": [
|
|
2968
|
+
{
|
|
2969
|
+
"internalType": "address",
|
|
2970
|
+
"name": "adapter",
|
|
2971
|
+
"type": "address"
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"internalType": "bytes",
|
|
2975
|
+
"name": "adapterConfig",
|
|
2976
|
+
"type": "bytes"
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"internalType": "int16",
|
|
2980
|
+
"name": "spreadBps",
|
|
2981
|
+
"type": "int16"
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"internalType": "uint32",
|
|
2985
|
+
"name": "maxStaleness",
|
|
2986
|
+
"type": "uint32"
|
|
2987
|
+
}
|
|
2988
|
+
],
|
|
2989
|
+
"internalType": "struct IEscrowV2.OracleRateConfig",
|
|
2990
|
+
"name": "oracleRateConfig",
|
|
2991
|
+
"type": "tuple"
|
|
2992
|
+
}
|
|
2993
|
+
],
|
|
2994
|
+
"internalType": "struct IEscrowV2.CurrencyRateUpdate[][]",
|
|
2995
|
+
"name": "_updates",
|
|
2996
|
+
"type": "tuple[][]"
|
|
2997
|
+
}
|
|
2998
|
+
],
|
|
2999
|
+
"name": "updateCurrencyConfigBatch",
|
|
3000
|
+
"outputs": [],
|
|
3001
|
+
"stateMutability": "nonpayable",
|
|
3002
|
+
"type": "function"
|
|
3003
|
+
},
|
|
2914
3004
|
{
|
|
2915
3005
|
"inputs": [
|
|
2916
3006
|
{
|