Pyth package
pyth
- Move path
- 0x5530…e2c0::pyth
- Functions
- 1912 public, 1 entry
- Structs
- 0
- Friend modules
- None
pyth
- accumulator4
- batch_price_attestation6
- contract_upgrade6
- data_source7
- deserialize7
- event2
- governance6
- governance_action8
- governance_instruction6
- hot_potato_vector6
- i646
- merkle_tree8
- migrate2
- price5
- price_feed5
- price_identifier2
- price_info16
- price_status4
- pyth19
- set4
- set_data_sources2
- set_fee_recipient2
- set_governance_data_source2
- set_stale_price_threshold2
- set_update_fee3
- setup2
- state30
- version_control2
Functions19
- public fun create_authenticated_price_infos_using_accumulator(&state::State,vector<u8>,vaa::VAA,&Clock): hot_potato_vector::HotPotatoVector<price_info::PriceInfo>
- public fun create_price_infos_hot_potato(&state::State,vector<vaa::VAA>,&Clock): hot_potato_vector::HotPotatoVector<price_info::PriceInfo>
- public entry fun init_pyth(setup::DeployerCap,UpgradeCap,u64,u64,vector<u8>,vector<u64>,vector<vector<u8>>,u64)
- public fun update_single_price_feed(&state::State,hot_potato_vector::HotPotatoVector<price_info::PriceInfo>,&mut price_info::PriceInfoObject,Coin<SUI>,&Clock): hot_potato_vector::HotPotatoVector<price_info::PriceInfo>
Structs0
This module defines no structs
Constants6
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 0 | u64 | Abort code | parse_data_sources |
| 1 | 1 | u64 | Abort code | create_price_feeds_using_accumulatorcreate_price_feedscreate_authenticated_price_infos_using_accumulatorcreate_price_infos_hot_potato |
| 2 | 2 | u64 | Abort code | update_single_price_feed |
| 3 | 3 | u64 | Abort code | check_price_is_fresh |
| 4 | 4 | u64 | Abort code | update_cache |
| 5 | 5 | u64 | Abort code | update_single_price_feed |