Matt Condon
92b695f2fb
Fix/whitelisted crowdsale ( #981 )
...
* fix: swithc WhitelistedCrowdsale to use Whitelist.sol
* feat: refactor whitelist.sol, rbac.sol and whitelistedcrowdsale.sol
* feat: add event arg assets and update whitelist
* fix: update modifier comment and also test isWhitelisted
* fix: remove onlyWhitelisted backwards compat attempt, fix explicit inheritance
* fix: remove underscore prefix from event args
* fix: user access/Whitelist
7 years ago
Rob
ee78f67985
fixing comment - changing '_to' to '_spender' ( #1007 )
7 years ago
Arun Kumar
07020e9544
Remove redundant @dev tags ( #995 )
...
* Remove redundant @dev tags
* Remove redundant @notice tags
7 years ago
chriseth
b4406d385f
Use abi.encodeWithSignature together with raw call() ( #1008 )
7 years ago
Alex Beregszaszi
78e39aa2ad
Do not use implicit type conversion for address literals ( #1002 )
...
Uses the explicit address(0) for the zero address
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
Matt Condon
e1dc1411fc
WIP: Fix/erc721 ( #993 )
...
* fix: defer lookup-specific info to implementations
* fix: change inheritance order, fix import
7 years ago
Arun Kumar
9f1d294ba4
Move Whitelist contract to access directory ( #994 )
7 years ago
Adam Flesher
9951acf6d8
Added aflesher as an author to SignatureBouncer.sol ( #996 )
7 years ago
Leo Arias
72792a724d
ownable: add a notice on renounceOwnership ( #937 )
...
* ownable: add a notice on renounceOwnership
* Apply the suggestion by @shrugs
7 years ago
Adam Flesher
b0292cf628
Add `isValidSignatureAndData` to Bouncer to verify method calls ( #973 )
7 years ago
Doug Crescenzi
39385f9f4e
Addressed unchecked return value in AllowanceCrowdsale #945 using SafeERC20 ( #946 )
...
* addressed unchecked return value in AllowanceCrowdsale #945 using SafeERC20
7 years ago
Gal Bracha
7a61371b19
Updated documentation Uppercasing function name for ERC02 basic token ( #720 )
7 years ago
Matt Condon
259b9da3e6
add 165 to 721 ( #972 )
...
* make _tokenId indexed in Transfer and Approval events
via: https://github.com/ethereum/EIPs/pull/1124/files
* fix: make name() and symbol() external instead of public
* feat: implement ERC721's ERC165
* feat: erc165 tests
* fix: don't use chai-as-promised in direct await
* fix: reorganize to /introspection
* feat: abstract all erc165 tests to a behavior
* feat: disallow registering 0xffffffff
7 years ago
Alen
5326e7c36e
Removed redundant modifiers from CappedToken. ( #969 )
7 years ago
Francisco Giordano
feb665136c
1.10.0
7 years ago
Patricio Mosse
7fb84b42d5
Refactoring Superuser contract to allow Owners to transfer ownership … ( #978 )
...
* Refactoring Superuser contract to allow Owners to transfer ownership when they are not superusers #50
* Refactoring tests to create a contract instance for each of them #50
7 years ago
Doug Crescenzi
5db0d7d1a0
included command to add upstream ( #959 )
7 years ago
Vittorio Minacori
512e8218ca
Add a comment on Detailed ERC20 token #953 ( #960 )
...
* add a comment on detailed erc20 token #953
7 years ago
Doug Crescenzi
9d6ffae8cb
removed mentions of 'development' branch in Contribution Guidelines ( #966 )
7 years ago
Tsuyoshi Maeda
2a997a8e92
Fixed wrong variable name in SampleCrowdsale.test.js. ( #916 )
7 years ago
Nicolás Venturo
5651538045
Clarified the rationaly behind the mul branch test. ( #970 )
7 years ago
Francisco Giordano
10e84aecaf
Fix Node 10 compatibility ( #949 )
...
* update sha3 1.2.0 -> 1.2.2 for node 10 compatibility
* update nan 2.6.2 -> 2.10.0 for node 10 compatibility
* commit new package-lock.json format generated by npm 6
7 years ago
Matt Condon
2637bd89be
fix: add comment about rbacwithadmin being rather powerful ( #936 )
...
* fix: add comment about rbacwithadmin being rather powerful
* fix: move RBACWithAdmin to examples
7 years ago
Iuri Matias
32ec8b5398
Add Status Embark to README ( #956 )
...
* Update README.md
* update embark import to use the v1.9.0 tag instead of master
* Update README.md
7 years ago
Patricio Mosse
a0c03ee61c
Adding new Superuser contract with test ( #952 )
...
* Adding new Superuser contract + tests
7 years ago
Matt Condon
e3f866c982
fix: remove daylimit.sol, closes #925 ( #964 )
7 years ago
Yong
5ab9024b6a
update balance syntax for solidity 0.4.23 ( #940 )
7 years ago
Doug Crescenzi
d5f06ab32f
addressed TokenVesting contstructor natspec updates in #742 ( #935 )
7 years ago
Leo Arias
746673a94f
style: use the max-len solidity rule ( #944 )
7 years ago
Leo Arias
ba4cf03da7
contracts mocks: replace deprecated constant with view ( #931 )
7 years ago
Vittorio Minacori
39370ff690
Adding RBAC Mintable token ( #923 )
...
* added the RBACMintableToken
* added MintedCrowdsale with RBACMintableToken test
* added a mintable behaviour for tests
* moved minting tests in behaviour
* created a minted crowdsale behaviour to be tested with both mintable and rbacmintable token
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
Paweł Winnicki
20b85be6aa
Ownable behavior ( #929 )
...
* added function to renounce ownership
* Provide an Ownable behavior for testing (#905 )
* Fix indentation
* Convert to use should assertions
7 years ago
Matt Condon
4223c9d50e
feat: refactor whitelist.sol to use RBAC ( #893 )
...
* feat: refactor whitelist.sol to use RBAC
* fix: remove poor backwards compat attempt
7 years ago
Kazuki YAMAGUCHI
f0eea31bdf
Fix ERC721Token.sol code indent ( #909 )
7 years ago
Daniel Que
ce0a928a6c
Fix typos in ERC721BasicToken comments ( #889 )
7 years ago
Schneider Jakob
85f079ee89
Removing more asserts in favor of require ( #834 )
...
* Removed asserts and replaced them in favor of require
* Adapted tests to work with requires
7 years ago
Paweł Winnicki
7e44204d9b
added function to renounce ownership ( #907 )
7 years ago
Francisco Giordano
4a10f727c4
1.9.0
7 years ago
Francisco Giordano
e79dc645e4
Merge branch 'rename-openzeppelin-solidity'
7 years ago
Francisco Giordano
0e5799c93b
Clean up npm package ( #904 )
...
* ignore everything but official contracts for npm
* add tests to npm package
* remove truffle migrations stuff
* remove seemingly unused npm dependency
* clean up dependencies
7 years ago
Francisco Giordano
90413e75f1
add version script to update ethpm.json ( #906 )
7 years ago
Francisco Giordano
9c262571ae
rename to openzeppelin-solidity
7 years ago
Vittorio Minacori
76fe1548ae
Fix ERC721 test is not checking name and symbol properly #910 ( #911 )
7 years ago
Anton Bukov
8f2a4785cb
Make ERC827 methods payable ( #838 )
...
* Make ERC827 methods payable
* Suppress linter errors
* Add some ERC827 payable tests
* Remove failOnBuy method from MessageHelper
* Fix linter warning
* Fix tests
7 years ago
Elie
16535fbb87
Update ERC827.sol to not use function overloading ( #871 )
...
* Update ERC827.sol to not use function overloading
* updated tests for erc827 function name changes
* fixed broken test
* removed findMethod from erc827 tests that is no longer necessary
7 years ago
Radek Ostrowski
77cc33fc5c
cleaned up unsued variable definition ( #753 )
7 years ago
Santiago Palladino
0b33d29e41
Add travis job to run test suite with solc nightly ( #902 )
...
Job is allowed to fail, and is run just for information purposes
7 years ago