rubic-sdk 4.25.0 → 4.26.0-alpha-symb-sdk-upd.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (558) hide show
  1. package/LICENSE +674 -674
  2. package/README.md +360 -360
  3. package/dist/rubic-sdk.min.js +2413 -399
  4. package/dist/rubic-sdk.min.js.map +1 -1
  5. package/lib/common/errors/blockchain/deflation-token.error.d.ts +2 -2
  6. package/lib/common/errors/blockchain/healthcheck.error.d.ts +1 -1
  7. package/lib/common/errors/blockchain/invalid-address.error.d.ts +1 -1
  8. package/lib/common/errors/blockchain/low-gas.error.d.ts +1 -1
  9. package/lib/common/errors/blockchain/transaction-reverted.error.d.ts +1 -1
  10. package/lib/common/errors/blockchain/tron-insufficient-native-balance.d.ts +1 -1
  11. package/lib/common/errors/blockchain/tron-transaction-expired.d.ts +1 -1
  12. package/lib/common/errors/blockchain/user-reject.error.d.ts +1 -1
  13. package/lib/common/errors/blockchain/wrong-from-address.error.d.ts +1 -1
  14. package/lib/common/errors/blockchain/wrong-receiver-address.error.d.ts +1 -1
  15. package/lib/common/errors/cross-chain/cross-chain-is-unavailable.error.d.ts +1 -1
  16. package/lib/common/errors/cross-chain/insufficient-funds-gas-price-value.error.d.ts +1 -1
  17. package/lib/common/errors/cross-chain/low-to-slippage.error.d.ts +1 -1
  18. package/lib/common/errors/cross-chain/max-gas-price-overflow.error.d.ts +1 -1
  19. package/lib/common/errors/cross-chain/too-low-amount.error.d.ts +1 -1
  20. package/lib/common/errors/cross-chain/unsupported-receiver-address.error.d.ts +1 -1
  21. package/lib/common/errors/cross-chain/updated-rates-error.d.ts +2 -2
  22. package/lib/common/errors/on-chain/on-chain-is-unavailable.error.d.ts +1 -1
  23. package/lib/common/errors/proxy/unapproved-contract-error.d.ts +1 -1
  24. package/lib/common/errors/proxy/unapproved-method-error.d.ts +1 -1
  25. package/lib/common/errors/swap/bridgers-pair-is-unavailable.error.d.ts +1 -1
  26. package/lib/common/errors/swap/failed-to-check-for-transaction-receipt.error.d.ts +1 -1
  27. package/lib/common/errors/swap/insufficient-funds-oneinch.error.d.ts +2 -2
  28. package/lib/common/errors/swap/insufficient-funds.error.d.ts +2 -2
  29. package/lib/common/errors/swap/insufficient-liquidity.error.d.ts +1 -1
  30. package/lib/common/errors/swap/lifi-pair-is-unavailable.error.d.ts +1 -1
  31. package/lib/common/errors/swap/low-slippage-deflationary-token.error.d.ts +1 -1
  32. package/lib/common/errors/swap/low-slippage.error.d.ts +1 -1
  33. package/lib/common/errors/swap/max-amount.error.d.ts +1 -1
  34. package/lib/common/errors/swap/min-amount.error.d.ts +1 -1
  35. package/lib/common/errors/swap/not-supported-blockchain.d.ts +1 -1
  36. package/lib/common/errors/swap/not-supported-tokens.error.d.ts +1 -1
  37. package/lib/common/errors/swap/not-whitelisted-provider.error.d.ts +1 -1
  38. package/lib/common/errors/swap/swap-request.error.d.ts +1 -1
  39. package/lib/common/errors/swap/unnecessary-approve.error.d.ts +1 -1
  40. package/lib/common/errors/swap/wallet-not-connected.error.d.ts +1 -1
  41. package/lib/common/errors/swap/wrong-network.error.d.ts +2 -2
  42. package/lib/common/errors/utils/timeout.error.d.ts +1 -1
  43. package/lib/common/tokens/constants/native-tokens.d.ts +2 -2
  44. package/lib/common/tokens/constants/wrapped-addresses.d.ts +1 -1
  45. package/lib/common/tokens/constants/wrapped-native-tokens.d.ts +2 -2
  46. package/lib/common/tokens/models/token-base-struct.d.ts +1 -1
  47. package/lib/common/tokens/price-token-amount.d.ts +4 -4
  48. package/lib/common/tokens/price-token.d.ts +3 -3
  49. package/lib/common/tokens/token-amount.d.ts +3 -3
  50. package/lib/common/tokens/token.d.ts +2 -2
  51. package/lib/common/utils/decorators/cache-decorator/cache.decorator.d.ts +1 -1
  52. package/lib/common/utils/errors.d.ts +1 -1
  53. package/lib/common/utils/options.d.ts +3 -3
  54. package/lib/core/blockchain/constants/healthcheck.d.ts +1 -1
  55. package/lib/core/blockchain/utils/blockchains-info/blockchains-info.d.ts +2 -2
  56. package/lib/core/blockchain/utils/blockchains-info/constants/blockchain-id.d.ts +1 -1
  57. package/lib/core/blockchain/utils/blockchains-info/constants/chain-type-by-blockchain.d.ts +2 -2
  58. package/lib/core/blockchain/web3-private-service/models/create-web3-private.d.ts +6 -6
  59. package/lib/core/blockchain/web3-private-service/models/web3-private-storage.d.ts +5 -5
  60. package/lib/core/blockchain/web3-private-service/web3-private/empty-web3-private.d.ts +3 -3
  61. package/lib/core/blockchain/web3-private-service/web3-private/evm-web3-private/evm-web3-private.d.ts +7 -7
  62. package/lib/core/blockchain/web3-private-service/web3-private/evm-web3-private/models/evm-basic-transaction-options.d.ts +2 -2
  63. package/lib/core/blockchain/web3-private-service/web3-private/evm-web3-private/models/evm-transaction-options.d.ts +1 -1
  64. package/lib/core/blockchain/web3-private-service/web3-private/tron-web3-private/models/tron-transaction-options.d.ts +1 -1
  65. package/lib/core/blockchain/web3-private-service/web3-private/tron-web3-private/tron-web3-private.d.ts +8 -8
  66. package/lib/core/blockchain/web3-private-service/web3-private/web3-private.d.ts +2 -2
  67. package/lib/core/blockchain/web3-private-service/web3-private-service.d.ts +8 -8
  68. package/lib/core/blockchain/web3-public-service/models/create-web3-public-proxy.d.ts +6 -6
  69. package/lib/core/blockchain/web3-public-service/models/web3-public-storage.d.ts +4 -4
  70. package/lib/core/blockchain/web3-public-service/web3-public/constants/multicall-addresses.d.ts +1 -1
  71. package/lib/core/blockchain/web3-public-service/web3-public/evm-web3-public/evm-web3-public.d.ts +8 -8
  72. package/lib/core/blockchain/web3-public-service/web3-public/models/contract-multicall-response.d.ts +1 -1
  73. package/lib/core/blockchain/web3-public-service/web3-public/tron-web3-public/tron-web3-public.d.ts +9 -9
  74. package/lib/core/blockchain/web3-public-service/web3-public/web3-public.d.ts +9 -9
  75. package/lib/core/blockchain/web3-public-service/web3-public-service.d.ts +6 -6
  76. package/lib/core/blockchain/web3-pure/models/web3-pure-container.d.ts +2 -2
  77. package/lib/core/blockchain/web3-pure/typed-web3-pure/evm-web3-pure/evm-web3-pure.d.ts +2 -2
  78. package/lib/core/blockchain/web3-pure/typed-web3-pure/tron-web3-pure/tron-web3-pure.d.ts +3 -3
  79. package/lib/core/blockchain/web3-pure/web3-pure.d.ts +40 -40
  80. package/lib/core/coingecko-api/coingecko-api.d.ts +2 -2
  81. package/lib/core/gas-price-api/constants/eip1559-compatible-blockchains.d.ts +1 -1
  82. package/lib/core/gas-price-api/gas-price-api.d.ts +2 -2
  83. package/lib/core/injector/injector.d.ts +5 -5
  84. package/lib/core/sdk/models/configuration.d.ts +4 -4
  85. package/lib/core/sdk/models/provider-address.d.ts +1 -1
  86. package/lib/core/sdk/models/rpc-provider.d.ts +2 -2
  87. package/lib/core/sdk/models/wallet-provider.d.ts +3 -3
  88. package/lib/core/sdk/sdk.d.ts +13 -13
  89. package/lib/features/common/constants/wl-contract-address.d.ts +1 -1
  90. package/lib/features/common/models/encode-transaction-options.d.ts +1 -1
  91. package/lib/features/common/models/swap-transaction-options.d.ts +1 -1
  92. package/lib/features/common/providers/bridgers/constants/to-bridgers-blockchain.d.ts +1 -1
  93. package/lib/features/common/providers/bridgers/models/bridgers-swap-api.d.ts +3 -3
  94. package/lib/features/common/providers/bridgers/models/bridgers-update-data-and-status-api.d.ts +1 -1
  95. package/lib/features/common/status-manager/models/tx-status-data.d.ts +1 -1
  96. package/lib/features/common/status-manager/utils/get-bridgers-trade-status.d.ts +2 -2
  97. package/lib/features/common/status-manager/utils/get-src-tx-status.d.ts +2 -2
  98. package/lib/features/common/utils/check-address.d.ts +3 -3
  99. package/lib/features/common/utils/get-from-without-fee.d.ts +2 -2
  100. package/lib/features/common/utils/get-price-tokens-from-input-tokens.d.ts +2 -2
  101. package/lib/features/common/utils/token-native-address-proxy.d.ts +1 -1
  102. package/lib/features/cross-chain/calculation-manager/constants/cross-chain-providers.d.ts +9 -9
  103. package/lib/features/cross-chain/calculation-manager/constants/default-cross-chain-calculation-options.d.ts +1 -1
  104. package/lib/features/cross-chain/calculation-manager/cross-chain-manager.d.ts +7 -7
  105. package/lib/features/cross-chain/calculation-manager/models/cross-chain-manager-options.d.ts +3 -3
  106. package/lib/features/cross-chain/calculation-manager/models/cross-chain-options.d.ts +2 -2
  107. package/lib/features/cross-chain/calculation-manager/models/cross-chain-reactively-calculated-trade-data.d.ts +1 -1
  108. package/lib/features/cross-chain/calculation-manager/models/cross-chain-typed-trade-provider.d.ts +2 -2
  109. package/lib/features/cross-chain/calculation-manager/models/wrapped-cross-chain-trade-or-null.d.ts +1 -1
  110. package/lib/features/cross-chain/calculation-manager/providers/arbitrum-rbc-bridge/arbitrum-rbc-bridge-provider.d.ts +8 -8
  111. package/lib/features/cross-chain/calculation-manager/providers/arbitrum-rbc-bridge/arbitrum-rbc-bridge-trade.d.ts +9 -9
  112. package/lib/features/cross-chain/calculation-manager/providers/arbitrum-rbc-bridge/constants/arbitrum-rbc-bridge-contract-address.d.ts +2 -2
  113. package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/bridgers-cross-chain-provider.d.ts +7 -7
  114. package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/constants/bridgers-cross-chain-supported-blockchain.d.ts +1 -1
  115. package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/evm-bridgers-trade/evm-bridgers-cross-chain-trade.d.ts +11 -11
  116. package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/tron-bridgers-trade/models/tron-bridgers-transaction-data.d.ts +1 -1
  117. package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/tron-bridgers-trade/tron-bridgers-cross-chain-trade.d.ts +9 -9
  118. package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/utils/get-method-arguments-and-transaction-data.d.ts +5 -5
  119. package/lib/features/cross-chain/calculation-manager/providers/cbridge/cbridge-cross-chain-api-service.d.ts +4 -4
  120. package/lib/features/cross-chain/calculation-manager/providers/cbridge/cbridge-cross-chain-provider.d.ts +7 -7
  121. package/lib/features/cross-chain/calculation-manager/providers/cbridge/cbridge-cross-chain-trade.d.ts +11 -11
  122. package/lib/features/cross-chain/calculation-manager/providers/cbridge/constants/cbridge-contract-address.d.ts +2 -2
  123. package/lib/features/cross-chain/calculation-manager/providers/cbridge/models/cbridge-transfer-configs-response.d.ts +3 -3
  124. package/lib/features/cross-chain/calculation-manager/providers/cbridge/models/pegged-pair-config.d.ts +1 -1
  125. package/lib/features/cross-chain/calculation-manager/providers/changenow-provider/changenow-cross-chain-provider.d.ts +9 -9
  126. package/lib/features/cross-chain/calculation-manager/providers/changenow-provider/changenow-cross-chain-trade.d.ts +15 -15
  127. package/lib/features/cross-chain/calculation-manager/providers/changenow-provider/models/changenow-trade.d.ts +6 -6
  128. package/lib/features/cross-chain/calculation-manager/providers/common/constants/rubic-proxy-contract-address.d.ts +1 -1
  129. package/lib/features/cross-chain/calculation-manager/providers/common/cross-chain-provider.d.ts +10 -10
  130. package/lib/features/cross-chain/calculation-manager/providers/common/cross-chain-trade.d.ts +12 -12
  131. package/lib/features/cross-chain/calculation-manager/providers/common/emv-cross-chain-trade/evm-cross-chain-trade.d.ts +12 -12
  132. package/lib/features/cross-chain/calculation-manager/providers/common/models/bridge-type.d.ts +1 -1
  133. package/lib/features/cross-chain/calculation-manager/providers/common/models/calculation-result.d.ts +3 -3
  134. package/lib/features/cross-chain/calculation-manager/providers/common/models/on-chain-subtype.d.ts +1 -1
  135. package/lib/features/cross-chain/calculation-manager/providers/common/models/proxy-bridge-params.d.ts +2 -2
  136. package/lib/features/cross-chain/calculation-manager/providers/common/models/proxy-swap-params.d.ts +4 -4
  137. package/lib/features/cross-chain/calculation-manager/providers/common/models/trade-info.d.ts +1 -1
  138. package/lib/features/cross-chain/calculation-manager/providers/common/models/wrapped-cross-chain-trade.d.ts +3 -3
  139. package/lib/features/cross-chain/calculation-manager/providers/common/proxy-cross-chain-evm-facade/proxy-cross-chain-evm-trade.d.ts +9 -9
  140. package/lib/features/cross-chain/calculation-manager/providers/common/tron-cross-chain-trade/models/tron-contract-params.d.ts +1 -1
  141. package/lib/features/cross-chain/calculation-manager/providers/common/tron-cross-chain-trade/tron-cross-chain-trade.d.ts +11 -11
  142. package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/constants/contract-address.d.ts +2 -2
  143. package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/constants/portal-address.d.ts +1 -1
  144. package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/debridge-cross-chain-provider.d.ts +7 -7
  145. package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/debridge-cross-chain-trade.d.ts +11 -11
  146. package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/models/transaction-request.d.ts +1 -1
  147. package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/models/transaction-response.d.ts +1 -1
  148. package/lib/features/cross-chain/calculation-manager/providers/lifi-provider/lifi-cross-chain-provider.d.ts +7 -7
  149. package/lib/features/cross-chain/calculation-manager/providers/lifi-provider/lifi-cross-chain-trade.d.ts +11 -11
  150. package/lib/features/cross-chain/calculation-manager/providers/multichain-provider/multichain-cross-chain-provider.d.ts +7 -7
  151. package/lib/features/cross-chain/calculation-manager/providers/multichain-provider/multichain-cross-chain-trade.d.ts +12 -12
  152. package/lib/features/cross-chain/calculation-manager/providers/scroll-bridge/constants/scroll-bridge-contract-address.d.ts +2 -2
  153. package/lib/features/cross-chain/calculation-manager/providers/scroll-bridge/scroll-bridge-provider.d.ts +8 -8
  154. package/lib/features/cross-chain/calculation-manager/providers/scroll-bridge/scroll-bridge-trade.d.ts +9 -9
  155. package/lib/features/cross-chain/calculation-manager/providers/squidrouter-provider/constants/squidrouter-contract-address.d.ts +2 -2
  156. package/lib/features/cross-chain/calculation-manager/providers/squidrouter-provider/models/transaction-response.d.ts +1 -1
  157. package/lib/features/cross-chain/calculation-manager/providers/squidrouter-provider/squidrouter-cross-chain-provider.d.ts +7 -7
  158. package/lib/features/cross-chain/calculation-manager/providers/squidrouter-provider/squidrouter-cross-chain-trade.d.ts +12 -12
  159. package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/relayers-addresses.d.ts +1 -1
  160. package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/stargate-fee-library-contract-address.d.ts +1 -1
  161. package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/stargate-pool-id.d.ts +1 -1
  162. package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/stargate-pool-mapping.d.ts +2 -2
  163. package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/stargate-pools-decimals.d.ts +1 -1
  164. package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/stargate-cross-chain-provider.d.ts +6 -6
  165. package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/stargate-cross-chain-trade.d.ts +12 -12
  166. package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/constants/contract-address-v2.d.ts +2 -2
  167. package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/symbiosis-cross-chain-provider.d.ts +7 -7
  168. package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/symbiosis-cross-chain-provider.js +3 -1
  169. package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/symbiosis-cross-chain-provider.js.map +1 -1
  170. package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/symbiosis-cross-chain-trade.d.ts +11 -11
  171. package/lib/features/cross-chain/calculation-manager/providers/xy-provider/constants/xy-contract-address.d.ts +2 -2
  172. package/lib/features/cross-chain/calculation-manager/providers/xy-provider/models/xy-estimation-response.d.ts +1 -1
  173. package/lib/features/cross-chain/calculation-manager/providers/xy-provider/models/xy-transaction-request.d.ts +1 -1
  174. package/lib/features/cross-chain/calculation-manager/providers/xy-provider/models/xy-transaction-response.d.ts +1 -1
  175. package/lib/features/cross-chain/calculation-manager/providers/xy-provider/xy-cross-chain-provider.d.ts +7 -7
  176. package/lib/features/cross-chain/calculation-manager/providers/xy-provider/xy-cross-chain-trade.d.ts +11 -11
  177. package/lib/features/cross-chain/calculation-manager/utils/compare-cross-chain-trades.d.ts +1 -1
  178. package/lib/features/cross-chain/calculation-manager/utils/convert-gas-price.d.ts +1 -1
  179. package/lib/features/cross-chain/calculation-manager/utils/type-guards.d.ts +3 -3
  180. package/lib/features/cross-chain/cbridge-manager/cross-chain-cbridge-manager.d.ts +1 -1
  181. package/lib/features/cross-chain/status-manager/constants/multichain-status-mapping.d.ts +1 -1
  182. package/lib/features/cross-chain/status-manager/cross-chain-status-manager.d.ts +4 -4
  183. package/lib/features/cross-chain/status-manager/models/cross-chain-status.d.ts +1 -1
  184. package/lib/features/cross-chain/status-manager/models/cross-chain-trade-data.d.ts +2 -2
  185. package/lib/features/cross-chain/status-manager/models/multichain-status-api-response.d.ts +1 -1
  186. package/lib/features/cross-chain/status-manager/models/squidrouter-api-response.d.ts +1 -1
  187. package/lib/features/cross-chain/status-manager/models/statuses-api.d.ts +3 -3
  188. package/lib/features/cross-chain/symbiosis-manager/cross-chain-symbiosis-manager.d.ts +4 -4
  189. package/lib/features/deflation-token-manager/constants/simulator-contract-address.d.ts +1 -1
  190. package/lib/features/deflation-token-manager/deflation-token-manager.d.ts +4 -4
  191. package/lib/features/limit-order/limit-order-api-service.d.ts +3 -3
  192. package/lib/features/limit-order/limit-order-manager.d.ts +8 -8
  193. package/lib/features/limit-order/models/limit-order.d.ts +2 -2
  194. package/lib/features/limit-order/utils/get-parsed-token-amounts.d.ts +3 -3
  195. package/lib/features/on-chain/calculation-manager/constants/trade-providers/algebra-trade-providers.d.ts +3 -3
  196. package/lib/features/on-chain/calculation-manager/constants/trade-providers/bridgers-trade-providers.d.ts +1 -1
  197. package/lib/features/on-chain/calculation-manager/constants/trade-providers/curve-trade-providers.d.ts +11 -11
  198. package/lib/features/on-chain/calculation-manager/constants/trade-providers/izumi-trade-providers.d.ts +6 -6
  199. package/lib/features/on-chain/calculation-manager/constants/trade-providers/oneinch-trade-providers.d.ts +10 -10
  200. package/lib/features/on-chain/calculation-manager/constants/trade-providers/pancake-router-providers.d.ts +3 -3
  201. package/lib/features/on-chain/calculation-manager/constants/trade-providers/typed-trade-providers.d.ts +1 -1
  202. package/lib/features/on-chain/calculation-manager/constants/trade-providers/uniswap-v2-trade-providers.d.ts +54 -54
  203. package/lib/features/on-chain/calculation-manager/constants/trade-providers/uniswap-v3-trade-providers.d.ts +7 -7
  204. package/lib/features/on-chain/calculation-manager/constants/trade-providers/xy-dex-trade-providers.d.ts +13 -13
  205. package/lib/features/on-chain/calculation-manager/constants/trade-providers/zrx-trade-providers.d.ts +1 -1
  206. package/lib/features/on-chain/calculation-manager/models/on-chain-manager-calculation-options.d.ts +2 -2
  207. package/lib/features/on-chain/calculation-manager/models/on-chain-trade-error.d.ts +2 -2
  208. package/lib/features/on-chain/calculation-manager/models/on-chain-typed-trade-provider.d.ts +3 -3
  209. package/lib/features/on-chain/calculation-manager/models/required-on-chain-manager-calculation-options.d.ts +1 -1
  210. package/lib/features/on-chain/calculation-manager/on-chain-manager.d.ts +12 -12
  211. package/lib/features/on-chain/calculation-manager/providers/common/evm-wrap-trade/evm-wrap-trade.d.ts +5 -5
  212. package/lib/features/on-chain/calculation-manager/providers/common/models/on-chain-calculation-options.d.ts +1 -1
  213. package/lib/features/on-chain/calculation-manager/providers/common/models/on-chain-proxy-fee-info.d.ts +1 -1
  214. package/lib/features/on-chain/calculation-manager/providers/common/on-chain-proxy-service/on-chain-proxy-service.d.ts +4 -4
  215. package/lib/features/on-chain/calculation-manager/providers/common/on-chain-trade/evm-on-chain-trade/evm-on-chain-trade.d.ts +16 -16
  216. package/lib/features/on-chain/calculation-manager/providers/common/on-chain-trade/evm-on-chain-trade/models/evm-on-chain-trade-struct.d.ts +5 -5
  217. package/lib/features/on-chain/calculation-manager/providers/common/on-chain-trade/on-chain-trade.d.ts +10 -10
  218. package/lib/features/on-chain/calculation-manager/providers/common/on-chain-trade/tron-on-chain-trade/tron-on-chain-trade.d.ts +9 -9
  219. package/lib/features/on-chain/calculation-manager/providers/common/utils/get-gas-fee-info.d.ts +2 -2
  220. package/lib/features/on-chain/calculation-manager/providers/common/utils/get-gas-price-info.d.ts +2 -2
  221. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/curve-arbitrum/curve-arbitrum-provider.d.ts +2 -2
  222. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/curve-arbitrum/curve-arbitrum-trade.d.ts +1 -1
  223. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/default-constants.d.ts +1 -1
  224. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/oneinch-arbitrum/oneinch-arbitrum-provider.d.ts +1 -1
  225. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/sushi-swap-arbitrum/sushi-swap-arbitrum-provider.d.ts +2 -2
  226. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/sushi-swap-arbitrum/sushi-swap-arbitrum-trade.d.ts +2 -2
  227. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/uni-swap-v3-arbitrum/constants/provider-configuration.d.ts +1 -1
  228. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/uni-swap-v3-arbitrum/constants/router-configuration.d.ts +1 -1
  229. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/uni-swap-v3-arbitrum/uni-swap-v3-arbitrum-provider.d.ts +4 -4
  230. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/uni-swap-v3-arbitrum/uni-swap-v3-arbitrum-trade.d.ts +1 -1
  231. package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/xy-dex-arbitrum/xy-dex-arbitrum-provider.d.ts +1 -1
  232. package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/algebra-integral-provider.d.ts +4 -4
  233. package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/algebra-integral-trade.d.ts +4 -4
  234. package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/constants/provider-configuration.d.ts +1 -1
  235. package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/models/algebra-integral-route.d.ts +2 -2
  236. package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/models/algebra-integral-trade-struct.d.ts +1 -1
  237. package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/default-constants.d.ts +1 -1
  238. package/lib/features/on-chain/calculation-manager/providers/dexes/astar-evm/arth-swap/arth-swap-provider.d.ts +2 -2
  239. package/lib/features/on-chain/calculation-manager/providers/dexes/astar-evm/arth-swap/arth-swap-trade.d.ts +2 -2
  240. package/lib/features/on-chain/calculation-manager/providers/dexes/astar-evm/default-constants.d.ts +1 -1
  241. package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/default-constants.d.ts +1 -1
  242. package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/oneinch-arbitrum/oneinch-aurora-provider.d.ts +1 -1
  243. package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/trisolaris-aurora/trisolaris-aurora-provider.d.ts +2 -2
  244. package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/trisolaris-aurora/trisolaris-aurora-trade.d.ts +2 -2
  245. package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/wanna-swap-aurora/wanna-swap-aurora-provider.d.ts +2 -2
  246. package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/wanna-swap-aurora/wanna-swap-aurora-trade.d.ts +2 -2
  247. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/curve-avalanche/curve-avalanche-provider.d.ts +2 -2
  248. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/curve-avalanche/curve-avalanche-trade.d.ts +1 -1
  249. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/default-constants.d.ts +1 -1
  250. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/joe/constants.d.ts +1 -1
  251. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/joe/joe-provider.d.ts +2 -2
  252. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/joe/joe-trade.d.ts +2 -2
  253. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/oneinch-avalanche/oneinch-avalanche-provider.d.ts +1 -1
  254. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/pangolin/constants.d.ts +1 -1
  255. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/pangolin/pangolin-provider.d.ts +2 -2
  256. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/pangolin/pangolin-trade.d.ts +2 -2
  257. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/sushi-swap-avalanche/sushi-swap-avalanche-provider.d.ts +2 -2
  258. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/sushi-swap-avalanche/sushi-swap-avalanche-trade.d.ts +2 -2
  259. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/swap-methods.d.ts +1 -1
  260. package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/xy-dex-avalanche/xy-dex-avalanche-provider.d.ts +1 -1
  261. package/lib/features/on-chain/calculation-manager/providers/dexes/base/base-swap/base-swap-provider.d.ts +2 -2
  262. package/lib/features/on-chain/calculation-manager/providers/dexes/base/base-swap/base-swap-trade.d.ts +2 -2
  263. package/lib/features/on-chain/calculation-manager/providers/dexes/base/base-swap/constants.d.ts +1 -1
  264. package/lib/features/on-chain/calculation-manager/providers/dexes/base/default-constants.d.ts +1 -1
  265. package/lib/features/on-chain/calculation-manager/providers/dexes/base/izumi-base/izumi-base-provider.d.ts +1 -1
  266. package/lib/features/on-chain/calculation-manager/providers/dexes/base/oneinch-base/oneinch-base-provider.d.ts +1 -1
  267. package/lib/features/on-chain/calculation-manager/providers/dexes/base/xy-dex-base/xy-dex-base-provider.d.ts +1 -1
  268. package/lib/features/on-chain/calculation-manager/providers/dexes/boba/default-constants.d.ts +1 -1
  269. package/lib/features/on-chain/calculation-manager/providers/dexes/boba/oolong-swap/oolong-swap-provider.d.ts +2 -2
  270. package/lib/features/on-chain/calculation-manager/providers/dexes/boba/oolong-swap/oolong-swap-trade.d.ts +2 -2
  271. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/default-constants.d.ts +1 -1
  272. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/izumi-bsc/izumi-bsc-provider.d.ts +1 -1
  273. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/oneinch-bsc/oneinch-bsc-provider.d.ts +1 -1
  274. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/pancake-router-bsc/pancake-router-bsc-provider.d.ts +1 -1
  275. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/pancake-swap/pancake-swap-provider.d.ts +2 -2
  276. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/pancake-swap/pancake-swap-trade.d.ts +2 -2
  277. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/sushi-swap-bsc/sushi-swap-bsc-provider.d.ts +2 -2
  278. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/sushi-swap-bsc/sushi-swap-bsc-trade.d.ts +2 -2
  279. package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/xy-dex-bsc/xy-dex-bsc-provider.d.ts +1 -1
  280. package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/default-constants.d.ts +1 -1
  281. package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/pancake-swap-testnet/pancake-swap-testnet-provider.d.ts +2 -2
  282. package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/pancake-swap-testnet/pancake-swap-testnet-trade.d.ts +2 -2
  283. package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/trader-joe-bsct/trader-joe-bsct-provider.d.ts +2 -2
  284. package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/trader-joe-bsct/trader-joe-bsct-trade.d.ts +2 -2
  285. package/lib/features/on-chain/calculation-manager/providers/dexes/celo/curve-celo/curve-celo-provider.d.ts +2 -2
  286. package/lib/features/on-chain/calculation-manager/providers/dexes/celo/curve-celo/curve-celo-trade.d.ts +1 -1
  287. package/lib/features/on-chain/calculation-manager/providers/dexes/common/algebra/algebra-quoter-controller.d.ts +7 -7
  288. package/lib/features/on-chain/calculation-manager/providers/dexes/common/curve-provider/curve-abstract-provider.d.ts +8 -8
  289. package/lib/features/on-chain/calculation-manager/providers/dexes/common/curve-provider/curve-abstract-trade.d.ts +5 -5
  290. package/lib/features/on-chain/calculation-manager/providers/dexes/common/curve-provider/models/curve-on-chain-trade-struct.d.ts +1 -1
  291. package/lib/features/on-chain/calculation-manager/providers/dexes/common/curve-provider/models/curve-trade-class.d.ts +2 -2
  292. package/lib/features/on-chain/calculation-manager/providers/dexes/common/izumi-abstract/izumi-provider.d.ts +7 -7
  293. package/lib/features/on-chain/calculation-manager/providers/dexes/common/izumi-abstract/izumi-trade.d.ts +5 -5
  294. package/lib/features/on-chain/calculation-manager/providers/dexes/common/izumi-abstract/models/izumi-trade-struct.d.ts +1 -1
  295. package/lib/features/on-chain/calculation-manager/providers/dexes/common/on-chain-provider/constants/provider-default-options.d.ts +1 -1
  296. package/lib/features/on-chain/calculation-manager/providers/dexes/common/on-chain-provider/evm-on-chain-provider/constants/evm-provider-default-options.d.ts +1 -1
  297. package/lib/features/on-chain/calculation-manager/providers/dexes/common/on-chain-provider/evm-on-chain-provider/evm-on-chain-provider.d.ts +9 -9
  298. package/lib/features/on-chain/calculation-manager/providers/dexes/common/on-chain-provider/on-chain-provider.d.ts +8 -8
  299. package/lib/features/on-chain/calculation-manager/providers/dexes/common/on-chain-provider/tron-on-chain-provider/constants/tron-provider-default-options.d.ts +1 -1
  300. package/lib/features/on-chain/calculation-manager/providers/dexes/common/on-chain-provider/tron-on-chain-provider/tron-on-chain-provider.d.ts +6 -6
  301. package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/models/oneinch-calculation-options.d.ts +1 -1
  302. package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/models/oneinch-trade-struct.d.ts +1 -1
  303. package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/oneinch-abstract-provider.d.ts +6 -6
  304. package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/oneinch-trade.d.ts +6 -6
  305. package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/utils.d.ts +1 -1
  306. package/lib/features/on-chain/calculation-manager/providers/dexes/common/pancake-router/models/pancake-router-trade-struct.d.ts +1 -1
  307. package/lib/features/on-chain/calculation-manager/providers/dexes/common/pancake-router/pancake-router-provider.d.ts +7 -7
  308. package/lib/features/on-chain/calculation-manager/providers/dexes/common/pancake-router/pancake-router-trade.d.ts +5 -5
  309. package/lib/features/on-chain/calculation-manager/providers/dexes/common/quickswap-v3/quickswap-v3-quoter-controller.d.ts +4 -4
  310. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/constants/default-estimated-gas.d.ts +1 -1
  311. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/constants/dex-trader/dex-trader-swap-method.d.ts +1 -1
  312. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-calculated-info.d.ts +1 -1
  313. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-route.d.ts +1 -1
  314. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-v2-calculation-options.d.ts +1 -1
  315. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-v2-trade-class.d.ts +2 -2
  316. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-v2-trade-struct.d.ts +3 -3
  317. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/path-factory.d.ts +9 -9
  318. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/uniswap-v2-abstract-provider.d.ts +10 -10
  319. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/uniswap-v2-abstract-trade.d.ts +12 -12
  320. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-calculated-info.d.ts +1 -1
  321. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-route.d.ts +2 -2
  322. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-router-configuration.d.ts +1 -1
  323. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-trade-class.d.ts +2 -2
  324. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-trade-struct.d.ts +2 -2
  325. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/uniswap-v3-abstract-provider.d.ts +8 -8
  326. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/uniswap-v3-abstract-trade.d.ts +6 -6
  327. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/utils/quoter-controller/horizondex-uniswap-v3-quoter-controller.d.ts +8 -8
  328. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/utils/quoter-controller/models/liquidity-pool.d.ts +1 -1
  329. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/utils/quoter-controller/uniswap-v3-quoter-controller.d.ts +9 -9
  330. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/create-trade-instance.d.ts +3 -3
  331. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/uniswap-v3-algebra-calculated-info.d.ts +1 -1
  332. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/uniswap-v3-algebra-calculation-options.d.ts +1 -1
  333. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/uniswap-v3-algebra-quoter-controller.d.ts +4 -4
  334. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/uniswap-v3-algebra-trade-struct.d.ts +2 -2
  335. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/uniswap-v3-algebra-abstract-provider.d.ts +17 -17
  336. package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/uniswap-v3-algebra-abstract-trade.d.ts +12 -12
  337. package/lib/features/on-chain/calculation-manager/providers/dexes/common/utils/get-from-to-tokens-amounts-by-exact.d.ts +3 -3
  338. package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/models/xy-dex-trade-struct.d.ts +1 -1
  339. package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/models/xy-quote-response.d.ts +1 -1
  340. package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/models/xy-swap-request.d.ts +1 -1
  341. package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/models/xy-swap-response.d.ts +1 -1
  342. package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/xy-dex-abstract-provider.d.ts +6 -6
  343. package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/xy-dex-trade.d.ts +5 -5
  344. package/lib/features/on-chain/calculation-manager/providers/dexes/common/zrx-abstract/models/zrx-trade-struct.d.ts +2 -2
  345. package/lib/features/on-chain/calculation-manager/providers/dexes/common/zrx-abstract/utils.d.ts +1 -1
  346. package/lib/features/on-chain/calculation-manager/providers/dexes/common/zrx-abstract/zrx-abstract-provider.d.ts +6 -6
  347. package/lib/features/on-chain/calculation-manager/providers/dexes/common/zrx-abstract/zrx-trade.d.ts +5 -5
  348. package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/cro-swap/cro-swap-provider.d.ts +2 -2
  349. package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/cro-swap/cro-swap-trade.d.ts +2 -2
  350. package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/crodex/crodex-provider.d.ts +2 -2
  351. package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/crodex/crodex-trade.d.ts +2 -2
  352. package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/crona-swap/crona-swap-provider.d.ts +2 -2
  353. package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/crona-swap/crona-swap-trade.d.ts +2 -2
  354. package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/default-constants.d.ts +1 -1
  355. package/lib/features/on-chain/calculation-manager/providers/dexes/defi-kingdoms/default-constants.d.ts +1 -1
  356. package/lib/features/on-chain/calculation-manager/providers/dexes/defi-kingdoms/trader-dfk/trader-dfk-provider.d.ts +2 -2
  357. package/lib/features/on-chain/calculation-manager/providers/dexes/defi-kingdoms/trader-dfk/trader-dfk-trade.d.ts +2 -2
  358. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/curve-ethereum/curve-ethereum-provider.d.ts +2 -2
  359. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/curve-ethereum/curve-ethereum-trade.d.ts +1 -1
  360. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/default-constants.d.ts +1 -1
  361. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/oneinch-ethereum/oneinch-ethereum-provider.d.ts +1 -1
  362. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/pancake-router-ethereum/pancake-router-ethereum-provider.d.ts +1 -1
  363. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/sushi-swap-ethereum/sushi-swap-ethereum-provider.d.ts +2 -2
  364. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/sushi-swap-ethereum/sushi-swap-ethereum-trade.d.ts +2 -2
  365. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v2-ethereum/constants.d.ts +1 -1
  366. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v2-ethereum/uni-swap-v2-ethereum-provider.d.ts +2 -2
  367. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v2-ethereum/uni-swap-v2-ethereum-trade.d.ts +2 -2
  368. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v3-ethereum/constants/provider-configuration.d.ts +1 -1
  369. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v3-ethereum/constants/router-configuration.d.ts +1 -1
  370. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v3-ethereum/uni-swap-v3-ethereum-provider.d.ts +4 -4
  371. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v3-ethereum/uni-swap-v3-ethereum-trade.d.ts +1 -1
  372. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/verse/verse-provider.d.ts +2 -2
  373. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/verse/verse-trade.d.ts +2 -2
  374. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/xy-dex-ethereum/xy-dex-ethereum-provider.d.ts +1 -1
  375. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/zrx-ethereum/zrx-ethereum-provider.d.ts +1 -1
  376. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/default-constants.d.ts +1 -1
  377. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/sushi-swap-ethereum-pow/sushi-swap-ethereum-pow-provider.d.ts +2 -2
  378. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/sushi-swap-ethereum-pow/sushi-swap-ethereum-pow-trade.d.ts +2 -2
  379. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v2-ethereum-pow/constants.d.ts +1 -1
  380. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v2-ethereum-pow/uni-swap-v2-ethereum-pow-provider.d.ts +2 -2
  381. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v2-ethereum-pow/uni-swap-v2-ethereum-pow-trade.d.ts +2 -2
  382. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v3-ethereum-pow/constants/provider-configuration.d.ts +1 -1
  383. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v3-ethereum-pow/constants/router-configuration.d.ts +1 -1
  384. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v3-ethereum-pow/uni-swap-v3-ethereum-pow-provider.d.ts +4 -4
  385. package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v3-ethereum-pow/uni-swap-v3-ethereum-pow-trade.d.ts +1 -1
  386. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/curve-fantom/curve-fantom-provider.d.ts +2 -2
  387. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/curve-fantom/curve-fantom-trade.d.ts +1 -1
  388. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/default-constants.d.ts +1 -1
  389. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/oneinch-fantom/oneinch-fantom-provider.d.ts +1 -1
  390. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/soul-swap/soul-swap-provider.d.ts +2 -2
  391. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/soul-swap/soul-swap-trade.d.ts +2 -2
  392. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spirit-swap/spirit-swap-provider.d.ts +2 -2
  393. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spirit-swap/spirit-swap-trade.d.ts +2 -2
  394. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spooky-swap/constants.d.ts +1 -1
  395. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spooky-swap/spooky-swap-provider.d.ts +2 -2
  396. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spooky-swap/spooky-swap-trade.d.ts +2 -2
  397. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/sushi-swap-fantom/sushi-swap-fantom-provider.d.ts +2 -2
  398. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/sushi-swap-fantom/sushi-swap-fantom-trade.d.ts +2 -2
  399. package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/xy-dex-fantom/xy-dex-fantom-provider.d.ts +1 -1
  400. package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/default-constants.d.ts +1 -1
  401. package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/joe-fuji/joe-fuji-provider.d.ts +2 -2
  402. package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/joe-fuji/joe-fuji-trade.d.ts +2 -2
  403. package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/pangolin-fuji/pangolin-fuji-provider.d.ts +2 -2
  404. package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/pangolin-fuji/pangolin-fuji-trade.d.ts +2 -2
  405. package/lib/features/on-chain/calculation-manager/providers/dexes/gnosis/curve-gnosis/curve-gnosis-provider.d.ts +2 -2
  406. package/lib/features/on-chain/calculation-manager/providers/dexes/gnosis/curve-gnosis/curve-gnosis-trade.d.ts +1 -1
  407. package/lib/features/on-chain/calculation-manager/providers/dexes/goerli/default-constants.d.ts +1 -1
  408. package/lib/features/on-chain/calculation-manager/providers/dexes/goerli/uni-swap-v2-goerli/constants.d.ts +1 -1
  409. package/lib/features/on-chain/calculation-manager/providers/dexes/goerli/uni-swap-v2-goerli/uni-swap-v2-goerli-provider.d.ts +2 -2
  410. package/lib/features/on-chain/calculation-manager/providers/dexes/goerli/uni-swap-v2-goerli/uni-swap-v2-goerli-trade.d.ts +2 -2
  411. package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/default-constants.d.ts +1 -1
  412. package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/sushi-swap-harmony/sushi-swap-harmony-provider.d.ts +2 -2
  413. package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/sushi-swap-harmony/sushi-swap-harmony-trade.d.ts +2 -2
  414. package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/trader-harmony/trader-harmony-provider.d.ts +2 -2
  415. package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/trader-harmony/trader-harmony-trade.d.ts +2 -2
  416. package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/viper-swap-harmony/viper-swap-harmony-provider.d.ts +2 -2
  417. package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/viper-swap-harmony/viper-swap-harmony-trade.d.ts +2 -2
  418. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/curve-kava/curve-kava-provider.d.ts +2 -2
  419. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/curve-kava/curve-kava-trade.d.ts +1 -1
  420. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/default-constants.d.ts +1 -1
  421. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/elk/elk-provider.d.ts +2 -2
  422. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/elk/elk-trade.d.ts +2 -2
  423. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/jupiter-swap/jupiter-swap-provider.d.ts +2 -2
  424. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/jupiter-swap/jupiter-swap-trade.d.ts +2 -2
  425. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/photon-swap/photon-swap-provider.d.ts +2 -2
  426. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/photon-swap/photon-swap-trade.d.ts +2 -2
  427. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/surfdex/surfdex-provider.d.ts +2 -2
  428. package/lib/features/on-chain/calculation-manager/providers/dexes/kava/surfdex/surfdex-trade.d.ts +2 -2
  429. package/lib/features/on-chain/calculation-manager/providers/dexes/klaytn/claim-swap/claim-swap-provider.d.ts +2 -2
  430. package/lib/features/on-chain/calculation-manager/providers/dexes/klaytn/claim-swap/claim-swap-trade.d.ts +2 -2
  431. package/lib/features/on-chain/calculation-manager/providers/dexes/klaytn/default-constants.d.ts +1 -1
  432. package/lib/features/on-chain/calculation-manager/providers/dexes/klaytn/klaytn-swap-method.d.ts +1 -1
  433. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/default-constants.d.ts +1 -1
  434. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/horizondex/constants/provider-configuration.d.ts +1 -1
  435. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/horizondex/constants/router-configuration.d.ts +1 -1
  436. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/horizondex/horizondex-provider.d.ts +4 -4
  437. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/horizondex/horizondex-trade.d.ts +3 -3
  438. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/izumi-linea/izumi-linea-provider.d.ts +1 -1
  439. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/vooi/models/vooi-trade-struct.d.ts +1 -1
  440. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/vooi/vooi-provider.d.ts +5 -5
  441. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/vooi/vooi-trade.d.ts +5 -5
  442. package/lib/features/on-chain/calculation-manager/providers/dexes/linea/xy-dex-linea/xy-dex-linea-provider.d.ts +1 -1
  443. package/lib/features/on-chain/calculation-manager/providers/dexes/mantle/izumi-mantle/izumi-mantle-provider.d.ts +1 -1
  444. package/lib/features/on-chain/calculation-manager/providers/dexes/metis/default-constants.d.ts +1 -1
  445. package/lib/features/on-chain/calculation-manager/providers/dexes/metis/metis-swap-methods.d.ts +1 -1
  446. package/lib/features/on-chain/calculation-manager/providers/dexes/metis/net-swap/net-swap-provider.d.ts +2 -2
  447. package/lib/features/on-chain/calculation-manager/providers/dexes/metis/net-swap/net-swap-trade.d.ts +2 -2
  448. package/lib/features/on-chain/calculation-manager/providers/dexes/moonbeam/curve-moonbeam/curve-moonbeam-provider.d.ts +2 -2
  449. package/lib/features/on-chain/calculation-manager/providers/dexes/moonbeam/curve-moonbeam/curve-moonbeam-trade.d.ts +1 -1
  450. package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/default-constants.d.ts +1 -1
  451. package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/solarbeam/constants.d.ts +1 -1
  452. package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/solarbeam/solarbeam-provider.d.ts +2 -2
  453. package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/solarbeam/solarbeam-trade.d.ts +5 -5
  454. package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/sushi-swap-moonriver/sushi-swap-moonriver-provider.d.ts +2 -2
  455. package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/sushi-swap-moonriver/sushi-swap-moonriver-trade.d.ts +2 -2
  456. package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/xy-dex-moonriver/xy-dex-moonriver-provider.d.ts +1 -1
  457. package/lib/features/on-chain/calculation-manager/providers/dexes/mumbai/default-constants.d.ts +1 -1
  458. package/lib/features/on-chain/calculation-manager/providers/dexes/mumbai/quick-swap-mumbai/quick-swap-mumbai-provider.d.ts +2 -2
  459. package/lib/features/on-chain/calculation-manager/providers/dexes/mumbai/quick-swap-mumbai/quick-swap-mumbai-trade.d.ts +2 -2
  460. package/lib/features/on-chain/calculation-manager/providers/dexes/oasis/default-constants.d.ts +1 -1
  461. package/lib/features/on-chain/calculation-manager/providers/dexes/oasis/yuzu-swap/yuzu-swap-provider.d.ts +2 -2
  462. package/lib/features/on-chain/calculation-manager/providers/dexes/oasis/yuzu-swap/yuzu-swap-trade.d.ts +2 -2
  463. package/lib/features/on-chain/calculation-manager/providers/dexes/optimism/curve-optimism/curve-optimism-provider.d.ts +2 -2
  464. package/lib/features/on-chain/calculation-manager/providers/dexes/optimism/curve-optimism/curve-optimism-trade.d.ts +1 -1
  465. package/lib/features/on-chain/calculation-manager/providers/dexes/optimism/oneinch-optimism/oneinch-optimism-provider.d.ts +1 -1
  466. package/lib/features/on-chain/calculation-manager/providers/dexes/optimism/xy-dex-optimism/xy-dex-optimism-provider.d.ts +1 -1
  467. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/algebra-provider.d.ts +6 -6
  468. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/algebra-trade.d.ts +5 -5
  469. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/constants/provider-configuration.d.ts +1 -1
  470. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/models/algebra-route.d.ts +2 -2
  471. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/models/algebra-trade-struct.d.ts +2 -2
  472. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/curve-polygon/curve-polygon-provider.d.ts +2 -2
  473. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/curve-polygon/curve-polygon-trade.d.ts +1 -1
  474. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/default-constants.d.ts +1 -1
  475. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/oneinch-polygon/oneinch-polygon-provider.d.ts +1 -1
  476. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap/quick-swap-provider.d.ts +2 -2
  477. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap/quick-swap-trade.d.ts +2 -2
  478. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/constants/provider-configuration.d.ts +1 -1
  479. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/models/quick-swap-v3-route.d.ts +2 -2
  480. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/models/quick-swap-v3-trade-struct.d.ts +2 -2
  481. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/quick-swap-v3-provider.d.ts +6 -6
  482. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/quick-swap-v3-trade.d.ts +5 -5
  483. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/sushi-swap-polygon/sushi-swap-polygon-provider.d.ts +2 -2
  484. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/sushi-swap-polygon/sushi-swap-polygon-trade.d.ts +2 -2
  485. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/uni-swap-v3-polygon/constants/provider-configuration.d.ts +1 -1
  486. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/uni-swap-v3-polygon/constants/router-configuration.d.ts +1 -1
  487. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/uni-swap-v3-polygon/uni-swap-v3-polygon-provider.d.ts +4 -4
  488. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/uni-swap-v3-polygon/uni-swap-v3-polygon-trade.d.ts +1 -1
  489. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/xy-dex-polygon/xy-dex-polygon-provider.d.ts +1 -1
  490. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/default-constants.d.ts +1 -1
  491. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/pancake-router-polygon-zkevm/pancake-router-polygon-zkevm-provider.d.ts +1 -1
  492. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/quick-swap-v3/constants/provider-configuration.d.ts +1 -1
  493. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/quick-swap-v3/quick-swap-v3-provider.d.ts +6 -6
  494. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/quick-swap-v3/quick-swap-v3-trade.d.ts +5 -5
  495. package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/xy-dex-zkevm/xy-dex-zkevm-provider.d.ts +1 -1
  496. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/curve-pulsechain/curve-ethereum-provider.d.ts +2 -2
  497. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/curve-pulsechain/curve-ethereum-trade.d.ts +1 -1
  498. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/default-constants.d.ts +1 -1
  499. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/oneinch-pulsechain/oneinch-ethereum-provider.d.ts +1 -1
  500. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/pulsex-v1/pulsex-v1-provider.d.ts +2 -2
  501. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/pulsex-v1/pulsex-v1-trade.d.ts +2 -2
  502. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/pulsex-v2/pulsex-v2-provider.d.ts +2 -2
  503. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/pulsex-v2/pulsex-v2-trade.d.ts +2 -2
  504. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/sushi-swap-pulsechain/sushi-swap-pulsechain-provider.d.ts +2 -2
  505. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/sushi-swap-pulsechain/sushi-swap-pulsechain-trade.d.ts +2 -2
  506. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v2-pulsechain/constants.d.ts +1 -1
  507. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v2-pulsechain/uni-swap-v2-pulsechain-provider.d.ts +2 -2
  508. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v2-pulsechain/uni-swap-v2-pulsechain-trade.d.ts +2 -2
  509. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v3-pulsechain/constants/provider-configuration.d.ts +1 -1
  510. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v3-pulsechain/constants/router-configuration.d.ts +1 -1
  511. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v3-pulsechain/uni-swap-v3-ethereum-provider.d.ts +4 -4
  512. package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v3-pulsechain/uni-swap-v3-ethereum-trade.d.ts +1 -1
  513. package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v2-scroll-sepolia/constants.d.ts +1 -1
  514. package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v2-scroll-sepolia/uni-swap-v2-scroll-sepolia-provider.d.ts +2 -2
  515. package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v2-scroll-sepolia/uni-swap-v2-scroll-sepolia-trade.d.ts +2 -2
  516. package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v3-scroll-sepolia/constants/provider-configuration.d.ts +1 -1
  517. package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v3-scroll-sepolia/constants/router-configuration.d.ts +1 -1
  518. package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v3-scroll-sepolia/uni-swap-v3-scroll-sepolia-provider.d.ts +7 -7
  519. package/lib/features/on-chain/calculation-manager/providers/dexes/syscoin/default-constants.d.ts +1 -1
  520. package/lib/features/on-chain/calculation-manager/providers/dexes/syscoin/pegasys/pegasys-provider.d.ts +2 -2
  521. package/lib/features/on-chain/calculation-manager/providers/dexes/syscoin/pegasys/pegasys-trade.d.ts +2 -2
  522. package/lib/features/on-chain/calculation-manager/providers/dexes/syscoin/syscoin-swap-method.d.ts +1 -1
  523. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/ape-swap/ape-swap-telos-provider.d.ts +2 -2
  524. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/ape-swap/ape-swap-telos-trade.d.ts +2 -2
  525. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/default-constants.d.ts +1 -1
  526. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/omnidex/omnidex-provider.d.ts +2 -2
  527. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/omnidex/omnidex-trade.d.ts +2 -2
  528. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/sushi-swap-telos/sushi-swap-telos-provider.d.ts +2 -2
  529. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/sushi-swap-telos/sushi-swap-telos-trade.d.ts +2 -2
  530. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/zappy/trisolaris-aurora-provider.d.ts +2 -2
  531. package/lib/features/on-chain/calculation-manager/providers/dexes/telos/zappy/trisolaris-aurora-trade.d.ts +2 -2
  532. package/lib/features/on-chain/calculation-manager/providers/dexes/tron/bridgers/bridgers-provider.d.ts +6 -6
  533. package/lib/features/on-chain/calculation-manager/providers/dexes/tron/bridgers/bridgers-trade.d.ts +9 -9
  534. package/lib/features/on-chain/calculation-manager/providers/dexes/velas/astro-swap/astro-swap-provider.d.ts +2 -2
  535. package/lib/features/on-chain/calculation-manager/providers/dexes/velas/astro-swap/astro-swap-trade.d.ts +2 -2
  536. package/lib/features/on-chain/calculation-manager/providers/dexes/velas/default-constants.d.ts +1 -1
  537. package/lib/features/on-chain/calculation-manager/providers/dexes/velas/wagyu-swap/wagyu-swap-provider.d.ts +2 -2
  538. package/lib/features/on-chain/calculation-manager/providers/dexes/velas/wagyu-swap/wagyu-swap-trade.d.ts +2 -2
  539. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/default-constants.d.ts +1 -1
  540. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/izumi-zksync/izumi-zksync-provider.d.ts +1 -1
  541. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/mute-swap/mute-swap-provider.d.ts +2 -2
  542. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/mute-swap/mute-swap-trade.d.ts +5 -5
  543. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/oneinch-zksync/oneinch-zksync-provider.d.ts +1 -1
  544. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/sync-swap/sync-swap-provider.d.ts +6 -6
  545. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/sync-swap/sync-swap-trade.d.ts +6 -6
  546. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/sync-swap/utils/sync-swap-factory.d.ts +1 -1
  547. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/sync-swap/utils/sync-swap-router.d.ts +1 -1
  548. package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/xy-dex-zksync/xy-dex-zksync-provider.d.ts +1 -1
  549. package/lib/features/on-chain/calculation-manager/providers/lifi/constants/lifi-providers.d.ts +1 -1
  550. package/lib/features/on-chain/calculation-manager/providers/lifi/lifi-provider.d.ts +6 -6
  551. package/lib/features/on-chain/calculation-manager/providers/lifi/lifi-trade.d.ts +6 -6
  552. package/lib/features/on-chain/calculation-manager/providers/lifi/models/lifi-calculation-options.d.ts +2 -2
  553. package/lib/features/on-chain/calculation-manager/providers/lifi/models/lifi-trade-struct.d.ts +2 -2
  554. package/lib/features/on-chain/calculation-manager/providers/open-ocean/models/open-ocean-trade-struct.d.ts +1 -1
  555. package/lib/features/on-chain/calculation-manager/providers/open-ocean/open-ocean-provider.d.ts +6 -6
  556. package/lib/features/on-chain/calculation-manager/providers/open-ocean/open-ocean-trade.d.ts +5 -5
  557. package/lib/features/on-chain/status-manager/on-chain-status-manager.d.ts +1 -1
  558. package/package.json +153 -153
