Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TransientStorage

Git Source

Author: Async Labs

This contract provides functions to interact with the transient storage.

Functions

tload

Load a value from the transient storage.

function tload(bytes32 key) internal view returns (bytes32 value);

Parameters

NameTypeDescription
keybytes32The key to store or retrieve the value.

tstore

Store a value in the transient storage.

function tstore(bytes32 key, bytes32 value) internal;

Parameters

NameTypeDescription
keybytes32The key to store or retrieve the value.
valuebytes32The value to store in the transient storage.