From 1e584e495782ebdb5096fe65037d99dae1cbe940 Mon Sep 17 00:00:00 2001 From: tincho Date: Thu, 13 Jun 2019 12:55:03 -0300 Subject: [PATCH] Fix errors in ERC777 docstrings (#1797) --- contracts/token/ERC777/ERC777.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contracts/token/ERC777/ERC777.sol b/contracts/token/ERC777/ERC777.sol index f857512c8..8e3e2f0f6 100644 --- a/contracts/token/ERC777/ERC777.sol +++ b/contracts/token/ERC777/ERC777.sol @@ -238,7 +238,7 @@ contract ERC777 is IERC777, IERC20 { /** * @dev See `IERC777.operatorBurn`. * - * Emits `Sent` and `Transfer` events. + * Emits `Burned` and `Transfer` events. */ function operatorBurn(address account, uint256 amount, bytes calldata data, bytes calldata operatorData) external { require(isOperatorFor(msg.sender, account), "ERC777: caller is not an operator for holder"); @@ -274,7 +274,7 @@ contract ERC777 is IERC777, IERC20 { * call `transferFrom` (unless they have allowance), and accounts with * allowance cannot call `operatorSend` (unless they are operators). * - * Emits `Sent` and `Transfer` events. + * Emits `Sent`, `Transfer` and `Approval` events. */ function transferFrom(address holder, address recipient, uint256 amount) external returns (bool) { require(recipient != address(0), "ERC777: transfer to the zero address"); @@ -296,12 +296,12 @@ contract ERC777 is IERC777, IERC20 { * @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * - * If a send hook is registered for `raccount`, the corresponding function + * If a send hook is registered for `account`, the corresponding function * will be called with `operator`, `data` and `operatorData`. * * See `IERC777Sender` and `IERC777Recipient`. * - * Emits `Sent` and `Transfer` events. + * Emits `Minted` and `Transfer` events. * * Requirements *