Skip to content

Commit

Permalink
added some helper functions
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharr1411 committed Sep 27, 2024
1 parent f060c04 commit 6df42e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DSCEngine.sol
Original file line number Diff line number Diff line change
Expand Up @@ -354,4 +354,8 @@ contract DSCEngine is ReentrancyGuard {
function getMinHealthFactor() external pure returns (uint256) {
return MIN_HEALTH_FACTOR;
}

function getCollateralTokens() external view returns( address[] memory ){
return s_collateralTokens;
}
}

0 comments on commit 6df42e7

Please sign in to comment.