Properties of an UniswapExchangeRateTask.

interface IUniswapExchangeRateTask {
    factoryAddress?: string;
    inTokenAddress?: string;
    inTokenAmount?: number;
    outTokenAddress?: string;
    provider?: string;
    quoterAddress?: string;
    routerAddress?: string;
    slippage?: number;
    version?: Version;
}

Implemented by

Properties

factoryAddress?: string

UniswapExchangeRateTask factoryAddress

inTokenAddress?: string

The input token address.

inTokenAmount?: number

The amount of tokens to swap.

outTokenAddress?: string

The output token address.

provider?: string

The RPC provider to use for the swap.

quoterAddress?: string

UniswapExchangeRateTask quoterAddress

routerAddress?: string

UniswapExchangeRateTask routerAddress

slippage?: number

The allowable slippage in percent for the swap.

version?: Version

The version of the Uniswap exchange to use.

Generated using TypeDoc