[−][src]Struct eosio_system::EosioGlobalState
Defines new global state parameters. https://github.com/EOSIO/eosio.contracts/blob/v1.9.0-rc3/contracts/eosio.system/include/eosio.system/eosio.system.hpp#L120-L145
Fields
blockchain_parameters: BlockchainParameters
max_ram_size: u64
total_ram_bytes_reserved: u64
total_ram_stake: i64
last_producer_schedule_update: BlockTimestamp
last_pervote_bucket_fill: TimePoint
pervote_bucket: i64
perblock_bucket: i64
total_unpaid_blocks: u32
all blocks which have been produced but not paid
total_activated_stake: i64
thresh_activated_stake_time: TimePoint
last_producer_schedule_size: u16
total_producer_vote_weight: f64
the sum of all producer votes
last_name_close: BlockTimestamp
Methods
impl EosioGlobalState
[src]
pub fn singleton<C, S>(code: C, scope: S) -> SingletonIndex<Self> where
C: Into<AccountName>,
S: Into<ScopeName>,
[src]
C: Into<AccountName>,
S: Into<ScopeName>,
Trait Implementations
impl Default for EosioGlobalState
[src]
impl NumBytes for EosioGlobalState
[src]
impl Read for EosioGlobalState
[src]
fn read(bytes: &[u8], pos: &mut usize) -> Result<Self, ReadError>
[src]
fn unpack<T>(bytes: T) -> Result<Self, ReadError> where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
impl Table for EosioGlobalState
[src]
const NAME: TableName
[src]
type Row = Self
TODO docs
fn primary_key(_row: &Self::Row) -> u64
[src]
fn secondary_keys(_row: &Self::Row) -> SecondaryKeys
[src]
fn table<C, S>(code: C, scope: S) -> PrimaryTableIndex<Self> where
C: Into<AccountName>,
S: Into<ScopeName>,
[src]
C: Into<AccountName>,
S: Into<ScopeName>,
impl Write for EosioGlobalState
[src]
Auto Trait Implementations
impl RefUnwindSafe for EosioGlobalState
impl Send for EosioGlobalState
impl Sync for EosioGlobalState
impl Unpin for EosioGlobalState
impl UnwindSafe for EosioGlobalState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,