Skip to content

Commit

Permalink
docs: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlinEgalite committed Jul 5, 2023
1 parent 2dc5593 commit d9cb441
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Blue.sol
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ contract Blue {

// Collateral management.

/// @dev The interests are not accrued since no health check is required when supplying collateral.
function supplyCollateral(Market calldata market, uint amount) external {
Id id = Id.wrap(keccak256(abi.encode(market)));
require(lastUpdate[id] != 0, "unknown market");
Expand Down

0 comments on commit d9cb441

Please sign in to comment.