Class OrbiterBridgeTrade

Abstract class for all cross-chain providers' trades.

Hierarchy

Constructors

Properties

bridgeType: BridgeType = BRIDGE_TYPE.ORBITER_BRIDGE

Contains bridge provider's type used in route.

feeInfo: FeeInfo

Swap fee information.

Token to sell with input amount.

gasData: GasData

Gas fee info in source blockchain.

isAggregator: boolean = false

True, if provider is aggregator.

onChainSubtype: OnChainSubtype = ...

Contains on-chain providers' type used in route.

priceImpact: null | number
promotions: string[] = []

Promotions array.

Token to get with output amount.

toTokenAmountMin: BigNumber

Minimum amount of output token user will get in Eth units.

type: CrossChainTradeType = CROSS_CHAIN_TRADE_TYPE.ORBITER_BRIDGE

ABSTRACT PROPS

Accessors

Methods

Generated using TypeDoc