Pyth package
state
- Move path
- 0x5530…e2c0::state
- Functions
- 3012 public, 0 entry
- Structs
- 3
state
- 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
Functions30
Structs3
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- CurrentDigestcopydropstore
dummy_field bool - LatestOnlydrop
dummy_field bool - Statestorekey
id UID governance_data_source data_source::DataSource stale_price_threshold u64 base_update_fee u64 fee_recipient_address address last_executed_governance_sequence u64 consumed_vaas consumed_vaas::ConsumedVAAs upgrade_cap UpgradeCap
Constants2
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 | assert_authorized_digest |
| 1 | " |