Commit Graph

165 Commits

Author SHA1 Message Date
Barry Gitarts 97e62c862d make swap proxy pausable 2019-11-11 14:12:43 -05:00
Barry Gitarts 3a3ad95bf2 extract KyberNetworkProxy Interface to own file 2019-11-11 14:12:43 -05:00
Barry Gitarts e0a866977c Make SwapProxy ownable and SafeToken
clean up SwapProxy
2019-11-11 14:12:43 -05:00
Barry Gitarts 2a8af2f1a9 update contracts for solidity version
add deploy params
2019-11-11 14:12:43 -05:00
Barry Gitarts 315db5a6f1 add fundWithToken
add maxSlippage to contract
2019-11-11 14:12:43 -05:00
Barry Gitarts ffa9f64d20 add SwapProxy contract 2019-11-11 14:12:43 -05:00
Jonathan Rainville 2b1ffba6a4 update to Embark 4 2019-04-17 15:28:19 -04:00
Barry Gitarts 0105e704f9 add updated rinkeby contract + SNT Rinkeby 2019-01-04 15:31:31 -05:00
Barry Gitarts c46add12ed add addr index to GiverAdded to filter on client side 2018-12-01 18:32:56 -05:00
perissology b70feecc36 remove TODO 2018-06-29 13:42:20 -07:00
perissology 2797e2d814 v1.0.1
remove unnecessary permission creation in factory
2018-06-29 08:07:27 -07:00
perissology 2e3609aeac require(pTo.amount >= amount) on transfer 2018-06-27 16:54:59 -07:00
perissology ed7c4b8b47 added some comments & updated solcpiler 2018-06-21 10:40:30 -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 685750d1b2 fix contract export issue & make tests use exported contracts 2018-04-24 13:39:58 -07:00
perissology 137e8be188 add url to PledgeAdmin events 2018-03-29 07:18:05 -07:00
perissology fb78a616b5 minor changes to contracts 2018-03-27 10:55:37 -07:00
perissology c5e874e245 seperate LPConstants 2018-03-12 08:51:16 -07: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 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 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 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