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
7592122e
Commit
7592122e
authored
Apr 19, 2017
by
Manuel Araoz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix indentation
parent
609869f0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
BasicToken.sol
contracts/token/BasicToken.sol
+1
-1
ERC20.sol
contracts/token/ERC20.sol
+0
-1
No files found.
contracts/token/BasicToken.sol
View file @
7592122e
...
@@ -14,7 +14,7 @@ contract BasicToken is ERC20Basic {
...
@@ -14,7 +14,7 @@ contract BasicToken is ERC20Basic {
mapping(address => uint) balances;
mapping(address => uint) balances;
/*
/*
* Fix for the ERC20 short address attack
* Fix for the ERC20 short address attack
*/
*/
modifier onlyPayloadSize(uint size) {
modifier onlyPayloadSize(uint size) {
...
...
contracts/token/ERC20.sol
View file @
7592122e
...
@@ -10,7 +10,6 @@ import './ERC20Basic.sol';
...
@@ -10,7 +10,6 @@ import './ERC20Basic.sol';
*/
*/
contract ERC20 is ERC20Basic {
contract ERC20 is ERC20Basic {
function allowance(address owner, address spender) constant returns (uint);
function allowance(address owner, address spender) constant returns (uint);
function transferFrom(address from, address to, uint value);
function transferFrom(address from, address to, uint value);
function approve(address spender, uint value);
function approve(address spender, uint value);
event Approval(address indexed owner, address indexed spender, uint value);
event Approval(address indexed owner, address indexed spender, uint value);
...
...
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