@@ -165729,6 +165729,7 @@ __webpack_require__.r(__webpack_exports__);
165729
165729
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
165730
165730
  /* harmony export */ BASES_TO_CHECK_TRADES_AGAINST: () => (/* binding */ BASES_TO_CHECK_TRADES_AGAINST),
165731
165731
  /* harmony export */ BIPS_BASE: () => (/* binding */ BIPS_BASE),
165732
+ /* harmony export */ BestPoolSwapping: () => (/* binding */ BestPoolSwapping),
165732
165733
  /* harmony export */ Bridging: () => (/* binding */ Bridging),
165733
165734
  /* harmony export */ CHAINS_PRIORITY: () => (/* binding */ CHAINS_PRIORITY),
165734
165735
  /* harmony export */ CUSTOM_BASES: () => (/* binding */ CUSTOM_BASES),
@@ -165742,10 +165743,12 @@ __webpack_require__.r(__webpack_exports__);
165742
165743
  /* harmony export */ Fetcher: () => (/* binding */ Fetcher),
165743
165744
  /* harmony export */ Field: () => (/* binding */ Field),
165744
165745
  /* harmony export */ Fraction: () => (/* binding */ Fraction),
165746
+ /* harmony export */ GAS_TOKEN: () => (/* binding */ GAS_TOKEN),
165745
165747
  /* harmony export */ GetLogTimeoutExceededError: () => (/* binding */ GetLogTimeoutExceededError),
