Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IPragmaV2

Fully qualified path: opus::interfaces::pragma::IPragmaV2

pub trait IPragmaV2<TContractState>

Trait functions

set_yang_pair_settings

Fully qualified path: opus::interfaces::pragma::IPragmaV2::set_yang_pair_settings

fn set_yang_pair_settings(
    ref self: TContractState, yang: ContractAddress, pair_settings: PairSettings,
)

set_price_validity_thresholds

Fully qualified path: opus::interfaces::pragma::IPragmaV2::set_price_validity_thresholds

fn set_price_validity_thresholds(ref self: TContractState, freshness: u64, sources: u32)