@pushchain/core 3.0.8 → 4.0.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.
@@ -2,1099 +2,2154 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UNIVERSAL_GATEWAY_V0 = void 0;
4
4
  exports.UNIVERSAL_GATEWAY_V0 = [
5
- { inputs: [], name: 'AccessControlBadConfirmation', type: 'error' },
6
5
  {
7
- inputs: [
8
- { internalType: 'address', name: 'account', type: 'address' },
9
- { internalType: 'bytes32', name: 'neededRole', type: 'bytes32' },
6
+ "inputs": [],
7
+ "name": "AccessControlBadConfirmation",
8
+ "type": "error"
9
+ },
10
+ {
11
+ "inputs": [
12
+ {
13
+ "internalType": "address",
14
+ "name": "account",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "internalType": "bytes32",
19
+ "name": "neededRole",
20
+ "type": "bytes32"
21
+ }
10
22
  ],
11
- name: 'AccessControlUnauthorizedAccount',
12
- type: 'error',
23
+ "name": "AccessControlUnauthorizedAccount",
24
+ "type": "error"
25
+ },
26
+ {
27
+ "inputs": [],
28
+ "name": "DepositFailed",
29
+ "type": "error"
30
+ },
31
+ {
32
+ "inputs": [],
33
+ "name": "EnforcedPause",
34
+ "type": "error"
35
+ },
36
+ {
37
+ "inputs": [],
38
+ "name": "ExpectedPause",
39
+ "type": "error"
40
+ },
41
+ {
42
+ "inputs": [],
43
+ "name": "InvalidAmount",
44
+ "type": "error"
45
+ },
46
+ {
47
+ "inputs": [],
48
+ "name": "InvalidCapRange",
49
+ "type": "error"
50
+ },
51
+ {
52
+ "inputs": [],
53
+ "name": "InvalidData",
54
+ "type": "error"
55
+ },
56
+ {
57
+ "inputs": [],
58
+ "name": "InvalidInitialization",
59
+ "type": "error"
60
+ },
61
+ {
62
+ "inputs": [],
63
+ "name": "InvalidInput",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "InvalidRecipient",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "InvalidTxType",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "NotInitializing",
79
+ "type": "error"
13
80
  },
14
- { inputs: [], name: 'BlockCapLimitExceeded', type: 'error' },
15
- { inputs: [], name: 'DepositFailed', type: 'error' },
16
- { inputs: [], name: 'EnforcedPause', type: 'error' },
17
- { inputs: [], name: 'ExpectedPause', type: 'error' },
18
- { inputs: [], name: 'InvalidAmount', type: 'error' },
19
- { inputs: [], name: 'InvalidCapRange', type: 'error' },
20
- { inputs: [], name: 'InvalidData', type: 'error' },
21
- { inputs: [], name: 'InvalidInitialization', type: 'error' },
22
- { inputs: [], name: 'InvalidInput', type: 'error' },
23
- { inputs: [], name: 'InvalidRecipient', type: 'error' },
24
- { inputs: [], name: 'InvalidTxType', type: 'error' },
25
- { inputs: [], name: 'NotInitializing', type: 'error' },
26
- { inputs: [], name: 'NotSupported', type: 'error' },
27
- { inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
28
81
  {
29
- inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
30
- name: 'SafeERC20FailedOperation',
31
- type: 'error',
82
+ "inputs": [],
83
+ "name": "NotSupported",
84
+ "type": "error"
32
85
  },
33
- { inputs: [], name: 'SlippageExceededOrExpired', type: 'error' },
34
- { inputs: [], name: 'WithdrawFailed', type: 'error' },
35
- { inputs: [], name: 'ZeroAddress', type: 'error' },
36
86
  {
37
- anonymous: false,
38
- inputs: [
87
+ "inputs": [],
88
+ "name": "PayloadExecuted",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ReentrancyGuardReentrantCall",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [
39
98
  {
40
- indexed: false,
41
- internalType: 'uint256',
42
- name: 'minCapUsd',
43
- type: 'uint256',
44
- },
99
+ "internalType": "address",
100
+ "name": "token",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "name": "SafeERC20FailedOperation",
105
+ "type": "error"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "SlippageExceededOrExpired",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [],
114
+ "name": "WithdrawFailed",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "ZeroAddress",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "anonymous": false,
124
+ "inputs": [
45
125
  {
46
- indexed: false,
47
- internalType: 'uint256',
48
- name: 'maxCapUsd',
49
- type: 'uint256',
126
+ "indexed": false,
127
+ "internalType": "uint256",
128
+ "name": "minCapUsd",
129
+ "type": "uint256"
50
130
  },
131
+ {
132
+ "indexed": false,
133
+ "internalType": "uint256",
134
+ "name": "maxCapUsd",
135
+ "type": "uint256"
136
+ }
51
137
  ],
52
- name: 'CapsUpdated',
53
- type: 'event',
138
+ "name": "CapsUpdated",
139
+ "type": "event"
54
140
  },
55
141
  {
56
- anonymous: false,
57
- inputs: [
142
+ "anonymous": false,
143
+ "inputs": [
58
144
  {
59
- indexed: false,
60
- internalType: 'uint256',
61
- name: 'oldDuration',
62
- type: 'uint256',
145
+ "indexed": false,
146
+ "internalType": "uint256",
147
+ "name": "oldDuration",
148
+ "type": "uint256"
63
149
  },
64
150
  {
65
- indexed: false,
66
- internalType: 'uint256',
67
- name: 'newDuration',
68
- type: 'uint256',
69
- },
151
+ "indexed": false,
152
+ "internalType": "uint256",
153
+ "name": "newDuration",
154
+ "type": "uint256"
155
+ }
70
156
  ],
71
- name: 'EpochDurationUpdated',
72
- type: 'event',
157
+ "name": "EpochDurationUpdated",
158
+ "type": "event"
73
159
  },
74
160
  {
75
- anonymous: false,
76
- inputs: [
77
- { indexed: true, internalType: 'address', name: 'user', type: 'address' },
161
+ "anonymous": false,
162
+ "inputs": [
78
163
  {
79
- indexed: true,
80
- internalType: 'bytes32',
81
- name: 'transactionHash',
82
- type: 'bytes32',
164
+ "indexed": true,
165
+ "internalType": "address",
166
+ "name": "user",
167
+ "type": "address"
83
168
  },
84
169
  {
85
- components: [
86
- { internalType: 'uint256', name: 'amountInUSD', type: 'uint256' },
87
- { internalType: 'uint8', name: 'decimals', type: 'uint8' },
88
- ],
89
- indexed: false,
90
- internalType: 'struct UniversalGatewayV0.AmountInUSD',
91
- name: 'AmountInUSD',
92
- type: 'tuple',
170
+ "indexed": true,
171
+ "internalType": "bytes32",
172
+ "name": "transactionHash",
173
+ "type": "bytes32"
93
174
  },
175
+ {
176
+ "components": [
177
+ {
178
+ "internalType": "uint256",
179
+ "name": "amountInUSD",
180
+ "type": "uint256"
181
+ },
182
+ {
183
+ "internalType": "uint8",
184
+ "name": "decimals",
185
+ "type": "uint8"
186
+ }
187
+ ],
188
+ "indexed": false,
189
+ "internalType": "struct UniversalGatewayV0.AmountInUSD",
190
+ "name": "AmountInUSD",
191
+ "type": "tuple"
192
+ }
94
193
  ],
95
- name: 'FundsAdded',
96
- type: 'event',
194
+ "name": "FundsAdded",
195
+ "type": "event"
97
196
  },
98
197
  {
99
- anonymous: false,
100
- inputs: [
198
+ "anonymous": false,
199
+ "inputs": [
101
200
  {
102
- indexed: false,
103
- internalType: 'uint64',
104
- name: 'version',
105
- type: 'uint64',
106
- },
201
+ "indexed": false,
202
+ "internalType": "uint64",
203
+ "name": "version",
204
+ "type": "uint64"
205
+ }
107
206
  ],
108
- name: 'Initialized',
109
- type: 'event',
207
+ "name": "Initialized",
208
+ "type": "event"
110
209
  },
111
210
  {
112
- anonymous: false,
113
- inputs: [
211
+ "anonymous": false,
212
+ "inputs": [
114
213
  {
115
- indexed: false,
116
- internalType: 'address',
117
- name: 'account',
118
- type: 'address',
119
- },
214
+ "indexed": false,
215
+ "internalType": "address",
216
+ "name": "account",
217
+ "type": "address"
218
+ }
120
219
  ],
121
- name: 'Paused',
122
- type: 'event',
220
+ "name": "Paused",
221
+ "type": "event"
123
222
  },
124
223
  {
125
- anonymous: false,
126
- inputs: [
127
- { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
224
+ "anonymous": false,
225
+ "inputs": [
226
+ {
227
+ "indexed": true,
228
+ "internalType": "bytes32",
229
+ "name": "txID",
230
+ "type": "bytes32"
231
+ },
128
232
  {
129
- indexed: true,
130
- internalType: 'bytes32',
131
- name: 'previousAdminRole',
132
- type: 'bytes32',
233
+ "indexed": true,
234
+ "internalType": "address",
235
+ "name": "to",
236
+ "type": "address"
133
237
  },
134
238
  {
135
- indexed: true,
136
- internalType: 'bytes32',
137
- name: 'newAdminRole',
138
- type: 'bytes32',
239
+ "indexed": true,
240
+ "internalType": "address",
241
+ "name": "token",
242
+ "type": "address"
139
243
  },
244
+ {
245
+ "indexed": false,
246
+ "internalType": "uint256",
247
+ "name": "amount",
248
+ "type": "uint256"
249
+ },
250
+ {
251
+ "components": [
252
+ {
253
+ "internalType": "address",
254
+ "name": "fundRecipient",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "internalType": "bytes",
259
+ "name": "revertMsg",
260
+ "type": "bytes"
261
+ }
262
+ ],
263
+ "indexed": false,
264
+ "internalType": "struct RevertInstructions",
265
+ "name": "revertInstruction",
266
+ "type": "tuple"
267
+ }
140
268
  ],
141
- name: 'RoleAdminChanged',
142
- type: 'event',
269
+ "name": "RevertUniversalTx",
270
+ "type": "event"
143
271
  },
144
272
  {
145
- anonymous: false,
146
- inputs: [
147
- { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
273
+ "anonymous": false,
274
+ "inputs": [
148
275
  {
149
- indexed: true,
150
- internalType: 'address',
151
- name: 'account',
152
- type: 'address',
276
+ "indexed": true,
277
+ "internalType": "bytes32",
278
+ "name": "role",
279
+ "type": "bytes32"
153
280
  },
154
281
  {
155
- indexed: true,
156
- internalType: 'address',
157
- name: 'sender',
158
- type: 'address',
282
+ "indexed": true,
283
+ "internalType": "bytes32",
284
+ "name": "previousAdminRole",
285
+ "type": "bytes32"
159
286
  },
287
+ {
288
+ "indexed": true,
289
+ "internalType": "bytes32",
290
+ "name": "newAdminRole",
291
+ "type": "bytes32"
292
+ }
160
293
  ],
161
- name: 'RoleGranted',
162
- type: 'event',
294
+ "name": "RoleAdminChanged",
295
+ "type": "event"
163
296
  },
164
297
  {
165
- anonymous: false,
166
- inputs: [
167
- { indexed: true, internalType: 'bytes32', name: 'role', type: 'bytes32' },
298
+ "anonymous": false,
299
+ "inputs": [
168
300
  {
169
- indexed: true,
170
- internalType: 'address',
171
- name: 'account',
172
- type: 'address',
301
+ "indexed": true,
302
+ "internalType": "bytes32",
303
+ "name": "role",
304
+ "type": "bytes32"
173
305
  },
174
306
  {
175
- indexed: true,
176
- internalType: 'address',
177
- name: 'sender',
178
- type: 'address',
307
+ "indexed": true,
308
+ "internalType": "address",
309
+ "name": "account",
310
+ "type": "address"
179
311
  },
312
+ {
313
+ "indexed": true,
314
+ "internalType": "address",
315
+ "name": "sender",
316
+ "type": "address"
317
+ }
180
318
  ],
181
- name: 'RoleRevoked',
182
- type: 'event',
319
+ "name": "RoleGranted",
320
+ "type": "event"
183
321
  },
184
322
  {
185
- anonymous: false,
186
- inputs: [
323
+ "anonymous": false,
324
+ "inputs": [
187
325
  {
188
- indexed: true,
189
- internalType: 'address',
190
- name: 'token',
191
- type: 'address',
326
+ "indexed": true,
327
+ "internalType": "bytes32",
328
+ "name": "role",
329
+ "type": "bytes32"
192
330
  },
193
331
  {
194
- indexed: false,
195
- internalType: 'uint256',
196
- name: 'newThreshold',
197
- type: 'uint256',
332
+ "indexed": true,
333
+ "internalType": "address",
334
+ "name": "account",
335
+ "type": "address"
198
336
  },
337
+ {
338
+ "indexed": true,
339
+ "internalType": "address",
340
+ "name": "sender",
341
+ "type": "address"
342
+ }
199
343
  ],
200
- name: 'TokenLimitThresholdUpdated',
201
- type: 'event',
344
+ "name": "RoleRevoked",
345
+ "type": "event"
202
346
  },
203
347
  {
204
- anonymous: false,
205
- inputs: [
348
+ "anonymous": false,
349
+ "inputs": [
206
350
  {
207
- indexed: true,
208
- internalType: 'address',
209
- name: 'sender',
210
- type: 'address',
351
+ "indexed": true,
352
+ "internalType": "address",
353
+ "name": "token",
354
+ "type": "address"
211
355
  },
212
356
  {
213
- indexed: true,
214
- internalType: 'address',
215
- name: 'recipient',
216
- type: 'address',
357
+ "indexed": false,
358
+ "internalType": "uint256",
359
+ "name": "newThreshold",
360
+ "type": "uint256"
361
+ }
362
+ ],
363
+ "name": "TokenLimitThresholdUpdated",
364
+ "type": "event"
365
+ },
366
+ {
367
+ "anonymous": false,
368
+ "inputs": [
369
+ {
370
+ "indexed": true,
371
+ "internalType": "address",
372
+ "name": "sender",
373
+ "type": "address"
217
374
  },
218
375
  {
219
- indexed: false,
220
- internalType: 'address',
221
- name: 'token',
222
- type: 'address',
376
+ "indexed": true,
377
+ "internalType": "address",
378
+ "name": "recipient",
379
+ "type": "address"
223
380
  },
224
381
  {
225
- indexed: false,
226
- internalType: 'uint256',
227
- name: 'amount',
228
- type: 'uint256',
382
+ "indexed": false,
383
+ "internalType": "address",
384
+ "name": "token",
385
+ "type": "address"
229
386
  },
230
- { indexed: false, internalType: 'bytes', name: 'payload', type: 'bytes' },
231
387
  {
232
- components: [
233
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
234
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
235
- ],
236
- indexed: false,
237
- internalType: 'struct RevertInstructions',
238
- name: 'revertInstruction',
239
- type: 'tuple',
388
+ "indexed": false,
389
+ "internalType": "uint256",
390
+ "name": "amount",
391
+ "type": "uint256"
392
+ },
393
+ {
394
+ "indexed": false,
395
+ "internalType": "bytes",
396
+ "name": "payload",
397
+ "type": "bytes"
240
398
  },
241
399
  {
242
- indexed: false,
243
- internalType: 'enum TX_TYPE',
244
- name: 'txType',
245
- type: 'uint8',
400
+ "components": [
401
+ {
402
+ "internalType": "address",
403
+ "name": "fundRecipient",
404
+ "type": "address"
405
+ },
406
+ {
407
+ "internalType": "bytes",
408
+ "name": "revertMsg",
409
+ "type": "bytes"
410
+ }
411
+ ],
412
+ "indexed": false,
413
+ "internalType": "struct RevertInstructions",
414
+ "name": "revertInstruction",
415
+ "type": "tuple"
246
416
  },
247
417
  {
248
- indexed: false,
249
- internalType: 'bytes',
250
- name: 'signatureData',
251
- type: 'bytes',
418
+ "indexed": false,
419
+ "internalType": "enum TX_TYPE",
420
+ "name": "txType",
421
+ "type": "uint8"
252
422
  },
423
+ {
424
+ "indexed": false,
425
+ "internalType": "bytes",
426
+ "name": "signatureData",
427
+ "type": "bytes"
428
+ }
253
429
  ],
254
- name: 'UniversalTx',
255
- type: 'event',
430
+ "name": "UniversalTx",
431
+ "type": "event"
256
432
  },
257
433
  {
258
- anonymous: false,
259
- inputs: [
434
+ "anonymous": false,
435
+ "inputs": [
260
436
  {
261
- indexed: false,
262
- internalType: 'address',
263
- name: 'account',
264
- type: 'address',
265
- },
437
+ "indexed": false,
438
+ "internalType": "address",
439
+ "name": "account",
440
+ "type": "address"
441
+ }
266
442
  ],
267
- name: 'Unpaused',
268
- type: 'event',
443
+ "name": "Unpaused",
444
+ "type": "event"
269
445
  },
270
446
  {
271
- anonymous: false,
272
- inputs: [
447
+ "anonymous": false,
448
+ "inputs": [
449
+ {
450
+ "indexed": true,
451
+ "internalType": "bytes32",
452
+ "name": "txID",
453
+ "type": "bytes32"
454
+ },
273
455
  {
274
- indexed: true,
275
- internalType: 'address',
276
- name: 'recipient',
277
- type: 'address',
456
+ "indexed": true,
457
+ "internalType": "address",
458
+ "name": "originCaller",
459
+ "type": "address"
278
460
  },
279
461
  {
280
- indexed: false,
281
- internalType: 'uint256',
282
- name: 'amount',
283
- type: 'uint256',
462
+ "indexed": true,
463
+ "internalType": "address",
464
+ "name": "token",
465
+ "type": "address"
284
466
  },
285
467
  {
286
- indexed: false,
287
- internalType: 'address',
288
- name: 'tokenAddress',
289
- type: 'address',
468
+ "indexed": false,
469
+ "internalType": "address",
470
+ "name": "to",
471
+ "type": "address"
290
472
  },
473
+ {
474
+ "indexed": false,
475
+ "internalType": "uint256",
476
+ "name": "amount",
477
+ "type": "uint256"
478
+ }
291
479
  ],
292
- name: 'WithdrawFunds',
293
- type: 'event',
480
+ "name": "WithdrawToken",
481
+ "type": "event"
294
482
  },
295
483
  {
296
- inputs: [],
297
- name: 'BLOCK_USD_CAP',
298
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
299
- stateMutability: 'view',
300
- type: 'function',
484
+ "inputs": [],
485
+ "name": "BLOCK_USD_CAP",
486
+ "outputs": [
487
+ {
488
+ "internalType": "uint256",
489
+ "name": "",
490
+ "type": "uint256"
491
+ }
492
+ ],
493
+ "stateMutability": "view",
494
+ "type": "function"
301
495
  },
302
496
  {
303
- inputs: [],
304
- name: 'DEFAULT_ADMIN_ROLE',
305
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
306
- stateMutability: 'view',
307
- type: 'function',
497
+ "inputs": [],
498
+ "name": "DEFAULT_ADMIN_ROLE",
499
+ "outputs": [
500
+ {
501
+ "internalType": "bytes32",
502
+ "name": "",
503
+ "type": "bytes32"
504
+ }
505
+ ],
506
+ "stateMutability": "view",
507
+ "type": "function"
308
508
  },
309
509
  {
310
- inputs: [],
311
- name: 'MAX_CAP_UNIVERSAL_TX_USD',
312
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
313
- stateMutability: 'view',
314
- type: 'function',
510
+ "inputs": [],
511
+ "name": "MAX_CAP_UNIVERSAL_TX_USD",
512
+ "outputs": [
513
+ {
514
+ "internalType": "uint256",
515
+ "name": "",
516
+ "type": "uint256"
517
+ }
518
+ ],
519
+ "stateMutability": "view",
520
+ "type": "function"
315
521
  },
316
522
  {
317
- inputs: [],
318
- name: 'MIN_CAP_UNIVERSAL_TX_USD',
319
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
320
- stateMutability: 'view',
321
- type: 'function',
523
+ "inputs": [],
524
+ "name": "MIN_CAP_UNIVERSAL_TX_USD",
525
+ "outputs": [
526
+ {
527
+ "internalType": "uint256",
528
+ "name": "",
529
+ "type": "uint256"
530
+ }
531
+ ],
532
+ "stateMutability": "view",
533
+ "type": "function"
322
534
  },
323
535
  {
324
- inputs: [],
325
- name: 'PAUSER_ROLE',
326
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
327
- stateMutability: 'view',
328
- type: 'function',
536
+ "inputs": [],
537
+ "name": "PAUSER_ROLE",
538
+ "outputs": [
539
+ {
540
+ "internalType": "bytes32",
541
+ "name": "",
542
+ "type": "bytes32"
543
+ }
544
+ ],
545
+ "stateMutability": "view",
546
+ "type": "function"
329
547
  },
330
548
  {
331
- inputs: [],
332
- name: 'POOL_FEE',
333
- outputs: [{ internalType: 'uint24', name: '', type: 'uint24' }],
334
- stateMutability: 'view',
335
- type: 'function',
549
+ "inputs": [],
550
+ "name": "POOL_FEE",
551
+ "outputs": [
552
+ {
553
+ "internalType": "uint24",
554
+ "name": "",
555
+ "type": "uint24"
556
+ }
557
+ ],
558
+ "stateMutability": "view",
559
+ "type": "function"
336
560
  },
337
561
  {
338
- inputs: [],
339
- name: 'TSS_ADDRESS',
340
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
341
- stateMutability: 'view',
342
- type: 'function',
562
+ "inputs": [],
563
+ "name": "TSS_ADDRESS",
564
+ "outputs": [
565
+ {
566
+ "internalType": "address",
567
+ "name": "",
568
+ "type": "address"
569
+ }
570
+ ],
571
+ "stateMutability": "view",
572
+ "type": "function"
343
573
  },
344
574
  {
345
- inputs: [],
346
- name: 'TSS_ROLE',
347
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
348
- stateMutability: 'view',
349
- type: 'function',
575
+ "inputs": [],
576
+ "name": "TSS_ROLE",
577
+ "outputs": [
578
+ {
579
+ "internalType": "bytes32",
580
+ "name": "",
581
+ "type": "bytes32"
582
+ }
583
+ ],
584
+ "stateMutability": "view",
585
+ "type": "function"
350
586
  },
351
587
  {
352
- inputs: [],
353
- name: 'USDT',
354
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
355
- stateMutability: 'view',
356
- type: 'function',
588
+ "inputs": [],
589
+ "name": "USDT",
590
+ "outputs": [
591
+ {
592
+ "internalType": "address",
593
+ "name": "",
594
+ "type": "address"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
357
599
  },
358
600
  {
359
- inputs: [],
360
- name: 'WETH',
361
- outputs: [{ internalType: 'address', name: '', type: 'address' }],
362
- stateMutability: 'view',
363
- type: 'function',
601
+ "inputs": [],
602
+ "name": "WETH",
603
+ "outputs": [
604
+ {
605
+ "internalType": "address",
606
+ "name": "",
607
+ "type": "address"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
364
612
  },
365
613
  {
366
- inputs: [{ internalType: 'uint256', name: 'amountWei', type: 'uint256' }],
367
- name: '_checkBlockUSDCap',
368
- outputs: [],
369
- stateMutability: 'nonpayable',
370
- type: 'function',
614
+ "inputs": [
615
+ {
616
+ "internalType": "uint256",
617
+ "name": "amount",
618
+ "type": "uint256"
619
+ }
620
+ ],
621
+ "name": "_checkUSDCaps",
622
+ "outputs": [],
623
+ "stateMutability": "view",
624
+ "type": "function"
371
625
  },
372
626
  {
373
- inputs: [{ internalType: 'uint256', name: 'amount', type: 'uint256' }],
374
- name: '_checkUSDCaps',
375
- outputs: [],
376
- stateMutability: 'view',
377
- type: 'function',
627
+ "inputs": [
628
+ {
629
+ "internalType": "address",
630
+ "name": "",
631
+ "type": "address"
632
+ }
633
+ ],
634
+ "name": "_isSupportedToken",
635
+ "outputs": [
636
+ {
637
+ "internalType": "bool",
638
+ "name": "",
639
+ "type": "bool"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
378
644
  },
379
645
  {
380
- inputs: [
381
- { internalType: 'bytes32', name: '_transactionHash', type: 'bytes32' },
646
+ "inputs": [
647
+ {
648
+ "internalType": "bytes32",
649
+ "name": "_transactionHash",
650
+ "type": "bytes32"
651
+ }
382
652
  ],
383
- name: 'addFunds',
384
- outputs: [],
385
- stateMutability: 'payable',
386
- type: 'function',
653
+ "name": "addFunds",
654
+ "outputs": [],
655
+ "stateMutability": "payable",
656
+ "type": "function"
387
657
  },
388
658
  {
389
- inputs: [],
390
- name: 'chainlinkEthUsdDecimals',
391
- outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
392
- stateMutability: 'view',
393
- type: 'function',
659
+ "inputs": [],
660
+ "name": "chainlinkEthUsdDecimals",
661
+ "outputs": [
662
+ {
663
+ "internalType": "uint8",
664
+ "name": "",
665
+ "type": "uint8"
666
+ }
667
+ ],
668
+ "stateMutability": "view",
669
+ "type": "function"
394
670
  },
395
671
  {
396
- inputs: [],
397
- name: 'chainlinkStalePeriod',
398
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
399
- stateMutability: 'view',
400
- type: 'function',
672
+ "inputs": [],
673
+ "name": "chainlinkStalePeriod",
674
+ "outputs": [
675
+ {
676
+ "internalType": "uint256",
677
+ "name": "",
678
+ "type": "uint256"
679
+ }
680
+ ],
681
+ "stateMutability": "view",
682
+ "type": "function"
401
683
  },
402
684
  {
403
- inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
404
- name: 'currentTokenUsage',
405
- outputs: [
406
- { internalType: 'uint256', name: 'used', type: 'uint256' },
407
- { internalType: 'uint256', name: 'remaining', type: 'uint256' },
685
+ "inputs": [],
686
+ "name": "defaultSwapDeadlineSec",
687
+ "outputs": [
688
+ {
689
+ "internalType": "uint256",
690
+ "name": "",
691
+ "type": "uint256"
692
+ }
408
693
  ],
409
- stateMutability: 'view',
410
- type: 'function',
694
+ "stateMutability": "view",
695
+ "type": "function"
411
696
  },
412
697
  {
413
- inputs: [],
414
- name: 'defaultSwapDeadlineSec',
415
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
416
- stateMutability: 'view',
417
- type: 'function',
698
+ "inputs": [],
699
+ "name": "epochDurationSec",
700
+ "outputs": [
701
+ {
702
+ "internalType": "uint256",
703
+ "name": "",
704
+ "type": "uint256"
705
+ }
706
+ ],
707
+ "stateMutability": "view",
708
+ "type": "function"
418
709
  },
419
710
  {
420
- inputs: [],
421
- name: 'epochDurationSec',
422
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
423
- stateMutability: 'view',
424
- type: 'function',
711
+ "inputs": [],
712
+ "name": "ethUsdFeed",
713
+ "outputs": [
714
+ {
715
+ "internalType": "contract AggregatorV3Interface",
716
+ "name": "",
717
+ "type": "address"
718
+ }
719
+ ],
720
+ "stateMutability": "view",
721
+ "type": "function"
425
722
  },
426
723
  {
427
- inputs: [],
428
- name: 'ethUsdFeed',
429
- outputs: [
724
+ "inputs": [],
725
+ "name": "getEthUsdPrice",
726
+ "outputs": [
430
727
  {
431
- internalType: 'contract AggregatorV3Interface',
432
- name: '',
433
- type: 'address',
728
+ "internalType": "uint256",
729
+ "name": "",
730
+ "type": "uint256"
434
731
  },
732
+ {
733
+ "internalType": "uint8",
734
+ "name": "",
735
+ "type": "uint8"
736
+ }
435
737
  ],
436
- stateMutability: 'view',
437
- type: 'function',
738
+ "stateMutability": "view",
739
+ "type": "function"
438
740
  },
439
741
  {
440
- inputs: [],
441
- name: 'getEthUsdPrice',
442
- outputs: [
443
- { internalType: 'uint256', name: '', type: 'uint256' },
444
- { internalType: 'uint8', name: '', type: 'uint8' },
742
+ "inputs": [],
743
+ "name": "getEthUsdPrice_old",
744
+ "outputs": [
745
+ {
746
+ "internalType": "uint256",
747
+ "name": "",
748
+ "type": "uint256"
749
+ },
750
+ {
751
+ "internalType": "uint8",
752
+ "name": "",
753
+ "type": "uint8"
754
+ }
445
755
  ],
446
- stateMutability: 'view',
447
- type: 'function',
756
+ "stateMutability": "view",
757
+ "type": "function"
448
758
  },
449
759
  {
450
- inputs: [],
451
- name: 'getEthUsdPrice_old',
452
- outputs: [
453
- { internalType: 'uint256', name: '', type: 'uint256' },
454
- { internalType: 'uint8', name: '', type: 'uint8' },
760
+ "inputs": [],
761
+ "name": "getMinMaxValueForNative",
762
+ "outputs": [
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "minValue",
766
+ "type": "uint256"
767
+ },
768
+ {
769
+ "internalType": "uint256",
770
+ "name": "maxValue",
771
+ "type": "uint256"
772
+ }
455
773
  ],
456
- stateMutability: 'view',
457
- type: 'function',
774
+ "stateMutability": "view",
775
+ "type": "function"
458
776
  },
459
777
  {
460
- inputs: [],
461
- name: 'getMinMaxValueForNative',
462
- outputs: [
463
- { internalType: 'uint256', name: 'minValue', type: 'uint256' },
464
- { internalType: 'uint256', name: 'maxValue', type: 'uint256' },
778
+ "inputs": [
779
+ {
780
+ "internalType": "bytes32",
781
+ "name": "role",
782
+ "type": "bytes32"
783
+ }
465
784
  ],
466
- stateMutability: 'view',
467
- type: 'function',
785
+ "name": "getRoleAdmin",
786
+ "outputs": [
787
+ {
788
+ "internalType": "bytes32",
789
+ "name": "",
790
+ "type": "bytes32"
791
+ }
792
+ ],
793
+ "stateMutability": "view",
794
+ "type": "function"
468
795
  },
469
796
  {
470
- inputs: [{ internalType: 'bytes32', name: 'role', type: 'bytes32' }],
471
- name: 'getRoleAdmin',
472
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
473
- stateMutability: 'view',
474
- type: 'function',
797
+ "inputs": [
798
+ {
799
+ "internalType": "bytes32",
800
+ "name": "role",
801
+ "type": "bytes32"
802
+ },
803
+ {
804
+ "internalType": "address",
805
+ "name": "account",
806
+ "type": "address"
807
+ }
808
+ ],
809
+ "name": "grantRole",
810
+ "outputs": [],
811
+ "stateMutability": "nonpayable",
812
+ "type": "function"
475
813
  },
476
814
  {
477
- inputs: [
478
- { internalType: 'bytes32', name: 'role', type: 'bytes32' },
479
- { internalType: 'address', name: 'account', type: 'address' },
815
+ "inputs": [
816
+ {
817
+ "internalType": "bytes32",
818
+ "name": "role",
819
+ "type": "bytes32"
820
+ },
821
+ {
822
+ "internalType": "address",
823
+ "name": "account",
824
+ "type": "address"
825
+ }
480
826
  ],
481
- name: 'grantRole',
482
- outputs: [],
483
- stateMutability: 'nonpayable',
484
- type: 'function',
827
+ "name": "hasRole",
828
+ "outputs": [
829
+ {
830
+ "internalType": "bool",
831
+ "name": "",
832
+ "type": "bool"
833
+ }
834
+ ],
835
+ "stateMutability": "view",
836
+ "type": "function"
485
837
  },
486
838
  {
487
- inputs: [
488
- { internalType: 'bytes32', name: 'role', type: 'bytes32' },
489
- { internalType: 'address', name: 'account', type: 'address' },
839
+ "inputs": [
840
+ {
841
+ "internalType": "bytes32",
842
+ "name": "",
843
+ "type": "bytes32"
844
+ }
845
+ ],
846
+ "name": "isExecuted",
847
+ "outputs": [
848
+ {
849
+ "internalType": "bool",
850
+ "name": "",
851
+ "type": "bool"
852
+ }
490
853
  ],
491
- name: 'hasRole',
492
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
493
- stateMutability: 'view',
494
- type: 'function',
854
+ "stateMutability": "view",
855
+ "type": "function"
495
856
  },
496
857
  {
497
- inputs: [
498
- { internalType: 'address', name: 'admin', type: 'address' },
499
- { internalType: 'address', name: 'pauser', type: 'address' },
500
- { internalType: 'address', name: 'tss', type: 'address' },
501
- { internalType: 'uint256', name: 'minCapUsd', type: 'uint256' },
502
- { internalType: 'uint256', name: 'maxCapUsd', type: 'uint256' },
503
- { internalType: 'address', name: 'factory', type: 'address' },
504
- { internalType: 'address', name: 'router', type: 'address' },
505
- { internalType: 'address', name: '_wethAddress', type: 'address' },
506
- { internalType: 'address', name: '_usdtAddress', type: 'address' },
507
- { internalType: 'address', name: '_usdtUsdPriceFeed', type: 'address' },
508
- { internalType: 'address', name: '_ethUsdPriceFeed', type: 'address' },
858
+ "inputs": [
859
+ {
860
+ "internalType": "address",
861
+ "name": "token",
862
+ "type": "address"
863
+ }
864
+ ],
865
+ "name": "isSupportedToken",
866
+ "outputs": [
867
+ {
868
+ "internalType": "bool",
869
+ "name": "",
870
+ "type": "bool"
871
+ }
509
872
  ],
510
- name: 'initialize',
511
- outputs: [],
512
- stateMutability: 'nonpayable',
513
- type: 'function',
873
+ "stateMutability": "view",
874
+ "type": "function"
514
875
  },
515
876
  {
516
- inputs: [{ internalType: 'address', name: '', type: 'address' }],
517
- name: 'isSupportedToken',
518
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
519
- stateMutability: 'view',
520
- type: 'function',
877
+ "inputs": [],
878
+ "name": "l2SequencerFeed",
879
+ "outputs": [
880
+ {
881
+ "internalType": "contract AggregatorV3Interface",
882
+ "name": "",
883
+ "type": "address"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
521
888
  },
522
889
  {
523
- inputs: [],
524
- name: 'l2SequencerFeed',
525
- outputs: [
890
+ "inputs": [],
891
+ "name": "l2SequencerGracePeriodSec",
892
+ "outputs": [
526
893
  {
527
- internalType: 'contract AggregatorV3Interface',
528
- name: '',
529
- type: 'address',
530
- },
894
+ "internalType": "uint256",
895
+ "name": "",
896
+ "type": "uint256"
897
+ }
531
898
  ],
532
- stateMutability: 'view',
533
- type: 'function',
899
+ "stateMutability": "view",
900
+ "type": "function"
534
901
  },
535
902
  {
536
- inputs: [],
537
- name: 'l2SequencerGracePeriodSec',
538
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
539
- stateMutability: 'view',
540
- type: 'function',
903
+ "inputs": [],
904
+ "name": "pause",
905
+ "outputs": [],
906
+ "stateMutability": "nonpayable",
907
+ "type": "function"
541
908
  },
542
909
  {
543
- inputs: [
544
- { internalType: 'address[]', name: 'tokens', type: 'address[]' },
545
- { internalType: 'bool[]', name: 'isSupported', type: 'bool[]' },
910
+ "inputs": [],
911
+ "name": "paused",
912
+ "outputs": [
913
+ {
914
+ "internalType": "bool",
915
+ "name": "",
916
+ "type": "bool"
917
+ }
546
918
  ],
547
- name: 'modifySupportForToken',
548
- outputs: [],
549
- stateMutability: 'nonpayable',
550
- type: 'function',
551
- },
552
- {
553
- inputs: [],
554
- name: 'pause',
555
- outputs: [],
556
- stateMutability: 'nonpayable',
557
- type: 'function',
919
+ "stateMutability": "view",
920
+ "type": "function"
558
921
  },
559
922
  {
560
- inputs: [],
561
- name: 'paused',
562
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
563
- stateMutability: 'view',
564
- type: 'function',
923
+ "inputs": [
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "amountWei",
927
+ "type": "uint256"
928
+ }
929
+ ],
930
+ "name": "quoteEthAmountInUsd1e18",
931
+ "outputs": [
932
+ {
933
+ "internalType": "uint256",
934
+ "name": "usd1e18",
935
+ "type": "uint256"
936
+ }
937
+ ],
938
+ "stateMutability": "view",
939
+ "type": "function"
565
940
  },
566
941
  {
567
- inputs: [{ internalType: 'uint256', name: 'amountWei', type: 'uint256' }],
568
- name: 'quoteEthAmountInUsd1e18',
569
- outputs: [{ internalType: 'uint256', name: 'usd1e18', type: 'uint256' }],
570
- stateMutability: 'view',
571
- type: 'function',
942
+ "inputs": [
943
+ {
944
+ "internalType": "bytes32",
945
+ "name": "role",
946
+ "type": "bytes32"
947
+ },
948
+ {
949
+ "internalType": "address",
950
+ "name": "callerConfirmation",
951
+ "type": "address"
952
+ }
953
+ ],
954
+ "name": "renounceRole",
955
+ "outputs": [],
956
+ "stateMutability": "nonpayable",
957
+ "type": "function"
572
958
  },
573
959
  {
574
- inputs: [
575
- { internalType: 'bytes32', name: 'role', type: 'bytes32' },
576
- { internalType: 'address', name: 'callerConfirmation', type: 'address' },
960
+ "inputs": [
961
+ {
962
+ "internalType": "bytes32",
963
+ "name": "txID",
964
+ "type": "bytes32"
965
+ },
966
+ {
967
+ "internalType": "uint256",
968
+ "name": "amount",
969
+ "type": "uint256"
970
+ },
971
+ {
972
+ "components": [
973
+ {
974
+ "internalType": "address",
975
+ "name": "fundRecipient",
976
+ "type": "address"
977
+ },
978
+ {
979
+ "internalType": "bytes",
980
+ "name": "revertMsg",
981
+ "type": "bytes"
982
+ }
983
+ ],
984
+ "internalType": "struct RevertInstructions",
985
+ "name": "revertInstruction",
986
+ "type": "tuple"
987
+ }
577
988
  ],
578
- name: 'renounceRole',
579
- outputs: [],
580
- stateMutability: 'nonpayable',
581
- type: 'function',
989
+ "name": "revertUniversalTx",
990
+ "outputs": [],
991
+ "stateMutability": "payable",
992
+ "type": "function"
582
993
  },
583
994
  {
584
- inputs: [
585
- { internalType: 'address', name: 'token', type: 'address' },
586
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
995
+ "inputs": [
587
996
  {
588
- components: [
589
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
590
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
591
- ],
592
- internalType: 'struct RevertInstructions',
593
- name: 'revertInstruction',
594
- type: 'tuple',
997
+ "internalType": "bytes32",
998
+ "name": "txID",
999
+ "type": "bytes32"
1000
+ },
1001
+ {
1002
+ "internalType": "address",
1003
+ "name": "token",
1004
+ "type": "address"
595
1005
  },
1006
+ {
1007
+ "internalType": "uint256",
1008
+ "name": "amount",
1009
+ "type": "uint256"
1010
+ },
1011
+ {
1012
+ "components": [
1013
+ {
1014
+ "internalType": "address",
1015
+ "name": "fundRecipient",
1016
+ "type": "address"
1017
+ },
1018
+ {
1019
+ "internalType": "bytes",
1020
+ "name": "revertMsg",
1021
+ "type": "bytes"
1022
+ }
1023
+ ],
1024
+ "internalType": "struct RevertInstructions",
1025
+ "name": "revertInstruction",
1026
+ "type": "tuple"
1027
+ }
596
1028
  ],
597
- name: 'revertWithdrawFunds',
598
- outputs: [],
599
- stateMutability: 'nonpayable',
600
- type: 'function',
1029
+ "name": "revertUniversalTxToken",
1030
+ "outputs": [],
1031
+ "stateMutability": "nonpayable",
1032
+ "type": "function"
601
1033
  },
602
1034
  {
603
- inputs: [
604
- { internalType: 'bytes32', name: 'role', type: 'bytes32' },
605
- { internalType: 'address', name: 'account', type: 'address' },
1035
+ "inputs": [
1036
+ {
1037
+ "internalType": "bytes32",
1038
+ "name": "role",
1039
+ "type": "bytes32"
1040
+ },
1041
+ {
1042
+ "internalType": "address",
1043
+ "name": "account",
1044
+ "type": "address"
1045
+ }
606
1046
  ],
607
- name: 'revokeRole',
608
- outputs: [],
609
- stateMutability: 'nonpayable',
610
- type: 'function',
1047
+ "name": "revokeRole",
1048
+ "outputs": [],
1049
+ "stateMutability": "nonpayable",
1050
+ "type": "function"
611
1051
  },
612
1052
  {
613
- inputs: [
614
- { internalType: 'address', name: 'recipient', type: 'address' },
615
- { internalType: 'address', name: 'bridgeToken', type: 'address' },
616
- { internalType: 'uint256', name: 'bridgeAmount', type: 'uint256' },
1053
+ "inputs": [
617
1054
  {
618
- components: [
619
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
620
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
621
- ],
622
- internalType: 'struct RevertInstructions',
623
- name: 'revertInstruction',
624
- type: 'tuple',
1055
+ "internalType": "address",
1056
+ "name": "recipient",
1057
+ "type": "address"
625
1058
  },
1059
+ {
1060
+ "internalType": "address",
1061
+ "name": "bridgeToken",
1062
+ "type": "address"
1063
+ },
1064
+ {
1065
+ "internalType": "uint256",
1066
+ "name": "bridgeAmount",
1067
+ "type": "uint256"
1068
+ },
1069
+ {
1070
+ "components": [
1071
+ {
1072
+ "internalType": "address",
1073
+ "name": "fundRecipient",
1074
+ "type": "address"
1075
+ },
1076
+ {
1077
+ "internalType": "bytes",
1078
+ "name": "revertMsg",
1079
+ "type": "bytes"
1080
+ }
1081
+ ],
1082
+ "internalType": "struct RevertInstructions",
1083
+ "name": "revertInstruction",
1084
+ "type": "tuple"
1085
+ }
626
1086
  ],
627
- name: 'sendFunds',
628
- outputs: [],
629
- stateMutability: 'payable',
630
- type: 'function',
1087
+ "name": "sendFunds",
1088
+ "outputs": [],
1089
+ "stateMutability": "payable",
1090
+ "type": "function"
631
1091
  },
632
1092
  {
633
- inputs: [
634
- { internalType: 'address', name: 'bridgeToken', type: 'address' },
635
- { internalType: 'uint256', name: 'bridgeAmount', type: 'uint256' },
636
- { internalType: 'address', name: 'gasToken', type: 'address' },
637
- { internalType: 'uint256', name: 'gasAmount', type: 'uint256' },
638
- { internalType: 'uint256', name: 'amountOutMinETH', type: 'uint256' },
639
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
1093
+ "inputs": [
640
1094
  {
641
- components: [
642
- { internalType: 'address', name: 'to', type: 'address' },
643
- { internalType: 'uint256', name: 'value', type: 'uint256' },
644
- { internalType: 'bytes', name: 'data', type: 'bytes' },
645
- { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
646
- { internalType: 'uint256', name: 'maxFeePerGas', type: 'uint256' },
1095
+ "internalType": "address",
1096
+ "name": "bridgeToken",
1097
+ "type": "address"
1098
+ },
1099
+ {
1100
+ "internalType": "uint256",
1101
+ "name": "bridgeAmount",
1102
+ "type": "uint256"
1103
+ },
1104
+ {
1105
+ "internalType": "address",
1106
+ "name": "gasToken",
1107
+ "type": "address"
1108
+ },
1109
+ {
1110
+ "internalType": "uint256",
1111
+ "name": "gasAmount",
1112
+ "type": "uint256"
1113
+ },
1114
+ {
1115
+ "internalType": "uint256",
1116
+ "name": "amountOutMinETH",
1117
+ "type": "uint256"
1118
+ },
1119
+ {
1120
+ "internalType": "uint256",
1121
+ "name": "deadline",
1122
+ "type": "uint256"
1123
+ },
1124
+ {
1125
+ "components": [
1126
+ {
1127
+ "internalType": "address",
1128
+ "name": "to",
1129
+ "type": "address"
1130
+ },
1131
+ {
1132
+ "internalType": "uint256",
1133
+ "name": "value",
1134
+ "type": "uint256"
1135
+ },
1136
+ {
1137
+ "internalType": "bytes",
1138
+ "name": "data",
1139
+ "type": "bytes"
1140
+ },
1141
+ {
1142
+ "internalType": "uint256",
1143
+ "name": "gasLimit",
1144
+ "type": "uint256"
1145
+ },
647
1146
  {
648
- internalType: 'uint256',
649
- name: 'maxPriorityFeePerGas',
650
- type: 'uint256',
1147
+ "internalType": "uint256",
1148
+ "name": "maxFeePerGas",
1149
+ "type": "uint256"
651
1150
  },
652
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
653
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
654
1151
  {
655
- internalType: 'enum VerificationType',
656
- name: 'vType',
657
- type: 'uint8',
1152
+ "internalType": "uint256",
1153
+ "name": "maxPriorityFeePerGas",
1154
+ "type": "uint256"
658
1155
  },
1156
+ {
1157
+ "internalType": "uint256",
1158
+ "name": "nonce",
1159
+ "type": "uint256"
1160
+ },
1161
+ {
1162
+ "internalType": "uint256",
1163
+ "name": "deadline",
1164
+ "type": "uint256"
1165
+ },
1166
+ {
1167
+ "internalType": "enum VerificationType",
1168
+ "name": "vType",
1169
+ "type": "uint8"
1170
+ }
659
1171
  ],
660
- internalType: 'struct UniversalPayload',
661
- name: 'payload',
662
- type: 'tuple',
1172
+ "internalType": "struct UniversalPayload",
1173
+ "name": "payload",
1174
+ "type": "tuple"
663
1175
  },
664
1176
  {
665
- components: [
666
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
667
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
1177
+ "components": [
1178
+ {
1179
+ "internalType": "address",
1180
+ "name": "fundRecipient",
1181
+ "type": "address"
1182
+ },
1183
+ {
1184
+ "internalType": "bytes",
1185
+ "name": "revertMsg",
1186
+ "type": "bytes"
1187
+ }
668
1188
  ],
669
- internalType: 'struct RevertInstructions',
670
- name: 'revertInstruction',
671
- type: 'tuple',
1189
+ "internalType": "struct RevertInstructions",
1190
+ "name": "revertInstruction",
1191
+ "type": "tuple"
672
1192
  },
673
- { internalType: 'bytes', name: 'signatureData', type: 'bytes' },
1193
+ {
1194
+ "internalType": "bytes",
1195
+ "name": "signatureData",
1196
+ "type": "bytes"
1197
+ }
674
1198
  ],
675
- name: 'sendTxWithFunds',
676
- outputs: [],
677
- stateMutability: 'nonpayable',
678
- type: 'function',
1199
+ "name": "sendTxWithFunds",
1200
+ "outputs": [],
1201
+ "stateMutability": "nonpayable",
1202
+ "type": "function"
679
1203
  },
680
1204
  {
681
- inputs: [
682
- { internalType: 'address', name: 'bridgeToken', type: 'address' },
683
- { internalType: 'uint256', name: 'bridgeAmount', type: 'uint256' },
1205
+ "inputs": [
1206
+ {
1207
+ "internalType": "address",
1208
+ "name": "bridgeToken",
1209
+ "type": "address"
1210
+ },
1211
+ {
1212
+ "internalType": "uint256",
1213
+ "name": "bridgeAmount",
1214
+ "type": "uint256"
1215
+ },
684
1216
  {
685
- components: [
686
- { internalType: 'address', name: 'to', type: 'address' },
687
- { internalType: 'uint256', name: 'value', type: 'uint256' },
688
- { internalType: 'bytes', name: 'data', type: 'bytes' },
689
- { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
690
- { internalType: 'uint256', name: 'maxFeePerGas', type: 'uint256' },
1217
+ "components": [
691
1218
  {
692
- internalType: 'uint256',
693
- name: 'maxPriorityFeePerGas',
694
- type: 'uint256',
1219
+ "internalType": "address",
1220
+ "name": "to",
1221
+ "type": "address"
695
1222
  },
696
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
697
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
698
1223
  {
699
- internalType: 'enum VerificationType',
700
- name: 'vType',
701
- type: 'uint8',
1224
+ "internalType": "uint256",
1225
+ "name": "value",
1226
+ "type": "uint256"
702
1227
  },
1228
+ {
1229
+ "internalType": "bytes",
1230
+ "name": "data",
1231
+ "type": "bytes"
1232
+ },
1233
+ {
1234
+ "internalType": "uint256",
1235
+ "name": "gasLimit",
1236
+ "type": "uint256"
1237
+ },
1238
+ {
1239
+ "internalType": "uint256",
1240
+ "name": "maxFeePerGas",
1241
+ "type": "uint256"
1242
+ },
1243
+ {
1244
+ "internalType": "uint256",
1245
+ "name": "maxPriorityFeePerGas",
1246
+ "type": "uint256"
1247
+ },
1248
+ {
1249
+ "internalType": "uint256",
1250
+ "name": "nonce",
1251
+ "type": "uint256"
1252
+ },
1253
+ {
1254
+ "internalType": "uint256",
1255
+ "name": "deadline",
1256
+ "type": "uint256"
1257
+ },
1258
+ {
1259
+ "internalType": "enum VerificationType",
1260
+ "name": "vType",
1261
+ "type": "uint8"
1262
+ }
703
1263
  ],
704
- internalType: 'struct UniversalPayload',
705
- name: 'payload',
706
- type: 'tuple',
1264
+ "internalType": "struct UniversalPayload",
1265
+ "name": "payload",
1266
+ "type": "tuple"
707
1267
  },
708
1268
  {
709
- components: [
710
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
711
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
1269
+ "components": [
1270
+ {
1271
+ "internalType": "address",
1272
+ "name": "fundRecipient",
1273
+ "type": "address"
1274
+ },
1275
+ {
1276
+ "internalType": "bytes",
1277
+ "name": "revertMsg",
1278
+ "type": "bytes"
1279
+ }
712
1280
  ],
713
- internalType: 'struct RevertInstructions',
714
- name: 'revertInstruction',
715
- type: 'tuple',
1281
+ "internalType": "struct RevertInstructions",
1282
+ "name": "revertInstruction",
1283
+ "type": "tuple"
716
1284
  },
717
- { internalType: 'bytes', name: 'signatureData', type: 'bytes' },
1285
+ {
1286
+ "internalType": "bytes",
1287
+ "name": "signatureData",
1288
+ "type": "bytes"
1289
+ }
718
1290
  ],
719
- name: 'sendTxWithFunds',
720
- outputs: [],
721
- stateMutability: 'payable',
722
- type: 'function',
1291
+ "name": "sendTxWithFunds",
1292
+ "outputs": [],
1293
+ "stateMutability": "payable",
1294
+ "type": "function"
723
1295
  },
724
1296
  {
725
- inputs: [
726
- { internalType: 'address', name: 'bridgeToken', type: 'address' },
727
- { internalType: 'uint256', name: 'bridgeAmount', type: 'uint256' },
728
- { internalType: 'address', name: 'gasToken', type: 'address' },
729
- { internalType: 'uint256', name: 'gasAmount', type: 'uint256' },
730
- { internalType: 'uint256', name: 'amountOutMinETH', type: 'uint256' },
731
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
1297
+ "inputs": [
732
1298
  {
733
- components: [
734
- { internalType: 'address', name: 'to', type: 'address' },
735
- { internalType: 'uint256', name: 'value', type: 'uint256' },
736
- { internalType: 'bytes', name: 'data', type: 'bytes' },
737
- { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
738
- { internalType: 'uint256', name: 'maxFeePerGas', type: 'uint256' },
1299
+ "internalType": "address",
1300
+ "name": "bridgeToken",
1301
+ "type": "address"
1302
+ },
1303
+ {
1304
+ "internalType": "uint256",
1305
+ "name": "bridgeAmount",
1306
+ "type": "uint256"
1307
+ },
1308
+ {
1309
+ "internalType": "address",
1310
+ "name": "gasToken",
1311
+ "type": "address"
1312
+ },
1313
+ {
1314
+ "internalType": "uint256",
1315
+ "name": "gasAmount",
1316
+ "type": "uint256"
1317
+ },
1318
+ {
1319
+ "internalType": "uint256",
1320
+ "name": "amountOutMinETH",
1321
+ "type": "uint256"
1322
+ },
1323
+ {
1324
+ "internalType": "uint256",
1325
+ "name": "deadline",
1326
+ "type": "uint256"
1327
+ },
1328
+ {
1329
+ "components": [
1330
+ {
1331
+ "internalType": "address",
1332
+ "name": "to",
1333
+ "type": "address"
1334
+ },
1335
+ {
1336
+ "internalType": "uint256",
1337
+ "name": "value",
1338
+ "type": "uint256"
1339
+ },
739
1340
  {
740
- internalType: 'uint256',
741
- name: 'maxPriorityFeePerGas',
742
- type: 'uint256',
1341
+ "internalType": "bytes",
1342
+ "name": "data",
1343
+ "type": "bytes"
743
1344
  },
744
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
745
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
746
1345
  {
747
- internalType: 'enum VerificationType',
748
- name: 'vType',
749
- type: 'uint8',
1346
+ "internalType": "uint256",
1347
+ "name": "gasLimit",
1348
+ "type": "uint256"
750
1349
  },
1350
+ {
1351
+ "internalType": "uint256",
1352
+ "name": "maxFeePerGas",
1353
+ "type": "uint256"
1354
+ },
1355
+ {
1356
+ "internalType": "uint256",
1357
+ "name": "maxPriorityFeePerGas",
1358
+ "type": "uint256"
1359
+ },
1360
+ {
1361
+ "internalType": "uint256",
1362
+ "name": "nonce",
1363
+ "type": "uint256"
1364
+ },
1365
+ {
1366
+ "internalType": "uint256",
1367
+ "name": "deadline",
1368
+ "type": "uint256"
1369
+ },
1370
+ {
1371
+ "internalType": "enum VerificationType",
1372
+ "name": "vType",
1373
+ "type": "uint8"
1374
+ }
751
1375
  ],
752
- internalType: 'struct UniversalPayload',
753
- name: 'payload',
754
- type: 'tuple',
1376
+ "internalType": "struct UniversalPayload",
1377
+ "name": "payload",
1378
+ "type": "tuple"
755
1379
  },
756
1380
  {
757
- components: [
758
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
759
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
1381
+ "components": [
1382
+ {
1383
+ "internalType": "address",
1384
+ "name": "fundRecipient",
1385
+ "type": "address"
1386
+ },
1387
+ {
1388
+ "internalType": "bytes",
1389
+ "name": "revertMsg",
1390
+ "type": "bytes"
1391
+ }
760
1392
  ],
761
- internalType: 'struct RevertInstructions',
762
- name: 'revertInstruction',
763
- type: 'tuple',
1393
+ "internalType": "struct RevertInstructions",
1394
+ "name": "revertInstruction",
1395
+ "type": "tuple"
764
1396
  },
765
- { internalType: 'bytes', name: 'signatureData', type: 'bytes' },
1397
+ {
1398
+ "internalType": "bytes",
1399
+ "name": "signatureData",
1400
+ "type": "bytes"
1401
+ }
766
1402
  ],
767
- name: 'sendTxWithFunds_new',
768
- outputs: [],
769
- stateMutability: 'nonpayable',
770
- type: 'function',
1403
+ "name": "sendTxWithFunds_new",
1404
+ "outputs": [],
1405
+ "stateMutability": "nonpayable",
1406
+ "type": "function"
771
1407
  },
772
1408
  {
773
- inputs: [
774
- { internalType: 'address', name: 'bridgeToken', type: 'address' },
775
- { internalType: 'uint256', name: 'bridgeAmount', type: 'uint256' },
1409
+ "inputs": [
776
1410
  {
777
- components: [
778
- { internalType: 'address', name: 'to', type: 'address' },
779
- { internalType: 'uint256', name: 'value', type: 'uint256' },
780
- { internalType: 'bytes', name: 'data', type: 'bytes' },
781
- { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
782
- { internalType: 'uint256', name: 'maxFeePerGas', type: 'uint256' },
1411
+ "internalType": "address",
1412
+ "name": "bridgeToken",
1413
+ "type": "address"
1414
+ },
1415
+ {
1416
+ "internalType": "uint256",
1417
+ "name": "bridgeAmount",
1418
+ "type": "uint256"
1419
+ },
1420
+ {
1421
+ "components": [
1422
+ {
1423
+ "internalType": "address",
1424
+ "name": "to",
1425
+ "type": "address"
1426
+ },
1427
+ {
1428
+ "internalType": "uint256",
1429
+ "name": "value",
1430
+ "type": "uint256"
1431
+ },
1432
+ {
1433
+ "internalType": "bytes",
1434
+ "name": "data",
1435
+ "type": "bytes"
1436
+ },
1437
+ {
1438
+ "internalType": "uint256",
1439
+ "name": "gasLimit",
1440
+ "type": "uint256"
1441
+ },
1442
+ {
1443
+ "internalType": "uint256",
1444
+ "name": "maxFeePerGas",
1445
+ "type": "uint256"
1446
+ },
783
1447
  {
784
- internalType: 'uint256',
785
- name: 'maxPriorityFeePerGas',
786
- type: 'uint256',
1448
+ "internalType": "uint256",
1449
+ "name": "maxPriorityFeePerGas",
1450
+ "type": "uint256"
787
1451
  },
788
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
789
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
790
1452
  {
791
- internalType: 'enum VerificationType',
792
- name: 'vType',
793
- type: 'uint8',
1453
+ "internalType": "uint256",
1454
+ "name": "nonce",
1455
+ "type": "uint256"
794
1456
  },
1457
+ {
1458
+ "internalType": "uint256",
1459
+ "name": "deadline",
1460
+ "type": "uint256"
1461
+ },
1462
+ {
1463
+ "internalType": "enum VerificationType",
1464
+ "name": "vType",
1465
+ "type": "uint8"
1466
+ }
795
1467
  ],
796
- internalType: 'struct UniversalPayload',
797
- name: 'payload',
798
- type: 'tuple',
1468
+ "internalType": "struct UniversalPayload",
1469
+ "name": "payload",
1470
+ "type": "tuple"
799
1471
  },
800
1472
  {
801
- components: [
802
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
803
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
1473
+ "components": [
1474
+ {
1475
+ "internalType": "address",
1476
+ "name": "fundRecipient",
1477
+ "type": "address"
1478
+ },
1479
+ {
1480
+ "internalType": "bytes",
1481
+ "name": "revertMsg",
1482
+ "type": "bytes"
1483
+ }
804
1484
  ],
805
- internalType: 'struct RevertInstructions',
806
- name: 'revertInstruction',
807
- type: 'tuple',
1485
+ "internalType": "struct RevertInstructions",
1486
+ "name": "revertInstruction",
1487
+ "type": "tuple"
808
1488
  },
809
- { internalType: 'bytes', name: 'signatureData', type: 'bytes' },
1489
+ {
1490
+ "internalType": "bytes",
1491
+ "name": "signatureData",
1492
+ "type": "bytes"
1493
+ }
810
1494
  ],
811
- name: 'sendTxWithFunds_new',
812
- outputs: [],
813
- stateMutability: 'payable',
814
- type: 'function',
1495
+ "name": "sendTxWithFunds_new",
1496
+ "outputs": [],
1497
+ "stateMutability": "payable",
1498
+ "type": "function"
815
1499
  },
816
1500
  {
817
- inputs: [
1501
+ "inputs": [
818
1502
  {
819
- components: [
820
- { internalType: 'address', name: 'to', type: 'address' },
821
- { internalType: 'uint256', name: 'value', type: 'uint256' },
822
- { internalType: 'bytes', name: 'data', type: 'bytes' },
823
- { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
824
- { internalType: 'uint256', name: 'maxFeePerGas', type: 'uint256' },
1503
+ "components": [
1504
+ {
1505
+ "internalType": "address",
1506
+ "name": "to",
1507
+ "type": "address"
1508
+ },
1509
+ {
1510
+ "internalType": "uint256",
1511
+ "name": "value",
1512
+ "type": "uint256"
1513
+ },
1514
+ {
1515
+ "internalType": "bytes",
1516
+ "name": "data",
1517
+ "type": "bytes"
1518
+ },
825
1519
  {
826
- internalType: 'uint256',
827
- name: 'maxPriorityFeePerGas',
828
- type: 'uint256',
1520
+ "internalType": "uint256",
1521
+ "name": "gasLimit",
1522
+ "type": "uint256"
829
1523
  },
830
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
831
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
832
1524
  {
833
- internalType: 'enum VerificationType',
834
- name: 'vType',
835
- type: 'uint8',
1525
+ "internalType": "uint256",
1526
+ "name": "maxFeePerGas",
1527
+ "type": "uint256"
836
1528
  },
1529
+ {
1530
+ "internalType": "uint256",
1531
+ "name": "maxPriorityFeePerGas",
1532
+ "type": "uint256"
1533
+ },
1534
+ {
1535
+ "internalType": "uint256",
1536
+ "name": "nonce",
1537
+ "type": "uint256"
1538
+ },
1539
+ {
1540
+ "internalType": "uint256",
1541
+ "name": "deadline",
1542
+ "type": "uint256"
1543
+ },
1544
+ {
1545
+ "internalType": "enum VerificationType",
1546
+ "name": "vType",
1547
+ "type": "uint8"
1548
+ }
837
1549
  ],
838
- internalType: 'struct UniversalPayload',
839
- name: 'payload',
840
- type: 'tuple',
1550
+ "internalType": "struct UniversalPayload",
1551
+ "name": "payload",
1552
+ "type": "tuple"
841
1553
  },
842
1554
  {
843
- components: [
844
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
845
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
1555
+ "components": [
1556
+ {
1557
+ "internalType": "address",
1558
+ "name": "fundRecipient",
1559
+ "type": "address"
1560
+ },
1561
+ {
1562
+ "internalType": "bytes",
1563
+ "name": "revertMsg",
1564
+ "type": "bytes"
1565
+ }
846
1566
  ],
847
- internalType: 'struct RevertInstructions',
848
- name: 'revertInstruction',
849
- type: 'tuple',
1567
+ "internalType": "struct RevertInstructions",
1568
+ "name": "revertInstruction",
1569
+ "type": "tuple"
850
1570
  },
851
- { internalType: 'bytes', name: 'signatureData', type: 'bytes' },
1571
+ {
1572
+ "internalType": "bytes",
1573
+ "name": "signatureData",
1574
+ "type": "bytes"
1575
+ }
852
1576
  ],
853
- name: 'sendTxWithGas',
854
- outputs: [],
855
- stateMutability: 'payable',
856
- type: 'function',
1577
+ "name": "sendTxWithGas",
1578
+ "outputs": [],
1579
+ "stateMutability": "payable",
1580
+ "type": "function"
857
1581
  },
858
1582
  {
859
- inputs: [
860
- { internalType: 'address', name: 'tokenIn', type: 'address' },
861
- { internalType: 'uint256', name: 'amountIn', type: 'uint256' },
1583
+ "inputs": [
1584
+ {
1585
+ "internalType": "address",
1586
+ "name": "tokenIn",
1587
+ "type": "address"
1588
+ },
862
1589
  {
863
- components: [
864
- { internalType: 'address', name: 'to', type: 'address' },
865
- { internalType: 'uint256', name: 'value', type: 'uint256' },
866
- { internalType: 'bytes', name: 'data', type: 'bytes' },
867
- { internalType: 'uint256', name: 'gasLimit', type: 'uint256' },
868
- { internalType: 'uint256', name: 'maxFeePerGas', type: 'uint256' },
1590
+ "internalType": "uint256",
1591
+ "name": "amountIn",
1592
+ "type": "uint256"
1593
+ },
1594
+ {
1595
+ "components": [
1596
+ {
1597
+ "internalType": "address",
1598
+ "name": "to",
1599
+ "type": "address"
1600
+ },
869
1601
  {
870
- internalType: 'uint256',
871
- name: 'maxPriorityFeePerGas',
872
- type: 'uint256',
1602
+ "internalType": "uint256",
1603
+ "name": "value",
1604
+ "type": "uint256"
873
1605
  },
874
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
875
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
876
1606
  {
877
- internalType: 'enum VerificationType',
878
- name: 'vType',
879
- type: 'uint8',
1607
+ "internalType": "bytes",
1608
+ "name": "data",
1609
+ "type": "bytes"
880
1610
  },
1611
+ {
1612
+ "internalType": "uint256",
1613
+ "name": "gasLimit",
1614
+ "type": "uint256"
1615
+ },
1616
+ {
1617
+ "internalType": "uint256",
1618
+ "name": "maxFeePerGas",
1619
+ "type": "uint256"
1620
+ },
1621
+ {
1622
+ "internalType": "uint256",
1623
+ "name": "maxPriorityFeePerGas",
1624
+ "type": "uint256"
1625
+ },
1626
+ {
1627
+ "internalType": "uint256",
1628
+ "name": "nonce",
1629
+ "type": "uint256"
1630
+ },
1631
+ {
1632
+ "internalType": "uint256",
1633
+ "name": "deadline",
1634
+ "type": "uint256"
1635
+ },
1636
+ {
1637
+ "internalType": "enum VerificationType",
1638
+ "name": "vType",
1639
+ "type": "uint8"
1640
+ }
881
1641
  ],
882
- internalType: 'struct UniversalPayload',
883
- name: 'payload',
884
- type: 'tuple',
1642
+ "internalType": "struct UniversalPayload",
1643
+ "name": "payload",
1644
+ "type": "tuple"
885
1645
  },
886
1646
  {
887
- components: [
888
- { internalType: 'address', name: 'fundRecipient', type: 'address' },
889
- { internalType: 'bytes', name: 'revertMsg', type: 'bytes' },
1647
+ "components": [
1648
+ {
1649
+ "internalType": "address",
1650
+ "name": "fundRecipient",
1651
+ "type": "address"
1652
+ },
1653
+ {
1654
+ "internalType": "bytes",
1655
+ "name": "revertMsg",
1656
+ "type": "bytes"
1657
+ }
890
1658
  ],
891
- internalType: 'struct RevertInstructions',
892
- name: 'revertInstruction',
893
- type: 'tuple',
1659
+ "internalType": "struct RevertInstructions",
1660
+ "name": "revertInstruction",
1661
+ "type": "tuple"
1662
+ },
1663
+ {
1664
+ "internalType": "uint256",
1665
+ "name": "amountOutMinETH",
1666
+ "type": "uint256"
894
1667
  },
895
- { internalType: 'uint256', name: 'amountOutMinETH', type: 'uint256' },
896
- { internalType: 'uint256', name: 'deadline', type: 'uint256' },
897
- { internalType: 'bytes', name: 'signatureData', type: 'bytes' },
1668
+ {
1669
+ "internalType": "uint256",
1670
+ "name": "deadline",
1671
+ "type": "uint256"
1672
+ },
1673
+ {
1674
+ "internalType": "bytes",
1675
+ "name": "signatureData",
1676
+ "type": "bytes"
1677
+ }
898
1678
  ],
899
- name: 'sendTxWithGas',
900
- outputs: [],
901
- stateMutability: 'nonpayable',
902
- type: 'function',
1679
+ "name": "sendTxWithGas",
1680
+ "outputs": [],
1681
+ "stateMutability": "nonpayable",
1682
+ "type": "function"
903
1683
  },
904
1684
  {
905
- inputs: [{ internalType: 'uint256', name: 'cap1e18', type: 'uint256' }],
906
- name: 'setBlockUsdCap',
907
- outputs: [],
908
- stateMutability: 'nonpayable',
909
- type: 'function',
1685
+ "inputs": [
1686
+ {
1687
+ "components": [
1688
+ {
1689
+ "internalType": "address",
1690
+ "name": "recipient",
1691
+ "type": "address"
1692
+ },
1693
+ {
1694
+ "internalType": "address",
1695
+ "name": "token",
1696
+ "type": "address"
1697
+ },
1698
+ {
1699
+ "internalType": "uint256",
1700
+ "name": "amount",
1701
+ "type": "uint256"
1702
+ },
1703
+ {
1704
+ "internalType": "address",
1705
+ "name": "gasToken",
1706
+ "type": "address"
1707
+ },
1708
+ {
1709
+ "internalType": "uint256",
1710
+ "name": "gasAmount",
1711
+ "type": "uint256"
1712
+ },
1713
+ {
1714
+ "internalType": "bytes",
1715
+ "name": "payload",
1716
+ "type": "bytes"
1717
+ },
1718
+ {
1719
+ "components": [
1720
+ {
1721
+ "internalType": "address",
1722
+ "name": "fundRecipient",
1723
+ "type": "address"
1724
+ },
1725
+ {
1726
+ "internalType": "bytes",
1727
+ "name": "revertMsg",
1728
+ "type": "bytes"
1729
+ }
1730
+ ],
1731
+ "internalType": "struct RevertInstructions",
1732
+ "name": "revertInstruction",
1733
+ "type": "tuple"
1734
+ },
1735
+ {
1736
+ "internalType": "bytes",
1737
+ "name": "signatureData",
1738
+ "type": "bytes"
1739
+ },
1740
+ {
1741
+ "internalType": "uint256",
1742
+ "name": "amountOutMinETH",
1743
+ "type": "uint256"
1744
+ },
1745
+ {
1746
+ "internalType": "uint256",
1747
+ "name": "deadline",
1748
+ "type": "uint256"
1749
+ }
1750
+ ],
1751
+ "internalType": "struct UniversalTokenTxRequest",
1752
+ "name": "reqToken",
1753
+ "type": "tuple"
1754
+ }
1755
+ ],
1756
+ "name": "sendUniversalTx",
1757
+ "outputs": [],
1758
+ "stateMutability": "payable",
1759
+ "type": "function"
910
1760
  },
911
1761
  {
912
- inputs: [
913
- { internalType: 'uint256', name: 'minCapUsd', type: 'uint256' },
914
- { internalType: 'uint256', name: 'maxCapUsd', type: 'uint256' },
1762
+ "inputs": [
1763
+ {
1764
+ "components": [
1765
+ {
1766
+ "internalType": "address",
1767
+ "name": "recipient",
1768
+ "type": "address"
1769
+ },
1770
+ {
1771
+ "internalType": "address",
1772
+ "name": "token",
1773
+ "type": "address"
1774
+ },
1775
+ {
1776
+ "internalType": "uint256",
1777
+ "name": "amount",
1778
+ "type": "uint256"
1779
+ },
1780
+ {
1781
+ "internalType": "bytes",
1782
+ "name": "payload",
1783
+ "type": "bytes"
1784
+ },
1785
+ {
1786
+ "components": [
1787
+ {
1788
+ "internalType": "address",
1789
+ "name": "fundRecipient",
1790
+ "type": "address"
1791
+ },
1792
+ {
1793
+ "internalType": "bytes",
1794
+ "name": "revertMsg",
1795
+ "type": "bytes"
1796
+ }
1797
+ ],
1798
+ "internalType": "struct RevertInstructions",
1799
+ "name": "revertInstruction",
1800
+ "type": "tuple"
1801
+ },
1802
+ {
1803
+ "internalType": "bytes",
1804
+ "name": "signatureData",
1805
+ "type": "bytes"
1806
+ }
1807
+ ],
1808
+ "internalType": "struct UniversalTxRequest",
1809
+ "name": "req",
1810
+ "type": "tuple"
1811
+ }
915
1812
  ],
916
- name: 'setCapsUSD',
917
- outputs: [],
918
- stateMutability: 'nonpayable',
919
- type: 'function',
1813
+ "name": "sendUniversalTx",
1814
+ "outputs": [],
1815
+ "stateMutability": "payable",
1816
+ "type": "function"
920
1817
  },
921
1818
  {
922
- inputs: [
923
- { internalType: 'uint256', name: 'stalePeriodSec', type: 'uint256' },
1819
+ "inputs": [
1820
+ {
1821
+ "internalType": "uint256",
1822
+ "name": "minCapUsd",
1823
+ "type": "uint256"
1824
+ },
1825
+ {
1826
+ "internalType": "uint256",
1827
+ "name": "maxCapUsd",
1828
+ "type": "uint256"
1829
+ }
924
1830
  ],
925
- name: 'setChainlinkStalePeriod',
926
- outputs: [],
927
- stateMutability: 'nonpayable',
928
- type: 'function',
1831
+ "name": "setCapsUSD",
1832
+ "outputs": [],
1833
+ "stateMutability": "nonpayable",
1834
+ "type": "function"
929
1835
  },
930
1836
  {
931
- inputs: [{ internalType: 'uint256', name: 'deadlineSec', type: 'uint256' }],
932
- name: 'setDefaultSwapDeadline',
933
- outputs: [],
934
- stateMutability: 'nonpayable',
935
- type: 'function',
1837
+ "inputs": [
1838
+ {
1839
+ "internalType": "uint256",
1840
+ "name": "stalePeriodSec",
1841
+ "type": "uint256"
1842
+ }
1843
+ ],
1844
+ "name": "setChainlinkStalePeriod",
1845
+ "outputs": [],
1846
+ "stateMutability": "nonpayable",
1847
+ "type": "function"
936
1848
  },
937
1849
  {
938
- inputs: [{ internalType: 'address', name: 'feed', type: 'address' }],
939
- name: 'setEthUsdFeed',
940
- outputs: [],
941
- stateMutability: 'nonpayable',
942
- type: 'function',
1850
+ "inputs": [
1851
+ {
1852
+ "internalType": "uint256",
1853
+ "name": "deadlineSec",
1854
+ "type": "uint256"
1855
+ }
1856
+ ],
1857
+ "name": "setDefaultSwapDeadline",
1858
+ "outputs": [],
1859
+ "stateMutability": "nonpayable",
1860
+ "type": "function"
943
1861
  },
944
1862
  {
945
- inputs: [{ internalType: 'address', name: 'feed', type: 'address' }],
946
- name: 'setL2SequencerFeed',
947
- outputs: [],
948
- stateMutability: 'nonpayable',
949
- type: 'function',
1863
+ "inputs": [
1864
+ {
1865
+ "internalType": "address",
1866
+ "name": "feed",
1867
+ "type": "address"
1868
+ }
1869
+ ],
1870
+ "name": "setEthUsdFeed",
1871
+ "outputs": [],
1872
+ "stateMutability": "nonpayable",
1873
+ "type": "function"
950
1874
  },
951
1875
  {
952
- inputs: [
953
- { internalType: 'uint256', name: 'gracePeriodSec', type: 'uint256' },
1876
+ "inputs": [
1877
+ {
1878
+ "internalType": "address",
1879
+ "name": "feed",
1880
+ "type": "address"
1881
+ }
954
1882
  ],
955
- name: 'setL2SequencerGracePeriod',
956
- outputs: [],
957
- stateMutability: 'nonpayable',
958
- type: 'function',
1883
+ "name": "setL2SequencerFeed",
1884
+ "outputs": [],
1885
+ "stateMutability": "nonpayable",
1886
+ "type": "function"
959
1887
  },
960
1888
  {
961
- inputs: [
962
- { internalType: 'address', name: 'factory', type: 'address' },
963
- { internalType: 'address', name: 'router', type: 'address' },
1889
+ "inputs": [
1890
+ {
1891
+ "internalType": "uint256",
1892
+ "name": "gracePeriodSec",
1893
+ "type": "uint256"
1894
+ }
964
1895
  ],
965
- name: 'setRouters',
966
- outputs: [],
967
- stateMutability: 'nonpayable',
968
- type: 'function',
1896
+ "name": "setL2SequencerGracePeriod",
1897
+ "outputs": [],
1898
+ "stateMutability": "nonpayable",
1899
+ "type": "function"
969
1900
  },
970
1901
  {
971
- inputs: [{ internalType: 'address', name: 'newTSS', type: 'address' }],
972
- name: 'setTSSAddress',
973
- outputs: [],
974
- stateMutability: 'nonpayable',
975
- type: 'function',
1902
+ "inputs": [
1903
+ {
1904
+ "internalType": "address",
1905
+ "name": "factory",
1906
+ "type": "address"
1907
+ },
1908
+ {
1909
+ "internalType": "address",
1910
+ "name": "router",
1911
+ "type": "address"
1912
+ }
1913
+ ],
1914
+ "name": "setRouters",
1915
+ "outputs": [],
1916
+ "stateMutability": "nonpayable",
1917
+ "type": "function"
976
1918
  },
977
1919
  {
978
- inputs: [
979
- { internalType: 'address[]', name: 'tokens', type: 'address[]' },
980
- { internalType: 'uint256[]', name: 'thresholds', type: 'uint256[]' },
1920
+ "inputs": [
1921
+ {
1922
+ "internalType": "address",
1923
+ "name": "newTSS",
1924
+ "type": "address"
1925
+ }
981
1926
  ],
982
- name: 'setTokenLimitThresholds',
983
- outputs: [],
984
- stateMutability: 'nonpayable',
985
- type: 'function',
1927
+ "name": "setTSSAddress",
1928
+ "outputs": [],
1929
+ "stateMutability": "nonpayable",
1930
+ "type": "function"
986
1931
  },
987
1932
  {
988
- inputs: [
989
- { internalType: 'uint24', name: 'a', type: 'uint24' },
990
- { internalType: 'uint24', name: 'b', type: 'uint24' },
991
- { internalType: 'uint24', name: 'c', type: 'uint24' },
1933
+ "inputs": [
1934
+ {
1935
+ "internalType": "address[]",
1936
+ "name": "tokens",
1937
+ "type": "address[]"
1938
+ },
1939
+ {
1940
+ "internalType": "uint256[]",
1941
+ "name": "thresholds",
1942
+ "type": "uint256[]"
1943
+ }
992
1944
  ],
993
- name: 'setV3FeeOrder',
994
- outputs: [],
995
- stateMutability: 'nonpayable',
996
- type: 'function',
1945
+ "name": "setTokenLimitThresholds",
1946
+ "outputs": [],
1947
+ "stateMutability": "nonpayable",
1948
+ "type": "function"
997
1949
  },
998
1950
  {
999
- inputs: [{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' }],
1000
- name: 'supportsInterface',
1001
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1002
- stateMutability: 'view',
1003
- type: 'function',
1951
+ "inputs": [
1952
+ {
1953
+ "internalType": "uint24",
1954
+ "name": "a",
1955
+ "type": "uint24"
1956
+ },
1957
+ {
1958
+ "internalType": "uint24",
1959
+ "name": "b",
1960
+ "type": "uint24"
1961
+ },
1962
+ {
1963
+ "internalType": "uint24",
1964
+ "name": "c",
1965
+ "type": "uint24"
1966
+ }
1967
+ ],
1968
+ "name": "setV3FeeOrder",
1969
+ "outputs": [],
1970
+ "stateMutability": "nonpayable",
1971
+ "type": "function"
1004
1972
  },
1005
1973
  {
1006
- inputs: [{ internalType: 'address', name: '', type: 'address' }],
1007
- name: 'tokenToLimitThreshold',
1008
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1009
- stateMutability: 'view',
1010
- type: 'function',
1974
+ "inputs": [
1975
+ {
1976
+ "internalType": "bytes4",
1977
+ "name": "interfaceId",
1978
+ "type": "bytes4"
1979
+ }
1980
+ ],
1981
+ "name": "supportsInterface",
1982
+ "outputs": [
1983
+ {
1984
+ "internalType": "bool",
1985
+ "name": "",
1986
+ "type": "bool"
1987
+ }
1988
+ ],
1989
+ "stateMutability": "view",
1990
+ "type": "function"
1011
1991
  },
1012
1992
  {
1013
- inputs: [],
1014
- name: 'uniV3Factory',
1015
- outputs: [
1016
- { internalType: 'contract IUniswapV3Factory', name: '', type: 'address' },
1993
+ "inputs": [
1994
+ {
1995
+ "internalType": "address",
1996
+ "name": "",
1997
+ "type": "address"
1998
+ }
1999
+ ],
2000
+ "name": "tokenToLimitThreshold",
2001
+ "outputs": [
2002
+ {
2003
+ "internalType": "uint256",
2004
+ "name": "",
2005
+ "type": "uint256"
2006
+ }
1017
2007
  ],
1018
- stateMutability: 'view',
1019
- type: 'function',
2008
+ "stateMutability": "view",
2009
+ "type": "function"
1020
2010
  },
1021
2011
  {
1022
- inputs: [],
1023
- name: 'uniV3Router',
1024
- outputs: [
2012
+ "inputs": [],
2013
+ "name": "uniV3Factory",
2014
+ "outputs": [
1025
2015
  {
1026
- internalType: 'contract ISwapRouterSepolia',
1027
- name: '',
1028
- type: 'address',
1029
- },
2016
+ "internalType": "contract IUniswapV3Factory",
2017
+ "name": "",
2018
+ "type": "address"
2019
+ }
1030
2020
  ],
1031
- stateMutability: 'view',
1032
- type: 'function',
2021
+ "stateMutability": "view",
2022
+ "type": "function"
1033
2023
  },
1034
2024
  {
1035
- inputs: [],
1036
- name: 'unpause',
1037
- outputs: [],
1038
- stateMutability: 'nonpayable',
1039
- type: 'function',
2025
+ "inputs": [],
2026
+ "name": "uniV3Router",
2027
+ "outputs": [
2028
+ {
2029
+ "internalType": "contract ISwapRouterSepolia",
2030
+ "name": "",
2031
+ "type": "address"
2032
+ }
2033
+ ],
2034
+ "stateMutability": "view",
2035
+ "type": "function"
1040
2036
  },
1041
2037
  {
1042
- inputs: [
1043
- { internalType: 'uint256', name: 'newDurationSec', type: 'uint256' },
1044
- ],
1045
- name: 'updateEpochDuration',
1046
- outputs: [],
1047
- stateMutability: 'nonpayable',
1048
- type: 'function',
2038
+ "inputs": [],
2039
+ "name": "unpause",
2040
+ "outputs": [],
2041
+ "stateMutability": "nonpayable",
2042
+ "type": "function"
1049
2043
  },
1050
2044
  {
1051
- inputs: [
1052
- { internalType: 'address[]', name: 'tokens', type: 'address[]' },
1053
- { internalType: 'uint256[]', name: 'thresholds', type: 'uint256[]' },
2045
+ "inputs": [],
2046
+ "name": "usdtUsdPriceFeed",
2047
+ "outputs": [
2048
+ {
2049
+ "internalType": "contract AggregatorV3Interface",
2050
+ "name": "",
2051
+ "type": "address"
2052
+ }
1054
2053
  ],
1055
- name: 'updateTokenLimitThreshold',
1056
- outputs: [],
1057
- stateMutability: 'nonpayable',
1058
- type: 'function',
2054
+ "stateMutability": "view",
2055
+ "type": "function"
1059
2056
  },
1060
2057
  {
1061
- inputs: [],
1062
- name: 'usdtUsdPriceFeed',
1063
- outputs: [
2058
+ "inputs": [
1064
2059
  {
1065
- internalType: 'contract AggregatorV3Interface',
1066
- name: '',
1067
- type: 'address',
1068
- },
2060
+ "internalType": "uint256",
2061
+ "name": "",
2062
+ "type": "uint256"
2063
+ }
1069
2064
  ],
1070
- stateMutability: 'view',
1071
- type: 'function',
2065
+ "name": "v3FeeOrder",
2066
+ "outputs": [
2067
+ {
2068
+ "internalType": "uint24",
2069
+ "name": "",
2070
+ "type": "uint24"
2071
+ }
2072
+ ],
2073
+ "stateMutability": "view",
2074
+ "type": "function"
1072
2075
  },
1073
2076
  {
1074
- inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1075
- name: 'v3FeeOrder',
1076
- outputs: [{ internalType: 'uint24', name: '', type: 'uint24' }],
1077
- stateMutability: 'view',
1078
- type: 'function',
2077
+ "inputs": [],
2078
+ "name": "version",
2079
+ "outputs": [
2080
+ {
2081
+ "internalType": "string",
2082
+ "name": "",
2083
+ "type": "string"
2084
+ }
2085
+ ],
2086
+ "stateMutability": "pure",
2087
+ "type": "function"
1079
2088
  },
1080
2089
  {
1081
- inputs: [],
1082
- name: 'version',
1083
- outputs: [{ internalType: 'string', name: '', type: 'string' }],
1084
- stateMutability: 'pure',
1085
- type: 'function',
2090
+ "inputs": [
2091
+ {
2092
+ "internalType": "bytes32",
2093
+ "name": "txID",
2094
+ "type": "bytes32"
2095
+ },
2096
+ {
2097
+ "internalType": "address",
2098
+ "name": "originCaller",
2099
+ "type": "address"
2100
+ },
2101
+ {
2102
+ "internalType": "address",
2103
+ "name": "to",
2104
+ "type": "address"
2105
+ },
2106
+ {
2107
+ "internalType": "uint256",
2108
+ "name": "amount",
2109
+ "type": "uint256"
2110
+ }
2111
+ ],
2112
+ "name": "withdraw",
2113
+ "outputs": [],
2114
+ "stateMutability": "payable",
2115
+ "type": "function"
1086
2116
  },
1087
2117
  {
1088
- inputs: [
1089
- { internalType: 'address', name: 'recipient', type: 'address' },
1090
- { internalType: 'address', name: 'token', type: 'address' },
1091
- { internalType: 'uint256', name: 'amount', type: 'uint256' },
2118
+ "inputs": [
2119
+ {
2120
+ "internalType": "bytes32",
2121
+ "name": "txID",
2122
+ "type": "bytes32"
2123
+ },
2124
+ {
2125
+ "internalType": "address",
2126
+ "name": "originCaller",
2127
+ "type": "address"
2128
+ },
2129
+ {
2130
+ "internalType": "address",
2131
+ "name": "token",
2132
+ "type": "address"
2133
+ },
2134
+ {
2135
+ "internalType": "address",
2136
+ "name": "to",
2137
+ "type": "address"
2138
+ },
2139
+ {
2140
+ "internalType": "uint256",
2141
+ "name": "amount",
2142
+ "type": "uint256"
2143
+ }
1092
2144
  ],
1093
- name: 'withdrawFunds',
1094
- outputs: [],
1095
- stateMutability: 'nonpayable',
1096
- type: 'function',
2145
+ "name": "withdrawTokens",
2146
+ "outputs": [],
2147
+ "stateMutability": "nonpayable",
2148
+ "type": "function"
1097
2149
  },
1098
- { stateMutability: 'payable', type: 'receive' },
2150
+ {
2151
+ "stateMutability": "payable",
2152
+ "type": "receive"
2153
+ }
1099
2154
  ];
1100
2155
  //# sourceMappingURL=universalGatewayV0.evm.js.map