Skip to content

Commit

Permalink
fix: Fix ActivePool comment and remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
bingen committed Jul 22, 2024
1 parent 4ccf29e commit 8b2d8d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/src/ActivePool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,7 @@ contract ActivePool is Ownable, CheckContract, IActivePool {
function _mintAggInterest(uint256 _upfrontFee) internal returns (uint256 mintedAmount) {
mintedAmount = calcPendingAggInterest() + _upfrontFee;

// Mint part of the BOLD interest to the SP.
// TODO: implement interest minting to LPs
// Mint part of the BOLD interest to the SP and part to the router for LPs.
if (mintedAmount > 0) {
uint256 spYield = SP_YIELD_SPLIT * mintedAmount / DECIMAL_PRECISION;
uint256 remainderToLPs = mintedAmount - spYield;
Expand Down

0 comments on commit 8b2d8d4

Please sign in to comment.