zaryab
ebd4b5e73d
decrease approval condition fix (greater than and equal to) ( #1063 )
...
* decrease approval condition fix (greater than and equal to)
* sol lint fixed
* Improved standard token decreaseApprovalTests.
7 years ago
Lucas Gleba
1ecda54449
Input check sequence modification for gas efficiency ( #1043 )
...
* Update StandardToken.sol
* Slight improvement in gas efficiency
Users tend to attempt to over-spend more than they attempt to burn non-burnable tokens. If the contract checks for overspending before assuring tokens are not being burnt a slight amount of gas might be saved in the long term.
7 years ago
Arun Kumar
07020e9544
Remove redundant @dev tags ( #995 )
...
* Remove redundant @dev tags
* Remove redundant @notice tags
7 years ago
Doug Crescenzi
e4ed8f0705
Added explicit integer sizes to uint variables in StandardToken ( #1004 )
7 years ago
artiebits
5daaf60d11
Make contracts 4.24 compatible ( #951 )
...
* Make contracts 4.24 compatible
7 years ago
Leo Arias
746673a94f
style: use the max-len solidity rule ( #944 )
7 years ago
John Shutt
ad12381549
update constructor syntax for solidity 0.4.23 in numerous contracts ( #921 )
...
* update solidity-coverage to ^0.5.0
* update truffle dependency to ^4.1.8
* update solium to ^1.1.7
* update all contracts to solidity ^0.4.23
7 years ago
Francisco Giordano
a7e91856f3
Update to Truffle 4.1.5 and Ganache 6.1.0 ( #876 )
...
* Update to ganache-cli v6.1.0 and truffle v4.1.0
* Update to stable version of ganache-cli
* fix: update event emission warning
- Fix event emission warnings for solidity 4.21 after truffle has been
updated to use this version
* fix pr review comments
* update to truffle v4.1.5
* update package-lock
* add additional emit keywords
* update solidity-coverage to 0.4.15
* update to solium 1.1.6
* fix MerkleProof coverage analysis by testing through wrapper
* change version pragma to ^0.4.21
* fix solium linting errors
7 years ago
Facundo Spagnuolo
c5d66183ab
Move ERC20 contracts to ERC20 custom folder ( #701 )
...
* Move ERC20 contracts to ERC20 custom folder
* Fix linter warnings for ERC20 contracts
7 years ago
AugustoL
b67856c69d
Separate ERC20 and ERC827 form tokens implementations in contracts and test folders
7 years ago
Matt Condon
4d263b7fc3
fix: the result of 'npm run lint:sol:fix'
7 years ago
Tal Ater
687dc19a4a
Documented increaseApproval() and decreaseApproval()
7 years ago
Dave Hoover
11349835e9
Minor formatting change
7 years ago
Alejandro Santander
815d9e1f45
Replace constant with view/pure
7 years ago
Alejandro Santander
e6213767fa
Update all solidity versions to 0.4.18
7 years ago
Georgios Konstantopoulos
3c5a268da4
fixes #572
7 years ago
Dan Phifer
e70dd18734
Moving business logic preconditions to the beginning of the function.
7 years ago
Jack Bauer
3733c069c9
Add explicit visibility
7 years ago
jakub-wojciechowski
adfd8fb6a9
Warning in approve method documentation.
7 years ago
jakub-wojciechowski
98f672b534
Make approve method compliant with ERC20
7 years ago
SylTi
4a1ff913ab
replace var by uint256 in StandardToken. Fix #432
7 years ago
SylTi
83918cad4b
change approve() to conform to ERC20. Fix #438
7 years ago
dmx374
b395b06b65
Explicit public visibility on methods
7 years ago
Roy Blankman
6d8bb497c8
removing trailing whitespace
7 years ago
Jesús Flores
0bd22e78d3
Fix docblock syntax
8 years ago
Pavel Rubin
209e2de93b
Fix for #400 : Check that destination of token transfers is not 0x
8 years ago
Rudy Godoy
8b11035b39
Indentation refactoring.
8 years ago
Rudy Godoy
21f251eafb
Removed onlyPayloadSize modifier
8 years ago
pipaman
e7b1c33955
Update StandardToken.sol
...
Added increaseApproval and decreaseApproval to increase / decrease the approval in 1 transaction.
8 years ago
Petr Korolev
99efe80c61
fixed typos in standart token doc
8 years ago
Yaron Velner
9333fec5f1
fix to issue 375
8 years ago
Giuseppe Bertone
7c9c0f6538
Fix for mispelled words ( #371 )
8 years ago
Peter Murray
18581f138f
converted if() throw convention to require()/assert()/revert()
8 years ago
Francisco Giordano
6331dd125d
fix ERC20 to conform to standard
8 years ago
Jason Bellamy
e31abffcb6
fix(token): typo in documentation
...
Implemantation -> Implementation
8 years ago
Jason Bellamy
42c6392533
fix(token): typo in documentation
8 years ago
Rudy Godoy
34e3ce4ab4
Typo fix: avaible -> available
8 years ago
Rudy Godoy
4d6b48f39e
Typo fix. standart -> standard
8 years ago
RStorm
daf1784be4
change inheritance order for StandardToken and PausableToken
8 years ago
Francisco Giordano
e33d9bb41b
remove all checks for short address attack ( fixes #261 )
8 years ago
Juraj Bednar
dd34d8df0f
Fix typo in StandardToken allowance documentation
8 years ago
RStorm
b1e504d6c6
change uint to uint256
8 years ago
Matt
403e7336a9
fixed typo
8 years ago
David Knott
6ede3d9001
Upgrade to Truffle version 3.2.2 and Solidity version 0.4.11
8 years ago
maurelian
d357cf3a2e
Minor changes to doc comments for token and other contracts
8 years ago
João Gabriel Carvalho
f6f91298f0
Add natspec to all remaing contracts, except for vestedToken.sol
8 years ago
Jorge Izquierdo
a6a2ee2bf1
Merge with master
8 years ago
Mikko Ohtamaa
964185dec3
Protect transferFrom against short hand attack.
8 years ago
Mikko Ohtamaa
e1cf602487
Fix variable naming.
8 years ago
Mikko Ohtamaa
a3446507ec
Add fix for the approve() mitigation.
8 years ago