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
e98b187e
Unverified
Commit
e98b187e
authored
Sep 17, 2020
by
Nicolás Venturo
Committed by
GitHub
Sep 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in ERC20 docs (#2364)
parent
87326f73
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ERC20.sol
contracts/token/ERC20/ERC20.sol
+4
-3
No files found.
contracts/token/ERC20/ERC20.sol
View file @
e98b187e
...
...
@@ -140,9 +140,10 @@ contract ERC20 is Context, IERC20 {
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}
;
* required by the EIP. See the note at the beginning of {ERC20}
.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
...
...
@@ -220,7 +221,7 @@ contract ERC20 is Context, IERC20 {
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements
* Requirements
:
*
* - `to` cannot be the zero address.
*/
...
...
@@ -240,7 +241,7 @@ contract ERC20 is Context, IERC20 {
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements
* Requirements
:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
...
...
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