StorageSlotMockUpgradeable
Inherits: Initializable, MulticallUpgradeable
State Variables
stringMap
mapping(uint256 key => string) public stringMap;
bytesMap
mapping(uint256 key => bytes) public bytesMap;
Functions
__StorageSlotMock_init
function __StorageSlotMock_init() internal onlyInitializing;
__StorageSlotMock_init_unchained
function __StorageSlotMock_init_unchained() internal onlyInitializing;
setAddressSlot
function setAddressSlot(bytes32 slot, address value) public;
setBooleanSlot
function setBooleanSlot(bytes32 slot, bool value) public;
setBytes32Slot
function setBytes32Slot(bytes32 slot, bytes32 value) public;
setUint256Slot
function setUint256Slot(bytes32 slot, uint256 value) public;
setInt256Slot
function setInt256Slot(bytes32 slot, int256 value) public;
getAddressSlot
function getAddressSlot(bytes32 slot) public view returns (address);
getBooleanSlot
function getBooleanSlot(bytes32 slot) public view returns (bool);
getBytes32Slot
function getBytes32Slot(bytes32 slot) public view returns (bytes32);
getUint256Slot
function getUint256Slot(bytes32 slot) public view returns (uint256);
getInt256Slot
function getInt256Slot(bytes32 slot) public view returns (int256);
setStringSlot
function setStringSlot(bytes32 slot, string calldata value) public;
setStringStorage
function setStringStorage(uint256 key, string calldata value) public;
getStringSlot
function getStringSlot(bytes32 slot) public view returns (string memory);
getStringStorage
function getStringStorage(uint256 key) public view returns (string memory);
setBytesSlot
function setBytesSlot(bytes32 slot, bytes calldata value) public;
setBytesStorage
function setBytesStorage(uint256 key, bytes calldata value) public;
getBytesSlot
function getBytesSlot(bytes32 slot) public view returns (bytes memory);
getBytesStorage
function getBytesStorage(uint256 key) public view returns (bytes memory);