165746
165748
  /* harmony export */ INIT_CODE_HASH: () => (/* binding */ INIT_CODE_HASH),
165747
165749
  /* harmony export */ InsufficientInputAmountError: () => (/* binding */ InsufficientInputAmountError),
165748
165750
  /* harmony export */ InsufficientReservesError: () => (/* binding */ InsufficientReservesError),
165751
+ /* harmony export */ IzumiTrade: () => (/* binding */ IzumiTrade),
165749
165752
  /* harmony export */ JSBI: () => (/* reexport default from dynamic */ jsbi__WEBPACK_IMPORTED_MODULE_0___default.a),
165750
165753
  /* harmony export */ MINIMUM_LIQUIDITY: () => (/* binding */ MINIMUM_LIQUIDITY),
165751
165754
  /* harmony export */ MULTICALL_ADDRESSES: () => (/* binding */ MULTICALL_ADDRESSES),
@@ -167495,6 +167498,65 @@ var Route = class {
167495
167498
  }
167496
167499
  };
167497
167500
 
167501
+ // src/entities/gasToken.ts
167502
+ var GAS = (chainId, symbol, iconId, decimals = 18) => new Token({
167503
+ isNative: true,
167504
+ name: symbol,
167505
+ symbol,
167506
+ address: "",
167507
+ chainId,
167508
+ decimals,
167509
+ icons: {
167510
+ small: `https://s2.coinmarketcap.com/static/img/coins/64x64/${iconId}.png`,
167511
+ large: `https://s2.coinmarketcap.com/static/img/coins/64x64/${iconId}.png`
167512
+ }
167513
+ });
167514
+ var GAS_TOKEN = {
167515
+ [1 /* ETH_MAINNET */]: GAS(1 /* ETH_MAINNET */, "ETH", 1027),
167516
+ [4 /* ETH_RINKEBY */]: GAS(4 /* ETH_RINKEBY */, "ETH", 1027),
167517
+ [5 /* ETH_GOERLI */]: GAS(5 /* ETH_GOERLI */, "ETH", 1027),
167518
+ [42 /* ETH_KOVAN */]: GAS(42 /* ETH_KOVAN */, "ETH", 1027),
167519
+ [56 /* BSC_MAINNET */]: GAS(56 /* BSC_MAINNET */, "BNB", 1839),
167520
+ [97 /* BSC_TESTNET */]: GAS(97 /* BSC_TESTNET */, "BNB", 1839),
167521
+ [137 /* MATIC_MAINNET */]: GAS(137 /* MATIC_MAINNET */, "MATIC", 3890),
167522
+ [80001 /* MATIC_MUMBAI */]: GAS(80001 /* MATIC_MUMBAI */, "MATIC", 3890),
167523
+ [43114 /* AVAX_MAINNET */]: GAS(43114 /* AVAX_MAINNET */, "AVAX", 5805),
167524
+ [43113 /* AVAX_TESTNET */]: GAS(43113 /* AVAX_TESTNET */, "AVAX", 5805),
167525
+ [128 /* HECO_MAINNET */]: GAS(128 /* HECO_MAINNET */, "HT", 2502),
167526
+ [256 /* HECO_TESTNET */]: GAS(256 /* HECO_TESTNET */, "HT", 2502),
167527
+ [66 /* OKEX_MAINNET */]: GAS(66 /* OKEX_MAINNET */, "OKT", 8267),
167528
+ [65 /* OKEX_TESTNET */]: GAS(65 /* OKEX_TESTNET */, "OKT", 8267),
167529
+ [288 /* BOBA_MAINNET */]: GAS(288 /* BOBA_MAINNET */, "ETH", 1027),
167530
+ [28 /* BOBA_RINKEBY */]: GAS(28 /* BOBA_RINKEBY */, "ETH", 1027),
167531
+ [56288 /* BOBA_BNB */]: GAS(56288 /* BOBA_BNB */, "BOBA", 14556),
167532
+ [43288 /* BOBA_AVALANCHE */]: GAS(43288 /* BOBA_AVALANCHE */, "BOBA", 14556),
167533
+ [2001 /* MILKOMEDA_MAINNET */]: GAS(2001 /* MILKOMEDA_MAINNET */, "MilkADA", 0),
167534
+ // FIXME iconId
167535
+ [200101 /* MILKOMEDA_DEVNET */]: GAS(200101 /* MILKOMEDA_DEVNET */, "MilktADA", 0),
167536
+ // FIXME iconId
167537
+ [5555 /* BTC_MAINNET */]: GAS(5555 /* BTC_MAINNET */, "BTC", 1, 8),
167538
+ [55555 /* BTC_TESTNET */]: GAS(55555 /* BTC_TESTNET */, "BTC", 1, 8),
167539
+ [1313161554 /* AURORA_MAINNET */]: GAS(1313161554 /* AURORA_MAINNET */, "ETH", 1027),
167540
+ [1313161555 /* AURORA_TESTNET */]: GAS(1313161555 /* AURORA_TESTNET */, "ETH", 1027),
167541
+ [40 /* TELOS_MAINNET */]: GAS(40 /* TELOS_MAINNET */, "TLOS", 4660),
167542
+ [41 /* TELOS_TESTNET */]: GAS(41 /* TELOS_TESTNET */, "TLOS", 4660),
167543
+ [8081 /* SHARDEUM_TESTNET_2 */]: GAS(8081 /* SHARDEUM_TESTNET_2 */, "SHM", 22353),
167544
+ [2222 /* KAVA_MAINNET */]: GAS(2222 /* KAVA_MAINNET */, "KAVA", 4846),
167545
+ [534353 /* SCROLL_TESTNET */]: GAS(534353 /* SCROLL_TESTNET */, "ETH", 1027),
167546
+ [534351 /* SCROLL_SEPOLIA */]: GAS(534351 /* SCROLL_SEPOLIA */, "ETH", 1027),
167547
+ [324 /* ZKSYNC_MAINNET */]: GAS(324 /* ZKSYNC_MAINNET */, "ETH", 1027),
167548
+ [42161 /* ARBITRUM_MAINNET */]: GAS(42161 /* ARBITRUM_MAINNET */, "ETH", 1027),
167549
+ [42170 /* ARBITRUM_NOVA */]: GAS(42170 /* ARBITRUM_NOVA */, "ETH", 1027),
167550
+ [10 /* OPTIMISM_MAINNET */]: GAS(10 /* OPTIMISM_MAINNET */, "ETH", 1027),
167551
+ [7001 /* ZETACHAIN_ATHENS_2 */]: GAS(7001 /* ZETACHAIN_ATHENS_2 */, "ZETA", 21259),
167552
+ [1101 /* POLYGON_ZK */]: GAS(1101 /* POLYGON_ZK */, "ETH", 1027),
167553
+ [59144 /* LINEA_MAINNET */]: GAS(59144 /* LINEA_MAINNET */, "ETH", 1027),
167554
+ [59140 /* LINEA_TESTNET */]: GAS(59140 /* LINEA_TESTNET */, "ETH", 1027),
167555
+ [5e3 /* MANTLE_MAINNET */]: GAS(5e3 /* MANTLE_MAINNET */, "MNT", 27075),
167556
+ [5001 /* MANTLE_TESTNET */]: GAS(5001 /* MANTLE_TESTNET */, "MNT", 27075),
167557
+ [8453 /* BASE_MAINNET */]: GAS(8453 /* BASE_MAINNET */, "ETH", 1027)
167558
+ };
167559
+
167498
167560
  // src/entities/trade.ts
167499
167561
 
