Skip to content

Commit

Permalink
chore: remove unused getters (#50)
Browse files Browse the repository at this point in the history
Co-authored-by: JG Carvalho <[email protected]>
  • Loading branch information
deluca-mike and JGcarv authored Dec 13, 2021
1 parent 0f705a7 commit cd94071
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
12 changes: 0 additions & 12 deletions contracts/DebtLocker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -267,10 +267,6 @@ contract DebtLocker is IDebtLocker, DebtLockerStorage, MapleProxied {
return _implementation();
}

function investorFee() external view override returns (uint256 investorFee_) {
return IMapleGlobalsLike(_getGlobals()).investorFee();
}

function liquidator() external view override returns (address liquidator_) {
return _liquidator;
}
Expand All @@ -279,10 +275,6 @@ contract DebtLocker is IDebtLocker, DebtLockerStorage, MapleProxied {
return _loan;
}

function mapleTreasury() external view override returns (address mapleTreasury_) {
return IMapleGlobalsLike(_getGlobals()).mapleTreasury();
}

function minRatio() external view override returns (uint256 minRatio_) {
return _minRatio;
}
Expand All @@ -303,10 +295,6 @@ contract DebtLocker is IDebtLocker, DebtLockerStorage, MapleProxied {
return _repossessed;
}

function treasuryFee() external view override returns (uint256 treasuryFee_) {
return IMapleGlobalsLike(_getGlobals()).treasuryFee();
}

/*******************************/
/*** Internal View Functions ***/
/*******************************/
Expand Down
15 changes: 0 additions & 15 deletions contracts/interfaces/IDebtLocker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,6 @@ interface IDebtLocker is IMapleProxied {
*/
function claim() external returns (uint256[7] memory details_);

/**
* @dev Returns the annualized establishment fee that will go to the PoolDelegate.
*/
function investorFee() external view returns (uint256 investorFee_);

/**
* @dev Returns the address of the Maple Treasury.
*/
function mapleTreasury() external view returns (address mapleTreasury_);

/**
* @dev Allows the poolDelegate to pull some funds from liquidator contract
* @param token_ The token address of the funds.
Expand All @@ -80,11 +70,6 @@ interface IDebtLocker is IMapleProxied {
*/
function pullFundsFromLiquidator(address token_, address destination_, uint256 amount_) external;

/**
* @dev Returns the annualized establishment fee that will go to the Maple Treasury.
*/
function treasuryFee() external view returns (uint256 treasuryFee_);

/**
* @dev Returns the address of the Pool Delegate that has control of the DebtLocker.
*/
Expand Down

0 comments on commit cd94071

Please sign in to comment.