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
f76dbaed
Commit
f76dbaed
authored
Dec 27, 2021
by
github-actions
Browse files
Options
Browse Files
Download
Plain Diff
Merge upstream master into patched/master
parents
a60bf641
a0a8bbb5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
ERC20Votes.sol
contracts/token/ERC20/extensions/ERC20Votes.sol
+0
-2
ERC20VotesComp.sol
contracts/token/ERC20/extensions/ERC20VotesComp.sol
+0
-2
No files found.
contracts/token/ERC20/extensions/ERC20Votes.sol
View file @
f76dbaed
...
@@ -21,8 +21,6 @@ import "../../../utils/cryptography/ECDSA.sol";
...
@@ -21,8 +21,6 @@ import "../../../utils/cryptography/ECDSA.sol";
*
*
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
* Enabling self-delegation can easily be done by overriding the {delegates} function. Keep in mind however that this
* will significantly increase the base gas cost of transfers.
*
*
* _Available since v4.2._
* _Available since v4.2._
*/
*/
...
...
contracts/token/ERC20/extensions/ERC20VotesComp.sol
View file @
f76dbaed
...
@@ -19,8 +19,6 @@ import "./ERC20Votes.sol";
...
@@ -19,8 +19,6 @@ import "./ERC20Votes.sol";
*
*
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
* requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
* Enabling self-delegation can easily be done by overriding the {delegates} function. Keep in mind however that this
* will significantly increase the base gas cost of transfers.
*
*
* _Available since v4.2._
* _Available since v4.2._
*/
*/
...
...
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