Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

ISummaryStatsABIDispatcherImpl

Fully qualified path: pragma_lib::abi::ISummaryStatsABIDispatcherImpl

Part of the group: dispatchers

impl ISummaryStatsABIDispatcherImpl of ISummaryStatsABIDispatcherTrait<ISummaryStatsABIDispatcher>;

Impl functions

calculate_mean

Fully qualified path: pragma_lib::abi::ISummaryStatsABIDispatcherImpl::calculate_mean

fn calculate_mean(
    self: ISummaryStatsABIDispatcher,
    data_type: DataType,
    start: u64,
    stop: u64,
    aggregation_mode: AggregationMode,
) -> (u128, u32)

calculate_volatility

Fully qualified path: pragma_lib::abi::ISummaryStatsABIDispatcherImpl::calculate_volatility

fn calculate_volatility(
    self: ISummaryStatsABIDispatcher,
    data_type: DataType,
    start_tick: u64,
    end_tick: u64,
    num_samples: u64,
    aggregation_mode: AggregationMode,
) -> (u128, u32)

calculate_twap

Fully qualified path: pragma_lib::abi::ISummaryStatsABIDispatcherImpl::calculate_twap

fn calculate_twap(
    self: ISummaryStatsABIDispatcher,
    data_type: DataType,
    aggregation_mode: AggregationMode,
    time: u64,
    start_time: u64,
) -> (u128, u32)

get_oracle_address

Fully qualified path: pragma_lib::abi::ISummaryStatsABIDispatcherImpl::get_oracle_address

fn get_oracle_address(self: ISummaryStatsABIDispatcher) -> ContractAddress

get_options_data

Fully qualified path: pragma_lib::abi::ISummaryStatsABIDispatcherImpl::get_options_data

fn get_options_data(self: ISummaryStatsABIDispatcher, instrument_name: felt252) -> OptionsFeedData

get_options_data_hash

Fully qualified path: pragma_lib::abi::ISummaryStatsABIDispatcherImpl::get_options_data_hash

fn get_options_data_hash(self: ISummaryStatsABIDispatcher, update_data: OptionsFeedData) -> felt252