Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
1e584e49
Commit
1e584e49
authored
Jun 13, 2019
by
tincho
Committed by
Nicolás Venturo
Jun 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix errors in ERC777 docstrings (#1797)
parent
d9d10822
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ERC777.sol
contracts/token/ERC777/ERC777.sol
+4
-4
No files found.
contracts/token/ERC777/ERC777.sol
View file @
1e584e49
...
@@ -238,7 +238,7 @@ contract ERC777 is IERC777, IERC20 {
...
@@ -238,7 +238,7 @@ contract ERC777 is IERC777, IERC20 {
/**
/**
* @dev See `IERC777.operatorBurn`.
* @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 {
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");
require(isOperatorFor(msg.sender, account), "ERC777: caller is not an operator for holder");
...
@@ -274,7 +274,7 @@ contract ERC777 is IERC777, IERC20 {
...
@@ -274,7 +274,7 @@ contract ERC777 is IERC777, IERC20 {
* call `transferFrom` (unless they have allowance), and accounts with
* call `transferFrom` (unless they have allowance), and accounts with
* allowance cannot call `operatorSend` (unless they are operators).
* 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) {
function transferFrom(address holder, address recipient, uint256 amount) external returns (bool) {
require(recipient != address(0), "ERC777: transfer to the zero address");
require(recipient != address(0), "ERC777: transfer to the zero address");
...
@@ -296,12 +296,12 @@ contract ERC777 is IERC777, IERC20 {
...
@@ -296,12 +296,12 @@ contract ERC777 is IERC777, IERC20 {
* @dev Creates `amount` tokens and assigns them to `account`, increasing
* @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
* the total supply.
*
*
* If a send hook is registered for `
r
account`, the corresponding function
* If a send hook is registered for `account`, the corresponding function
* will be called with `operator`, `data` and `operatorData`.
* will be called with `operator`, `data` and `operatorData`.
*
*
* See `IERC777Sender` and `IERC777Recipient`.
* See `IERC777Sender` and `IERC777Recipient`.
*
*
* Emits `
Sent
` and `Transfer` events.
* Emits `
Minted
` and `Transfer` events.
*
*
* Requirements
* Requirements
*
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment