134 Commits

Author SHA1 Message Date
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
da2f951bdb
Merge pull request #42 from 67P/feature/filter-contributors-by-account
Add filter and find by account function to contributors
2018-04-26 14:27:26 +00:00
017073018f Use more readable Array.every method instead of reduce 2018-04-26 15:35:32 +02:00
fe1fa2e881 Allow filter and find for contributors by account data 2018-04-26 14:51:18 +02:00
c367c9cf6b
Merge pull request #44 from 67P/add-contributors-alias
Add Contributors alias for Contributor
2018-04-26 11:52:23 +00:00
52643da096 typo 2018-04-26 13:52:09 +02:00
ad5fe3ae77 Add Contributors alias for Contributor
Because the contract is named `Contributors` we alias to `Contributor` which will become the new contract name if we manage to change it.
2018-04-26 12:41:51 +02:00
418785059c
Merge pull request #40 from 67P/feature/constructor-options
Constructor configuration options
2018-04-26 10:32:12 +00:00
3895553e88 Use destructuring for options
This makes it more readable what options are used
2018-04-26 10:23:27 +02:00
89261d039a Fix contributor id lookup for proposal creation script 2018-04-26 02:42:31 +02:00
6949a5940a
Merge pull request #26 from 67P/features/batch-voting
Add batch voting for proposals
2018-04-24 12:40:15 +00:00
ce5f5fb8d2
Merge branch 'master' into features/batch-voting 2018-04-24 12:39:16 +00:00
2e8d00bc2c Add a filter by account function to contributors
This allows to filter contributors by the account entries.
For example:

```js

Contributor.filterByAccount({site: 'github.com'}); // returns all
contributors with github account
Contributor.filterByAccount({site: 'github.com', username: 'bumi'});
// returns bumi

```
2018-04-23 16:29:44 +02:00
b1345b53f3 Add repl.js helper script
This is similar to the cli.js helper but only provides an initialized
`kredits` instance.
The cli.js is for executing contract functions
2018-04-23 16:24:40 +02:00
847f5a251c Allow funding accounts with the seeds script 2018-04-23 13:43:35 +02:00
62a5cefd1a Update readme to reflect helper script changes 2018-04-23 13:20:57 +02:00
6378df7075 cleanup 2018-04-23 12:11:26 +02:00
bd2af6ed72 Smarter cli script
It now allows you to list available functions and allows to call
functions on the wrapper or on the contract directly.
2018-04-23 12:10:20 +02:00
85032353ca Use kredits library in add-proposal script 2018-04-23 12:06:04 +02:00
78b47753b3 Constructor confugration options
This changes the function signature of the constructor but allows us to
pass any options.
Mainly this is now used for the ipfs configs.
2018-04-23 11:01:08 +02:00
1779d66ee6
Merge pull request #39 from 67P/fix/ipfs-hash
Replaces the ipfsHash buffer with a B58 string
2018-04-21 21:04:56 +02:00
471c705e64 Replaces the ipfsHash buffer with a B58 string 2018-04-21 20:59:59 +02:00
92c566c13c Fix build-json to merge addresses 2018-04-21 20:01:46 +02:00
ee886e6cd0
Merge pull request #38 from 67P/healthcheck
Extract healthcheck into its own class
2018-04-21 15:11:01 +00:00