@pushchain/core 2.1.7-alpha-v0 → 2.1.8
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/package.json +3 -4
- package/src/lib/constants/abi/erc20.evm.d.ts +0 -33
- package/src/lib/constants/abi/erc20.evm.js +0 -19
- package/src/lib/constants/abi/erc20.evm.js.map +1 -1
- package/src/lib/constants/abi/universalGatewayV0.evm.d.ts +1 -48
- package/src/lib/constants/abi/universalGatewayV0.evm.js +28 -1060
- package/src/lib/constants/abi/universalGatewayV0.evm.js.map +1 -1
- package/src/lib/constants/abi/universalGatewayV0.json +206 -1223
- package/src/lib/constants/chain.d.ts +5 -0
- package/src/lib/constants/chain.js +22 -2
- package/src/lib/constants/chain.js.map +1 -1
- package/src/lib/constants/tokens.d.ts +2 -1
- package/src/lib/constants/tokens.js +103 -119
- package/src/lib/constants/tokens.js.map +1 -1
- package/src/lib/generated/v1/tx.d.ts +2 -1
- package/src/lib/generated/v1/tx.js +1 -2
- package/src/lib/generated/v1/tx.js.map +1 -1
- package/src/lib/orchestrator/orchestrator.d.ts +2 -4
- package/src/lib/orchestrator/orchestrator.js +79 -409
- package/src/lib/orchestrator/orchestrator.js.map +1 -1
- package/src/lib/orchestrator/orchestrator.types.d.ts +5 -12
- package/src/lib/progress-hook/progress-hook.js +1 -1
- package/src/lib/progress-hook/progress-hook.js.map +1 -1
- package/src/lib/universal/signer/signer.js +27 -0
- package/src/lib/universal/signer/signer.js.map +1 -1
- package/src/lib/vm-client/svm-client.js +3 -24
- package/src/lib/vm-client/svm-client.js.map +1 -1
|
@@ -2,137 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UNIVERSAL_GATEWAY_V0 = void 0;
|
|
4
4
|
exports.UNIVERSAL_GATEWAY_V0 = [
|
|
5
|
-
{ type: 'receive', stateMutability: 'payable' },
|
|
6
|
-
{
|
|
7
|
-
type: 'function',
|
|
8
|
-
name: 'DEFAULT_ADMIN_ROLE',
|
|
9
|
-
inputs: [],
|
|
10
|
-
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
11
|
-
stateMutability: 'view',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
type: 'function',
|
|
15
|
-
name: 'MAX_CAP_UNIVERSAL_TX_USD',
|
|
16
|
-
inputs: [],
|
|
17
|
-
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
18
|
-
stateMutability: 'view',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
type: 'function',
|
|
22
|
-
name: 'MIN_CAP_UNIVERSAL_TX_USD',
|
|
23
|
-
inputs: [],
|
|
24
|
-
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
25
|
-
stateMutability: 'view',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
type: 'function',
|
|
29
|
-
name: 'PAUSER_ROLE',
|
|
30
|
-
inputs: [],
|
|
31
|
-
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
32
|
-
stateMutability: 'view',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
type: 'function',
|
|
36
|
-
name: 'POOL_FEE',
|
|
37
|
-
inputs: [],
|
|
38
|
-
outputs: [{ name: '', type: 'uint24', internalType: 'uint24' }],
|
|
39
|
-
stateMutability: 'view',
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
type: 'function',
|
|
43
|
-
name: 'TSS_ROLE',
|
|
44
|
-
inputs: [],
|
|
45
|
-
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
46
|
-
stateMutability: 'view',
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
type: 'function',
|
|
50
|
-
name: 'USDT',
|
|
51
|
-
inputs: [],
|
|
52
|
-
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
53
|
-
stateMutability: 'view',
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
type: 'function',
|
|
57
|
-
name: 'WETH',
|
|
58
|
-
inputs: [],
|
|
59
|
-
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
60
|
-
stateMutability: 'view',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
type: 'function',
|
|
64
|
-
name: '_checkUSDCaps',
|
|
65
|
-
inputs: [{ name: 'amount', type: 'uint256', internalType: 'uint256' }],
|
|
66
|
-
outputs: [],
|
|
67
|
-
stateMutability: 'view',
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
type: 'function',
|
|
71
|
-
name: 'addFunds',
|
|
72
|
-
inputs: [
|
|
73
|
-
{
|
|
74
|
-
name: '_transactionHash',
|
|
75
|
-
type: 'bytes32',
|
|
76
|
-
internalType: 'bytes32',
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
outputs: [],
|
|
80
|
-
stateMutability: 'payable',
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
type: 'function',
|
|
84
|
-
name: 'chainlinkEthUsdDecimals',
|
|
85
|
-
inputs: [],
|
|
86
|
-
outputs: [{ name: '', type: 'uint8', internalType: 'uint8' }],
|
|
87
|
-
stateMutability: 'view',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
type: 'function',
|
|
91
|
-
name: 'chainlinkStalePeriod',
|
|
92
|
-
inputs: [],
|
|
93
|
-
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
94
|
-
stateMutability: 'view',
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
type: 'function',
|
|
98
|
-
name: 'defaultSwapDeadlineSec',
|
|
99
|
-
inputs: [],
|
|
100
|
-
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
101
|
-
stateMutability: 'view',
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
type: 'function',
|
|
105
|
-
name: 'ethUsdFeed',
|
|
106
|
-
inputs: [],
|
|
107
|
-
outputs: [
|
|
108
|
-
{
|
|
109
|
-
name: '',
|
|
110
|
-
type: 'address',
|
|
111
|
-
internalType: 'contract AggregatorV3Interface',
|
|
112
|
-
},
|
|
113
|
-
],
|
|
114
|
-
stateMutability: 'view',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
type: 'function',
|
|
118
|
-
name: 'getEthUsdPrice',
|
|
119
|
-
inputs: [],
|
|
120
|
-
outputs: [
|
|
121
|
-
{ name: '', type: 'uint256', internalType: 'uint256' },
|
|
122
|
-
{ name: '', type: 'uint8', internalType: 'uint8' },
|
|
123
|
-
],
|
|
124
|
-
stateMutability: 'view',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
type: 'function',
|
|
128
|
-
name: 'getEthUsdPrice_old',
|
|
129
|
-
inputs: [],
|
|
130
|
-
outputs: [
|
|
131
|
-
{ name: '', type: 'uint256', internalType: 'uint256' },
|
|
132
|
-
{ name: '', type: 'uint8', internalType: 'uint8' },
|
|
133
|
-
],
|
|
134
|
-
stateMutability: 'view',
|
|
135
|
-
},
|
|
136
5
|
{
|
|
137
6
|
type: 'function',
|
|
138
7
|
name: 'getMinMaxValueForNative',
|
|
@@ -145,170 +14,16 @@ exports.UNIVERSAL_GATEWAY_V0 = [
|
|
|
145
14
|
},
|
|
146
15
|
{
|
|
147
16
|
type: 'function',
|
|
148
|
-
name: '
|
|
149
|
-
inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
|
|
150
|
-
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
151
|
-
stateMutability: 'view',
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
type: 'function',
|
|
155
|
-
name: 'grantRole',
|
|
156
|
-
inputs: [
|
|
157
|
-
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
158
|
-
{ name: 'account', type: 'address', internalType: 'address' },
|
|
159
|
-
],
|
|
160
|
-
outputs: [],
|
|
161
|
-
stateMutability: 'nonpayable',
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
type: 'function',
|
|
165
|
-
name: 'hasRole',
|
|
166
|
-
inputs: [
|
|
167
|
-
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
168
|
-
{ name: 'account', type: 'address', internalType: 'address' },
|
|
169
|
-
],
|
|
170
|
-
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
171
|
-
stateMutability: 'view',
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
type: 'function',
|
|
175
|
-
name: 'initialize',
|
|
176
|
-
inputs: [
|
|
177
|
-
{ name: 'admin', type: 'address', internalType: 'address' },
|
|
178
|
-
{ name: 'pauser', type: 'address', internalType: 'address' },
|
|
179
|
-
{ name: 'tss', type: 'address', internalType: 'address' },
|
|
180
|
-
{ name: 'minCapUsd', type: 'uint256', internalType: 'uint256' },
|
|
181
|
-
{ name: 'maxCapUsd', type: 'uint256', internalType: 'uint256' },
|
|
182
|
-
{ name: 'factory', type: 'address', internalType: 'address' },
|
|
183
|
-
{ name: 'router', type: 'address', internalType: 'address' },
|
|
184
|
-
{
|
|
185
|
-
name: '_wethAddress',
|
|
186
|
-
type: 'address',
|
|
187
|
-
internalType: 'address',
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
name: '_usdtAddress',
|
|
191
|
-
type: 'address',
|
|
192
|
-
internalType: 'address',
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
name: '_usdtUsdPriceFeed',
|
|
196
|
-
type: 'address',
|
|
197
|
-
internalType: 'address',
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
name: '_ethUsdPriceFeed',
|
|
201
|
-
type: 'address',
|
|
202
|
-
internalType: 'address',
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
outputs: [],
|
|
206
|
-
stateMutability: 'nonpayable',
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
type: 'function',
|
|
210
|
-
name: 'isSupportedToken',
|
|
211
|
-
inputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
212
|
-
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
213
|
-
stateMutability: 'view',
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
type: 'function',
|
|
217
|
-
name: 'l2SequencerFeed',
|
|
218
|
-
inputs: [],
|
|
219
|
-
outputs: [
|
|
220
|
-
{
|
|
221
|
-
name: '',
|
|
222
|
-
type: 'address',
|
|
223
|
-
internalType: 'contract AggregatorV3Interface',
|
|
224
|
-
},
|
|
225
|
-
],
|
|
226
|
-
stateMutability: 'view',
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
type: 'function',
|
|
230
|
-
name: 'l2SequencerGracePeriodSec',
|
|
231
|
-
inputs: [],
|
|
232
|
-
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
233
|
-
stateMutability: 'view',
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
type: 'function',
|
|
237
|
-
name: 'modifySupportForToken',
|
|
238
|
-
inputs: [
|
|
239
|
-
{ name: 'tokens', type: 'address[]', internalType: 'address[]' },
|
|
240
|
-
{ name: 'isSupported', type: 'bool[]', internalType: 'bool[]' },
|
|
241
|
-
],
|
|
242
|
-
outputs: [],
|
|
243
|
-
stateMutability: 'nonpayable',
|
|
244
|
-
},
|
|
245
|
-
{
|
|
246
|
-
type: 'function',
|
|
247
|
-
name: 'pause',
|
|
248
|
-
inputs: [],
|
|
249
|
-
outputs: [],
|
|
250
|
-
stateMutability: 'nonpayable',
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
type: 'function',
|
|
254
|
-
name: 'paused',
|
|
255
|
-
inputs: [],
|
|
256
|
-
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
257
|
-
stateMutability: 'view',
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
type: 'function',
|
|
261
|
-
name: 'quoteEthAmountInUsd1e18',
|
|
262
|
-
inputs: [{ name: 'amountWei', type: 'uint256', internalType: 'uint256' }],
|
|
263
|
-
outputs: [{ name: 'usd1e18', type: 'uint256', internalType: 'uint256' }],
|
|
264
|
-
stateMutability: 'view',
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
type: 'function',
|
|
268
|
-
name: 'renounceRole',
|
|
269
|
-
inputs: [
|
|
270
|
-
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
271
|
-
{
|
|
272
|
-
name: 'callerConfirmation',
|
|
273
|
-
type: 'address',
|
|
274
|
-
internalType: 'address',
|
|
275
|
-
},
|
|
276
|
-
],
|
|
277
|
-
outputs: [],
|
|
278
|
-
stateMutability: 'nonpayable',
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
type: 'function',
|
|
282
|
-
name: 'revertWithdrawFunds',
|
|
17
|
+
name: 'addFunds',
|
|
283
18
|
inputs: [
|
|
284
|
-
{ name: 'token', type: 'address', internalType: 'address' },
|
|
285
|
-
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
286
19
|
{
|
|
287
|
-
name: '
|
|
288
|
-
type: '
|
|
289
|
-
internalType: '
|
|
290
|
-
components: [
|
|
291
|
-
{
|
|
292
|
-
name: 'fundRecipient',
|
|
293
|
-
type: 'address',
|
|
294
|
-
internalType: 'address',
|
|
295
|
-
},
|
|
296
|
-
{ name: 'revertMsg', type: 'bytes', internalType: 'bytes' },
|
|
297
|
-
],
|
|
20
|
+
name: '_transactionHash',
|
|
21
|
+
type: 'bytes32',
|
|
22
|
+
internalType: 'bytes32',
|
|
298
23
|
},
|
|
299
24
|
],
|
|
300
25
|
outputs: [],
|
|
301
|
-
stateMutability: '
|
|
302
|
-
},
|
|
303
|
-
{
|
|
304
|
-
type: 'function',
|
|
305
|
-
name: 'revokeRole',
|
|
306
|
-
inputs: [
|
|
307
|
-
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
308
|
-
{ name: 'account', type: 'address', internalType: 'address' },
|
|
309
|
-
],
|
|
310
|
-
outputs: [],
|
|
311
|
-
stateMutability: 'nonpayable',
|
|
26
|
+
stateMutability: 'payable',
|
|
312
27
|
},
|
|
313
28
|
{
|
|
314
29
|
type: 'function',
|
|
@@ -316,21 +31,13 @@ exports.UNIVERSAL_GATEWAY_V0 = [
|
|
|
316
31
|
inputs: [
|
|
317
32
|
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
318
33
|
{ name: 'bridgeToken', type: 'address', internalType: 'address' },
|
|
34
|
+
{ name: 'bridgeAmount', type: 'uint256', internalType: 'uint256' },
|
|
319
35
|
{
|
|
320
|
-
name: '
|
|
321
|
-
type: 'uint256',
|
|
322
|
-
internalType: 'uint256',
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
name: 'revertInstruction',
|
|
36
|
+
name: 'revertCFG',
|
|
326
37
|
type: 'tuple',
|
|
327
|
-
internalType: 'struct
|
|
38
|
+
internalType: 'struct RevertSettings',
|
|
328
39
|
components: [
|
|
329
|
-
{
|
|
330
|
-
name: 'fundRecipient',
|
|
331
|
-
type: 'address',
|
|
332
|
-
internalType: 'address',
|
|
333
|
-
},
|
|
40
|
+
{ name: 'fundRecipient', type: 'address', internalType: 'address' },
|
|
334
41
|
{ name: 'revertMsg', type: 'bytes', internalType: 'bytes' },
|
|
335
42
|
],
|
|
336
43
|
},
|
|
@@ -343,19 +50,7 @@ exports.UNIVERSAL_GATEWAY_V0 = [
|
|
|
343
50
|
name: 'sendTxWithFunds',
|
|
344
51
|
inputs: [
|
|
345
52
|
{ name: 'bridgeToken', type: 'address', internalType: 'address' },
|
|
346
|
-
{
|
|
347
|
-
name: 'bridgeAmount',
|
|
348
|
-
type: 'uint256',
|
|
349
|
-
internalType: 'uint256',
|
|
350
|
-
},
|
|
351
|
-
{ name: 'gasToken', type: 'address', internalType: 'address' },
|
|
352
|
-
{ name: 'gasAmount', type: 'uint256', internalType: 'uint256' },
|
|
353
|
-
{
|
|
354
|
-
name: 'amountOutMinETH',
|
|
355
|
-
type: 'uint256',
|
|
356
|
-
internalType: 'uint256',
|
|
357
|
-
},
|
|
358
|
-
{ name: 'deadline', type: 'uint256', internalType: 'uint256' },
|
|
53
|
+
{ name: 'bridgeAmount', type: 'uint256', internalType: 'uint256' },
|
|
359
54
|
{
|
|
360
55
|
name: 'payload',
|
|
361
56
|
type: 'tuple',
|
|
@@ -364,27 +59,15 @@ exports.UNIVERSAL_GATEWAY_V0 = [
|
|
|
364
59
|
{ name: 'to', type: 'address', internalType: 'address' },
|
|
365
60
|
{ name: 'value', type: 'uint256', internalType: 'uint256' },
|
|
366
61
|
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
367
|
-
{
|
|
368
|
-
|
|
369
|
-
type: 'uint256',
|
|
370
|
-
internalType: 'uint256',
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
name: 'maxFeePerGas',
|
|
374
|
-
type: 'uint256',
|
|
375
|
-
internalType: 'uint256',
|
|
376
|
-
},
|
|
62
|
+
{ name: 'gasLimit', type: 'uint256', internalType: 'uint256' },
|
|
63
|
+
{ name: 'maxFeePerGas', type: 'uint256', internalType: 'uint256' },
|
|
377
64
|
{
|
|
378
65
|
name: 'maxPriorityFeePerGas',
|
|
379
66
|
type: 'uint256',
|
|
380
67
|
internalType: 'uint256',
|
|
381
68
|
},
|
|
382
69
|
{ name: 'nonce', type: 'uint256', internalType: 'uint256' },
|
|
383
|
-
{
|
|
384
|
-
name: 'deadline',
|
|
385
|
-
type: 'uint256',
|
|
386
|
-
internalType: 'uint256',
|
|
387
|
-
},
|
|
70
|
+
{ name: 'deadline', type: 'uint256', internalType: 'uint256' },
|
|
388
71
|
{
|
|
389
72
|
name: 'vType',
|
|
390
73
|
type: 'uint8',
|
|
@@ -393,33 +76,29 @@ exports.UNIVERSAL_GATEWAY_V0 = [
|
|
|
393
76
|
],
|
|
394
77
|
},
|
|
395
78
|
{
|
|
396
|
-
name: '
|
|
79
|
+
name: 'revertCFG',
|
|
397
80
|
type: 'tuple',
|
|
398
|
-
internalType: 'struct
|
|
81
|
+
internalType: 'struct RevertSettings',
|
|
399
82
|
components: [
|
|
400
|
-
{
|
|
401
|
-
name: 'fundRecipient',
|
|
402
|
-
type: 'address',
|
|
403
|
-
internalType: 'address',
|
|
404
|
-
},
|
|
83
|
+
{ name: 'fundRecipient', type: 'address', internalType: 'address' },
|
|
405
84
|
{ name: 'revertMsg', type: 'bytes', internalType: 'bytes' },
|
|
406
85
|
],
|
|
407
86
|
},
|
|
408
87
|
{ name: 'signatureData', type: 'bytes', internalType: 'bytes' },
|
|
409
88
|
],
|
|
410
89
|
outputs: [],
|
|
411
|
-
stateMutability: '
|
|
90
|
+
stateMutability: 'payable',
|
|
412
91
|
},
|
|
413
92
|
{
|
|
414
93
|
type: 'function',
|
|
415
94
|
name: 'sendTxWithFunds',
|
|
416
95
|
inputs: [
|
|
417
96
|
{ name: 'bridgeToken', type: 'address', internalType: 'address' },
|
|
418
|
-
{
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
},
|
|
97
|
+
{ name: 'bridgeAmount', type: 'uint256', internalType: 'uint256' },
|
|
98
|
+
{ name: 'gasToken', type: 'address', internalType: 'address' },
|
|
99
|
+
{ name: 'gasAmount', type: 'uint256', internalType: 'uint256' },
|
|
100
|
+
{ name: 'amountOutMinETH', type: 'uint256', internalType: 'uint256' },
|
|
101
|
+
{ name: 'deadline', type: 'uint256', internalType: 'uint256' },
|
|
423
102
|
{
|
|
424
103
|
name: 'payload',
|
|
425
104
|
type: 'tuple',
|
|
@@ -428,27 +107,15 @@ exports.UNIVERSAL_GATEWAY_V0 = [
|
|
|
428
107
|
{ name: 'to', type: 'address', internalType: 'address' },
|
|
429
108
|
{ name: 'value', type: 'uint256', internalType: 'uint256' },
|
|
430
109
|
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
431
|
-
{
|
|
432
|
-
|
|
433
|
-
type: 'uint256',
|
|
434
|
-
internalType: 'uint256',
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
name: 'maxFeePerGas',
|
|
438
|
-
type: 'uint256',
|
|
439
|
-
internalType: 'uint256',
|
|
440
|
-
},
|
|
110
|
+
{ name: 'gasLimit', type: 'uint256', internalType: 'uint256' },
|
|
111
|
+
{ name: 'maxFeePerGas', type: 'uint256', internalType: 'uint256' },
|
|
441
112
|
{
|
|
442
113
|
name: 'maxPriorityFeePerGas',
|
|
443
114
|
type: 'uint256',
|
|
444
115
|
internalType: 'uint256',
|
|
445
116
|
},
|
|
446
117
|
{ name: 'nonce', type: 'uint256', internalType: 'uint256' },
|
|
447
|
-
{
|
|
448
|
-
name: 'deadline',
|
|
449
|
-
type: 'uint256',
|
|
450
|
-
internalType: 'uint256',
|
|
451
|
-
},
|
|
118
|
+
{ name: 'deadline', type: 'uint256', internalType: 'uint256' },
|
|
452
119
|
{
|
|
453
120
|
name: 'vType',
|
|
454
121
|
type: 'uint8',
|
|
@@ -457,717 +124,18 @@ exports.UNIVERSAL_GATEWAY_V0 = [
|
|
|
457
124
|
],
|
|
458
125
|
},
|
|
459
126
|
{
|
|
460
|
-
name: '
|
|
127
|
+
name: 'revertCFG',
|
|
461
128
|
type: 'tuple',
|
|
462
|
-
internalType: 'struct
|
|
129
|
+
internalType: 'struct RevertSettings',
|
|
463
130
|
components: [
|
|
464
|
-
{
|
|
465
|
-
name: 'fundRecipient',
|
|
466
|
-
type: 'address',
|
|
467
|
-
internalType: 'address',
|
|
468
|
-
},
|
|
131
|
+
{ name: 'fundRecipient', type: 'address', internalType: 'address' },
|
|
469
132
|
{ name: 'revertMsg', type: 'bytes', internalType: 'bytes' },
|
|
470
133
|
],
|
|
471
134
|
},
|
|
472
135
|
{ name: 'signatureData', type: 'bytes', internalType: 'bytes' },
|
|
473
136
|
],
|
|
474
137
|
outputs: [],
|
|
475
|
-
stateMutability: 'payable',
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
type: 'function',
|
|
479
|
-
name: 'sendTxWithGas',
|
|
480
|
-
inputs: [
|
|
481
|
-
{
|
|
482
|
-
name: 'payload',
|
|
483
|
-
type: 'tuple',
|
|
484
|
-
internalType: 'struct UniversalPayload',
|
|
485
|
-
components: [
|
|
486
|
-
{ name: 'to', type: 'address', internalType: 'address' },
|
|
487
|
-
{ name: 'value', type: 'uint256', internalType: 'uint256' },
|
|
488
|
-
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
489
|
-
{
|
|
490
|
-
name: 'gasLimit',
|
|
491
|
-
type: 'uint256',
|
|
492
|
-
internalType: 'uint256',
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
name: 'maxFeePerGas',
|
|
496
|
-
type: 'uint256',
|
|
497
|
-
internalType: 'uint256',
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
name: 'maxPriorityFeePerGas',
|
|
501
|
-
type: 'uint256',
|
|
502
|
-
internalType: 'uint256',
|
|
503
|
-
},
|
|
504
|
-
{ name: 'nonce', type: 'uint256', internalType: 'uint256' },
|
|
505
|
-
{
|
|
506
|
-
name: 'deadline',
|
|
507
|
-
type: 'uint256',
|
|
508
|
-
internalType: 'uint256',
|
|
509
|
-
},
|
|
510
|
-
{
|
|
511
|
-
name: 'vType',
|
|
512
|
-
type: 'uint8',
|
|
513
|
-
internalType: 'enum VerificationType',
|
|
514
|
-
},
|
|
515
|
-
],
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
name: 'revertInstruction',
|
|
519
|
-
type: 'tuple',
|
|
520
|
-
internalType: 'struct RevertInstructions',
|
|
521
|
-
components: [
|
|
522
|
-
{
|
|
523
|
-
name: 'fundRecipient',
|
|
524
|
-
type: 'address',
|
|
525
|
-
internalType: 'address',
|
|
526
|
-
},
|
|
527
|
-
{ name: 'revertMsg', type: 'bytes', internalType: 'bytes' },
|
|
528
|
-
],
|
|
529
|
-
},
|
|
530
|
-
{
|
|
531
|
-
name: 'signatureData',
|
|
532
|
-
type: 'bytes',
|
|
533
|
-
internalType: 'bytes',
|
|
534
|
-
},
|
|
535
|
-
],
|
|
536
|
-
outputs: [],
|
|
537
|
-
stateMutability: 'payable',
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
type: 'function',
|
|
541
|
-
name: 'sendTxWithGas',
|
|
542
|
-
inputs: [
|
|
543
|
-
{ name: 'tokenIn', type: 'address', internalType: 'address' },
|
|
544
|
-
{ name: 'amountIn', type: 'uint256', internalType: 'uint256' },
|
|
545
|
-
{
|
|
546
|
-
name: 'payload',
|
|
547
|
-
type: 'tuple',
|
|
548
|
-
internalType: 'struct UniversalPayload',
|
|
549
|
-
components: [
|
|
550
|
-
{ name: 'to', type: 'address', internalType: 'address' },
|
|
551
|
-
{ name: 'value', type: 'uint256', internalType: 'uint256' },
|
|
552
|
-
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
553
|
-
{
|
|
554
|
-
name: 'gasLimit',
|
|
555
|
-
type: 'uint256',
|
|
556
|
-
internalType: 'uint256',
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
name: 'maxFeePerGas',
|
|
560
|
-
type: 'uint256',
|
|
561
|
-
internalType: 'uint256',
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
name: 'maxPriorityFeePerGas',
|
|
565
|
-
type: 'uint256',
|
|
566
|
-
internalType: 'uint256',
|
|
567
|
-
},
|
|
568
|
-
{ name: 'nonce', type: 'uint256', internalType: 'uint256' },
|
|
569
|
-
{
|
|
570
|
-
name: 'deadline',
|
|
571
|
-
type: 'uint256',
|
|
572
|
-
internalType: 'uint256',
|
|
573
|
-
},
|
|
574
|
-
{
|
|
575
|
-
name: 'vType',
|
|
576
|
-
type: 'uint8',
|
|
577
|
-
internalType: 'enum VerificationType',
|
|
578
|
-
},
|
|
579
|
-
],
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
name: 'revertInstruction',
|
|
583
|
-
type: 'tuple',
|
|
584
|
-
internalType: 'struct RevertInstructions',
|
|
585
|
-
components: [
|
|
586
|
-
{
|
|
587
|
-
name: 'fundRecipient',
|
|
588
|
-
type: 'address',
|
|
589
|
-
internalType: 'address',
|
|
590
|
-
},
|
|
591
|
-
{ name: 'revertMsg', type: 'bytes', internalType: 'bytes' },
|
|
592
|
-
],
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
name: 'amountOutMinETH',
|
|
596
|
-
type: 'uint256',
|
|
597
|
-
internalType: 'uint256',
|
|
598
|
-
},
|
|
599
|
-
{ name: 'deadline', type: 'uint256', internalType: 'uint256' },
|
|
600
|
-
{
|
|
601
|
-
name: 'signatureData',
|
|
602
|
-
type: 'bytes',
|
|
603
|
-
internalType: 'bytes',
|
|
604
|
-
},
|
|
605
|
-
],
|
|
606
|
-
outputs: [],
|
|
607
|
-
stateMutability: 'nonpayable',
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
type: 'function',
|
|
611
|
-
name: 'setCapsUSD',
|
|
612
|
-
inputs: [
|
|
613
|
-
{ name: 'minCapUsd', type: 'uint256', internalType: 'uint256' },
|
|
614
|
-
{ name: 'maxCapUsd', type: 'uint256', internalType: 'uint256' },
|
|
615
|
-
],
|
|
616
|
-
outputs: [],
|
|
617
|
-
stateMutability: 'nonpayable',
|
|
618
|
-
},
|
|
619
|
-
{
|
|
620
|
-
type: 'function',
|
|
621
|
-
name: 'setChainlinkStalePeriod',
|
|
622
|
-
inputs: [
|
|
623
|
-
{
|
|
624
|
-
name: 'stalePeriodSec',
|
|
625
|
-
type: 'uint256',
|
|
626
|
-
internalType: 'uint256',
|
|
627
|
-
},
|
|
628
|
-
],
|
|
629
|
-
outputs: [],
|
|
630
|
-
stateMutability: 'nonpayable',
|
|
631
|
-
},
|
|
632
|
-
{
|
|
633
|
-
type: 'function',
|
|
634
|
-
name: 'setDefaultSwapDeadline',
|
|
635
|
-
inputs: [{ name: 'deadlineSec', type: 'uint256', internalType: 'uint256' }],
|
|
636
|
-
outputs: [],
|
|
637
|
-
stateMutability: 'nonpayable',
|
|
638
|
-
},
|
|
639
|
-
{
|
|
640
|
-
type: 'function',
|
|
641
|
-
name: 'setEthUsdFeed',
|
|
642
|
-
inputs: [{ name: 'feed', type: 'address', internalType: 'address' }],
|
|
643
|
-
outputs: [],
|
|
644
|
-
stateMutability: 'nonpayable',
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
type: 'function',
|
|
648
|
-
name: 'setL2SequencerFeed',
|
|
649
|
-
inputs: [{ name: 'feed', type: 'address', internalType: 'address' }],
|
|
650
|
-
outputs: [],
|
|
651
|
-
stateMutability: 'nonpayable',
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
type: 'function',
|
|
655
|
-
name: 'setL2SequencerGracePeriod',
|
|
656
|
-
inputs: [
|
|
657
|
-
{
|
|
658
|
-
name: 'gracePeriodSec',
|
|
659
|
-
type: 'uint256',
|
|
660
|
-
internalType: 'uint256',
|
|
661
|
-
},
|
|
662
|
-
],
|
|
663
|
-
outputs: [],
|
|
664
|
-
stateMutability: 'nonpayable',
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
type: 'function',
|
|
668
|
-
name: 'setRouters',
|
|
669
|
-
inputs: [
|
|
670
|
-
{ name: 'factory', type: 'address', internalType: 'address' },
|
|
671
|
-
{ name: 'router', type: 'address', internalType: 'address' },
|
|
672
|
-
],
|
|
673
|
-
outputs: [],
|
|
674
|
-
stateMutability: 'nonpayable',
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
type: 'function',
|
|
678
|
-
name: 'setTSSAddress',
|
|
679
|
-
inputs: [{ name: 'newTSS', type: 'address', internalType: 'address' }],
|
|
680
|
-
outputs: [],
|
|
681
|
-
stateMutability: 'nonpayable',
|
|
682
|
-
},
|
|
683
|
-
{
|
|
684
|
-
type: 'function',
|
|
685
|
-
name: 'setV3FeeOrder',
|
|
686
|
-
inputs: [
|
|
687
|
-
{ name: 'a', type: 'uint24', internalType: 'uint24' },
|
|
688
|
-
{ name: 'b', type: 'uint24', internalType: 'uint24' },
|
|
689
|
-
{ name: 'c', type: 'uint24', internalType: 'uint24' },
|
|
690
|
-
],
|
|
691
|
-
outputs: [],
|
|
692
|
-
stateMutability: 'nonpayable',
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
type: 'function',
|
|
696
|
-
name: 'supportsInterface',
|
|
697
|
-
inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }],
|
|
698
|
-
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
699
|
-
stateMutability: 'view',
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
type: 'function',
|
|
703
|
-
name: 'tssAddress',
|
|
704
|
-
inputs: [],
|
|
705
|
-
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
706
|
-
stateMutability: 'view',
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
type: 'function',
|
|
710
|
-
name: 'uniV3Factory',
|
|
711
|
-
inputs: [],
|
|
712
|
-
outputs: [
|
|
713
|
-
{
|
|
714
|
-
name: '',
|
|
715
|
-
type: 'address',
|
|
716
|
-
internalType: 'contract IUniswapV3Factory',
|
|
717
|
-
},
|
|
718
|
-
],
|
|
719
|
-
stateMutability: 'view',
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
type: 'function',
|
|
723
|
-
name: 'uniV3Router',
|
|
724
|
-
inputs: [],
|
|
725
|
-
outputs: [
|
|
726
|
-
{
|
|
727
|
-
name: '',
|
|
728
|
-
type: 'address',
|
|
729
|
-
internalType: 'contract ISwapRouterSepolia',
|
|
730
|
-
},
|
|
731
|
-
],
|
|
732
|
-
stateMutability: 'view',
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
type: 'function',
|
|
736
|
-
name: 'unpause',
|
|
737
|
-
inputs: [],
|
|
738
|
-
outputs: [],
|
|
739
|
-
stateMutability: 'nonpayable',
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
type: 'function',
|
|
743
|
-
name: 'usdtUsdPriceFeed',
|
|
744
|
-
inputs: [],
|
|
745
|
-
outputs: [
|
|
746
|
-
{
|
|
747
|
-
name: '',
|
|
748
|
-
type: 'address',
|
|
749
|
-
internalType: 'contract AggregatorV3Interface',
|
|
750
|
-
},
|
|
751
|
-
],
|
|
752
|
-
stateMutability: 'view',
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
type: 'function',
|
|
756
|
-
name: 'v3FeeOrder',
|
|
757
|
-
inputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
|
|
758
|
-
outputs: [{ name: '', type: 'uint24', internalType: 'uint24' }],
|
|
759
|
-
stateMutability: 'view',
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
type: 'function',
|
|
763
|
-
name: 'version',
|
|
764
|
-
inputs: [],
|
|
765
|
-
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
766
|
-
stateMutability: 'pure',
|
|
767
|
-
},
|
|
768
|
-
{
|
|
769
|
-
type: 'function',
|
|
770
|
-
name: 'withdrawFunds',
|
|
771
|
-
inputs: [
|
|
772
|
-
{ name: 'recipient', type: 'address', internalType: 'address' },
|
|
773
|
-
{ name: 'token', type: 'address', internalType: 'address' },
|
|
774
|
-
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
775
|
-
],
|
|
776
|
-
outputs: [],
|
|
777
138
|
stateMutability: 'nonpayable',
|
|
778
139
|
},
|
|
779
|
-
{
|
|
780
|
-
type: 'event',
|
|
781
|
-
name: 'CapsUpdated',
|
|
782
|
-
inputs: [
|
|
783
|
-
{
|
|
784
|
-
name: 'minCapUsd',
|
|
785
|
-
type: 'uint256',
|
|
786
|
-
indexed: false,
|
|
787
|
-
internalType: 'uint256',
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
name: 'maxCapUsd',
|
|
791
|
-
type: 'uint256',
|
|
792
|
-
indexed: false,
|
|
793
|
-
internalType: 'uint256',
|
|
794
|
-
},
|
|
795
|
-
],
|
|
796
|
-
anonymous: false,
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
type: 'event',
|
|
800
|
-
name: 'ChainlinkEthUsdFeedUpdated',
|
|
801
|
-
inputs: [
|
|
802
|
-
{
|
|
803
|
-
name: 'feed',
|
|
804
|
-
type: 'address',
|
|
805
|
-
indexed: true,
|
|
806
|
-
internalType: 'address',
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
name: 'decimals',
|
|
810
|
-
type: 'uint8',
|
|
811
|
-
indexed: false,
|
|
812
|
-
internalType: 'uint8',
|
|
813
|
-
},
|
|
814
|
-
],
|
|
815
|
-
anonymous: false,
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
type: 'event',
|
|
819
|
-
name: 'ChainlinkStalePeriodUpdated',
|
|
820
|
-
inputs: [
|
|
821
|
-
{
|
|
822
|
-
name: 'stalePeriodSec',
|
|
823
|
-
type: 'uint256',
|
|
824
|
-
indexed: false,
|
|
825
|
-
internalType: 'uint256',
|
|
826
|
-
},
|
|
827
|
-
],
|
|
828
|
-
anonymous: false,
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
type: 'event',
|
|
832
|
-
name: 'DefaultSwapDeadlineUpdated',
|
|
833
|
-
inputs: [
|
|
834
|
-
{
|
|
835
|
-
name: 'deadlineSec',
|
|
836
|
-
type: 'uint256',
|
|
837
|
-
indexed: false,
|
|
838
|
-
internalType: 'uint256',
|
|
839
|
-
},
|
|
840
|
-
],
|
|
841
|
-
anonymous: false,
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
type: 'event',
|
|
845
|
-
name: 'FundsAdded',
|
|
846
|
-
inputs: [
|
|
847
|
-
{
|
|
848
|
-
name: 'user',
|
|
849
|
-
type: 'address',
|
|
850
|
-
indexed: true,
|
|
851
|
-
internalType: 'address',
|
|
852
|
-
},
|
|
853
|
-
{
|
|
854
|
-
name: 'transactionHash',
|
|
855
|
-
type: 'bytes32',
|
|
856
|
-
indexed: true,
|
|
857
|
-
internalType: 'bytes32',
|
|
858
|
-
},
|
|
859
|
-
{
|
|
860
|
-
name: 'AmountInUSD',
|
|
861
|
-
type: 'tuple',
|
|
862
|
-
indexed: false,
|
|
863
|
-
internalType: 'struct UniversalGatewayV0.AmountInUSD',
|
|
864
|
-
components: [
|
|
865
|
-
{
|
|
866
|
-
name: 'amountInUSD',
|
|
867
|
-
type: 'uint256',
|
|
868
|
-
internalType: 'uint256',
|
|
869
|
-
},
|
|
870
|
-
{ name: 'decimals', type: 'uint8', internalType: 'uint8' },
|
|
871
|
-
],
|
|
872
|
-
},
|
|
873
|
-
],
|
|
874
|
-
anonymous: false,
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
type: 'event',
|
|
878
|
-
name: 'Initialized',
|
|
879
|
-
inputs: [
|
|
880
|
-
{
|
|
881
|
-
name: 'version',
|
|
882
|
-
type: 'uint64',
|
|
883
|
-
indexed: false,
|
|
884
|
-
internalType: 'uint64',
|
|
885
|
-
},
|
|
886
|
-
],
|
|
887
|
-
anonymous: false,
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
type: 'event',
|
|
891
|
-
name: 'L2SequencerFeedUpdated',
|
|
892
|
-
inputs: [
|
|
893
|
-
{
|
|
894
|
-
name: 'feed',
|
|
895
|
-
type: 'address',
|
|
896
|
-
indexed: true,
|
|
897
|
-
internalType: 'address',
|
|
898
|
-
},
|
|
899
|
-
],
|
|
900
|
-
anonymous: false,
|
|
901
|
-
},
|
|
902
|
-
{
|
|
903
|
-
type: 'event',
|
|
904
|
-
name: 'L2SequencerGracePeriodUpdated',
|
|
905
|
-
inputs: [
|
|
906
|
-
{
|
|
907
|
-
name: 'gracePeriodSec',
|
|
908
|
-
type: 'uint256',
|
|
909
|
-
indexed: false,
|
|
910
|
-
internalType: 'uint256',
|
|
911
|
-
},
|
|
912
|
-
],
|
|
913
|
-
anonymous: false,
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
type: 'event',
|
|
917
|
-
name: 'Paused',
|
|
918
|
-
inputs: [
|
|
919
|
-
{
|
|
920
|
-
name: 'account',
|
|
921
|
-
type: 'address',
|
|
922
|
-
indexed: false,
|
|
923
|
-
internalType: 'address',
|
|
924
|
-
},
|
|
925
|
-
],
|
|
926
|
-
anonymous: false,
|
|
927
|
-
},
|
|
928
|
-
{
|
|
929
|
-
type: 'event',
|
|
930
|
-
name: 'RoleAdminChanged',
|
|
931
|
-
inputs: [
|
|
932
|
-
{
|
|
933
|
-
name: 'role',
|
|
934
|
-
type: 'bytes32',
|
|
935
|
-
indexed: true,
|
|
936
|
-
internalType: 'bytes32',
|
|
937
|
-
},
|
|
938
|
-
{
|
|
939
|
-
name: 'previousAdminRole',
|
|
940
|
-
type: 'bytes32',
|
|
941
|
-
indexed: true,
|
|
942
|
-
internalType: 'bytes32',
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
name: 'newAdminRole',
|
|
946
|
-
type: 'bytes32',
|
|
947
|
-
indexed: true,
|
|
948
|
-
internalType: 'bytes32',
|
|
949
|
-
},
|
|
950
|
-
],
|
|
951
|
-
anonymous: false,
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
type: 'event',
|
|
955
|
-
name: 'RoleGranted',
|
|
956
|
-
inputs: [
|
|
957
|
-
{
|
|
958
|
-
name: 'role',
|
|
959
|
-
type: 'bytes32',
|
|
960
|
-
indexed: true,
|
|
961
|
-
internalType: 'bytes32',
|
|
962
|
-
},
|
|
963
|
-
{
|
|
964
|
-
name: 'account',
|
|
965
|
-
type: 'address',
|
|
966
|
-
indexed: true,
|
|
967
|
-
internalType: 'address',
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
name: 'sender',
|
|
971
|
-
type: 'address',
|
|
972
|
-
indexed: true,
|
|
973
|
-
internalType: 'address',
|
|
974
|
-
},
|
|
975
|
-
],
|
|
976
|
-
anonymous: false,
|
|
977
|
-
},
|
|
978
|
-
{
|
|
979
|
-
type: 'event',
|
|
980
|
-
name: 'RoleRevoked',
|
|
981
|
-
inputs: [
|
|
982
|
-
{
|
|
983
|
-
name: 'role',
|
|
984
|
-
type: 'bytes32',
|
|
985
|
-
indexed: true,
|
|
986
|
-
internalType: 'bytes32',
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
name: 'account',
|
|
990
|
-
type: 'address',
|
|
991
|
-
indexed: true,
|
|
992
|
-
internalType: 'address',
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
name: 'sender',
|
|
996
|
-
type: 'address',
|
|
997
|
-
indexed: true,
|
|
998
|
-
internalType: 'address',
|
|
999
|
-
},
|
|
1000
|
-
],
|
|
1001
|
-
anonymous: false,
|
|
1002
|
-
},
|
|
1003
|
-
{
|
|
1004
|
-
type: 'event',
|
|
1005
|
-
name: 'TSSAddressUpdated',
|
|
1006
|
-
inputs: [
|
|
1007
|
-
{
|
|
1008
|
-
name: 'oldTSS',
|
|
1009
|
-
type: 'address',
|
|
1010
|
-
indexed: false,
|
|
1011
|
-
internalType: 'address',
|
|
1012
|
-
},
|
|
1013
|
-
{
|
|
1014
|
-
name: 'newTSS',
|
|
1015
|
-
type: 'address',
|
|
1016
|
-
indexed: false,
|
|
1017
|
-
internalType: 'address',
|
|
1018
|
-
},
|
|
1019
|
-
],
|
|
1020
|
-
anonymous: false,
|
|
1021
|
-
},
|
|
1022
|
-
{
|
|
1023
|
-
type: 'event',
|
|
1024
|
-
name: 'TokenSupportModified',
|
|
1025
|
-
inputs: [
|
|
1026
|
-
{
|
|
1027
|
-
name: 'tokenAddress',
|
|
1028
|
-
type: 'address',
|
|
1029
|
-
indexed: false,
|
|
1030
|
-
internalType: 'address',
|
|
1031
|
-
},
|
|
1032
|
-
{
|
|
1033
|
-
name: 'whitelistStatus',
|
|
1034
|
-
type: 'bool',
|
|
1035
|
-
indexed: false,
|
|
1036
|
-
internalType: 'bool',
|
|
1037
|
-
},
|
|
1038
|
-
],
|
|
1039
|
-
anonymous: false,
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
type: 'event',
|
|
1043
|
-
name: 'UniversalTx',
|
|
1044
|
-
inputs: [
|
|
1045
|
-
{
|
|
1046
|
-
name: 'sender',
|
|
1047
|
-
type: 'address',
|
|
1048
|
-
indexed: true,
|
|
1049
|
-
internalType: 'address',
|
|
1050
|
-
},
|
|
1051
|
-
{
|
|
1052
|
-
name: 'recipient',
|
|
1053
|
-
type: 'address',
|
|
1054
|
-
indexed: true,
|
|
1055
|
-
internalType: 'address',
|
|
1056
|
-
},
|
|
1057
|
-
{
|
|
1058
|
-
name: 'token',
|
|
1059
|
-
type: 'address',
|
|
1060
|
-
indexed: false,
|
|
1061
|
-
internalType: 'address',
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
name: 'amount',
|
|
1065
|
-
type: 'uint256',
|
|
1066
|
-
indexed: false,
|
|
1067
|
-
internalType: 'uint256',
|
|
1068
|
-
},
|
|
1069
|
-
{
|
|
1070
|
-
name: 'payload',
|
|
1071
|
-
type: 'bytes',
|
|
1072
|
-
indexed: false,
|
|
1073
|
-
internalType: 'bytes',
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
name: 'revertInstruction',
|
|
1077
|
-
type: 'tuple',
|
|
1078
|
-
indexed: false,
|
|
1079
|
-
internalType: 'struct RevertInstructions',
|
|
1080
|
-
components: [
|
|
1081
|
-
{
|
|
1082
|
-
name: 'fundRecipient',
|
|
1083
|
-
type: 'address',
|
|
1084
|
-
internalType: 'address',
|
|
1085
|
-
},
|
|
1086
|
-
{ name: 'revertMsg', type: 'bytes', internalType: 'bytes' },
|
|
1087
|
-
],
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
name: 'txType',
|
|
1091
|
-
type: 'uint8',
|
|
1092
|
-
indexed: false,
|
|
1093
|
-
internalType: 'enum TX_TYPE',
|
|
1094
|
-
},
|
|
1095
|
-
{
|
|
1096
|
-
name: 'signatureData',
|
|
1097
|
-
type: 'bytes',
|
|
1098
|
-
indexed: false,
|
|
1099
|
-
internalType: 'bytes',
|
|
1100
|
-
},
|
|
1101
|
-
],
|
|
1102
|
-
anonymous: false,
|
|
1103
|
-
},
|
|
1104
|
-
{
|
|
1105
|
-
type: 'event',
|
|
1106
|
-
name: 'Unpaused',
|
|
1107
|
-
inputs: [
|
|
1108
|
-
{
|
|
1109
|
-
name: 'account',
|
|
1110
|
-
type: 'address',
|
|
1111
|
-
indexed: false,
|
|
1112
|
-
internalType: 'address',
|
|
1113
|
-
},
|
|
1114
|
-
],
|
|
1115
|
-
anonymous: false,
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
type: 'event',
|
|
1119
|
-
name: 'WithdrawFunds',
|
|
1120
|
-
inputs: [
|
|
1121
|
-
{
|
|
1122
|
-
name: 'recipient',
|
|
1123
|
-
type: 'address',
|
|
1124
|
-
indexed: true,
|
|
1125
|
-
internalType: 'address',
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
name: 'amount',
|
|
1129
|
-
type: 'uint256',
|
|
1130
|
-
indexed: false,
|
|
1131
|
-
internalType: 'uint256',
|
|
1132
|
-
},
|
|
1133
|
-
{
|
|
1134
|
-
name: 'tokenAddress',
|
|
1135
|
-
type: 'address',
|
|
1136
|
-
indexed: false,
|
|
1137
|
-
internalType: 'address',
|
|
1138
|
-
},
|
|
1139
|
-
],
|
|
1140
|
-
anonymous: false,
|
|
1141
|
-
},
|
|
1142
|
-
{ type: 'error', name: 'AccessControlBadConfirmation', inputs: [] },
|
|
1143
|
-
{
|
|
1144
|
-
type: 'error',
|
|
1145
|
-
name: 'AccessControlUnauthorizedAccount',
|
|
1146
|
-
inputs: [
|
|
1147
|
-
{ name: 'account', type: 'address', internalType: 'address' },
|
|
1148
|
-
{ name: 'neededRole', type: 'bytes32', internalType: 'bytes32' },
|
|
1149
|
-
],
|
|
1150
|
-
},
|
|
1151
|
-
{ type: 'error', name: 'DepositFailed', inputs: [] },
|
|
1152
|
-
{ type: 'error', name: 'EnforcedPause', inputs: [] },
|
|
1153
|
-
{ type: 'error', name: 'ExpectedPause', inputs: [] },
|
|
1154
|
-
{ type: 'error', name: 'InvalidAmount', inputs: [] },
|
|
1155
|
-
{ type: 'error', name: 'InvalidCapRange', inputs: [] },
|
|
1156
|
-
{ type: 'error', name: 'InvalidData', inputs: [] },
|
|
1157
|
-
{ type: 'error', name: 'InvalidInitialization', inputs: [] },
|
|
1158
|
-
{ type: 'error', name: 'InvalidInput', inputs: [] },
|
|
1159
|
-
{ type: 'error', name: 'InvalidRecipient', inputs: [] },
|
|
1160
|
-
{ type: 'error', name: 'InvalidTxType', inputs: [] },
|
|
1161
|
-
{ type: 'error', name: 'NotInitializing', inputs: [] },
|
|
1162
|
-
{ type: 'error', name: 'NotSupported', inputs: [] },
|
|
1163
|
-
{ type: 'error', name: 'ReentrancyGuardReentrantCall', inputs: [] },
|
|
1164
|
-
{
|
|
1165
|
-
type: 'error',
|
|
1166
|
-
name: 'SafeERC20FailedOperation',
|
|
1167
|
-
inputs: [{ name: 'token', type: 'address', internalType: 'address' }],
|
|
1168
|
-
},
|
|
1169
|
-
{ type: 'error', name: 'SlippageExceededOrExpired', inputs: [] },
|
|
1170
|
-
{ type: 'error', name: 'WithdrawFailed', inputs: [] },
|
|
1171
|
-
{ type: 'error', name: 'ZeroAddress', inputs: [] },
|
|
1172
140
|
];
|
|
1173
141
|
//# sourceMappingURL=universalGatewayV0.evm.js.map
|