aave-protocol-v2/contracts/configuration/AddressStorage.sol
2020-07-13 11:54:08 +03:00

15 lines
339 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;
}
}