Properties of a LpExchangeRateTask.

interface ILpExchangeRateTask {
    chain?: null | OracleJob.LpExchangeRateTask.Chain;
    inTokenAddress?: null | string;
    mercurialPoolAddress?: null | string;
    orcaPoolAddress?: null | string;
    orcaPoolTokenMintAddress?: null | string;
    outTokenAddress?: null | string;
    portReserveAddress?: null | string;
    raydiumPoolAddress?: null | string;
    saberPoolAddress?: null | string;
}

Implemented by

Properties

LpExchangeRateTask chain

inTokenAddress?: null | string

Used alongside mercurial_pool_address to specify the input token for a swap.

mercurialPoolAddress?: null | string

Mercurial finance pool address. A full list can be found here: https://github.com/mercurial-finance/stable-swap-n-pool-js

orcaPoolAddress?: null | string

Pool address for an Orca LP pool or whirlpool. A full list of Orca LP pools can be found here: https://www.orca.so/pools

orcaPoolTokenMintAddress?: null | string

@deprecated* Use orcaPoolAddress

outTokenAddress?: null | string

Used alongside mercurial_pool_address to specify the output token for a swap.

portReserveAddress?: null | string

The Port reserve pubkey. A full list can be found here: https://api-v1.port.finance/reserves

raydiumPoolAddress?: null | string

The Raydium liquidity pool ammId. A full list can be found here: https://raydium.io/pools

saberPoolAddress?: null | string

Saber pool address. A full list can be found here: https://github.com/saber-hq/saber-registry-dist