Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IYieldCurveABISafeDispatcherImpl

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl

Part of the group: dispatchers

impl IYieldCurveABISafeDispatcherImpl of IYieldCurveABISafeDispatcherTrait<
    IYieldCurveABISafeDispatcher,
>;

Impl functions

get_yield_points

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_yield_points

fn get_yield_points(
    self: IYieldCurveABISafeDispatcher, decimals: u32,
) -> Result<Span<YieldPoint>, Array<felt252>>

get_admin_address

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_admin_address

fn get_admin_address(self: IYieldCurveABISafeDispatcher) -> Result<ContractAddress, Array<felt252>>

get_oracle_address

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_oracle_address

fn get_oracle_address(self: IYieldCurveABISafeDispatcher) -> Result<ContractAddress, Array<felt252>>

get_future_spot_pragma_source_key

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_future_spot_pragma_source_key

fn get_future_spot_pragma_source_key(
    self: IYieldCurveABISafeDispatcher,
) -> Result<felt252, Array<felt252>>

get_pair_id

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_pair_id

fn get_pair_id(self: IYieldCurveABISafeDispatcher, idx: u64) -> Result<felt252, Array<felt252>>

get_pair_id_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_pair_id_is_active

fn get_pair_id_is_active(
    self: IYieldCurveABISafeDispatcher, pair_id: felt252,
) -> Result<bool, Array<felt252>>

get_pair_ids

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_pair_ids

fn get_pair_ids(self: IYieldCurveABISafeDispatcher) -> Result<Span<felt252>, Array<felt252>>

get_future_expiry_timestamp

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_future_expiry_timestamp

fn get_future_expiry_timestamp(
    self: IYieldCurveABISafeDispatcher, pair_id: felt252, idx: u64,
) -> Result<u64, Array<felt252>>

get_future_expiry_timestamps

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_future_expiry_timestamps

fn get_future_expiry_timestamps(
    self: IYieldCurveABISafeDispatcher, pair_id: felt252,
) -> Result<Span<u64>, Array<felt252>>

get_on_key

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_on_key

fn get_on_key(self: IYieldCurveABISafeDispatcher, idx: u64) -> Result<felt252, Array<felt252>>

get_on_key_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_on_key_is_active

fn get_on_key_is_active(
    self: IYieldCurveABISafeDispatcher, on_key: felt252,
) -> Result<bool, Array<felt252>>

get_on_keys

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_on_keys

fn get_on_keys(self: IYieldCurveABISafeDispatcher) -> Result<Span<felt252>, Array<felt252>>

get_future_expiry_timestamp_status

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_future_expiry_timestamp_status

fn get_future_expiry_timestamp_status(
    self: IYieldCurveABISafeDispatcher, pair_id: felt252, future_expiry_timestamp: u64,
) -> Result<FutureKeyStatus, Array<felt252>>

get_future_expiry_timestamp_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_future_expiry_timestamp_is_active

fn get_future_expiry_timestamp_is_active(
    self: IYieldCurveABISafeDispatcher, pair_id: felt252, future_expiry_timestamp: u64,
) -> Result<bool, Array<felt252>>

get_future_expiry_timestamp_expiry

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::get_future_expiry_timestamp_expiry

fn get_future_expiry_timestamp_expiry(
    self: IYieldCurveABISafeDispatcher, pair_id: felt252, future_expiry_timestamp: u64,
) -> Result<u64, Array<felt252>>

set_admin_address

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::set_admin_address

fn set_admin_address(
    self: IYieldCurveABISafeDispatcher, new_address: ContractAddress,
) -> Result<(), Array<felt252>>

set_future_spot_pragma_source_key

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::set_future_spot_pragma_source_key

fn set_future_spot_pragma_source_key(
    self: IYieldCurveABISafeDispatcher, new_source_key: felt252,
) -> Result<(), Array<felt252>>

set_oracle_address

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::set_oracle_address

fn set_oracle_address(
    self: IYieldCurveABISafeDispatcher, oracle_address: ContractAddress,
) -> Result<(), Array<felt252>>

add_pair_id

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::add_pair_id

fn add_pair_id(
    self: IYieldCurveABISafeDispatcher, pair_id: felt252, is_active: bool,
) -> Result<(), Array<felt252>>

set_pair_id_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::set_pair_id_is_active

fn set_pair_id_is_active(
    self: IYieldCurveABISafeDispatcher, pair_id: felt252, is_active: bool,
) -> Result<(), Array<felt252>>

add_future_expiry_timestamp

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::add_future_expiry_timestamp

fn add_future_expiry_timestamp(
    self: IYieldCurveABISafeDispatcher,
    pair_id: felt252,
    future_expiry_timestamp: u64,
    is_active: bool,
    expiry_timestamp: u64,
) -> Result<(), Array<felt252>>

set_future_expiry_timestamp_status

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::set_future_expiry_timestamp_status

fn set_future_expiry_timestamp_status(
    self: IYieldCurveABISafeDispatcher,
    pair_id: felt252,
    future_expiry_timestamp: u64,
    new_future_expiry_timestamp_status: FutureKeyStatus,
) -> Result<(), Array<felt252>>

set_future_expiry_timestamp_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::set_future_expiry_timestamp_is_active

fn set_future_expiry_timestamp_is_active(
    self: IYieldCurveABISafeDispatcher,
    pair_id: felt252,
    future_expiry_timestamp: u64,
    new_is_active: bool,
) -> Result<(), Array<felt252>>

add_on_key

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::add_on_key

fn add_on_key(
    self: IYieldCurveABISafeDispatcher, on_key: felt252, is_active: bool,
) -> Result<(), Array<felt252>>

set_on_key_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABISafeDispatcherImpl::set_on_key_is_active

fn set_on_key_is_active(
    self: IYieldCurveABISafeDispatcher, on_key: felt252, is_active: bool,
) -> Result<(), Array<felt252>>