-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add contract with the consolidated interface of the Comptroller…
… Diamond
- Loading branch information
Showing
1 changed file
with
19 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,19 @@ | ||
pragma solidity ^0.5.16; | ||
pragma experimental ABIEncoderV2; | ||
|
||
import "./facets/MarketFacet.sol"; | ||
import "./facets/PolicyFacet.sol"; | ||
import "./facets/RewardFacet.sol"; | ||
import "./facets/SetterFacet.sol"; | ||
import "./Diamond.sol"; | ||
|
||
/** | ||
* @title DiamondConsolidated | ||
* @author Venus | ||
* @notice This contract contains the functions defined in the different facets of the Diamond, plus the getters to the public variables. | ||
* This contract cannot be deployed, due to its size. Its main purpose is to allow the easy generation of an ABI and the typechain to interact with the | ||
* Unitroller contract in a simple way | ||
*/ | ||
contract DiamondConsolidated is Diamond, MarketFacet, PolicyFacet, RewardFacet, SetterFacet { | ||
|
||
} |