Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::GlobalVariables Struct Reference

#include <aztec_types.hpp>

Public Member Functions

bool operator== (const GlobalVariables &other) const =default
 
 MSGPACK_CAMEL_CASE_FIELDS (chain_id, version, block_number, slot_number, timestamp, coinbase, fee_recipient, gas_fees)
 

Public Attributes

FF chain_id = 0
 
FF version = 0
 
uint32_t block_number = 0
 
FF slot_number = 0
 
uint64_t timestamp = 0
 
EthAddress coinbase = 0
 
AztecAddress fee_recipient = 0
 
GasFees gas_fees
 

Detailed Description

Definition at line 466 of file aztec_types.hpp.

Member Function Documentation

◆ MSGPACK_CAMEL_CASE_FIELDS()

bb::avm2::GlobalVariables::MSGPACK_CAMEL_CASE_FIELDS ( chain_id  ,
version  ,
block_number  ,
slot_number  ,
timestamp  ,
coinbase  ,
fee_recipient  ,
gas_fees   
)

◆ operator==()

bool bb::avm2::GlobalVariables::operator== ( const GlobalVariables other) const
default

Member Data Documentation

◆ block_number

uint32_t bb::avm2::GlobalVariables::block_number = 0

Definition at line 469 of file aztec_types.hpp.

◆ chain_id

FF bb::avm2::GlobalVariables::chain_id = 0

Definition at line 467 of file aztec_types.hpp.

◆ coinbase

EthAddress bb::avm2::GlobalVariables::coinbase = 0

Definition at line 472 of file aztec_types.hpp.

◆ fee_recipient

AztecAddress bb::avm2::GlobalVariables::fee_recipient = 0

Definition at line 473 of file aztec_types.hpp.

◆ gas_fees

GasFees bb::avm2::GlobalVariables::gas_fees

Definition at line 474 of file aztec_types.hpp.

◆ slot_number

FF bb::avm2::GlobalVariables::slot_number = 0

Definition at line 470 of file aztec_types.hpp.

◆ timestamp

uint64_t bb::avm2::GlobalVariables::timestamp = 0

Definition at line 471 of file aztec_types.hpp.

◆ version

FF bb::avm2::GlobalVariables::version = 0

Definition at line 468 of file aztec_types.hpp.


The documentation for this struct was generated from the following file: