Module gas

Source

Structs§

BuiltinCostGetBuiltinCostsLibfunc
Libfunc for getting the pointer to the gas cost array. See BuiltinCostsType.
BuiltinCostWithdrawGasLibfunc
Libfunc for withdrawing gas to be used by a builtin.
BuiltinCostsType
Represents a pointer to an array with the builtin costs. Every element in the array is the cost of a single invocation of a builtin.
GasBuiltinType
Type for gas actions.
GetAvailableGasLibfunc
Libfunc for returning the amount of available gas.
RedepositGasLibfunc
Libfunc for returning unused gas.
WithdrawGasLibfunc
Libfunc for withdrawing gas.

Enums§

CostTokenType
Represents different type of costs. Note that if you add a type here you should update ‘iter_precost’
GasConcreteLibfunc
GasLibfunc