Struct stacks_rpc_client::rpc_client::PoxInfo
source · pub struct PoxInfo {
pub contract_id: String,
pub pox_activation_threshold_ustx: u64,
pub first_burnchain_block_height: u64,
pub prepare_phase_block_length: u32,
pub reward_phase_block_length: u32,
pub reward_slots: u32,
pub reward_cycle_id: u32,
pub total_liquid_supply_ustx: u64,
pub next_cycle: PoxCycle,
}
Fields§
§contract_id: String
§pox_activation_threshold_ustx: u64
§first_burnchain_block_height: u64
§prepare_phase_block_length: u32
§reward_phase_block_length: u32
§reward_slots: u32
§reward_cycle_id: u32
§total_liquid_supply_ustx: u64
§next_cycle: PoxCycle
Implementations§
source§impl PoxInfo
impl PoxInfo
pub fn mainnet_default() -> PoxInfo
pub fn testnet_default() -> PoxInfo
pub fn devnet_default() -> PoxInfo
Trait Implementations§
source§impl<'de> Deserialize<'de> for PoxInfo
impl<'de> Deserialize<'de> for PoxInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PoxInfo
impl Send for PoxInfo
impl Sync for PoxInfo
impl Unpin for PoxInfo
impl UnwindSafe for PoxInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> InitializableFromZeroed for Twhere
T: Default,
impl<T> InitializableFromZeroed for Twhere T: Default,
§unsafe fn initialize(place: *mut T)
unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set
to all-bits-zero. Read more