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
99efe80c
Commit
99efe80c
authored
Aug 18, 2017
by
Petr Korolev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typos in standart token doc
parent
0ed98ea9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
StandardToken.sol
contracts/token/StandardToken.sol
+3
-3
No files found.
contracts/token/StandardToken.sol
View file @
99efe80c
...
@@ -21,7 +21,7 @@ contract StandardToken is ERC20, BasicToken {
...
@@ -21,7 +21,7 @@ contract StandardToken is ERC20, BasicToken {
* @dev Transfer tokens from one address to another
* @dev Transfer tokens from one address to another
* @param _from address The address which you want to send tokens from
* @param _from address The address which you want to send tokens from
* @param _to address The address which you want to transfer to
* @param _to address The address which you want to transfer to
* @param _value uint256 the amou
t of tokens to be transfe
red
* @param _value uint256 the amou
nt of tokens to be transfer
red
*/
*/
function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
var _allowance = allowed[_from][msg.sender];
var _allowance = allowed[_from][msg.sender];
...
@@ -37,7 +37,7 @@ contract StandardToken is ERC20, BasicToken {
...
@@ -37,7 +37,7 @@ contract StandardToken is ERC20, BasicToken {
}
}
/**
/**
* @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender.
* @dev Ap
p
rove the passed address to spend the specified amount of tokens on behalf of msg.sender.
* @param _spender The address which will spend the funds.
* @param _spender The address which will spend the funds.
* @param _value The amount of tokens to be spent.
* @param _value The amount of tokens to be spent.
*/
*/
...
@@ -58,7 +58,7 @@ contract StandardToken is ERC20, BasicToken {
...
@@ -58,7 +58,7 @@ contract StandardToken is ERC20, BasicToken {
* @dev Function to check the amount of tokens that an owner allowed to a spender.
* @dev Function to check the amount of tokens that an owner allowed to a spender.
* @param _owner address The address which owns the funds.
* @param _owner address The address which owns the funds.
* @param _spender address The address which will spend the funds.
* @param _spender address The address which will spend the funds.
* @return A uint256 specifing the amount of tokens still available for the spender.
* @return A uint256 specif
y
ing the amount of tokens still available for the spender.
*/
*/
function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
return allowed[_owner][_spender];
return allowed[_owner][_spender];
...
...
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