Properties of an OracleTask.

interface IOracleTask {
    chainlinkAddress?: null | string;
    chainlinkConfigs?: null | IChainlinkConfigs;
    edgeConfigs?: null | IEdgeConfigs;
    edgeId?: null | string;
    pythAddress?: null | string;
    pythAllowedConfidenceInterval?: null | number;
    pythConfigs?: null | IPythConfigs;
    redstoneConfigs?: null | IRedstoneConfigs;
    redstoneId?: null | string;
    switchboardAddress?: null | string;
    switchboardConfigs?: null | ISwitchboardConfigs;
}

Implemented by

Properties

chainlinkAddress?: null | string

Mainnet address for a Chainlink feed. A full list can be found here: https://docs.chain.link/docs/solana/data-feeds-solana

chainlinkConfigs?: null | IChainlinkConfigs

OracleTask chainlinkConfigs

edgeConfigs?: null | IEdgeConfigs

OracleTask edgeConfigs

edgeId?: null | string

OracleTask edgeId

pythAddress?: null | string

Mainnet address for a Pyth feed. A full list can be found here: https://pyth.network/price-feeds/

pythAllowedConfidenceInterval?: null | number

Value (as a percentage) that the lower bound confidence interval is of the actual value. Confidence intervals that are larger that this treshold are rejected.

The confidence interval should be provided as a raw percentage value. For example, to represent 10%, enter the value as 10, not 0.1.

pythConfigs?: null | IPythConfigs

OracleTask pythConfigs

redstoneConfigs?: null | IRedstoneConfigs

OracleTask redstoneConfigs

redstoneId?: null | string

OracleTask redstoneId

switchboardAddress?: null | string

Mainnet address of a Switchboard feed. Switchboard is decentralized and allows anyone to build their own feed.

switchboardConfigs?: null | ISwitchboardConfigs

OracleTask switchboardConfigs