Skip to content

Commit

Permalink
feat: add contract with the consolidated interface of the Comptroller…
Browse files Browse the repository at this point in the history
… Diamond
  • Loading branch information
chechu committed Oct 5, 2023
1 parent 041e3f1 commit 41f6725
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions contracts/Comptroller/Diamond/DiamondConsolidated.sol
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 {

}

0 comments on commit 41f6725

Please sign in to comment.