import BigNumber from 'bignumber.js'; import { PriceTokenAmount } from "../../../../../../common/tokens"; import { BlockchainName, EvmBlockchainName } from "../../../../../../core/blockchain/models/blockchain-name"; 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 { Route } from './lifi-route'; export interface LifiCrossChainTradeConstructor { from: PriceTokenAmount; to: PriceTokenAmount; route: Route; toTokenAmountMin: BigNumber; feeInfo: FeeInfo; priceImpact: number | null; onChainSubtype: OnChainSubtype; bridgeType: BridgeType; slippage: number; gasData?: GasData | null; memo?: string; } export type LifiEvmCrossChainTradeConstructor = Required, 'memo'>>;