web3-wizzard-lib 1.6.9__py3-none-any.whl → 1.6.11__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 (250) hide show
  1. web3_wizzard_lib/core/contract/coredao_from_contract.py +1 -1
  2. web3_wizzard_lib/core/contract/pancake_router.py +1 -1
  3. web3_wizzard_lib/core/contract/stargate_router.py +1 -1
  4. web3_wizzard_lib/core/contract/stargate_router_eth.py +1 -1
  5. web3_wizzard_lib/core/modules/airdrop_printer.py +1 -1
  6. web3_wizzard_lib/core/modules/bank/aave.py +2 -2
  7. web3_wizzard_lib/core/modules/bank/basilisk.py +2 -2
  8. web3_wizzard_lib/core/modules/bank/eralend.py +2 -2
  9. web3_wizzard_lib/core/modules/bank/layerbank.py +4 -4
  10. web3_wizzard_lib/core/modules/bank/mendi_finance.py +2 -2
  11. web3_wizzard_lib/core/modules/bank/reactorfusion.py +2 -2
  12. web3_wizzard_lib/core/modules/bank/zerolend.py +2 -2
  13. web3_wizzard_lib/core/modules/bank_module.py +7 -7
  14. web3_wizzard_lib/core/modules/bridge/coredao_bridge_sub.py +3 -3
  15. web3_wizzard_lib/core/modules/bridge/orbiter_sub.py +2 -2
  16. web3_wizzard_lib/core/modules/bridge/scroll_bridge_sub.py +4 -4
  17. web3_wizzard_lib/core/modules/bridge/stargate_v2_sub.py +2 -2
  18. web3_wizzard_lib/core/modules/bridge_module.py +4 -4
  19. web3_wizzard_lib/core/modules/bungee.py +1 -1
  20. web3_wizzard_lib/core/modules/claimer.py +2 -2
  21. web3_wizzard_lib/core/modules/concrete_swap.py +1 -1
  22. web3_wizzard_lib/core/modules/coredao_bridge.py +1 -1
  23. web3_wizzard_lib/core/modules/coredao_bridge_auto.py +1 -1
  24. web3_wizzard_lib/core/modules/debank_checker.py +2 -2
  25. web3_wizzard_lib/core/modules/dmail.py +1 -1
  26. web3_wizzard_lib/core/modules/erc20_balance.py +1 -1
  27. web3_wizzard_lib/core/modules/gmx_reward.py +1 -1
  28. web3_wizzard_lib/core/modules/intract_claim.py +2 -2
  29. web3_wizzard_lib/core/modules/layer_2_20.py +1 -1
  30. web3_wizzard_lib/core/modules/lending_module.py +5 -5
  31. web3_wizzard_lib/core/modules/linea_appeal.py +3 -3
  32. web3_wizzard_lib/core/modules/linea_poh_lxp.py +1 -1
  33. web3_wizzard_lib/core/modules/liquidity/nile_pool.py +2 -2
  34. web3_wizzard_lib/core/modules/liquidity/syncswap_pool.py +4 -4
  35. web3_wizzard_lib/core/modules/liquidity/velocore_pool.py +3 -3
  36. web3_wizzard_lib/core/modules/liquidity/zerolend_liquidity.py +2 -2
  37. web3_wizzard_lib/core/modules/liquidity_pool.py +4 -4
  38. web3_wizzard_lib/core/modules/merkly_refuel.py +2 -2
  39. web3_wizzard_lib/core/modules/new_rage_withdraw.py +1 -1
  40. web3_wizzard_lib/core/modules/nft/abbys_world.py +2 -2
  41. web3_wizzard_lib/core/modules/nft/acg_worlds.py +1 -1
  42. web3_wizzard_lib/core/modules/nft/alienswap_linea.py +2 -2
  43. web3_wizzard_lib/core/modules/nft/arena_games.py +2 -2
  44. web3_wizzard_lib/core/modules/nft/asmatch.py +2 -2
  45. web3_wizzard_lib/core/modules/nft/battlemon.py +1 -1
  46. web3_wizzard_lib/core/modules/nft/bilinear.py +2 -2
  47. web3_wizzard_lib/core/modules/nft/bitavatar.py +1 -1
  48. web3_wizzard_lib/core/modules/nft/culture_satoshi_universe.py +1 -1
  49. web3_wizzard_lib/core/modules/nft/efrogs.py +1 -1
  50. web3_wizzard_lib/core/modules/nft/empty_nft.py +2 -2
  51. web3_wizzard_lib/core/modules/nft/era_domain.py +2 -2
  52. web3_wizzard_lib/core/modules/nft/frog_war.py +2 -2
  53. web3_wizzard_lib/core/modules/nft/frog_war_bonus.py +2 -2
  54. web3_wizzard_lib/core/modules/nft/gamerboom.py +1 -1
  55. web3_wizzard_lib/core/modules/nft/gamerboom_bonus.py +1 -1
  56. web3_wizzard_lib/core/modules/nft/imagine.py +2 -2
  57. web3_wizzard_lib/core/modules/nft/kreatorland_module.py +2 -2
  58. web3_wizzard_lib/core/modules/nft/l2_telegraph_module.py +2 -2
  59. web3_wizzard_lib/core/modules/nft/layer3_meta.py +1 -1
  60. web3_wizzard_lib/core/modules/nft/linea_culture_2_2_linus.py +1 -1
  61. web3_wizzard_lib/core/modules/nft/linea_culture_2_3_yooldo.py +1 -1
  62. web3_wizzard_lib/core/modules/nft/linea_culture_2_4_frogwar.py +1 -1
  63. web3_wizzard_lib/core/modules/nft/linea_culture_2_5_acg.py +1 -1
  64. web3_wizzard_lib/core/modules/nft/linea_culture_2_6_ascend_the_end.py +1 -1
  65. web3_wizzard_lib/core/modules/nft/linea_culture_3_1_ascend_the_end.py +1 -1
  66. web3_wizzard_lib/core/modules/nft/linea_culture_3_2_sending_me.py +1 -1
  67. web3_wizzard_lib/core/modules/nft/linea_culture_3_3_townstory.py +1 -1
  68. web3_wizzard_lib/core/modules/nft/linea_culture_3_4_daniele.py +1 -1
  69. web3_wizzard_lib/core/modules/nft/linea_culture_3_5_demmortal.py +1 -1
  70. web3_wizzard_lib/core/modules/nft/linea_culture_3_6_foxy.py +1 -1
  71. web3_wizzard_lib/core/modules/nft/linea_culture_4_1_coop_records.py +1 -1
  72. web3_wizzard_lib/core/modules/nft/linea_culture_4_2_borja_moskv.py +1 -1
  73. web3_wizzard_lib/core/modules/nft/linea_culture_4_2_borja_moskv_approve.py +1 -1
  74. web3_wizzard_lib/core/modules/nft/linea_culture_4_3_fruit.py +1 -1
  75. web3_wizzard_lib/core/modules/nft/linea_culture_4_4_fruit_crux.py +1 -1
  76. web3_wizzard_lib/core/modules/nft/linea_culture_4_5_forbidden_fruit.py +1 -1
  77. web3_wizzard_lib/core/modules/nft/linea_culture_4_6_laurent.py +1 -1
  78. web3_wizzard_lib/core/modules/nft/linea_culture_day2.py +2 -2
  79. web3_wizzard_lib/core/modules/nft/linea_culture_day3.py +2 -2
  80. web3_wizzard_lib/core/modules/nft/linea_ens_names.py +3 -3
  81. web3_wizzard_lib/core/modules/nft/lucky_cat.py +1 -1
  82. web3_wizzard_lib/core/modules/nft/merkly_minter_module.py +2 -2
  83. web3_wizzard_lib/core/modules/nft/micro3.py +2 -2
  84. web3_wizzard_lib/core/modules/nft/mint_2048.py +1 -1
  85. web3_wizzard_lib/core/modules/nft/nft_submodule.py +1 -1
  86. web3_wizzard_lib/core/modules/nft/nidum.py +3 -3
  87. web3_wizzard_lib/core/modules/nft/nidum_bonus.py +2 -2
  88. web3_wizzard_lib/core/modules/nft/nomis.py +2 -2
  89. web3_wizzard_lib/core/modules/nft/nomis_attest.py +2 -2
  90. web3_wizzard_lib/core/modules/nft/nouns.py +1 -1
  91. web3_wizzard_lib/core/modules/nft/octomos.py +2 -2
  92. web3_wizzard_lib/core/modules/nft/omnisea.py +2 -2
  93. web3_wizzard_lib/core/modules/nft/omnizone.py +1 -1
  94. web3_wizzard_lib/core/modules/nft/orbiter_claim.py +1 -1
  95. web3_wizzard_lib/core/modules/nft/readon.py +2 -2
  96. web3_wizzard_lib/core/modules/nft/rubyscore.py +2 -2
  97. web3_wizzard_lib/core/modules/nft/sarubol.py +2 -2
  98. web3_wizzard_lib/core/modules/nft/satoshi_universe.py +2 -2
  99. web3_wizzard_lib/core/modules/nft/scroll_canvas_attest_year_badge.py +1 -1
  100. web3_wizzard_lib/core/modules/nft/scroll_canvas_mint.py +2 -2
  101. web3_wizzard_lib/core/modules/nft/snap.py +1 -1
  102. web3_wizzard_lib/core/modules/nft/snap_bonus.py +2 -2
  103. web3_wizzard_lib/core/modules/nft/social_scan.py +2 -2
  104. web3_wizzard_lib/core/modules/nft/tavaera.py +3 -3
  105. web3_wizzard_lib/core/modules/nft/townstory.py +3 -3
  106. web3_wizzard_lib/core/modules/nft/townstory_bonus.py +2 -2
  107. web3_wizzard_lib/core/modules/nft/trusta_reputation.py +2 -2
  108. web3_wizzard_lib/core/modules/nft/trustaa_poh.py +2 -2
  109. web3_wizzard_lib/core/modules/nft/uber_poh.py +1 -1
  110. web3_wizzard_lib/core/modules/nft/wizards_of_linea.py +1 -1
  111. web3_wizzard_lib/core/modules/nft/yoddlo.py +2 -2
  112. web3_wizzard_lib/core/modules/nft/yuliverse.py +2 -2
  113. web3_wizzard_lib/core/modules/nft/zace.py +1 -1
  114. web3_wizzard_lib/core/modules/nft/zks_domain.py +2 -2
  115. web3_wizzard_lib/core/modules/nft_minter.py +2 -2
  116. web3_wizzard_lib/core/modules/orbiter.py +1 -1
  117. web3_wizzard_lib/core/modules/rage.py +1 -1
  118. web3_wizzard_lib/core/modules/scroll_bridge.py +1 -1
  119. web3_wizzard_lib/core/modules/sell_all.py +1 -1
  120. web3_wizzard_lib/core/modules/stargate/auto_bridge.py +1 -1
  121. web3_wizzard_lib/core/modules/stargate/bridge.py +2 -2
  122. web3_wizzard_lib/core/modules/stargate/bridge_eth.py +2 -2
  123. web3_wizzard_lib/core/modules/stargate/bridge_tokens.py +1 -1
  124. web3_wizzard_lib/core/modules/stargate/classic_bridge.py +1 -1
  125. web3_wizzard_lib/core/modules/stargate/farming.py +4 -4
  126. web3_wizzard_lib/core/modules/stargate/pool.py +3 -3
  127. web3_wizzard_lib/core/modules/stargate/stargate_balance_utils.py +1 -1
  128. web3_wizzard_lib/core/modules/stargate/stargate_gas_checker.py +1 -1
  129. web3_wizzard_lib/core/modules/swap/horizondex.py +1 -1
  130. web3_wizzard_lib/core/modules/swap/lineaswap.py +1 -1
  131. web3_wizzard_lib/core/modules/swap/maverick.py +1 -1
  132. web3_wizzard_lib/core/modules/swap/mute.py +1 -1
  133. web3_wizzard_lib/core/modules/swap/odos.py +1 -1
  134. web3_wizzard_lib/core/modules/swap/pancake.py +2 -2
  135. web3_wizzard_lib/core/modules/swap/swap_list.py +2 -1
  136. web3_wizzard_lib/core/modules/swap/syncswap.py +3 -3
  137. web3_wizzard_lib/core/modules/swap/velocore.py +1 -1
  138. web3_wizzard_lib/core/modules/swap/woofi.py +1 -1
  139. web3_wizzard_lib/core/modules/swap/xy_finance.py +1 -1
  140. web3_wizzard_lib/core/modules/swap/zebra.py +1 -1
  141. web3_wizzard_lib/core/modules/warm_up.py +1 -1
  142. web3_wizzard_lib/core/modules/zkdx.py +2 -2
  143. web3_wizzard_lib/core/utils/ai_utils.py +1 -1
  144. web3_wizzard_lib/main.py +1 -1
  145. web3_wizzard_lib/resources/abi/aave.json +282 -0
  146. web3_wizzard_lib/resources/abi/abbysworld.json +1113 -0
  147. web3_wizzard_lib/resources/abi/arena_games.json +15 -0
  148. web3_wizzard_lib/resources/abi/asmatch.json +1113 -0
  149. web3_wizzard_lib/resources/abi/basiliks.json +1467 -0
  150. web3_wizzard_lib/resources/abi/bilinear.json +1375 -0
  151. web3_wizzard_lib/resources/abi/bungee.json +525 -0
  152. web3_wizzard_lib/resources/abi/coredao.json +1068 -0
  153. web3_wizzard_lib/resources/abi/coredao_bridge.json +1012 -0
  154. web3_wizzard_lib/resources/abi/dmail.json +964 -0
  155. web3_wizzard_lib/resources/abi/empty_nft.json +1131 -0
  156. web3_wizzard_lib/resources/abi/era_ns.json +878 -0
  157. web3_wizzard_lib/resources/abi/eralend.json +1221 -0
  158. web3_wizzard_lib/resources/abi/erc20.json +801 -0
  159. web3_wizzard_lib/resources/abi/erc20_test.json +337 -0
  160. web3_wizzard_lib/resources/abi/eth_scroll_bridge.json +675 -0
  161. web3_wizzard_lib/resources/abi/frog_war_contract.json +1943 -0
  162. web3_wizzard_lib/resources/abi/gmx_reward_router.json +749 -0
  163. web3_wizzard_lib/resources/abi/horizondex.json +413 -0
  164. web3_wizzard_lib/resources/abi/horizondex_quoter.json +273 -0
  165. web3_wizzard_lib/resources/abi/imagine.json +457 -0
  166. web3_wizzard_lib/resources/abi/izumi.json +532 -0
  167. web3_wizzard_lib/resources/abi/kreatorland.json +500 -0
  168. web3_wizzard_lib/resources/abi/layerbank.json +1240 -0
  169. web3_wizzard_lib/resources/abi/layerbank_price.json +354 -0
  170. web3_wizzard_lib/resources/abi/layerbank_token.json +1124 -0
  171. web3_wizzard_lib/resources/abi/linea_day_2.json +933 -0
  172. web3_wizzard_lib/resources/abi/linea_day_3.json +1804 -0
  173. web3_wizzard_lib/resources/abi/linea_ens_names.json +1000 -0
  174. web3_wizzard_lib/resources/abi/lineaswap_router.json +973 -0
  175. web3_wizzard_lib/resources/abi/maverick_ipool.json +942 -0
  176. web3_wizzard_lib/resources/abi/maverick_multicall.json +1082 -0
  177. web3_wizzard_lib/resources/abi/mendi_token.json +1690 -0
  178. web3_wizzard_lib/resources/abi/merkly.json +787 -0
  179. web3_wizzard_lib/resources/abi/micro3.json +1054 -0
  180. web3_wizzard_lib/resources/abi/mute_router.json +856 -0
  181. web3_wizzard_lib/resources/abi/new_rage_abi.json +1944 -0
  182. web3_wizzard_lib/resources/abi/nidus.json +1017 -0
  183. web3_wizzard_lib/resources/abi/nile_pool.json +1313 -0
  184. web3_wizzard_lib/resources/abi/nomis.json +1601 -0
  185. web3_wizzard_lib/resources/abi/nomis_attest.json +710 -0
  186. web3_wizzard_lib/resources/abi/octomos.json +408 -0
  187. web3_wizzard_lib/resources/abi/omnisea.json +175 -0
  188. web3_wizzard_lib/resources/abi/orbiter_starknet.json +48 -0
  189. web3_wizzard_lib/resources/abi/pancake/factory.json +450 -0
  190. web3_wizzard_lib/resources/abi/pancake/pool.json +713 -0
  191. web3_wizzard_lib/resources/abi/pancake/quoter.json +285 -0
  192. web3_wizzard_lib/resources/abi/pancake/router.json +1271 -0
  193. web3_wizzard_lib/resources/abi/rage_claim.json +218 -0
  194. web3_wizzard_lib/resources/abi/reactor_fusion.json +1479 -0
  195. web3_wizzard_lib/resources/abi/readon.json +71 -0
  196. web3_wizzard_lib/resources/abi/rubyscore.json +698 -0
  197. web3_wizzard_lib/resources/abi/satoshi_universe.json +301 -0
  198. web3_wizzard_lib/resources/abi/scroll_bridge.json +666 -0
  199. web3_wizzard_lib/resources/abi/scroll_canvas_mint.json +602 -0
  200. web3_wizzard_lib/resources/abi/scroll_oracle.json +714 -0
  201. web3_wizzard_lib/resources/abi/snap.json +622 -0
  202. web3_wizzard_lib/resources/abi/socialscan.json +884 -0
  203. web3_wizzard_lib/resources/abi/stargate_farming.json +494 -0
  204. web3_wizzard_lib/resources/abi/stargate_router.json +1341 -0
  205. web3_wizzard_lib/resources/abi/stargate_swapETH_abi.json +106 -0
  206. web3_wizzard_lib/resources/abi/stargate_token_pool.json +1940 -0
  207. web3_wizzard_lib/resources/abi/stargate_v2.json +1936 -0
  208. web3_wizzard_lib/resources/abi/syncswap_classic_pool.json +151 -0
  209. web3_wizzard_lib/resources/abi/syncswap_classic_pool_factory.json +151 -0
  210. web3_wizzard_lib/resources/abi/syncswap_pool.json +924 -0
  211. web3_wizzard_lib/resources/abi/syncswap_router.json +1178 -0
  212. web3_wizzard_lib/resources/abi/syncswap_stable_pool.json +950 -0
  213. web3_wizzard_lib/resources/abi/tavaera.json +586 -0
  214. web3_wizzard_lib/resources/abi/tavaera_id.json +724 -0
  215. web3_wizzard_lib/resources/abi/townstory.json +391 -0
  216. web3_wizzard_lib/resources/abi/townstory_bonus.json +279 -0
  217. web3_wizzard_lib/resources/abi/uniswap_abi.json +193 -0
  218. web3_wizzard_lib/resources/abi/velocore.json +1008 -0
  219. web3_wizzard_lib/resources/abi/velocore_lens.json +1030 -0
  220. web3_wizzard_lib/resources/abi/velocore_pool.json +490 -0
  221. web3_wizzard_lib/resources/abi/velocore_vault.json +1272 -0
  222. web3_wizzard_lib/resources/abi/weth.json +279 -0
  223. web3_wizzard_lib/resources/abi/woofi.json +400 -0
  224. web3_wizzard_lib/resources/abi/yoddlo.json +67 -0
  225. web3_wizzard_lib/resources/abi/zebra.json +1075 -0
  226. web3_wizzard_lib/resources/abi/zerolend.json +282 -0
  227. web3_wizzard_lib/resources/abi/zerolend_liquidity.json +1038 -0
  228. web3_wizzard_lib/resources/abi/zkdx_data.json +436 -0
  229. web3_wizzard_lib/resources/abi/zks.json +671 -0
  230. web3_wizzard_lib/resources/banner.txt +7 -0
  231. web3_wizzard_lib/resources/goerli/contracts.json +48 -0
  232. web3_wizzard_lib/resources/goerli/networks.json +139 -0
  233. web3_wizzard_lib/resources/goerli/pairs.json +113 -0
  234. web3_wizzard_lib/resources/goerli/tokens.json +40 -0
  235. web3_wizzard_lib/resources/linea_appeal.txt +0 -0
  236. web3_wizzard_lib/resources/local/contracts.json +150 -0
  237. web3_wizzard_lib/resources/local/networks.json +119 -0
  238. web3_wizzard_lib/resources/local/pairs.json +451 -0
  239. web3_wizzard_lib/resources/local/tokens.json +88 -0
  240. web3_wizzard_lib/resources/main/contracts.json +231 -0
  241. web3_wizzard_lib/resources/main/networks.json +272 -0
  242. web3_wizzard_lib/resources/main/pairs.json +516 -0
  243. web3_wizzard_lib/resources/main/tokens.json +119 -0
  244. web3_wizzard_lib/resources/verify_data.json +1243 -0
  245. {web3_wizzard_lib-1.6.9.dist-info → web3_wizzard_lib-1.6.11.dist-info}/METADATA +1 -1
  246. web3_wizzard_lib-1.6.11.dist-info/RECORD +371 -0
  247. web3_wizzard_lib-1.6.9.dist-info/RECORD +0 -271
  248. {web3_wizzard_lib-1.6.9.data → web3_wizzard_lib-1.6.11.data}/data/requirements.txt +0 -0
  249. {web3_wizzard_lib-1.6.9.dist-info → web3_wizzard_lib-1.6.11.dist-info}/WHEEL +0 -0
  250. {web3_wizzard_lib-1.6.9.dist-info → web3_wizzard_lib-1.6.11.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1940 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "uint256",
6
+ "name": "_poolId",
7
+ "type": "uint256"
8
+ },
9
+ {
10
+ "internalType": "address",
11
+ "name": "_router",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "internalType": "address",
16
+ "name": "_token",
17
+ "type": "address"
18
+ },
19
+ {
20
+ "internalType": "uint256",
21
+ "name": "_sharedDecimals",
22
+ "type": "uint256"
23
+ },
24
+ {
25
+ "internalType": "uint256",
26
+ "name": "_localDecimals",
27
+ "type": "uint256"
28
+ },
29
+ {
30
+ "internalType": "address",
31
+ "name": "_feeLibrary",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "string",
36
+ "name": "_name",
37
+ "type": "string"
38
+ },
39
+ {
40
+ "internalType": "string",
41
+ "name": "_symbol",
42
+ "type": "string"
43
+ }
44
+ ],
45
+ "stateMutability": "nonpayable",
46
+ "type": "constructor"
47
+ },
48
+ {
49
+ "anonymous": false,
50
+ "inputs": [
51
+ {
52
+ "indexed": true,
53
+ "internalType": "address",
54
+ "name": "owner",
55
+ "type": "address"
56
+ },
57
+ {
58
+ "indexed": true,
59
+ "internalType": "address",
60
+ "name": "spender",
61
+ "type": "address"
62
+ },
63
+ {
64
+ "indexed": false,
65
+ "internalType": "uint256",
66
+ "name": "value",
67
+ "type": "uint256"
68
+ }
69
+ ],
70
+ "name": "Approval",
71
+ "type": "event"
72
+ },
73
+ {
74
+ "anonymous": false,
75
+ "inputs": [
76
+ {
77
+ "indexed": false,
78
+ "internalType": "address",
79
+ "name": "from",
80
+ "type": "address"
81
+ },
82
+ {
83
+ "indexed": false,
84
+ "internalType": "uint256",
85
+ "name": "amountLP",
86
+ "type": "uint256"
87
+ },
88
+ {
89
+ "indexed": false,
90
+ "internalType": "uint256",
91
+ "name": "amountSD",
92
+ "type": "uint256"
93
+ }
94
+ ],
95
+ "name": "Burn",
96
+ "type": "event"
97
+ },
98
+ {
99
+ "anonymous": false,
100
+ "inputs": [
101
+ {
102
+ "indexed": false,
103
+ "internalType": "uint16",
104
+ "name": "dstChainId",
105
+ "type": "uint16"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "uint256",
110
+ "name": "dstPoolId",
111
+ "type": "uint256"
112
+ },
113
+ {
114
+ "indexed": false,
115
+ "internalType": "uint256",
116
+ "name": "weight",
117
+ "type": "uint256"
118
+ }
119
+ ],
120
+ "name": "ChainPathUpdate",
121
+ "type": "event"
122
+ },
123
+ {
124
+ "anonymous": false,
125
+ "inputs": [
126
+ {
127
+ "indexed": false,
128
+ "internalType": "uint16",
129
+ "name": "chainId",
130
+ "type": "uint16"
131
+ },
132
+ {
133
+ "indexed": false,
134
+ "internalType": "uint256",
135
+ "name": "srcPoolId",
136
+ "type": "uint256"
137
+ },
138
+ {
139
+ "indexed": false,
140
+ "internalType": "uint256",
141
+ "name": "amountSD",
142
+ "type": "uint256"
143
+ },
144
+ {
145
+ "indexed": false,
146
+ "internalType": "uint256",
147
+ "name": "idealBalance",
148
+ "type": "uint256"
149
+ }
150
+ ],
151
+ "name": "CreditChainPath",
152
+ "type": "event"
153
+ },
154
+ {
155
+ "anonymous": false,
156
+ "inputs": [
157
+ {
158
+ "indexed": false,
159
+ "internalType": "bool",
160
+ "name": "batched",
161
+ "type": "bool"
162
+ },
163
+ {
164
+ "indexed": false,
165
+ "internalType": "uint256",
166
+ "name": "swapDeltaBP",
167
+ "type": "uint256"
168
+ },
169
+ {
170
+ "indexed": false,
171
+ "internalType": "uint256",
172
+ "name": "lpDeltaBP",
173
+ "type": "uint256"
174
+ },
175
+ {
176
+ "indexed": false,
177
+ "internalType": "bool",
178
+ "name": "defaultSwapMode",
179
+ "type": "bool"
180
+ },
181
+ {
182
+ "indexed": false,
183
+ "internalType": "bool",
184
+ "name": "defaultLPMode",
185
+ "type": "bool"
186
+ }
187
+ ],
188
+ "name": "DeltaParamUpdated",
189
+ "type": "event"
190
+ },
191
+ {
192
+ "anonymous": false,
193
+ "inputs": [
194
+ {
195
+ "indexed": false,
196
+ "internalType": "address",
197
+ "name": "feeLibraryAddr",
198
+ "type": "address"
199
+ }
200
+ ],
201
+ "name": "FeeLibraryUpdated",
202
+ "type": "event"
203
+ },
204
+ {
205
+ "anonymous": false,
206
+ "inputs": [
207
+ {
208
+ "indexed": false,
209
+ "internalType": "uint256",
210
+ "name": "mintFeeBP",
211
+ "type": "uint256"
212
+ }
213
+ ],
214
+ "name": "FeesUpdated",
215
+ "type": "event"
216
+ },
217
+ {
218
+ "anonymous": false,
219
+ "inputs": [
220
+ {
221
+ "indexed": false,
222
+ "internalType": "address",
223
+ "name": "from",
224
+ "type": "address"
225
+ },
226
+ {
227
+ "indexed": false,
228
+ "internalType": "uint256",
229
+ "name": "amountLP",
230
+ "type": "uint256"
231
+ },
232
+ {
233
+ "indexed": false,
234
+ "internalType": "uint256",
235
+ "name": "amountSD",
236
+ "type": "uint256"
237
+ },
238
+ {
239
+ "indexed": false,
240
+ "internalType": "address",
241
+ "name": "to",
242
+ "type": "address"
243
+ }
244
+ ],
245
+ "name": "InstantRedeemLocal",
246
+ "type": "event"
247
+ },
248
+ {
249
+ "anonymous": false,
250
+ "inputs": [
251
+ {
252
+ "indexed": false,
253
+ "internalType": "address",
254
+ "name": "to",
255
+ "type": "address"
256
+ },
257
+ {
258
+ "indexed": false,
259
+ "internalType": "uint256",
260
+ "name": "amountLP",
261
+ "type": "uint256"
262
+ },
263
+ {
264
+ "indexed": false,
265
+ "internalType": "uint256",
266
+ "name": "amountSD",
267
+ "type": "uint256"
268
+ },
269
+ {
270
+ "indexed": false,
271
+ "internalType": "uint256",
272
+ "name": "mintFeeAmountSD",
273
+ "type": "uint256"
274
+ }
275
+ ],
276
+ "name": "Mint",
277
+ "type": "event"
278
+ },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": false,
284
+ "internalType": "address",
285
+ "name": "from",
286
+ "type": "address"
287
+ },
288
+ {
289
+ "indexed": false,
290
+ "internalType": "uint256",
291
+ "name": "amountLP",
292
+ "type": "uint256"
293
+ },
294
+ {
295
+ "indexed": false,
296
+ "internalType": "uint256",
297
+ "name": "amountSD",
298
+ "type": "uint256"
299
+ },
300
+ {
301
+ "indexed": false,
302
+ "internalType": "uint16",
303
+ "name": "chainId",
304
+ "type": "uint16"
305
+ },
306
+ {
307
+ "indexed": false,
308
+ "internalType": "uint256",
309
+ "name": "dstPoolId",
310
+ "type": "uint256"
311
+ },
312
+ {
313
+ "indexed": false,
314
+ "internalType": "bytes",
315
+ "name": "to",
316
+ "type": "bytes"
317
+ }
318
+ ],
319
+ "name": "RedeemLocal",
320
+ "type": "event"
321
+ },
322
+ {
323
+ "anonymous": false,
324
+ "inputs": [
325
+ {
326
+ "indexed": false,
327
+ "internalType": "address",
328
+ "name": "_to",
329
+ "type": "address"
330
+ },
331
+ {
332
+ "indexed": false,
333
+ "internalType": "uint256",
334
+ "name": "_amountSD",
335
+ "type": "uint256"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "uint256",
340
+ "name": "_amountToMintSD",
341
+ "type": "uint256"
342
+ }
343
+ ],
344
+ "name": "RedeemLocalCallback",
345
+ "type": "event"
346
+ },
347
+ {
348
+ "anonymous": false,
349
+ "inputs": [
350
+ {
351
+ "indexed": false,
352
+ "internalType": "uint16",
353
+ "name": "chainId",
354
+ "type": "uint16"
355
+ },
356
+ {
357
+ "indexed": false,
358
+ "internalType": "uint256",
359
+ "name": "dstPoolId",
360
+ "type": "uint256"
361
+ },
362
+ {
363
+ "indexed": false,
364
+ "internalType": "address",
365
+ "name": "from",
366
+ "type": "address"
367
+ },
368
+ {
369
+ "indexed": false,
370
+ "internalType": "uint256",
371
+ "name": "amountLP",
372
+ "type": "uint256"
373
+ },
374
+ {
375
+ "indexed": false,
376
+ "internalType": "uint256",
377
+ "name": "amountSD",
378
+ "type": "uint256"
379
+ }
380
+ ],
381
+ "name": "RedeemRemote",
382
+ "type": "event"
383
+ },
384
+ {
385
+ "anonymous": false,
386
+ "inputs": [
387
+ {
388
+ "indexed": false,
389
+ "internalType": "uint16",
390
+ "name": "dstChainId",
391
+ "type": "uint16"
392
+ },
393
+ {
394
+ "indexed": false,
395
+ "internalType": "uint256",
396
+ "name": "dstPoolId",
397
+ "type": "uint256"
398
+ },
399
+ {
400
+ "indexed": false,
401
+ "internalType": "uint256",
402
+ "name": "credits",
403
+ "type": "uint256"
404
+ },
405
+ {
406
+ "indexed": false,
407
+ "internalType": "uint256",
408
+ "name": "idealBalance",
409
+ "type": "uint256"
410
+ }
411
+ ],
412
+ "name": "SendCredits",
413
+ "type": "event"
414
+ },
415
+ {
416
+ "anonymous": false,
417
+ "inputs": [
418
+ {
419
+ "indexed": false,
420
+ "internalType": "bool",
421
+ "name": "swapStop",
422
+ "type": "bool"
423
+ }
424
+ ],
425
+ "name": "StopSwapUpdated",
426
+ "type": "event"
427
+ },
428
+ {
429
+ "anonymous": false,
430
+ "inputs": [
431
+ {
432
+ "indexed": false,
433
+ "internalType": "uint16",
434
+ "name": "chainId",
435
+ "type": "uint16"
436
+ },
437
+ {
438
+ "indexed": false,
439
+ "internalType": "uint256",
440
+ "name": "dstPoolId",
441
+ "type": "uint256"
442
+ },
443
+ {
444
+ "indexed": false,
445
+ "internalType": "address",
446
+ "name": "from",
447
+ "type": "address"
448
+ },
449
+ {
450
+ "indexed": false,
451
+ "internalType": "uint256",
452
+ "name": "amountSD",
453
+ "type": "uint256"
454
+ },
455
+ {
456
+ "indexed": false,
457
+ "internalType": "uint256",
458
+ "name": "eqReward",
459
+ "type": "uint256"
460
+ },
461
+ {
462
+ "indexed": false,
463
+ "internalType": "uint256",
464
+ "name": "eqFee",
465
+ "type": "uint256"
466
+ },
467
+ {
468
+ "indexed": false,
469
+ "internalType": "uint256",
470
+ "name": "protocolFee",
471
+ "type": "uint256"
472
+ },
473
+ {
474
+ "indexed": false,
475
+ "internalType": "uint256",
476
+ "name": "lpFee",
477
+ "type": "uint256"
478
+ }
479
+ ],
480
+ "name": "Swap",
481
+ "type": "event"
482
+ },
483
+ {
484
+ "anonymous": false,
485
+ "inputs": [
486
+ {
487
+ "indexed": false,
488
+ "internalType": "address",
489
+ "name": "to",
490
+ "type": "address"
491
+ },
492
+ {
493
+ "indexed": false,
494
+ "internalType": "uint256",
495
+ "name": "amountSD",
496
+ "type": "uint256"
497
+ },
498
+ {
499
+ "indexed": false,
500
+ "internalType": "uint256",
501
+ "name": "protocolFee",
502
+ "type": "uint256"
503
+ },
504
+ {
505
+ "indexed": false,
506
+ "internalType": "uint256",
507
+ "name": "dstFee",
508
+ "type": "uint256"
509
+ }
510
+ ],
511
+ "name": "SwapRemote",
512
+ "type": "event"
513
+ },
514
+ {
515
+ "anonymous": false,
516
+ "inputs": [
517
+ {
518
+ "indexed": true,
519
+ "internalType": "address",
520
+ "name": "from",
521
+ "type": "address"
522
+ },
523
+ {
524
+ "indexed": true,
525
+ "internalType": "address",
526
+ "name": "to",
527
+ "type": "address"
528
+ },
529
+ {
530
+ "indexed": false,
531
+ "internalType": "uint256",
532
+ "name": "value",
533
+ "type": "uint256"
534
+ }
535
+ ],
536
+ "name": "Transfer",
537
+ "type": "event"
538
+ },
539
+ {
540
+ "anonymous": false,
541
+ "inputs": [
542
+ {
543
+ "indexed": false,
544
+ "internalType": "address",
545
+ "name": "to",
546
+ "type": "address"
547
+ },
548
+ {
549
+ "indexed": false,
550
+ "internalType": "uint256",
551
+ "name": "amountSD",
552
+ "type": "uint256"
553
+ }
554
+ ],
555
+ "name": "WithdrawMintFeeBalance",
556
+ "type": "event"
557
+ },
558
+ {
559
+ "anonymous": false,
560
+ "inputs": [
561
+ {
562
+ "indexed": false,
563
+ "internalType": "address",
564
+ "name": "to",
565
+ "type": "address"
566
+ },
567
+ {
568
+ "indexed": false,
569
+ "internalType": "uint256",
570
+ "name": "amountSD",
571
+ "type": "uint256"
572
+ }
573
+ ],
574
+ "name": "WithdrawProtocolFeeBalance",
575
+ "type": "event"
576
+ },
577
+ {
578
+ "anonymous": false,
579
+ "inputs": [
580
+ {
581
+ "indexed": false,
582
+ "internalType": "uint16",
583
+ "name": "srcChainId",
584
+ "type": "uint16"
585
+ },
586
+ {
587
+ "indexed": false,
588
+ "internalType": "uint256",
589
+ "name": "srcPoolId",
590
+ "type": "uint256"
591
+ },
592
+ {
593
+ "indexed": false,
594
+ "internalType": "uint256",
595
+ "name": "swapAmount",
596
+ "type": "uint256"
597
+ },
598
+ {
599
+ "indexed": false,
600
+ "internalType": "uint256",
601
+ "name": "mintAmount",
602
+ "type": "uint256"
603
+ }
604
+ ],
605
+ "name": "WithdrawRemote",
606
+ "type": "event"
607
+ },
608
+ {
609
+ "inputs": [],
610
+ "name": "BP_DENOMINATOR",
611
+ "outputs": [
612
+ {
613
+ "internalType": "uint256",
614
+ "name": "",
615
+ "type": "uint256"
616
+ }
617
+ ],
618
+ "stateMutability": "view",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [],
623
+ "name": "DOMAIN_SEPARATOR",
624
+ "outputs": [
625
+ {
626
+ "internalType": "bytes32",
627
+ "name": "",
628
+ "type": "bytes32"
629
+ }
630
+ ],
631
+ "stateMutability": "view",
632
+ "type": "function"
633
+ },
634
+ {
635
+ "inputs": [],
636
+ "name": "PERMIT_TYPEHASH",
637
+ "outputs": [
638
+ {
639
+ "internalType": "bytes32",
640
+ "name": "",
641
+ "type": "bytes32"
642
+ }
643
+ ],
644
+ "stateMutability": "view",
645
+ "type": "function"
646
+ },
647
+ {
648
+ "inputs": [
649
+ {
650
+ "internalType": "uint16",
651
+ "name": "_dstChainId",
652
+ "type": "uint16"
653
+ },
654
+ {
655
+ "internalType": "uint256",
656
+ "name": "_dstPoolId",
657
+ "type": "uint256"
658
+ }
659
+ ],
660
+ "name": "activateChainPath",
661
+ "outputs": [],
662
+ "stateMutability": "nonpayable",
663
+ "type": "function"
664
+ },
665
+ {
666
+ "inputs": [
667
+ {
668
+ "internalType": "address",
669
+ "name": "",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "internalType": "address",
674
+ "name": "",
675
+ "type": "address"
676
+ }
677
+ ],
678
+ "name": "allowance",
679
+ "outputs": [
680
+ {
681
+ "internalType": "uint256",
682
+ "name": "",
683
+ "type": "uint256"
684
+ }
685
+ ],
686
+ "stateMutability": "view",
687
+ "type": "function"
688
+ },
689
+ {
690
+ "inputs": [
691
+ {
692
+ "internalType": "uint256",
693
+ "name": "_amountLP",
694
+ "type": "uint256"
695
+ }
696
+ ],
697
+ "name": "amountLPtoLD",
698
+ "outputs": [
699
+ {
700
+ "internalType": "uint256",
701
+ "name": "",
702
+ "type": "uint256"
703
+ }
704
+ ],
705
+ "stateMutability": "view",
706
+ "type": "function"
707
+ },
708
+ {
709
+ "inputs": [
710
+ {
711
+ "internalType": "address",
712
+ "name": "spender",
713
+ "type": "address"
714
+ },
715
+ {
716
+ "internalType": "uint256",
717
+ "name": "value",
718
+ "type": "uint256"
719
+ }
720
+ ],
721
+ "name": "approve",
722
+ "outputs": [
723
+ {
724
+ "internalType": "bool",
725
+ "name": "",
726
+ "type": "bool"
727
+ }
728
+ ],
729
+ "stateMutability": "nonpayable",
730
+ "type": "function"
731
+ },
732
+ {
733
+ "inputs": [
734
+ {
735
+ "internalType": "address",
736
+ "name": "",
737
+ "type": "address"
738
+ }
739
+ ],
740
+ "name": "balanceOf",
741
+ "outputs": [
742
+ {
743
+ "internalType": "uint256",
744
+ "name": "",
745
+ "type": "uint256"
746
+ }
747
+ ],
748
+ "stateMutability": "view",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "inputs": [],
753
+ "name": "batched",
754
+ "outputs": [
755
+ {
756
+ "internalType": "bool",
757
+ "name": "",
758
+ "type": "bool"
759
+ }
760
+ ],
761
+ "stateMutability": "view",
762
+ "type": "function"
763
+ },
764
+ {
765
+ "inputs": [
766
+ {
767
+ "internalType": "bool",
768
+ "name": "_fullMode",
769
+ "type": "bool"
770
+ }
771
+ ],
772
+ "name": "callDelta",
773
+ "outputs": [],
774
+ "stateMutability": "nonpayable",
775
+ "type": "function"
776
+ },
777
+ {
778
+ "inputs": [
779
+ {
780
+ "internalType": "uint16",
781
+ "name": "",
782
+ "type": "uint16"
783
+ },
784
+ {
785
+ "internalType": "uint256",
786
+ "name": "",
787
+ "type": "uint256"
788
+ }
789
+ ],
790
+ "name": "chainPathIndexLookup",
791
+ "outputs": [
792
+ {
793
+ "internalType": "uint256",
794
+ "name": "",
795
+ "type": "uint256"
796
+ }
797
+ ],
798
+ "stateMutability": "view",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [
803
+ {
804
+ "internalType": "uint256",
805
+ "name": "",
806
+ "type": "uint256"
807
+ }
808
+ ],
809
+ "name": "chainPaths",
810
+ "outputs": [
811
+ {
812
+ "internalType": "bool",
813
+ "name": "ready",
814
+ "type": "bool"
815
+ },
816
+ {
817
+ "internalType": "uint16",
818
+ "name": "dstChainId",
819
+ "type": "uint16"
820
+ },
821
+ {
822
+ "internalType": "uint256",
823
+ "name": "dstPoolId",
824
+ "type": "uint256"
825
+ },
826
+ {
827
+ "internalType": "uint256",
828
+ "name": "weight",
829
+ "type": "uint256"
830
+ },
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "balance",
834
+ "type": "uint256"
835
+ },
836
+ {
837
+ "internalType": "uint256",
838
+ "name": "lkb",
839
+ "type": "uint256"
840
+ },
841
+ {
842
+ "internalType": "uint256",
843
+ "name": "credits",
844
+ "type": "uint256"
845
+ },
846
+ {
847
+ "internalType": "uint256",
848
+ "name": "idealBalance",
849
+ "type": "uint256"
850
+ }
851
+ ],
852
+ "stateMutability": "view",
853
+ "type": "function"
854
+ },
855
+ {
856
+ "inputs": [],
857
+ "name": "convertRate",
858
+ "outputs": [
859
+ {
860
+ "internalType": "uint256",
861
+ "name": "",
862
+ "type": "uint256"
863
+ }
864
+ ],
865
+ "stateMutability": "view",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [
870
+ {
871
+ "internalType": "uint16",
872
+ "name": "_dstChainId",
873
+ "type": "uint16"
874
+ },
875
+ {
876
+ "internalType": "uint256",
877
+ "name": "_dstPoolId",
878
+ "type": "uint256"
879
+ },
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "_weight",
883
+ "type": "uint256"
884
+ }
885
+ ],
886
+ "name": "createChainPath",
887
+ "outputs": [],
888
+ "stateMutability": "nonpayable",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [
893
+ {
894
+ "internalType": "uint16",
895
+ "name": "_dstChainId",
896
+ "type": "uint16"
897
+ },
898
+ {
899
+ "internalType": "uint256",
900
+ "name": "_dstPoolId",
901
+ "type": "uint256"
902
+ },
903
+ {
904
+ "components": [
905
+ {
906
+ "internalType": "uint256",
907
+ "name": "credits",
908
+ "type": "uint256"
909
+ },
910
+ {
911
+ "internalType": "uint256",
912
+ "name": "idealBalance",
913
+ "type": "uint256"
914
+ }
915
+ ],
916
+ "internalType": "struct Pool.CreditObj",
917
+ "name": "_c",
918
+ "type": "tuple"
919
+ }
920
+ ],
921
+ "name": "creditChainPath",
922
+ "outputs": [],
923
+ "stateMutability": "nonpayable",
924
+ "type": "function"
925
+ },
926
+ {
927
+ "inputs": [],
928
+ "name": "decimals",
929
+ "outputs": [
930
+ {
931
+ "internalType": "uint256",
932
+ "name": "",
933
+ "type": "uint256"
934
+ }
935
+ ],
936
+ "stateMutability": "view",
937
+ "type": "function"
938
+ },
939
+ {
940
+ "inputs": [
941
+ {
942
+ "internalType": "address",
943
+ "name": "spender",
944
+ "type": "address"
945
+ },
946
+ {
947
+ "internalType": "uint256",
948
+ "name": "subtractedValue",
949
+ "type": "uint256"
950
+ }
951
+ ],
952
+ "name": "decreaseAllowance",
953
+ "outputs": [
954
+ {
955
+ "internalType": "bool",
956
+ "name": "",
957
+ "type": "bool"
958
+ }
959
+ ],
960
+ "stateMutability": "nonpayable",
961
+ "type": "function"
962
+ },
963
+ {
964
+ "inputs": [],
965
+ "name": "defaultLPMode",
966
+ "outputs": [
967
+ {
968
+ "internalType": "bool",
969
+ "name": "",
970
+ "type": "bool"
971
+ }
972
+ ],
973
+ "stateMutability": "view",
974
+ "type": "function"
975
+ },
976
+ {
977
+ "inputs": [],
978
+ "name": "defaultSwapMode",
979
+ "outputs": [
980
+ {
981
+ "internalType": "bool",
982
+ "name": "",
983
+ "type": "bool"
984
+ }
985
+ ],
986
+ "stateMutability": "view",
987
+ "type": "function"
988
+ },
989
+ {
990
+ "inputs": [],
991
+ "name": "deltaCredit",
992
+ "outputs": [
993
+ {
994
+ "internalType": "uint256",
995
+ "name": "",
996
+ "type": "uint256"
997
+ }
998
+ ],
999
+ "stateMutability": "view",
1000
+ "type": "function"
1001
+ },
1002
+ {
1003
+ "inputs": [],
1004
+ "name": "eqFeePool",
1005
+ "outputs": [
1006
+ {
1007
+ "internalType": "uint256",
1008
+ "name": "",
1009
+ "type": "uint256"
1010
+ }
1011
+ ],
1012
+ "stateMutability": "view",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [],
1017
+ "name": "feeLibrary",
1018
+ "outputs": [
1019
+ {
1020
+ "internalType": "address",
1021
+ "name": "",
1022
+ "type": "address"
1023
+ }
1024
+ ],
1025
+ "stateMutability": "view",
1026
+ "type": "function"
1027
+ },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "uint16",
1032
+ "name": "_dstChainId",
1033
+ "type": "uint16"
1034
+ },
1035
+ {
1036
+ "internalType": "uint256",
1037
+ "name": "_dstPoolId",
1038
+ "type": "uint256"
1039
+ }
1040
+ ],
1041
+ "name": "getChainPath",
1042
+ "outputs": [
1043
+ {
1044
+ "components": [
1045
+ {
1046
+ "internalType": "bool",
1047
+ "name": "ready",
1048
+ "type": "bool"
1049
+ },
1050
+ {
1051
+ "internalType": "uint16",
1052
+ "name": "dstChainId",
1053
+ "type": "uint16"
1054
+ },
1055
+ {
1056
+ "internalType": "uint256",
1057
+ "name": "dstPoolId",
1058
+ "type": "uint256"
1059
+ },
1060
+ {
1061
+ "internalType": "uint256",
1062
+ "name": "weight",
1063
+ "type": "uint256"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "balance",
1068
+ "type": "uint256"
1069
+ },
1070
+ {
1071
+ "internalType": "uint256",
1072
+ "name": "lkb",
1073
+ "type": "uint256"
1074
+ },
1075
+ {
1076
+ "internalType": "uint256",
1077
+ "name": "credits",
1078
+ "type": "uint256"
1079
+ },
1080
+ {
1081
+ "internalType": "uint256",
1082
+ "name": "idealBalance",
1083
+ "type": "uint256"
1084
+ }
1085
+ ],
1086
+ "internalType": "struct Pool.ChainPath",
1087
+ "name": "",
1088
+ "type": "tuple"
1089
+ }
1090
+ ],
1091
+ "stateMutability": "view",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [],
1096
+ "name": "getChainPathsLength",
1097
+ "outputs": [
1098
+ {
1099
+ "internalType": "uint256",
1100
+ "name": "",
1101
+ "type": "uint256"
1102
+ }
1103
+ ],
1104
+ "stateMutability": "view",
1105
+ "type": "function"
1106
+ },
1107
+ {
1108
+ "inputs": [
1109
+ {
1110
+ "internalType": "address",
1111
+ "name": "spender",
1112
+ "type": "address"
1113
+ },
1114
+ {
1115
+ "internalType": "uint256",
1116
+ "name": "addedValue",
1117
+ "type": "uint256"
1118
+ }
1119
+ ],
1120
+ "name": "increaseAllowance",
1121
+ "outputs": [
1122
+ {
1123
+ "internalType": "bool",
1124
+ "name": "",
1125
+ "type": "bool"
1126
+ }
1127
+ ],
1128
+ "stateMutability": "nonpayable",
1129
+ "type": "function"
1130
+ },
1131
+ {
1132
+ "inputs": [
1133
+ {
1134
+ "internalType": "address",
1135
+ "name": "_from",
1136
+ "type": "address"
1137
+ },
1138
+ {
1139
+ "internalType": "uint256",
1140
+ "name": "_amountLP",
1141
+ "type": "uint256"
1142
+ },
1143
+ {
1144
+ "internalType": "address",
1145
+ "name": "_to",
1146
+ "type": "address"
1147
+ }
1148
+ ],
1149
+ "name": "instantRedeemLocal",
1150
+ "outputs": [
1151
+ {
1152
+ "internalType": "uint256",
1153
+ "name": "amountSD",
1154
+ "type": "uint256"
1155
+ }
1156
+ ],
1157
+ "stateMutability": "nonpayable",
1158
+ "type": "function"
1159
+ },
1160
+ {
1161
+ "inputs": [],
1162
+ "name": "localDecimals",
1163
+ "outputs": [
1164
+ {
1165
+ "internalType": "uint256",
1166
+ "name": "",
1167
+ "type": "uint256"
1168
+ }
1169
+ ],
1170
+ "stateMutability": "view",
1171
+ "type": "function"
1172
+ },
1173
+ {
1174
+ "inputs": [],
1175
+ "name": "lpDeltaBP",
1176
+ "outputs": [
1177
+ {
1178
+ "internalType": "uint256",
1179
+ "name": "",
1180
+ "type": "uint256"
1181
+ }
1182
+ ],
1183
+ "stateMutability": "view",
1184
+ "type": "function"
1185
+ },
1186
+ {
1187
+ "inputs": [
1188
+ {
1189
+ "internalType": "address",
1190
+ "name": "_to",
1191
+ "type": "address"
1192
+ },
1193
+ {
1194
+ "internalType": "uint256",
1195
+ "name": "_amountLD",
1196
+ "type": "uint256"
1197
+ }
1198
+ ],
1199
+ "name": "mint",
1200
+ "outputs": [
1201
+ {
1202
+ "internalType": "uint256",
1203
+ "name": "",
1204
+ "type": "uint256"
1205
+ }
1206
+ ],
1207
+ "stateMutability": "nonpayable",
1208
+ "type": "function"
1209
+ },
1210
+ {
1211
+ "inputs": [],
1212
+ "name": "mintFeeBP",
1213
+ "outputs": [
1214
+ {
1215
+ "internalType": "uint256",
1216
+ "name": "",
1217
+ "type": "uint256"
1218
+ }
1219
+ ],
1220
+ "stateMutability": "view",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [],
1225
+ "name": "mintFeeBalance",
1226
+ "outputs": [
1227
+ {
1228
+ "internalType": "uint256",
1229
+ "name": "",
1230
+ "type": "uint256"
1231
+ }
1232
+ ],
1233
+ "stateMutability": "view",
1234
+ "type": "function"
1235
+ },
1236
+ {
1237
+ "inputs": [],
1238
+ "name": "name",
1239
+ "outputs": [
1240
+ {
1241
+ "internalType": "string",
1242
+ "name": "",
1243
+ "type": "string"
1244
+ }
1245
+ ],
1246
+ "stateMutability": "view",
1247
+ "type": "function"
1248
+ },
1249
+ {
1250
+ "inputs": [
1251
+ {
1252
+ "internalType": "address",
1253
+ "name": "",
1254
+ "type": "address"
1255
+ }
1256
+ ],
1257
+ "name": "nonces",
1258
+ "outputs": [
1259
+ {
1260
+ "internalType": "uint256",
1261
+ "name": "",
1262
+ "type": "uint256"
1263
+ }
1264
+ ],
1265
+ "stateMutability": "view",
1266
+ "type": "function"
1267
+ },
1268
+ {
1269
+ "inputs": [
1270
+ {
1271
+ "internalType": "address",
1272
+ "name": "owner",
1273
+ "type": "address"
1274
+ },
1275
+ {
1276
+ "internalType": "address",
1277
+ "name": "spender",
1278
+ "type": "address"
1279
+ },
1280
+ {
1281
+ "internalType": "uint256",
1282
+ "name": "value",
1283
+ "type": "uint256"
1284
+ },
1285
+ {
1286
+ "internalType": "uint256",
1287
+ "name": "deadline",
1288
+ "type": "uint256"
1289
+ },
1290
+ {
1291
+ "internalType": "uint8",
1292
+ "name": "v",
1293
+ "type": "uint8"
1294
+ },
1295
+ {
1296
+ "internalType": "bytes32",
1297
+ "name": "r",
1298
+ "type": "bytes32"
1299
+ },
1300
+ {
1301
+ "internalType": "bytes32",
1302
+ "name": "s",
1303
+ "type": "bytes32"
1304
+ }
1305
+ ],
1306
+ "name": "permit",
1307
+ "outputs": [],
1308
+ "stateMutability": "nonpayable",
1309
+ "type": "function"
1310
+ },
1311
+ {
1312
+ "inputs": [],
1313
+ "name": "poolId",
1314
+ "outputs": [
1315
+ {
1316
+ "internalType": "uint256",
1317
+ "name": "",
1318
+ "type": "uint256"
1319
+ }
1320
+ ],
1321
+ "stateMutability": "view",
1322
+ "type": "function"
1323
+ },
1324
+ {
1325
+ "inputs": [],
1326
+ "name": "protocolFeeBalance",
1327
+ "outputs": [
1328
+ {
1329
+ "internalType": "uint256",
1330
+ "name": "",
1331
+ "type": "uint256"
1332
+ }
1333
+ ],
1334
+ "stateMutability": "view",
1335
+ "type": "function"
1336
+ },
1337
+ {
1338
+ "inputs": [
1339
+ {
1340
+ "internalType": "address",
1341
+ "name": "_from",
1342
+ "type": "address"
1343
+ },
1344
+ {
1345
+ "internalType": "uint256",
1346
+ "name": "_amountLP",
1347
+ "type": "uint256"
1348
+ },
1349
+ {
1350
+ "internalType": "uint16",
1351
+ "name": "_dstChainId",
1352
+ "type": "uint16"
1353
+ },
1354
+ {
1355
+ "internalType": "uint256",
1356
+ "name": "_dstPoolId",
1357
+ "type": "uint256"
1358
+ },
1359
+ {
1360
+ "internalType": "bytes",
1361
+ "name": "_to",
1362
+ "type": "bytes"
1363
+ }
1364
+ ],
1365
+ "name": "redeemLocal",
1366
+ "outputs": [
1367
+ {
1368
+ "internalType": "uint256",
1369
+ "name": "amountSD",
1370
+ "type": "uint256"
1371
+ }
1372
+ ],
1373
+ "stateMutability": "nonpayable",
1374
+ "type": "function"
1375
+ },
1376
+ {
1377
+ "inputs": [
1378
+ {
1379
+ "internalType": "uint16",
1380
+ "name": "_srcChainId",
1381
+ "type": "uint16"
1382
+ },
1383
+ {
1384
+ "internalType": "uint256",
1385
+ "name": "_srcPoolId",
1386
+ "type": "uint256"
1387
+ },
1388
+ {
1389
+ "internalType": "address",
1390
+ "name": "_to",
1391
+ "type": "address"
1392
+ },
1393
+ {
1394
+ "internalType": "uint256",
1395
+ "name": "_amountSD",
1396
+ "type": "uint256"
1397
+ },
1398
+ {
1399
+ "internalType": "uint256",
1400
+ "name": "_amountToMintSD",
1401
+ "type": "uint256"
1402
+ }
1403
+ ],
1404
+ "name": "redeemLocalCallback",
1405
+ "outputs": [],
1406
+ "stateMutability": "nonpayable",
1407
+ "type": "function"
1408
+ },
1409
+ {
1410
+ "inputs": [
1411
+ {
1412
+ "internalType": "uint16",
1413
+ "name": "_srcChainId",
1414
+ "type": "uint16"
1415
+ },
1416
+ {
1417
+ "internalType": "uint256",
1418
+ "name": "_srcPoolId",
1419
+ "type": "uint256"
1420
+ },
1421
+ {
1422
+ "internalType": "uint256",
1423
+ "name": "_amountSD",
1424
+ "type": "uint256"
1425
+ }
1426
+ ],
1427
+ "name": "redeemLocalCheckOnRemote",
1428
+ "outputs": [
1429
+ {
1430
+ "internalType": "uint256",
1431
+ "name": "swapAmount",
1432
+ "type": "uint256"
1433
+ },
1434
+ {
1435
+ "internalType": "uint256",
1436
+ "name": "mintAmount",
1437
+ "type": "uint256"
1438
+ }
1439
+ ],
1440
+ "stateMutability": "nonpayable",
1441
+ "type": "function"
1442
+ },
1443
+ {
1444
+ "inputs": [
1445
+ {
1446
+ "internalType": "uint16",
1447
+ "name": "_dstChainId",
1448
+ "type": "uint16"
1449
+ },
1450
+ {
1451
+ "internalType": "uint256",
1452
+ "name": "_dstPoolId",
1453
+ "type": "uint256"
1454
+ },
1455
+ {
1456
+ "internalType": "address",
1457
+ "name": "_from",
1458
+ "type": "address"
1459
+ },
1460
+ {
1461
+ "internalType": "uint256",
1462
+ "name": "_amountLP",
1463
+ "type": "uint256"
1464
+ }
1465
+ ],
1466
+ "name": "redeemRemote",
1467
+ "outputs": [],
1468
+ "stateMutability": "nonpayable",
1469
+ "type": "function"
1470
+ },
1471
+ {
1472
+ "inputs": [],
1473
+ "name": "router",
1474
+ "outputs": [
1475
+ {
1476
+ "internalType": "address",
1477
+ "name": "",
1478
+ "type": "address"
1479
+ }
1480
+ ],
1481
+ "stateMutability": "view",
1482
+ "type": "function"
1483
+ },
1484
+ {
1485
+ "inputs": [
1486
+ {
1487
+ "internalType": "uint16",
1488
+ "name": "_dstChainId",
1489
+ "type": "uint16"
1490
+ },
1491
+ {
1492
+ "internalType": "uint256",
1493
+ "name": "_dstPoolId",
1494
+ "type": "uint256"
1495
+ }
1496
+ ],
1497
+ "name": "sendCredits",
1498
+ "outputs": [
1499
+ {
1500
+ "components": [
1501
+ {
1502
+ "internalType": "uint256",
1503
+ "name": "credits",
1504
+ "type": "uint256"
1505
+ },
1506
+ {
1507
+ "internalType": "uint256",
1508
+ "name": "idealBalance",
1509
+ "type": "uint256"
1510
+ }
1511
+ ],
1512
+ "internalType": "struct Pool.CreditObj",
1513
+ "name": "c",
1514
+ "type": "tuple"
1515
+ }
1516
+ ],
1517
+ "stateMutability": "nonpayable",
1518
+ "type": "function"
1519
+ },
1520
+ {
1521
+ "inputs": [
1522
+ {
1523
+ "internalType": "bool",
1524
+ "name": "_batched",
1525
+ "type": "bool"
1526
+ },
1527
+ {
1528
+ "internalType": "uint256",
1529
+ "name": "_swapDeltaBP",
1530
+ "type": "uint256"
1531
+ },
1532
+ {
1533
+ "internalType": "uint256",
1534
+ "name": "_lpDeltaBP",
1535
+ "type": "uint256"
1536
+ },
1537
+ {
1538
+ "internalType": "bool",
1539
+ "name": "_defaultSwapMode",
1540
+ "type": "bool"
1541
+ },
1542
+ {
1543
+ "internalType": "bool",
1544
+ "name": "_defaultLPMode",
1545
+ "type": "bool"
1546
+ }
1547
+ ],
1548
+ "name": "setDeltaParam",
1549
+ "outputs": [],
1550
+ "stateMutability": "nonpayable",
1551
+ "type": "function"
1552
+ },
1553
+ {
1554
+ "inputs": [
1555
+ {
1556
+ "internalType": "uint256",
1557
+ "name": "_mintFeeBP",
1558
+ "type": "uint256"
1559
+ }
1560
+ ],
1561
+ "name": "setFee",
1562
+ "outputs": [],
1563
+ "stateMutability": "nonpayable",
1564
+ "type": "function"
1565
+ },
1566
+ {
1567
+ "inputs": [
1568
+ {
1569
+ "internalType": "address",
1570
+ "name": "_feeLibraryAddr",
1571
+ "type": "address"
1572
+ }
1573
+ ],
1574
+ "name": "setFeeLibrary",
1575
+ "outputs": [],
1576
+ "stateMutability": "nonpayable",
1577
+ "type": "function"
1578
+ },
1579
+ {
1580
+ "inputs": [
1581
+ {
1582
+ "internalType": "bool",
1583
+ "name": "_swapStop",
1584
+ "type": "bool"
1585
+ }
1586
+ ],
1587
+ "name": "setSwapStop",
1588
+ "outputs": [],
1589
+ "stateMutability": "nonpayable",
1590
+ "type": "function"
1591
+ },
1592
+ {
1593
+ "inputs": [
1594
+ {
1595
+ "internalType": "uint16",
1596
+ "name": "_dstChainId",
1597
+ "type": "uint16"
1598
+ },
1599
+ {
1600
+ "internalType": "uint256",
1601
+ "name": "_dstPoolId",
1602
+ "type": "uint256"
1603
+ },
1604
+ {
1605
+ "internalType": "uint16",
1606
+ "name": "_weight",
1607
+ "type": "uint16"
1608
+ }
1609
+ ],
1610
+ "name": "setWeightForChainPath",
1611
+ "outputs": [],
1612
+ "stateMutability": "nonpayable",
1613
+ "type": "function"
1614
+ },
1615
+ {
1616
+ "inputs": [],
1617
+ "name": "sharedDecimals",
1618
+ "outputs": [
1619
+ {
1620
+ "internalType": "uint256",
1621
+ "name": "",
1622
+ "type": "uint256"
1623
+ }
1624
+ ],
1625
+ "stateMutability": "view",
1626
+ "type": "function"
1627
+ },
1628
+ {
1629
+ "inputs": [],
1630
+ "name": "stopSwap",
1631
+ "outputs": [
1632
+ {
1633
+ "internalType": "bool",
1634
+ "name": "",
1635
+ "type": "bool"
1636
+ }
1637
+ ],
1638
+ "stateMutability": "view",
1639
+ "type": "function"
1640
+ },
1641
+ {
1642
+ "inputs": [
1643
+ {
1644
+ "internalType": "uint16",
1645
+ "name": "_dstChainId",
1646
+ "type": "uint16"
1647
+ },
1648
+ {
1649
+ "internalType": "uint256",
1650
+ "name": "_dstPoolId",
1651
+ "type": "uint256"
1652
+ },
1653
+ {
1654
+ "internalType": "address",
1655
+ "name": "_from",
1656
+ "type": "address"
1657
+ },
1658
+ {
1659
+ "internalType": "uint256",
1660
+ "name": "_amountLD",
1661
+ "type": "uint256"
1662
+ },
1663
+ {
1664
+ "internalType": "uint256",
1665
+ "name": "_minAmountLD",
1666
+ "type": "uint256"
1667
+ },
1668
+ {
1669
+ "internalType": "bool",
1670
+ "name": "newLiquidity",
1671
+ "type": "bool"
1672
+ }
1673
+ ],
1674
+ "name": "swap",
1675
+ "outputs": [
1676
+ {
1677
+ "components": [
1678
+ {
1679
+ "internalType": "uint256",
1680
+ "name": "amount",
1681
+ "type": "uint256"
1682
+ },
1683
+ {
1684
+ "internalType": "uint256",
1685
+ "name": "eqFee",
1686
+ "type": "uint256"
1687
+ },
1688
+ {
1689
+ "internalType": "uint256",
1690
+ "name": "eqReward",
1691
+ "type": "uint256"
1692
+ },
1693
+ {
1694
+ "internalType": "uint256",
1695
+ "name": "lpFee",
1696
+ "type": "uint256"
1697
+ },
1698
+ {
1699
+ "internalType": "uint256",
1700
+ "name": "protocolFee",
1701
+ "type": "uint256"
1702
+ },
1703
+ {
1704
+ "internalType": "uint256",
1705
+ "name": "lkbRemove",
1706
+ "type": "uint256"
1707
+ }
1708
+ ],
1709
+ "internalType": "struct Pool.SwapObj",
1710
+ "name": "",
1711
+ "type": "tuple"
1712
+ }
1713
+ ],
1714
+ "stateMutability": "nonpayable",
1715
+ "type": "function"
1716
+ },
1717
+ {
1718
+ "inputs": [],
1719
+ "name": "swapDeltaBP",
1720
+ "outputs": [
1721
+ {
1722
+ "internalType": "uint256",
1723
+ "name": "",
1724
+ "type": "uint256"
1725
+ }
1726
+ ],
1727
+ "stateMutability": "view",
1728
+ "type": "function"
1729
+ },
1730
+ {
1731
+ "inputs": [
1732
+ {
1733
+ "internalType": "uint16",
1734
+ "name": "_srcChainId",
1735
+ "type": "uint16"
1736
+ },
1737
+ {
1738
+ "internalType": "uint256",
1739
+ "name": "_srcPoolId",
1740
+ "type": "uint256"
1741
+ },
1742
+ {
1743
+ "internalType": "address",
1744
+ "name": "_to",
1745
+ "type": "address"
1746
+ },
1747
+ {
1748
+ "components": [
1749
+ {
1750
+ "internalType": "uint256",
1751
+ "name": "amount",
1752
+ "type": "uint256"
1753
+ },
1754
+ {
1755
+ "internalType": "uint256",
1756
+ "name": "eqFee",
1757
+ "type": "uint256"
1758
+ },
1759
+ {
1760
+ "internalType": "uint256",
1761
+ "name": "eqReward",
1762
+ "type": "uint256"
1763
+ },
1764
+ {
1765
+ "internalType": "uint256",
1766
+ "name": "lpFee",
1767
+ "type": "uint256"
1768
+ },
1769
+ {
1770
+ "internalType": "uint256",
1771
+ "name": "protocolFee",
1772
+ "type": "uint256"
1773
+ },
1774
+ {
1775
+ "internalType": "uint256",
1776
+ "name": "lkbRemove",
1777
+ "type": "uint256"
1778
+ }
1779
+ ],
1780
+ "internalType": "struct Pool.SwapObj",
1781
+ "name": "_s",
1782
+ "type": "tuple"
1783
+ }
1784
+ ],
1785
+ "name": "swapRemote",
1786
+ "outputs": [
1787
+ {
1788
+ "internalType": "uint256",
1789
+ "name": "amountLD",
1790
+ "type": "uint256"
1791
+ }
1792
+ ],
1793
+ "stateMutability": "nonpayable",
1794
+ "type": "function"
1795
+ },
1796
+ {
1797
+ "inputs": [],
1798
+ "name": "symbol",
1799
+ "outputs": [
1800
+ {
1801
+ "internalType": "string",
1802
+ "name": "",
1803
+ "type": "string"
1804
+ }
1805
+ ],
1806
+ "stateMutability": "view",
1807
+ "type": "function"
1808
+ },
1809
+ {
1810
+ "inputs": [],
1811
+ "name": "token",
1812
+ "outputs": [
1813
+ {
1814
+ "internalType": "address",
1815
+ "name": "",
1816
+ "type": "address"
1817
+ }
1818
+ ],
1819
+ "stateMutability": "view",
1820
+ "type": "function"
1821
+ },
1822
+ {
1823
+ "inputs": [],
1824
+ "name": "totalLiquidity",
1825
+ "outputs": [
1826
+ {
1827
+ "internalType": "uint256",
1828
+ "name": "",
1829
+ "type": "uint256"
1830
+ }
1831
+ ],
1832
+ "stateMutability": "view",
1833
+ "type": "function"
1834
+ },
1835
+ {
1836
+ "inputs": [],
1837
+ "name": "totalSupply",
1838
+ "outputs": [
1839
+ {
1840
+ "internalType": "uint256",
1841
+ "name": "",
1842
+ "type": "uint256"
1843
+ }
1844
+ ],
1845
+ "stateMutability": "view",
1846
+ "type": "function"
1847
+ },
1848
+ {
1849
+ "inputs": [],
1850
+ "name": "totalWeight",
1851
+ "outputs": [
1852
+ {
1853
+ "internalType": "uint256",
1854
+ "name": "",
1855
+ "type": "uint256"
1856
+ }
1857
+ ],
1858
+ "stateMutability": "view",
1859
+ "type": "function"
1860
+ },
1861
+ {
1862
+ "inputs": [
1863
+ {
1864
+ "internalType": "address",
1865
+ "name": "to",
1866
+ "type": "address"
1867
+ },
1868
+ {
1869
+ "internalType": "uint256",
1870
+ "name": "value",
1871
+ "type": "uint256"
1872
+ }
1873
+ ],
1874
+ "name": "transfer",
1875
+ "outputs": [
1876
+ {
1877
+ "internalType": "bool",
1878
+ "name": "",
1879
+ "type": "bool"
1880
+ }
1881
+ ],
1882
+ "stateMutability": "nonpayable",
1883
+ "type": "function"
1884
+ },
1885
+ {
1886
+ "inputs": [
1887
+ {
1888
+ "internalType": "address",
1889
+ "name": "from",
1890
+ "type": "address"
1891
+ },
1892
+ {
1893
+ "internalType": "address",
1894
+ "name": "to",
1895
+ "type": "address"
1896
+ },
1897
+ {
1898
+ "internalType": "uint256",
1899
+ "name": "value",
1900
+ "type": "uint256"
1901
+ }
1902
+ ],
1903
+ "name": "transferFrom",
1904
+ "outputs": [
1905
+ {
1906
+ "internalType": "bool",
1907
+ "name": "",
1908
+ "type": "bool"
1909
+ }
1910
+ ],
1911
+ "stateMutability": "nonpayable",
1912
+ "type": "function"
1913
+ },
1914
+ {
1915
+ "inputs": [
1916
+ {
1917
+ "internalType": "address",
1918
+ "name": "_to",
1919
+ "type": "address"
1920
+ }
1921
+ ],
1922
+ "name": "withdrawMintFeeBalance",
1923
+ "outputs": [],
1924
+ "stateMutability": "nonpayable",
1925
+ "type": "function"
1926
+ },
1927
+ {
1928
+ "inputs": [
1929
+ {
1930
+ "internalType": "address",
1931
+ "name": "_to",
1932
+ "type": "address"
1933
+ }
1934
+ ],
1935
+ "name": "withdrawProtocolFeeBalance",
1936
+ "outputs": [],
1937
+ "stateMutability": "nonpayable",
1938
+ "type": "function"
1939
+ }
1940
+ ]