167500
167562
  function computePriceImpact(midPrice, inputAmount, outputAmount) {
@@ -180706,28 +180768,104 @@ var Fabric__factory = class extends _ethersproject_contracts__WEBPACK_IMPORTED_M
180706
180768
  Fabric__factory.bytecode = _bytecode2;
180707
180769
  Fabric__factory.abi = _abi9;
180708
180770
 
180709
- // src/crosschain/contracts/factories/IzumiQuoter__factory.ts
180771
+ // src/crosschain/contracts/factories/IzumiFactory__factory.ts
180710
180772
 
180711
180773
  var _abi10 = [
180712
180774
  {
180713
180775
  inputs: [
180714
180776
  {
180715
180777
  internalType: "address",
180716
- name: "_factory",
180778
+ name: "_chargeReceiver",
180717
180779
  type: "address"
180718
180780
  },
180719
180781
  {
180720
180782
  internalType: "address",
180721
- name: "_weth",
180783
+ name: "_swapX2YModule",
180784
+ type: "address"
180785
+ },
180786
+ {
180787
+ internalType: "address",
180788
+ name: "_swapY2XModule",
180789
+ type: "address"
180790
+ },
180791
+ {
180792
+ internalType: "address",
180793
+ name: "_liquidityModule",
180794
+ type: "address"
180795
+ },
180796
+ {
180797
+ internalType: "address",
180798
+ name: "_limitOrderModule",
180799
+ type: "address"
180800
+ },
180801
+ {
180802
+ internalType: "address",
180803
+ name: "_flashModule",
180722
180804
  type: "address"
180723
180805
  }
180724
180806
  ],
180725
180807
  stateMutability: "nonpayable",
180726
180808
  type: "constructor"
180727
180809
  },
180810
+ {
180811
+ anonymous: false,
180812
+ inputs: [
180813
+ {
180814
+ indexed: true,
180815
+ internalType: "address",
180816
+ name: "tokenX",
180817
+ type: "address"
180818
+ },
180819
+ {
180820
+ indexed: true,
180821
+ internalType: "address",
180822
+ name: "tokenY",
180823
+ type: "address"
180824
+ },
180825
+ {
180826
+ indexed: true,
180827
+ internalType: "uint24",
180828
+ name: "fee",
180829
+ type: "uint24"
180830
+ },
180831
+ {
180832
+ indexed: false,
180833
+ internalType: "uint24",
180834
+ name: "pointDelta",
180835
+ type: "uint24"
180836
+ },
180837
+ {
180838
+ indexed: false,
180839
+ internalType: "address",
180840
+ name: "pool",
180841
+ type: "address"
180842
+ }
180843
+ ],
180844
+ name: "NewPool",
180845
+ type: "event"
180846
+ },
180847
+ {
180848
+ anonymous: false,
180849
+ inputs: [
180850
+ {
180851
+ indexed: true,
180852
+ internalType: "address",
180853
+ name: "previousOwner",
180854
+ type: "address"
180855
+ },
180856
+ {
180857
+ indexed: true,
180858
+ internalType: "address",
180859
+ name: "newOwner",
180860
+ type: "address"
180861
+ }
180862
+ ],
180863
+ name: "OwnershipTransferred",
180864
+ type: "event"
180865
+ },
180728
180866
  {
180729
180867
  inputs: [],
180730
- name: "WETH9",
180868
+ name: "chargeReceiver",
180731
180869
  outputs: [
180732
180870
  {
180733
180871
  internalType: "address",
@@ -180738,9 +180876,46 @@ var _abi10 = [
180738
180876
  stateMutability: "view",
180739
180877
  type: "function"
180740
180878
  },
180879
+ {
180880
+ inputs: [
180881
+ {
180882
+ internalType: "uint24",
180883
+ name: "fee",
180884
+ type: "uint24"
180885
+ },
180886
+ {
180887
+ internalType: "uint24",
180888
+ name: "pointDelta",
180889
+ type: "uint24"
180890
+ }
180891
+ ],
180892
+ name: "enableFeeAmount",
180893
+ outputs: [],
180894
+ stateMutability: "nonpayable",
180895
+ type: "function"
180896
+ },
180897
+ {
180898
+ inputs: [
180899
+ {
180900
+ internalType: "uint24",
180901
+ name: "",
180902
+ type: "uint24"
180903
+ }
180904
+ ],
180905
+ name: "fee2pointDelta",
180906
+ outputs: [
180907
+ {
180908
+ internalType: "int24",
180909
+ name: "",
180910
+ type: "int24"
180911
+ }
180912
+ ],
180913
+ stateMutability: "view",
180914
+ type: "function"
180915
+ },
180741
180916
  {
180742
180917
  inputs: [],
180743
- name: "factory",
180918
+ name: "flashModule",
180744
180919
  outputs: [
180745
180920
  {
180746
180921
  internalType: "address",
@@ -180752,22 +180927,42 @@ var _abi10 = [
180752
180927
  type: "function"
180753
180928
  },
180754
180929
  {
180755
- inputs: [
180930
+ inputs: [],
180931
+ name: "limitOrderModule",
180932
+ outputs: [
180756
180933
  {
180757
- internalType: "bytes[]",
180758
- name: "data",
180759
- type: "bytes[]"
180934
+ internalType: "address",
180935
+ name: "",
180936
+ type: "address"
180760
180937
  }
180761
180938
  ],
180762
- name: "multicall",
180939
+ stateMutability: "view",
180940
+ type: "function"
180941
+ },
180942
+ {
180943
+ inputs: [],
180944
+ name: "liquidityModule",
180763
180945
  outputs: [
180764
180946
  {
180765
- internalType: "bytes[]",
180766
- name: "results",
180767
- type: "bytes[]"
180947
+ internalType: "address",
180948
+ name: "",
180949
+ type: "address"
180768
180950
  }
180769
180951
  ],
180770
- stateMutability: "payable",
180952
+ stateMutability: "view",
180953
+ type: "function"
180954
+ },
180955
+ {
180956
+ inputs: [
180957
+ {
180958
+ internalType: "address",
180959
+ name: "_chargeReceiver",
180960
+ type: "address"
180961
+ }
180962
+ ],
180963
+ name: "modifyChargeReceiver",
180964
+ outputs: [],
180965
+ stateMutability: "nonpayable",
180771
180966
  type: "function"
180772
180967
  },
180773
180968
  {
@@ -180786,9 +180981,27 @@ var _abi10 = [
180786
180981
  internalType: "uint24",
180787
180982
  name: "fee",
180788
180983
  type: "uint24"
180984
+ },
180985
+ {
180986
+ internalType: "int24",
180987
+ name: "currentPoint",
180988
+ type: "int24"
180789
180989
  }
180790
180990
  ],
180791
- name: "pool",
180991
+ name: "newPool",
180992
+ outputs: [
180993
+ {
180994
+ internalType: "address",
180995
+ name: "addr",
180996
+ type: "address"
180997
+ }
180998
+ ],
180999
+ stateMutability: "nonpayable",
181000
+ type: "function"
181001
+ },
181002
+ {
181003
+ inputs: [],
181004
+ name: "only_addr_",
180792
181005
  outputs: [
180793
181006
  {
180794
181007
  internalType: "address",
@@ -180801,315 +181014,1925 @@ var _abi10 = [
180801
181014
  },
180802
181015
  {
180803
181016
  inputs: [],
180804
- name: "refundETH",
180805
- outputs: [],
180806
- stateMutability: "payable",
181017
+ name: "owner",
181018
+ outputs: [
181019
+ {
181020
+ internalType: "address",
181021
+ name: "",
181022
+ type: "address"
181023
+ }
181024
+ ],
181025
+ stateMutability: "view",
180807
181026
  type: "function"
180808
181027
  },
180809
181028
  {
180810
181029
  inputs: [
180811
181030
  {
180812
- internalType: "uint128",
180813
- name: "amount",
180814
- type: "uint128"
181031
+ internalType: "address",
181032
+ name: "",
181033
+ type: "address"
180815
181034
  },
180816
181035
  {
180817
- internalType: "bytes",
180818
- name: "path",
180819
- type: "bytes"
181036
+ internalType: "address",
181037
+ name: "",
181038
+ type: "address"
181039
+ },
181040
+ {
181041
+ internalType: "uint24",
181042
+ name: "",
181043
+ type: "uint24"
180820
181044
  }
180821
181045
  ],
180822
- name: "swapAmount",
181046
+ name: "pool",
180823
181047
  outputs: [
180824
181048
  {
180825
- internalType: "uint256",
180826
- name: "acquire",
180827
- type: "uint256"
180828
- },
180829
- {
180830
- internalType: "int24[]",
180831
- name: "pointAfterList",
180832
- type: "int24[]"
181049
+ internalType: "address",
181050
+ name: "",
181051
+ type: "address"
180833
181052
  }
180834
181053
  ],
181054
+ stateMutability: "view",
181055
+ type: "function"
181056
+ },
181057
+ {
181058
+ inputs: [],
181059
+ name: "renounceOwnership",
181060
+ outputs: [],
180835
181061
  stateMutability: "nonpayable",
180836
181062
  type: "function"
180837
181063
  },
180838
181064
  {
180839
- inputs: [
180840
- {
180841
- internalType: "uint128",
180842
- name: "desire",
180843
- type: "uint128"
180844
- },
181065
+ inputs: [],
181066
+ name: "swapX2YModule",
181067
+ outputs: [
180845
181068
  {
180846
- internalType: "bytes",
180847
- name: "path",
180848
- type: "bytes"
181069
+ internalType: "address",
181070
+ name: "",
181071
+ type: "address"
180849
181072
  }
180850
181073
  ],
180851
- name: "swapDesire",
181074
+ stateMutability: "view",
181075
+ type: "function"
181076
+ },
181077
+ {
181078
+ inputs: [],
181079
+ name: "swapY2XModule",
180852
181080
  outputs: [
180853
181081
  {
180854
- internalType: "uint256",
180855
- name: "cost",
180856
- type: "uint256"
180857
- },
181082
+ internalType: "address",
181083
+ name: "",
181084
+ type: "address"
181085
+ }
181086
+ ],
181087
+ stateMutability: "view",
181088
+ type: "function"
181089
+ },
181090
+ {
181091
+ inputs: [
180858
181092
  {
180859
- internalType: "int24[]",
180860
- name: "pointAfterList",
180861
- type: "int24[]"
181093
+ internalType: "address",
181094
+ name: "newOwner",
181095
+ type: "address"
180862
181096
  }
180863
181097
  ],
181098
+ name: "transferOwnership",
181099
+ outputs: [],
180864
181100
  stateMutability: "nonpayable",
180865
181101
  type: "function"
180866
- },
181102
+ }
181103
+ ];
181104
+ var IzumiFactory__factory = class {
181105
+ static createInterface() {
181106
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi10);
181107
+ }
181108
+ static connect(address, signerOrProvider) {
181109
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi10, signerOrProvider);
181110
+ }
181111
+ };
181112
+ IzumiFactory__factory.abi = _abi10;
181113
+
181114
+ // src/crosschain/contracts/factories/IzumiPool__factory.ts
181115
+
181116
+ var _abi11 = [
180867
181117
  {
180868
181118
  inputs: [
180869
181119
  {
180870
181120
  internalType: "address",
180871
- name: "tokenX",
181121
+ name: "_factory",
180872
181122
  type: "address"
180873
181123
  },
180874
181124
  {
180875
181125
  internalType: "address",
180876
- name: "tokenY",
181126
+ name: "_tokenX",
180877
181127
  type: "address"
180878
181128
  },
180879
181129
  {
180880
- internalType: "uint24",
180881
- name: "fee",
180882
- type: "uint24"
181130
+ internalType: "address",
181131
+ name: "_tokenY",
181132
+ type: "address"
180883
181133
  },
180884
181134
  {
180885
- internalType: "uint128",
180886
- name: "amount",
180887
- type: "uint128"
181135
+ internalType: "uint24",
181136
+ name: "_fee",
181137
+ type: "uint24"
180888
181138
  },
180889
181139
  {
180890
181140
  internalType: "int24",
180891
- name: "lowPt",
181141
+ name: "currentPoint",
180892
181142
  type: "int24"
180893
- }
180894
- ],
180895
- name: "swapX2Y",
180896
- outputs: [
180897
- {
180898
- internalType: "uint256",
180899
- name: "amountY",
180900
- type: "uint256"
180901
181143
  },
180902
181144
  {
180903
181145
  internalType: "int24",
180904
- name: "finalPoint",
181146
+ name: "_pointDelta",
180905
181147
  type: "int24"
180906
181148
  }
180907
181149
  ],
180908
181150
  stateMutability: "nonpayable",
180909
- type: "function"
181151
+ type: "constructor"
180910
181152
  },
180911
181153
  {
181154
+ anonymous: false,
180912
181155
  inputs: [
180913
181156
  {
181157
+ indexed: false,
180914
181158
  internalType: "uint256",
180915
- name: "x",
181159
+ name: "amount",
180916
181160
  type: "uint256"
180917
181161
  },
180918
181162
  {
180919
- internalType: "uint256",
180920
- name: "y",
180921
- type: "uint256"
181163
+ indexed: false,
181164
+ internalType: "int24",
181165
+ name: "point",
181166
+ type: "int24"
180922
181167
  },
180923
181168
  {
180924
- internalType: "bytes",
180925
- name: "path",
180926
- type: "bytes"
181169
+ indexed: false,
181170
+ internalType: "bool",
181171
+ name: "sellXEarnY",
181172
+ type: "bool"
180927
181173
  }
180928
181174
  ],
180929
- name: "swapX2YCallback",
180930
- outputs: [],
180931
- stateMutability: "view",
180932
- type: "function"
181175
+ name: "AddLimitOrder",
181176
+ type: "event"
180933
181177
  },
180934
181178
  {
181179
+ anonymous: false,
180935
181180
  inputs: [
180936
181181
  {
181182
+ indexed: true,
180937
181183
  internalType: "address",
180938
- name: "tokenX",
181184
+ name: "owner",
180939
181185
  type: "address"
180940
181186
  },
180941
181187
  {
180942
- internalType: "address",
180943
- name: "tokenY",
180944
- type: "address"
181188
+ indexed: true,
181189
+ internalType: "int24",
181190
+ name: "leftPoint",
181191
+ type: "int24"
180945
181192
  },
180946
181193
  {
180947
- internalType: "uint24",
180948
- name: "fee",
180949
- type: "uint24"
181194
+ indexed: true,
181195
+ internalType: "int24",
181196
+ name: "rightPoint",
181197
+ type: "int24"
180950
181198
  },
180951
181199
  {
181200
+ indexed: false,
180952
181201
  internalType: "uint128",
180953
- name: "desireY",
181202
+ name: "liquidity",
180954
181203
  type: "uint128"
180955
181204
  },
180956
181205
  {
180957
- internalType: "int24",
180958
- name: "lowPt",
180959
- type: "int24"
181206
+ indexed: false,
181207
+ internalType: "uint256",
181208
+ name: "amountX",
181209
+ type: "uint256"
181210
+ },
181211
+ {
181212
+ indexed: false,
181213
+ internalType: "uint256",
181214
+ name: "amountY",
181215
+ type: "uint256"
180960
181216
  }
180961
181217
  ],
180962
- name: "swapX2YDesireY",
180963
- outputs: [
181218
+ name: "Burn",
181219
+ type: "event"
181220
+ },
181221
+ {
181222
+ anonymous: false,
181223
+ inputs: [
180964
181224
  {
181225
+ indexed: false,
180965
181226
  internalType: "uint256",
180966
- name: "amountX",
181227
+ name: "amount",
180967
181228
  type: "uint256"
180968
181229
  },
180969
181230
  {
181231
+ indexed: false,
180970
181232
  internalType: "int24",
180971
- name: "finalPoint",
181233
+ name: "point",
180972
181234
  type: "int24"
181235
+ },
181236
+ {
181237
+ indexed: false,
181238
+ internalType: "bool",
181239
+ name: "sellXEarnY",
181240
+ type: "bool"
180973
181241
  }
180974
181242
  ],
180975
- stateMutability: "nonpayable",
180976
- type: "function"
181243
+ name: "DecLimitOrder",
181244
+ type: "event"
180977
181245
  },
180978
181246
  {
181247
+ anonymous: false,
180979
181248
  inputs: [
180980
181249
  {
181250
+ indexed: true,
180981
181251
  internalType: "address",
180982
- name: "tokenX",
181252
+ name: "sender",
180983
181253
  type: "address"
180984
181254
  },
180985
181255
  {
181256
+ indexed: true,
180986
181257
  internalType: "address",
180987
- name: "tokenY",
181258
+ name: "recipient",
180988
181259
  type: "address"
180989
181260
  },
180990
181261
  {
180991
- internalType: "uint24",
180992
- name: "fee",
180993
- type: "uint24"
181262
+ indexed: false,
181263
+ internalType: "uint256",
181264
+ name: "amountX",
181265
+ type: "uint256"
180994
181266
  },
180995
181267
  {
180996
- internalType: "uint128",
180997
- name: "amount",
180998
- type: "uint128"
181268
+ indexed: false,
181269
+ internalType: "uint256",
181270
+ name: "amountY",
181271
+ type: "uint256"
180999
181272
  },
181000
181273
  {
181001
- internalType: "int24",
181002
- name: "highPt",
181003
- type: "int24"
181004
- }
181005
- ],
181006
- name: "swapY2X",
181007
- outputs: [
181008
- {
181274
+ indexed: false,
181009
181275
  internalType: "uint256",
181010
- name: "amountX",
181276
+ name: "paidX",
181011
181277
  type: "uint256"
181012
181278
  },
181013
181279
  {
181014
- internalType: "int24",
181015
- name: "finalPoint",
181016
- type: "int24"
181280
+ indexed: false,
181281
+ internalType: "uint256",
181282
+ name: "paidY",
181283
+ type: "uint256"
181017
181284
  }
181018
181285
  ],
181019
- stateMutability: "nonpayable",
181020
- type: "function"
181286
+ name: "Flash",
181287
+ type: "event"
181021
181288
  },
181022
181289
  {
181290
+ anonymous: false,
181023
181291
  inputs: [
181024
181292
  {
181025
- internalType: "uint256",
181026
- name: "x",
181027
- type: "uint256"
181293
+ indexed: false,
181294
+ internalType: "address",
181295
+ name: "sender",
181296
+ type: "address"
181297
+ },
181298
+ {
181299
+ indexed: true,
181300
+ internalType: "address",
181301
+ name: "owner",
181302
+ type: "address"
181303
+ },
181304
+ {
181305
+ indexed: true,
181306
+ internalType: "int24",
181307
+ name: "leftPoint",
181308
+ type: "int24"
181309
+ },
181310
+ {
181311
+ indexed: true,
181312
+ internalType: "int24",
181313
+ name: "rightPoint",
181314
+ type: "int24"
181315
+ },
181316
+ {
181317
+ indexed: false,
181318
+ internalType: "uint128",
181319
+ name: "liquidity",
181320
+ type: "uint128"
181028
181321
  },
181029
181322
  {
181323
+ indexed: false,
181030
181324
  internalType: "uint256",
181031
- name: "y",
181325
+ name: "amountX",
181032
181326
  type: "uint256"
181033
181327
  },
181034
181328
  {
181035
- internalType: "bytes",
181036
- name: "path",
181037
- type: "bytes"
181329
+ indexed: false,
181330
+ internalType: "uint256",
181331
+ name: "amountY",
181332
+ type: "uint256"
181038
181333
  }
181039
181334
  ],
181040
- name: "swapY2XCallback",
181041
- outputs: [],
181042
- stateMutability: "view",
181043
- type: "function"
181335
+ name: "Mint",
181336
+ type: "event"
181044
181337
  },
181045
181338
  {
181339
+ anonymous: false,
181046
181340
  inputs: [
181047
181341
  {
181342
+ indexed: true,
181048
181343
  internalType: "address",
181049
181344
  name: "tokenX",
181050
181345
  type: "address"
181051
181346
  },
181052
181347
  {
181348
+ indexed: true,
181053
181349
  internalType: "address",
181054
181350
  name: "tokenY",
181055
181351
  type: "address"
181056
181352
  },
181057
181353
  {
181354
+ indexed: true,
181058
181355
  internalType: "uint24",
181059
181356
  name: "fee",
181060
181357
  type: "uint24"
181061
181358
  },
181062
181359
  {
181063
- internalType: "uint128",
181064
- name: "desireX",
181065
- type: "uint128"
181360
+ indexed: false,
181361
+ internalType: "bool",
181362
+ name: "sellXEarnY",
181363
+ type: "bool"
181066
181364
  },
181067
181365
  {
181068
- internalType: "int24",
181069
- name: "highPt",
181070
- type: "int24"
181071
- }
181072
- ],
181073
- name: "swapY2XDesireX",
181074
- outputs: [
181075
- {
181366
+ indexed: false,
181076
181367
  internalType: "uint256",
181077
- name: "amountY",
181368
+ name: "amountX",
181078
181369
  type: "uint256"
181079
181370
  },
181080
181371
  {
181081
- internalType: "int24",
181082
- name: "finalPoint",
181083
- type: "int24"
181372
+ indexed: false,
181373
+ internalType: "uint256",
181374
+ name: "amountY",
181375
+ type: "uint256"
181084
181376
  }
181085
181377
  ],
181086
- stateMutability: "nonpayable",
181087
- type: "function"
181378
+ name: "Swap",
181379
+ type: "event"
181088
181380
  },
181089
181381
  {
181090
181382
  inputs: [
181091
181383
  {
181092
181384
  internalType: "address",
181093
- name: "token",
181385
+ name: "recipient",
181094
181386
  type: "address"
181095
181387
  },
181096
181388
  {
181097
- internalType: "uint256",
181098
- name: "minAmount",
181099
- type: "uint256"
181389
+ internalType: "int24",
181390
+ name: "point",
181391
+ type: "int24"
181100
181392
  },
181101
181393
  {
181102
- internalType: "address",
181103
- name: "recipient",
181104
- type: "address"
181394
+ internalType: "uint128",
181395
+ name: "amountX",
181396
+ type: "uint128"
181397
+ },
181398
+ {
181399
+ internalType: "bytes",
181400
+ name: "data",
181401
+ type: "bytes"
181105
181402
  }
181106
181403
  ],
181107
- name: "sweepToken",
181108
- outputs: [],
181109
- stateMutability: "payable",
181110
- type: "function"
181111
- },
181112
- {
181404
+ name: "addLimOrderWithX",
181405
+ outputs: [
181406
+ {
181407
+ internalType: "uint128",
181408
+ name: "orderX",
181409
+ type: "uint128"
181410
+ },
181411
+ {
181412
+ internalType: "uint128",
181413
+ name: "acquireY",
181414
+ type: "uint128"
181415
+ }
181416
+ ],
181417
+ stateMutability: "nonpayable",
181418
+ type: "function"
181419
+ },
181420
+ {
181421
+ inputs: [
181422
+ {
181423
+ internalType: "address",
181424
+ name: "recipient",
181425
+ type: "address"
181426
+ },
181427
+ {
181428
+ internalType: "int24",
181429
+ name: "point",
181430
+ type: "int24"
181431
+ },
181432
+ {
181433
+ internalType: "uint128",
181434
+ name: "amountY",
181435
+ type: "uint128"
181436
+ },
181437
+ {
181438
+ internalType: "bytes",
181439
+ name: "data",
181440
+ type: "bytes"
181441
+ }
181442
+ ],
181443
+ name: "addLimOrderWithY",
181444
+ outputs: [
181445
+ {
181446
+ internalType: "uint128",
181447
+ name: "orderY",
181448
+ type: "uint128"
181449
+ },
181450
+ {
181451
+ internalType: "uint128",
181452
+ name: "acquireX",
181453
+ type: "uint128"
181454
+ }
181455
+ ],
181456
+ stateMutability: "nonpayable",
181457
+ type: "function"
181458
+ },
181459
+ {
181460
+ inputs: [
181461
+ {
181462
+ internalType: "int24",
181463
+ name: "point",
181464
+ type: "int24"
181465
+ },
181466
+ {
181467
+ internalType: "uint128",
181468
+ name: "assignX",
181469
+ type: "uint128"
181470
+ }
181471
+ ],
181472
+ name: "assignLimOrderEarnX",
181473
+ outputs: [
181474
+ {
181475
+ internalType: "uint128",
181476
+ name: "actualAssignX",
181477
+ type: "uint128"
181478
+ }
181479
+ ],
181480
+ stateMutability: "nonpayable",
181481
+ type: "function"
181482
+ },
181483
+ {
181484
+ inputs: [
181485
+ {
181486
+ internalType: "int24",
181487
+ name: "point",
181488
+ type: "int24"
181489
+ },
181490
+ {
181491
+ internalType: "uint128",
181492
+ name: "assignY",
181493
+ type: "uint128"
181494
+ }
181495
+ ],
181496
+ name: "assignLimOrderEarnY",
181497
+ outputs: [
181498
+ {
181499
+ internalType: "uint128",
181500
+ name: "actualAssignY",
181501
+ type: "uint128"
181502
+ }
181503
+ ],
181504
+ stateMutability: "nonpayable",
181505
+ type: "function"
181506
+ },
181507
+ {
181508
+ inputs: [
181509
+ {
181510
+ internalType: "int24",
181511
+ name: "leftPt",
181512
+ type: "int24"
181513
+ },
181514
+ {
181515
+ internalType: "int24",
181516
+ name: "rightPt",
181517
+ type: "int24"
181518
+ },
181519
+ {
181520
+ internalType: "uint128",
181521
+ name: "liquidDelta",
181522
+ type: "uint128"
181523
+ }
181524
+ ],
181525
+ name: "burn",
181526
+ outputs: [
181527
+ {
181528
+ internalType: "uint256",
181529
+ name: "amountX",
181530
+ type: "uint256"
181531
+ },
181532
+ {
181533
+ internalType: "uint256",
181534
+ name: "amountY",
181535
+ type: "uint256"
181536
+ }
181537
+ ],
181538
+ stateMutability: "nonpayable",
181539
+ type: "function"
181540
+ },
181541
+ {
181542
+ inputs: [
181543
+ {
181544
+ internalType: "address",
181545
+ name: "recipient",
181546
+ type: "address"
181547
+ },
181548
+ {
181549
+ internalType: "int24",
181550
+ name: "leftPt",
181551
+ type: "int24"
181552
+ },
181553
+ {
181554
+ internalType: "int24",
181555
+ name: "rightPt",
181556
+ type: "int24"
181557
+ },
181558
+ {
181559
+ internalType: "uint256",
181560
+ name: "amountXLim",
181561
+ type: "uint256"
181562
+ },
181563
+ {
181564
+ internalType: "uint256",
181565
+ name: "amountYLim",
181566
+ type: "uint256"
181567
+ }
181568
+ ],
181569
+ name: "collect",
181570
+ outputs: [
181571
+ {
181572
+ internalType: "uint256",
181573
+ name: "actualAmountX",
181574
+ type: "uint256"
181575
+ },
181576
+ {
181577
+ internalType: "uint256",
181578
+ name: "actualAmountY",
181579
+ type: "uint256"
181580
+ }
181581
+ ],
181582
+ stateMutability: "nonpayable",
181583
+ type: "function"
181584
+ },
181585
+ {
181586
+ inputs: [],
181587
+ name: "collectFeeCharged",
181588
+ outputs: [],
181589
+ stateMutability: "nonpayable",
181590
+ type: "function"
181591
+ },
181592
+ {
181593
+ inputs: [
181594
+ {
181595
+ internalType: "address",
181596
+ name: "recipient",
181597
+ type: "address"
181598
+ },
181599
+ {
181600
+ internalType: "int24",
181601
+ name: "point",
181602
+ type: "int24"
181603
+ },
181604
+ {
181605
+ internalType: "uint128",
181606
+ name: "collectDec",
181607
+ type: "uint128"
181608
+ },
181609
+ {
181610
+ internalType: "uint128",
181611
+ name: "collectEarn",
181612
+ type: "uint128"
181613
+ },
181614
+ {
181615
+ internalType: "bool",
181616
+ name: "isEarnY",
181617
+ type: "bool"
181618
+ }
181619
+ ],
181620
+ name: "collectLimOrder",
181621
+ outputs: [
181622
+ {
181623
+ internalType: "uint128",
181624
+ name: "actualCollectDec",
181625
+ type: "uint128"
181626
+ },
181627
+ {
181628
+ internalType: "uint128",
181629
+ name: "actualCollectEarn",
181630
+ type: "uint128"
181631
+ }
181632
+ ],
181633
+ stateMutability: "nonpayable",
181634
+ type: "function"
181635
+ },
181636
+ {
181637
+ inputs: [
181638
+ {
181639
+ internalType: "int24",
181640
+ name: "point",
181641
+ type: "int24"
181642
+ },
181643
+ {
181644
+ internalType: "uint128",
181645
+ name: "deltaX",
181646
+ type: "uint128"
181647
+ }
181648
+ ],
181649
+ name: "decLimOrderWithX",
181650
+ outputs: [
181651
+ {
181652
+ internalType: "uint128",
181653
+ name: "actualDeltaX",
181654
+ type: "uint128"
181655
+ }
181656
+ ],
181657
+ stateMutability: "nonpayable",
181658
+ type: "function"
181659
+ },
181660
+ {
181661
+ inputs: [
181662
+ {
181663
+ internalType: "int24",
181664
+ name: "point",
181665
+ type: "int24"
181666
+ },
181667
+ {
181668
+ internalType: "uint128",
181669
+ name: "deltaY",
181670
+ type: "uint128"
181671
+ }
181672
+ ],
181673
+ name: "decLimOrderWithY",
181674
+ outputs: [
181675
+ {
181676
+ internalType: "uint128",
181677
+ name: "actualDeltaY",
181678
+ type: "uint128"
181679
+ }
181680
+ ],
181681
+ stateMutability: "nonpayable",
181682
+ type: "function"
181683
+ },
181684
+ {
181685
+ inputs: [
181686
+ {
181687
+ internalType: "uint16",
181688
+ name: "newNextQueueLen",
181689
+ type: "uint16"
181690
+ }
181691
+ ],
181692
+ name: "expandObservationQueue",
181693
+ outputs: [],
181694
+ stateMutability: "nonpayable",
181695
+ type: "function"
181696
+ },
181697
+ {
181698
+ inputs: [],
181699
+ name: "factory",
181700
+ outputs: [
181701
+ {
181702
+ internalType: "address",
181703
+ name: "",
181704
+ type: "address"
181705
+ }
181706
+ ],
181707
+ stateMutability: "view",
181708
+ type: "function"
181709
+ },
181710
+ {
181711
+ inputs: [],
181712
+ name: "fee",
181713
+ outputs: [
181714
+ {
181715
+ internalType: "uint24",
181716
+ name: "",
181717
+ type: "uint24"
181718
+ }
181719
+ ],
181720
+ stateMutability: "view",
181721
+ type: "function"
181722
+ },
181723
+ {
181724
+ inputs: [],
181725
+ name: "feeChargePercent",
181726
+ outputs: [
181727
+ {
181728
+ internalType: "uint24",
181729
+ name: "",
181730
+ type: "uint24"
181731
+ }
181732
+ ],
181733
+ stateMutability: "view",
181734
+ type: "function"
181735
+ },
181736
+ {
181737
+ inputs: [],
181738
+ name: "feeScaleX_128",
181739
+ outputs: [
181740
+ {
181741
+ internalType: "uint256",
181742
+ name: "",
181743
+ type: "uint256"
181744
+ }
181745
+ ],
181746
+ stateMutability: "view",
181747
+ type: "function"
181748
+ },
181749
+ {
181750
+ inputs: [],
181751
+ name: "feeScaleY_128",
181752
+ outputs: [
181753
+ {
181754
+ internalType: "uint256",
181755
+ name: "",
181756
+ type: "uint256"
181757
+ }
181758
+ ],
181759
+ stateMutability: "view",
181760
+ type: "function"
181761
+ },
181762
+ {
181763
+ inputs: [
181764
+ {
181765
+ internalType: "address",
181766
+ name: "recipient",
181767
+ type: "address"
181768
+ },
181769
+ {
181770
+ internalType: "uint256",
181771
+ name: "amountX",
181772
+ type: "uint256"
181773
+ },
181774
+ {
181775
+ internalType: "uint256",
181776
+ name: "amountY",
181777
+ type: "uint256"
181778
+ },
181779
+ {
181780
+ internalType: "bytes",
181781
+ name: "data",
181782
+ type: "bytes"
181783
+ }
181784
+ ],
181785
+ name: "flash",
181786
+ outputs: [],
181787
+ stateMutability: "nonpayable",
181788
+ type: "function"
181789
+ },
181790
+ {
181791
+ inputs: [],
181792
+ name: "leftMostPt",
181793
+ outputs: [
181794
+ {
181795
+ internalType: "int24",
181796
+ name: "",
181797
+ type: "int24"
181798
+ }
181799
+ ],
181800
+ stateMutability: "view",
181801
+ type: "function"
181802
+ },
181803
+ {
181804
+ inputs: [
181805
+ {
181806
+ internalType: "int24",
181807
+ name: "",
181808
+ type: "int24"
181809
+ }
181810
+ ],
181811
+ name: "limitOrderData",
181812
+ outputs: [
181813
+ {
181814
+ internalType: "uint128",
181815
+ name: "sellingX",
181816
+ type: "uint128"
181817
+ },
181818
+ {
181819
+ internalType: "uint128",
181820
+ name: "earnY",
181821
+ type: "uint128"
181822
+ },
181823
+ {
181824
+ internalType: "uint256",
181825
+ name: "accEarnY",
181826
+ type: "uint256"
181827
+ },
181828
+ {
181829
+ internalType: "uint128",
181830
+ name: "sellingY",
181831
+ type: "uint128"
181832
+ },
181833
+ {
181834
+ internalType: "uint128",
181835
+ name: "earnX",
181836
+ type: "uint128"
181837
+ },
181838
+ {
181839
+ internalType: "uint256",
181840
+ name: "accEarnX",
181841
+ type: "uint256"
181842
+ }
181843
+ ],
181844
+ stateMutability: "view",
181845
+ type: "function"
181846
+ },
181847
+ {
181848
+ inputs: [
181849
+ {
181850
+ internalType: "int24",
181851
+ name: "leftPoint",
181852
+ type: "int24"
181853
+ },
181854
+ {
181855
+ internalType: "int24",
181856
+ name: "rightPoint",
181857
+ type: "int24"
181858
+ }
181859
+ ],
181860
+ name: "limitOrderSnapshot",
181861
+ outputs: [
181862
+ {
181863
+ components: [
181864
+ {
181865
+ internalType: "uint128",
181866
+ name: "sellingX",
181867
+ type: "uint128"
181868
+ },
181869
+ {
181870
+ internalType: "uint128",
181871
+ name: "earnY",
181872
+ type: "uint128"
181873
+ },
181874
+ {
181875
+ internalType: "uint256",
181876
+ name: "accEarnY",
181877
+ type: "uint256"
181878
+ },
181879
+ {
181880
+ internalType: "uint128",
181881
+ name: "sellingY",
181882
+ type: "uint128"
181883
+ },
181884
+ {
181885
+ internalType: "uint128",
181886
+ name: "earnX",
181887
+ type: "uint128"
181888
+ },
181889
+ {
181890
+ internalType: "uint256",
181891
+ name: "accEarnX",
181892
+ type: "uint256"
181893
+ }
181894
+ ],
181895
+ internalType: "struct IiZiSwapPool.LimitOrderStruct[]",
181896
+ name: "limitOrders",
181897
+ type: "tuple[]"
181898
+ }
181899
+ ],
181900
+ stateMutability: "view",
181901
+ type: "function"
181902
+ },
181903
+ {
181904
+ inputs: [
181905
+ {
181906
+ internalType: "bytes32",
181907
+ name: "",
181908
+ type: "bytes32"
181909
+ }
181910
+ ],
181911
+ name: "liquidity",
181912
+ outputs: [
181913
+ {
181914
+ internalType: "uint128",
181915
+ name: "liquidity",
181916
+ type: "uint128"
181917
+ },
181918
+ {
181919
+ internalType: "uint256",
181920
+ name: "lastFeeScaleX_128",
181921
+ type: "uint256"
181922
+ },
181923
+ {
181924
+ internalType: "uint256",
181925
+ name: "lastFeeScaleY_128",
181926
+ type: "uint256"
181927
+ },
181928
+ {
181929
+ internalType: "uint256",
181930
+ name: "tokenOwedX",
181931
+ type: "uint256"
181932
+ },
181933
+ {
181934
+ internalType: "uint256",
181935
+ name: "tokenOwedY",
181936
+ type: "uint256"
181937
+ }
181938
+ ],
181939
+ stateMutability: "view",
181940
+ type: "function"
181941
+ },
181942
+ {
181943
+ inputs: [
181944
+ {
181945
+ internalType: "int24",
181946
+ name: "leftPoint",
181947
+ type: "int24"
181948
+ },
181949
+ {
181950
+ internalType: "int24",
181951
+ name: "rightPoint",
181952
+ type: "int24"
181953
+ }
181954
+ ],
181955
+ name: "liquiditySnapshot",
181956
+ outputs: [
181957
+ {
181958
+ internalType: "int128[]",
181959
+ name: "deltaLiquidities",
181960
+ type: "int128[]"
181961
+ }
181962
+ ],
181963
+ stateMutability: "view",
181964
+ type: "function"
181965
+ },
181966
+ {
181967
+ inputs: [],
181968
+ name: "maxLiquidPt",
181969
+ outputs: [
181970
+ {
181971
+ internalType: "uint128",
181972
+ name: "",
181973
+ type: "uint128"
181974
+ }
181975
+ ],
181976
+ stateMutability: "view",
181977
+ type: "function"
181978
+ },
181979
+ {
181980
+ inputs: [
181981
+ {
181982
+ internalType: "address",
181983
+ name: "recipient",
181984
+ type: "address"
181985
+ },
181986
+ {
181987
+ internalType: "int24",
181988
+ name: "leftPt",
181989
+ type: "int24"
181990
+ },
181991
+ {
181992
+ internalType: "int24",
181993
+ name: "rightPt",
181994
+ type: "int24"
181995
+ },
181996
+ {
181997
+ internalType: "uint128",
181998
+ name: "liquidDelta",
181999
+ type: "uint128"
182000
+ },
182001
+ {
182002
+ internalType: "bytes",
182003
+ name: "data",
182004
+ type: "bytes"
182005
+ }
182006
+ ],
182007
+ name: "mint",
182008
+ outputs: [
182009
+ {
182010
+ internalType: "uint256",
182011
+ name: "amountX",
182012
+ type: "uint256"
182013
+ },
182014
+ {
182015
+ internalType: "uint256",
182016
+ name: "amountY",
182017
+ type: "uint256"
182018
+ }
182019
+ ],
182020
+ stateMutability: "nonpayable",
182021
+ type: "function"
182022
+ },
182023
+ {
182024
+ inputs: [
182025
+ {
182026
+ internalType: "uint256",
182027
+ name: "",
182028
+ type: "uint256"
182029
+ }
182030
+ ],
182031
+ name: "observations",
182032
+ outputs: [
182033
+ {
182034
+ internalType: "uint32",
182035
+ name: "timestamp",
182036
+ type: "uint32"
182037
+ },
182038
+ {
182039
+ internalType: "int56",
182040
+ name: "accPoint",
182041
+ type: "int56"
182042
+ },
182043
+ {
182044
+ internalType: "bool",
182045
+ name: "init",
182046
+ type: "bool"
182047
+ }
182048
+ ],
182049
+ stateMutability: "view",
182050
+ type: "function"
182051
+ },
182052
+ {
182053
+ inputs: [
182054
+ {
182055
+ internalType: "uint32[]",
182056
+ name: "secondsAgos",
182057
+ type: "uint32[]"
182058
+ }
182059
+ ],
182060
+ name: "observe",
182061
+ outputs: [
182062
+ {
182063
+ internalType: "int56[]",
182064
+ name: "accPoints",
182065
+ type: "int56[]"
182066
+ }
182067
+ ],
182068
+ stateMutability: "view",
182069
+ type: "function"
182070
+ },
182071
+ {
182072
+ inputs: [
182073
+ {
182074
+ internalType: "int24",
182075
+ name: "",
182076
+ type: "int24"
182077
+ }
182078
+ ],
182079
+ name: "orderOrEndpoint",
182080
+ outputs: [
182081
+ {
182082
+ internalType: "int24",
182083
+ name: "",
182084
+ type: "int24"
182085
+ }
182086
+ ],
182087
+ stateMutability: "view",
182088
+ type: "function"
182089
+ },
182090
+ {
182091
+ inputs: [
182092
+ {
182093
+ internalType: "int16",
182094
+ name: "",
182095
+ type: "int16"
182096
+ }
182097
+ ],
182098
+ name: "pointBitmap",
182099
+ outputs: [
182100
+ {
182101
+ internalType: "uint256",
182102
+ name: "",
182103
+ type: "uint256"
182104
+ }
182105
+ ],
182106
+ stateMutability: "view",
182107
+ type: "function"
182108
+ },
182109
+ {
182110
+ inputs: [],
182111
+ name: "pointDelta",
182112
+ outputs: [
182113
+ {
182114
+ internalType: "int24",
182115
+ name: "",
182116
+ type: "int24"
182117
+ }
182118
+ ],
182119
+ stateMutability: "view",
182120
+ type: "function"
182121
+ },
182122
+ {
182123
+ inputs: [
182124
+ {
182125
+ internalType: "int24",
182126
+ name: "",
182127
+ type: "int24"
182128
+ }
182129
+ ],
182130
+ name: "points",
182131
+ outputs: [
182132
+ {
182133
+ internalType: "uint128",
182134
+ name: "liquidSum",
182135
+ type: "uint128"
182136
+ },
182137
+ {
182138
+ internalType: "int128",
182139
+ name: "liquidDelta",
182140
+ type: "int128"
182141
+ },
182142
+ {
182143
+ internalType: "uint256",
182144
+ name: "accFeeXOut_128",
182145
+ type: "uint256"
182146
+ },
182147
+ {
182148
+ internalType: "uint256",
182149
+ name: "accFeeYOut_128",
182150
+ type: "uint256"
182151
+ },
182152
+ {
182153
+ internalType: "bool",
182154
+ name: "isEndpt",
182155
+ type: "bool"
182156
+ }
182157
+ ],
182158
+ stateMutability: "view",
182159
+ type: "function"
182160
+ },
182161
+ {
182162
+ inputs: [],
182163
+ name: "rightMostPt",
182164
+ outputs: [
182165
+ {
182166
+ internalType: "int24",
182167
+ name: "",
182168
+ type: "int24"
182169
+ }
182170
+ ],
182171
+ stateMutability: "view",
182172
+ type: "function"
182173
+ },
182174
+ {
182175
+ inputs: [],
182176
+ name: "sqrtRate_96",
182177
+ outputs: [
182178
+ {
182179
+ internalType: "uint160",
182180
+ name: "",
182181
+ type: "uint160"
182182
+ }
182183
+ ],
182184
+ stateMutability: "view",
182185
+ type: "function"
182186
+ },
182187
+ {
182188
+ inputs: [],
182189
+ name: "state",
182190
+ outputs: [
182191
+ {
182192
+ internalType: "uint160",
182193
+ name: "sqrtPrice_96",
182194
+ type: "uint160"
182195
+ },
182196
+ {
182197
+ internalType: "int24",
182198
+ name: "currentPoint",
182199
+ type: "int24"
182200
+ },
182201
+ {
182202
+ internalType: "uint16",
182203
+ name: "observationCurrentIndex",
182204
+ type: "uint16"
182205
+ },
182206
+ {
182207
+ internalType: "uint16",
182208
+ name: "observationQueueLen",
182209
+ type: "uint16"
182210
+ },
182211
+ {
182212
+ internalType: "uint16",
182213
+ name: "observationNextQueueLen",
182214
+ type: "uint16"
182215
+ },
182216
+ {
182217
+ internalType: "bool",
182218
+ name: "locked",
182219
+ type: "bool"
182220
+ },
182221
+ {
182222
+ internalType: "uint128",
182223
+ name: "liquidity",
182224
+ type: "uint128"
182225
+ },
182226
+ {
182227
+ internalType: "uint128",
182228
+ name: "liquidityX",
182229
+ type: "uint128"
182230
+ }
182231
+ ],
182232
+ stateMutability: "view",
182233
+ type: "function"
182234
+ },
182235
+ {
182236
+ inputs: [
182237
+ {
182238
+ internalType: "address",
182239
+ name: "recipient",
182240
+ type: "address"
182241
+ },
182242
+ {
182243
+ internalType: "uint128",
182244
+ name: "amount",
182245
+ type: "uint128"
182246
+ },
182247
+ {
182248
+ internalType: "int24",
182249
+ name: "lowPt",
182250
+ type: "int24"
182251
+ },
182252
+ {
182253
+ internalType: "bytes",
182254
+ name: "data",
182255
+ type: "bytes"
182256
+ }
182257
+ ],
182258
+ name: "swapX2Y",
182259
+ outputs: [
182260
+ {
182261
+ internalType: "uint256",
182262
+ name: "amountX",
182263
+ type: "uint256"
182264
+ },
182265
+ {
182266
+ internalType: "uint256",
182267
+ name: "amountY",
182268
+ type: "uint256"
182269
+ }
182270
+ ],
182271
+ stateMutability: "nonpayable",
182272
+ type: "function"
182273
+ },
182274
+ {
182275
+ inputs: [
182276
+ {
182277
+ internalType: "address",
182278
+ name: "recipient",
182279
+ type: "address"
182280
+ },
182281
+ {
182282
+ internalType: "uint128",
182283
+ name: "desireY",
182284
+ type: "uint128"
182285
+ },
182286
+ {
182287
+ internalType: "int24",
182288
+ name: "lowPt",
182289
+ type: "int24"
182290
+ },
182291
+ {
182292
+ internalType: "bytes",
182293
+ name: "data",
182294
+ type: "bytes"
182295
+ }
182296
+ ],
182297
+ name: "swapX2YDesireY",
182298
+ outputs: [
182299
+ {
182300
+ internalType: "uint256",
182301
+ name: "amountX",
182302
+ type: "uint256"
182303
+ },
182304
+ {
182305
+ internalType: "uint256",
182306
+ name: "amountY",
182307
+ type: "uint256"
182308
+ }
182309
+ ],
182310
+ stateMutability: "nonpayable",
182311
+ type: "function"
182312
+ },
182313
+ {
182314
+ inputs: [
182315
+ {
182316
+ internalType: "address",
182317
+ name: "recipient",
182318
+ type: "address"
182319
+ },
182320
+ {
182321
+ internalType: "uint128",
182322
+ name: "amount",
182323
+ type: "uint128"
182324
+ },
182325
+ {
182326
+ internalType: "int24",
182327
+ name: "highPt",
182328
+ type: "int24"
182329
+ },
182330
+ {
182331
+ internalType: "bytes",
182332
+ name: "data",
182333
+ type: "bytes"
182334
+ }
182335
+ ],
182336
+ name: "swapY2X",
182337
+ outputs: [
182338
+ {
182339
+ internalType: "uint256",
182340
+ name: "amountX",
182341
+ type: "uint256"
182342
+ },
182343
+ {
182344
+ internalType: "uint256",
182345
+ name: "amountY",
182346
+ type: "uint256"
182347
+ }
182348
+ ],
182349
+ stateMutability: "nonpayable",
182350
+ type: "function"
182351
+ },
182352
+ {
182353
+ inputs: [
182354
+ {
182355
+ internalType: "address",
182356
+ name: "recipient",
182357
+ type: "address"
182358
+ },
182359
+ {
182360
+ internalType: "uint128",
182361
+ name: "desireX",
182362
+ type: "uint128"
182363
+ },
182364
+ {
182365
+ internalType: "int24",
182366
+ name: "highPt",
182367
+ type: "int24"
182368
+ },
182369
+ {
182370
+ internalType: "bytes",
182371
+ name: "data",
182372
+ type: "bytes"
182373
+ }
182374
+ ],
182375
+ name: "swapY2XDesireX",
182376
+ outputs: [
182377
+ {
182378
+ internalType: "uint256",
182379
+ name: "amountX",
182380
+ type: "uint256"
182381
+ },
182382
+ {
182383
+ internalType: "uint256",
182384
+ name: "amountY",
182385
+ type: "uint256"
182386
+ }
182387
+ ],
182388
+ stateMutability: "nonpayable",
182389
+ type: "function"
182390
+ },
182391
+ {
182392
+ inputs: [],
182393
+ name: "tokenX",
182394
+ outputs: [
182395
+ {
182396
+ internalType: "address",
182397
+ name: "",
182398
+ type: "address"
182399
+ }
182400
+ ],
182401
+ stateMutability: "view",
182402
+ type: "function"
182403
+ },
182404
+ {
182405
+ inputs: [],
182406
+ name: "tokenY",
182407
+ outputs: [
182408
+ {
182409
+ internalType: "address",
182410
+ name: "",
182411
+ type: "address"
182412
+ }
182413
+ ],
182414
+ stateMutability: "view",
182415
+ type: "function"
182416
+ },
182417
+ {
182418
+ inputs: [],
182419
+ name: "totalFeeXCharged",
182420
+ outputs: [
182421
+ {
182422
+ internalType: "uint256",
182423
+ name: "",
182424
+ type: "uint256"
182425
+ }
182426
+ ],
182427
+ stateMutability: "view",
182428
+ type: "function"
182429
+ },
182430
+ {
182431
+ inputs: [],
182432
+ name: "totalFeeYCharged",
182433
+ outputs: [
182434
+ {
182435
+ internalType: "uint256",
182436
+ name: "",
182437
+ type: "uint256"
182438
+ }
182439
+ ],
182440
+ stateMutability: "view",
182441
+ type: "function"
182442
+ },
182443
+ {
182444
+ inputs: [
182445
+ {
182446
+ internalType: "bytes32",
182447
+ name: "",
182448
+ type: "bytes32"
182449
+ }
182450
+ ],
182451
+ name: "userEarnX",
182452
+ outputs: [
182453
+ {
182454
+ internalType: "uint256",
182455
+ name: "lastAccEarn",
182456
+ type: "uint256"
182457
+ },
182458
+ {
182459
+ internalType: "uint128",
182460
+ name: "sellingRemain",
182461
+ type: "uint128"
182462
+ },
182463
+ {
182464
+ internalType: "uint128",
182465
+ name: "sellingDec",
182466
+ type: "uint128"
182467
+ },
182468
+ {
182469
+ internalType: "uint128",
182470
+ name: "earn",
182471
+ type: "uint128"
182472
+ },
182473
+ {
182474
+ internalType: "uint128",
182475
+ name: "earnAssign",
182476
+ type: "uint128"
182477
+ }
182478
+ ],
182479
+ stateMutability: "view",
182480
+ type: "function"
182481
+ },
182482
+ {
182483
+ inputs: [
182484
+ {
182485
+ internalType: "bytes32",
182486
+ name: "",
182487
+ type: "bytes32"
182488
+ }
182489
+ ],
182490
+ name: "userEarnY",
182491
+ outputs: [
182492
+ {
182493
+ internalType: "uint256",
182494
+ name: "lastAccEarn",
182495
+ type: "uint256"
182496
+ },
182497
+ {
182498
+ internalType: "uint128",
182499
+ name: "sellingRemain",
182500
+ type: "uint128"
182501
+ },
182502
+ {
182503
+ internalType: "uint128",
182504
+ name: "sellingDec",
182505
+ type: "uint128"
182506
+ },
182507
+ {
182508
+ internalType: "uint128",
182509
+ name: "earn",
182510
+ type: "uint128"
182511
+ },
182512
+ {
182513
+ internalType: "uint128",
182514
+ name: "earnAssign",
182515
+ type: "uint128"
182516
+ }
182517
+ ],
182518
+ stateMutability: "view",
182519
+ type: "function"
182520
+ }
182521
+ ];
182522
+ var IzumiPool__factory = class {
182523
+ static createInterface() {
182524
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi11);
182525
+ }
182526
+ static connect(address, signerOrProvider) {
182527
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi11, signerOrProvider);
182528
+ }
182529
+ };
182530
+ IzumiPool__factory.abi = _abi11;
182531
+
182532
+ // src/crosschain/contracts/factories/IzumiQuoter__factory.ts
182533
+
182534
+ var _abi12 = [
182535
+ {
182536
+ inputs: [
182537
+ {
182538
+ internalType: "address",
182539
+ name: "_factory",
182540
+ type: "address"
182541
+ },
182542
+ {
182543
+ internalType: "address",
182544
+ name: "_weth",
182545
+ type: "address"
182546
+ }
182547
+ ],
182548
+ stateMutability: "nonpayable",
182549
+ type: "constructor"
182550
+ },
182551
+ {
182552
+ inputs: [],
182553
+ name: "WETH9",
182554
+ outputs: [
182555
+ {
182556
+ internalType: "address",
182557
+ name: "",
182558
+ type: "address"
182559
+ }
182560
+ ],
182561
+ stateMutability: "view",
182562
+ type: "function"
182563
+ },
182564
+ {
182565
+ inputs: [],
182566
+ name: "factory",
182567
+ outputs: [
182568
+ {
182569
+ internalType: "address",
182570
+ name: "",
182571
+ type: "address"
182572
+ }
182573
+ ],
182574
+ stateMutability: "view",
182575
+ type: "function"
182576
+ },
182577
+ {
182578
+ inputs: [
182579
+ {
182580
+ internalType: "bytes[]",
182581
+ name: "data",
182582
+ type: "bytes[]"
182583
+ }
182584
+ ],
182585
+ name: "multicall",
182586
+ outputs: [
182587
+ {
182588
+ internalType: "bytes[]",
182589
+ name: "results",
182590
+ type: "bytes[]"
182591
+ }
182592
+ ],
182593
+ stateMutability: "payable",
182594
+ type: "function"
182595
+ },
182596
+ {
182597
+ inputs: [
182598
+ {
182599
+ internalType: "address",
182600
+ name: "tokenX",
182601
+ type: "address"
182602
+ },
182603
+ {
182604
+ internalType: "address",
182605
+ name: "tokenY",
182606
+ type: "address"
182607
+ },
182608
+ {
182609
+ internalType: "uint24",
182610
+ name: "fee",
182611
+ type: "uint24"
182612
+ }
182613
+ ],
182614
+ name: "pool",
182615
+ outputs: [
182616
+ {
182617
+ internalType: "address",
182618
+ name: "",
182619
+ type: "address"
182620
+ }
182621
+ ],
182622
+ stateMutability: "view",
182623
+ type: "function"
182624
+ },
182625
+ {
182626
+ inputs: [],
182627
+ name: "refundETH",
182628
+ outputs: [],
182629
+ stateMutability: "payable",
182630
+ type: "function"
182631
+ },
182632
+ {
182633
+ inputs: [
182634
+ {
182635
+ internalType: "uint128",
182636
+ name: "amount",
182637
+ type: "uint128"
182638
+ },
182639
+ {
182640
+ internalType: "bytes",
182641
+ name: "path",
182642
+ type: "bytes"
182643
+ }
182644
+ ],
182645
+ name: "swapAmount",
182646
+ outputs: [
182647
+ {
182648
+ internalType: "uint256",
182649
+ name: "acquire",
182650
+ type: "uint256"
182651
+ },
182652
+ {
182653
+ internalType: "int24[]",
182654
+ name: "pointAfterList",
182655
+ type: "int24[]"
182656
+ }
182657
+ ],
182658
+ stateMutability: "nonpayable",
182659
+ type: "function"
182660
+ },
182661
+ {
182662
+ inputs: [
182663
+ {
182664
+ internalType: "uint128",
182665
+ name: "desire",
182666
+ type: "uint128"
182667
+ },
182668
+ {
182669
+ internalType: "bytes",
182670
+ name: "path",
182671
+ type: "bytes"
182672
+ }
182673
+ ],
182674
+ name: "swapDesire",
182675
+ outputs: [
182676
+ {
182677
+ internalType: "uint256",
182678
+ name: "cost",
182679
+ type: "uint256"
182680
+ },
182681
+ {
182682
+ internalType: "int24[]",
182683
+ name: "pointAfterList",
182684
+ type: "int24[]"
182685
+ }
182686
+ ],
182687
+ stateMutability: "nonpayable",
182688
+ type: "function"
182689
+ },
182690
+ {
182691
+ inputs: [
182692
+ {
182693
+ internalType: "address",
182694
+ name: "tokenX",
182695
+ type: "address"
182696
+ },
182697
+ {
182698
+ internalType: "address",
182699
+ name: "tokenY",
182700
+ type: "address"
182701
+ },
182702
+ {
182703
+ internalType: "uint24",
182704
+ name: "fee",
182705
+ type: "uint24"
182706
+ },
182707
+ {
182708
+ internalType: "uint128",
182709
+ name: "amount",
182710
+ type: "uint128"
182711
+ },
182712
+ {
182713
+ internalType: "int24",
182714
+ name: "lowPt",
182715
+ type: "int24"
182716
+ }
182717
+ ],
182718
+ name: "swapX2Y",
182719
+ outputs: [
182720
+ {
182721
+ internalType: "uint256",
182722
+ name: "amountY",
182723
+ type: "uint256"
182724
+ },
182725
+ {
182726
+ internalType: "int24",
182727
+ name: "finalPoint",
182728
+ type: "int24"
182729
+ }
182730
+ ],
182731
+ stateMutability: "nonpayable",
182732
+ type: "function"
182733
+ },
182734
+ {
182735
+ inputs: [
182736
+ {
182737
+ internalType: "uint256",
182738
+ name: "x",
182739
+ type: "uint256"
182740
+ },
182741
+ {
182742
+ internalType: "uint256",
182743
+ name: "y",
182744
+ type: "uint256"
182745
+ },
182746
+ {
182747
+ internalType: "bytes",
182748
+ name: "path",
182749
+ type: "bytes"
182750
+ }
182751
+ ],
182752
+ name: "swapX2YCallback",
182753
+ outputs: [],
182754
+ stateMutability: "view",
182755
+ type: "function"
182756
+ },
182757
+ {
182758
+ inputs: [
182759
+ {
182760
+ internalType: "address",
182761
+ name: "tokenX",
182762
+ type: "address"
182763
+ },
182764
+ {
182765
+ internalType: "address",
182766
+ name: "tokenY",
182767
+ type: "address"
182768
+ },
182769
+ {
182770
+ internalType: "uint24",
182771
+ name: "fee",
182772
+ type: "uint24"
182773
+ },
182774
+ {
182775
+ internalType: "uint128",
182776
+ name: "desireY",
182777
+ type: "uint128"
182778
+ },
182779
+ {
182780
+ internalType: "int24",
182781
+ name: "lowPt",
182782
+ type: "int24"
182783
+ }
182784
+ ],
182785
+ name: "swapX2YDesireY",
182786
+ outputs: [
182787
+ {
182788
+ internalType: "uint256",
182789
+ name: "amountX",
182790
+ type: "uint256"
182791
+ },
182792
+ {
182793
+ internalType: "int24",
182794
+ name: "finalPoint",
182795
+ type: "int24"
182796
+ }
182797
+ ],
182798
+ stateMutability: "nonpayable",
182799
+ type: "function"
182800
+ },
182801
+ {
182802
+ inputs: [
182803
+ {
182804
+ internalType: "address",
182805
+ name: "tokenX",
182806
+ type: "address"
182807
+ },
182808
+ {
182809
+ internalType: "address",
182810
+ name: "tokenY",
182811
+ type: "address"
182812
+ },
182813
+ {
182814
+ internalType: "uint24",
182815
+ name: "fee",
182816
+ type: "uint24"
182817
+ },
182818
+ {
182819
+ internalType: "uint128",
182820
+ name: "amount",
182821
+ type: "uint128"
182822
+ },
182823
+ {
182824
+ internalType: "int24",
182825
+ name: "highPt",
182826
+ type: "int24"
182827
+ }
182828
+ ],
182829
+ name: "swapY2X",
182830
+ outputs: [
182831
+ {
182832
+ internalType: "uint256",
182833
+ name: "amountX",
182834
+ type: "uint256"
182835
+ },
182836
+ {
182837
+ internalType: "int24",
182838
+ name: "finalPoint",
182839
+ type: "int24"
182840
+ }
182841
+ ],
182842
+ stateMutability: "nonpayable",
182843
+ type: "function"
182844
+ },
182845
+ {
182846
+ inputs: [
182847
+ {
182848
+ internalType: "uint256",
182849
+ name: "x",
182850
+ type: "uint256"
182851
+ },
182852
+ {
182853
+ internalType: "uint256",
182854
+ name: "y",
182855
+ type: "uint256"
182856
+ },
182857
+ {
182858
+ internalType: "bytes",
182859
+ name: "path",
182860
+ type: "bytes"
182861
+ }
182862
+ ],
182863
+ name: "swapY2XCallback",
182864
+ outputs: [],
182865
+ stateMutability: "view",
182866
+ type: "function"
182867
+ },
182868
+ {
182869
+ inputs: [
182870
+ {
182871
+ internalType: "address",
182872
+ name: "tokenX",
182873
+ type: "address"
182874
+ },
182875
+ {
182876
+ internalType: "address",
182877
+ name: "tokenY",
182878
+ type: "address"
182879
+ },
182880
+ {
182881
+ internalType: "uint24",
182882
+ name: "fee",
182883
+ type: "uint24"
182884
+ },
182885
+ {
182886
+ internalType: "uint128",
182887
+ name: "desireX",
182888
+ type: "uint128"
182889
+ },
182890
+ {
182891
+ internalType: "int24",
182892
+ name: "highPt",
182893
+ type: "int24"
182894
+ }
182895
+ ],
182896
+ name: "swapY2XDesireX",
182897
+ outputs: [
182898
+ {
182899
+ internalType: "uint256",
182900
+ name: "amountY",
182901
+ type: "uint256"
182902
+ },
182903
+ {
182904
+ internalType: "int24",
182905
+ name: "finalPoint",
182906
+ type: "int24"
182907
+ }
182908
+ ],
182909
+ stateMutability: "nonpayable",
182910
+ type: "function"
182911
+ },
182912
+ {
182913
+ inputs: [
182914
+ {
182915
+ internalType: "address",
182916
+ name: "token",
182917
+ type: "address"
182918
+ },
182919
+ {
182920
+ internalType: "uint256",
182921
+ name: "minAmount",
182922
+ type: "uint256"
182923
+ },
182924
+ {
182925
+ internalType: "address",
182926
+ name: "recipient",
182927
+ type: "address"
182928
+ }
182929
+ ],
182930
+ name: "sweepToken",
182931
+ outputs: [],
182932
+ stateMutability: "payable",
182933
+ type: "function"
182934
+ },
182935
+ {
181113
182936
  inputs: [
181114
182937
  {
181115
182938
  internalType: "uint256",
@@ -181134,17 +182957,17 @@ var _abi10 = [
181134
182957
  ];
181135
182958
  var IzumiQuoter__factory = class {
181136
182959
  static createInterface() {
181137
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi10);
182960
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi12);
181138
182961
  }
181139
182962
  static connect(address, signerOrProvider) {
181140
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi10, signerOrProvider);
182963
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi12, signerOrProvider);
181141
182964
  }
181142
182965
  };
181143
- IzumiQuoter__factory.abi = _abi10;
182966
+ IzumiQuoter__factory.abi = _abi12;
181144
182967
 
181145
182968
  // src/crosschain/contracts/factories/IzumiSwap__factory.ts
181146
182969
 
181147
- var _abi11 = [
182970
+ var _abi13 = [
181148
182971
  {
181149
182972
  inputs: [
181150
182973
  {
@@ -181678,17 +183501,17 @@ var _abi11 = [
181678
183501
  ];
181679
183502
  var IzumiSwap__factory = class {
181680
183503
  static createInterface() {
181681
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi11);
183504
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi13);
181682
183505
  }
181683
183506
  static connect(address, signerOrProvider) {
181684
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi11, signerOrProvider);
183507
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi13, signerOrProvider);
181685
183508
  }
181686
183509
  };
181687
- IzumiSwap__factory.abi = _abi11;
183510
+ IzumiSwap__factory.abi = _abi13;
181688
183511
 
181689
183512
  // src/crosschain/contracts/factories/KavaRouter__factory.ts
181690
183513
 
181691
- var _abi12 = [
183514
+ var _abi14 = [
181692
183515
  {
181693
183516
  type: "constructor",
181694
183517
  stateMutability: "nonpayable",
@@ -182942,17 +184765,17 @@ var _abi12 = [
182942
184765
  ];
182943
184766
  var KavaRouter__factory = class {
182944
184767
  static createInterface() {
182945
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi12);
184768
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi14);
182946
184769
  }
182947
184770
  static connect(address, signerOrProvider) {
182948
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi12, signerOrProvider);
184771
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi14, signerOrProvider);
182949
184772
  }
182950
184773
  };
182951
- KavaRouter__factory.abi = _abi12;
184774
+ KavaRouter__factory.abi = _abi14;
182952
184775
 
182953
184776
  // src/crosschain/contracts/factories/MetaRouter__factory.ts
182954
184777
 
182955
- var _abi13 = [
184778
+ var _abi15 = [
182956
184779
  {
182957
184780
  inputs: [],
182958
184781
  stateMutability: "nonpayable",
@@ -183223,7 +185046,7 @@ var MetaRouter__factory = class extends _ethersproject_contracts__WEBPACK_IMPORT
183223
185046
  if (isSuperArgs3(args)) {
183224
185047
  __super(...args);
183225
185048
  } else {
183226
- __super(_abi13, _bytecode3, args[0]);
185049
+ __super(_abi15, _bytecode3, args[0]);
183227
185050
  }
183228
185051
  this.contractName = "MetaRouter";
183229
185052
  }
@@ -183240,18 +185063,18 @@ var MetaRouter__factory = class extends _ethersproject_contracts__WEBPACK_IMPORT
183240
185063
  return super.connect(signer);
183241
185064
  }
183242
185065
  static createInterface() {
183243
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi13);
185066
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi15);
183244
185067
  }
183245
185068
  static connect(address, signerOrProvider) {
183246
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi13, signerOrProvider);
185069
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi15, signerOrProvider);
183247
185070
  }
183248
185071
  };
183249
185072
  MetaRouter__factory.bytecode = _bytecode3;
183250
- MetaRouter__factory.abi = _abi13;
185073
+ MetaRouter__factory.abi = _abi15;
183251
185074
 
183252
185075
  // src/crosschain/contracts/factories/Multicall__factory.ts
183253
185076
 
183254
- var _abi14 = [
185077
+ var _abi16 = [
183255
185078
  {
183256
185079
  inputs: [
183257
185080
  {
@@ -183566,17 +185389,17 @@ var _abi14 = [
183566
185389
  ];
183567
185390
  var Multicall__factory = class {
183568
185391
  static createInterface() {
183569
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi14);
185392
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi16);
183570
185393
  }
183571
185394
  static connect(address, signerOrProvider) {
183572
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi14, signerOrProvider);
185395
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi16, signerOrProvider);
183573
185396
  }
183574
185397
  };
183575
- Multicall__factory.abi = _abi14;
185398
+ Multicall__factory.abi = _abi16;
183576
185399
 
183577
185400
  // src/crosschain/contracts/factories/MulticallRouter__factory.ts
183578
185401
 
183579
- var _abi15 = [
185402
+ var _abi17 = [
183580
185403
  {
183581
185404
  inputs: [
183582
185405
  {
@@ -183626,7 +185449,7 @@ var MulticallRouter__factory = class extends _ethersproject_contracts__WEBPACK_I
183626
185449
  if (isSuperArgs4(args)) {
183627
185450
  __super(...args);
183628
185451
  } else {
183629
- __super(_abi15, _bytecode4, args[0]);
185452
+ __super(_abi17, _bytecode4, args[0]);
183630
185453
  }
183631
185454
  this.contractName = "MulticallRouter";
183632
185455
  }
@@ -183643,18 +185466,18 @@ var MulticallRouter__factory = class extends _ethersproject_contracts__WEBPACK_I
183643
185466
  return super.connect(signer);
183644
185467
  }
183645
185468
  static createInterface() {
183646
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi15);
185469
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi17);
183647
185470
  }
183648
185471
  static connect(address, signerOrProvider) {
183649
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi15, signerOrProvider);
185472
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi17, signerOrProvider);
183650
185473
  }
183651
185474
  };
183652
185475
  MulticallRouter__factory.bytecode = _bytecode4;
183653
- MulticallRouter__factory.abi = _abi15;
185476
+ MulticallRouter__factory.abi = _abi17;
183654
185477
 
183655
185478
  // src/crosschain/contracts/factories/OmniPool__factory.ts
183656
185479
 
183657
- var _abi16 = [
185480
+ var _abi18 = [
183658
185481
  {
183659
185482
  anonymous: false,
183660
185483
  inputs: [
@@ -184874,7 +186697,7 @@ var OmniPool__factory = class extends _ethersproject_contracts__WEBPACK_IMPORTED
184874
186697
  if (isSuperArgs5(args)) {
184875
186698
  __super(...args);
184876
186699
  } else {
184877
- __super(_abi16, _bytecode5, args[0]);
186700
+ __super(_abi18, _bytecode5, args[0]);
184878
186701
  }
184879
186702
  this.contractName = "OmniPool";
184880
186703
  }
@@ -184891,18 +186714,18 @@ var OmniPool__factory = class extends _ethersproject_contracts__WEBPACK_IMPORTED
184891
186714
  return super.connect(signer);
184892
186715
  }
184893
186716
  static createInterface() {
184894
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi16);
186717
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi18);
184895
186718
  }
184896
186719
  static connect(address, signerOrProvider) {
184897
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi16, signerOrProvider);
186720
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi18, signerOrProvider);
184898
186721
  }
