Module cairo_lang_sierra_gas::core_libfunc_cost
source · Structs
Constants
- The cost to charge per each read/write access.
DICT_SQUASH_UNIQUE_KEY_COST
is refunded for each repeated access in dict_squash. - The cost not dependent on the number of keys and access.
- The cost per each access to a key after the first access.
- The cost per each unique key in the dictionary.
Traits
- Trait for providing extra information required for calculating costs for a specific libfunc invocation.
Functions
- Returns the gas usage for a core libfunc. Values with unknown values will return as None.