Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IPragma

Fully qualified path: opus::interfaces::pragma::IPragma

pub trait IPragma<TContractState>

Trait functions

set_yang_pair_id

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

fn set_yang_pair_id(ref self: TContractState, yang: ContractAddress, pair_id: felt252)

set_price_validity_thresholds

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

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