Expand description

Contract storage utilities.

Functions

Appends a value to the end of the currently used portion of a single dynamic slot.

Clears a value of type T from slots of 32 bytes each, starting at slot with an offset given in words.

Clears a value of type T from slots of 32 bytes each, starting at slot with an offset given in words.

Clears number_of_slots slots of dynamic size, starting at slot.

Clears number_of_slots slots of dynamic size, starting at slot,

Reads a value of type T from slots of 32 bytes each, starting at the location specified by slot and offset given in words.

Reads a value of type T from slots of 32 bytes each, starting at the location specified by slot and offset given in words.

Reads a value of type T from a single dynamic slot, starting at the offset given in bytes.

Updates a value in storage in a single dynamic slot, placing it at the offset given in bytes.

Stores value in storage, in slots of 32 bytes, starting at slot and offset given in words.

Stores value in storage, in slots of 32 bytes, starting at slot and offset given in words.

Stores a value in storage in a single dynamic slot.