Module utils

Source
Expand description

Utils.

Constants§

PRICE_FEED_MESSAGE_VARIANT
Price feed message variant.

Functions§

extract_pyth_feed_ids
Extract pyth feed ids from TokensWithFeed.
get_guardian_set_index
Get guardian set index from [Proof].
get_merkle_price_updates
Get merkle price updates.
get_vaa_buffer
Get vaa buffer.
parse_accumulator_update_datas
Parse [AccumulatorUpdateData] from price update.
parse_feed_id
Parse feed id from [MerklePriceUpdate].
parse_price_feed_message
Parse price feed message.