Commit Graph

772 Commits

Author SHA1 Message Date
perissology ab0f8aa62f remove PLEDGE_ADMIN_ROLE and DONOR_ROLE
w/ current ACL implementation, these roles will not work for us. ACL
limits only 1 set of params for a given (_who, _entity, _role), but a
single address may control multiple PledgeAdmins.
2018-02-20 09:38:13 -08:00
perissology d481898ab1 add DONOR_ROLE 2018-02-20 08:12:01 -08:00
perissology 3ae23500c6 convert liquidPledging to accept a different token per pledge 2018-02-16 13:45:17 -08:00
perissology 46e87cffa1 minor fixes 2018-02-15 17:33:04 -08:00
perissology 82945171e8 only compile necessary contracts to speedup solcpiler 2018-02-15 17:32:30 -08:00
perissology cdf8f609cc fix multi-inheritance ordering w/ most base-like coming first, and reserve storage slots for future upgrades 2018-02-15 15:42:19 -08:00
perissology 93e910cc97 move all state variables to seperate contract
By placing all state variables in 1 place, this allows us to add
additional state at a later date, and not overwrite an existing
state variable.

Also optimized struct layout to better pack
2018-02-13 19:56:11 +01:00
perissology 6c8355e346 allow proxy donations
fix bug where eth could be burned to 0 pledge
2018-02-13 01:24:19 +01:00
perissology 4cfebbc5fb moving things around / cleanup 2018-02-13 00:24:26 +01:00
perissology ece3355c67 all tests passing 2018-02-12 23:55:11 +01:00
perissology 369e6ae6cd first pass as AragonApp 2018-02-10 15:14:52 +01:00
perissology 6cdceb62cf reset 2018-02-07 12:52:08 +01:00
perissology a79bb5d693 fix solc warning 2018-01-25 15:11:07 -08:00
perissology 1942b38c4e update to ganache-cli 7.0.0 w/ ws support 2018-01-25 15:09:58 -08:00
perissology a5651f2186 bit of cleanup 2018-01-25 12:17:28 -08:00
perissology 544eee3508 refactor libs to contracts and cleanup LP Base contract 2018-01-25 08:31:13 -08:00
perissology e5163ac3a8 Pass Pledge instead of pledgeId
using the giveth_v1 repo tag implementation as a reference...

Passing pledgeId's around, on average throughout the
test/NormalOperations.js tests, gas usage increased by 229%.

This commit reduces average gas consumption for the
test/NormalOperations.js tests to 148%. Mostly by saving delegate calls.
2018-01-24 09:57:03 -08:00
perissology a178396df6 few bug fixes & all tests passing 2018-01-22 11:00:30 -08:00
perissology 4f2bf61dd2 first pass at refactoring to Pledges lib 2018-01-19 10:33:58 -08:00
perissology 674397cc80 make library methods internal to save extra delegate calls 2018-01-18 20:19:37 -08:00
perissology 80b8ffc2ef refactor PledgeAdmins to lib w/ EternalStorage 2018-01-16 17:20:07 -08:00
perissology 80a8e5a9b4 fix solc warnings 2018-01-16 11:58:10 -08:00
perissology a6593d32b3 remove print statement from test 2017-12-19 16:56:26 -10:00
perissology cc9d084327 Merge branch 'veto_delegation' into v1 2017-12-19 16:46:19 -10:00
perissology 25fb84965a Merge branch 'project_level_bug' into v1 2017-12-19 16:45:20 -10:00
perissology 6bd39d0eba Merge branch 'escapable' into v1 2017-12-19 16:43:44 -10:00
perissology aa4750fa03 update vault events & limit delegates to 10 2017-12-19 08:35:04 -10:00
perissology e267e4c280
Merge pull request #50 from Giveth/GriffGreen-patch-1
Updated Comments... still not done :-(
2017-12-11 19:45:59 +00:00
Griff Green 88f563915a
a few more 2017-12-09 20:24:39 -05:00
Griff Green a6adb37190
A few more comments 2017-12-09 18:24:47 -05:00
perissology 5a1539bda8 fix missing event after merge 2017-12-06 15:27:55 -08:00
perissology 1beb06f172 update coment 2017-12-05 13:55:14 -08:00
perissology 0ac45fe49a Merge branch 'master' into escapable 2017-12-05 13:53:09 -08:00
perissology e2be76ebe6 Merge branch 'GriffGreen-patch-3' 2017-12-05 13:47:11 -08:00
perissology d8d6ac7a77 remove TODO 2017-12-05 13:47:01 -08:00
perissology 9835535aa1 Merge branch 'master' into GriffGreen-patch-3 2017-12-05 13:44:29 -08:00
Griff Green 504c8d8155
Removed VaultSet event and fixed ref comment 2017-12-05 18:29:10 -03:00
perissology 2076a91859
Merge branch 'master' into veto_delegation 2017-12-05 21:10:15 +00:00
perissology e35dbb5e5a
Merge branch 'master' into escapable 2017-12-05 21:07:49 +00:00
perissology dfd1b4de37
Merge branch 'master' into GriffGreen-patch-1 2017-12-05 20:55:57 +00:00
perissology 9895c4df58
Merge pull request #53 from Giveth/GriffGreen-patch-4
added contributors
2017-12-05 20:48:55 +00:00
perissology cf5c84e20f rename Pledge n -> Pledge p 2017-12-05 12:47:38 -08:00
perissology 584726ffd0 rename PaymentState -> PledgeState 2017-12-05 12:42:59 -08:00
perissology 0687776b68 update comment 2017-12-05 12:23:56 -08:00
perissology 8153abbb69
Merge pull request #51 from Giveth/GriffGreen-patch-2
Added a bunch of comments and TODOs!!!
2017-12-05 20:22:42 +00:00
perissology 9cf0856e3d make LiquidPledgingEscapable 2017-12-05 11:58:20 -08:00
perissology 49540b1eb7 update solcpiler 2017-12-04 16:59:43 -08:00
perissology 56515bff12 proposeAssignProject should check MAX_INTERPROJECT_LEVEL 2017-12-04 13:22:14 -08:00
perissology fc47f1c7ee
minor comment updates 2017-12-04 20:49:18 +00:00
perissology 0c92d0429e
minor comment changes 2017-12-04 20:33:15 +00:00