-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9dc20d
commit 01397fd
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity 0.6.10; | ||
|
||
interface AddressBookInterface { | ||
/* Getters */ | ||
|
||
function getOtokenImpl() external view returns (address); | ||
|
||
function getOtokenFactory() external view returns (address); | ||
|
||
function getWhitelist() external view returns (address); | ||
|
||
function getController() external view returns (address); | ||
|
||
function getMarginPool() external view returns (address); | ||
|
||
function getMarginCalculator() external view returns (address); | ||
|
||
function getLiquidationManager() external view returns (address); | ||
|
||
function getAddress(bytes32 id) external view returns (address); | ||
|
||
/* Setters */ | ||
|
||
function setOtokenImpl() external; | ||
|
||
function setOtokenFactory() external; | ||
|
||
function setWhitelist() external; | ||
|
||
function setController() external; | ||
|
||
function setMarginPool() external; | ||
|
||
function setMarginCalculator() external; | ||
|
||
function setLiquidationManager() external; | ||
|
||
function setAddress(bytes32 id, address _newImpl) external; | ||
} |