Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Commit

Permalink
Added a comment surrounding function provide
Browse files Browse the repository at this point in the history
  • Loading branch information
HegicDeveloper authored May 28, 2020
1 parent 2195d72 commit 7c00dc0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contracts/HegicETHPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ contract HegicETHPool is

/*
* @nonce A provider supplies ETH to the pool and receives writeETH tokens
* @param minMint Minimum amount of tokens that should be received by a provider
* @param minMint Minimum amount of tokens that should be received by a provider.
Calling the provide function will require the minimum amount of tokens to be minted.
The actual amount that will be minted could vary but can only be higher (not lower) than the minimum value.
* @return mint Amount of tokens to be received
*/
function provide(uint256 minMint) external payable returns (uint256 mint) {
Expand Down

0 comments on commit 7c00dc0

Please sign in to comment.