Enums§
- Iota
GasStatus - Version aware enum for gas status.
Traits§
Functions§
- check_
gas_ coins_ cover_ budget_ in_ simulation - Checks that every object
gasrefers to is an address-owned gas coin present ininput_objects, and that their combined balance coversgas_budget. - deduct_
gas - fill_
in_ unset_ simulation_ gas - Fills in the gas a simulated transaction leaves unset: a zero price
becomes
reference_gas_price, and a zero budget as much as the gas coins can back, up to the protocol maximum. - get_
gas_ balance - report_
simulation_ gas - Reports the gas a simulation ran with in
reported, in place of what the caller left unset — the mirror offill_in_unset_simulation_gas, for the response rather than the run.