Skip to content

Commit

Permalink
contracts: fix inline doc
Browse files Browse the repository at this point in the history
  • Loading branch information
facuspagnuolo committed Dec 16, 2019
1 parent 55e47de commit deaeb22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions contracts/CourtPresaleActivate.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ contract CourtPresaleActivate is IsContract, ApproveAndCallFallBack {

/**
* @dev This function must be triggered by the contribution token approve-and-call fallback.
* It will pull the approved tokens and covert them into the presale instance, and activate the converted tokens into a
* It will pull the approved tokens and convert them into the presale instance, and activate the converted tokens into a
* jurors registry instance of an Aragon Court.
* @param _from Address of the original caller (juror) converting and activating the tokens
* @param _amount Amount of contribution tokens to be converted and activated
* @param _token Address of the contribution token triggering the approve-and-call fallback
* @param Extra-data not used in this function, declared only for compatibility reasons
*/
function receiveApproval(address _from, uint256 _amount, address _token, bytes calldata) external {
require(_amount > 0, ERROR_ZERO_AMOUNT);
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This contract only exposes the following function. It should be called by the co
```solidity
/**
* @dev This function must be triggered by the contribution token approve-and-call fallback.
* It will pull the approved tokens and covert them into the presale instance, and activate the converted tokens into a
* It will pull the approved tokens and convert them into the presale instance, and activate the converted tokens into a
* jurors registry instance of an Aragon Court.
* @param _from Address of the original caller (juror) converting and activating the tokens
* @param _amount Amount of contribution tokens to be converted and activated
Expand Down

0 comments on commit deaeb22

Please sign in to comment.