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
b734bf3f
Commit
b734bf3f
authored
Apr 15, 2020
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak wording in ERC20Snapshot docs
parent
3b10205c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ERC20Snapshot.sol
contracts/token/ERC20/ERC20Snapshot.sol
+3
-3
No files found.
contracts/token/ERC20/ERC20Snapshot.sol
View file @
b734bf3f
...
...
@@ -60,13 +60,13 @@ abstract contract ERC20Snapshot is ERC20 {
*
* Emits a {Snapshot} event that contains the same id.
*
* {_snapshot} is `internal`
: you must decide how to expose it externally. This can be done both by
*
guarding it with a system such as {AccessControl}, or by leaving it open to the public.
* {_snapshot} is `internal`
and you have to decide how to expose it externally. It's usage may be restricted to a
*
set of accounts, for example using {AccessControl}, or it may be open to the public.
*
* [WARNING]
* ====
* While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
* you must consider that it can potentially be used by attackers in two ways.
* you must consider that it can potentially be used by attackers in two ways.
*
* First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
* logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
...
...
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