Skip to content

Commit

Permalink
Merge pull request #86 from term-finance/emit-collat-constructor
Browse files Browse the repository at this point in the history
emit collateral updates in constructor
  • Loading branch information
aazhou1 authored Nov 7, 2024
2 parents 6a42b85 + 5691869 commit 72e13e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Strategy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,7 @@ contract Strategy is BaseStrategy, Pausable, AccessControl, ReentrancyGuard {

for (uint256 i = 0; i < _params._collateralTokens.length; i++) {
repoTokenListData.collateralTokenParams[ _params._collateralTokens[i]] = _params._minCollateralRatio[i];
TERM_VAULT_EVENT_EMITTER.emitMinCollateralRatioUpdated(_params._collateralTokens[i], _params._minCollateralRatio[i]);
}

timeToMaturityThreshold = _params._timeToMaturityThreshold;
Expand Down

0 comments on commit 72e13e0

Please sign in to comment.