Properties of an UniswapExchangeRateTask.

interface IUniswapExchangeRateTask {
    factoryAddress?: null | string;
    inTokenAddress?: null | string;
    inTokenAmount?: null | number;
    outTokenAddress?: null | string;
    provider?: null | string;
    quoterAddress?: null | string;
    routerAddress?: null | string;
    slippage?: null | number;
    version?: null | OracleJob.UniswapExchangeRateTask.Version;
}

Implemented by

Properties

factoryAddress?: null | string

UniswapExchangeRateTask factoryAddress

inTokenAddress?: null | string

The input token address.

inTokenAmount?: null | number

The amount of tokens to swap.

outTokenAddress?: null | string

The output token address.

provider?: null | string

The RPC provider to use for the swap.

quoterAddress?: null | string

UniswapExchangeRateTask quoterAddress

routerAddress?: null | string

UniswapExchangeRateTask routerAddress

slippage?: null | number

The allowable slippage in percent for the swap.

The version of the Uniswap exchange to use.