Aniket
66bad4ff2a
Removed selfdestruct from BreakInvariantBounty ( #1385 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1384
* introduced claimable and cancelBounty
* cancelBounty tests
* Update BreakInvariantBounty.test.js
(cherry picked from commit 41f84f8b40
)
6 years ago
Nicolás Venturo
41e74dd8d8
Removed old, unused mocks. ( #1382 )
...
(cherry picked from commit b17de011dc
)
6 years ago
Nicolás Venturo
bbe804a14b
Deleted unnecessary import. ( #1437 )
...
* Deleted unnecessary import.
* Added back SafeMath.
* Removed another unnecessary import.
6 years ago
Nicolás Venturo
28cf567e41
Made SampleCrowdsale a bit clearer. ( #1448 )
6 years ago
Nicolás Venturo
5bb865218f
Now setting the finalized flag before doing finalization to prevent possbile reentrancy issues. ( #1447 )
6 years ago
Nicolás Venturo
94692acb14
Crowdsale docs improvements. ( #1446 )
...
* Added a small Crowdsale fallback gas warning.
* Fixed a couple typos.
6 years ago
Nicolás Venturo
384dff9abe
Renamed internal ERC721 check function. ( #1445 )
6 years ago
Nicolás Venturo
5bf3907862
Made tokenURI external, as per the spec. ( #1444 )
6 years ago
Nicolás Venturo
c8220aeea8
ERC20Capped now capps _all_ minting, even internal calls. ( #1443 )
6 years ago
Nicolás Venturo
9155bfe27f
IncPriceCrowdsale consistently returns 0 outside of the crowdsale window. ( #1442 )
6 years ago
Nicolás Venturo
1c5f16ae26
Closing time must be strictly after opening time. ( #1440 )
6 years ago
Nicolás Venturo
d9fdffe88e
Internal crowdsales ( #1439 )
...
* Made some internal crowdsale methods internal.
* Made all Crowdsale constructors internal.
6 years ago
Aniket
315f426f5c
Improved SafeERC20 allowance handling ( #1407 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1404
* approve failing test
* suggested changes done
* ISafeERC20 removed
* allowance methods in library
* Improved SafeERC20 tests.
* Fixed test coverage.
6 years ago
Nicolás Venturo
67dac7ae99
TokenVesting improvements ( #1431 )
...
* Improved TokenVesting events.
* Added extra checks to TokenVesting.
* Renamed the events.
* Fixed linter error.
* Fixed a test that failed to cover a require.
* Renamed TokensRevoked to TokenVestingRevoked.
6 years ago
cardmaniac992
a07499796a
SplitPayment improvements ( #1417 )
...
* Renamed file, added events and set _addPayee to private
* unwanted file
* adjusted test
* adjusted test
* PaymentReceived event added
* Added event testing.
* Fix static tests
6 years ago
Christopher Glisch
fcab9c89f2
Added address of pauser/unpauser in events ( #1410 )
...
* Added address of pauser/unpauser in events
* Added the account to the Pausable tests.
6 years ago
Aniket
cbe414864f
Events added to Secondary ( #1425 )
...
* Update contracts/ownership/Secondary.sol
* Update Secondary.sol
* Update Secondary.test.js
* Update Secondary.test.js
* Update Secondary.sol
6 years ago
Nicolás Venturo
0231fac514
Added leading underscore to internal functions, renamed supportsInterfaces. ( #1435 )
6 years ago
Nicolás Venturo
ff0c048ad9
Added replay attack notice to SignatureBouncer. ( #1434 )
6 years ago
Nicolás Venturo
96d6103e0b
Made some inherit-only contracts internal. ( #1433 )
...
* Made some inherit-only contracts internal.
* Added OwnableMock.
6 years ago
Nicolás Venturo
df3c113711
Made some TokenVesting public functions private. ( #1427 )
...
* Made some TokenVesting public functions private.
* Fixed linter error.
6 years ago
Nicolás Venturo
f3df2dab3d
Moved Escrows into an escrow subdirectory, improved docs. ( #1430 )
...
* Moved Escrows into an escrow subdirectory, improved docs.
* Fixed escrow mock.
* Fixed some more imports.
6 years ago
Nicolás Venturo
cfef58361f
Removed default value assignments. ( #1432 )
6 years ago
Nicolás Venturo
d8ab8a00f2
Moved some test files around to better reflect the directory layout. ( #1428 )
6 years ago
Nicolás Venturo
2733cb4a41
Now using hex for asm memory addresses. ( #1429 )
6 years ago
Paweł Winnicki
03765e08b9
Make state variables private ( #1426 )
...
* added function to renounce ownership
* Make state variables private (#1411 )
6 years ago
Nicolás Venturo
9be0f100c4
Removed BreakInvariantBounty. ( #1424 )
6 years ago
Nicolás Venturo
a3e312d133
Added Math.sol docstrings. ( #1423 )
6 years ago
Nicolás Venturo
3341dd8899
Fixed a typo in a comment. ( #1422 )
6 years ago
Nicolás Venturo
3bd30f7382
Roles.add and remove now require pre-conditions on the account. ( #1421 )
6 years ago
Aniket
844a96d0b9
RefundEscrow's events renamed ( #1418 )
...
* fixes #1414
6 years ago
Mikhail Melnik
03dfb2965c
Improve encapsulation on ERC165 and update code style guide ( #1379 )
...
* use prefix underscore for internal state variables
* make _supportedInterfaces private
6 years ago
Nicolás Venturo
9f822906b8
First test helpers tests ( #1369 )
...
* Removed unused advanceToBlock.
* Added advanceBlock tests.
* Fixed advanceToBlock tests.
* Added single argument tests.
* Finished inLogs tests.
* Fixed linter errors.
* Fixed linter errors.
6 years ago
Nicolás Venturo
eb92fd1f48
Fix typo in ARCHITECTURE.md ( #1406 )
6 years ago
Leo Arias
076cb7decd
Add a code style rule to make all state variables private ( #1390 )
6 years ago
Aniket
da67e435b1
Non-constructor initialization removed ( #1403 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1391
6 years ago
Nicolás Venturo
b0da0fded0
Replaced assertJump, assertRevert and expectThrow with shouldFail. ( #1363 )
...
* Replaced assertJump, assertRevert and expectThrow with shouldFail.
* Fixed linter errors.
* Fixed typo.
* Made the helpers async.
6 years ago
Aniket
58a42443df
added a test helper with common constants ( #1400 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1206
6 years ago
Aniket
af42c39e6c
Improves Ownable events ( #1397 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1392
* event tests added
* constructor event added
6 years ago
Nicolás Venturo
3acc2b4216
Added a constructor to BreakInvariantBounty. ( #1395 )
6 years ago
Jakub Bogacz
f7e53d90fa
Add Arrays library with unit tests ( #1209 ) ( #1375 )
...
* Add Arrays library with unit tests (#1209 )
* prepared due to snapshot token requirements
* add library with method to find upper bound
* add unit test for basic and edge cases
* Imporove documentation for Arrays library
Simplify Arrays.test.js to use short arrays as test date
* Added comment for uint256 mid variable.
* Explaned why uint256 mid variable calculated as Math.average is safe to use as index of array.
6 years ago
Aniket
41f84f8b40
Removed selfdestruct from BreakInvariantBounty ( #1385 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1384
* introduced claimable and cancelBounty
* cancelBounty tests
* Update BreakInvariantBounty.test.js
6 years ago
Nicolás Venturo
b17de011dc
Removed old, unused mocks. ( #1382 )
6 years ago
Nicolás Venturo
2d30918149
Release candidate v2.0.0-rc.3
6 years ago
Nicolás Venturo
0db1f8144d
Removed unnecessary Secondary inheritance from RefundEscrow. ( #1381 )
...
(cherry picked from commit 308e5e9cc0
)
6 years ago
Nicolás Venturo
308e5e9cc0
Removed unnecessary Secondary inheritance from RefundEscrow. ( #1381 )
6 years ago
Anton Bukov
ffeae0d83e
ERC20 internal transfer method ( #1370 )
...
(cherry picked from commit 43ebb4fc43
)
6 years ago
Aniket
38ca422170
Removing unrequired `_burn()` override ( #1373 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1371
* Removed extra whitespace
(cherry picked from commit f3888bb0b0
)
6 years ago
Aniket
7c984968d8
Prevents Bounty from being claimed twice ( #1374 )
...
* signing prefix added
* Minor improvement
* Tests changed
* Successfully tested
* Minor improvements
* Minor improvements
* Revert "Dangling commas are now required. (#1359 )"
This reverts commit a6889776f4
.
* updates
* fixes #1356
* Removed extra semicolon.
(cherry picked from commit c87433e0c2
)
6 years ago
Francisco Giordano
bd8345a153
Separate ERC721Mintable ( #1365 )
...
* separate part of ERC721Mintable into ERC721MetadataMintable
* remove mint and burn from 721 tests
* Fixed linter error.
* fix ERC721 mint tests
* Minor fixes.
(cherry picked from commit 744f567f40
)
6 years ago