Constants§
- 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. This cost is pre-charged for each access (read/write/entry), and the overhead cost is refunded for each repeated access. Repeated access is access to a key that has already been accessed before.
- The cost of allocating a segment in the segment arena. This is charged to pay for the finalization step of the segment arena.
Traits§
- Trait for providing extra information required for calculating costs for a specific libfunc invocation.
Functions§
- Returns the gas cost for a core libfunc. Values with unknown values will return as None.