rubic-sdk 4.26.0-alpha-symb-sdk-upd.1 → 4.26.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +674 -674
- package/README.md +360 -360
- package/dist/rubic-sdk.min.js.map +1 -1
- package/lib/common/errors/blockchain/deflation-token.error.d.ts +2 -2
- package/lib/common/errors/blockchain/healthcheck.error.d.ts +1 -1
- package/lib/common/errors/blockchain/invalid-address.error.d.ts +1 -1
- package/lib/common/errors/blockchain/low-gas.error.d.ts +1 -1
- package/lib/common/errors/blockchain/transaction-reverted.error.d.ts +1 -1
- package/lib/common/errors/blockchain/tron-insufficient-native-balance.d.ts +1 -1
- package/lib/common/errors/blockchain/tron-transaction-expired.d.ts +1 -1
- package/lib/common/errors/blockchain/user-reject.error.d.ts +1 -1
- package/lib/common/errors/blockchain/wrong-from-address.error.d.ts +1 -1
- package/lib/common/errors/blockchain/wrong-receiver-address.error.d.ts +1 -1
- package/lib/common/errors/cross-chain/cross-chain-is-unavailable.error.d.ts +1 -1
- package/lib/common/errors/cross-chain/insufficient-funds-gas-price-value.error.d.ts +1 -1
- package/lib/common/errors/cross-chain/low-to-slippage.error.d.ts +1 -1
- package/lib/common/errors/cross-chain/max-gas-price-overflow.error.d.ts +1 -1
- package/lib/common/errors/cross-chain/too-low-amount.error.d.ts +1 -1
- package/lib/common/errors/cross-chain/unsupported-receiver-address.error.d.ts +1 -1
- package/lib/common/errors/cross-chain/updated-rates-error.d.ts +2 -2
- package/lib/common/errors/on-chain/on-chain-is-unavailable.error.d.ts +1 -1
- package/lib/common/errors/proxy/unapproved-contract-error.d.ts +1 -1
- package/lib/common/errors/proxy/unapproved-method-error.d.ts +1 -1
- package/lib/common/errors/swap/bridgers-pair-is-unavailable.error.d.ts +1 -1
- package/lib/common/errors/swap/failed-to-check-for-transaction-receipt.error.d.ts +1 -1
- package/lib/common/errors/swap/insufficient-funds-oneinch.error.d.ts +2 -2
- package/lib/common/errors/swap/insufficient-funds.error.d.ts +2 -2
- package/lib/common/errors/swap/insufficient-liquidity.error.d.ts +1 -1
- package/lib/common/errors/swap/lifi-pair-is-unavailable.error.d.ts +1 -1
- package/lib/common/errors/swap/low-slippage-deflationary-token.error.d.ts +1 -1
- package/lib/common/errors/swap/low-slippage.error.d.ts +1 -1
- package/lib/common/errors/swap/max-amount.error.d.ts +1 -1
- package/lib/common/errors/swap/min-amount.error.d.ts +1 -1
- package/lib/common/errors/swap/not-supported-blockchain.d.ts +1 -1
- package/lib/common/errors/swap/not-supported-tokens.error.d.ts +1 -1
- package/lib/common/errors/swap/not-whitelisted-provider.error.d.ts +1 -1
- package/lib/common/errors/swap/swap-request.error.d.ts +1 -1
- package/lib/common/errors/swap/unnecessary-approve.error.d.ts +1 -1
- package/lib/common/errors/swap/wallet-not-connected.error.d.ts +1 -1
- package/lib/common/errors/swap/wrong-network.error.d.ts +2 -2
- package/lib/common/errors/utils/timeout.error.d.ts +1 -1
- package/lib/common/tokens/constants/native-tokens.d.ts +2 -2
- package/lib/common/tokens/constants/wrapped-addresses.d.ts +1 -1
- package/lib/common/tokens/constants/wrapped-native-tokens.d.ts +2 -2
- package/lib/common/tokens/models/token-base-struct.d.ts +1 -1
- package/lib/common/tokens/price-token-amount.d.ts +4 -4
- package/lib/common/tokens/price-token.d.ts +3 -3
- package/lib/common/tokens/token-amount.d.ts +3 -3
- package/lib/common/tokens/token.d.ts +2 -2
- package/lib/common/utils/decorators/cache-decorator/cache.decorator.d.ts +1 -1
- package/lib/common/utils/errors.d.ts +1 -1
- package/lib/common/utils/options.d.ts +3 -3
- package/lib/core/blockchain/constants/healthcheck.d.ts +1 -1
- package/lib/core/blockchain/utils/blockchains-info/blockchains-info.d.ts +2 -2
- package/lib/core/blockchain/utils/blockchains-info/constants/blockchain-id.d.ts +1 -1
- package/lib/core/blockchain/utils/blockchains-info/constants/chain-type-by-blockchain.d.ts +2 -2
- package/lib/core/blockchain/web3-private-service/models/create-web3-private.d.ts +6 -6
- package/lib/core/blockchain/web3-private-service/models/web3-private-storage.d.ts +5 -5
- package/lib/core/blockchain/web3-private-service/web3-private/empty-web3-private.d.ts +3 -3
- package/lib/core/blockchain/web3-private-service/web3-private/evm-web3-private/evm-web3-private.d.ts +7 -7
- package/lib/core/blockchain/web3-private-service/web3-private/evm-web3-private/models/evm-basic-transaction-options.d.ts +2 -2
- package/lib/core/blockchain/web3-private-service/web3-private/evm-web3-private/models/evm-transaction-options.d.ts +1 -1
- package/lib/core/blockchain/web3-private-service/web3-private/tron-web3-private/models/tron-transaction-options.d.ts +1 -1
- package/lib/core/blockchain/web3-private-service/web3-private/tron-web3-private/tron-web3-private.d.ts +8 -8
- package/lib/core/blockchain/web3-private-service/web3-private/web3-private.d.ts +2 -2
- package/lib/core/blockchain/web3-private-service/web3-private-service.d.ts +8 -8
- package/lib/core/blockchain/web3-public-service/models/create-web3-public-proxy.d.ts +6 -6
- package/lib/core/blockchain/web3-public-service/models/web3-public-storage.d.ts +4 -4
- package/lib/core/blockchain/web3-public-service/web3-public/constants/multicall-addresses.d.ts +1 -1
- package/lib/core/blockchain/web3-public-service/web3-public/evm-web3-public/evm-web3-public.d.ts +8 -8
- package/lib/core/blockchain/web3-public-service/web3-public/models/contract-multicall-response.d.ts +1 -1
- package/lib/core/blockchain/web3-public-service/web3-public/tron-web3-public/tron-web3-public.d.ts +9 -9
- package/lib/core/blockchain/web3-public-service/web3-public/web3-public.d.ts +9 -9
- package/lib/core/blockchain/web3-public-service/web3-public-service.d.ts +6 -6
- package/lib/core/blockchain/web3-pure/models/web3-pure-container.d.ts +2 -2
- package/lib/core/blockchain/web3-pure/typed-web3-pure/evm-web3-pure/evm-web3-pure.d.ts +2 -2
- package/lib/core/blockchain/web3-pure/typed-web3-pure/tron-web3-pure/tron-web3-pure.d.ts +3 -3
- package/lib/core/blockchain/web3-pure/web3-pure.d.ts +40 -40
- package/lib/core/coingecko-api/coingecko-api.d.ts +2 -2
- package/lib/core/gas-price-api/constants/eip1559-compatible-blockchains.d.ts +1 -1
- package/lib/core/gas-price-api/gas-price-api.d.ts +2 -2
- package/lib/core/injector/injector.d.ts +5 -5
- package/lib/core/sdk/models/configuration.d.ts +4 -4
- package/lib/core/sdk/models/provider-address.d.ts +1 -1
- package/lib/core/sdk/models/rpc-provider.d.ts +2 -2
- package/lib/core/sdk/models/wallet-provider.d.ts +3 -3
- package/lib/core/sdk/sdk.d.ts +13 -13
- package/lib/features/common/constants/wl-contract-address.d.ts +1 -1
- package/lib/features/common/models/encode-transaction-options.d.ts +1 -1
- package/lib/features/common/models/swap-transaction-options.d.ts +1 -1
- package/lib/features/common/providers/bridgers/constants/to-bridgers-blockchain.d.ts +1 -1
- package/lib/features/common/providers/bridgers/models/bridgers-swap-api.d.ts +3 -3
- package/lib/features/common/providers/bridgers/models/bridgers-update-data-and-status-api.d.ts +1 -1
- package/lib/features/common/status-manager/models/tx-status-data.d.ts +1 -1
- package/lib/features/common/status-manager/utils/get-bridgers-trade-status.d.ts +2 -2
- package/lib/features/common/status-manager/utils/get-src-tx-status.d.ts +2 -2
- package/lib/features/common/utils/check-address.d.ts +3 -3
- package/lib/features/common/utils/get-from-without-fee.d.ts +2 -2
- package/lib/features/common/utils/get-price-tokens-from-input-tokens.d.ts +2 -2
- package/lib/features/common/utils/token-native-address-proxy.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/constants/cross-chain-providers.d.ts +9 -9
- package/lib/features/cross-chain/calculation-manager/constants/default-cross-chain-calculation-options.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/cross-chain-manager.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/models/cross-chain-manager-options.d.ts +3 -3
- package/lib/features/cross-chain/calculation-manager/models/cross-chain-options.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/models/cross-chain-reactively-calculated-trade-data.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/models/cross-chain-typed-trade-provider.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/models/wrapped-cross-chain-trade-or-null.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/arbitrum-rbc-bridge/arbitrum-rbc-bridge-provider.d.ts +8 -8
- package/lib/features/cross-chain/calculation-manager/providers/arbitrum-rbc-bridge/arbitrum-rbc-bridge-trade.d.ts +9 -9
- package/lib/features/cross-chain/calculation-manager/providers/arbitrum-rbc-bridge/constants/arbitrum-rbc-bridge-contract-address.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/bridgers-cross-chain-provider.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/constants/bridgers-cross-chain-supported-blockchain.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/evm-bridgers-trade/evm-bridgers-cross-chain-trade.d.ts +11 -11
- package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/tron-bridgers-trade/models/tron-bridgers-transaction-data.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/tron-bridgers-trade/tron-bridgers-cross-chain-trade.d.ts +9 -9
- package/lib/features/cross-chain/calculation-manager/providers/bridgers-provider/utils/get-method-arguments-and-transaction-data.d.ts +5 -5
- package/lib/features/cross-chain/calculation-manager/providers/cbridge/cbridge-cross-chain-api-service.d.ts +4 -4
- package/lib/features/cross-chain/calculation-manager/providers/cbridge/cbridge-cross-chain-provider.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/providers/cbridge/cbridge-cross-chain-trade.d.ts +11 -11
- package/lib/features/cross-chain/calculation-manager/providers/cbridge/constants/cbridge-contract-address.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/cbridge/models/cbridge-transfer-configs-response.d.ts +3 -3
- package/lib/features/cross-chain/calculation-manager/providers/cbridge/models/pegged-pair-config.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/changenow-provider/changenow-cross-chain-provider.d.ts +9 -9
- package/lib/features/cross-chain/calculation-manager/providers/changenow-provider/changenow-cross-chain-trade.d.ts +15 -15
- package/lib/features/cross-chain/calculation-manager/providers/changenow-provider/models/changenow-trade.d.ts +6 -6
- package/lib/features/cross-chain/calculation-manager/providers/common/constants/rubic-proxy-contract-address.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/common/cross-chain-provider.d.ts +10 -10
- package/lib/features/cross-chain/calculation-manager/providers/common/cross-chain-trade.d.ts +12 -12
- package/lib/features/cross-chain/calculation-manager/providers/common/emv-cross-chain-trade/evm-cross-chain-trade.d.ts +12 -12
- package/lib/features/cross-chain/calculation-manager/providers/common/models/bridge-type.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/common/models/calculation-result.d.ts +3 -3
- package/lib/features/cross-chain/calculation-manager/providers/common/models/on-chain-subtype.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/common/models/proxy-bridge-params.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/common/models/proxy-swap-params.d.ts +4 -4
- package/lib/features/cross-chain/calculation-manager/providers/common/models/trade-info.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/common/models/wrapped-cross-chain-trade.d.ts +3 -3
- package/lib/features/cross-chain/calculation-manager/providers/common/proxy-cross-chain-evm-facade/proxy-cross-chain-evm-trade.d.ts +9 -9
- package/lib/features/cross-chain/calculation-manager/providers/common/tron-cross-chain-trade/models/tron-contract-params.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/common/tron-cross-chain-trade/tron-cross-chain-trade.d.ts +11 -11
- package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/constants/contract-address.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/constants/portal-address.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/debridge-cross-chain-provider.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/debridge-cross-chain-trade.d.ts +11 -11
- package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/models/transaction-request.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/debridge-provider/models/transaction-response.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/lifi-provider/lifi-cross-chain-provider.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/providers/lifi-provider/lifi-cross-chain-trade.d.ts +11 -11
- package/lib/features/cross-chain/calculation-manager/providers/multichain-provider/multichain-cross-chain-provider.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/providers/multichain-provider/multichain-cross-chain-trade.d.ts +12 -12
- package/lib/features/cross-chain/calculation-manager/providers/scroll-bridge/constants/scroll-bridge-contract-address.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/scroll-bridge/scroll-bridge-provider.d.ts +8 -8
- package/lib/features/cross-chain/calculation-manager/providers/scroll-bridge/scroll-bridge-trade.d.ts +9 -9
- package/lib/features/cross-chain/calculation-manager/providers/squidrouter-provider/constants/squidrouter-contract-address.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/squidrouter-provider/models/transaction-response.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/squidrouter-provider/squidrouter-cross-chain-provider.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/providers/squidrouter-provider/squidrouter-cross-chain-trade.d.ts +12 -12
- package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/relayers-addresses.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/stargate-fee-library-contract-address.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/stargate-pool-id.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/stargate-pool-mapping.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/constants/stargate-pools-decimals.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/stargate-cross-chain-provider.d.ts +6 -6
- package/lib/features/cross-chain/calculation-manager/providers/stargate-provider/stargate-cross-chain-trade.d.ts +12 -12
- package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/constants/contract-address-v2.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/symbiosis-cross-chain-provider.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/providers/symbiosis-provider/symbiosis-cross-chain-trade.d.ts +11 -11
- package/lib/features/cross-chain/calculation-manager/providers/xy-provider/constants/xy-contract-address.d.ts +2 -2
- package/lib/features/cross-chain/calculation-manager/providers/xy-provider/models/xy-estimation-response.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/xy-provider/models/xy-transaction-request.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/xy-provider/models/xy-transaction-response.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/providers/xy-provider/xy-cross-chain-provider.d.ts +7 -7
- package/lib/features/cross-chain/calculation-manager/providers/xy-provider/xy-cross-chain-trade.d.ts +11 -11
- package/lib/features/cross-chain/calculation-manager/utils/compare-cross-chain-trades.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/utils/convert-gas-price.d.ts +1 -1
- package/lib/features/cross-chain/calculation-manager/utils/type-guards.d.ts +3 -3
- package/lib/features/cross-chain/cbridge-manager/cross-chain-cbridge-manager.d.ts +1 -1
- package/lib/features/cross-chain/status-manager/constants/multichain-status-mapping.d.ts +1 -1
- package/lib/features/cross-chain/status-manager/cross-chain-status-manager.d.ts +4 -4
- package/lib/features/cross-chain/status-manager/models/cross-chain-status.d.ts +1 -1
- package/lib/features/cross-chain/status-manager/models/cross-chain-trade-data.d.ts +2 -2
- package/lib/features/cross-chain/status-manager/models/multichain-status-api-response.d.ts +1 -1
- package/lib/features/cross-chain/status-manager/models/squidrouter-api-response.d.ts +1 -1
- package/lib/features/cross-chain/status-manager/models/statuses-api.d.ts +3 -3
- package/lib/features/cross-chain/symbiosis-manager/cross-chain-symbiosis-manager.d.ts +4 -4
- package/lib/features/deflation-token-manager/constants/simulator-contract-address.d.ts +1 -1
- package/lib/features/deflation-token-manager/deflation-token-manager.d.ts +4 -4
- package/lib/features/limit-order/limit-order-api-service.d.ts +3 -3
- package/lib/features/limit-order/limit-order-manager.d.ts +8 -8
- package/lib/features/limit-order/models/limit-order.d.ts +2 -2
- package/lib/features/limit-order/utils/get-parsed-token-amounts.d.ts +3 -3
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/algebra-trade-providers.d.ts +3 -3
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/bridgers-trade-providers.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/curve-trade-providers.d.ts +11 -11
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/izumi-trade-providers.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/oneinch-trade-providers.d.ts +10 -10
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/pancake-router-providers.d.ts +3 -3
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/typed-trade-providers.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/uniswap-v2-trade-providers.d.ts +54 -54
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/uniswap-v3-trade-providers.d.ts +7 -7
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/xy-dex-trade-providers.d.ts +13 -13
- package/lib/features/on-chain/calculation-manager/constants/trade-providers/zrx-trade-providers.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/models/on-chain-manager-calculation-options.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/models/on-chain-trade-error.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/models/on-chain-typed-trade-provider.d.ts +3 -3
- package/lib/features/on-chain/calculation-manager/models/required-on-chain-manager-calculation-options.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/on-chain-manager.d.ts +12 -12
- package/lib/features/on-chain/calculation-manager/providers/common/evm-wrap-trade/evm-wrap-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/common/models/on-chain-calculation-options.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/common/models/on-chain-proxy-fee-info.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/common/on-chain-proxy-service/on-chain-proxy-service.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/common/on-chain-trade/evm-on-chain-trade/evm-on-chain-trade.d.ts +16 -16
- 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
- package/lib/features/on-chain/calculation-manager/providers/common/on-chain-trade/on-chain-trade.d.ts +10 -10
- package/lib/features/on-chain/calculation-manager/providers/common/on-chain-trade/tron-on-chain-trade/tron-on-chain-trade.d.ts +9 -9
- package/lib/features/on-chain/calculation-manager/providers/common/utils/get-gas-fee-info.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/common/utils/get-gas-price-info.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/curve-arbitrum/curve-arbitrum-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/curve-arbitrum/curve-arbitrum-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/oneinch-arbitrum/oneinch-arbitrum-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/sushi-swap-arbitrum/sushi-swap-arbitrum-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/sushi-swap-arbitrum/sushi-swap-arbitrum-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/uni-swap-v3-arbitrum/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/uni-swap-v3-arbitrum/constants/router-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/uni-swap-v3-arbitrum/uni-swap-v3-arbitrum-provider.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/uni-swap-v3-arbitrum/uni-swap-v3-arbitrum-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arbitrum/xy-dex-arbitrum/xy-dex-arbitrum-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/algebra-integral-provider.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/algebra-integral-trade.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/models/algebra-integral-route.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/algebra-integral/models/algebra-integral-trade-struct.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/arthera-testnet/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/astar-evm/arth-swap/arth-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/astar-evm/arth-swap/arth-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/astar-evm/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/oneinch-arbitrum/oneinch-aurora-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/trisolaris-aurora/trisolaris-aurora-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/trisolaris-aurora/trisolaris-aurora-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/wanna-swap-aurora/wanna-swap-aurora-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/aurora/wanna-swap-aurora/wanna-swap-aurora-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/curve-avalanche/curve-avalanche-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/curve-avalanche/curve-avalanche-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/joe/constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/joe/joe-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/joe/joe-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/oneinch-avalanche/oneinch-avalanche-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/pangolin/constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/pangolin/pangolin-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/pangolin/pangolin-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/sushi-swap-avalanche/sushi-swap-avalanche-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/sushi-swap-avalanche/sushi-swap-avalanche-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/swap-methods.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/avalanche/xy-dex-avalanche/xy-dex-avalanche-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/base/base-swap/base-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/base/base-swap/base-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/base/base-swap/constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/base/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/base/izumi-base/izumi-base-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/base/oneinch-base/oneinch-base-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/base/xy-dex-base/xy-dex-base-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/boba/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/boba/oolong-swap/oolong-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/boba/oolong-swap/oolong-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/izumi-bsc/izumi-bsc-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/oneinch-bsc/oneinch-bsc-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/pancake-router-bsc/pancake-router-bsc-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/pancake-swap/pancake-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/pancake-swap/pancake-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/sushi-swap-bsc/sushi-swap-bsc-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/sushi-swap-bsc/sushi-swap-bsc-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsc/xy-dex-bsc/xy-dex-bsc-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/pancake-swap-testnet/pancake-swap-testnet-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/pancake-swap-testnet/pancake-swap-testnet-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/trader-joe-bsct/trader-joe-bsct-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/bsct/trader-joe-bsct/trader-joe-bsct-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/celo/curve-celo/curve-celo-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/celo/curve-celo/curve-celo-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/algebra/algebra-quoter-controller.d.ts +7 -7
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/curve-provider/curve-abstract-provider.d.ts +8 -8
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/curve-provider/curve-abstract-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/curve-provider/models/curve-on-chain-trade-struct.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/curve-provider/models/curve-trade-class.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/izumi-abstract/izumi-provider.d.ts +7 -7
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/izumi-abstract/izumi-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/izumi-abstract/models/izumi-trade-struct.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/on-chain-provider/constants/provider-default-options.d.ts +1 -1
- 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
- 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
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/on-chain-provider/on-chain-provider.d.ts +8 -8
- 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
- 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
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/models/oneinch-calculation-options.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/models/oneinch-trade-struct.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/oneinch-abstract-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/oneinch-trade.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/oneinch-abstract/utils.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/pancake-router/models/pancake-router-trade-struct.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/pancake-router/pancake-router-provider.d.ts +7 -7
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/pancake-router/pancake-router-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/quickswap-v3/quickswap-v3-quoter-controller.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/constants/default-estimated-gas.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/constants/dex-trader/dex-trader-swap-method.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-calculated-info.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-route.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-v2-calculation-options.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-v2-trade-class.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/models/uniswap-v2-trade-struct.d.ts +3 -3
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/path-factory.d.ts +9 -9
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/uniswap-v2-abstract-provider.d.ts +10 -10
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v2-abstract/uniswap-v2-abstract-trade.d.ts +12 -12
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-calculated-info.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-route.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-router-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-trade-class.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/models/uniswap-v3-trade-struct.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/uniswap-v3-abstract-provider.d.ts +8 -8
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/uniswap-v3-abstract-trade.d.ts +6 -6
- 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
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/utils/quoter-controller/models/liquidity-pool.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-abstract/utils/quoter-controller/uniswap-v3-quoter-controller.d.ts +9 -9
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/create-trade-instance.d.ts +3 -3
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/uniswap-v3-algebra-calculated-info.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/uniswap-v3-algebra-calculation-options.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/uniswap-v3-algebra-quoter-controller.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/models/uniswap-v3-algebra-trade-struct.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/uniswap-v3-algebra-abstract-provider.d.ts +17 -17
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/uniswap-v3-algebra-abstract/uniswap-v3-algebra-abstract-trade.d.ts +12 -12
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/utils/get-from-to-tokens-amounts-by-exact.d.ts +3 -3
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/models/xy-dex-trade-struct.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/models/xy-quote-response.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/models/xy-swap-request.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/models/xy-swap-response.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/xy-dex-abstract-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/xy-dex-abstract/xy-dex-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/zrx-abstract/models/zrx-trade-struct.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/zrx-abstract/utils.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/zrx-abstract/zrx-abstract-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/common/zrx-abstract/zrx-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/cro-swap/cro-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/cro-swap/cro-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/crodex/crodex-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/crodex/crodex-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/crona-swap/crona-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/crona-swap/crona-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/cronos/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/defi-kingdoms/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/defi-kingdoms/trader-dfk/trader-dfk-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/defi-kingdoms/trader-dfk/trader-dfk-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/curve-ethereum/curve-ethereum-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/curve-ethereum/curve-ethereum-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/oneinch-ethereum/oneinch-ethereum-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/pancake-router-ethereum/pancake-router-ethereum-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/sushi-swap-ethereum/sushi-swap-ethereum-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/sushi-swap-ethereum/sushi-swap-ethereum-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v2-ethereum/constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v2-ethereum/uni-swap-v2-ethereum-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v2-ethereum/uni-swap-v2-ethereum-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v3-ethereum/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v3-ethereum/constants/router-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v3-ethereum/uni-swap-v3-ethereum-provider.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/uni-swap-v3-ethereum/uni-swap-v3-ethereum-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/verse/verse-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/verse/verse-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/xy-dex-ethereum/xy-dex-ethereum-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum/zrx-ethereum/zrx-ethereum-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/sushi-swap-ethereum-pow/sushi-swap-ethereum-pow-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/sushi-swap-ethereum-pow/sushi-swap-ethereum-pow-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v2-ethereum-pow/constants.d.ts +1 -1
- 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
- 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
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v3-ethereum-pow/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/ethereum-pow/uni-swap-v3-ethereum-pow/constants/router-configuration.d.ts +1 -1
- 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
- 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
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/curve-fantom/curve-fantom-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/curve-fantom/curve-fantom-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/oneinch-fantom/oneinch-fantom-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/soul-swap/soul-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/soul-swap/soul-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spirit-swap/spirit-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spirit-swap/spirit-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spooky-swap/constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spooky-swap/spooky-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/spooky-swap/spooky-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/sushi-swap-fantom/sushi-swap-fantom-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/sushi-swap-fantom/sushi-swap-fantom-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fantom/xy-dex-fantom/xy-dex-fantom-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/joe-fuji/joe-fuji-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/joe-fuji/joe-fuji-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/pangolin-fuji/pangolin-fuji-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/fuji/pangolin-fuji/pangolin-fuji-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/gnosis/curve-gnosis/curve-gnosis-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/gnosis/curve-gnosis/curve-gnosis-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/goerli/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/goerli/uni-swap-v2-goerli/constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/goerli/uni-swap-v2-goerli/uni-swap-v2-goerli-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/goerli/uni-swap-v2-goerli/uni-swap-v2-goerli-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/sushi-swap-harmony/sushi-swap-harmony-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/sushi-swap-harmony/sushi-swap-harmony-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/trader-harmony/trader-harmony-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/trader-harmony/trader-harmony-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/viper-swap-harmony/viper-swap-harmony-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/harmony/viper-swap-harmony/viper-swap-harmony-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/curve-kava/curve-kava-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/curve-kava/curve-kava-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/elk/elk-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/elk/elk-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/jupiter-swap/jupiter-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/jupiter-swap/jupiter-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/photon-swap/photon-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/photon-swap/photon-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/surfdex/surfdex-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/kava/surfdex/surfdex-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/klaytn/claim-swap/claim-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/klaytn/claim-swap/claim-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/klaytn/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/klaytn/klaytn-swap-method.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/horizondex/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/horizondex/constants/router-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/horizondex/horizondex-provider.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/horizondex/horizondex-trade.d.ts +3 -3
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/izumi-linea/izumi-linea-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/vooi/models/vooi-trade-struct.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/vooi/vooi-provider.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/vooi/vooi-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/linea/xy-dex-linea/xy-dex-linea-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/mantle/izumi-mantle/izumi-mantle-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/metis/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/metis/metis-swap-methods.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/metis/net-swap/net-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/metis/net-swap/net-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonbeam/curve-moonbeam/curve-moonbeam-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonbeam/curve-moonbeam/curve-moonbeam-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/solarbeam/constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/solarbeam/solarbeam-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/solarbeam/solarbeam-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/sushi-swap-moonriver/sushi-swap-moonriver-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/sushi-swap-moonriver/sushi-swap-moonriver-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/moonriver/xy-dex-moonriver/xy-dex-moonriver-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/mumbai/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/mumbai/quick-swap-mumbai/quick-swap-mumbai-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/mumbai/quick-swap-mumbai/quick-swap-mumbai-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/oasis/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/oasis/yuzu-swap/yuzu-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/oasis/yuzu-swap/yuzu-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/optimism/curve-optimism/curve-optimism-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/optimism/curve-optimism/curve-optimism-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/optimism/oneinch-optimism/oneinch-optimism-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/optimism/xy-dex-optimism/xy-dex-optimism-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/algebra-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/algebra-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/models/algebra-route.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/algebra/models/algebra-trade-struct.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/curve-polygon/curve-polygon-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/curve-polygon/curve-polygon-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/oneinch-polygon/oneinch-polygon-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap/quick-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap/quick-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/models/quick-swap-v3-route.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/models/quick-swap-v3-trade-struct.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/quick-swap-v3-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/quick-swap-v3/quick-swap-v3-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/sushi-swap-polygon/sushi-swap-polygon-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/sushi-swap-polygon/sushi-swap-polygon-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/uni-swap-v3-polygon/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/uni-swap-v3-polygon/constants/router-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/uni-swap-v3-polygon/uni-swap-v3-polygon-provider.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/uni-swap-v3-polygon/uni-swap-v3-polygon-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon/xy-dex-polygon/xy-dex-polygon-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/pancake-router-polygon-zkevm/pancake-router-polygon-zkevm-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/quick-swap-v3/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/quick-swap-v3/quick-swap-v3-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/quick-swap-v3/quick-swap-v3-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/polygon-zkevm/xy-dex-zkevm/xy-dex-zkevm-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/curve-pulsechain/curve-ethereum-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/curve-pulsechain/curve-ethereum-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/oneinch-pulsechain/oneinch-ethereum-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/pulsex-v1/pulsex-v1-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/pulsex-v1/pulsex-v1-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/pulsex-v2/pulsex-v2-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/pulsex-v2/pulsex-v2-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/sushi-swap-pulsechain/sushi-swap-pulsechain-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/sushi-swap-pulsechain/sushi-swap-pulsechain-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v2-pulsechain/constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v2-pulsechain/uni-swap-v2-pulsechain-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v2-pulsechain/uni-swap-v2-pulsechain-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v3-pulsechain/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v3-pulsechain/constants/router-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v3-pulsechain/uni-swap-v3-ethereum-provider.d.ts +4 -4
- package/lib/features/on-chain/calculation-manager/providers/dexes/pulsechain/uni-swap-v3-pulsechain/uni-swap-v3-ethereum-trade.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v2-scroll-sepolia/constants.d.ts +1 -1
- 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
- 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
- package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v3-scroll-sepolia/constants/provider-configuration.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/scroll-sepolia/uni-swap-v3-scroll-sepolia/constants/router-configuration.d.ts +1 -1
- 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
- package/lib/features/on-chain/calculation-manager/providers/dexes/syscoin/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/syscoin/pegasys/pegasys-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/syscoin/pegasys/pegasys-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/syscoin/syscoin-swap-method.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/ape-swap/ape-swap-telos-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/ape-swap/ape-swap-telos-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/omnidex/omnidex-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/omnidex/omnidex-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/sushi-swap-telos/sushi-swap-telos-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/sushi-swap-telos/sushi-swap-telos-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/zappy/trisolaris-aurora-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/telos/zappy/trisolaris-aurora-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/tron/bridgers/bridgers-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/tron/bridgers/bridgers-trade.d.ts +9 -9
- package/lib/features/on-chain/calculation-manager/providers/dexes/velas/astro-swap/astro-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/velas/astro-swap/astro-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/velas/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/velas/wagyu-swap/wagyu-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/velas/wagyu-swap/wagyu-swap-trade.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/default-constants.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/izumi-zksync/izumi-zksync-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/mute-swap/mute-swap-provider.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/mute-swap/mute-swap-trade.d.ts +5 -5
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/oneinch-zksync/oneinch-zksync-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/sync-swap/sync-swap-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/sync-swap/sync-swap-trade.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/sync-swap/utils/sync-swap-factory.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/sync-swap/utils/sync-swap-router.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/dexes/zksync/xy-dex-zksync/xy-dex-zksync-provider.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/lifi/constants/lifi-providers.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/lifi/lifi-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/lifi/lifi-trade.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/lifi/models/lifi-calculation-options.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/lifi/models/lifi-trade-struct.d.ts +2 -2
- package/lib/features/on-chain/calculation-manager/providers/open-ocean/models/open-ocean-trade-struct.d.ts +1 -1
- package/lib/features/on-chain/calculation-manager/providers/open-ocean/open-ocean-provider.d.ts +6 -6
- package/lib/features/on-chain/calculation-manager/providers/open-ocean/open-ocean-trade.d.ts +5 -5
- package/lib/features/on-chain/status-manager/on-chain-status-manager.d.ts +1 -1
- package/package.json +153 -153
@@ -1,7 +1,7 @@
|
|
1
|
-
import { EvmBlockchainName, TronBlockchainName } from
|
2
|
-
import { EvmWeb3Public } from
|
3
|
-
import { TronWeb3Public } from
|
4
|
-
import { Web3Public } from
|
1
|
+
import { EvmBlockchainName, TronBlockchainName } from "../../models/blockchain-name";
|
2
|
+
import { EvmWeb3Public } from "../web3-public/evm-web3-public/evm-web3-public";
|
3
|
+
import { TronWeb3Public } from "../web3-public/tron-web3-public/tron-web3-public";
|
4
|
+
import { Web3Public } from "../web3-public/web3-public";
|
5
5
|
export declare const web3PublicSupportedBlockchains: readonly [...("MUMBAI" | "BSCT" | "GOERLI" | "FUJI" | "SCROLL_SEPOLIA" | "ARTHERA" | "ZETACHAIN" | "ETH" | "BSC" | "POLYGON" | "POLYGON_ZKEVM" | "AVALANCHE" | "MOONRIVER" | "FANTOM" | "HARMONY" | "ARBITRUM" | "AURORA" | "TELOS" | "OPTIMISM" | "CRONOS" | "OKX" | "GNOSIS" | "FUSE" | "MOONBEAM" | "CELO" | "BOBA" | "BOBA_BSC" | "BOBA_AVALANCHE" | "ASTAR_EVM" | "ETHW" | "KAVA" | "BITGERT" | "OASIS" | "METIS" | "DEFIKINGDOMS" | "KLAYTN" | "VELAS" | "SYSCOIN" | "ETHEREUM_CLASSIC" | "FLARE" | "IOTEX" | "THETA" | "BITCOIN_CASH" | "ZK_SYNC" | "PULSECHAIN" | "LINEA" | "BASE" | "MANTLE")[], "TRON"];
|
6
6
|
export type Web3PublicSupportedBlockchain = (typeof web3PublicSupportedBlockchains)[number];
|
7
7
|
export type Web3PublicStorage = Record<Web3PublicSupportedBlockchain, Web3Public> & Record<EvmBlockchainName, EvmWeb3Public> & Record<TronBlockchainName, TronWeb3Public>;
|
package/lib/core/blockchain/web3-public-service/web3-public/constants/multicall-addresses.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import { Web3PublicSupportedBlockchain } from
|
1
|
+
import { Web3PublicSupportedBlockchain } from "../../models/web3-public-storage";
|
2
2
|
export declare const MULTICALL_ADDRESSES: Record<Web3PublicSupportedBlockchain, string>;
|
package/lib/core/blockchain/web3-public-service/web3-public/evm-web3-public/evm-web3-public.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
2
|
-
import { EvmBlockchainName } from
|
3
|
-
import { Web3PrimitiveType } from
|
4
|
-
import { BatchCall } from
|
5
|
-
import { ContractMulticallResponse } from
|
6
|
-
import { MethodData } from
|
7
|
-
import { TxStatus } from
|
8
|
-
import { Web3Public } from
|
9
|
-
import { HttpClient } from
|
2
|
+
import { EvmBlockchainName } from "../../../models/blockchain-name";
|
3
|
+
import { Web3PrimitiveType } from "../../../models/web3-primitive-type";
|
4
|
+
import { BatchCall } from "./models/batch-call";
|
5
|
+
import { ContractMulticallResponse } from "../models/contract-multicall-response";
|
6
|
+
import { MethodData } from "../models/method-data";
|
7
|
+
import { TxStatus } from "../models/tx-status";
|
8
|
+
import { Web3Public } from "../web3-public";
|
9
|
+
import { HttpClient } from "../../../../http-client/models/http-client";
|
10
10
|
import Web3 from 'web3';
|
11
11
|
import { BlockNumber, provider as Provider } from 'web3-core';
|
12
12
|
import { BlockTransactionString, TransactionReceipt } from 'web3-eth';
|
package/lib/core/blockchain/web3-public-service/web3-public/models/contract-multicall-response.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Web3PrimitiveType } from
|
1
|
+
import { Web3PrimitiveType } from "../../../models/web3-primitive-type";
|
2
2
|
export interface ContractMulticallResponse<Output extends Web3PrimitiveType> {
|
3
3
|
success: boolean;
|
4
4
|
output: Output | null;
|
package/lib/core/blockchain/web3-public-service/web3-public/tron-web3-public/tron-web3-public.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
2
|
-
import { TronWeb } from
|
3
|
-
import { Web3PrimitiveType } from
|
4
|
-
import { ContractMulticallResponse } from
|
5
|
-
import { MethodData } from
|
6
|
-
import { TxStatus } from
|
7
|
-
import { TronBlock } from
|
8
|
-
import { TronTransactionInfo } from
|
9
|
-
import { TronWebProvider } from
|
10
|
-
import { Web3Public } from
|
2
|
+
import { TronWeb } from "../../../constants/tron/tron-web";
|
3
|
+
import { Web3PrimitiveType } from "../../../models/web3-primitive-type";
|
4
|
+
import { ContractMulticallResponse } from "../models/contract-multicall-response";
|
5
|
+
import { MethodData } from "../models/method-data";
|
6
|
+
import { TxStatus } from "../models/tx-status";
|
7
|
+
import { TronBlock } from "./models/tron-block";
|
8
|
+
import { TronTransactionInfo } from "./models/tron-transaction-info";
|
9
|
+
import { TronWebProvider } from "./models/tron-web-provider";
|
10
|
+
import { Web3Public } from "../web3-public";
|
11
11
|
import { AbiItem } from 'web3-utils';
|
12
12
|
export declare class TronWeb3Public extends Web3Public {
|
13
13
|
private readonly tronWeb;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
2
|
-
import { Token } from
|
3
|
-
import { Web3PrimitiveType } from
|
4
|
-
import { Web3PublicSupportedBlockchain } from
|
5
|
-
import { ContractMulticallResponse } from
|
6
|
-
import { MethodData } from
|
7
|
-
import { SupportedTokenField } from
|
8
|
-
import { TxStatus } from
|
9
|
-
import { TronWeb3Pure } from
|
2
|
+
import { Token } from "../../../../common/tokens";
|
3
|
+
import { Web3PrimitiveType } from "../../models/web3-primitive-type";
|
4
|
+
import { Web3PublicSupportedBlockchain } from "../models/web3-public-storage";
|
5
|
+
import { ContractMulticallResponse } from "./models/contract-multicall-response";
|
6
|
+
import { MethodData } from "./models/method-data";
|
7
|
+
import { SupportedTokenField } from "./models/supported-token-field";
|
8
|
+
import { TxStatus } from "./models/tx-status";
|
9
|
+
import { TronWeb3Pure } from "../../web3-pure/typed-web3-pure/tron-web3-pure/tron-web3-pure";
|
10
10
|
import { AbiItem } from 'web3-utils';
|
11
11
|
/**
|
12
12
|
* Class containing methods for calling contracts in order to obtain information from the blockchain.
|
@@ -15,7 +15,7 @@ import { AbiItem } from 'web3-utils';
|
|
15
15
|
export declare abstract class Web3Public {
|
16
16
|
protected readonly blockchainName: Web3PublicSupportedBlockchain;
|
17
17
|
protected readonly multicallAddress: string;
|
18
|
-
protected readonly Web3Pure: typeof
|
18
|
+
protected readonly Web3Pure: typeof import("../../../..").SolanaWeb3Pure | typeof import("../../../..").NearWeb3Pure | typeof import("../../../..").BitcoinWeb3Pure | typeof TronWeb3Pure | typeof import("../../../..").IcpWeb3Pure | typeof import("../../../..").CardanoWeb3Pure | typeof import("../../../..").AlgorandWeb3Pure | typeof import("../../../..").AptosWeb3Pure | typeof import("../../../..").AstarWeb3Pure | typeof import("../../../..").CosmosWeb3Pure | typeof import("../../../..").CasperWeb3Pure | typeof import("../../../..").DashWeb3Pure | typeof import("../../../..").DogecoinWeb3Pure | typeof import("../../../..").PolkadotWeb3Pure | typeof import("../../../..").FlowWeb3Pure | typeof import("../../../..").HederaWeb3Pure | typeof import("../../../..").IotaWeb3Pure | typeof import("../../../..").KadenaWeb3Pure | typeof import("../../../..").KusamaWeb3Pure | typeof import("../../../..").LitecoinWeb3Pure | typeof import("../../../..").MinaWeb3Pure | typeof import("../../../..").NeoWeb3Pure | typeof import("../../../..").OsmosisWeb3Pure | typeof import("../../../..").SiaWeb3Pure | typeof import("../../../..").SecretWeb3Pure | typeof import("../../../..").TonWeb3Pure | typeof import("../../../..").WavesWeb3Pure | typeof import("../../../..").WaxWeb3Pure | typeof import("../../../..").StellarWeb3Pure | typeof import("../../../..").MoneroWeb3Pure | typeof import("../../../..").RippleWeb3Pure | typeof import("../../../..").TezosWeb3Pure | typeof import("../../../..").ZilliqaWeb3Pure | typeof import("../../../..").KavaCosmosWeb3Pure | typeof import("../../../..").FilecoinWeb3Pure | typeof import("../../../..").EosWeb3Pure | typeof import("../../../..").OntologyWeb3Pure | typeof import("../../../..").XdcWeb3Pure | typeof import("../../../..").EvmWeb3Pure;
|
19
19
|
protected abstract readonly tokenContractAbi: AbiItem[];
|
20
20
|
protected constructor(blockchainName: Web3PublicSupportedBlockchain);
|
21
21
|
/**
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { BlockchainName, EvmBlockchainName, TronBlockchainName } from
|
2
|
-
import { Web3PublicSupportedBlockchain } from
|
3
|
-
import { EvmWeb3Public } from
|
4
|
-
import { TronWeb3Public } from
|
5
|
-
import { Web3Public } from
|
6
|
-
import { RpcProviders } from
|
1
|
+
import { BlockchainName, EvmBlockchainName, TronBlockchainName } from "../models/blockchain-name";
|
2
|
+
import { Web3PublicSupportedBlockchain } from "./models/web3-public-storage";
|
3
|
+
import { EvmWeb3Public } from "./web3-public/evm-web3-public/evm-web3-public";
|
4
|
+
import { TronWeb3Public } from "./web3-public/tron-web3-public/tron-web3-public";
|
5
|
+
import { Web3Public } from "./web3-public/web3-public";
|
6
|
+
import { RpcProviders } from "../../sdk/models/rpc-provider";
|
7
7
|
export declare class Web3PublicService {
|
8
8
|
readonly rpcProvider: RpcProviders;
|
9
9
|
static isSupportedBlockchain(blockchain: BlockchainName): blockchain is Web3PublicSupportedBlockchain;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { ChainType } from
|
2
|
-
import { TypedWeb3Pure } from
|
1
|
+
import { ChainType } from "../../models/chain-type";
|
2
|
+
import { TypedWeb3Pure } from "../typed-web3-pure/typed-web3-pure";
|
3
3
|
export type Web3PureContainer = Record<ChainType, TypedWeb3Pure>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Result } from 'ethers/lib/utils';
|
2
|
-
import { EvmEncodeConfig } from
|
3
|
-
import { TransactionGasParams } from
|
2
|
+
import { EvmEncodeConfig } from "./models/evm-encode-config";
|
3
|
+
import { TransactionGasParams } from "../../../../../features/on-chain/calculation-manager/providers/common/on-chain-trade/evm-on-chain-trade/models/gas-params";
|
4
4
|
import { AbiItem } from 'web3-utils';
|
5
5
|
export type DecodeResult<T> = Result & T;
|
6
6
|
export declare class EvmWeb3Pure {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { TronWeb3PrimitiveType, Web3PrimitiveType } from
|
2
|
-
import { TronParameters } from
|
3
|
-
import { TronTransactionConfig } from
|
1
|
+
import { TronWeb3PrimitiveType, Web3PrimitiveType } from "../../../models/web3-primitive-type";
|
2
|
+
import { TronParameters } from "./models/tron-parameters";
|
3
|
+
import { TronTransactionConfig } from "./models/tron-transaction-config";
|
4
4
|
import { AbiItem, AbiOutput } from 'web3-utils';
|
5
5
|
export declare class TronWeb3Pure {
|
6
6
|
static readonly EMPTY_ADDRESS = "0x0000000000000000000000000000000000000000";
|
@@ -1,44 +1,44 @@
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
2
|
-
import { CHAIN_TYPE } from
|
3
|
-
import { BitcoinWeb3Pure } from
|
4
|
-
import { EosWeb3Pure } from
|
5
|
-
import { EvmWeb3Pure } from
|
6
|
-
import { FilecoinWeb3Pure } from
|
7
|
-
import { IcpWeb3Pure } from
|
8
|
-
import { AlgorandWeb3Pure } from
|
9
|
-
import { AptosWeb3Pure } from
|
10
|
-
import { AstarWeb3Pure } from
|
11
|
-
import { CardanoWeb3Pure } from
|
12
|
-
import { CasperWeb3Pure } from
|
13
|
-
import { CosmosWeb3Pure } from
|
14
|
-
import { DashWeb3Pure } from
|
15
|
-
import { DogecoinWeb3Pure } from
|
16
|
-
import { FlowWeb3Pure } from
|
17
|
-
import { HederaWeb3Pure } from
|
18
|
-
import { IotaWeb3Pure } from
|
19
|
-
import { KadenaWeb3Pure } from
|
20
|
-
import { KavaCosmosWeb3Pure } from
|
21
|
-
import { KusamaWeb3Pure } from
|
22
|
-
import { LitecoinWeb3Pure } from
|
23
|
-
import { MinaWeb3Pure } from
|
24
|
-
import { MoneroWeb3Pure } from
|
25
|
-
import { NearWeb3Pure } from
|
26
|
-
import { NeoWeb3Pure } from
|
27
|
-
import { OsmosisWeb3Pure } from
|
28
|
-
import { PolkadotWeb3Pure } from
|
29
|
-
import { RippleWeb3Pure } from
|
30
|
-
import { SecretWeb3Pure } from
|
31
|
-
import { SiaWeb3Pure } from
|
32
|
-
import { SolanaWeb3Pure } from
|
33
|
-
import { StellarWeb3Pure } from
|
34
|
-
import { TezosWeb3Pure } from
|
35
|
-
import { TonWeb3Pure } from
|
36
|
-
import { WavesWeb3Pure } from
|
37
|
-
import { WaxWeb3Pure } from
|
38
|
-
import { ZilliqaWeb3Pure } from
|
39
|
-
import { OntologyWeb3Pure } from
|
40
|
-
import { TronWeb3Pure } from
|
41
|
-
import { XdcWeb3Pure } from
|
2
|
+
import { CHAIN_TYPE } from "../models/chain-type";
|
3
|
+
import { BitcoinWeb3Pure } from "./typed-web3-pure/bitcoin-web3-pure";
|
4
|
+
import { EosWeb3Pure } from "./typed-web3-pure/eos-web3-pure";
|
5
|
+
import { EvmWeb3Pure } from "./typed-web3-pure/evm-web3-pure/evm-web3-pure";
|
6
|
+
import { FilecoinWeb3Pure } from "./typed-web3-pure/filecoin-web3-pure";
|
7
|
+
import { IcpWeb3Pure } from "./typed-web3-pure/icp-web3-pure";
|
8
|
+
import { AlgorandWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/algorand-web3-pure";
|
9
|
+
import { AptosWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/aptos-web3-pure";
|
10
|
+
import { AstarWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/astar-web3-pure";
|
11
|
+
import { CardanoWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/cardano-web3-pure";
|
12
|
+
import { CasperWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/casper-web3-pure";
|
13
|
+
import { CosmosWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/cosmos-web3-pure";
|
14
|
+
import { DashWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/dash-web3-pure";
|
15
|
+
import { DogecoinWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/dogecoin-web3-pure";
|
16
|
+
import { FlowWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/flow-web3-pure";
|
17
|
+
import { HederaWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/hedear-web3-pure";
|
18
|
+
import { IotaWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/iota-web3-pure";
|
19
|
+
import { KadenaWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/kadena-web3-pure";
|
20
|
+
import { KavaCosmosWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/kava-cosmos-web3-pure";
|
21
|
+
import { KusamaWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/kusama-web3-pure";
|
22
|
+
import { LitecoinWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/litecoin-web3-pure";
|
23
|
+
import { MinaWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/mina-web3-pure";
|
24
|
+
import { MoneroWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/monero-web3-pure";
|
25
|
+
import { NearWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/near-web3-pure";
|
26
|
+
import { NeoWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/neo-web3-pure";
|
27
|
+
import { OsmosisWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/osmosis-web3-pure";
|
28
|
+
import { PolkadotWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/polkadot-web3-pure";
|
29
|
+
import { RippleWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/ripple-web3-pure";
|
30
|
+
import { SecretWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/secret-web3-pure";
|
31
|
+
import { SiaWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/sia-web3-pure";
|
32
|
+
import { SolanaWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/solana-web3-pure";
|
33
|
+
import { StellarWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/stellar-web3-pure";
|
34
|
+
import { TezosWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/tezos-web3-pure";
|
35
|
+
import { TonWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/ton-web3-pure";
|
36
|
+
import { WavesWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/waves-web3-pure";
|
37
|
+
import { WaxWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/wax-web3-pure";
|
38
|
+
import { ZilliqaWeb3Pure } from "./typed-web3-pure/non-evm-web3-pure/zilliqa-web3-pure";
|
39
|
+
import { OntologyWeb3Pure } from "./typed-web3-pure/ontology-web3-pure";
|
40
|
+
import { TronWeb3Pure } from "./typed-web3-pure/tron-web3-pure/tron-web3-pure";
|
41
|
+
import { XdcWeb3Pure } from "./typed-web3-pure/xdc-web3-pure";
|
42
42
|
/**
|
43
43
|
* Contains common methods, connected with web3, e.g. wei conversion, encoding data, etc.
|
44
44
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
2
|
-
import { BlockchainName } from
|
3
|
-
import { HttpClient } from
|
2
|
+
import { BlockchainName } from "../blockchain/models/blockchain-name";
|
3
|
+
import { HttpClient } from "../http-client/models/http-client";
|
4
4
|
/**
|
5
5
|
* Works with coingecko api to get tokens prices in usd.
|
6
6
|
*/
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { BlockchainName } from
|
1
|
+
import { BlockchainName } from "../../blockchain/models/blockchain-name";
|
2
2
|
export declare const EIP1559CompatibleBlockchains: Record<BlockchainName, boolean>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { EvmBlockchainName } from
|
2
|
-
import { HttpClient } from
|
1
|
+
import { EvmBlockchainName } from "../blockchain/models/blockchain-name";
|
2
|
+
import { HttpClient } from "../http-client/models/http-client";
|
3
3
|
import { GasPrice } from '../blockchain/web3-public-service/web3-public/evm-web3-public/models/gas-price';
|
4
4
|
/**
|
5
5
|
* Uses different api or web3 to retrieve current gas price.
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { Web3PrivateService } from
|
2
|
-
import { Web3PublicService } from
|
3
|
-
import { CoingeckoApi } from
|
4
|
-
import { GasPriceApi } from
|
5
|
-
import { HttpClient } from
|
1
|
+
import { Web3PrivateService } from "../blockchain/web3-private-service/web3-private-service";
|
2
|
+
import { Web3PublicService } from "../blockchain/web3-public-service/web3-public-service";
|
3
|
+
import { CoingeckoApi } from "../coingecko-api/coingecko-api";
|
4
|
+
import { GasPriceApi } from "../gas-price-api/gas-price-api";
|
5
|
+
import { HttpClient } from "../http-client/models/http-client";
|
6
6
|
export declare class Injector {
|
7
7
|
private readonly web3PublicService;
|
8
8
|
private readonly web3PrivateService;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { HttpClient } from
|
2
|
-
import { ProviderAddress } from
|
3
|
-
import { RpcProviders } from
|
4
|
-
import { WalletProvider } from
|
1
|
+
import { HttpClient } from "../../http-client/models/http-client";
|
2
|
+
import { ProviderAddress } from "./provider-address";
|
3
|
+
import { RpcProviders } from "./rpc-provider";
|
4
|
+
import { WalletProvider } from "./wallet-provider";
|
5
5
|
/**
|
6
6
|
* Main sdk configuration.
|
7
7
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { EvmBlockchainName, TronBlockchainName } from
|
2
|
-
import { TronWebProvider } from
|
1
|
+
import { EvmBlockchainName, TronBlockchainName } from "../../blockchain/models/blockchain-name";
|
2
|
+
import { TronWebProvider } from "../../blockchain/web3-public-service/web3-public/tron-web3-public/models/tron-web-provider";
|
3
3
|
/**
|
4
4
|
* Stores information about rpc in certain blockchain.
|
5
5
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Any } from
|
2
|
-
import { TronWeb } from
|
3
|
-
import { CHAIN_TYPE } from
|
1
|
+
import { Any } from "../../../common/utils/types";
|
2
|
+
import { TronWeb } from "../../blockchain/constants/tron/tron-web";
|
3
|
+
import { CHAIN_TYPE } from "../../blockchain/models/chain-type";
|
4
4
|
import Web3 from 'web3';
|
5
5
|
import { provider } from 'web3-core';
|
6
6
|
export interface WalletProviderCore<T = Any> {
|
package/lib/core/sdk/sdk.d.ts
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
import { Web3PrivateService } from
|
2
|
-
import { Web3PublicService } from
|
3
|
-
import { CoingeckoApi } from
|
4
|
-
import { GasPriceApi } from
|
5
|
-
import { Configuration } from
|
6
|
-
import { WalletProvider, WalletProviderCore } from
|
7
|
-
import { CrossChainManager } from
|
8
|
-
import { CrossChainStatusManager } from
|
9
|
-
import { CrossChainSymbiosisManager } from
|
10
|
-
import { DeflationTokenManager } from
|
11
|
-
import { LimitOrderManager } from
|
12
|
-
import { OnChainManager } from
|
13
|
-
import { OnChainStatusManager } from
|
1
|
+
import { Web3PrivateService } from "../blockchain/web3-private-service/web3-private-service";
|
2
|
+
import { Web3PublicService } from "../blockchain/web3-public-service/web3-public-service";
|
3
|
+
import { CoingeckoApi } from "../coingecko-api/coingecko-api";
|
4
|
+
import { GasPriceApi } from "../gas-price-api/gas-price-api";
|
5
|
+
import { Configuration } from "./models/configuration";
|
6
|
+
import { WalletProvider, WalletProviderCore } from "./models/wallet-provider";
|
7
|
+
import { CrossChainManager } from "../../features/cross-chain/calculation-manager/cross-chain-manager";
|
8
|
+
import { CrossChainStatusManager } from "../../features/cross-chain/status-manager/cross-chain-status-manager";
|
9
|
+
import { CrossChainSymbiosisManager } from "../../features/cross-chain/symbiosis-manager/cross-chain-symbiosis-manager";
|
10
|
+
import { DeflationTokenManager } from "../../features/deflation-token-manager/deflation-token-manager";
|
11
|
+
import { LimitOrderManager } from "../../features/limit-order/limit-order-manager";
|
12
|
+
import { OnChainManager } from "../../features/on-chain/calculation-manager/on-chain-manager";
|
13
|
+
import { OnChainStatusManager } from "../../features/on-chain/status-manager/on-chain-status-manager";
|
14
14
|
/**
|
15
15
|
* Base class to work with sdk.
|
16
16
|
*/
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { EvmBlockchainName } from
|
1
|
+
import { EvmBlockchainName } from "../../../core/blockchain/models/blockchain-name";
|
2
2
|
export declare const wlContractAddress: Record<EvmBlockchainName, string>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EIP1559Gas, SingleGasPrice } from
|
1
|
+
import { EIP1559Gas, SingleGasPrice } from "../../../core/blockchain/web3-public-service/web3-public/evm-web3-public/models/gas-price";
|
2
2
|
/**
|
3
3
|
* Stores options for transaction in `encode` function.
|
4
4
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EIP1559Gas, SingleGasPrice } from
|
1
|
+
import { EIP1559Gas, SingleGasPrice } from "../../../core/blockchain/web3-public-service/web3-public/evm-web3-public/models/gas-price";
|
2
2
|
export interface SwapTransactionOptions {
|
3
3
|
/**
|
4
4
|
* Callback to be called, when user confirm swap transaction.
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { BridgersCrossChainSupportedBlockchain } from
|
1
|
+
import { BridgersCrossChainSupportedBlockchain } from "../../../../cross-chain/calculation-manager/providers/bridgers-provider/constants/bridgers-cross-chain-supported-blockchain";
|
2
2
|
export declare const toBridgersBlockchain: Record<BridgersCrossChainSupportedBlockchain, string>;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { BridgersSourceFlag } from
|
2
|
-
import { EvmBridgersTransactionData } from
|
3
|
-
import { TronBridgersTransactionData } from
|
1
|
+
import { BridgersSourceFlag } from "./bridgers-source-flag";
|
2
|
+
import { EvmBridgersTransactionData } from "../../../../cross-chain/calculation-manager/providers/bridgers-provider/evm-bridgers-trade/models/evm-bridgers-transaction-data";
|
3
|
+
import { TronBridgersTransactionData } from "../../../../cross-chain/calculation-manager/providers/bridgers-provider/tron-bridgers-trade/models/tron-bridgers-transaction-data";
|
4
4
|
export interface BridgersSwapRequest {
|
5
5
|
fromTokenAddress: string;
|
6
6
|
toTokenAddress: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { TxStatus } from
|
1
|
+
import { TxStatus } from "../../../../core/blockchain/web3-public-service/web3-public/models/tx-status";
|
2
2
|
export interface TxStatusData {
|
3
3
|
status: TxStatus;
|
4
4
|
hash: string | null;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { TxStatusData } from
|
2
|
-
import { BridgersCrossChainSupportedBlockchain } from
|
1
|
+
import { TxStatusData } from "../models/tx-status-data";
|
2
|
+
import { BridgersCrossChainSupportedBlockchain } from "../../../cross-chain/calculation-manager/providers/bridgers-provider/constants/bridgers-cross-chain-supported-blockchain";
|
3
3
|
export declare function getBridgersTradeStatus(srcTxHash: string, fromBlockchain: BridgersCrossChainSupportedBlockchain, sourceFlag: 'rubic' | 'rubic_widget', amountOutMin?: string): Promise<TxStatusData>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Web3PublicSupportedBlockchain } from
|
2
|
-
import { TxStatus } from
|
1
|
+
import { Web3PublicSupportedBlockchain } from "../../../../core/blockchain/web3-public-service/models/web3-public-storage";
|
2
|
+
import { TxStatus } from "../../../../core/blockchain/web3-public-service/web3-public/models/tx-status";
|
3
3
|
/**
|
4
4
|
* Get cross-chain trade's source transaction status via receipt.
|
5
5
|
* @returns Cross-chain transaction status.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BlockchainName } from
|
2
|
-
import { CrossChainTradeType } from
|
3
|
-
import { OnChainTradeType } from
|
1
|
+
import { BlockchainName } from "../../../core/blockchain/models/blockchain-name";
|
2
|
+
import { CrossChainTradeType } from "../../cross-chain/calculation-manager/models/cross-chain-trade-type";
|
3
|
+
import { OnChainTradeType } from "../../on-chain/calculation-manager/providers/common/models/on-chain-trade-type";
|
4
4
|
export declare function isAddressCorrect(address: string, toBlockchain: BlockchainName, crossChainType?: CrossChainTradeType | OnChainTradeType): Promise<boolean>;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { PriceTokenAmount } from
|
2
|
-
import { BlockchainName } from
|
1
|
+
import { PriceTokenAmount } from "../../../common/tokens";
|
2
|
+
import { BlockchainName } from "../../../core/blockchain/models/blockchain-name";
|
3
3
|
export declare function getFromWithoutFee<T extends BlockchainName>(from: PriceTokenAmount<T>, platformFeePercent: number | undefined): PriceTokenAmount<T>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
2
|
-
import { PriceToken, PriceTokenAmount, Token } from
|
3
|
-
import { BlockchainName } from
|
2
|
+
import { PriceToken, PriceTokenAmount, Token } from "../../../common/tokens";
|
3
|
+
import { BlockchainName } from "../../../core/blockchain/models/blockchain-name";
|
4
4
|
export declare function getPriceTokensFromInputTokens<T extends BlockchainName = BlockchainName>(from: Token<T> | {
|
5
5
|
address: string;
|
6
6
|
blockchain: T;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { Token } from
|
1
|
+
import { Token } from "../../../common/tokens";
|
2
2
|
export declare function createTokenNativeAddressProxy<T extends Token>(token: T, wrappedNativeAddress: string, useLowerCase?: boolean): T;
|
3
3
|
export declare function createTokenNativeAddressProxyInPathStartAndEnd<T extends Token>(path: T[] | ReadonlyArray<T>, wrappedNativeAddress: string): ReadonlyArray<T>;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { ArbitrumRbcBridgeProvider } from
|
2
|
-
import { BridgersCrossChainProvider } from
|
3
|
-
import { CbridgeCrossChainProvider } from
|
4
|
-
import { ChangenowCrossChainProvider } from
|
5
|
-
import { DebridgeCrossChainProvider } from
|
6
|
-
import { LifiCrossChainProvider } from
|
7
|
-
import { SquidrouterCrossChainProvider } from
|
8
|
-
import { SymbiosisCrossChainProvider } from
|
9
|
-
import { XyCrossChainProvider } from
|
1
|
+
import { ArbitrumRbcBridgeProvider } from "../providers/arbitrum-rbc-bridge/arbitrum-rbc-bridge-provider";
|
2
|
+
import { BridgersCrossChainProvider } from "../providers/bridgers-provider/bridgers-cross-chain-provider";
|
3
|
+
import { CbridgeCrossChainProvider } from "../providers/cbridge/cbridge-cross-chain-provider";
|
4
|
+
import { ChangenowCrossChainProvider } from "../providers/changenow-provider/changenow-cross-chain-provider";
|
5
|
+
import { DebridgeCrossChainProvider } from "../providers/debridge-provider/debridge-cross-chain-provider";
|
6
|
+
import { LifiCrossChainProvider } from "../providers/lifi-provider/lifi-cross-chain-provider";
|
7
|
+
import { SquidrouterCrossChainProvider } from "../providers/squidrouter-provider/squidrouter-cross-chain-provider";
|
8
|
+
import { SymbiosisCrossChainProvider } from "../providers/symbiosis-provider/symbiosis-cross-chain-provider";
|
9
|
+
import { XyCrossChainProvider } from "../providers/xy-provider/xy-cross-chain-provider";
|
10
10
|
import { StargateCrossChainProvider } from '../providers/stargate-provider/stargate-cross-chain-provider';
|
11
11
|
export declare const CrossChainProviders: readonly [typeof SymbiosisCrossChainProvider, typeof StargateCrossChainProvider, typeof XyCrossChainProvider, typeof CbridgeCrossChainProvider, typeof LifiCrossChainProvider, typeof SquidrouterCrossChainProvider, typeof DebridgeCrossChainProvider, typeof BridgersCrossChainProvider, typeof ChangenowCrossChainProvider, typeof ArbitrumRbcBridgeProvider];
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { RequiredCrossChainManagerCalculationOptions } from
|
1
|
+
import { RequiredCrossChainManagerCalculationOptions } from "../models/cross-chain-manager-options";
|
2
2
|
export declare const defaultCrossChainCalculationOptions: Omit<RequiredCrossChainManagerCalculationOptions, 'providerAddress'>;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
2
2
|
import { Observable } from 'rxjs';
|
3
|
-
import { PriceToken, Token } from
|
4
|
-
import { BlockchainName } from
|
5
|
-
import { ProviderAddress } from
|
6
|
-
import { CrossChainManagerCalculationOptions } from
|
7
|
-
import { CrossChainReactivelyCalculatedTradeData } from
|
8
|
-
import { CrossChainTypedTradeProviders } from
|
9
|
-
import { WrappedCrossChainTrade } from
|
3
|
+
import { PriceToken, Token } from "../../../common/tokens";
|
4
|
+
import { BlockchainName } from "../../../core/blockchain/models/blockchain-name";
|
5
|
+
import { ProviderAddress } from "../../../core/sdk/models/provider-address";
|
6
|
+
import { CrossChainManagerCalculationOptions } from "./models/cross-chain-manager-options";
|
7
|
+
import { CrossChainReactivelyCalculatedTradeData } from "./models/cross-chain-reactively-calculated-trade-data";
|
8
|
+
import { CrossChainTypedTradeProviders } from "./models/cross-chain-typed-trade-provider";
|
9
|
+
import { WrappedCrossChainTrade } from "./providers/common/models/wrapped-cross-chain-trade";
|
10
10
|
/**
|
11
11
|
* Contains method to calculate best cross-chain trade.
|
12
12
|
*/
|
package/lib/features/cross-chain/calculation-manager/models/cross-chain-manager-options.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { CrossChainOptions, RequiredCrossChainOptions } from
|
2
|
-
import { CrossChainTradeType } from
|
3
|
-
import { LifiBridgeTypes } from
|
1
|
+
import { CrossChainOptions, RequiredCrossChainOptions } from "./cross-chain-options";
|
2
|
+
import { CrossChainTradeType } from "./cross-chain-trade-type";
|
3
|
+
import { LifiBridgeTypes } from "../providers/lifi-provider/models/lifi-bridge-types";
|
4
4
|
import { MarkRequired } from 'ts-essentials';
|
5
5
|
export type CrossChainManagerCalculationOptions = Omit<CrossChainOptions, 'providerAddress'> & {
|
6
6
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { CrossChainTradeType } from
|
2
|
-
import { LifiBridgeTypes } from
|
1
|
+
import { CrossChainTradeType } from "./cross-chain-trade-type";
|
2
|
+
import { LifiBridgeTypes } from "../providers/lifi-provider/models/lifi-bridge-types";
|
3
3
|
import { MarkRequired } from 'ts-essentials';
|
4
4
|
export interface CrossChainOptions {
|
5
5
|
/**
|
package/lib/features/cross-chain/calculation-manager/models/cross-chain-typed-trade-provider.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
import { CrossChainTradeType } from
|
2
|
-
import { CrossChainProvider } from
|
1
|
+
import { CrossChainTradeType } from "./cross-chain-trade-type";
|
2
|
+
import { CrossChainProvider } from "../providers/common/cross-chain-provider";
|
3
3
|
export type CrossChainTypedTradeProviders = Readonly<Record<CrossChainTradeType, CrossChainProvider>>;
|
package/lib/features/cross-chain/calculation-manager/models/wrapped-cross-chain-trade-or-null.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
import { WrappedCrossChainTrade } from
|
1
|
+
import { WrappedCrossChainTrade } from "../providers/common/models/wrapped-cross-chain-trade";
|
2
2
|
export type WrappedCrossChainTradeOrNull = WrappedCrossChainTrade | null;
|