web3-wizzard-lib 1.6.4__py3-none-any.whl → 1.6.5__py3-none-any.whl

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.
Files changed (107) hide show
  1. web3-wizzard-lib/core/modules/swap/swap_list.py +1 -1
  2. web3-wizzard-lib/launcher.py +1 -1
  3. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/METADATA +2 -2
  4. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/RECORD +7 -107
  5. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/top_level.txt +1 -0
  6. web3-wizzard-lib/resources/abi/aave.json +0 -282
  7. web3-wizzard-lib/resources/abi/abbysworld.json +0 -1113
  8. web3-wizzard-lib/resources/abi/arena_games.json +0 -15
  9. web3-wizzard-lib/resources/abi/asmatch.json +0 -1113
  10. web3-wizzard-lib/resources/abi/basiliks.json +0 -1467
  11. web3-wizzard-lib/resources/abi/bilinear.json +0 -1375
  12. web3-wizzard-lib/resources/abi/bungee.json +0 -525
  13. web3-wizzard-lib/resources/abi/coredao.json +0 -1068
  14. web3-wizzard-lib/resources/abi/coredao_bridge.json +0 -1012
  15. web3-wizzard-lib/resources/abi/dmail.json +0 -964
  16. web3-wizzard-lib/resources/abi/empty_nft.json +0 -1131
  17. web3-wizzard-lib/resources/abi/era_ns.json +0 -878
  18. web3-wizzard-lib/resources/abi/eralend.json +0 -1221
  19. web3-wizzard-lib/resources/abi/erc20.json +0 -801
  20. web3-wizzard-lib/resources/abi/erc20_test.json +0 -337
  21. web3-wizzard-lib/resources/abi/eth_scroll_bridge.json +0 -675
  22. web3-wizzard-lib/resources/abi/frog_war_contract.json +0 -1943
  23. web3-wizzard-lib/resources/abi/gmx_reward_router.json +0 -749
  24. web3-wizzard-lib/resources/abi/horizondex.json +0 -413
  25. web3-wizzard-lib/resources/abi/horizondex_quoter.json +0 -273
  26. web3-wizzard-lib/resources/abi/imagine.json +0 -457
  27. web3-wizzard-lib/resources/abi/izumi.json +0 -532
  28. web3-wizzard-lib/resources/abi/kreatorland.json +0 -500
  29. web3-wizzard-lib/resources/abi/layerbank.json +0 -1240
  30. web3-wizzard-lib/resources/abi/layerbank_price.json +0 -354
  31. web3-wizzard-lib/resources/abi/layerbank_token.json +0 -1124
  32. web3-wizzard-lib/resources/abi/linea_day_2.json +0 -933
  33. web3-wizzard-lib/resources/abi/linea_day_3.json +0 -1804
  34. web3-wizzard-lib/resources/abi/linea_ens_names.json +0 -1000
  35. web3-wizzard-lib/resources/abi/lineaswap_router.json +0 -973
  36. web3-wizzard-lib/resources/abi/maverick_ipool.json +0 -942
  37. web3-wizzard-lib/resources/abi/maverick_multicall.json +0 -1082
  38. web3-wizzard-lib/resources/abi/mendi_token.json +0 -1690
  39. web3-wizzard-lib/resources/abi/merkly.json +0 -787
  40. web3-wizzard-lib/resources/abi/micro3.json +0 -1054
  41. web3-wizzard-lib/resources/abi/mute_router.json +0 -856
  42. web3-wizzard-lib/resources/abi/new_rage_abi.json +0 -1944
  43. web3-wizzard-lib/resources/abi/nidus.json +0 -1017
  44. web3-wizzard-lib/resources/abi/nile_pool.json +0 -1313
  45. web3-wizzard-lib/resources/abi/nomis.json +0 -1601
  46. web3-wizzard-lib/resources/abi/nomis_attest.json +0 -710
  47. web3-wizzard-lib/resources/abi/octomos.json +0 -408
  48. web3-wizzard-lib/resources/abi/omnisea.json +0 -175
  49. web3-wizzard-lib/resources/abi/orbiter_starknet.json +0 -48
  50. web3-wizzard-lib/resources/abi/pancake/factory.json +0 -450
  51. web3-wizzard-lib/resources/abi/pancake/pool.json +0 -713
  52. web3-wizzard-lib/resources/abi/pancake/quoter.json +0 -285
  53. web3-wizzard-lib/resources/abi/pancake/router.json +0 -1271
  54. web3-wizzard-lib/resources/abi/rage_claim.json +0 -218
  55. web3-wizzard-lib/resources/abi/reactor_fusion.json +0 -1479
  56. web3-wizzard-lib/resources/abi/readon.json +0 -71
  57. web3-wizzard-lib/resources/abi/rubyscore.json +0 -698
  58. web3-wizzard-lib/resources/abi/satoshi_universe.json +0 -301
  59. web3-wizzard-lib/resources/abi/scroll_bridge.json +0 -666
  60. web3-wizzard-lib/resources/abi/scroll_canvas_mint.json +0 -602
  61. web3-wizzard-lib/resources/abi/scroll_oracle.json +0 -714
  62. web3-wizzard-lib/resources/abi/snap.json +0 -622
  63. web3-wizzard-lib/resources/abi/socialscan.json +0 -884
  64. web3-wizzard-lib/resources/abi/stargate_farming.json +0 -494
  65. web3-wizzard-lib/resources/abi/stargate_router.json +0 -1341
  66. web3-wizzard-lib/resources/abi/stargate_swapETH_abi.json +0 -106
  67. web3-wizzard-lib/resources/abi/stargate_token_pool.json +0 -1940
  68. web3-wizzard-lib/resources/abi/stargate_v2.json +0 -1936
  69. web3-wizzard-lib/resources/abi/syncswap_classic_pool.json +0 -151
  70. web3-wizzard-lib/resources/abi/syncswap_classic_pool_factory.json +0 -151
  71. web3-wizzard-lib/resources/abi/syncswap_pool.json +0 -924
  72. web3-wizzard-lib/resources/abi/syncswap_router.json +0 -1178
  73. web3-wizzard-lib/resources/abi/syncswap_stable_pool.json +0 -950
  74. web3-wizzard-lib/resources/abi/tavaera.json +0 -586
  75. web3-wizzard-lib/resources/abi/tavaera_id.json +0 -724
  76. web3-wizzard-lib/resources/abi/townstory.json +0 -391
  77. web3-wizzard-lib/resources/abi/townstory_bonus.json +0 -279
  78. web3-wizzard-lib/resources/abi/uniswap_abi.json +0 -193
  79. web3-wizzard-lib/resources/abi/velocore.json +0 -1008
  80. web3-wizzard-lib/resources/abi/velocore_lens.json +0 -1030
  81. web3-wizzard-lib/resources/abi/velocore_pool.json +0 -490
  82. web3-wizzard-lib/resources/abi/velocore_vault.json +0 -1272
  83. web3-wizzard-lib/resources/abi/weth.json +0 -279
  84. web3-wizzard-lib/resources/abi/woofi.json +0 -400
  85. web3-wizzard-lib/resources/abi/yoddlo.json +0 -67
  86. web3-wizzard-lib/resources/abi/zebra.json +0 -1075
  87. web3-wizzard-lib/resources/abi/zerolend.json +0 -282
  88. web3-wizzard-lib/resources/abi/zerolend_liquidity.json +0 -1038
  89. web3-wizzard-lib/resources/abi/zkdx_data.json +0 -436
  90. web3-wizzard-lib/resources/abi/zks.json +0 -671
  91. web3-wizzard-lib/resources/banner.txt +0 -7
  92. web3-wizzard-lib/resources/goerli/contracts.json +0 -48
  93. web3-wizzard-lib/resources/goerli/networks.json +0 -139
  94. web3-wizzard-lib/resources/goerli/pairs.json +0 -113
  95. web3-wizzard-lib/resources/goerli/tokens.json +0 -40
  96. web3-wizzard-lib/resources/linea_appeal.txt +0 -0
  97. web3-wizzard-lib/resources/local/contracts.json +0 -150
  98. web3-wizzard-lib/resources/local/networks.json +0 -119
  99. web3-wizzard-lib/resources/local/pairs.json +0 -451
  100. web3-wizzard-lib/resources/local/tokens.json +0 -88
  101. web3-wizzard-lib/resources/main/contracts.json +0 -231
  102. web3-wizzard-lib/resources/main/networks.json +0 -272
  103. web3-wizzard-lib/resources/main/pairs.json +0 -516
  104. web3-wizzard-lib/resources/main/tokens.json +0 -119
  105. web3-wizzard-lib/resources/verify_data.json +0 -1243
  106. {web3_wizzard_lib-1.6.4.data → web3_wizzard_lib-1.6.5.data}/data/requirements.txt +0 -0
  107. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.5.dist-info}/WHEEL +0 -0
