UnstructuredStorage

library UnstructuredStorage

Source: contracts/common/UnstructuredStorage.sol

Index

Reference

Functions

getStorageAddress

function`` getStorageAddress(bytes32 position) internal view returns (address)


Parameters:

  • position - bytes32

Returns:

  • address

getStorageBool

function`` getStorageBool(bytes32 position) internal view returns (bool)


Parameters:

  • position - bytes32

Returns:

  • bool

getStorageBytes32

function`` getStorageBytes32(bytes32 position) internal view returns (bytes32)


Parameters:

  • position - bytes32

Returns:

  • bytes32

getStorageUint256

function`` getStorageUint256(bytes32 position) internal view returns (uint256)


Parameters:

  • position - bytes32

Returns:

  • uint256

setStorageAddress

function`` setStorageAddress(bytes32 position, address data) internal


Parameters:

  • position - bytes32

  • data - address

setStorageBool

function`` setStorageBool(bytes32 position, bool data) internal


Parameters:

  • position - bytes32

  • data - bool

setStorageBytes32

function`` setStorageBytes32(bytes32 position, bytes32 data) internal


Parameters:

  • position - bytes32

  • data - bytes32

setStorageUint256

function`` setStorageUint256(bytes32 position, uint256 data) internal


Parameters:

  • position - bytes32

  • data - uint256

Last updated