Skip to main content
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

NameTypeDescription
slotbytes32Key of slot to tload

Returns

NameTypeDescription
<none>bytes32value 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

NameTypeDescription
slotsbytes32[]

Returns

NameTypeDescription
<none>bytes32[]value The value of the slot as bytes32
Helpful?