rubic-sdk-next
Version:
Simplify dApp creation
10 lines (9 loc) • 540 B
TypeScript
import { CrossChainTradeType, OnChainTradeType } from '@cryptorubic/core';
import { WrappedCrossChainTradeOrNull } from '../../cross-chain/calculation-manager/models/wrapped-cross-chain-trade-or-null';
import { WrappedOnChainTradeOrNull } from '../../on-chain/calculation-manager/models/wrapped-on-chain-trade-or-null';
export interface WrappedAsyncTradeOrNull {
total: number;
calculated: number;
wrappedTrade: WrappedCrossChainTradeOrNull | WrappedOnChainTradeOrNull;
tradeType?: CrossChainTradeType | OnChainTradeType;
}