184899
186722
  };
184900
186723
  OmniPool__factory.bytecode = _bytecode5;
184901
- OmniPool__factory.abi = _abi16;
186724
+ OmniPool__factory.abi = _abi18;
184902
186725
 
184903
186726
  // src/crosschain/contracts/factories/OmniPoolOracle__factory.ts
184904
186727
 
184905
- var _abi17 = [
186728
+ var _abi19 = [
184906
186729
  {
184907
186730
  anonymous: false,
184908
186731
  inputs: [
@@ -185238,7 +187061,7 @@ var OmniPoolOracle__factory = class extends _ethersproject_contracts__WEBPACK_IM
185238
187061
  if (isSuperArgs6(args)) {
185239
187062
  __super(...args);
185240
187063
  } else {
185241
- __super(_abi17, _bytecode6, args[0]);
187064
+ __super(_abi19, _bytecode6, args[0]);
185242
187065
  }
185243
187066
  this.contractName = "OmniPoolOracle";
185244
187067
  }
@@ -185255,18 +187078,18 @@ var OmniPoolOracle__factory = class extends _ethersproject_contracts__WEBPACK_IM
185255
187078
  return super.connect(signer);
185256
187079
  }
185257
187080
  static createInterface() {
185258
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi17);
187081
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi19);
185259
187082
  }
