TransientStorage
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
| Name | Type | Description |
|---|---|---|
key | bytes32 | The key to store or retrieve the value. |
tstore
Store a value in the transient storage.
function tstore(bytes32 key, bytes32 value) internal;
Parameters
| Name | Type | Description |
|---|---|---|
key | bytes32 | The key to store or retrieve the value. |
value | bytes32 | The value to store in the transient storage. |