Skip to content

Commit

Permalink
Merge pull request #220 from DistributedCollective/redeploy-after-bzx…
Browse files Browse the repository at this point in the history
…-update

Redeploy after update from bzx
  • Loading branch information
tjcloa committed May 10, 2021
2 parents e8fba1f + e687f3c commit ce86cfd
Show file tree
Hide file tree
Showing 20 changed files with 2,219 additions and 807 deletions.
449 changes: 0 additions & 449 deletions contracts/connectors/loantoken/LoanTokenLogicDai.sol

This file was deleted.

11 changes: 0 additions & 11 deletions contracts/connectors/loantoken/LoanTokenLogicStandard.sol
Original file line number Diff line number Diff line change
Expand Up @@ -919,17 +919,6 @@ contract LoanTokenLogicStandard is LoanTokenSettingsLowerAdmin {
}
}

function _adjustValue(
uint256 interestRate,
uint256 maxDuration,
uint256 marginAmount
) internal pure returns (uint256) {
return
maxDuration != 0
? interestRate.mul(WEI_PERCENT_PRECISION).mul(maxDuration).div(365 days).div(marginAmount).add(WEI_PERCENT_PRECISION)
: WEI_PERCENT_PRECISION;
}

/**
* used to read externally from the smart contract to see if a function is paused
* returns a bool
Expand Down
Loading

0 comments on commit ce86cfd

Please sign in to comment.