Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IPragmaSafeDispatcherTrait

Fully qualified path: opus::interfaces::pragma::IPragmaSafeDispatcherTrait

Part of the group: dispatchers

pub trait IPragmaSafeDispatcherTrait<T>

Trait functions

set_yang_pair_id

Fully qualified path: opus::interfaces::pragma::IPragmaSafeDispatcherTrait::set_yang_pair_id

fn set_yang_pair_id(self: T, yang: ContractAddress, pair_id: felt252) -> Result<(), Array<felt252>>

set_price_validity_thresholds

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

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