Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

IYieldCurveABIDispatcherTrait

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait

Part of the group: dispatchers

trait IYieldCurveABIDispatcherTrait<T>

Trait functions

get_yield_points

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_yield_points

fn get_yield_points(self: T, decimals: u32) -> Span<YieldPoint>

get_admin_address

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_admin_address

fn get_admin_address(self: T) -> ContractAddress

get_oracle_address

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_oracle_address

fn get_oracle_address(self: T) -> ContractAddress

get_future_spot_pragma_source_key

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_future_spot_pragma_source_key

fn get_future_spot_pragma_source_key(self: T) -> felt252

get_pair_id

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_pair_id

fn get_pair_id(self: T, idx: u64) -> felt252

get_pair_id_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_pair_id_is_active

fn get_pair_id_is_active(self: T, pair_id: felt252) -> bool

get_pair_ids

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_pair_ids

fn get_pair_ids(self: T) -> Span<felt252>

get_future_expiry_timestamp

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_future_expiry_timestamp

fn get_future_expiry_timestamp(self: T, pair_id: felt252, idx: u64) -> u64

get_future_expiry_timestamps

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_future_expiry_timestamps

fn get_future_expiry_timestamps(self: T, pair_id: felt252) -> Span<u64>

get_on_key

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_on_key

fn get_on_key(self: T, idx: u64) -> felt252

get_on_key_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_on_key_is_active

fn get_on_key_is_active(self: T, on_key: felt252) -> bool

get_on_keys

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_on_keys

fn get_on_keys(self: T) -> Span<felt252>

get_future_expiry_timestamp_status

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_future_expiry_timestamp_status

fn get_future_expiry_timestamp_status(
    self: T, pair_id: felt252, future_expiry_timestamp: u64,
) -> FutureKeyStatus

get_future_expiry_timestamp_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_future_expiry_timestamp_is_active

fn get_future_expiry_timestamp_is_active(
    self: T, pair_id: felt252, future_expiry_timestamp: u64,
) -> bool

get_future_expiry_timestamp_expiry

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::get_future_expiry_timestamp_expiry

fn get_future_expiry_timestamp_expiry(
    self: T, pair_id: felt252, future_expiry_timestamp: u64,
) -> u64

set_admin_address

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::set_admin_address

fn set_admin_address(self: T, new_address: ContractAddress)

set_future_spot_pragma_source_key

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::set_future_spot_pragma_source_key

fn set_future_spot_pragma_source_key(self: T, new_source_key: felt252)

set_oracle_address

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::set_oracle_address

fn set_oracle_address(self: T, oracle_address: ContractAddress)

add_pair_id

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::add_pair_id

fn add_pair_id(self: T, pair_id: felt252, is_active: bool)

set_pair_id_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::set_pair_id_is_active

fn set_pair_id_is_active(self: T, pair_id: felt252, is_active: bool)

add_future_expiry_timestamp

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::add_future_expiry_timestamp

fn add_future_expiry_timestamp(
    self: T, pair_id: felt252, future_expiry_timestamp: u64, is_active: bool, expiry_timestamp: u64,
)

set_future_expiry_timestamp_status

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::set_future_expiry_timestamp_status

fn set_future_expiry_timestamp_status(
    self: T,
    pair_id: felt252,
    future_expiry_timestamp: u64,
    new_future_expiry_timestamp_status: FutureKeyStatus,
)

set_future_expiry_timestamp_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::set_future_expiry_timestamp_is_active

fn set_future_expiry_timestamp_is_active(
    self: T, pair_id: felt252, future_expiry_timestamp: u64, new_is_active: bool,
)

add_on_key

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::add_on_key

fn add_on_key(self: T, on_key: felt252, is_active: bool)

set_on_key_is_active

Fully qualified path: pragma_lib::abi::IYieldCurveABIDispatcherTrait::set_on_key_is_active

fn set_on_key_is_active(self: T, on_key: felt252, is_active: bool)