Struct GlobalVariables
pub struct GlobalVariables {
pub chain_id: Field,
pub version: Field,
pub block_number: u32,
pub slot_number: Field,
pub timestamp: u64,
pub coinbase: EthAddress,
pub fee_recipient: AztecAddress,
pub gas_fees: GasFees,
}
Fields
chain_id: Fieldversion: Fieldblock_number: u32slot_number: Fieldtimestamp: u64coinbase: EthAddressfee_recipient: AztecAddressgas_fees: GasFeesImplementations
impl GlobalVariables
pub fn is_empty(self) -> bool
Trait implementations
impl Deserialize for GlobalVariables
pub fn deserialize(serialized: [Field; 9]) -> Self
impl Empty for GlobalVariables
pub fn empty() -> Self
pub fn is_empty(self) -> bool
pub fn assert_empty<let S: u32>(self, msg: str<S>)
impl Eq for GlobalVariables
pub fn eq(_self: Self, _other: Self) -> bool
impl Serialize for GlobalVariables
pub fn serialize(self) -> [Field; 9]