Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ISeerV2SafeDispatcherTrait

Fully qualified path: opus::interfaces::seer::ISeerV2SafeDispatcherTrait

Part of the group: dispatchers

pub trait ISeerV2SafeDispatcherTrait<T>

Trait functions

get_oracles

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

fn get_oracles(self: T) -> Result<Span<ContractAddress>, Array<felt252>>

get_update_frequency

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

fn get_update_frequency(self: T) -> Result<u64, Array<felt252>>

get_yang_price_type

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

fn get_yang_price_type(self: T, yang: ContractAddress) -> Result<PriceType, Array<felt252>>

set_oracles

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

fn set_oracles(self: T, oracles: Span<ContractAddress>) -> Result<(), Array<felt252>>

set_update_frequency

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

fn set_update_frequency(self: T, new_frequency: u64) -> Result<(), Array<felt252>>

set_yang_price_type

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

fn set_yang_price_type(
    self: T, yang: ContractAddress, price_type: PriceType,
) -> Result<(), Array<felt252>>

update_prices

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

fn update_prices(self: T) -> Result<(), Array<felt252>>