Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IPragmaV2SafeDispatcherTrait

Fully qualified path: opus::interfaces::pragma::IPragmaV2SafeDispatcherTrait

Part of the group: dispatchers

pub trait IPragmaV2SafeDispatcherTrait<T>

Trait functions

set_yang_pair_settings

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

fn set_yang_pair_settings(
    self: T, yang: ContractAddress, pair_settings: PairSettings,
) -> Result<(), Array<felt252>>

set_price_validity_thresholds

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

fn set_price_validity_thresholds(
    self: T, freshness: u64, sources: u32,
) -> Result<(), Array<felt252>>