Skip to main content
Helpful?

IExtsload

Git Source | Generated with forge doc

Interface for functions to access any storage slot in a contract

Functions

extsload

Called by external contracts to access granular pool state

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

Parameters

NameTypeDescription
slotbytes32Key of slot to sload

Returns

NameTypeDescription
valuebytes32The 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 values);

Parameters

NameTypeDescription
startSlotbytes32Key of slot to start sloading from
nSlotsuint256Number of slots to load into return value

Returns

NameTypeDescription
valuesbytes32[]List of loaded values.

extsload

Called by external contracts to access sparse pool state

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

Parameters

NameTypeDescription
slotsbytes32[]List of slots to SLOAD from.

Returns

NameTypeDescription
valuesbytes32[]List of loaded values.
Helpful?