rubic-sdk
Version:
Simplify dApp creation
17 lines (16 loc) • 939 B
TypeScript
import BigNumber from 'bignumber.js';
import { PriceTokenAmount, Token } from "../../../../../../../common/tokens";
import { DlnOnChainSupportedBlockchain } from "../constants/dln-on-chain-supported-blockchains";
import { DlnOnChainSwapRequest } from "./dln-on-chain-swap-request";
import { OnChainTradeType } from "../../../common/models/on-chain-trade-type";
import { OnChainTradeStruct } from "../../../common/on-chain-trade/evm-on-chain-trade/models/evm-on-chain-trade-struct";
import { OnChainProxyFeeInfo } from '../../../common/models/on-chain-proxy-fee-info';
export interface DlnTradeStruct<T extends DlnOnChainSupportedBlockchain> extends OnChainTradeStruct<T> {
path: ReadonlyArray<Token>;
type: OnChainTradeType;
toTokenWeiAmountMin: BigNumber;
providerGateway: string;
transactionRequest: DlnOnChainSwapRequest;
proxyFeeInfo: OnChainProxyFeeInfo | undefined;
fromWithoutFee: PriceTokenAmount<T>;
}