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
96a7113a
Commit
96a7113a
authored
Apr 03, 2020
by
Nicolás Venturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken links
parent
7c19c568
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
AccessControl.sol
contracts/access/AccessControl.sol
+1
-1
ERC20.sol
contracts/token/ERC20/ERC20.sol
+1
-1
IERC20.sol
contracts/token/ERC20/IERC20.sol
+1
-2
ERC777.sol
contracts/token/ERC777/ERC777.sol
+1
-1
No files found.
contracts/access/AccessControl.sol
View file @
96a7113a
...
...
@@ -28,7 +28,7 @@ import "../GSN/Context.sol";
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRo
k
e}.
* accounts that have a role's admin role can call {grantRole} and {revokeRo
l
e}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
...
...
contracts/token/ERC20/ERC20.sol
View file @
96a7113a
...
...
@@ -10,7 +10,7 @@ import "../../utils/Address.sol";
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has to be added in a derived contract using {_mint}.
* For a generic mechanism see {ERC20Mint
able
}.
* For a generic mechanism see {ERC20Mint
erPauser
}.
*
* TIP: For a detailed writeup see our guide
* https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
...
...
contracts/token/ERC20/IERC20.sol
View file @
96a7113a
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
...
...
contracts/token/ERC777/ERC777.sol
View file @
96a7113a
...
...
@@ -97,7 +97,7 @@ contract ERC777 is Context, IERC777, IERC20 {
}
/**
* @dev See {ERC20
Detailed
-decimals}.
* @dev See {ERC20-decimals}.
*
* Always returns 18, as per the
* [ERC777 EIP](https://eips.ethereum.org/EIPS/eip-777#backward-compatibility).
...
...
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