1
1
export const swapArbitraryTokensAbi = [
2
- {
3
- inputs : [
4
- {
5
- internalType : 'address' ,
6
- name : '_devAddress' ,
7
- type : 'address' ,
8
- } ,
9
- {
10
- internalType : 'address' ,
11
- name : '_lockupAddress' ,
12
- type : 'address' ,
13
- } ,
14
- {
15
- internalType : 'address' ,
16
- name : '_sTokensAddress' ,
17
- type : 'address' ,
18
- } ,
19
- ] ,
20
- stateMutability : 'nonpayable' ,
21
- type : 'constructor' ,
22
- } ,
23
2
{
24
3
anonymous : false ,
25
4
inputs : [
@@ -45,6 +24,19 @@ export const swapArbitraryTokensAbi = [
45
24
name : 'Deposited' ,
46
25
type : 'event' ,
47
26
} ,
27
+ {
28
+ anonymous : false ,
29
+ inputs : [
30
+ {
31
+ indexed : false ,
32
+ internalType : 'uint8' ,
33
+ name : 'version' ,
34
+ type : 'uint8' ,
35
+ } ,
36
+ ] ,
37
+ name : 'Initialized' ,
38
+ type : 'event' ,
39
+ } ,
48
40
{
49
41
anonymous : false ,
50
42
inputs : [
@@ -197,6 +189,29 @@ export const swapArbitraryTokensAbi = [
197
189
stateMutability : 'nonpayable' ,
198
190
type : 'function' ,
199
191
} ,
192
+ {
193
+ inputs : [
194
+ {
195
+ internalType : 'address' ,
196
+ name : '_devAddress' ,
197
+ type : 'address' ,
198
+ } ,
199
+ {
200
+ internalType : 'address' ,
201
+ name : '_lockupAddress' ,
202
+ type : 'address' ,
203
+ } ,
204
+ {
205
+ internalType : 'address' ,
206
+ name : '_sTokensAddress' ,
207
+ type : 'address' ,
208
+ } ,
209
+ ] ,
210
+ name : 'initialize' ,
211
+ outputs : [ ] ,
212
+ stateMutability : 'nonpayable' ,
213
+ type : 'function' ,
214
+ } ,
200
215
{
201
216
inputs : [ ] ,
202
217
name : 'lockupAddress' ,
@@ -245,12 +260,12 @@ export const swapArbitraryTokensAbi = [
245
260
} ,
246
261
{
247
262
internalType : 'bytes' ,
248
- name : 'path ' ,
263
+ name : '_path ' ,
249
264
type : 'bytes' ,
250
265
} ,
251
266
{
252
267
internalType : 'address' ,
253
- name : 'property ' ,
268
+ name : '_property ' ,
254
269
type : 'address' ,
255
270
} ,
256
271
{
@@ -260,22 +275,22 @@ export const swapArbitraryTokensAbi = [
260
275
} ,
261
276
{
262
277
internalType : 'uint256' ,
263
- name : 'deadline ' ,
278
+ name : '_deadline ' ,
264
279
type : 'uint256' ,
265
280
} ,
266
281
{
267
282
internalType : 'bytes32' ,
268
- name : 'payload ' ,
283
+ name : '_payload ' ,
269
284
type : 'bytes32' ,
270
285
} ,
271
286
{
272
287
internalType : 'address payable' ,
273
- name : 'gatewayAddress ' ,
288
+ name : '_gatewayAddress ' ,
274
289
type : 'address' ,
275
290
} ,
276
291
{
277
292
internalType : 'uint256' ,
278
- name : 'gatewayFee ' ,
293
+ name : '_gatewayFee ' ,
279
294
type : 'uint256' ,
280
295
} ,
281
296
] ,
@@ -293,22 +308,22 @@ export const swapArbitraryTokensAbi = [
293
308
} ,
294
309
{
295
310
internalType : 'contract IERC20' ,
296
- name : 'token ' ,
311
+ name : '_token ' ,
297
312
type : 'address' ,
298
313
} ,
299
314
{
300
315
internalType : 'bytes' ,
301
- name : 'path ' ,
316
+ name : '_path ' ,
302
317
type : 'bytes' ,
303
318
} ,
304
319
{
305
320
internalType : 'address' ,
306
- name : 'property ' ,
321
+ name : '_property ' ,
307
322
type : 'address' ,
308
323
} ,
309
324
{
310
325
internalType : 'uint256' ,
311
- name : 'amount ' ,
326
+ name : '_amount ' ,
312
327
type : 'uint256' ,
313
328
} ,
314
329
{
@@ -318,22 +333,22 @@ export const swapArbitraryTokensAbi = [
318
333
} ,
319
334
{
320
335
internalType : 'uint256' ,
321
- name : 'deadline ' ,
336
+ name : '_deadline ' ,
322
337
type : 'uint256' ,
323
338
} ,
324
339
{
325
340
internalType : 'bytes32' ,
326
- name : 'payload ' ,
341
+ name : '_payload ' ,
327
342
type : 'bytes32' ,
328
343
} ,
329
344
{
330
345
internalType : 'address payable' ,
331
- name : 'gatewayAddress ' ,
346
+ name : '_gatewayAddress ' ,
332
347
type : 'address' ,
333
348
} ,
334
349
{
335
350
internalType : 'uint256' ,
336
- name : 'gatewayFee ' ,
351
+ name : '_gatewayFee ' ,
337
352
type : 'uint256' ,
338
353
} ,
339
354
] ,
@@ -351,12 +366,12 @@ export const swapArbitraryTokensAbi = [
351
366
} ,
352
367
{
353
368
internalType : 'bytes' ,
354
- name : 'path ' ,
369
+ name : '_path ' ,
355
370
type : 'bytes' ,
356
371
} ,
357
372
{
358
373
internalType : 'address' ,
359
- name : 'property ' ,
374
+ name : '_property ' ,
360
375
type : 'address' ,
361
376
} ,
362
377
{
@@ -366,12 +381,12 @@ export const swapArbitraryTokensAbi = [
366
381
} ,
367
382
{
368
383
internalType : 'uint256' ,
369
- name : 'deadline ' ,
384
+ name : '_deadline ' ,
370
385
type : 'uint256' ,
371
386
} ,
372
387
{
373
388
internalType : 'bytes32' ,
374
- name : 'payload ' ,
389
+ name : '_payload ' ,
375
390
type : 'bytes32' ,
376
391
} ,
377
392
] ,
@@ -389,22 +404,22 @@ export const swapArbitraryTokensAbi = [
389
404
} ,
390
405
{
391
406
internalType : 'contract IERC20' ,
392
- name : 'token ' ,
407
+ name : '_token ' ,
393
408
type : 'address' ,
394
409
} ,
395
410
{
396
411
internalType : 'bytes' ,
397
- name : 'path ' ,
412
+ name : '_path ' ,
398
413
type : 'bytes' ,
399
414
} ,
400
415
{
401
416
internalType : 'address' ,
402
- name : 'property ' ,
417
+ name : '_property ' ,
403
418
type : 'address' ,
404
419
} ,
405
420
{
406
421
internalType : 'uint256' ,
407
- name : 'amount ' ,
422
+ name : '_amount ' ,
408
423
type : 'uint256' ,
409
424
} ,
410
425
{
@@ -414,12 +429,12 @@ export const swapArbitraryTokensAbi = [
414
429
} ,
415
430
{
416
431
internalType : 'uint256' ,
417
- name : 'deadline ' ,
432
+ name : '_deadline ' ,
418
433
type : 'uint256' ,
419
434
} ,
420
435
{
421
436
internalType : 'bytes32' ,
422
- name : 'payload ' ,
437
+ name : '_payload ' ,
423
438
type : 'bytes32' ,
424
439
} ,
425
440
] ,
0 commit comments