@@ -1,1341 +0,0 @@
1
- [
2
- {
3
- "inputs": [],
4
- "stateMutability": "nonpayable",
5
- "type": "constructor"
6
- },
7
- {
8
- "anonymous": false,
9
- "inputs": [
10
- {
11
- "indexed": false,
12
- "internalType": "uint16",
13
- "name": "chainId",
14
- "type": "uint16"
15
- },
16
- {
17
- "indexed": false,
18
- "internalType": "bytes",
19
- "name": "srcAddress",
20
- "type": "bytes"
21
- },
22
- {
23
- "indexed": false,
24
- "internalType": "uint256",
25
- "name": "nonce",
26
- "type": "uint256"
27
- },
28
- {
29
- "indexed": false,
30
- "internalType": "address",
31
- "name": "token",
32
- "type": "address"
33
- },
34
- {
35
- "indexed": false,
36
- "internalType": "uint256",
37
- "name": "amountLD",
38
- "type": "uint256"
39
- },
40
- {
41
- "indexed": false,
42
- "internalType": "address",
43
- "name": "to",
44
- "type": "address"
45
- },
46
- {
47
- "indexed": false,
48
- "internalType": "bytes",
49
- "name": "payload",
50
- "type": "bytes"
51
- },
52
- {
53
- "indexed": false,
54
- "internalType": "bytes",
55
- "name": "reason",
56
- "type": "bytes"
57
- }
58
- ],
59
- "name": "CachedSwapSaved",
60
- "type": "event"
61
- },
62
- {
63
- "anonymous": false,
64
- "inputs": [
65
- {
66
- "indexed": true,
67
- "internalType": "address",
68
- "name": "previousOwner",
69
- "type": "address"
70
- },
71
- {
72
- "indexed": true,
73
- "internalType": "address",
74
- "name": "newOwner",
75
- "type": "address"
76
- }
77
- ],
78
- "name": "OwnershipTransferred",
79
- "type": "event"
80
- },
81
- {
82
- "anonymous": false,
83
- "inputs": [
84
- {
85
- "indexed": false,
86
- "internalType": "uint16",
87
- "name": "srcChainId",
88
- "type": "uint16"
89
- },
90
- {
91
- "indexed": true,
92
- "internalType": "bytes",
93
- "name": "srcAddress",
94
- "type": "bytes"
95
- },
96
- {
97
- "indexed": true,
98
- "internalType": "uint256",
99
- "name": "nonce",
100
- "type": "uint256"
101
- },
102
- {
103
- "indexed": false,
104
- "internalType": "uint256",
105
- "name": "srcPoolId",
106
- "type": "uint256"
107
- },
108
- {
109
- "indexed": false,
110
- "internalType": "uint256",
111
- "name": "dstPoolId",
112
- "type": "uint256"
113
- },
114
- {
115
- "indexed": false,
116
- "internalType": "address",
117
- "name": "to",
118
- "type": "address"
119
- },
120
- {
121
- "indexed": false,
122
- "internalType": "uint256",
123
- "name": "amountSD",
124
- "type": "uint256"
125
- },
126
- {
127
- "indexed": false,
128
- "internalType": "uint256",
129
- "name": "mintAmountSD",
130
- "type": "uint256"
131
- }
132
- ],
133
- "name": "RedeemLocalCallback",
134
- "type": "event"
135
- },
136
- {
137
- "anonymous": false,
138
- "inputs": [
139
- {
140
- "indexed": false,
141
- "internalType": "uint8",
142
- "name": "bridgeFunctionType",
143
- "type": "uint8"
144
- },
145
- {
146
- "indexed": false,
147
- "internalType": "uint16",
148
- "name": "chainId",
149
- "type": "uint16"
150
- },
151
- {
152
- "indexed": false,
153
- "internalType": "bytes",
154
- "name": "srcAddress",
155
- "type": "bytes"
156
- },
157
- {
158
- "indexed": false,
159
- "internalType": "uint256",
160
- "name": "nonce",
161
- "type": "uint256"
162
- }
163
- ],
164
- "name": "Revert",
165
- "type": "event"
166
- },
167
- {
168
- "anonymous": false,
169
- "inputs": [
170
- {
171
- "indexed": false,
172
- "internalType": "uint16",
173
- "name": "srcChainId",
174
- "type": "uint16"
175
- },
176
- {
177
- "indexed": false,
178
- "internalType": "uint256",
179
- "name": "_srcPoolId",
180
- "type": "uint256"
181
- },
182
- {
183
- "indexed": false,
184
- "internalType": "uint256",
185
- "name": "_dstPoolId",
186
- "type": "uint256"
187
- },
188
- {
189
- "indexed": false,
190
- "internalType": "bytes",
191
- "name": "to",
192
- "type": "bytes"
193
- },
194
- {
195
- "indexed": false,
196
- "internalType": "uint256",
197
- "name": "redeemAmountSD",
198
- "type": "uint256"
199
- },
200
- {
201
- "indexed": false,
202
- "internalType": "uint256",
203
- "name": "mintAmountSD",
204
- "type": "uint256"
205
- },
206
- {
207
- "indexed": true,
208
- "internalType": "uint256",
209
- "name": "nonce",
210
- "type": "uint256"
211
- },
212
- {
213
- "indexed": true,
214
- "internalType": "bytes",
215
- "name": "srcAddress",
216
- "type": "bytes"
217
- }
218
- ],
219
- "name": "RevertRedeemLocal",
220
- "type": "event"
221
- },
222
- {
223
- "inputs": [
224
- {
225
- "internalType": "uint256",
226
- "name": "_poolId",
227
- "type": "uint256"
228
- },
229
- {
230
- "internalType": "uint16",
231
- "name": "_dstChainId",
232
- "type": "uint16"
233
- },
234
- {
235
- "internalType": "uint256",
236
- "name": "_dstPoolId",
237
- "type": "uint256"
238
- }
239
- ],
240
- "name": "activateChainPath",
241
- "outputs": [],
242
- "stateMutability": "nonpayable",
243
- "type": "function"
244
- },
245
- {
246
- "inputs": [
247
- {
248
- "internalType": "uint256",
249
- "name": "_poolId",
250
- "type": "uint256"
251
- },
252
- {
253
- "internalType": "uint256",
254
- "name": "_amountLD",
255
- "type": "uint256"
256
- },
257
- {
258
- "internalType": "address",
259
- "name": "_to",
260
- "type": "address"
261
- }
262
- ],
263
- "name": "addLiquidity",
264
- "outputs": [],
265
- "stateMutability": "nonpayable",
266
- "type": "function"
267
- },
268
- {
269
- "inputs": [],
270
- "name": "bridge",
271
- "outputs": [
272
- {
273
- "internalType": "contract Bridge",
274
- "name": "",
275
- "type": "address"
276
- }
277
- ],
278
- "stateMutability": "view",
279
- "type": "function"
280
- },
281
- {
282
- "inputs": [
283
- {
284
- "internalType": "uint16",
285
- "name": "",
286
- "type": "uint16"
287
- },
288
- {
289
- "internalType": "bytes",
290
- "name": "",
291
- "type": "bytes"
292
- },
293
- {
294
- "internalType": "uint256",
295
- "name": "",
296
- "type": "uint256"
297
- }
298
- ],
299
- "name": "cachedSwapLookup",
300
- "outputs": [
301
- {
302
- "internalType": "address",
303
- "name": "token",
304
- "type": "address"
305
- },
306
- {
307
- "internalType": "uint256",
308
- "name": "amountLD",
309
- "type": "uint256"
310
- },
311
- {
312
- "internalType": "address",
313
- "name": "to",
314
- "type": "address"
315
- },
316
- {
317
- "internalType": "bytes",
318
- "name": "payload",
319
- "type": "bytes"
320
- }
321
- ],
322
- "stateMutability": "view",
323
- "type": "function"
324
- },
325
- {
326
- "inputs": [
327
- {
328
- "internalType": "uint256",
329
- "name": "_poolId",
330
- "type": "uint256"
331
- },
332
- {
333
- "internalType": "bool",
334
- "name": "_fullMode",
335
- "type": "bool"
336
- }
337
- ],
338
- "name": "callDelta",
339
- "outputs": [],
340
- "stateMutability": "nonpayable",
341
- "type": "function"
342
- },
343
- {
344
- "inputs": [
345
- {
346
- "internalType": "uint16",
347
- "name": "_srcChainId",
348
- "type": "uint16"
349
- },
350
- {
351
- "internalType": "bytes",
352
- "name": "_srcAddress",
353
- "type": "bytes"
354
- },
355
- {
356
- "internalType": "uint256",
357
- "name": "_nonce",
358
- "type": "uint256"
359
- }
360
- ],
361
- "name": "clearCachedSwap",
362
- "outputs": [],
363
- "stateMutability": "nonpayable",
364
- "type": "function"
365
- },
366
- {
367
- "inputs": [
368
- {
369
- "internalType": "uint256",
370
- "name": "_poolId",
371
- "type": "uint256"
372
- },
373
- {
374
- "internalType": "uint16",
375
- "name": "_dstChainId",
376
- "type": "uint16"
377
- },
378
- {
379
- "internalType": "uint256",
380
- "name": "_dstPoolId",
381
- "type": "uint256"
382
- },
383
- {
384
- "internalType": "uint256",
385
- "name": "_weight",
386
- "type": "uint256"
387
- }
388
- ],
389
- "name": "createChainPath",
390
- "outputs": [],
391
- "stateMutability": "nonpayable",
392
- "type": "function"
393
- },
394
- {
395
- "inputs": [
396
- {
397
- "internalType": "uint256",
398
- "name": "_poolId",
399
- "type": "uint256"
400
- },
401
- {
402
- "internalType": "address",
403
- "name": "_token",
404
- "type": "address"
405
- },
406
- {
407
- "internalType": "uint8",
408
- "name": "_sharedDecimals",
409
- "type": "uint8"
410
- },
411
- {
412
- "internalType": "uint8",
413
- "name": "_localDecimals",
414
- "type": "uint8"
415
- },
416
- {
417
- "internalType": "string",
418
- "name": "_name",
419
- "type": "string"
420
- },
421
- {
422
- "internalType": "string",
423
- "name": "_symbol",
424
- "type": "string"
425
- }
426
- ],
427
- "name": "createPool",
428
- "outputs": [
429
- {
430
- "internalType": "address",
431
- "name": "",
432
- "type": "address"
433
- }
434
- ],
435
- "stateMutability": "nonpayable",
436
- "type": "function"
437
- },
438
- {
439
- "inputs": [
440
- {
441
- "internalType": "uint16",
442
- "name": "_dstChainId",
443
- "type": "uint16"
444
- },
445
- {
446
- "internalType": "uint256",
447
- "name": "_dstPoolId",
448
- "type": "uint256"
449
- },
450
- {
451
- "internalType": "uint256",
452
- "name": "_srcPoolId",
453
- "type": "uint256"
454
- },
455
- {
456
- "components": [
457
- {
458
- "internalType": "uint256",
459
- "name": "credits",
460
- "type": "uint256"
461
- },
462
- {
463
- "internalType": "uint256",
464
- "name": "idealBalance",
465
- "type": "uint256"
466
- }
467
- ],
468
- "internalType": "struct Pool.CreditObj",
469
- "name": "_c",
470
- "type": "tuple"
471
- }
472
- ],
473
- "name": "creditChainPath",
474
- "outputs": [],
475
- "stateMutability": "nonpayable",
476
- "type": "function"
477
- },
478
- {
479
- "inputs": [],
480
- "name": "factory",
481
- "outputs": [
482
- {
483
- "internalType": "contract Factory",
484
- "name": "",
485
- "type": "address"
486
- }
487
- ],
488
- "stateMutability": "view",
489
- "type": "function"
490
- },
491
- {
492
- "inputs": [
493
- {
494
- "internalType": "uint16",
495
- "name": "_srcPoolId",
496
- "type": "uint16"
497
- },
498
- {
499
- "internalType": "uint256",
500
- "name": "_amountLP",
501
- "type": "uint256"
502
- },
503
- {
504
- "internalType": "address",
505
- "name": "_to",
506
- "type": "address"
507
- }
508
- ],
509
- "name": "instantRedeemLocal",
510
- "outputs": [
511
- {
512
- "internalType": "uint256",
513
- "name": "amountSD",
514
- "type": "uint256"
515
- }
516
- ],
517
- "stateMutability": "nonpayable",
518
- "type": "function"
519
- },
520
- {
521
- "inputs": [],
522
- "name": "mintFeeOwner",
523
- "outputs": [
524
- {
525
- "internalType": "address",
526
- "name": "",
527
- "type": "address"
528
- }
529
- ],
530
- "stateMutability": "view",
531
- "type": "function"
532
- },
533
- {
534
- "inputs": [],
535
- "name": "owner",
536
- "outputs": [
537
- {
538
- "internalType": "address",
539
- "name": "",
540
- "type": "address"
541
- }
542
- ],
543
- "stateMutability": "view",
544
- "type": "function"
545
- },
546
- {
547
- "inputs": [],
548
- "name": "protocolFeeOwner",
549
- "outputs": [
550
- {
551
- "internalType": "address",
552
- "name": "",
553
- "type": "address"
554
- }
555
- ],
556
- "stateMutability": "view",
557
- "type": "function"
558
- },
559
- {
560
- "inputs": [
561
- {
562
- "internalType": "uint16",
563
- "name": "_dstChainId",
564
- "type": "uint16"
565
- },
566
- {
567
- "internalType": "uint8",
568
- "name": "_functionType",
569
- "type": "uint8"
570
- },
571
- {
572
- "internalType": "bytes",
573
- "name": "_toAddress",
574
- "type": "bytes"
575
- },
576
- {
577
- "internalType": "bytes",
578
- "name": "_transferAndCallPayload",
579
- "type": "bytes"
580
- },
581
- {
582
- "components": [
583
- {
584
- "internalType": "uint256",
585
- "name": "dstGasForCall",
586
- "type": "uint256"
587
- },
588
- {
589
- "internalType": "uint256",
590
- "name": "dstNativeAmount",
591
- "type": "uint256"
592
- },
593
- {
594
- "internalType": "bytes",
595
- "name": "dstNativeAddr",
596
- "type": "bytes"
597
- }
598
- ],
599
- "internalType": "struct IStargateRouter.lzTxObj",
600
- "name": "_lzTxParams",
601
- "type": "tuple"
602
- }
603
- ],
604
- "name": "quoteLayerZeroFee",
605
- "outputs": [
606
- {
607
- "internalType": "uint256",
608
- "name": "",
609
- "type": "uint256"
610
- },
611
- {
612
- "internalType": "uint256",
613
- "name": "",
614
- "type": "uint256"
615
- }
616
- ],
617
- "stateMutability": "view",
618
- "type": "function"
619
- },
620
- {
621
- "inputs": [
622
- {
623
- "internalType": "uint16",
624
- "name": "_dstChainId",
625
- "type": "uint16"
626
- },
627
- {
628
- "internalType": "uint256",
629
- "name": "_srcPoolId",
630
- "type": "uint256"
631
- },
632
- {
633
- "internalType": "uint256",
634
- "name": "_dstPoolId",
635
- "type": "uint256"
636
- },
637
- {
638
- "internalType": "address payable",
639
- "name": "_refundAddress",
640
- "type": "address"
641
- },
642
- {
643
- "internalType": "uint256",
644
- "name": "_amountLP",
645
- "type": "uint256"
646
- },
647
- {
648
- "internalType": "bytes",
649
- "name": "_to",
650
- "type": "bytes"
651
- },
652
- {
653
- "components": [
654
- {
655
- "internalType": "uint256",
656
- "name": "dstGasForCall",
657
- "type": "uint256"
658
- },
659
- {
660
- "internalType": "uint256",
661
- "name": "dstNativeAmount",
662
- "type": "uint256"
663
- },
664
- {
665
- "internalType": "bytes",
666
- "name": "dstNativeAddr",
667
- "type": "bytes"
668
- }
669
- ],
670
- "internalType": "struct IStargateRouter.lzTxObj",
671
- "name": "_lzTxParams",
672
- "type": "tuple"
673
- }
674
- ],
675
- "name": "redeemLocal",
676
- "outputs": [],
677
- "stateMutability": "payable",
678
- "type": "function"
679
- },
680
- {
681
- "inputs": [
682
- {
683
- "internalType": "uint16",
684
- "name": "_srcChainId",
685
- "type": "uint16"
686
- },
687
- {
688
- "internalType": "bytes",
689
- "name": "_srcAddress",
690
- "type": "bytes"
691
- },
692
- {
693
- "internalType": "uint256",
694
- "name": "_nonce",
695
- "type": "uint256"
696
- },
697
- {
698
- "internalType": "uint256",
699
- "name": "_srcPoolId",
700
- "type": "uint256"
701
- },
702
- {
703
- "internalType": "uint256",
704
- "name": "_dstPoolId",
705
- "type": "uint256"
706
- },
707
- {
708
- "internalType": "address",
709
- "name": "_to",
710
- "type": "address"
711
- },
712
- {
713
- "internalType": "uint256",
714
- "name": "_amountSD",
715
- "type": "uint256"
716
- },
717
- {
718
- "internalType": "uint256",
719
- "name": "_mintAmountSD",
720
- "type": "uint256"
721
- }
722
- ],
723
- "name": "redeemLocalCallback",
724
- "outputs": [],
725
- "stateMutability": "nonpayable",
726
- "type": "function"
727
- },
728
- {
729
- "inputs": [
730
- {
731
- "internalType": "uint16",
732
- "name": "_srcChainId",
733
- "type": "uint16"
734
- },
735
- {
736
- "internalType": "bytes",
737
- "name": "_srcAddress",
738
- "type": "bytes"
739
- },
740
- {
741
- "internalType": "uint256",
742
- "name": "_nonce",
743
- "type": "uint256"
744
- },
745
- {
746
- "internalType": "uint256",
747
- "name": "_srcPoolId",
748
- "type": "uint256"
749
- },
750
- {
751
- "internalType": "uint256",
752
- "name": "_dstPoolId",
753
- "type": "uint256"
754
- },
755
- {
756
- "internalType": "uint256",
757
- "name": "_amountSD",
758
- "type": "uint256"
759
- },
760
- {
761
- "internalType": "bytes",
762
- "name": "_to",
763
- "type": "bytes"
764
- }
765
- ],
766
- "name": "redeemLocalCheckOnRemote",
767
- "outputs": [],
768
- "stateMutability": "nonpayable",
769
- "type": "function"
770
- },
771
- {
772
- "inputs": [
773
- {
774
- "internalType": "uint16",
775
- "name": "_dstChainId",
776
- "type": "uint16"
777
- },
778
- {
779
- "internalType": "uint256",
780
- "name": "_srcPoolId",
781
- "type": "uint256"
782
- },
783
- {
784
- "internalType": "uint256",
785
- "name": "_dstPoolId",
786
- "type": "uint256"
787
- },
788
- {
789
- "internalType": "address payable",
790
- "name": "_refundAddress",
791
- "type": "address"
792
- },
793
- {
794
- "internalType": "uint256",
795
- "name": "_amountLP",
796
- "type": "uint256"
797
- },
798
- {
799
- "internalType": "uint256",
800
- "name": "_minAmountLD",
801
- "type": "uint256"
802
- },
803
- {
804
- "internalType": "bytes",
805
- "name": "_to",
806
- "type": "bytes"
807
- },
808
- {
809
- "components": [
810
- {
811
- "internalType": "uint256",
812
- "name": "dstGasForCall",
813
- "type": "uint256"
814
- },
815
- {
816
- "internalType": "uint256",
817
- "name": "dstNativeAmount",
818
- "type": "uint256"
819
- },
820
- {
821
- "internalType": "bytes",
822
- "name": "dstNativeAddr",
823
- "type": "bytes"
824
- }
825
- ],
826
- "internalType": "struct IStargateRouter.lzTxObj",
827
- "name": "_lzTxParams",
828
- "type": "tuple"
829
- }
830
- ],
831
- "name": "redeemRemote",
832
- "outputs": [],
833
- "stateMutability": "payable",
834
- "type": "function"
835
- },
836
- {
837
- "inputs": [],
838
- "name": "renounceOwnership",
839
- "outputs": [],
840
- "stateMutability": "nonpayable",
841
- "type": "function"
842
- },
843
- {
844
- "inputs": [
845
- {
846
- "internalType": "uint16",
847
- "name": "_srcChainId",
848
- "type": "uint16"
849
- },
850
- {
851
- "internalType": "bytes",
852
- "name": "_srcAddress",
853
- "type": "bytes"
854
- },
855
- {
856
- "internalType": "uint256",
857
- "name": "_nonce",
858
- "type": "uint256"
859
- }
860
- ],
861
- "name": "retryRevert",
862
- "outputs": [],
863
- "stateMutability": "payable",
864
- "type": "function"
865
- },
866
- {
867
- "inputs": [
868
- {
869
- "internalType": "uint16",
870
- "name": "",
871
- "type": "uint16"
872
- },
873
- {
874
- "internalType": "bytes",
875
- "name": "",
876
- "type": "bytes"
877
- },
878
- {
879
- "internalType": "uint256",
880
- "name": "",
881
- "type": "uint256"
882
- }
883
- ],
884
- "name": "revertLookup",
885
- "outputs": [
886
- {
887
- "internalType": "bytes",
888
- "name": "",
889
- "type": "bytes"
890
- }
891
- ],
892
- "stateMutability": "view",
893
- "type": "function"
894
- },
895
- {
896
- "inputs": [
897
- {
898
- "internalType": "uint16",
899
- "name": "_dstChainId",
900
- "type": "uint16"
901
- },
902
- {
903
- "internalType": "bytes",
904
- "name": "_srcAddress",
905
- "type": "bytes"
906
- },
907
- {
908
- "internalType": "uint256",
909
- "name": "_nonce",
910
- "type": "uint256"
911
- },
912
- {
913
- "internalType": "address payable",
914
- "name": "_refundAddress",
915
- "type": "address"
916
- },
917
- {
918
- "components": [
919
- {
920
- "internalType": "uint256",
921
- "name": "dstGasForCall",
922
- "type": "uint256"
923
- },
924
- {
925
- "internalType": "uint256",
926
- "name": "dstNativeAmount",
927
- "type": "uint256"
928
- },
929
- {
930
- "internalType": "bytes",
931
- "name": "dstNativeAddr",
932
- "type": "bytes"
933
- }
934
- ],
935
- "internalType": "struct IStargateRouter.lzTxObj",
936
- "name": "_lzTxParams",
937
- "type": "tuple"
938
- }
939
- ],
940
- "name": "revertRedeemLocal",
941
- "outputs": [],
942
- "stateMutability": "payable",
943
- "type": "function"
944
- },
945
- {
946
- "inputs": [
947
- {
948
- "internalType": "uint16",
949
- "name": "_dstChainId",
950
- "type": "uint16"
951
- },
952
- {
953
- "internalType": "uint256",
954
- "name": "_srcPoolId",
955
- "type": "uint256"
956
- },
957
- {
958
- "internalType": "uint256",
959
- "name": "_dstPoolId",
960
- "type": "uint256"
961
- },
962
- {
963
- "internalType": "address payable",
964
- "name": "_refundAddress",
965
- "type": "address"
966
- }
967
- ],
968
- "name": "sendCredits",
969
- "outputs": [],
970
- "stateMutability": "payable",
971
- "type": "function"
972
- },
973
- {
974
- "inputs": [
975
- {
976
- "internalType": "contract Bridge",
977
- "name": "_bridge",
978
- "type": "address"
979
- },
980
- {
981
- "internalType": "contract Factory",
982
- "name": "_factory",
983
- "type": "address"
984
- }
985
- ],
986
- "name": "setBridgeAndFactory",
987
- "outputs": [],
988
- "stateMutability": "nonpayable",
989
- "type": "function"
990
- },
991
- {
992
- "inputs": [
993
- {
994
- "internalType": "uint256",
995
- "name": "_poolId",
996
- "type": "uint256"
997
- },
998
- {
999
- "internalType": "bool",
1000
- "name": "_batched",
1001
- "type": "bool"
1002
- },
1003
- {
1004
- "internalType": "uint256",
1005
- "name": "_swapDeltaBP",
1006
- "type": "uint256"
1007
- },
1008
- {
1009
- "internalType": "uint256",
1010
- "name": "_lpDeltaBP",
1011
- "type": "uint256"
1012
- },
1013
- {
1014
- "internalType": "bool",
1015
- "name": "_defaultSwapMode",
1016
- "type": "bool"
1017
- },
1018
- {
1019
- "internalType": "bool",
1020
- "name": "_defaultLPMode",
1021
- "type": "bool"
1022
- }
1023
- ],
1024
- "name": "setDeltaParam",
1025
- "outputs": [],
1026
- "stateMutability": "nonpayable",
1027
- "type": "function"
1028
- },
1029
- {
1030
- "inputs": [
1031
- {
1032
- "internalType": "uint256",
1033
- "name": "_poolId",
1034
- "type": "uint256"
1035
- },
1036
- {
1037
- "internalType": "address",
1038
- "name": "_feeLibraryAddr",
1039
- "type": "address"
1040
- }
1041
- ],
1042
- "name": "setFeeLibrary",
1043
- "outputs": [],
1044
- "stateMutability": "nonpayable",
1045
- "type": "function"
1046
- },
1047
- {
1048
- "inputs": [
1049
- {
1050
- "internalType": "uint256",
1051
- "name": "_poolId",
1052
- "type": "uint256"
1053
- },
1054
- {
1055
- "internalType": "uint256",
1056
- "name": "_mintFeeBP",
1057
- "type": "uint256"
1058
- }
1059
- ],
1060
- "name": "setFees",
1061
- "outputs": [],
1062
- "stateMutability": "nonpayable",
1063
- "type": "function"
1064
- },
1065
- {
1066
- "inputs": [
1067
- {
1068
- "internalType": "address",
1069
- "name": "_owner",
1070
- "type": "address"
1071
- }
1072
- ],
1073
- "name": "setMintFeeOwner",
1074
- "outputs": [],
1075
- "stateMutability": "nonpayable",
1076
- "type": "function"
1077
- },
1078
- {
1079
- "inputs": [
1080
- {
1081
- "internalType": "address",
1082
- "name": "_owner",
1083
- "type": "address"
1084
- }
1085
- ],
1086
- "name": "setProtocolFeeOwner",
1087
- "outputs": [],
1088
- "stateMutability": "nonpayable",
1089
- "type": "function"
1090
- },
1091
- {
1092
- "inputs": [
1093
- {
1094
- "internalType": "uint256",
1095
- "name": "_poolId",
1096
- "type": "uint256"
1097
- },
1098
- {
1099
- "internalType": "bool",
1100
- "name": "_swapStop",
1101
- "type": "bool"
1102
- }
1103
- ],
1104
- "name": "setSwapStop",
1105
- "outputs": [],
1106
- "stateMutability": "nonpayable",
1107
- "type": "function"
1108
- },
1109
- {
1110
- "inputs": [
1111
- {
1112
- "internalType": "uint256",
1113
- "name": "_poolId",
1114
- "type": "uint256"
1115
- },
1116
- {
1117
- "internalType": "uint16",
1118
- "name": "_dstChainId",
1119
- "type": "uint16"
1120
- },
1121
- {
1122
- "internalType": "uint256",
1123
- "name": "_dstPoolId",
1124
- "type": "uint256"
1125
- },
1126
- {
1127
- "internalType": "uint16",
1128
- "name": "_weight",
1129
- "type": "uint16"
1130
- }
1131
- ],
1132
- "name": "setWeightForChainPath",
1133
- "outputs": [],
1134
- "stateMutability": "nonpayable",
1135
- "type": "function"
1136
- },
1137
- {
1138
- "inputs": [
1139
- {
1140
- "internalType": "uint16",
1141
- "name": "_dstChainId",
1142
- "type": "uint16"
1143
- },
1144
- {
1145
- "internalType": "uint256",
1146
- "name": "_srcPoolId",
1147
- "type": "uint256"
1148
- },
1149
- {
1150
- "internalType": "uint256",
1151
- "name": "_dstPoolId",
1152
- "type": "uint256"
1153
- },
1154
- {
1155
- "internalType": "address payable",
1156
- "name": "_refundAddress",
1157
- "type": "address"
1158
- },
1159
- {
1160
- "internalType": "uint256",
1161
- "name": "_amountLD",
1162
- "type": "uint256"
1163
- },
1164
- {
1165
- "internalType": "uint256",
1166
- "name": "_minAmountLD",
1167
- "type": "uint256"
1168
- },
1169
- {
1170
- "components": [
1171
- {
1172
- "internalType": "uint256",
1173
- "name": "dstGasForCall",
1174
- "type": "uint256"
1175
- },
1176
- {
1177
- "internalType": "uint256",
1178
- "name": "dstNativeAmount",
1179
- "type": "uint256"
1180
- },
1181
- {
1182
- "internalType": "bytes",
1183
- "name": "dstNativeAddr",
1184
- "type": "bytes"
1185
- }
1186
- ],
1187
- "internalType": "struct IStargateRouter.lzTxObj",
1188
- "name": "_lzTxParams",
1189
- "type": "tuple"
1190
- },
1191
- {
1192
- "internalType": "bytes",
1193
- "name": "_to",
1194
- "type": "bytes"
1195
- },
1196
- {
1197
- "internalType": "bytes",
1198
- "name": "_payload",
1199
- "type": "bytes"
1200
- }
1201
- ],
1202
- "name": "swap",
1203
- "outputs": [],
1204
- "stateMutability": "payable",
1205
- "type": "function"
1206
- },
1207
- {
1208
- "inputs": [
1209
- {
1210
- "internalType": "uint16",
1211
- "name": "_srcChainId",
1212
- "type": "uint16"
1213
- },
1214
- {
1215
- "internalType": "bytes",
1216
- "name": "_srcAddress",
1217
- "type": "bytes"
1218
- },
1219
- {
1220
- "internalType": "uint256",
1221
- "name": "_nonce",
1222
- "type": "uint256"
1223
- },
1224
- {
1225
- "internalType": "uint256",
1226
- "name": "_srcPoolId",
1227
- "type": "uint256"
1228
- },
1229
- {
1230
- "internalType": "uint256",
1231
- "name": "_dstPoolId",
1232
- "type": "uint256"
1233
- },
1234
- {
1235
- "internalType": "uint256",
1236
- "name": "_dstGasForCall",
1237
- "type": "uint256"
1238
- },
1239
- {
1240
- "internalType": "address",
1241
- "name": "_to",
1242
- "type": "address"
1243
- },
1244
- {
1245
- "components": [
1246
- {
1247
- "internalType": "uint256",
1248
- "name": "amount",
1249
- "type": "uint256"
1250
- },
1251
- {
1252
- "internalType": "uint256",
1253
- "name": "eqFee",
1254
- "type": "uint256"
1255
- },
1256
- {
1257
- "internalType": "uint256",
1258
- "name": "eqReward",
1259
- "type": "uint256"
1260
- },
1261
- {
1262
- "internalType": "uint256",
1263
- "name": "lpFee",
1264
- "type": "uint256"
1265
- },
1266
- {
1267
- "internalType": "uint256",
1268
- "name": "protocolFee",
1269
- "type": "uint256"
1270
- },
1271
- {
1272
- "internalType": "uint256",
1273
- "name": "lkbRemove",
1274
- "type": "uint256"
1275
- }
1276
- ],
1277
- "internalType": "struct Pool.SwapObj",
1278
- "name": "_s",
1279
- "type": "tuple"
1280
- },
1281
- {
1282
- "internalType": "bytes",
1283
- "name": "_payload",
1284
- "type": "bytes"
1285
- }
1286
- ],
1287
- "name": "swapRemote",
1288
- "outputs": [],
1289
- "stateMutability": "nonpayable",
1290
- "type": "function"
1291
- },
1292
- {
1293
- "inputs": [
1294
- {
1295
- "internalType": "address",
1296
- "name": "newOwner",
1297
- "type": "address"
1298
- }
1299
- ],
1300
- "name": "transferOwnership",
1301
- "outputs": [],
1302
- "stateMutability": "nonpayable",
1303
- "type": "function"
1304
- },
1305
- {
1306
- "inputs": [
1307
- {
1308
- "internalType": "uint256",
1309
- "name": "_poolId",
1310
- "type": "uint256"
1311
- },
1312
- {
1313
- "internalType": "address",
1314
- "name": "_to",
1315
- "type": "address"
1316
- }
1317
- ],
1318
- "name": "withdrawMintFee",
1319
- "outputs": [],
1320
- "stateMutability": "nonpayable",
1321
- "type": "function"
1322
- },
1323
- {
1324
- "inputs": [
1325
- {
1326
- "internalType": "uint256",
1327
- "name": "_poolId",
1328
- "type": "uint256"
1329
- },
1330
- {
1331
- "internalType": "address",
1332
- "name": "_to",
1333
- "type": "address"
1334
- }
1335
- ],
1336
- "name": "withdrawProtocolFee",
1337
- "outputs": [],
1338
- "stateMutability": "nonpayable",
1339
- "type": "function"
1340
- }
1341
- ]