ed0d420fd5
Fix linter issues in seeds
2019-06-13 17:37:36 +02:00
36666fd417
Update package lockfile
2019-06-12 16:07:38 +02:00
231d6e2477
Merge pull request #135 from 67P/feature/expose-available-networks
...
Expose available network IDs
2019-06-12 07:57:31 +00:00
6d6c6056f0
Refactor IPFS pinner
2019-06-12 01:08:07 +02:00
b09c2830c8
Make IPFS node configurable
2019-06-11 23:45:27 +02:00
fc5a41123a
Add IPFS pinning script
...
This script loads the IPFS hashes for contributors and contributions and
pins them on the connected IPFS node.
usage:
$ node script/ipfs-pinner.js
$ ETH_RPC_URL=http://localhost:7547 APM_DOMAIN=aragonpm.eth node scripts/ipfs.pinner.js
2019-06-11 21:48:50 +02:00
107654ecca
Expose available network IDs
...
This exposes the network IDs on which kredits is deployed. Helpful to
check if the used network is supported.
2019-06-11 15:45:14 +02:00
810a2eb5fd
Merge pull request #134 from 67P/chore/update-dependencies
...
Update dependencies
2019-06-10 13:19:29 +02:00
06a4e2173a
Try npm instead of yarn on travis
...
There is some strange error with yarn: https://travis-ci.org/67P/kredits-contracts/builds/543186831
2019-06-10 12:59:02 +02:00
e55a209343
Merge pull request #133 from 67P/feature/list-totals
...
Print total unconfirmed and confirmed contribution kredits
2019-06-09 13:58:42 +02:00
17bc4e7d8f
Merge pull request #121 from 67P/refactor/amounts_vs_counts
...
Improve totalKreditsEarned
2019-06-09 13:57:44 +02:00
4919605664
Merge pull request #130 from 67P/feature/kredits-kit-wrapper
...
Add JS wrapper for Kit contract
2019-06-09 13:56:32 +02:00
f639e3aa19
Add pre-commit hook and setup script ( #129 )
...
Add pre-commit hook and setup script
Runs the appropriate linter on staged files before committing.
2019-06-09 13:53:40 +02:00
84b4461ba6
Update dependencies
2019-06-08 19:05:35 +02:00
c4f8e9278e
Use consitently uint32 for amounts
2019-06-08 17:56:50 +02:00
00905eb269
Update ABIs
2019-06-08 17:53:26 +02:00
6a64842415
Only count not-vetoed contributions for total balances
2019-06-08 17:49:24 +02:00
055d8bc0ef
Print total unconfirmed and confirmed contribution kredits
2019-06-08 17:42:20 +02:00
91779ccd03
Merge pull request #131 from 67P/feature/claim-contribution-script
...
Add script to claim contributions for one contributor
2019-05-21 11:29:56 +00:00
516b8b31ac
Add script to claim contributions for one contributor
2019-05-20 13:48:15 +02:00
ccd52f6ee5
Cleanup
2019-05-17 18:24:55 +02:00
ffff09ab23
Add contract address accessor
2019-05-17 15:56:24 +02:00
3df0831d9b
Cleanup whitespace
2019-05-17 15:56:02 +02:00
27a746261c
Add JS wrapper for kredits kit
...
This makes it easier to deploy new DAOs and the deploy script is less
dependent on truffle
2019-05-17 15:54:52 +02:00
345b6bde82
Merge pull request #127 from 67P/feature/allow-setting-contributor-accounts
...
Allow setting any contributor accounts
2019-05-17 08:42:43 +00:00
a86ea08bdf
Merge pull request #128 from 67P/feature/simple-init
...
Add helper to initialize a new instance with provider
2019-05-17 07:37:10 +00:00
e20bda73fb
Remove not needed network check
...
We default to localhost anyway
2019-05-17 09:17:10 +02:00
4c64aa7c2a
linting
2019-05-14 12:03:29 +02:00
cf43bf9487
Linting
2019-05-14 11:32:42 +02:00
1a227ba67c
Linting
2019-05-14 11:31:33 +02:00
df7536589d
Add helper to initialize a new instance with provider
...
So far we always had to initialze a provider and signer and pass those
to the kredits constructor.
This helper makes it easier to initialize a default ethers provider and
a default signer.
2019-05-14 11:25:21 +02:00
f0fe62f6d7
Apply suggestions from code review
...
Co-Authored-By: Sebastian Kippe <sebastian@kip.pe>
2019-05-14 09:18:23 +00:00
66fc992291
Allow setting any contributor accounts
...
This allows to pass in an account object when creating or updating a
contribtor.
2019-05-14 11:06:49 +02:00
2a675c9417
Merge pull request #126 from 67P/chore/update_schemas
...
Update kosmos-schemas
2019-05-10 16:08:30 +02:00
a3590d7c16
Update kosmos-schemas
...
Includes the new "special" contribution kind, as discussed in our last
call.
2019-05-10 13:14:56 +02:00
07a5ca847d
Merge pull request #125 from 67P/bugfix/pagination
...
Fix page number calculation for zero records
2019-05-07 17:12:16 +02:00
37ce2fddde
Merge pull request #124 from 67P/bugfix/fix-me-1
...
Fix util import
2019-05-04 08:40:58 +00:00
3a43284557
Fix page number calculation for zero records
...
So far it returned 0 because of those in range checks which both
applied because numberOfPages is 0 if we have no record.
2019-05-04 01:34:05 +02:00
572848c04a
Fix util import
2019-05-04 01:09:22 +02:00
b6ce9dcfc8
Merge pull request #118 from 67P/deprecate/old-add-methods
...
Deprecate old add* methods
2019-05-01 18:12:18 +00:00
e7e8744ad2
Update lib/contracts/proposal.js
...
Co-Authored-By: bumi <hello@michaelbumann.com>
2019-05-01 18:06:55 +00:00
d2198dca61
Update lib/contracts/contribution.js
...
Co-Authored-By: bumi <hello@michaelbumann.com>
2019-05-01 18:06:43 +00:00
f9f2ef234e
Merge pull request #122 from 67P/feature/veto_script
...
Add script for vetoing via console
2019-05-01 18:05:37 +00:00
a1f51428d0
Add script for vetoing via console
2019-04-28 15:09:18 +01:00
555cb53c78
Improve totalKreditsEarned
...
* Use a more reasonable size of integer
* Use better variable names (count != amount, balance != count)
2019-04-27 21:01:51 +01:00
ad74d30aa7
Contributor canPerform fix deployment
2019-04-25 22:25:38 +02:00
3568d3c141
Merge pull request #120 from 67P/bugfix/fix-core-permissions
...
Fix canPerform method
2019-04-25 21:17:37 +01:00
db566a581f
Merge pull request #119 from 67P/bugfix/fix-kit-deployment
...
Fix apps lookup
2019-04-25 21:10:04 +01:00
c69ebd0a62
Fix canPerform method
...
Even if the variable is not used and the linter might complain we have
to have that parameter in the signature. otherwise the method is not
found and can not be called.
2019-04-25 22:06:40 +02:00
5c375f764f
Update scripts/deploy-kit.js
...
Co-Authored-By: bumi <hello@michaelbumann.com>
2019-04-25 20:05:03 +00:00