Helpful?
Exttload
Git Source | Generated with forge doc
Inherits: IExttload
Enables public transient storage access for efficient state retrieval by external contracts. https://eips.ethereum.org/EIPS/eip-2330#rationale
Functions
exttload
Called by external contracts to access transient storage of the contract
function exttload(bytes32 slot) external view returns (bytes32);
Parameters
Name | Type | Description |
---|---|---|
slot | bytes32 | Key of slot to tload |
Returns
Name | Type | Description |
---|---|---|
<none> | bytes32 | value The value of the slot as bytes32 |
exttload
Called by external contracts to access transient storage of the contract
function exttload(bytes32[] calldata slots) external view returns (bytes32[] memory);
Parameters
Name | Type | Description |
---|---|---|
slots | bytes32[] |
Returns
Name | Type | Description |
---|---|---|
<none> | bytes32[] | value The value of the slot as bytes32 |