2a997a8e92
Fixed wrong variable name in SampleCrowdsale.test.js. ( #916 )
2018-06-04 16:49:46 -07:00
5651538045
Clarified the rationaly behind the mul branch test. ( #970 )
2018-06-04 16:04:08 -07:00
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
2018-06-04 17:26:23 -03:00
2637bd89be
fix: add comment about rbacwithadmin being rather powerful ( #936 )
...
* fix: add comment about rbacwithadmin being rather powerful
* fix: move RBACWithAdmin to examples
2018-06-04 12:32:57 -07:00
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
2018-06-04 15:21:55 -03:00
a0c03ee61c
Adding new Superuser contract with test ( #952 )
...
* Adding new Superuser contract + tests
2018-06-03 16:14:30 -07:00
e3f866c982
fix: remove daylimit.sol, closes #925 ( #964 )
2018-06-01 13:16:47 -07:00
5ab9024b6a
update balance syntax for solidity 0.4.23 ( #940 )
2018-05-30 16:10:08 -07:00
d5f06ab32f
addressed TokenVesting contstructor natspec updates in #742 ( #935 )
2018-05-29 10:45:40 -06:00
746673a94f
style: use the max-len solidity rule ( #944 )
2018-05-14 11:42:32 -06:00
ba4cf03da7
contracts mocks: replace deprecated constant with view ( #931 )
2018-05-10 10:43:15 -06:00
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
2018-05-09 18:01:25 -07:00
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
2018-05-08 18:02:00 -07:00
20b85be6aa
Ownable behavior ( #929 )
...
* added function to renounce ownership
* Provide an Ownable behavior for testing (#905 )
* Fix indentation
* Convert to use should assertions
2018-05-08 17:33:37 -07:00
4223c9d50e
feat: refactor whitelist.sol to use RBAC ( #893 )
...
* feat: refactor whitelist.sol to use RBAC
* fix: remove poor backwards compat attempt
2018-05-08 17:20:28 -07:00
f0eea31bdf
Fix ERC721Token.sol code indent ( #909 )
2018-05-07 11:39:54 -07:00
ce0a928a6c
Fix typos in ERC721BasicToken comments ( #889 )
2018-05-07 11:20:12 -07:00
85f079ee89
Removing more asserts in favor of require ( #834 )
...
* Removed asserts and replaced them in favor of require
* Adapted tests to work with requires
2018-05-03 14:04:02 -03:00
7e44204d9b
added function to renounce ownership ( #907 )
2018-05-03 13:25:18 -03:00
4a10f727c4
1.9.0
v1.9.0
2018-04-26 16:36:06 -03:00
e79dc645e4
Merge branch 'rename-openzeppelin-solidity'
2018-04-26 16:35:19 -03:00
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
2018-04-26 12:36:41 -03:00
90413e75f1
add version script to update ethpm.json ( #906 )
2018-04-25 20:32:09 -03:00
9c262571ae
rename to openzeppelin-solidity
2018-04-25 19:19:15 -03:00
76fe1548ae
Fix ERC721 test is not checking name and symbol properly #910 ( #911 )
2018-04-23 20:36:47 -03:00
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
2018-04-23 15:16:55 +02:00
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
2018-04-23 13:39:34 +02:00
77cc33fc5c
cleaned up unsued variable definition ( #753 )
2018-04-20 16:01:05 -03:00
0b33d29e41
Add travis job to run test suite with solc nightly ( #902 )
...
Job is allowed to fail, and is run just for information purposes
2018-04-19 12:12:36 -03:00
61dfdde6c4
Updated send to sent. Matching indentation of closing comment. ( #897 )
2018-04-18 14:48:16 -03:00
e8be9a7bd0
Remove suggestion to rebase ( #899 )
2018-04-18 14:47:22 -03:00
dd8758fedf
move misplaced MathMock ( #900 )
2018-04-18 14:47:00 -03:00
c63b203c1d
Small SafeMath.sol gas improvements (add & mul). ( #894 )
2018-04-17 19:16:30 -03:00
c191757c6e
rename truffle.js to truffle-config.js ( #886 )
2018-04-17 17:14:38 -03:00
f4bdaf49a1
Increase test coverage to 93% #549 ( #768 )
...
* Increase test coverage to 93% #549
* cover missing AllowanceCrowdsale branch
* improve Heritable coverage
* fix lint errors
* proper equal assert
* address review comments
* remove unneeded const definitions and imports
* use assertRevert
* reword scenario description
* Increase test coverage to 93% #549
* cover missing AllowanceCrowdsale branch
* improve Heritable coverage
* fix lint errors
* proper equal assert
* address review comments
* remove unneeded const definitions and imports
* use assertRevert
* reword scenario description
* move HIGH_GOAL constant to the scope where it's used
* remove const at top level
* address review comments
2018-04-17 15:05:34 -03:00
6a7114fdb4
Bouncer contract implementation ( #883 )
...
* feat: implement bouncer contracts
* fix: rename Bouncer to SignatureBouncer
2018-04-17 11:36:24 -03:00
0926729c8f
Add StandardBurnableToken implementation ( #870 )
...
* Add StandardBurnableToken implementation
BurnableToken that extends from StandardToken and adds a
burnFrom method that decrements allowance. Equivalent to
a transferFrom plus burn in a single operation.
* Return event object from expectEvent helper
* Add comment on Approval event in burnFrom function
* Improvements on burnable token tests
- Inject initial balance as a parameter to the behaviour
- Use expectEvent helper for assertions on events
- Use chai bignumber for numbers
- Change to bdd-style assertions
2018-04-11 16:15:33 -03:00
9e1c934ffd
Various fixes and formatting chores ( #885 )
...
* fix: clean up solium linting errors
* fix: make various contracts natspec compliant
* fix: this.balance deprecated; convert to address(this).balance
* fix: contract.call deprecated and switch to gasleft()
* fix: ignore empty block rule project-wide
* fix: add ignore cases for the rest of the linting warnings
2018-04-10 20:31:29 -03:00
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
2018-04-09 20:48:32 -03:00
06666be93a
change MerkleProof interface to take array of bytes32 ( #879 )
2018-04-08 12:36:16 -03:00
915f74c5f6
remove collaborators and audits from README ( #866 )
2018-04-04 21:17:27 -03:00
3d3f20f7e3
Removing obsolete comment - explicit check in place ( #851 )
2018-04-04 09:53:55 -03:00
03a3302abd
add missing await in IndividuallyCappedCrowdsale ( #867 )
2018-04-03 18:50:24 -03:00
bd5f7f5774
Fix SafeMath test file ( #865 )
2018-04-03 17:54:48 -03:00
a6bef44790
fix: remove admin functionality from RBAC.sol fixes #802 ( #836 )
...
- splits the admin part of RBAC.sol into RBACWithAdmin.sol
2018-04-03 16:56:31 -03:00
a9c777faa6
docs: fix contributing link ( #848 )
...
* docs: fix contributing link
2018-04-03 15:56:01 -03:00
44a404aae5
Remove unnecessary import from ERC721Token.sol ( #855 )
...
The DeprecatedERC721.sol isn't implemented or necessary.
2018-04-03 11:32:52 -03:00
1d2d18f9da
Small gas improvement in SafeMath.sol ( #811 )
2018-03-28 15:00:10 -03:00
82ce197e44
tests: fix most of the static warnings ( #844 )
2018-03-28 13:33:58 -03:00
42787e2a75
added awaits ( #845 )
2018-03-26 21:55:52 -03:00