web3-wizzard-lib 1.6.4__py3-none-any.whl → 1.6.6__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.6.dist-info}/METADATA +1 -1
  4. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.6.dist-info}/RECORD +7 -107
  5. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.6.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.6.data}/data/requirements.txt +0 -0
  107. {web3_wizzard_lib-1.6.4.dist-info → web3_wizzard_lib-1.6.6.dist-info}/WHEEL +0 -0
@@ -1,1936 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "string",
6
- "name": "_lpTokenName",
7
- "type": "string"
8
- },
9
- {
10
- "internalType": "string",
11
- "name": "_lpTokenSymbol",
12
- "type": "string"
13
- },
14
- {
15
- "internalType": "uint8",
16
- "name": "_tokenDecimals",
17
- "type": "uint8"
18
- },
19
- {
20
- "internalType": "uint8",
21
- "name": "_sharedDecimals",
22
- "type": "uint8"
23
- },
24
- {
25
- "internalType": "address",
26
- "name": "_endpoint",
27
- "type": "address"
28
- },
29
- {
30
- "internalType": "address",
31
- "name": "_owner",
32
- "type": "address"
33
- }
34
- ],
35
- "stateMutability": "nonpayable",
36
- "type": "constructor"
37
- },
38
- {
39
- "inputs": [],
40
- "name": "InvalidLocalDecimals",
41
- "type": "error"
42
- },
43
- {
44
- "inputs": [],
45
- "name": "Path_AlreadyHasCredit",
46
- "type": "error"
47
- },
48
- {
49
- "inputs": [],
50
- "name": "Path_InsufficientCredit",
51
- "type": "error"
52
- },
53
- {
54
- "inputs": [],
55
- "name": "Path_UnlimitedCredit",
56
- "type": "error"
57
- },
58
- {
59
- "inputs": [
60
- {
61
- "internalType": "uint256",
62
- "name": "amountLD",
63
- "type": "uint256"
64
- },
65
- {
66
- "internalType": "uint256",
67
- "name": "minAmountLD",
68
- "type": "uint256"
69
- }
70
- ],
71
- "name": "SlippageExceeded",
72
- "type": "error"
73
- },
74
- {
75
- "inputs": [],
76
- "name": "Stargate_InsufficientFare",
77
- "type": "error"
78
- },
79
- {
80
- "inputs": [],
81
- "name": "Stargate_InvalidAmount",
82
- "type": "error"
83
- },
84
- {
85
- "inputs": [],
86
- "name": "Stargate_InvalidPath",
87
- "type": "error"
88
- },
89
- {
90
- "inputs": [],
91
- "name": "Stargate_InvalidTokenDecimals",
92
- "type": "error"
93
- },
94
- {
95
- "inputs": [],
96
- "name": "Stargate_LzTokenUnavailable",
97
- "type": "error"
98
- },
99
- {
100
- "inputs": [],
101
- "name": "Stargate_OnlyTaxi",
102
- "type": "error"
103
- },
104
- {
105
- "inputs": [],
106
- "name": "Stargate_OutflowFailed",
107
- "type": "error"
108
- },
109
- {
110
- "inputs": [],
111
- "name": "Stargate_Paused",
112
- "type": "error"
113
- },
114
- {
115
- "inputs": [],
116
- "name": "Stargate_RecoverTokenUnsupported",
117
- "type": "error"
118
- },
119
- {
120
- "inputs": [],
121
- "name": "Stargate_ReentrantCall",
122
- "type": "error"
123
- },
124
- {
125
- "inputs": [],
126
- "name": "Stargate_SlippageTooHigh",
127
- "type": "error"
128
- },
129
- {
130
- "inputs": [],
131
- "name": "Stargate_Unauthorized",
132
- "type": "error"
133
- },
134
- {
135
- "inputs": [],
136
- "name": "Stargate_UnreceivedTokenNotFound",
137
- "type": "error"
138
- },
139
- {
140
- "inputs": [],
141
- "name": "Transfer_ApproveFailed",
142
- "type": "error"
143
- },
144
- {
145
- "inputs": [],
146
- "name": "Transfer_TransferFailed",
147
- "type": "error"
148
- },
149
- {
150
- "anonymous": false,
151
- "inputs": [
152
- {
153
- "components": [
154
- {
155
- "internalType": "address",
156
- "name": "feeLib",
157
- "type": "address"
158
- },
159
- {
160
- "internalType": "address",
161
- "name": "planner",
162
- "type": "address"
163
- },
164
- {
165
- "internalType": "address",
166
- "name": "treasurer",
167
- "type": "address"
168
- },
169
- {
170
- "internalType": "address",
171
- "name": "tokenMessaging",
172
- "type": "address"
173
- },
174
- {
175
- "internalType": "address",
176
- "name": "creditMessaging",
177
- "type": "address"
178
- },
179
- {
180
- "internalType": "address",
181
- "name": "lzToken",
182
- "type": "address"
183
- }
184
- ],
185
- "indexed": false,
186
- "internalType": "struct StargateBase.AddressConfig",
187
- "name": "config",
188
- "type": "tuple"
189
- }
190
- ],
191
- "name": "AddressConfigSet",
192
- "type": "event"
193
- },
194
- {
195
- "anonymous": false,
196
- "inputs": [
197
- {
198
- "indexed": false,
199
- "internalType": "uint32",
200
- "name": "srcEid",
201
- "type": "uint32"
202
- },
203
- {
204
- "components": [
205
- {
206
- "internalType": "uint32",
207
- "name": "srcEid",
208
- "type": "uint32"
209
- },
210
- {
211
- "internalType": "uint64",
212
- "name": "amount",
213
- "type": "uint64"
214
- }
215
- ],
216
- "indexed": false,
217
- "internalType": "struct Credit[]",
218
- "name": "credits",
219
- "type": "tuple[]"
220
- }
221
- ],
222
- "name": "CreditsReceived",
223
- "type": "event"
224
- },
225
- {
226
- "anonymous": false,
227
- "inputs": [
228
- {
229
- "indexed": false,
230
- "internalType": "uint32",
231
- "name": "dstEid",
232
- "type": "uint32"
233
- },
234
- {
235
- "components": [
236
- {
237
- "internalType": "uint32",
238
- "name": "srcEid",
239
- "type": "uint32"
240
- },
241
- {
242
- "internalType": "uint64",
243
- "name": "amount",
244
- "type": "uint64"
245
- }
246
- ],
247
- "indexed": false,
248
- "internalType": "struct Credit[]",
249
- "name": "credits",
250
- "type": "tuple[]"
251
- }
252
- ],
253
- "name": "CreditsSent",
254
- "type": "event"
255
- },
256
- {
257
- "anonymous": false,
258
- "inputs": [
259
- {
260
- "indexed": true,
261
- "internalType": "address",
262
- "name": "payer",
263
- "type": "address"
264
- },
265
- {
266
- "indexed": true,
267
- "internalType": "address",
268
- "name": "receiver",
269
- "type": "address"
270
- },
271
- {
272
- "indexed": false,
273
- "internalType": "uint256",
274
- "name": "amountLD",
275
- "type": "uint256"
276
- }
277
- ],
278
- "name": "Deposited",
279
- "type": "event"
280
- },
281
- {
282
- "anonymous": false,
283
- "inputs": [
284
- {
285
- "indexed": false,
286
- "internalType": "uint32",
287
- "name": "dstEid",
288
- "type": "uint32"
289
- },
290
- {
291
- "indexed": false,
292
- "internalType": "bool",
293
- "name": "oft",
294
- "type": "bool"
295
- }
296
- ],
297
- "name": "OFTPathSet",
298
- "type": "event"
299
- },
300
- {
301
- "anonymous": false,
302
- "inputs": [
303
- {
304
- "indexed": true,
305
- "internalType": "bytes32",
306
- "name": "guid",
307
- "type": "bytes32"
308
- },
309
- {
310
- "indexed": false,
311
- "internalType": "uint32",
312
- "name": "srcEid",
313
- "type": "uint32"
314
- },
315
- {
316
- "indexed": true,
317
- "internalType": "address",
318
- "name": "toAddress",
319
- "type": "address"
320
- },
321
- {
322
- "indexed": false,
323
- "internalType": "uint256",
324
- "name": "amountReceivedLD",
325
- "type": "uint256"
326
- }
327
- ],
328
- "name": "OFTReceived",
329
- "type": "event"
330
- },
331
- {
332
- "anonymous": false,
333
- "inputs": [
334
- {
335
- "indexed": true,
336
- "internalType": "bytes32",
337
- "name": "guid",
338
- "type": "bytes32"
339
- },
340
- {
341
- "indexed": false,
342
- "internalType": "uint32",
343
- "name": "dstEid",
344
- "type": "uint32"
345
- },
346
- {
347
- "indexed": true,
348
- "internalType": "address",
349
- "name": "fromAddress",
350
- "type": "address"
351
- },
352
- {
353
- "indexed": false,
354
- "internalType": "uint256",
355
- "name": "amountSentLD",
356
- "type": "uint256"
357
- },
358
- {
359
- "indexed": false,
360
- "internalType": "uint256",
361
- "name": "amountReceivedLD",
362
- "type": "uint256"
363
- }
364
- ],
365
- "name": "OFTSent",
366
- "type": "event"
367
- },
368
- {
369
- "anonymous": false,
370
- "inputs": [
371
- {
372
- "indexed": true,
373
- "internalType": "address",
374
- "name": "previousOwner",
375
- "type": "address"
376
- },
377
- {
378
- "indexed": true,
379
- "internalType": "address",
380
- "name": "newOwner",
381
- "type": "address"
382
- }
383
- ],
384
- "name": "OwnershipTransferred",
385
- "type": "event"
386
- },
387
- {
388
- "anonymous": false,
389
- "inputs": [
390
- {
391
- "indexed": false,
392
- "internalType": "bool",
393
- "name": "paused",
394
- "type": "bool"
395
- }
396
- ],
397
- "name": "PauseSet",
398
- "type": "event"
399
- },
400
- {
401
- "anonymous": false,
402
- "inputs": [
403
- {
404
- "indexed": false,
405
- "internalType": "uint256",
406
- "name": "amount",
407
- "type": "uint256"
408
- }
409
- ],
410
- "name": "PlannerFeeWithdrawn",
411
- "type": "event"
412
- },
413
- {
414
- "anonymous": false,
415
- "inputs": [
416
- {
417
- "indexed": true,
418
- "internalType": "address",
419
- "name": "payer",
420
- "type": "address"
421
- },
422
- {
423
- "indexed": true,
424
- "internalType": "address",
425
- "name": "receiver",
426
- "type": "address"
427
- },
428
- {
429
- "indexed": false,
430
- "internalType": "uint256",
431
- "name": "amountLD",
432
- "type": "uint256"
433
- }
434
- ],
435
- "name": "Redeemed",
436
- "type": "event"
437
- },
438
- {
439
- "anonymous": false,
440
- "inputs": [
441
- {
442
- "indexed": false,
443
- "internalType": "uint64",
444
- "name": "amountSD",
445
- "type": "uint64"
446
- }
447
- ],
448
- "name": "TreasuryFeeAdded",
449
- "type": "event"
450
- },
451
- {
452
- "anonymous": false,
453
- "inputs": [
454
- {
455
- "indexed": false,
456
- "internalType": "address",
457
- "name": "to",
458
- "type": "address"
459
- },
460
- {
461
- "indexed": false,
462
- "internalType": "uint64",
463
- "name": "amountSD",
464
- "type": "uint64"
465
- }
466
- ],
467
- "name": "TreasuryFeeWithdrawn",
468
- "type": "event"
469
- },
470
- {
471
- "anonymous": false,
472
- "inputs": [
473
- {
474
- "indexed": false,
475
- "internalType": "bytes32",
476
- "name": "guid",
477
- "type": "bytes32"
478
- },
479
- {
480
- "indexed": false,
481
- "internalType": "uint8",
482
- "name": "index",
483
- "type": "uint8"
484
- },
485
- {
486
- "indexed": false,
487
- "internalType": "uint32",
488
- "name": "srcEid",
489
- "type": "uint32"
490
- },
491
- {
492
- "indexed": false,
493
- "internalType": "address",
494
- "name": "receiver",
495
- "type": "address"
496
- },
497
- {
498
- "indexed": false,
499
- "internalType": "uint256",
500
- "name": "amountLD",
501
- "type": "uint256"
502
- },
503
- {
504
- "indexed": false,
505
- "internalType": "bytes",
506
- "name": "composeMsg",
507
- "type": "bytes"
508
- }
509
- ],
510
- "name": "UnreceivedTokenCached",
511
- "type": "event"
512
- },
513
- {
514
- "stateMutability": "payable",
515
- "type": "fallback"
516
- },
517
- {
518
- "inputs": [
519
- {
520
- "internalType": "uint256",
521
- "name": "_amountLD",
522
- "type": "uint256"
523
- }
524
- ],
525
- "name": "addTreasuryFee",
526
- "outputs": [],
527
- "stateMutability": "payable",
528
- "type": "function"
529
- },
530
- {
531
- "inputs": [],
532
- "name": "approvalRequired",
533
- "outputs": [
534
- {
535
- "internalType": "bool",
536
- "name": "",
537
- "type": "bool"
538
- }
539
- ],
540
- "stateMutability": "pure",
541
- "type": "function"
542
- },
543
- {
544
- "inputs": [],
545
- "name": "deficitOffset",
546
- "outputs": [
547
- {
548
- "internalType": "uint256",
549
- "name": "",
550
- "type": "uint256"
551
- }
552
- ],
553
- "stateMutability": "view",
554
- "type": "function"
555
- },
556
- {
557
- "inputs": [
558
- {
559
- "internalType": "address",
560
- "name": "_receiver",
561
- "type": "address"
562
- },
563
- {
564
- "internalType": "uint256",
565
- "name": "_amountLD",
566
- "type": "uint256"
567
- }
568
- ],
569
- "name": "deposit",
570
- "outputs": [
571
- {
572
- "internalType": "uint256",
573
- "name": "amountLD",
574
- "type": "uint256"
575
- }
576
- ],
577
- "stateMutability": "payable",
578
- "type": "function"
579
- },
580
- {
581
- "inputs": [],
582
- "name": "endpoint",
583
- "outputs": [
584
- {
585
- "internalType": "contract ILayerZeroEndpointV2",
586
- "name": "",
587
- "type": "address"
588
- }
589
- ],
590
- "stateMutability": "view",
591
- "type": "function"
592
- },
593
- {
594
- "inputs": [],
595
- "name": "getAddressConfig",
596
- "outputs": [
597
- {
598
- "components": [
599
- {
600
- "internalType": "address",
601
- "name": "feeLib",
602
- "type": "address"
603
- },
604
- {
605
- "internalType": "address",
606
- "name": "planner",
607
- "type": "address"
608
- },
609
- {
610
- "internalType": "address",
611
- "name": "treasurer",
612
- "type": "address"
613
- },
614
- {
615
- "internalType": "address",
616
- "name": "tokenMessaging",
617
- "type": "address"
618
- },
619
- {
620
- "internalType": "address",
621
- "name": "creditMessaging",
622
- "type": "address"
623
- },
624
- {
625
- "internalType": "address",
626
- "name": "lzToken",
627
- "type": "address"
628
- }
629
- ],
630
- "internalType": "struct StargateBase.AddressConfig",
631
- "name": "",
632
- "type": "tuple"
633
- }
634
- ],
635
- "stateMutability": "view",
636
- "type": "function"
637
- },
638
- {
639
- "inputs": [],
640
- "name": "getTransferGasLimit",
641
- "outputs": [
642
- {
643
- "internalType": "uint256",
644
- "name": "",
645
- "type": "uint256"
646
- }
647
- ],
648
- "stateMutability": "view",
649
- "type": "function"
650
- },
651
- {
652
- "inputs": [],
653
- "name": "localEid",
654
- "outputs": [
655
- {
656
- "internalType": "uint32",
657
- "name": "",
658
- "type": "uint32"
659
- }
660
- ],
661
- "stateMutability": "view",
662
- "type": "function"
663
- },
664
- {
665
- "inputs": [],
666
- "name": "lpToken",
667
- "outputs": [
668
- {
669
- "internalType": "address",
670
- "name": "",
671
- "type": "address"
672
- }
673
- ],
674
- "stateMutability": "view",
675
- "type": "function"
676
- },
677
- {
678
- "inputs": [],
679
- "name": "oftVersion",
680
- "outputs": [
681
- {
682
- "internalType": "bytes4",
683
- "name": "interfaceId",
684
- "type": "bytes4"
685
- },
686
- {
687
- "internalType": "uint64",
688
- "name": "version",
689
- "type": "uint64"
690
- }
691
- ],
692
- "stateMutability": "pure",
693
- "type": "function"
694
- },
695
- {
696
- "inputs": [],
697
- "name": "owner",
698
- "outputs": [
699
- {
700
- "internalType": "address",
701
- "name": "",
702
- "type": "address"
703
- }
704
- ],
705
- "stateMutability": "view",
706
- "type": "function"
707
- },
708
- {
709
- "inputs": [
710
- {
711
- "internalType": "uint32",
712
- "name": "eid",
713
- "type": "uint32"
714
- }
715
- ],
716
- "name": "paths",
717
- "outputs": [
718
- {
719
- "internalType": "uint64",
720
- "name": "credit",
721
- "type": "uint64"
722
- }
723
- ],
724
- "stateMutability": "view",
725
- "type": "function"
726
- },
727
- {
728
- "inputs": [],
729
- "name": "plannerFee",
730
- "outputs": [
731
- {
732
- "internalType": "uint256",
733
- "name": "available",
734
- "type": "uint256"
735
- }
736
- ],
737
- "stateMutability": "view",
738
- "type": "function"
739
- },
740
- {
741
- "inputs": [],
742
- "name": "poolBalance",
743
- "outputs": [
744
- {
745
- "internalType": "uint256",
746
- "name": "",
747
- "type": "uint256"
748
- }
749
- ],
750
- "stateMutability": "view",
751
- "type": "function"
752
- },
753
- {
754
- "inputs": [
755
- {
756
- "components": [
757
- {
758
- "internalType": "uint32",
759
- "name": "dstEid",
760
- "type": "uint32"
761
- },
762
- {
763
- "internalType": "bytes32",
764
- "name": "to",
765
- "type": "bytes32"
766
- },
767
- {
768
- "internalType": "uint256",
769
- "name": "amountLD",
770
- "type": "uint256"
771
- },
772
- {
773
- "internalType": "uint256",
774
- "name": "minAmountLD",
775
- "type": "uint256"
776
- },
777
- {
778
- "internalType": "bytes",
779
- "name": "extraOptions",
780
- "type": "bytes"
781
- },
782
- {
783
- "internalType": "bytes",
784
- "name": "composeMsg",
785
- "type": "bytes"
786
- },
787
- {
788
- "internalType": "bytes",
789
- "name": "oftCmd",
790
- "type": "bytes"
791
- }
792
- ],
793
- "internalType": "struct SendParam",
794
- "name": "_sendParam",
795
- "type": "tuple"
796
- }
797
- ],
798
- "name": "quoteOFT",
799
- "outputs": [
800
- {
801
- "components": [
802
- {
803
- "internalType": "uint256",
804
- "name": "minAmountLD",
805
- "type": "uint256"
806
- },
807
- {
808
- "internalType": "uint256",
809
- "name": "maxAmountLD",
810
- "type": "uint256"
811
- }
812
- ],
813
- "internalType": "struct OFTLimit",
814
- "name": "limit",
815
- "type": "tuple"
816
- },
817
- {
818
- "components": [
819
- {
820
- "internalType": "int256",
821
- "name": "feeAmountLD",
822
- "type": "int256"
823
- },
824
- {
825
- "internalType": "string",
826
- "name": "description",
827
- "type": "string"
828
- }
829
- ],
830
- "internalType": "struct OFTFeeDetail[]",
831
- "name": "oftFeeDetails",
832
- "type": "tuple[]"
833
- },
834
- {
835
- "components": [
836
- {
837
- "internalType": "uint256",
838
- "name": "amountSentLD",
839
- "type": "uint256"
840
- },
841
- {
842
- "internalType": "uint256",
843
- "name": "amountReceivedLD",
844
- "type": "uint256"
845
- }
846
- ],
847
- "internalType": "struct OFTReceipt",
848
- "name": "receipt",
849
- "type": "tuple"
850
- }
851
- ],
852
- "stateMutability": "view",
853
- "type": "function"
854
- },
855
- {
856
- "inputs": [
857
- {
858
- "components": [
859
- {
860
- "internalType": "uint32",
861
- "name": "dstEid",
862
- "type": "uint32"
863
- },
864
- {
865
- "internalType": "bytes32",
866
- "name": "to",
867
- "type": "bytes32"
868
- },
869
- {
870
- "internalType": "uint256",
871
- "name": "amountLD",
872
- "type": "uint256"
873
- },
874
- {
875
- "internalType": "uint256",
876
- "name": "minAmountLD",
877
- "type": "uint256"
878
- },
879
- {
880
- "internalType": "bytes",
881
- "name": "extraOptions",
882
- "type": "bytes"
883
- },
884
- {
885
- "internalType": "bytes",
886
- "name": "composeMsg",
887
- "type": "bytes"
888
- },
889
- {
890
- "internalType": "bytes",
891
- "name": "oftCmd",
892
- "type": "bytes"
893
- }
894
- ],
895
- "internalType": "struct SendParam",
896
- "name": "_sendParam",
897
- "type": "tuple"
898
- },
899
- {
900
- "internalType": "bool",
901
- "name": "_payInLzToken",
902
- "type": "bool"
903
- }
904
- ],
905
- "name": "quoteRedeemSend",
906
- "outputs": [
907
- {
908
- "components": [
909
- {
910
- "internalType": "uint256",
911
- "name": "nativeFee",
912
- "type": "uint256"
913
- },
914
- {
915
- "internalType": "uint256",
916
- "name": "lzTokenFee",
917
- "type": "uint256"
918
- }
919
- ],
920
- "internalType": "struct MessagingFee",
921
- "name": "fee",
922
- "type": "tuple"
923
- }
924
- ],
925
- "stateMutability": "view",
926
- "type": "function"
927
- },
928
- {
929
- "inputs": [
930
- {
931
- "components": [
932
- {
933
- "internalType": "uint32",
934
- "name": "dstEid",
935
- "type": "uint32"
936
- },
937
- {
938
- "internalType": "bytes32",
939
- "name": "to",
940
- "type": "bytes32"
941
- },
942
- {
943
- "internalType": "uint256",
944
- "name": "amountLD",
945
- "type": "uint256"
946
- },
947
- {
948
- "internalType": "uint256",
949
- "name": "minAmountLD",
950
- "type": "uint256"
951
- },
952
- {
953
- "internalType": "bytes",
954
- "name": "extraOptions",
955
- "type": "bytes"
956
- },
957
- {
958
- "internalType": "bytes",
959
- "name": "composeMsg",
960
- "type": "bytes"
961
- },
962
- {
963
- "internalType": "bytes",
964
- "name": "oftCmd",
965
- "type": "bytes"
966
- }
967
- ],
968
- "internalType": "struct SendParam",
969
- "name": "_sendParam",
970
- "type": "tuple"
971
- },
972
- {
973
- "internalType": "bool",
974
- "name": "_payInLzToken",
975
- "type": "bool"
976
- }
977
- ],
978
- "name": "quoteSend",
979
- "outputs": [
980
- {
981
- "components": [
982
- {
983
- "internalType": "uint256",
984
- "name": "nativeFee",
985
- "type": "uint256"
986
- },
987
- {
988
- "internalType": "uint256",
989
- "name": "lzTokenFee",
990
- "type": "uint256"
991
- }
992
- ],
993
- "internalType": "struct MessagingFee",
994
- "name": "fee",
995
- "type": "tuple"
996
- }
997
- ],
998
- "stateMutability": "view",
999
- "type": "function"
1000
- },
1001
- {
1002
- "inputs": [
1003
- {
1004
- "internalType": "uint32",
1005
- "name": "_srcEid",
1006
- "type": "uint32"
1007
- },
1008
- {
1009
- "components": [
1010
- {
1011
- "internalType": "uint32",
1012
- "name": "srcEid",
1013
- "type": "uint32"
1014
- },
1015
- {
1016
- "internalType": "uint64",
1017
- "name": "amount",
1018
- "type": "uint64"
1019
- }
1020
- ],
1021
- "internalType": "struct Credit[]",
1022
- "name": "_credits",
1023
- "type": "tuple[]"
1024
- }
1025
- ],
1026
- "name": "receiveCredits",
1027
- "outputs": [],
1028
- "stateMutability": "nonpayable",
1029
- "type": "function"
1030
- },
1031
- {
1032
- "inputs": [
1033
- {
1034
- "components": [
1035
- {
1036
- "internalType": "uint32",
1037
- "name": "srcEid",
1038
- "type": "uint32"
1039
- },
1040
- {
1041
- "internalType": "bytes32",
1042
- "name": "sender",
1043
- "type": "bytes32"
1044
- },
1045
- {
1046
- "internalType": "uint64",
1047
- "name": "nonce",
1048
- "type": "uint64"
1049
- }
1050
- ],
1051
- "internalType": "struct Origin",
1052
- "name": "_origin",
1053
- "type": "tuple"
1054
- },
1055
- {
1056
- "internalType": "bytes32",
1057
- "name": "_guid",
1058
- "type": "bytes32"
1059
- },
1060
- {
1061
- "internalType": "uint8",
1062
- "name": "_seatNumber",
1063
- "type": "uint8"
1064
- },
1065
- {
1066
- "internalType": "address",
1067
- "name": "_receiver",
1068
- "type": "address"
1069
- },
1070
- {
1071
- "internalType": "uint64",
1072
- "name": "_amountSD",
1073
- "type": "uint64"
1074
- }
1075
- ],
1076
- "name": "receiveTokenBus",
1077
- "outputs": [],
1078
- "stateMutability": "nonpayable",
1079
- "type": "function"
1080
- },
1081
- {
1082
- "inputs": [
1083
- {
1084
- "components": [
1085
- {
1086
- "internalType": "uint32",
1087
- "name": "srcEid",
1088
- "type": "uint32"
1089
- },
1090
- {
1091
- "internalType": "bytes32",
1092
- "name": "sender",
1093
- "type": "bytes32"
1094
- },
1095
- {
1096
- "internalType": "uint64",
1097
- "name": "nonce",
1098
- "type": "uint64"
1099
- }
1100
- ],
1101
- "internalType": "struct Origin",
1102
- "name": "_origin",
1103
- "type": "tuple"
1104
- },
1105
- {
1106
- "internalType": "bytes32",
1107
- "name": "_guid",
1108
- "type": "bytes32"
1109
- },
1110
- {
1111
- "internalType": "address",
1112
- "name": "_receiver",
1113
- "type": "address"
1114
- },
1115
- {
1116
- "internalType": "uint64",
1117
- "name": "_amountSD",
1118
- "type": "uint64"
1119
- },
1120
- {
1121
- "internalType": "bytes",
1122
- "name": "_composeMsg",
1123
- "type": "bytes"
1124
- }
1125
- ],
1126
- "name": "receiveTokenTaxi",
1127
- "outputs": [],
1128
- "stateMutability": "nonpayable",
1129
- "type": "function"
1130
- },
1131
- {
1132
- "inputs": [
1133
- {
1134
- "internalType": "address",
1135
- "name": "_token",
1136
- "type": "address"
1137
- },
1138
- {
1139
- "internalType": "address",
1140
- "name": "_to",
1141
- "type": "address"
1142
- },
1143
- {
1144
- "internalType": "uint256",
1145
- "name": "_amount",
1146
- "type": "uint256"
1147
- }
1148
- ],
1149
- "name": "recoverToken",
1150
- "outputs": [
1151
- {
1152
- "internalType": "uint256",
1153
- "name": "",
1154
- "type": "uint256"
1155
- }
1156
- ],
1157
- "stateMutability": "nonpayable",
1158
- "type": "function"
1159
- },
1160
- {
1161
- "inputs": [
1162
- {
1163
- "internalType": "uint256",
1164
- "name": "_amountLD",
1165
- "type": "uint256"
1166
- },
1167
- {
1168
- "internalType": "address",
1169
- "name": "_receiver",
1170
- "type": "address"
1171
- }
1172
- ],
1173
- "name": "redeem",
1174
- "outputs": [
1175
- {
1176
- "internalType": "uint256",
1177
- "name": "amountLD",
1178
- "type": "uint256"
1179
- }
1180
- ],
1181
- "stateMutability": "nonpayable",
1182
- "type": "function"
1183
- },
1184
- {
1185
- "inputs": [
1186
- {
1187
- "components": [
1188
- {
1189
- "internalType": "uint32",
1190
- "name": "dstEid",
1191
- "type": "uint32"
1192
- },
1193
- {
1194
- "internalType": "bytes32",
1195
- "name": "to",
1196
- "type": "bytes32"
1197
- },
1198
- {
1199
- "internalType": "uint256",
1200
- "name": "amountLD",
1201
- "type": "uint256"
1202
- },
1203
- {
1204
- "internalType": "uint256",
1205
- "name": "minAmountLD",
1206
- "type": "uint256"
1207
- },
1208
- {
1209
- "internalType": "bytes",
1210
- "name": "extraOptions",
1211
- "type": "bytes"
1212
- },
1213
- {
1214
- "internalType": "bytes",
1215
- "name": "composeMsg",
1216
- "type": "bytes"
1217
- },
1218
- {
1219
- "internalType": "bytes",
1220
- "name": "oftCmd",
1221
- "type": "bytes"
1222
- }
1223
- ],
1224
- "internalType": "struct SendParam",
1225
- "name": "_sendParam",
1226
- "type": "tuple"
1227
- },
1228
- {
1229
- "components": [
1230
- {
1231
- "internalType": "uint256",
1232
- "name": "nativeFee",
1233
- "type": "uint256"
1234
- },
1235
- {
1236
- "internalType": "uint256",
1237
- "name": "lzTokenFee",
1238
- "type": "uint256"
1239
- }
1240
- ],
1241
- "internalType": "struct MessagingFee",
1242
- "name": "_fee",
1243
- "type": "tuple"
1244
- },
1245
- {
1246
- "internalType": "address",
1247
- "name": "_refundAddress",
1248
- "type": "address"
1249
- }
1250
- ],
1251
- "name": "redeemSend",
1252
- "outputs": [
1253
- {
1254
- "components": [
1255
- {
1256
- "internalType": "bytes32",
1257
- "name": "guid",
1258
- "type": "bytes32"
1259
- },
1260
- {
1261
- "internalType": "uint64",
1262
- "name": "nonce",
1263
- "type": "uint64"
1264
- },
1265
- {
1266
- "components": [
1267
- {
1268
- "internalType": "uint256",
1269
- "name": "nativeFee",
1270
- "type": "uint256"
1271
- },
1272
- {
1273
- "internalType": "uint256",
1274
- "name": "lzTokenFee",
1275
- "type": "uint256"
1276
- }
1277
- ],
1278
- "internalType": "struct MessagingFee",
1279
- "name": "fee",
1280
- "type": "tuple"
1281
- }
1282
- ],
1283
- "internalType": "struct MessagingReceipt",
1284
- "name": "msgReceipt",
1285
- "type": "tuple"
1286
- },
1287
- {
1288
- "components": [
1289
- {
1290
- "internalType": "uint256",
1291
- "name": "amountSentLD",
1292
- "type": "uint256"
1293
- },
1294
- {
1295
- "internalType": "uint256",
1296
- "name": "amountReceivedLD",
1297
- "type": "uint256"
1298
- }
1299
- ],
1300
- "internalType": "struct OFTReceipt",
1301
- "name": "oftReceipt",
1302
- "type": "tuple"
1303
- }
1304
- ],
1305
- "stateMutability": "payable",
1306
- "type": "function"
1307
- },
1308
- {
1309
- "inputs": [
1310
- {
1311
- "internalType": "address",
1312
- "name": "_owner",
1313
- "type": "address"
1314
- }
1315
- ],
1316
- "name": "redeemable",
1317
- "outputs": [
1318
- {
1319
- "internalType": "uint256",
1320
- "name": "amountLD",
1321
- "type": "uint256"
1322
- }
1323
- ],
1324
- "stateMutability": "view",
1325
- "type": "function"
1326
- },
1327
- {
1328
- "inputs": [],
1329
- "name": "renounceOwnership",
1330
- "outputs": [],
1331
- "stateMutability": "nonpayable",
1332
- "type": "function"
1333
- },
1334
- {
1335
- "inputs": [
1336
- {
1337
- "internalType": "bytes32",
1338
- "name": "_guid",
1339
- "type": "bytes32"
1340
- },
1341
- {
1342
- "internalType": "uint8",
1343
- "name": "_index",
1344
- "type": "uint8"
1345
- },
1346
- {
1347
- "internalType": "uint32",
1348
- "name": "_srcEid",
1349
- "type": "uint32"
1350
- },
1351
- {
1352
- "internalType": "address",
1353
- "name": "_receiver",
1354
- "type": "address"
1355
- },
1356
- {
1357
- "internalType": "uint256",
1358
- "name": "_amountLD",
1359
- "type": "uint256"
1360
- },
1361
- {
1362
- "internalType": "bytes",
1363
- "name": "_composeMsg",
1364
- "type": "bytes"
1365
- }
1366
- ],
1367
- "name": "retryReceiveToken",
1368
- "outputs": [],
1369
- "stateMutability": "nonpayable",
1370
- "type": "function"
1371
- },
1372
- {
1373
- "inputs": [
1374
- {
1375
- "components": [
1376
- {
1377
- "internalType": "uint32",
1378
- "name": "dstEid",
1379
- "type": "uint32"
1380
- },
1381
- {
1382
- "internalType": "bytes32",
1383
- "name": "to",
1384
- "type": "bytes32"
1385
- },
1386
- {
1387
- "internalType": "uint256",
1388
- "name": "amountLD",
1389
- "type": "uint256"
1390
- },
1391
- {
1392
- "internalType": "uint256",
1393
- "name": "minAmountLD",
1394
- "type": "uint256"
1395
- },
1396
- {
1397
- "internalType": "bytes",
1398
- "name": "extraOptions",
1399
- "type": "bytes"
1400
- },
1401
- {
1402
- "internalType": "bytes",
1403
- "name": "composeMsg",
1404
- "type": "bytes"
1405
- },
1406
- {
1407
- "internalType": "bytes",
1408
- "name": "oftCmd",
1409
- "type": "bytes"
1410
- }
1411
- ],
1412
- "internalType": "struct SendParam",
1413
- "name": "_sendParam",
1414
- "type": "tuple"
1415
- },
1416
- {
1417
- "components": [
1418
- {
1419
- "internalType": "uint256",
1420
- "name": "nativeFee",
1421
- "type": "uint256"
1422
- },
1423
- {
1424
- "internalType": "uint256",
1425
- "name": "lzTokenFee",
1426
- "type": "uint256"
1427
- }
1428
- ],
1429
- "internalType": "struct MessagingFee",
1430
- "name": "_fee",
1431
- "type": "tuple"
1432
- },
1433
- {
1434
- "internalType": "address",
1435
- "name": "_refundAddress",
1436
- "type": "address"
1437
- }
1438
- ],
1439
- "name": "send",
1440
- "outputs": [
1441
- {
1442
- "components": [
1443
- {
1444
- "internalType": "bytes32",
1445
- "name": "guid",
1446
- "type": "bytes32"
1447
- },
1448
- {
1449
- "internalType": "uint64",
1450
- "name": "nonce",
1451
- "type": "uint64"
1452
- },
1453
- {
1454
- "components": [
1455
- {
1456
- "internalType": "uint256",
1457
- "name": "nativeFee",
1458
- "type": "uint256"
1459
- },
1460
- {
1461
- "internalType": "uint256",
1462
- "name": "lzTokenFee",
1463
- "type": "uint256"
1464
- }
1465
- ],
1466
- "internalType": "struct MessagingFee",
1467
- "name": "fee",
1468
- "type": "tuple"
1469
- }
1470
- ],
1471
- "internalType": "struct MessagingReceipt",
1472
- "name": "msgReceipt",
1473
- "type": "tuple"
1474
- },
1475
- {
1476
- "components": [
1477
- {
1478
- "internalType": "uint256",
1479
- "name": "amountSentLD",
1480
- "type": "uint256"
1481
- },
1482
- {
1483
- "internalType": "uint256",
1484
- "name": "amountReceivedLD",
1485
- "type": "uint256"
1486
- }
1487
- ],
1488
- "internalType": "struct OFTReceipt",
1489
- "name": "oftReceipt",
1490
- "type": "tuple"
1491
- }
1492
- ],
1493
- "stateMutability": "payable",
1494
- "type": "function"
1495
- },
1496
- {
1497
- "inputs": [
1498
- {
1499
- "internalType": "uint32",
1500
- "name": "_dstEid",
1501
- "type": "uint32"
1502
- },
1503
- {
1504
- "components": [
1505
- {
1506
- "internalType": "uint32",
1507
- "name": "srcEid",
1508
- "type": "uint32"
1509
- },
1510
- {
1511
- "internalType": "uint64",
1512
- "name": "amount",
1513
- "type": "uint64"
1514
- },
1515
- {
1516
- "internalType": "uint64",
1517
- "name": "minAmount",
1518
- "type": "uint64"
1519
- }
1520
- ],
1521
- "internalType": "struct TargetCredit[]",
1522
- "name": "_credits",
1523
- "type": "tuple[]"
1524
- }
1525
- ],
1526
- "name": "sendCredits",
1527
- "outputs": [
1528
- {
1529
- "components": [
1530
- {
1531
- "internalType": "uint32",
1532
- "name": "srcEid",
1533
- "type": "uint32"
1534
- },
1535
- {
1536
- "internalType": "uint64",
1537
- "name": "amount",
1538
- "type": "uint64"
1539
- }
1540
- ],
1541
- "internalType": "struct Credit[]",
1542
- "name": "",
1543
- "type": "tuple[]"
1544
- }
1545
- ],
1546
- "stateMutability": "nonpayable",
1547
- "type": "function"
1548
- },
1549
- {
1550
- "inputs": [
1551
- {
1552
- "components": [
1553
- {
1554
- "internalType": "uint32",
1555
- "name": "dstEid",
1556
- "type": "uint32"
1557
- },
1558
- {
1559
- "internalType": "bytes32",
1560
- "name": "to",
1561
- "type": "bytes32"
1562
- },
1563
- {
1564
- "internalType": "uint256",
1565
- "name": "amountLD",
1566
- "type": "uint256"
1567
- },
1568
- {
1569
- "internalType": "uint256",
1570
- "name": "minAmountLD",
1571
- "type": "uint256"
1572
- },
1573
- {
1574
- "internalType": "bytes",
1575
- "name": "extraOptions",
1576
- "type": "bytes"
1577
- },
1578
- {
1579
- "internalType": "bytes",
1580
- "name": "composeMsg",
1581
- "type": "bytes"
1582
- },
1583
- {
1584
- "internalType": "bytes",
1585
- "name": "oftCmd",
1586
- "type": "bytes"
1587
- }
1588
- ],
1589
- "internalType": "struct SendParam",
1590
- "name": "_sendParam",
1591
- "type": "tuple"
1592
- },
1593
- {
1594
- "components": [
1595
- {
1596
- "internalType": "uint256",
1597
- "name": "nativeFee",
1598
- "type": "uint256"
1599
- },
1600
- {
1601
- "internalType": "uint256",
1602
- "name": "lzTokenFee",
1603
- "type": "uint256"
1604
- }
1605
- ],
1606
- "internalType": "struct MessagingFee",
1607
- "name": "_fee",
1608
- "type": "tuple"
1609
- },
1610
- {
1611
- "internalType": "address",
1612
- "name": "_refundAddress",
1613
- "type": "address"
1614
- }
1615
- ],
1616
- "name": "sendToken",
1617
- "outputs": [
1618
- {
1619
- "components": [
1620
- {
1621
- "internalType": "bytes32",
1622
- "name": "guid",
1623
- "type": "bytes32"
1624
- },
1625
- {
1626
- "internalType": "uint64",
1627
- "name": "nonce",
1628
- "type": "uint64"
1629
- },
1630
- {
1631
- "components": [
1632
- {
1633
- "internalType": "uint256",
1634
- "name": "nativeFee",
1635
- "type": "uint256"
1636
- },
1637
- {
1638
- "internalType": "uint256",
1639
- "name": "lzTokenFee",
1640
- "type": "uint256"
1641
- }
1642
- ],
1643
- "internalType": "struct MessagingFee",
1644
- "name": "fee",
1645
- "type": "tuple"
1646
- }
1647
- ],
1648
- "internalType": "struct MessagingReceipt",
1649
- "name": "msgReceipt",
1650
- "type": "tuple"
1651
- },
1652
- {
1653
- "components": [
1654
- {
1655
- "internalType": "uint256",
1656
- "name": "amountSentLD",
1657
- "type": "uint256"
1658
- },
1659
- {
1660
- "internalType": "uint256",
1661
- "name": "amountReceivedLD",
1662
- "type": "uint256"
1663
- }
1664
- ],
1665
- "internalType": "struct OFTReceipt",
1666
- "name": "oftReceipt",
1667
- "type": "tuple"
1668
- },
1669
- {
1670
- "components": [
1671
- {
1672
- "internalType": "uint72",
1673
- "name": "ticketId",
1674
- "type": "uint72"
1675
- },
1676
- {
1677
- "internalType": "bytes",
1678
- "name": "passengerBytes",
1679
- "type": "bytes"
1680
- }
1681
- ],
1682
- "internalType": "struct Ticket",
1683
- "name": "ticket",
1684
- "type": "tuple"
1685
- }
1686
- ],
1687
- "stateMutability": "payable",
1688
- "type": "function"
1689
- },
1690
- {
1691
- "inputs": [
1692
- {
1693
- "components": [
1694
- {
1695
- "internalType": "address",
1696
- "name": "feeLib",
1697
- "type": "address"
1698
- },
1699
- {
1700
- "internalType": "address",
1701
- "name": "planner",
1702
- "type": "address"
1703
- },
1704
- {
1705
- "internalType": "address",
1706
- "name": "treasurer",
1707
- "type": "address"
1708
- },
1709
- {
1710
- "internalType": "address",
1711
- "name": "tokenMessaging",
1712
- "type": "address"
1713
- },
1714
- {
1715
- "internalType": "address",
1716
- "name": "creditMessaging",
1717
- "type": "address"
1718
- },
1719
- {
1720
- "internalType": "address",
1721
- "name": "lzToken",
1722
- "type": "address"
1723
- }
1724
- ],
1725
- "internalType": "struct StargateBase.AddressConfig",
1726
- "name": "_config",
1727
- "type": "tuple"
1728
- }
1729
- ],
1730
- "name": "setAddressConfig",
1731
- "outputs": [],
1732
- "stateMutability": "nonpayable",
1733
- "type": "function"
1734
- },
1735
- {
1736
- "inputs": [
1737
- {
1738
- "internalType": "uint256",
1739
- "name": "_deficitOffsetLD",
1740
- "type": "uint256"
1741
- }
1742
- ],
1743
- "name": "setDeficitOffset",
1744
- "outputs": [],
1745
- "stateMutability": "nonpayable",
1746
- "type": "function"
1747
- },
1748
- {
1749
- "inputs": [
1750
- {
1751
- "internalType": "uint32",
1752
- "name": "_dstEid",
1753
- "type": "uint32"
1754
- },
1755
- {
1756
- "internalType": "bool",
1757
- "name": "_oft",
1758
- "type": "bool"
1759
- }
1760
- ],
1761
- "name": "setOFTPath",
1762
- "outputs": [],
1763
- "stateMutability": "nonpayable",
1764
- "type": "function"
1765
- },
1766
- {
1767
- "inputs": [
1768
- {
1769
- "internalType": "bool",
1770
- "name": "_paused",
1771
- "type": "bool"
1772
- }
1773
- ],
1774
- "name": "setPause",
1775
- "outputs": [],
1776
- "stateMutability": "nonpayable",
1777
- "type": "function"
1778
- },
1779
- {
1780
- "inputs": [
1781
- {
1782
- "internalType": "uint256",
1783
- "name": "_gasLimit",
1784
- "type": "uint256"
1785
- }
1786
- ],
1787
- "name": "setTransferGasLimit",
1788
- "outputs": [],
1789
- "stateMutability": "nonpayable",
1790
- "type": "function"
1791
- },
1792
- {
1793
- "inputs": [],
1794
- "name": "sharedDecimals",
1795
- "outputs": [
1796
- {
1797
- "internalType": "uint8",
1798
- "name": "",
1799
- "type": "uint8"
1800
- }
1801
- ],
1802
- "stateMutability": "view",
1803
- "type": "function"
1804
- },
1805
- {
1806
- "inputs": [],
1807
- "name": "stargateType",
1808
- "outputs": [
1809
- {
1810
- "internalType": "enum StargateType",
1811
- "name": "",
1812
- "type": "uint8"
1813
- }
1814
- ],
1815
- "stateMutability": "pure",
1816
- "type": "function"
1817
- },
1818
- {
1819
- "inputs": [],
1820
- "name": "status",
1821
- "outputs": [
1822
- {
1823
- "internalType": "uint8",
1824
- "name": "",
1825
- "type": "uint8"
1826
- }
1827
- ],
1828
- "stateMutability": "view",
1829
- "type": "function"
1830
- },
1831
- {
1832
- "inputs": [],
1833
- "name": "token",
1834
- "outputs": [
1835
- {
1836
- "internalType": "address",
1837
- "name": "",
1838
- "type": "address"
1839
- }
1840
- ],
1841
- "stateMutability": "view",
1842
- "type": "function"
1843
- },
1844
- {
1845
- "inputs": [
1846
- {
1847
- "internalType": "address",
1848
- "name": "newOwner",
1849
- "type": "address"
1850
- }
1851
- ],
1852
- "name": "transferOwnership",
1853
- "outputs": [],
1854
- "stateMutability": "nonpayable",
1855
- "type": "function"
1856
- },
1857
- {
1858
- "inputs": [],
1859
- "name": "treasuryFee",
1860
- "outputs": [
1861
- {
1862
- "internalType": "uint64",
1863
- "name": "",
1864
- "type": "uint64"
1865
- }
1866
- ],
1867
- "stateMutability": "view",
1868
- "type": "function"
1869
- },
1870
- {
1871
- "inputs": [],
1872
- "name": "tvl",
1873
- "outputs": [
1874
- {
1875
- "internalType": "uint256",
1876
- "name": "",
1877
- "type": "uint256"
1878
- }
1879
- ],
1880
- "stateMutability": "view",
1881
- "type": "function"
1882
- },
1883
- {
1884
- "inputs": [
1885
- {
1886
- "internalType": "bytes32",
1887
- "name": "guid",
1888
- "type": "bytes32"
1889
- },
1890
- {
1891
- "internalType": "uint8",
1892
- "name": "index",
1893
- "type": "uint8"
1894
- }
1895
- ],
1896
- "name": "unreceivedTokens",
1897
- "outputs": [
1898
- {
1899
- "internalType": "bytes32",
1900
- "name": "hash",
1901
- "type": "bytes32"
1902
- }
1903
- ],
1904
- "stateMutability": "view",
1905
- "type": "function"
1906
- },
1907
- {
1908
- "inputs": [],
1909
- "name": "withdrawPlannerFee",
1910
- "outputs": [],
1911
- "stateMutability": "nonpayable",
1912
- "type": "function"
1913
- },
1914
- {
1915
- "inputs": [
1916
- {
1917
- "internalType": "address",
1918
- "name": "_to",
1919
- "type": "address"
1920
- },
1921
- {
1922
- "internalType": "uint64",
1923
- "name": "_amountSD",
1924
- "type": "uint64"
1925
- }
1926
- ],
1927
- "name": "withdrawTreasuryFee",
1928
- "outputs": [],
1929
- "stateMutability": "nonpayable",
1930
- "type": "function"
1931
- },
1932
- {
1933
- "stateMutability": "payable",
1934
- "type": "receive"
1935
- }
1936
- ]