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