Commit Graph

38 Commits

Author SHA1 Message Date
8fd072cf8e Escrows (#1014)
* Added basic Escrow

* PullPayment now uses an Escrow, removing all trust from the contract

* Abstracted the Escrow tests to a behaviour

* Added ConditionalEscrow

* Added RefundableEscrow.

* RefundableCrowdsale now uses a RefundEscrow, removed RefundVault.

* Renaming after code review.

* Added log test helper.

* Now allowing empty deposits and withdrawals.

* Style fixes.

* Minor review comments.

* Add Deposited and Withdrawn events, removed Refunded

* The base Escrow is now Ownable, users of it (owners) must provide methods to access it.
2018-07-03 18:54:55 -03:00
78e39aa2ad Do not use implicit type conversion for address literals (#1002)
Uses the explicit address(0) for the zero address
2018-06-13 16:21:24 -07:00
5daaf60d11 Make contracts 4.24 compatible (#951)
* Make contracts 4.24 compatible
2018-06-13 11:34:32 -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
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
bd2f1773cd fix: solium errors - function-order only 2018-01-15 16:11:45 -05:00
4d263b7fc3 fix: the result of 'npm run lint:sol:fix' 2018-01-15 16:11:45 -05:00
bb1736e376 Change visibility of fallbacks to external 2017-11-23 12:28:46 -03:00
b50391862c Changes to remove warnings 2017-11-23 10:41:18 -03:00
e6213767fa Update all solidity versions to 0.4.18 2017-11-22 18:52:52 -03:00
b069827bad fix typo. 2017-09-19 01:57:50 +09:00
b395b06b65 Explicit public visibility on methods 2017-09-18 12:57:46 -03:00
18581f138f converted if() throw convention to require()/assert()/revert() 2017-07-17 15:35:09 -03:00
6ede3d9001 Upgrade to Truffle version 3.2.2 and Solidity version 0.4.11 2017-06-06 21:41:54 -06:00
d08185fc3e Edit natspec documentation typos 2017-05-26 00:29:15 +03:00
d357cf3a2e Minor changes to doc comments for token and other contracts 2017-05-24 16:51:01 -04:00
602c18b394 Applied change regarding the styling 2017-05-24 16:45:41 -04:00
b5d4120adb Added natsec for all lifecycle contracts + bounty.sol, DayLimit.sol and LimitBalance.sol 2017-05-24 16:43:14 -04:00
70b5ffd928 Change killable to destructible and kill to destroy 2017-04-07 11:34:35 -06:00
52b66c744f solidity version 0.4.8 2017-02-21 19:29:03 -03:00
60b48b0235 Solium 2017-02-13 13:26:56 -03:00
ca8f2f2362 rearrange folders 2017-01-16 17:23:28 -03:00
47d979aa72 Bounty docs 2016-11-23 17:21:28 -08:00
726840b8de make Bounty inheritance explicit 2016-11-23 17:16:59 -08:00
278f060c56 Replace composition for inheritance in Bounty 2016-11-08 20:20:26 -03:00
83f4104699 migrate to 0.4.4 2016-11-08 12:19:07 -03:00
b6a5830047 Does not allow to create bounty contract without address 2016-10-28 11:22:41 +01:00
99f288bfb5 Consolidate TokenBounties into Bounty 2016-10-27 22:35:08 +01:00
bb3ebe13fa Separate bounty contracts from general pattern contracts 2016-10-21 15:44:30 -07:00
5eea131f1e extract simpler version of Token into separate file 2016-10-14 12:58:35 -03:00
dbc2853372 fixes for StandardToken 2016-10-14 12:38:01 -03:00
a1f7de0ca1 fix problems with StandardToken 2016-10-14 10:55:16 -03:00
21fb7463c7 PullPayment rename fixes 2016-10-12 13:53:38 -04:00
25d0ed0006 changes for solidity 0.4 2016-10-12 13:52:24 -04:00
fa8fd3044b limitfunds and fixes 2016-08-12 11:30:46 -03:00
f719bbf14b remove ws 2016-08-11 16:30:43 -03:00
857e37e032 Bounty contract 2016-08-11 16:29:10 -03:00