gear_core

Module gas

Source
Expand description

Gas module.

Structs§

  • Gas allowance counter with some predefined maximum value.
  • Read-only representation of consumed GasCounter.
  • Gas counter with some predefined maximum gas.
  • The struct contains results of gas calculation required to process a message.
  • Gas limit and gas allowance left.
  • Value counter with some predefined maximum value.

Enums§

Traits§

  • Counters owner can change gas limit and allowance counters.