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
Name | Type | Description |
---|---|---|
slot | bytes32 | Key of slot to sload |
Returns
Name | Type | Description |
---|---|---|
<none> | bytes32 | value 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
Name | Type | Description |
---|---|---|
startSlot | bytes32 | |
nSlots | uint256 |
Returns
Name | Type | Description |
---|---|---|
<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
Name | Type | Description |
---|---|---|
slots | bytes32[] |
Returns
Name | Type | Description |
---|---|---|
<none> | bytes32[] | value The value of the slot as bytes32 |