Commit Graph

91 Commits

Author SHA1 Message Date
perissology fb78a616b5 minor changes to contracts 2018-03-27 10:55:37 -07:00
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 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 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 cc9d084327 Merge branch 'veto_delegation' into v1 2017-12-19 16:46:19 -10:00
perissology 6bd39d0eba Merge branch 'escapable' into v1 2017-12-19 16:43:44 -10: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 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 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 9cf0856e3d make LiquidPledgingEscapable 2017-12-05 11:58:20 -08:00
perissology 56515bff12 proposeAssignProject should check MAX_INTERPROJECT_LEVEL 2017-12-04 13:22:14 -08:00
perissology 0c92d0429e
minor comment changes 2017-12-04 20:33:15 +00:00
Griff Green 6bf0847df0
Updated Comments... still not done :-( 2017-12-03 22:12:46 -03:00
perissology 782ff8073a Merge branch 'master' into veto_delegation 2017-12-03 06:45:02 -08:00
perissology 6d19fd0d57 few minor fixes to comments 2017-12-02 20:15:52 -08:00
Arthur L Lunn 9f105876a8 Change comments based on requests 2017-12-03 01:59:30 +01:00
Arthur Lunn 7c2faf5e44
Merge branch 'master' into quazia-comments 2017-11-18 17:53:57 +00:00
Arthur L Lunn 4edb86cf19 Add build files 2017-11-10 18:54:44 +00:00
Arthur L Lunn 8ab1ce5066 Fix test issues and merge from master 2017-11-10 18:54:27 +00:00
perissology 5d15fc6f62 preserve delegationChain on delegation veto 2017-11-10 08:39:58 -08:00
perissology ca1e429724
Merge branch 'master' into confirmPayment 2017-11-09 20:11:01 +00:00
perissology 7909aa3977 remove isProjectCanceled check from confirmPayment 2017-11-09 11:11:11 -08:00
perissology d4ca1669d4 Merge remote-tracking branch 'origin/master' into tests 2017-11-04 07:19:18 -05:00
Arthur L Lunn 0b77977f90 fix errors with docstrings 2017-11-01 17:03:03 -04:00
Jordi Baylina 09110afc2b
Merge pull request #31 from Giveth/isProjectCanceled
use isProjectCanceled to check for canceled project
2017-11-01 04:40:21 -05:00
Jordi Baylina d198ac0d74
Merge pull request #30 from Giveth/cancelPledge
cancel pledge bugs
Good catch!
2017-11-01 04:37:51 -05:00
Arthur L Lunn ee8e2b777b spellcheck comments 2017-10-28 04:27:47 -04:00
perissology 9cdd35fc2c don't need to use bit manipulation in mNormalizePledge 2017-10-24 10:43:29 -07:00
alf40k 5dacc27943 Add copyrights and finish commenting plugin interface 2017-10-24 00:09:56 -04:00
alf40k cce055d31b Finish liquidPledging comments 2017-10-23 23:26:31 -04:00
perissology 423f61ff51 added test for maxCommit time in delegation chain 2017-10-23 17:02:47 -07:00
alf40k 9d5ea4fe7f comment all private methods 2017-10-23 17:40:51 -04:00