157 Commits

Author SHA1 Message Date
0cc67c2fad Support getting the network version from different web3
version/providers
2019-03-29 12:07:09 +01:00
a45be0021e Fix old registry reference 2019-03-29 12:06:43 +01:00
4bd1aed197 Refactor kredits init in helper scripts
This now also supports readonly providers like infura
2019-03-29 12:05:51 +01:00
94832d4d07 Add ACL contract wrapper
this mainly allows us to check if an account has a certain role and thus
if the account can call specific contract functions.

At some point we might want to extend that to support the check if an
account can call the function. For that we would need to have a mapping
between function names and roles, which we have not right now.
2019-03-28 12:39:04 +01:00
4f5ae01c5a Add helper funtion to list contract entries 2019-03-28 11:16:20 +01:00
d6f99f57b7 Auto resolve promises in repl 2019-03-28 11:12:32 +01:00
901566d1ff Update network specific addresses and app ids 2019-03-28 11:11:49 +01:00
5d4be8f176 Update ABIs used by wrapper 2019-03-28 11:09:49 +01:00
f9ab8b225a Fix proposal wrapper to support the latest contracts 2019-03-28 11:08:34 +01:00
dfa55516ec Add contribution veto function
Allows anybody with the VETO_CONTRIBUTION_ROLE to veto a contribution
and thus prevent that the contribution can be claimed.
So far like the ADD_CONTRIBUTION_ROLE any contributor is allowed to
veto.
2019-03-28 11:06:19 +01:00
b6f34ac9a5 Pretty print JSON for contract addresses
This makes it easier to read the file and a git diff is more useful
2019-03-27 21:58:19 +01:00
258c6729b6 Cleanup scripts and use helper to get the networkid 2019-03-27 17:06:52 +01:00
b201642485 remove obsolete comment 2019-03-27 16:56:52 +01:00
0686c79998 Print dao address and kreditskit address 2019-03-27 16:56:24 +01:00
7e68dbf8c2 rinkeby deployment 2019-03-27 00:39:00 +01:00
f5973756c8 Dynamically set AppIds
AppIds are used to lookup the actual contract addresses of each app.
Because of different registry names (open.aragonpm.eth vs. aragonpm.eth)
we have to use different ids in the local dev chain and in the
testnet/mainnet. To allow this we need to set the appids dynamically.

There is an open aragon issue to solve this and also allow to use
open.aragonpm.eth in the devchain by default.
https://github.com/aragon/aragen/issues/10
2019-03-27 00:21:06 +01:00
9cc237fbf4 Support web3 providers that do not support sync calls
This is currently the non default web3 provider used for rinkeby etc.
2019-03-26 00:35:22 +01:00
3584a73c08 Set kredits-<name>.open.aragonpm.eth as appid hashes 2019-03-26 00:34:46 +01:00
3c2cdf4376 Deployment hacking while trying to deploy on rinkeby
This currently breaks the local usage because of the different appIds:
<name>.open.aragonpm.eth vs. <name>.aragonpm.eth (local)
2019-03-26 00:18:59 +01:00
fbda45376e cleanup contract debugging and make sure contributions are only once claimable 2019-03-24 22:33:16 +01:00
cd7df3893e readme 2019-03-24 22:18:19 +01:00
e1fea4ed97 refactor DAO deployment 2019-03-24 22:11:24 +01:00
12341d1526 Add script to print current DAO address 2019-03-24 16:09:00 +01:00
14b23ecdf1 move app bootstrap script to scripts 2019-03-24 15:45:48 +01:00
1679afb9b4
formatting 2019-03-24 14:43:43 +00:00
b03095e149 Cleanup and readme
simplify bootstrap
2019-03-24 15:40:46 +01:00
0d9b2d7d58 readme 2019-03-24 11:01:59 +01:00
e7affdb531 updated npm scripts 2019-03-24 00:58:56 +01:00
1594bf0e17 update seeds 2019-03-24 00:39:46 +01:00
203199c268 cleanup 2019-03-24 00:21:36 +01:00
116f69cb12 cleanup 2019-03-24 00:20:48 +01:00
6c569239de refactor contrats with aragonos 2019-03-23 19:15:23 +01:00
d687ff604e Merge branch 'master' into contribution-contract
* master:
  Update truffle and ganache-cli
2018-09-29 19:54:28 +02:00
c9a4b1decc Update truffle and ganache-cli 2018-09-29 19:52:14 +02:00
dae44cac70 Continue Contribution contract and JS wrapper 2018-09-29 19:46:37 +02:00
6b8f718051 Create contribution when proposal gets executed 2018-06-18 18:43:35 +02:00
6d9a54b71c Remove whitespace 2018-06-18 18:42:32 +02:00
75d426f0cc Add Contribution contract
The contribution contract implements an ERC721 interface which
represents any contribution.
The contributions are non-fungible (as opposed to the Kredits tokens)
and can be not be transferred. The contract stores the history of any
contribution.
Contributions can be claimed which will issue the Kredits tokens to the
contributor.

This is an early implementation and misses some access control and
probably more things.
2018-06-18 15:28:50 +02:00
7ce100e819 3.0.2 v3.0.2 2018-06-15 09:44:11 +02:00
7216522d83 Update Operator ABI 2018-06-15 09:42:29 +02:00
956f858620 Rename healthcheck to preflight 2018-06-07 16:39:07 +02:00
8a7abba486 Add keywords to package config 2018-05-03 13:31:49 +02:00
c6c48f49d2 Add npm version badge 2018-05-03 13:24:40 +02:00
db2e12c750 3.0.1 v3.0.1 2018-05-03 13:20:06 +02:00
7dc75a19b5 Clean your room, kiddo. 2018-05-03 12:40:24 +02:00
926913da50 Update description 2018-05-03 12:40:16 +02:00
a045702937 Use normal Markdown extension
Hardly anyone uses `.mdown`, so let's use what everyone knows and looks
for.
2018-05-03 12:32:36 +02:00
b13b93122e 3.0.0 v3.0.0 2018-05-03 12:04:10 +02:00
c23e7f2df8 Start with old npm package version 2018-05-03 12:03:19 +02:00
7260544838
Merge pull request #41 from 67P/feature/improve-scripts
Improve helper scripts
2018-04-29 09:43:22 +02:00