Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ISeerV2

Fully qualified path: opus::interfaces::seer::ISeerV2

pub trait ISeerV2<TContractState>

Trait functions

get_oracles

Fully qualified path: opus::interfaces::seer::ISeerV2::get_oracles

fn get_oracles(self: @TContractState) -> Span<ContractAddress>

get_update_frequency

Fully qualified path: opus::interfaces::seer::ISeerV2::get_update_frequency

fn get_update_frequency(self: @TContractState) -> u64

get_yang_price_type

Fully qualified path: opus::interfaces::seer::ISeerV2::get_yang_price_type

fn get_yang_price_type(self: @TContractState, yang: ContractAddress) -> PriceType

set_oracles

Fully qualified path: opus::interfaces::seer::ISeerV2::set_oracles

fn set_oracles(ref self: TContractState, oracles: Span<ContractAddress>)

set_update_frequency

Fully qualified path: opus::interfaces::seer::ISeerV2::set_update_frequency

fn set_update_frequency(ref self: TContractState, new_frequency: u64)

set_yang_price_type

Fully qualified path: opus::interfaces::seer::ISeerV2::set_yang_price_type

fn set_yang_price_type(ref self: TContractState, yang: ContractAddress, price_type: PriceType)

update_prices

Fully qualified path: opus::interfaces::seer::ISeerV2::update_prices

fn update_prices(ref self: TContractState)