bumi
cc24c27444
Merge pull request #80 from 67P/chore/rename-ipfshash-1
...
Rename ipfsHash to hashDigest in Contributor
2019-04-06 13:55:19 +00:00
bumi
f717968402
Better function naming to update contributor profiles
2019-04-06 15:42:16 +02:00
bumi
14d7fbd75e
Rename ipfsHash to hashDigest in Contributor
...
naming should be consistent with the other contracts and digest is more
correct.
2019-04-06 15:24:44 +02:00
basti
7eb1fedb42
Merge pull request #76 from 67P/features/dynamic-core-flag
...
Dynamic function to test for core contributor flag
2019-04-06 15:19:01 +02:00
basti
cbfe39f804
Merge pull request #78 from 67P/feature/veto-period
...
Set contribution veto period to 1 week
2019-04-06 00:30:30 +02:00
bumi
a0e4f5410d
Set veto period to 1 week
...
This makes a contribution claimable after roughly 7 days
2019-04-05 20:30:02 +02:00
bumi
766463b57b
Dynamic function to test for core contributor flag
...
This removes the isCore flag and allows us to dynamically calculate the
core flag for contributors.
For now this is just us (the first 6 contirbutors)
Also we do not need the default contributor anymore because the deploy
user has the role to manage contributors and can create the first real
contributors.
2019-04-05 18:55:21 +02:00
basti
93e0b30b35
4.0.0
v4.0.0
2019-04-05 15:44:51 +02:00
bumi
6510dca4b1
Fix provider fallbacks for non dev networks
...
This now checks if frame or a local node is running and else uses infura
to connect to the ethereum network.
Now you can use all the helpers for the testnets/mainnet without running
anything (in readonly mode)
2019-04-05 13:51:23 +02:00
bumi
551edcfa72
Fix init kredits for readonly providers
...
The apm option was not passed on to kredits
2019-04-05 01:05:16 +02:00
bumi
d58e2d560a
deploy to rinkeby
2019-04-05 00:38:51 +02:00
bumi
99394e7f14
Merge pull request #73 from 67P/feature/contribution_owner
...
Convert contribution owner to ID, use smaller number formats
2019-04-04 21:40:16 +00:00
bumi
8ceab08bfc
ups
2019-04-04 23:23:02 +02:00
basti
896db5e047
Update abi
2019-04-04 23:16:23 +02:00
basti
d507d7b562
Enable all seeds again
2019-04-04 23:16:01 +02:00
basti
40c5d2a275
Merge branch 'master' into feature/contribution_owner
2019-04-04 23:12:16 +02:00
basti
a049f2eedb
Adjust proposals for format changes
2019-04-04 23:11:43 +02:00
basti
b68b037000
Merge pull request #74 from 67P/chore/npm-scripts
...
Add some helpers to reset a fresh DAO and upgrade an app
2019-04-04 23:11:12 +02:00
basti
181e6f3c23
Fix/refactor contribution wrapper
2019-04-04 22:56:06 +02:00
basti
19556349f6
Fix syntax error
2019-04-04 22:30:27 +02:00
fsmanuel
a1a1c5ef9f
Get contributor by ID
...
Co-Authored-By: skddc <sebastian@kip.pe >
2019-04-04 22:29:37 +02:00
bumi
afbd114a36
Add app upgrade helper script
...
This script deploys a new app version, upgrades the given DAO to the
latest version of that app and builds the ABI files for the wrapper.
usage:
scripts/upgrade.sh <app name> <dao address>
e.g.
scripts/upgrade.sh token 0xfoobar
The DAO address can also be set as environment variable
$KREDITS_DAO_ADDRESS
2019-04-04 19:51:38 +02:00
bumi
db312dafbf
Add some helpers to reset a fresh DAO
2019-04-04 19:27:57 +02:00
basti
e4c3d9a468
Update abi
2019-04-04 16:28:34 +02:00
basti
5b49f82544
Adjust wrapper and scripts for contract changes
2019-04-04 16:24:37 +02:00
basti
6088f30cd8
Use smaller numbers for contributor ID
...
2.2 billion contributors should be enough.
2019-04-04 16:01:08 +02:00
basti
f1e2c65b9e
Use smaller numbers where appropriate
2019-04-04 15:28:18 +02:00
basti
786f38cfb7
Print errors in seed contract calls
2019-04-04 15:25:31 +02:00
basti
197a31b9e1
Remove whitespace
2019-04-04 14:47:25 +02:00
basti
20acfc70e3
Use ID instead of address for contribution owner
2019-04-04 14:43:38 +02:00
bumi
732dfe7b29
Merge pull request #71 from 67P/chore/update_seeds
...
Update seeds
2019-04-04 11:32:58 +00:00
bumi
3ce8f41d32
Merge pull request #72 from 67P/chore/whitespace
...
Remove unnecessary space chars
2019-04-04 11:17:35 +00:00
basti
e0ff29d1c9
Remove unnecessary space chars
2019-04-04 11:38:18 +02:00
basti
0ce62839e9
Update seeds
...
Use more realistic data, add more contributions
2019-04-04 11:32:46 +02:00
basti
cc2c9a7368
Merge pull request #70 from 67P/feature/claim-contribution-in-seeds
...
Update seeds
2019-04-03 21:50:43 +02:00
basti
1abfc5a265
Merge pull request #69 from 67P/fix/add-contributor-permissions
...
Fix permissions to manage contributors
2019-04-03 21:50:19 +02:00
bumi
6b9466c348
Update seeds
...
Claim contribution which issues Kredits to the contributor
2019-04-03 21:40:37 +02:00
bumi
9fffdbfb58
Fix permissions to manage contributors
...
Uses the contributor oracle to decide if somebody has the
MANAGE_CONTRIBUTOR_ROLE
2019-04-03 21:22:53 +02:00
basti
350dadec4d
Merge pull request #68 from 67P/update-ipfs-package
...
Update ipfs package
2019-04-03 21:16:22 +02:00
bumi
70b9edbcac
Update ipfs package
2019-04-03 21:01:51 +02:00
basti
92da07dca2
Merge pull request #67 from 67P/feature/contributor-balance-1
...
Add balance when loading contributor
2019-04-03 20:22:50 +02:00
bumi
6fed81c0ed
Merge pull request #66 from 67P/chore/seeds
...
Allow seed tx to fail
2019-04-03 17:03:22 +00:00
bumi
74e61e1393
Show balance in list-contributors helper script
2019-04-03 14:05:16 +02:00
bumi
6351db3057
Add balance when loading contributor
...
This is a regression introduced by the latest contract updates.
Now we return the balance again when loading contributor data.
2019-04-03 13:56:52 +02:00
basti
ed3e5dd4c4
Allow seed tx to fail
...
This allows for running seeds multiple times, e.g. after adding new
ones.
2019-04-03 11:41:55 +02:00
basti
bd39d0f126
Use new address for raucao seed
2019-04-03 11:41:45 +02:00
basti
4c8ee69664
Merge pull request #65 from 67P/fix/ethersjs-namehash
...
Use namehash from ethers.utils
2019-04-03 11:39:35 +02:00
basti
eae8967322
Merge pull request #63 from 67P/fix/contriutor-permissions
...
Fix contributor oracle permission auth
2019-04-03 11:37:10 +02:00
bumi
9984ca66ba
Use namehash from ethers.utils
...
no need for the additional dependency
2019-04-03 10:24:11 +02:00
bumi
1b09a30646
Fix contributor oracle permission auth
...
It seems that the entity is either defined by the permission or if we
want to use the oracle the permission must be defined for any_entity.
In that case the oracle does not get the msg.sender as who/entity thus
we will use tx.origin in that case.
2019-04-03 10:06:00 +02:00