Module gear_core::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.
  • Gas limit and gas allowance left.
  • Value counter with some predefined maximum value.

Enums

Traits

  • Counters owner can change gas limit and allowance counters.
  • This trait represents a token that can be used for charging GasCounter.