Skip to main content

Module memory

Module memory 

Source

Structs§

CallerRange
A range of a calling frame’s memory, built only by Memory::calldata_view so that it always lies in a region that stays unchanged while the callee runs.
Memory
A cheaply clonable callframe-shared memory buffer.

Enums§

CallData
The input of a call frame: a transaction’s data, or a range of the calling frame’s memory.

Functions§

calculate_memory_size
expansion_cost
When a memory expansion is triggered, only the additional bytes of memory must be paid for.