Skip to content

Instantly share code, notes, and snippets.

@shingonu
Created November 19, 2018 08:39
Show Gist options
  • Save shingonu/9955224c383e68cf58398326c9e6c751 to your computer and use it in GitHub Desktop.
Save shingonu/9955224c383e68cf58398326c9e6c751 to your computer and use it in GitHub Desktop.
pragma solidity ^0.4.18;
/**
* @title EternalStorage
* @dev This contract holds all the necessary state variables to carry out the storage of any contract.
*/
contract EternalStorage {
mapping(bytes32 => uint256) internal uintStorage;
mapping(bytes32 => string) internal stringStorage;
mapping(bytes32 => address) internal addressStorage;
mapping(bytes32 => bytes) internal bytesStorage;
mapping(bytes32 => bool) internal boolStorage;
mapping(bytes32 => int256) internal intStorage;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment