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

#include <aztec_types.hpp>

Public Member Functions

bool operator== (const Gas &other) const =default
 
Gas operator+ (const Gas &other) const
 
Gas operator- (const Gas &other) const
 
 MSGPACK_CAMEL_CASE_FIELDS (l2_gas, da_gas)
 

Public Attributes

uint32_t l2_gas = 0
 
uint32_t da_gas = 0
 

Detailed Description

Definition at line 317 of file aztec_types.hpp.

Member Function Documentation

◆ MSGPACK_CAMEL_CASE_FIELDS()

bb::avm2::Gas::MSGPACK_CAMEL_CASE_FIELDS ( l2_gas  ,
da_gas   
)

◆ operator+()

Gas bb::avm2::Gas::operator+ ( const Gas other) const
inline

Definition at line 323 of file aztec_types.hpp.

◆ operator-()

Gas bb::avm2::Gas::operator- ( const Gas other) const
inline

Definition at line 324 of file aztec_types.hpp.

◆ operator==()

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

Member Data Documentation

◆ da_gas

uint32_t bb::avm2::Gas::da_gas = 0

Definition at line 319 of file aztec_types.hpp.

◆ l2_gas

uint32_t bb::avm2::Gas::l2_gas = 0

Definition at line 318 of file aztec_types.hpp.


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