Skip to main content
Helpful?

Extsload

Git Source | Generated with forge doc

Inherits: IExtsload

Enables public storage access for efficient state retrieval by external contracts. https://eips.ethereum.org/EIPS/eip-2330#rationale

Functions

extsload

Called by external contracts to access granular pool state

function extsload(bytes32 slot) external view returns (bytes32);

Parameters

NameTypeDescription
slotbytes32Key of slot to sload

Returns

NameTypeDescription
<none>bytes32value The value of the slot as bytes32

extsload

Called by external contracts to access granular pool state

function extsload(bytes32 startSlot, uint256 nSlots) external view returns (bytes32[] memory);

Parameters

NameTypeDescription
startSlotbytes32
nSlotsuint256

Returns

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

extsload

Called by external contracts to access granular pool state

function extsload(bytes32[] calldata slots) external view returns (bytes32[] memory);

Parameters

NameTypeDescription
slotsbytes32[]

Returns

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