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_FIELDS (l2Gas, daGas)
 

Public Attributes

uint32_t l2Gas
 
uint32_t daGas
 

Detailed Description

Definition at line 154 of file aztec_types.hpp.

Member Function Documentation

◆ MSGPACK_FIELDS()

bb::avm2::Gas::MSGPACK_FIELDS ( l2Gas  ,
daGas   
)

◆ operator+()

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

Definition at line 160 of file aztec_types.hpp.

◆ operator-()

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

Definition at line 161 of file aztec_types.hpp.

◆ operator==()

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

Member Data Documentation

◆ daGas

uint32_t bb::avm2::Gas::daGas

Definition at line 156 of file aztec_types.hpp.

◆ l2Gas

uint32_t bb::avm2::Gas::l2Gas

Definition at line 155 of file aztec_types.hpp.


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