185260
187083
  static connect(address, signerOrProvider) {
185261
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi17, signerOrProvider);
187084
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi19, signerOrProvider);
185262
187085
  }
185263
187086
  };
185264
187087
  OmniPoolOracle__factory.bytecode = _bytecode6;
185265
- OmniPoolOracle__factory.abi = _abi17;
187088
+ OmniPoolOracle__factory.abi = _abi19;
185266
187089
 
185267
187090
  // src/crosschain/contracts/factories/OneInchOracle__factory.ts
185268
187091
 
185269
- var _abi18 = [
187092
+ var _abi20 = [
185270
187093
  {
185271
187094
  inputs: [
185272
187095
  {
@@ -185602,17 +187425,17 @@ var _abi18 = [
185602
187425
  ];
185603
187426
  var OneInchOracle__factory = class {
185604
187427
  static createInterface() {
185605
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi18);
187428
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi20);
185606
187429
  }
185607
187430
  static connect(address, signerOrProvider) {
185608
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi18, signerOrProvider);
187431
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi20, signerOrProvider);
185609
187432
  }
185610
187433
  };
185611
- OneInchOracle__factory.abi = _abi18;
187434
+ OneInchOracle__factory.abi = _abi20;
185612
187435
 
185613
187436
  // src/crosschain/contracts/factories/Pair__factory.ts
185614
187437
 
185615
- var _abi19 = [
187438
+ var _abi21 = [
185616
187439
  {
185617
187440
  anonymous: false,
185618
187441
  inputs: [
@@ -186321,17 +188144,17 @@ var _abi19 = [
186321
188144
  ];
186322
188145
  var Pair__factory = class {
186323
188146
  static createInterface() {
186324
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi19);
188147
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi21);
186325
188148
  }
186326
188149
  static connect(address, signerOrProvider) {
186327
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi19, signerOrProvider);
188150
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi21, signerOrProvider);
186328
188151
  }
186329
188152
  };
186330
- Pair__factory.abi = _abi19;
188153
+ Pair__factory.abi = _abi21;
186331
188154
 
186332
188155
  // src/crosschain/contracts/factories/Portal__factory.ts
186333
188156
 
186334
- var _abi20 = [
188157
+ var _abi22 = [
186335
188158
  {
186336
188159
  anonymous: false,
186337
188160
  inputs: [
@@ -187457,7 +189280,7 @@ var Portal__factory = class extends _ethersproject_contracts__WEBPACK_IMPORTED_M
187457
189280
  if (isSuperArgs7(args)) {
187458
189281
  __super(...args);
187459
189282
  } else {
187460
- __super(_abi20, _bytecode7, args[0]);
189283
+ __super(_abi22, _bytecode7, args[0]);
187461
189284
  }
187462
189285
  this.contractName = "Portal";
187463
189286
  }
@@ -187474,18 +189297,18 @@ var Portal__factory = class extends _ethersproject_contracts__WEBPACK_IMPORTED_M
187474
189297
  return super.connect(signer);
187475
189298
  }
187476
189299
  static createInterface() {
187477
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi20);
189300
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi22);
187478
189301
  }
187479
189302
  static connect(address, signerOrProvider) {
187480
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi20, signerOrProvider);
189303
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi22, signerOrProvider);
187481
189304
  }
187482
189305
  };
187483
189306
  Portal__factory.bytecode = _bytecode7;
187484
- Portal__factory.abi = _abi20;
189307
+ Portal__factory.abi = _abi22;
187485
189308
 
187486
189309
  // src/crosschain/contracts/factories/SyncSwapLaunchPool__factory.ts
187487
189310
 
187488
- var _abi21 = [
189311
+ var _abi23 = [
187489
189312
  {
187490
189313
  inputs: [
187491
189314
  {
@@ -188594,17 +190417,17 @@ var _abi21 = [
188594
190417
  ];
188595
190418
  var SyncSwapLaunchPool__factory = class {
188596
190419
  static createInterface() {
188597
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi21);
190420
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi23);
188598
190421
  }
188599
190422
  static connect(address, signerOrProvider) {
188600
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi21, signerOrProvider);
190423
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi23, signerOrProvider);
188601
190424
  }
188602
190425
  };
188603
- SyncSwapLaunchPool__factory.abi = _abi21;
190426
+ SyncSwapLaunchPool__factory.abi = _abi23;
188604
190427
 
188605
190428
  // src/crosschain/contracts/factories/Synthesis__factory.ts
188606
190429
 
188607
- var _abi22 = [
190430
+ var _abi24 = [
188608
190431
  {
188609
190432
  anonymous: false,
188610
190433
  inputs: [
@@ -189659,7 +191482,7 @@ var Synthesis__factory = class extends _ethersproject_contracts__WEBPACK_IMPORTE
189659
191482
  if (isSuperArgs8(args)) {
189660
191483
  __super(...args);
189661
191484
  } else {
189662
- __super(_abi22, _bytecode8, args[0]);
191485
+ __super(_abi24, _bytecode8, args[0]);
189663
191486
  }
189664
191487
  this.contractName = "Synthesis";
189665
191488
  }
@@ -189676,18 +191499,18 @@ var Synthesis__factory = class extends _ethersproject_contracts__WEBPACK_IMPORTE
189676
191499
  return super.connect(signer);
189677
191500
  }
189678
191501
  static createInterface() {
189679
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi22);
191502
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi24);
189680
191503
  }
189681
191504
  static connect(address, signerOrProvider) {
189682
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi22, signerOrProvider);
191505
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi24, signerOrProvider);
189683
191506
  }
189684
191507
  };
189685
191508
  Synthesis__factory.bytecode = _bytecode8;
189686
- Synthesis__factory.abi = _abi22;
191509
+ Synthesis__factory.abi = _abi24;
189687
191510
 
189688
191511
  // src/crosschain/contracts/factories/UniLikeRouter__factory.ts
189689
191512
 
189690
- var _abi23 = [
191513
+ var _abi25 = [
189691
191514
  {
189692
191515
  inputs: [],
189693
191516
  name: "WETH",
@@ -190642,17 +192465,17 @@ var _abi23 = [
190642
192465
  ];
190643
192466
  var UniLikeRouter__factory = class {
190644
192467
  static createInterface() {
190645
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi23);
192468
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi25);
190646
192469
  }
190647
192470
  static connect(address, signerOrProvider) {
190648
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi23, signerOrProvider);
192471
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi25, signerOrProvider);
190649
192472
  }
190650
192473
  };
190651
- UniLikeRouter__factory.abi = _abi23;
192474
+ UniLikeRouter__factory.abi = _abi25;
190652
192475
 
190653
192476
  // src/crosschain/contracts/factories/Unwrapper__factory.ts
190654
192477
 
