Module fuel_vm::gas

source ·
Expand description

Tools for gas instrumentalization

Structs

Dependent cost is a cost that depends on the number of units. The cost starts at the base and grows by dep_per_unit for every unit.
Gas costings for every op. The inner values are wrapped in an Arc so this is cheap to clone.
Gas costs for every op.

Enums

Gas unit cost that embeds a unit price and operations count.