UNPKG

rubic-sdk-next

Version:
33 lines (32 loc) 1.68 kB
import BigNumber from 'bignumber.js'; import { PriceTokenAmount } from '../../../../../../common/tokens'; import { BitcoinBlockchainName, BlockchainName } from '../../../../../../core/blockchain/models/blockchain-name'; import { BitcoinCrossChainTrade } from '../../common/bitcoin-cross-chain-trade/bitcoin-cross-chain-trade'; import { RouterBitcoinConstructorParams } from '../models/router-constructor-params'; import { CrossChainTradeType } from '../../../models/cross-chain-trade-type'; import { GasData } from '../../common/evm-cross-chain-trade/models/gas-data'; import { BridgeType } from '../../common/models/bridge-type'; import { FeeInfo } from '../../common/models/fee-info'; import { OnChainSubtype } from '../../common/models/on-chain-subtype'; import { TradeInfo } from '../../common/models/trade-info'; export declare class RouterBitcoinCrossChainTrade extends BitcoinCrossChainTrade { readonly type: CrossChainTradeType; readonly to: PriceTokenAmount<BlockchainName>; readonly from: PriceTokenAmount<BitcoinBlockchainName>; readonly toTokenAmountMin: BigNumber; readonly feeInfo: FeeInfo; readonly onChainSubtype: OnChainSubtype; readonly bridgeType: BridgeType; readonly gasData: GasData | null; readonly priceImpact: number | null; private readonly slippage; readonly isAggregator = false; private readonly routerQuoteConfig; private get fromBlockchain(); protected get fromContractAddress(): string; protected get methodName(): string; readonly memo: string; protected readonly needProvidePubKey = false; constructor(params: RouterBitcoinConstructorParams); getTradeInfo(): TradeInfo; }