mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
16 lines
337 B
Solidity
16 lines
337 B
Solidity
|
// SPDX-License-Identifier: agpl-3.0
|
||
|
pragma solidity ^0.6.8;
|
||
|
|
||
|
contract UintStorage {
|
||
|
mapping(bytes32 => uint256) private uints;
|
||
|
|
||
|
function getUint(bytes32 _key) public view returns (uint256) {
|
||
|
return uints[_key];
|
||
|
}
|
||
|
|
||
|
function _setUint(bytes32 _key, uint256 _value) internal {
|
||
|
uints[_key] = _value;
|
||
|
}
|
||
|
|
||
|
}
|