UNPKG

rubic-sdk

Version:
15 lines (14 loc) 1.08 kB
import { PriceToken, PriceTokenAmount } from "../../../../../common/tokens"; import { BlockchainName, EvmBlockchainName } from "../../../../../core/blockchain/models/blockchain-name"; import { RequiredCrossChainOptions } from '../../models/cross-chain-options'; import { CrossChainProvider } from '../common/cross-chain-provider'; import { CalculationResult } from '../common/models/calculation-result'; import { FeeInfo } from '../common/models/fee-info'; import { RubicStep } from '../common/models/rubicStep'; export declare class TeleSwapCcrProvider extends CrossChainProvider { readonly type: "tele_swap"; isSupportedBlockchain(blockchain: BlockchainName): boolean; calculate(from: PriceTokenAmount<BlockchainName>, toToken: PriceToken, options: RequiredCrossChainOptions): Promise<CalculationResult>; protected getFeeInfo(fromBlockchain: Partial<EvmBlockchainName>, providerAddress: string, percentFeeToken: PriceTokenAmount, useProxy: boolean): Promise<FeeInfo>; protected getRoutePath(from: PriceTokenAmount, to: PriceTokenAmount): Promise<RubicStep[]>; }