Commit Graph

351 Commits

Author SHA1 Message Date
perissology d6dfb9d3c7 point deployLP.js to lib/contracts 2018-06-16 13:02:43 -07:00
perissology 0f812d5215 update npmignore 2018-06-16 12:59:30 -07:00
perissology 70be487301 v1.0.0-beta.1 2018-06-16 12:58:15 -07:00
perissology 4737439f01 make index.js point to ./lib/contracts 2018-06-16 12:58:06 -07:00
perissology b8f52dba0f export deployLP test helper 2018-06-16 12:04:36 -07:00
perissology 5dabfc4b62 Merge branch 'aragonOs-update' 2018-06-16 10:57:17 -07:00
perissology 68c5826c35 all tests passing 2018-06-16 10:54:30 -07:00
perissology e3c7c3a367 more progress 2018-06-15 17:27:47 -07:00
perissology 54a1faf570 update LPVault to latest aragonOs & solidity compiler 2018-06-15 14:56:41 -07:00
perissology 24ec03a4fe Merge branch 'aragon' 2018-05-23 07:43:02 -07:00
perissology 6110249205 Merge branch 'aragon' of github.com-perissology:Giveth/liquidpledging into aragon 2018-05-23 07:42:34 -07:00
perissology f8ac47a674 update eth-contract-class 2018-05-23 07:42:28 -07:00
Griff Green 98743f8e0d
changed slack to riot 2018-05-09 15:10:47 -07:00
perissology 685750d1b2 fix contract export issue & make tests use exported contracts 2018-04-24 13:39:58 -07:00
perissology ca261d48e2 rm build dir 2018-04-24 13:23:52 -07:00
perissology e81fff9de8 new version 2018-03-29 10:00:54 -07:00
perissology 36b72e5c45 rebuild 2018-03-29 07:18:16 -07:00
perissology 137e8be188 add url to PledgeAdmin events 2018-03-29 07:18:05 -07:00
perissology 71e2b159e1 remove print statement from test 2018-03-28 15:52:32 -07:00
perissology c66b680e0c added a few more tests 2018-03-28 15:32:02 -07:00
perissology 6e434af549 re-build 2018-03-27 10:55:44 -07:00
perissology fb78a616b5 minor changes to contracts 2018-03-27 10:55:37 -07:00
perissology e4c34225ae export LiquidPledgingMock 2018-03-16 07:31:22 -07:00
perissology 72f6d1dae1 add lib files 2018-03-16 07:28:04 -07:00
perissology 90e0ea361e update package.json 2018-03-16 07:21:54 -07:00
perissology bc3219ccc4 add build files 2018-03-16 07:21:38 -07:00
perissology c5e874e245 seperate LPConstants 2018-03-12 08:51:16 -07:00
perissology 371fc582f8 add LPFactory to index.js 2018-02-24 10:01:14 -08:00
perissology 0f5c9738ed add a pluginInstanceWhitelist to register proxied plugins 2018-02-24 07:36:09 -08: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 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