ISummaryStatsABISafeDispatcherImpl
Fully qualified path: pragma_lib::abi::ISummaryStatsABISafeDispatcherImpl
Part of the group: dispatchers
impl ISummaryStatsABISafeDispatcherImpl of ISummaryStatsABISafeDispatcherTrait<
ISummaryStatsABISafeDispatcher,
>;
Impl functions
calculate_mean
Fully qualified path: pragma_lib::abi::ISummaryStatsABISafeDispatcherImpl::calculate_mean
fn calculate_mean(
self: ISummaryStatsABISafeDispatcher,
data_type: DataType,
start: u64,
stop: u64,
aggregation_mode: AggregationMode,
) -> Result<(u128, u32), Array<felt252>>
calculate_volatility
Fully qualified path: pragma_lib::abi::ISummaryStatsABISafeDispatcherImpl::calculate_volatility
fn calculate_volatility(
self: ISummaryStatsABISafeDispatcher,
data_type: DataType,
start_tick: u64,
end_tick: u64,
num_samples: u64,
aggregation_mode: AggregationMode,
) -> Result<(u128, u32), Array<felt252>>
calculate_twap
Fully qualified path: pragma_lib::abi::ISummaryStatsABISafeDispatcherImpl::calculate_twap
fn calculate_twap(
self: ISummaryStatsABISafeDispatcher,
data_type: DataType,
aggregation_mode: AggregationMode,
time: u64,
start_time: u64,
) -> Result<(u128, u32), Array<felt252>>
get_oracle_address
Fully qualified path: pragma_lib::abi::ISummaryStatsABISafeDispatcherImpl::get_oracle_address
fn get_oracle_address(
self: ISummaryStatsABISafeDispatcher,
) -> Result<ContractAddress, Array<felt252>>
get_options_data
Fully qualified path: pragma_lib::abi::ISummaryStatsABISafeDispatcherImpl::get_options_data
fn get_options_data(
self: ISummaryStatsABISafeDispatcher, instrument_name: felt252,
) -> Result<OptionsFeedData, Array<felt252>>
get_options_data_hash
Fully qualified path: pragma_lib::abi::ISummaryStatsABISafeDispatcherImpl::get_options_data_hash
fn get_options_data_hash(
self: ISummaryStatsABISafeDispatcher, update_data: OptionsFeedData,
) -> Result<felt252, Array<felt252>>