190655
- var _abi24 = [
192478
+ var _abi26 = [
190656
192479
  {
190657
192480
  inputs: [
190658
192481
  {
@@ -190763,17 +192586,17 @@ var _abi24 = [
190763
192586
  ];
190764
192587
  var Unwrapper__factory = class {
190765
192588
  static createInterface() {
190766
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi24);
192589
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi26);
190767
192590
  }
190768
192591
  static connect(address, signerOrProvider) {
190769
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi24, signerOrProvider);
192592
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi26, signerOrProvider);
190770
192593
  }
190771
192594
  };
190772
- Unwrapper__factory.abi = _abi24;
192595
+ Unwrapper__factory.abi = _abi26;
190773
192596
 
190774
192597
  // src/crosschain/contracts/factories/Weth__factory.ts
190775
192598
 
190776
- var _abi25 = [
192599
+ var _abi27 = [
190777
192600
  {
190778
192601
  constant: true,
190779
192602
  inputs: [],
@@ -191054,16 +192877,36 @@ var _abi25 = [
191054
192877
  ];
191055
192878
  var Weth__factory = class {
191056
192879
  static createInterface() {
191057
- return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi25);
192880
+ return new ethers__WEBPACK_IMPORTED_MODULE_15__.Interface(_abi27);
191058
192881
  }
191059
192882
  static connect(address, signerOrProvider) {
191060
- return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi25, signerOrProvider);
192883
+ return new _ethersproject_contracts__WEBPACK_IMPORTED_MODULE_9__.Contract(address, _abi27, signerOrProvider);
191061
192884
  }
191062
192885
  };
191063
- Weth__factory.abi = _abi25;
192886
+ Weth__factory.abi = _abi27;
191064
192887
 
191065
192888
  // src/crosschain/revertRequest.ts
191066
192889
 
192890
+
192891
+ // src/crosschain/error.ts
192892
+ var ErrorCode = /* @__PURE__ */ ((ErrorCode2) => {
192893
+ ErrorCode2[ErrorCode2["DEFAULT"] = 0] = "DEFAULT";
192894
+ ErrorCode2[ErrorCode2["NO_ROUTE"] = 1] = "NO_ROUTE";
192895
+ ErrorCode2[ErrorCode2["AMOUNT_TOO_LOW"] = 2] = "AMOUNT_TOO_LOW";
192896
+ ErrorCode2[ErrorCode2["AMOUNT_TOO_HIGH"] = 3] = "AMOUNT_TOO_HIGH";
192897
+ ErrorCode2[ErrorCode2["AMOUNT_LESS_THAN_FEE"] = 4] = "AMOUNT_LESS_THAN_FEE";
192898
+ ErrorCode2[ErrorCode2["NO_TRANSIT_TOKEN"] = 5] = "NO_TRANSIT_TOKEN";
192899
+ ErrorCode2[ErrorCode2["NO_TRANSIT_POOL"] = 6] = "NO_TRANSIT_POOL";
192900
+ return ErrorCode2;
192901
+ })(ErrorCode || {});
192902
+ var Error2 = class {
192903
+ constructor(message, code) {
192904
+ this.code = code || 0 /* DEFAULT */;
192905
+ this.message = message;
192906
+ }
192907
+ };
192908
+
192909
+ // src/crosschain/revertRequest.ts
191067
192910
  var PendingRequestState = /* @__PURE__ */ ((PendingRequestState2) => {
191068
192911
  PendingRequestState2[PendingRequestState2["Default"] = 0] = "Default";
191069
192912
  PendingRequestState2[PendingRequestState2["Sent"] = 1] = "Sent";
@@ -191161,7 +193004,7 @@ var RevertRequest = class {
191161
193004
  await provider.ready;
191162
193005
  const receipt = await provider.getTransactionReceipt(this.transactionHash);
191163
193006
  if (!receipt) {
191164
- throw new Error(
193007
+ throw new Error2(
191165
193008
  `Tx ${this.transactionHash} does not exist on chain ${this.chainId}. Provider ${provider.connection.url}`
191166
193009
  );
191167
193010
  }
@@ -191172,7 +193015,7 @@ var RevertRequest = class {
191172
193015
  log = this.findBurnRequest(receipt);
191173
193016
  }
191174
193017
  if (!log) {
191175
- throw new Error("Tx does not contain mint/burn event and cannot be reverted");
193018
+ throw new Error2("Tx does not contain mint/burn event and cannot be reverted");
191176
193019
  }
191177
193020
  const { id, amount, token: tokenAddress, from: fromOrigin, to, chainID, revertableAddress } = log.args;
191178
193021
  const chainIdTo = chainID.toNumber();
@@ -191180,11 +193023,14 @@ var RevertRequest = class {
191180
193023
  let from = fromOrigin;
191181
193024
  const token = this.symbiosis.findToken(tokenAddress, this.chainId);
191182
193025
  if (!token) {
191183
- throw new Error(`Cannot find token ${tokenAddress} at chain ${this.chainId}`);
193026
+ throw new Error2(`Cannot find token ${tokenAddress} at chain ${this.chainId}`);
191184
193027
  }
191185
193028
  const omniPoolConfig = this.symbiosis.getOmniPoolByToken(token);
191186
193029
  if (!omniPoolConfig) {
191187
- throw new Error(`Cannot find omni pool config for chain ${chainIdTo} with token ${tokenAddress}`);
193030
+ throw new Error2(
193031
+ `Cannot find omni pool config for chain ${chainIdTo} with token ${tokenAddress}`,
193032
+ 6 /* NO_TRANSIT_POOL */
193033
+ );
191188
193034
  }
191189
193035
  let fromTokenAmount = new TokenAmount(token, amount);
191190
193036
  const originalFromTokenAmount = fromTokenAmount;
@@ -191246,7 +193092,7 @@ var RevertRequest = class {
191246
193092
  state = await this.symbiosis.portal(chainIdTo).unsynthesizeStates(externalId);
191247
193093
  }
191248
193094
  if (state === 1) {
191249
- throw new Error(`Tx is success and cannot be reverted.`);
193095
+ throw new Error2(`Tx is success and cannot be reverted.`);
191250
193096
  }
191251
193097
  }
191252
193098
  let revertChainId = chainIdTo;
@@ -191422,24 +193268,6 @@ var WaitForComplete = class {
191422
193268
  }
191423
193269
  };
191424
193270
 
191425
- // src/crosschain/error.ts
191426
- var ErrorCode = /* @__PURE__ */ ((ErrorCode2) => {
191427
- ErrorCode2[ErrorCode2["DEFAULT"] = 0] = "DEFAULT";
191428
- ErrorCode2[ErrorCode2["NO_ROUTE"] = 1] = "NO_ROUTE";
191429
- ErrorCode2[ErrorCode2["AMOUNT_TOO_LOW"] = 2] = "AMOUNT_TOO_LOW";
191430
- ErrorCode2[ErrorCode2["AMOUNT_TOO_HIGH"] = 3] = "AMOUNT_TOO_HIGH";
191431
- ErrorCode2[ErrorCode2["AMOUNT_LESS_THAN_FEE"] = 4] = "AMOUNT_LESS_THAN_FEE";
191432
- ErrorCode2[ErrorCode2["NO_TRANSIT_TOKEN"] = 5] = "NO_TRANSIT_TOKEN";
191433
- ErrorCode2[ErrorCode2["NO_TRANSIT_POOL"] = 6] = "NO_TRANSIT_POOL";
191434
- return ErrorCode2;
191435
- })(ErrorCode || {});
191436
- var Error2 = class {
191437
- constructor(message, code) {
191438
- this.code = code || 0 /* DEFAULT */;
191439
- this.message = message;
191440
- }
191441
- };
191442
-
191443
193271
  // src/crosschain/bridging.ts
191444
193272
  var Bridging = class {
191445
193273
  constructor(symbiosis) {
@@ -192231,9 +194059,11 @@ var UniLikeTrade = class _UniLikeTrade {
192231
194059
  // src/crosschain/trade/izumiTrade.ts
192232
194060
 
192233
194061
 
194062
+
192234
194063
  var POSSIBLE_FEES = [100, 400, 500, 2e3, 3e3, 1e4];
192235
194064
  var IZUMI_ADDRESSES = {
192236
194065
  [5e3 /* MANTLE_MAINNET */]: {
194066
+ factory: "0x45e5F26451CDB01B0fA1f8582E0aAD9A6F27C218",
192237
194067
  quoter: "0x032b241De86a8660f1Ae0691a4760B426EA246d7",
192238
194068
  swap: "0x25C030116Feb2E7BbA054b9de0915E5F51b03e31",
192239
194069
  baseTokens: [
@@ -192268,6 +194098,7 @@ var IZUMI_ADDRESSES = {
192268
194098
  ]
192269
194099
  },
192270
194100
  [59144 /* LINEA_MAINNET */]: {
194101
+ factory: "0x45e5F26451CDB01B0fA1f8582E0aAD9A6F27C218",
192271
194102
  quoter: "0xe6805638db944eA605e774e72c6F0D15Fb6a1347",
192272
194103
  swap: "0x032b241De86a8660f1Ae0691a4760B426EA246d7",
192273
194104
  baseTokens: [
@@ -192314,7 +194145,7 @@ var IzumiTrade = class {
192314
194145
  const tokenOut = this.tokenOut;
192315
194146
  POSSIBLE_FEES.forEach((fee) => {
192316
194147
  const path2 = getTokenChainPath([tokenIn, tokenOut], [fee]);
192317
- allRoutes.push({ tokens: [tokenIn, tokenOut], path: path2 });
194148
+ allRoutes.push({ tokens: [tokenIn, tokenOut], path: path2, fees: [fee] });
192318
194149
  });
192319
194150
  for (const baseToken of addresses.baseTokens) {
192320
194151
  if (baseToken.equals(this.tokenAmountIn.token) || baseToken.equals(this.tokenOut)) {
@@ -192322,8 +194153,9 @@ var IzumiTrade = class {
192322
194153
  }
192323
194154
  POSSIBLE_FEES.forEach((firstFee) => {
192324
194155
  POSSIBLE_FEES.forEach((secondFee) => {
192325
- const path2 = getTokenChainPath([tokenIn, baseToken, tokenOut], [firstFee, secondFee]);
192326
- allRoutes.push({ tokens: [tokenIn, baseToken, tokenOut], path: path2 });
194156
+ const fees = [firstFee, secondFee];
194157
+ const path2 = getTokenChainPath([tokenIn, baseToken, tokenOut], fees);
194158
+ allRoutes.push({ tokens: [tokenIn, baseToken, tokenOut], path: path2, fees });
192327
194159
  });
192328
194160
  });
192329
194161
  }
@@ -192334,7 +194166,19 @@ var IzumiTrade = class {
192334
194166
  target: quoter,
192335
194167
  callData: quoterInterface.encodeFunctionData("swapAmount", [this.tokenAmountIn.raw.toString(), path2])
192336
194168
  }));
192337
- const results = await multicall.callStatic.tryAggregate(false, calls);
194169
+ const maxChunkLength = 100;
194170
+ const chunks = Math.floor(calls.length / maxChunkLength) + 1;
194171
+ let results = [];
194172
+ for (let i = 0; i < chunks; i++) {
194173
+ const from = i * maxChunkLength;
194174
+ let to = (i + 1) * maxChunkLength;
194175
+ if (to > calls.length) {
194176
+ to = calls.length;
194177
+ }
194178
+ const callsPart = calls.slice(from, to);
194179
+ const part = await multicall.callStatic.tryAggregate(false, callsPart);
194180
+ results = [...results, ...part];
194181
+ }
192338
194182
  let bestRoute;
192339
194183
  let bestOutput;
192340
194184
  for (let i = 0; i < results.length; i++) {
@@ -192352,6 +194196,12 @@ var IzumiTrade = class {
192352
194196
  throw new Error("No path found");
192353
194197
  }
192354
194198
  const { path, tokens } = bestRoute;
194199
+ const pointsBefore = await this.getCurrentPoolPoints(bestRoute);
194200
+ const initDecimalPriceEndByStart = getPriceDecimalEndByStart(bestRoute, pointsBefore);
194201
+ const spotPriceBNJS = new bignumber_js__WEBPACK_IMPORTED_MODULE_18__["default"](this.tokenAmountIn.raw.toString()).dividedBy(10 ** this.tokenAmountIn.token.decimals).dividedBy(initDecimalPriceEndByStart);
194202
+ const bestOutputBNJS = new bignumber_js__WEBPACK_IMPORTED_MODULE_18__["default"](bestOutput.toString()).dividedBy(10 ** this.tokenOut.decimals);
194203
+ const impactBNJS = spotPriceBNJS.minus(bestOutputBNJS).div(bestOutputBNJS).negated();
194204
+ this.priceImpact = new Percent(impactBNJS.times(BIPS_BASE.toString()).toFixed(0).toString(), BIPS_BASE);
192355
194205
  this.amountOut = new TokenAmount(this.tokenOut, bestOutput.toString());
192356
194206
  const slippageTolerance = basisPointsToPercent(this.slippage);
192357
194207
  const minAcquired = new Fraction(ONE).add(slippageTolerance).invert().multiply(this.amountOut.raw).quotient;
@@ -192388,6 +194238,42 @@ var IzumiTrade = class {
192388
194238
  this.route = tokens;
192389
194239
  return this;
192390
194240
  }
194241
+ async getCurrentPoolPoints({ fees, tokens }) {
194242
+ const addresses = IZUMI_ADDRESSES[this.tokenAmountIn.token.chainId];
194243
+ if (!addresses) {
194244
+ throw new Error("Unsupported chain");
194245
+ }
194246
+ const provider = this.symbiosis.getProvider(this.tokenAmountIn.token.chainId);
194247
+ const multicall = await getMulticall(provider);
194248
+ const factoryInterface = IzumiFactory__factory.createInterface();
194249
+ const getPoolAddressesCalls = [];
194250
+ for (let i = 0; i < fees.length; i++) {
194251
+ getPoolAddressesCalls.push({
194252
+ target: addresses.factory,
194253
+ callData: factoryInterface.encodeFunctionData("pool", [
194254
+ wrappedToken(tokens[i]).address,
194255
+ wrappedToken(tokens[i + 1]).address,
194256
+ fees[i]
194257
+ ])
194258
+ });
194259
+ }
194260
+ const getPoolAddressesResults = await multicall.callStatic.tryAggregate(false, getPoolAddressesCalls);
194261
+ const poolsAddresses = getPoolAddressesResults.map(
194262
+ ([, returnData]) => factoryInterface.decodeFunctionResult("pool", returnData)[0]
194263
+ );
194264
+ const poolInterface = IzumiPool__factory.createInterface();
194265
+ const statesResults = await multicall.callStatic.tryAggregate(
194266
+ false,
194267
+ poolsAddresses.map((poolAddress) => ({
194268
+ target: poolAddress,
194269
+ callData: poolInterface.encodeFunctionData("state")
194270
+ }))
194271
+ );
194272
+ const points = statesResults.map(
194273
+ ([, returnData]) => poolInterface.decodeFunctionResult("state", returnData).currentPoint
194274
+ );
194275
+ return points;
194276
+ }
192391
194277
  };
192392
194278
  function num2Hex(n) {
192393
194279
  if (n < 10) {
@@ -192416,6 +194302,44 @@ var getTokenChainPath = (tokenChain, feeChain) => {
192416
194302
  }
192417
194303
  return hexString;
192418
194304
  };
194305
+ var getTokenXYFromToken = (tokenA, tokenB) => {
194306
+ const addressA = wrappedToken(tokenA).address;
194307
+ const addressB = wrappedToken(tokenB).address;
194308
+ if (addressA.toLowerCase() < addressB.toLowerCase()) {
194309
+ return { tokenX: tokenA, tokenY: tokenB };
194310
+ }
194311
+ return { tokenX: tokenB, tokenY: tokenA };
194312
+ };
194313
+ var priceUndecimal2PriceDecimal = (tokenA, tokenB, priceUndecimalAByB) => {
194314
+ return Number(priceUndecimalAByB.times(10 ** tokenA.decimals).div(10 ** tokenB.decimals));
194315
+ };
194316
+ var point2PriceDecimal = (tokenA, tokenB, point) => {
194317
+ let priceDecimal = 0;
194318
+ let needReverse = false;
194319
+ const { tokenX, tokenY } = getTokenXYFromToken(tokenA, tokenB);
194320
+ const addressA = wrappedToken(tokenA).address;
194321
+ const addressB = wrappedToken(tokenB).address;
194322
+ if (point > 0) {
194323
+ priceDecimal = priceUndecimal2PriceDecimal(tokenX, tokenY, new bignumber_js__WEBPACK_IMPORTED_MODULE_18__["default"](1.0001 ** point));
194324
+ needReverse = addressA.toLowerCase() > addressB.toLowerCase();
194325
+ } else {
194326
+ priceDecimal = priceUndecimal2PriceDecimal(tokenY, tokenX, new bignumber_js__WEBPACK_IMPORTED_MODULE_18__["default"](1.0001 ** -point));
194327
+ needReverse = addressA.toLowerCase() < addressB.toLowerCase();
194328
+ }
194329
+ if (needReverse) {
194330
+ priceDecimal = 1 / priceDecimal;
194331
+ }
194332
+ return priceDecimal;
194333
+ };
194334
+ function getPriceDecimalEndByStart(route, points) {
194335
+ const { tokens, fees } = route;
194336
+ let decimalPriceEndByStart = 1;
194337
+ for (let i = 0; i < fees.length; i++) {
194338
+ const decimalPriceBackByFront = point2PriceDecimal(tokens[i + 1], tokens[i], points[i]);
194339
+ decimalPriceEndByStart *= decimalPriceBackByFront;
194340
+ }
194341
+ return decimalPriceEndByStart;
194342
+ }
192419
194343
 
192420
194344
  // src/crosschain/revert.ts
192421
194345
  var RevertPending = class {
@@ -193178,8 +195102,16 @@ var BaseSwapping = class {
193178
195102
  await this.tradeC.init();
193179
195103
  }
193180
195104
  const transactionRequest = this.getTransactionRequest(fee, feeV2);
195105
+ let crossChainFee = fee;
195106
+ if (feeV2) {
195107
+ const pow = ethers__WEBPACK_IMPORTED_MODULE_13__.BigNumber.from(10).pow(fee.token.decimals);
195108
+ const powV2 = ethers__WEBPACK_IMPORTED_MODULE_13__.BigNumber.from(10).pow(feeV2.token.decimals);
195109
+ const feeBase = ethers__WEBPACK_IMPORTED_MODULE_13__.BigNumber.from(fee.raw.toString()).mul(powV2);
195110
+ const feeV2Base = ethers__WEBPACK_IMPORTED_MODULE_13__.BigNumber.from(feeV2.raw.toString()).mul(pow);
195111
+ crossChainFee = new TokenAmount(feeV2.token, feeBase.add(feeV2Base).div(pow).toString());
195112
+ }
193181
195113
  return {
193182
- fee: feeV2 || fee,
195114
+ fee: crossChainFee,
193183
195115
  tokenAmountOut: this.tokenAmountOut(feeV2),
193184
195116
  tokenAmountOutWithZeroFee,
193185
195117
  // uses for calculation pure swap price except fee
@@ -193250,6 +195182,30 @@ var BaseSwapping = class {
193250
195182
  chainIdIn: this.tokenAmountIn.token.chainId
193251
195183
  }).waitForComplete(receipt);
193252
195184
  }
195185
+ async findTransitTokenSent(transactionHash) {
195186
+ const chainId = this.tokenOut.chainId;
195187
+ const metarouter = this.symbiosis.metaRouter(chainId);
195188
+ const providerTo = this.symbiosis.getProvider(chainId);
195189
+ const receipt = await providerTo.getTransactionReceipt(transactionHash);
195190
+ if (!receipt) {
195191
+ return void 0;
195192
+ }
195193
+ const eventId = ethers__WEBPACK_IMPORTED_MODULE_16__.id("TransitTokenSent(address,uint256,address)");
195194
+ const log = receipt.logs.find((i) => {
195195
+ return i.topics[0] === eventId;
195196
+ });
195197
+ if (!log) {
195198
+ return void 0;
195199
+ }
195200
+ const parsedLog = metarouter.interface.parseLog(log);
195201
+ const token = this.symbiosis.tokens().find((i) => {
195202
+ return i.chainId === chainId && i.address.toLowerCase() === parsedLog.args.token.toLowerCase();
195203
+ });
195204
+ if (!token) {
195205
+ return void 0;
195206
+ }
195207
+ return new TokenAmount(token, parsedLog.args.amount.toString());
195208
+ }
193253
195209
  getTransactionRequest(fee, feeV2) {
193254
195210
  const chainId = this.tokenAmountIn.token.chainId;
193255
195211
  const metaRouter = this.symbiosis.metaRouter(chainId);
@@ -194497,7 +196453,19 @@ var config = {
194497
196453
  rpc: "https://mainnet.telos.net/evm",
194498
196454
  filterBlockOffset: 3e3,
194499
196455
  waitForBlocksCount: 120,
194500
- stables: [],
196456
+ stables: [
196457
+ {
196458
+ name: "syUSDC",
196459
+ address: "0xe6E5f3d264117E030C21920356641DbD5B3d660c",
196460
+ symbol: "USDC",
196461
+ decimals: 6,
196462
+ chainId: 40,
196463
+ icons: {
196464
+ large: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png",
196465
+ small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
196466
+ }
196467
+ }
196468
+ ],
194501
196469
  router: "0xb9667Cf9A495A123b0C43B924f6c2244f42817BE",
194502
196470
  dexFee: 25,
194503
196471
  metaRouter: "0xcE8f24A58D85eD5c5A6824f7be1F8d4711A0eb4C",
@@ -194810,7 +196778,7 @@ var config = {
194810
196778
  },
194811
196779
  {
194812
196780
  id: 1101,
194813
- rpc: "https://zkevm-rpc.com/",
196781
+ rpc: "https://rpc.ankr.com/polygon_zkevm",
194814
196782
  filterBlockOffset: 2e3,
194815
196783
  waitForBlocksCount: 0,
194816
196784
  stables: [
@@ -194945,7 +196913,7 @@ var config = {
194945
196913
  },
194946
196914
  {
194947
196915
  id: 8453,
194948
- rpc: "https://mainnet.base.org",
196916
+ rpc: "https://base.publicnode.com",
194949
196917
  filterBlockOffset: 2e3,
194950
196918
  waitForBlocksCount: 30,
194951
196919
  stables: [
@@ -194974,11 +196942,11 @@ var config = {
194974
196942
  ],
194975
196943
  router: "0x327Df1E6de05895d2ab08513aaDD9313Fe505d86",
194976
196944
  dexFee: 0,
194977
- metaRouter: "0x7057aB3fB2BeE9c18e0cDe4240DE4ff7f159E365",
194978
- metaRouterGateway: "0xa0079829B9F1Edc5DD0DE3eC104f281745C4bD81",
194979
- bridge: "0xda8057acB94905eb6025120cB2c38415Fd81BfEB",
196945
+ metaRouter: "0x6F0f6393e45fE0E7215906B6f9cfeFf53EA139cf",
196946
+ metaRouterGateway: "0x4cfA66497Fa84D739a0f785FBcEe9196f1C64e4a",
196947
+ bridge: "0x8097f0B9f06C27AF9579F75762F971D745bb222F",
194980
196948
  synthesis: "0x0000000000000000000000000000000000000000",
194981
- portal: "0x5Aa5f7f84eD0E5db0a4a85C3947eA16B53352FD4",
196949
+ portal: "0xEE981B2459331AD268cc63CE6167b446AF4161f8",
194982
196950
  fabric: "0x0000000000000000000000000000000000000000",
194983
196951
  multicallRouter: "0x01A3c8E513B758EBB011F7AFaf6C37616c9C24d9",
194984
196952
  aavePool: "0x0000000000000000000000000000000000000000",
@@ -195603,6 +197571,13 @@ var BestPoolSwapping = class {
195603
197571
  }
195604
197572
  return this.swapping.waitForComplete(...args);
195605
197573
  }
197574
+ // Need to backward compatibility to Swapping
197575
+ async findTransitTokenSent(...args) {
197576
+ if (!this.swapping) {
197577
+ throw new Error("Swapping is not started");
197578
+ }
197579
+ return this.swapping.findTransitTokenSent(...args);
197580
+ }
195606
197581
  };
195607
197582
 
195608
197583
  // src/crosschain/config/cache/mainnet.json
@@ -195614,24 +197589,25 @@ var mainnet_default = {
195614
197589
  oracle: "0x7775b274f0C3fA919B756b22A4d9674e55927ab8",
195615
197590
  id: 0,
195616
197591
  tokens: [
195617
- { index: 0, tokenId: 35 },
195618
- { index: 1, tokenId: 37 },
195619
- { index: 2, tokenId: 40 },
195620
- { index: 3, tokenId: 42 },
195621
- { index: 4, tokenId: 13 },
195622
- { index: 5, tokenId: 45 },
195623
- { index: 10, tokenId: 38 },
195624
- { index: 11, tokenId: 46 },
195625
- { index: 12, tokenId: 49 },
195626
- { index: 13, tokenId: 51 },
195627
- { index: 14, tokenId: 53 },
195628
- { index: 15, tokenId: 55 },
195629
- { index: 16, tokenId: 48 },
195630
- { index: 17, tokenId: 41 },
195631
- { index: 18, tokenId: 59 },
195632
- { index: 19, tokenId: 44 },
195633
- { index: 20, tokenId: 62 },
195634
- { index: 21, tokenId: 58 }
197592
+ { index: 0, tokenId: 36 },
197593
+ { index: 1, tokenId: 38 },
197594
+ { index: 2, tokenId: 41 },
197595
+ { index: 3, tokenId: 43 },
197596
+ { index: 4, tokenId: 14 },
197597
+ { index: 5, tokenId: 47 },
197598
+ { index: 10, tokenId: 39 },
197599
+ { index: 11, tokenId: 48 },
197600
+ { index: 12, tokenId: 51 },
197601
+ { index: 13, tokenId: 53 },
197602
+ { index: 14, tokenId: 55 },
197603
+ { index: 15, tokenId: 57 },
197604
+ { index: 16, tokenId: 50 },
197605
+ { index: 17, tokenId: 42 },
197606
+ { index: 18, tokenId: 61 },
197607
+ { index: 19, tokenId: 46 },
197608
+ { index: 20, tokenId: 64 },
197609
+ { index: 21, tokenId: 60 },
197610
+ { index: 22, tokenId: 45 }
195635
197611
  ]
195636
197612
  },
195637
197613
  {
@@ -195640,17 +197616,17 @@ var mainnet_default = {
195640
197616
  oracle: "0x628613064b1902a1A422825cf11B687C6f17961E",
195641
197617
  id: 1,
195642
197618
  tokens: [
195643
- { index: 1, tokenId: 47 },
195644
- { index: 2, tokenId: 56 },
195645
- { index: 3, tokenId: 50 },
195646
- { index: 5, tokenId: 43 },
195647
- { index: 6, tokenId: 39 },
195648
- { index: 7, tokenId: 52 },
195649
- { index: 8, tokenId: 54 },
195650
- { index: 9, tokenId: 36 },
195651
- { index: 10, tokenId: 57 },
195652
- { index: 11, tokenId: 60 },
195653
- { index: 12, tokenId: 61 }
197619
+ { index: 1, tokenId: 49 },
197620
+ { index: 2, tokenId: 58 },
197621
+ { index: 3, tokenId: 52 },
197622
+ { index: 5, tokenId: 44 },
197623
+ { index: 6, tokenId: 40 },
197624
+ { index: 7, tokenId: 54 },
197625
+ { index: 8, tokenId: 56 },
197626
+ { index: 9, tokenId: 37 },
197627
+ { index: 10, tokenId: 59 },
197628
+ { index: 11, tokenId: 62 },
197629
+ { index: 12, tokenId: 63 }
195654
197630
  ]
195655
197631
  }
195656
197632
  ],
@@ -195809,6 +197785,20 @@ var mainnet_default = {
195809
197785
  deprecated: false,
195810
197786
  id: 10
195811
197787
  },
197788
+ {
197789
+ decimals: 6,
197790
+ symbol: "USDC",
197791
+ name: "syUSDC",
197792
+ chainId: 40,
197793
+ address: "0xe6E5f3d264117E030C21920356641DbD5B3d660c",
197794
+ isNative: false,
197795
+ icons: {
197796
+ large: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png",
197797
+ small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
197798
+ },
197799
+ deprecated: false,
197800
+ id: 11
197801
+ },
195812
197802
  {
195813
197803
  decimals: 6,
195814
197804
  symbol: "USDT",
@@ -195821,7 +197811,7 @@ var mainnet_default = {
195821
197811
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/825.png"
195822
197812
  },
195823
197813
  deprecated: false,
195824
- id: 11
197814
+ id: 12
195825
197815
  },
195826
197816
  {
195827
197817
  decimals: 6,
@@ -195835,7 +197825,7 @@ var mainnet_default = {
195835
197825
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
195836
197826
  },
195837
197827
  deprecated: false,
195838
- id: 12
197828
+ id: 13
195839
197829
  },
195840
197830
  {
195841
197831
  decimals: 18,
@@ -195849,7 +197839,7 @@ var mainnet_default = {
195849
197839
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
195850
197840
  },
195851
197841
  deprecated: false,
195852
- id: 13
197842
+ id: 14
195853
197843
  },
195854
197844
  {
195855
197845
  decimals: 6,
@@ -195863,7 +197853,7 @@ var mainnet_default = {
195863
197853
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
195864
197854
  },
195865
197855
  deprecated: false,
195866
- id: 14
197856
+ id: 15
195867
197857
  },
195868
197858
  {
195869
197859
  decimals: 18,
@@ -195877,7 +197867,7 @@ var mainnet_default = {
195877
197867
  small: "https://s2.coinmarketcap.com/static/img/coins/128x128/1027.png"
195878
197868
  },
195879
197869
  deprecated: false,
195880
- id: 15
197870
+ id: 16
195881
197871
  },
195882
197872
  {
195883
197873
  decimals: 6,
@@ -195891,7 +197881,7 @@ var mainnet_default = {
195891
197881
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
195892
197882
  },
195893
197883
  deprecated: false,
195894
- id: 16
197884
+ id: 17
195895
197885
  },
195896
197886
  {
195897
197887
  decimals: 6,
@@ -195905,7 +197895,7 @@ var mainnet_default = {
195905
197895
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
195906
197896
  },
195907
197897
  deprecated: true,
195908
- id: 17
197898
+ id: 18
195909
197899
  },
195910
197900
  {
195911
197901
  decimals: 18,
@@ -195919,7 +197909,7 @@ var mainnet_default = {
195919
197909
  small: "https://s2.coinmarketcap.com/static/img/coins/128x128/1027.png"
195920
197910
  },
195921
197911
  deprecated: false,
195922
- id: 18
197912
+ id: 19
195923
197913
  },
195924
197914
  {
195925
197915
  decimals: 6,
@@ -195933,7 +197923,7 @@ var mainnet_default = {
195933
197923
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
195934
197924
  },
195935
197925
  deprecated: false,
195936
- id: 19
197926
+ id: 20
195937
197927
  },
195938
197928
  {
195939
197929
  decimals: 18,
@@ -195947,7 +197937,7 @@ var mainnet_default = {
195947
197937
  small: "https://s2.coinmarketcap.com/static/img/coins/128x128/1027.png"
195948
197938
  },
195949
197939
  deprecated: false,
195950
- id: 20
197940
+ id: 21
195951
197941
  },
195952
197942
  {
195953
197943
  decimals: 6,
@@ -195961,7 +197951,7 @@ var mainnet_default = {
195961
197951
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
195962
197952
  },
195963
197953
  deprecated: false,
195964
- id: 21
197954
+ id: 22
195965
197955
  },
195966
197956
  {
195967
197957
  decimals: 18,
@@ -195975,7 +197965,7 @@ var mainnet_default = {
195975
197965
  small: "https://s2.coinmarketcap.com/static/img/coins/128x128/1027.png"
195976
197966
  },
195977
197967
  deprecated: false,
195978
- id: 22
197968
+ id: 23
195979
197969
  },
195980
197970
  {
195981
197971
  decimals: 6,
@@ -195989,7 +197979,7 @@ var mainnet_default = {
195989
197979
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
195990
197980
  },
195991
197981
  deprecated: false,
195992
- id: 23
197982
+ id: 24
195993
197983
  },
195994
197984
  {
195995
197985
  decimals: 18,
@@ -196003,7 +197993,7 @@ var mainnet_default = {
196003
197993
  small: "https://s2.coinmarketcap.com/static/img/coins/128x128/1027.png"
196004
197994
  },
196005
197995
  deprecated: false,
196006
- id: 24
197996
+ id: 25
196007
197997
  },
196008
197998
  {
196009
197999
  decimals: 18,
@@ -196017,7 +198007,7 @@ var mainnet_default = {
196017
198007
  small: "https://s2.coinmarketcap.com/static/img/coins/128x128/1027.png"
196018
198008
  },
196019
198009
  deprecated: false,
196020
- id: 25
198010
+ id: 26
196021
198011
  },
196022
198012
  {
196023
198013
  decimals: 6,
@@ -196031,7 +198021,7 @@ var mainnet_default = {
196031
198021
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
196032
198022
  },
196033
198023
  deprecated: false,
196034
- id: 26
198024
+ id: 27
196035
198025
  },
196036
198026
  {
196037
198027
  decimals: 6,
@@ -196045,7 +198035,7 @@ var mainnet_default = {
196045
198035
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
196046
198036
  },
196047
198037
  deprecated: false,
196048
- id: 27
198038
+ id: 28
196049
198039
  },
196050
198040
  {
196051
198041
  decimals: 18,
@@ -196059,7 +198049,7 @@ var mainnet_default = {
196059
198049
  small: "https://s2.coinmarketcap.com/static/img/coins/128x128/1027.png"
196060
198050
  },
196061
198051
  deprecated: false,
196062
- id: 28
198052
+ id: 29
196063
198053
  },
196064
198054
  {
196065
198055
  decimals: 18,
@@ -196073,7 +198063,7 @@ var mainnet_default = {
196073
198063
  small: "https://s2.coinmarketcap.com/static/img/coins/128x128/1027.png"
196074
198064
  },
196075
198065
  deprecated: false,
196076
- id: 29
198066
+ id: 30
196077
198067
  },
196078
198068
  {
196079
198069
  decimals: 6,
@@ -196087,7 +198077,7 @@ var mainnet_default = {
196087
198077
  small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
196088
198078
  },
196089
198079
  deprecated: false,
196090
- id: 30
198080
+ id: 31
196091
198081
  },
196092
198082
  {
196093
198083
  decimals: 18,
@@ -196102,7 +198092,7 @@ var mainnet_default = {
196102
198092
  },
196103
198093
  chainFromId: 1,
196104
198094
  deprecated: false,
196105
- id: 31,
198095
+ id: 32,
196106
198096
  originalId: 1
196107
198097
  },
196108
198098
  {
@@ -196118,7 +198108,7 @@ var mainnet_default = {
196118
198108
  },
196119
198109
  chainFromId: 1,
196120
198110
  deprecated: false,
196121
- id: 32,
198111
+ id: 33,
196122
198112
  originalId: 0
196123
198113
  },
196124
198114
  {
@@ -196134,7 +198124,7 @@ var mainnet_default = {
196134
198124
  },
196135
198125
  chainFromId: 1,
196136
198126
  deprecated: false,
196137
- id: 33,
198127
+ id: 34,
196138
198128
  originalId: 2
196139
198129
  },
196140
198130
  {
@@ -196150,7 +198140,7 @@ var mainnet_default = {
196150
198140
  },
196151
198141
  chainFromId: 1,
196152
198142
  deprecated: false,
196153
- id: 34,
198143
+ id: 35,
196154
198144
  originalId: 3
196155
198145
  },
196156
198146
  {
@@ -196166,7 +198156,7 @@ var mainnet_default = {
196166
198156
  },
196167
198157
  chainFromId: 1,
196168
198158
  deprecated: false,
196169
- id: 35,
198159
+ id: 36,
196170
198160
  originalId: 0
196171
198161
  },
196172
198162
  {
@@ -196182,7 +198172,7 @@ var mainnet_default = {
196182
198172
  },
196183
198173
  chainFromId: 1,
196184
198174
  deprecated: false,
196185
- id: 36,
198175
+ id: 37,
196186
198176
  originalId: 2
196187
198177
  },
196188
198178
  {
@@ -196198,7 +198188,7 @@ var mainnet_default = {
196198
198188
  },
196199
198189
  chainFromId: 56,
196200
198190
  deprecated: false,
196201
- id: 37,
198191
+ id: 38,
196202
198192
  originalId: 4
196203
198193
  },
196204
198194
  {
@@ -196214,7 +198204,7 @@ var mainnet_default = {
196214
198204
  },
196215
198205
  chainFromId: 56,
196216
198206
  deprecated: false,
196217
- id: 38,
198207
+ id: 39,
196218
198208
  originalId: 5
196219
198209
  },
196220
198210
  {
@@ -196230,7 +198220,7 @@ var mainnet_default = {
196230
198220
  },
196231
198221
  chainFromId: 56,
196232
198222
  deprecated: false,
196233
- id: 39,
198223
+ id: 40,
196234
198224
  originalId: 6
196235
198225
  },
196236
198226
  {
@@ -196246,7 +198236,7 @@ var mainnet_default = {
196246
198236
  },
196247
198237
  chainFromId: 43114,
196248
198238
  deprecated: false,
196249
- id: 40,
198239
+ id: 41,
196250
198240
  originalId: 7
196251
198241
  },
196252
198242
  {
@@ -196262,7 +198252,7 @@ var mainnet_default = {
196262
198252
  },
196263
198253
  chainFromId: 43114,
196264
198254
  deprecated: false,
196265
- id: 41,
198255
+ id: 42,
196266
198256
  originalId: 8
196267
198257
  },
196268
198258
  {
@@ -196278,7 +198268,7 @@ var mainnet_default = {
196278
198268
  },
196279
198269
  chainFromId: 137,
196280
198270
  deprecated: false,
196281
- id: 42,
198271
+ id: 43,
196282
198272
  originalId: 9
196283
198273
  },
196284
198274
  {
@@ -196294,9 +198284,25 @@ var mainnet_default = {
196294
198284
  },
196295
198285
  chainFromId: 137,
196296
198286
  deprecated: false,
196297
- id: 43,
198287
+ id: 44,
196298
198288
  originalId: 10
196299
198289
  },
198290
+ {
198291
+ decimals: 6,
198292
+ symbol: "sUSDC",
198293
+ name: "Synthetic syUSDC From Telos",
198294
+ chainId: 56288,
198295
+ address: "0x2c679B79d8F40049d68CaA879Bf643F37E75F704",
198296
+ isNative: false,
198297
+ icons: {
198298
+ large: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png",
198299
+ small: "https://s2.coinmarketcap.com/static/img/coins/64x64/3408.png"
198300
+ },
198301
+ chainFromId: 40,
198302
+ deprecated: false,
198303
+ id: 45,
198304
+ originalId: 11
198305
+ },
196300
198306
  {
196301
198307
  decimals: 6,
196302
198308
  symbol: "sUSDT",
@@ -196310,8 +198316,8 @@ var mainnet_default = {
196310
198316
  },
196311
198317
  chainFromId: 2222,
196312
198318
  deprecated: false,
196313
- id: 44,
196314
- originalId: 11
198319
+ id: 46,
198320
+ originalId: 12
196315
198321
  },
196316
198322
  {
196317
198323
  decimals: 6,
@@ -196326,8 +198332,8 @@ var mainnet_default = {
196326
198332
  },
196327
198333
  chainFromId: 288,
196328
198334
  deprecated: false,
196329
- id: 45,
196330
- originalId: 12
198335
+ id: 47,
198336
+ originalId: 13
196331
198337
  },
196332
198338
  {
196333
198339
  decimals: 6,
@@ -196342,8 +198348,8 @@ var mainnet_default = {
196342
198348
  },
196343
198349
  chainFromId: 324,
196344
198350
  deprecated: false,
196345
- id: 46,
196346
- originalId: 14
198351
+ id: 48,
198352
+ originalId: 15
196347
198353
  },
196348
198354
  {
196349
198355
  decimals: 18,
@@ -196358,8 +198364,8 @@ var mainnet_default = {
196358
198364
  },
196359
198365
  chainFromId: 324,
196360
198366
  deprecated: false,
196361
- id: 47,
196362
- originalId: 15
198367
+ id: 49,
198368
+ originalId: 16
196363
198369
  },
196364
198370
  {
196365
198371
  decimals: 6,
@@ -196374,8 +198380,8 @@ var mainnet_default = {
196374
198380
  },
196375
198381
  chainFromId: 42161,
196376
198382
  deprecated: false,
196377
- id: 48,
196378
- originalId: 16
198383
+ id: 50,
198384
+ originalId: 17
196379
198385
  },
196380
198386
  {
196381
198387
  decimals: 6,
@@ -196390,8 +198396,8 @@ var mainnet_default = {
196390
198396
  },
196391
198397
  chainFromId: 42161,
196392
198398
  deprecated: true,
196393
- id: 49,
196394
- originalId: 17
198399
+ id: 51,
198400
+ originalId: 18
196395
198401
  },
196396
198402
  {
196397
198403
  decimals: 18,
@@ -196406,8 +198412,8 @@ var mainnet_default = {
196406
198412
  },
196407
198413
  chainFromId: 42161,
196408
198414
  deprecated: false,
196409
- id: 50,
196410
- originalId: 18
198415
+ id: 52,
198416
+ originalId: 19
196411
198417
  },
196412
198418
  {
196413
198419
  decimals: 6,
@@ -196422,8 +198428,8 @@ var mainnet_default = {
196422
198428
  },
196423
198429
  chainFromId: 10,
196424
198430
  deprecated: false,
196425
- id: 51,
196426
- originalId: 19
198431
+ id: 53,
198432
+ originalId: 20
196427
198433
  },
196428
198434
  {
196429
198435
  decimals: 18,
@@ -196438,8 +198444,8 @@ var mainnet_default = {
196438
198444
  },
196439
198445
  chainFromId: 10,
196440
198446
  deprecated: false,
196441
- id: 52,
196442
- originalId: 20
198447
+ id: 54,
198448
+ originalId: 21
196443
198449
  },
196444
198450
  {
196445
198451
  decimals: 6,
@@ -196454,8 +198460,8 @@ var mainnet_default = {
196454
198460
  },
196455
198461
  chainFromId: 42170,
196456
198462
  deprecated: false,
196457
- id: 53,
196458
- originalId: 21
198463
+ id: 55,
198464
+ originalId: 22
196459
198465
  },
196460
198466
  {
196461
198467
  decimals: 18,
@@ -196470,8 +198476,8 @@ var mainnet_default = {
196470
198476
  },
196471
198477
  chainFromId: 42170,
196472
198478
  deprecated: false,
196473
- id: 54,
196474
- originalId: 22
198479
+ id: 56,
198480
+ originalId: 23
196475
198481
  },
196476
198482
  {
196477
198483
  decimals: 6,
@@ -196486,8 +198492,8 @@ var mainnet_default = {
196486
198492
  },
196487
198493
  chainFromId: 1101,
196488
198494
  deprecated: false,
196489
- id: 55,
196490
- originalId: 23
198495
+ id: 57,
198496
+ originalId: 24
196491
198497
  },
196492
198498
  {
196493
198499
  decimals: 18,
@@ -196502,8 +198508,8 @@ var mainnet_default = {
196502
198508
  },
196503
198509
  chainFromId: 1101,
196504
198510
  deprecated: false,
196505
- id: 56,
196506
- originalId: 24
198511
+ id: 58,
198512
+ originalId: 25
196507
198513
  },
196508
198514
  {
196509
198515
  decimals: 18,
@@ -196518,8 +198524,8 @@ var mainnet_default = {
196518
198524
  },
196519
198525
  chainFromId: 59144,
196520
198526
  deprecated: false,
196521
- id: 57,
196522
- originalId: 25
198527
+ id: 59,
198528
+ originalId: 26
196523
198529
  },
196524
198530
  {
196525
198531
  decimals: 6,
@@ -196534,8 +198540,8 @@ var mainnet_default = {
196534
198540
  },
196535
198541
  chainFromId: 59144,
196536
198542
  deprecated: false,
196537
- id: 58,
196538
- originalId: 26
198543
+ id: 60,
198544
+ originalId: 27
196539
198545
  },
196540
198546
  {
196541
198547
  decimals: 6,
@@ -196550,8 +198556,8 @@ var mainnet_default = {
196550
198556
  },
196551
198557
  chainFromId: 5e3,
196552
198558
  deprecated: false,
196553
- id: 59,
196554
- originalId: 27
198559
+ id: 61,
198560
+ originalId: 28
196555
198561
  },
196556
198562
  {
196557
198563
  decimals: 18,
@@ -196566,8 +198572,8 @@ var mainnet_default = {
196566
198572
  },
196567
198573
  chainFromId: 5e3,
196568
198574
  deprecated: false,
196569
- id: 60,
196570
- originalId: 28
198575
+ id: 62,
198576
+ originalId: 29
196571
198577
  },
196572
198578
  {
196573
198579
  decimals: 18,
@@ -196582,8 +198588,8 @@ var mainnet_default = {
196582
198588
  },
196583
198589
  chainFromId: 8453,
196584
198590
  deprecated: false,
196585
- id: 61,
196586
- originalId: 29
198591
+ id: 63,
198592
+ originalId: 30
196587
198593
  },
196588
198594
  {
196589
198595
  decimals: 6,
@@ -196598,8 +198604,8 @@ var mainnet_default = {
196598
198604
  },
196599
198605
  chainFromId: 8453,
196600
198606
  deprecated: false,
196601
- id: 62,
196602
- originalId: 30
198607
+ id: 64,
198608
+ originalId: 31
196603
198609
  }
196604
198610
  ],
196605
198611
  thresholds: [
@@ -196610,37 +198616,38 @@ var mainnet_default = {
196610
198616
  { tokenId: 4, type: "Portal", value: "8000000000000000000" },
196611
198617
  { tokenId: 5, type: "Portal", value: "10000000000000000000" },
196612
198618
  { tokenId: 6, type: "Portal", value: "5000000000000000" },
196613
- { tokenId: 31, type: "Portal", value: "0" },
198619
+ { tokenId: 32, type: "Portal", value: "0" },
196614
198620
  { tokenId: 4, type: "Synthesis", value: "0" },
196615
198621
  { tokenId: 5, type: "Synthesis", value: "0" },
196616
198622
  { tokenId: 6, type: "Synthesis", value: "0" },
196617
- { tokenId: 31, type: "Synthesis", value: "0" },
198623
+ { tokenId: 32, type: "Synthesis", value: "0" },
196618
198624
  { tokenId: 7, type: "Portal", value: "8000000" },
196619
198625
  { tokenId: 8, type: "Portal", value: "10000000" },
196620
198626
  { tokenId: 9, type: "Portal", value: "8000000" },
196621
198627
  { tokenId: 10, type: "Portal", value: "5000000000000000" },
196622
- { tokenId: 32, type: "Portal", value: "0" },
198628
+ { tokenId: 11, type: "Portal", value: "0" },
196623
198629
  { tokenId: 33, type: "Portal", value: "0" },
196624
198630
  { tokenId: 34, type: "Portal", value: "0" },
196625
- { tokenId: 32, type: "Synthesis", value: "0" },
198631
+ { tokenId: 35, type: "Portal", value: "0" },
198632
+ { tokenId: 11, type: "Synthesis", value: "0" },
196626
198633
  { tokenId: 33, type: "Synthesis", value: "0" },
196627
198634
  { tokenId: 34, type: "Synthesis", value: "0" },
196628
- { tokenId: 11, type: "Portal", value: "10000000" },
196629
- { tokenId: 12, type: "Portal", value: "8000000" },
196630
- { tokenId: 13, type: "Synthesis", value: "0" },
196631
- { tokenId: 35, type: "Synthesis", value: "10000000" },
196632
- { tokenId: 36, type: "Synthesis", value: "0" },
196633
- { tokenId: 37, type: "Synthesis", value: "8000000000000000000" },
196634
- { tokenId: 38, type: "Synthesis", value: "0" },
198635
+ { tokenId: 35, type: "Synthesis", value: "0" },
198636
+ { tokenId: 12, type: "Portal", value: "10000000" },
198637
+ { tokenId: 13, type: "Portal", value: "8000000" },
198638
+ { tokenId: 14, type: "Synthesis", value: "0" },
198639
+ { tokenId: 36, type: "Synthesis", value: "10000000" },
198640
+ { tokenId: 37, type: "Synthesis", value: "0" },
198641
+ { tokenId: 38, type: "Synthesis", value: "8000000000000000000" },
196635
198642
  { tokenId: 39, type: "Synthesis", value: "0" },
196636
- { tokenId: 40, type: "Synthesis", value: "8000000" },
196637
- { tokenId: 41, type: "Synthesis", value: "0" },
196638
- { tokenId: 42, type: "Synthesis", value: "8000000" },
196639
- { tokenId: 43, type: "Synthesis", value: "0" },
198643
+ { tokenId: 40, type: "Synthesis", value: "0" },
198644
+ { tokenId: 41, type: "Synthesis", value: "8000000" },
198645
+ { tokenId: 42, type: "Synthesis", value: "0" },
198646
+ { tokenId: 43, type: "Synthesis", value: "8000000" },
196640
198647
  { tokenId: 44, type: "Synthesis", value: "0" },
196641
- { tokenId: 45, type: "Synthesis", value: "8000000" },
198648
+ { tokenId: 45, type: "Synthesis", value: "0" },
196642
198649
  { tokenId: 46, type: "Synthesis", value: "0" },
196643
- { tokenId: 47, type: "Synthesis", value: "0" },
198650
+ { tokenId: 47, type: "Synthesis", value: "8000000" },
196644
198651
  { tokenId: 48, type: "Synthesis", value: "0" },
196645
198652
  { tokenId: 49, type: "Synthesis", value: "0" },
196646
198653
  { tokenId: 50, type: "Synthesis", value: "0" },
@@ -196656,23 +198663,25 @@ var mainnet_default = {
196656
198663
  { tokenId: 60, type: "Synthesis", value: "0" },
196657
198664
  { tokenId: 61, type: "Synthesis", value: "0" },
196658
198665
  { tokenId: 62, type: "Synthesis", value: "0" },
196659
- { tokenId: 14, type: "Portal", value: "10000000" },
196660
- { tokenId: 15, type: "Portal", value: "5000000000000000" },
196661
- { tokenId: 16, type: "Portal", value: "10000000" },
198666
+ { tokenId: 63, type: "Synthesis", value: "0" },
198667
+ { tokenId: 64, type: "Synthesis", value: "0" },
198668
+ { tokenId: 15, type: "Portal", value: "10000000" },
198669
+ { tokenId: 16, type: "Portal", value: "5000000000000000" },
196662
198670
  { tokenId: 17, type: "Portal", value: "10000000" },
196663
- { tokenId: 18, type: "Portal", value: "5000000000000000" },
196664
- { tokenId: 19, type: "Portal", value: "10000000" },
196665
- { tokenId: 20, type: "Portal", value: "5000000000000000" },
196666
- { tokenId: 21, type: "Portal", value: "10000000" },
196667
- { tokenId: 22, type: "Portal", value: "5000000000000000" },
196668
- { tokenId: 23, type: "Portal", value: "10000000" },
196669
- { tokenId: 24, type: "Portal", value: "5000000000000000" },
198671
+ { tokenId: 18, type: "Portal", value: "10000000" },
198672
+ { tokenId: 19, type: "Portal", value: "5000000000000000" },
198673
+ { tokenId: 20, type: "Portal", value: "10000000" },
198674
+ { tokenId: 21, type: "Portal", value: "5000000000000000" },
198675
+ { tokenId: 22, type: "Portal", value: "10000000" },
198676
+ { tokenId: 23, type: "Portal", value: "5000000000000000" },
198677
+ { tokenId: 24, type: "Portal", value: "10000000" },
196670
198678
  { tokenId: 25, type: "Portal", value: "5000000000000000" },
196671
- { tokenId: 26, type: "Portal", value: "10000000" },
198679
+ { tokenId: 26, type: "Portal", value: "5000000000000000" },
196672
198680
  { tokenId: 27, type: "Portal", value: "10000000" },
196673
- { tokenId: 28, type: "Portal", value: "5000000000000000" },
196674
- { tokenId: 29, type: "Portal", value: "0" },
196675
- { tokenId: 30, type: "Portal", value: "10000000" }
198681
+ { tokenId: 28, type: "Portal", value: "10000000" },
198682
+ { tokenId: 29, type: "Portal", value: "5000000000000000" },
198683
+ { tokenId: 30, type: "Portal", value: "5000000000000000" },
198684
+ { tokenId: 31, type: "Portal", value: "10000000" }
196676
198685
  ]
196677
198686
  };
196678
198687
 
@@ -197209,7 +199218,10 @@ var ConfigCache = class {
197209
199218
  return pool.tokenId === tokenInfo.id;
197210
199219
  });
197211
199220
  if (found === void 0) {
197212
- throw new Error2(`There is no token ${tokenInfo.address} in omniPool ${omniPool.address}`);
199221
+ throw new Error2(
199222
+ `There is no token ${tokenInfo.address} in omniPool ${omniPool.address}`,
199223
+ 5 /* NO_TRANSIT_TOKEN */
199224
+ );
197213
199225
  }
197214
199226
  return found.index;
197215
199227
  }
@@ -197233,7 +199245,7 @@ var ConfigCache = class {
197233
199245
  }
197234
199246
  getTokenInfoByToken(token) {
197235
199247
  const found = this.cache.tokens.find((i) => {
197236
- return i.address.toLowerCase() === token.address.toLowerCase() && i.chainId === token.chainId;
199248
+ return i.address.toLowerCase() === token.address.toLowerCase() && i.chainId === token.chainId && i.chainFromId === token.chainFromId;
197237
199249
  });
197238
199250
  if (!found) {
197239
199251
  throw new Error2(`Can't get tokenInfo by token ${token.address} ${token.chainId}`);
@@ -222545,7 +224557,9 @@ class SymbiosisCrossChainProvider extends cross_chain_provider_1.CrossChainProvi
222545
224557
  async calculate(from, toToken, options) {
222546
224558
  const fromBlockchain = from.blockchain;
222547
224559
  const toBlockchain = toToken.blockchain;
222548
- const useProxy = options?.useProxy?.[this.type] ?? true;
224560
+ const useProxy = from.blockchain === blockchain_name_1.BLOCKCHAIN_NAME.BASE
224561
+ ? false
224562
+ : options?.useProxy?.[this.type] ?? true;
222549
224563
  const config = blockchains_info_1.BlockchainsInfo.isTestBlockchainName(fromBlockchain) ? 'testnet' : 'mainnet';
222550
224564
  const symbiosis = new symbiosis_js_sdk_1.Symbiosis(config, 'rubic');
222551
224565
  if (!this.areSupportedBlockchains(fromBlockchain, toBlockchain)) {