Class EvmWrapTrade

Abstract class for all instant trade providers' trades.

Hierarchy

Constructors

Properties

feeInfo: FeeInfo

Token to sell with input amount.

gasFeeInfo: null | GasFeeInfo

Gas fee info, including gas limit and gas price.

path: readonly Token<BlockchainName>[]
permit2ApproveConfig: Permit2ApproveConfig = ...

Filled if approve goes through permit2 contract

slippageTolerance: number

Token to get with output amount.

type: "WRAPPED" = ON_CHAIN_TRADE_TYPE.WRAPPED
useProxy: boolean

True, if trade must be swapped through on-chain proxy contract.

Accessors

Methods

Generated using TypeDoc