Properties of an OracleTask.

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

Implemented by

Properties

chainlinkAddress?: string

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

chainlinkConfigs?: IChainlinkConfigs

OracleTask chainlinkConfigs

edgeConfigs?: IEdgeConfigs

OracleTask edgeConfigs

edgeId?: string

OracleTask edgeId

pythAddress?: string

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

pythAllowedConfidenceInterval?: 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?: IPythConfigs

OracleTask pythConfigs

redstoneConfigs?: IRedstoneConfigs

OracleTask redstoneConfigs

redstoneId?: string

OracleTask redstoneId

switchboardAddress?: string

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

switchboardConfigs?: ISwitchboardConfigs

OracleTask switchboardConfigs