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
b069827b
Commit
b069827b
authored
Sep 19, 2017
by
sot528
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo.
parent
74e416f0
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
Bounty.sol
contracts/Bounty.sol
+1
-1
DayLimit.sol
contracts/DayLimit.sol
+1
-1
CappedCrowdsale.sol
contracts/crowdsale/CappedCrowdsale.sol
+1
-1
FinalizableCrowdsale.sol
contracts/crowdsale/FinalizableCrowdsale.sol
+2
-2
SimpleToken.sol
contracts/examples/SimpleToken.sol
+1
-1
CanReclaimToken.sol
contracts/ownership/CanReclaimToken.sol
+1
-1
LimitedTransferToken.sol
contracts/token/LimitedTransferToken.sol
+2
-2
VestedToken.sol
contracts/token/VestedToken.sol
+3
-3
No files found.
contracts/Bounty.sol
View file @
b069827b
...
...
@@ -16,7 +16,7 @@ contract Bounty is PullPayment, Destructible {
event TargetCreated(address createdAddress);
/**
* @dev Fallback function allowing the contract to rec
ie
ve funds, if they haven't already been claimed.
* @dev Fallback function allowing the contract to rec
ei
ve funds, if they haven't already been claimed.
*/
function() payable {
require(!claimed);
...
...
contracts/DayLimit.sol
View file @
b069827b
...
...
@@ -38,7 +38,7 @@ contract DayLimit {
/**
* @dev Checks to see if there is enough resource to spend today. If true, the resource may be expended.
* @param _value uint256 representing the amount of resource to spend.
* @return A boolean that is True if the resource was spen
ded
and false otherwise.
* @return A boolean that is True if the resource was spen
t
and false otherwise.
*/
function underLimit(uint256 _value) internal returns (bool) {
// reset the spend limit if we're on a different day to last time.
...
...
contracts/crowdsale/CappedCrowdsale.sol
View file @
b069827b
...
...
@@ -5,7 +5,7 @@ import './Crowdsale.sol';
/**
* @title CappedCrowdsale
* @dev Extension of Crow
sd
ale with a max amount of funds raised
* @dev Extension of Crow
ds
ale with a max amount of funds raised
*/
contract CappedCrowdsale is Crowdsale {
using SafeMath for uint256;
...
...
contracts/crowdsale/FinalizableCrowdsale.sol
View file @
b069827b
...
...
@@ -6,7 +6,7 @@ import './Crowdsale.sol';
/**
* @title FinalizableCrowdsale
* @dev Extension of Crow
sd
ale where an owner can do extra work
* @dev Extension of Crow
ds
ale where an owner can do extra work
* after finishing.
*/
contract FinalizableCrowdsale is Crowdsale, Ownable {
...
...
@@ -31,7 +31,7 @@ contract FinalizableCrowdsale is Crowdsale, Ownable {
}
/**
* @dev Can be overriden to add finalization logic. The overriding function
* @dev Can be overrid
d
en to add finalization logic. The overriding function
* should call super.finalization() to ensure the chain of finalization is
* executed entirely.
*/
...
...
contracts/examples/SimpleToken.sol
View file @
b069827b
...
...
@@ -19,7 +19,7 @@ contract SimpleToken is StandardToken {
uint256 public constant INITIAL_SUPPLY = 10000 * (10 ** uint256(decimals));
/**
* @dev Contructor that gives msg.sender all of existing tokens.
* @dev Con
s
tructor that gives msg.sender all of existing tokens.
*/
function SimpleToken() {
totalSupply = INITIAL_SUPPLY;
...
...
contracts/ownership/CanReclaimToken.sol
View file @
b069827b
...
...
@@ -7,7 +7,7 @@ import "../token/SafeERC20.sol";
/**
* @title Contracts that should be able to recover tokens
* @author SylTi
* @dev This allow a contract to recover any ERC20 token received in a contract by transfering the balance to the contract owner.
* @dev This allow a contract to recover any ERC20 token received in a contract by transfer
r
ing the balance to the contract owner.
* This will prevent any accidental loss of tokens.
*/
contract CanReclaimToken is Ownable {
...
...
contracts/token/LimitedTransferToken.sol
View file @
b069827b
...
...
@@ -29,7 +29,7 @@ contract LimitedTransferToken is ERC20 {
/**
* @dev Checks modifier and allows transfer if tokens are not locked.
* @param _to The address that will rec
ie
ve the tokens.
* @param _to The address that will rec
ei
ve the tokens.
* @param _value The amount of tokens to be transferred.
*/
function transfer(address _to, uint256 _value) canTransfer(msg.sender, _value) public returns (bool) {
...
...
@@ -39,7 +39,7 @@ contract LimitedTransferToken is ERC20 {
/**
* @dev Checks modifier and allows transfer if tokens are not locked.
* @param _from The address that will send the tokens.
* @param _to The address that will rec
ie
ve the tokens.
* @param _to The address that will rec
ei
ve the tokens.
* @param _value The amount of tokens to be transferred.
*/
function transferFrom(address _from, address _to, uint256 _value) canTransfer(_from, _value) public returns (bool) {
...
...
contracts/token/VestedToken.sol
View file @
b069827b
...
...
@@ -179,7 +179,7 @@ contract VestedToken is StandardToken, LimitedTransferToken {
}
/**
* @dev Get all information about a specifc grant.
* @dev Get all information about a specif
i
c grant.
* @param _holder The address which will have its tokens revoked.
* @param _grantId The id of the token grant.
* @return Returns all the values that represent a TokenGrant(address, value, start, cliff,
...
...
@@ -219,7 +219,7 @@ contract VestedToken is StandardToken, LimitedTransferToken {
* @dev Calculate the amount of non vested tokens at a specific time.
* @param grant TokenGrant The grant to be checked.
* @param time uint64 The time to be checked
* @return An uint256 representing the amount of non vested tokens of a specifc grant on the
* @return An uint256 representing the amount of non vested tokens of a specif
i
c grant on the
* passed time frame.
*/
function nonVestedTokens(TokenGrant grant, uint64 time) private constant returns (uint256) {
...
...
@@ -227,7 +227,7 @@ contract VestedToken is StandardToken, LimitedTransferToken {
}
/**
* @dev Calculate the date when the holder can trasfer all its tokens
* @dev Calculate the date when the holder can tra
n
sfer all its tokens
* @param holder address The address of the holder
* @return An uint256 representing the date of the last transferable tokens.
*/
...
...
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