basti
cec87f6caf
Dat gas issue
2019-05-23 10:22:37 +02:00
basti
22a9786168
Add contribution basics
2019-05-23 09:46:09 +02:00
basti
7083da367d
Remove vetoed contributions from confirmed list
2019-05-10 13:49:55 +02:00
galfert
9386c30d09
Update toplist balance when contribution is vetoed
...
Co-Authored-By: skddc <sebastian@kip.pe >
2019-05-08 12:15:51 +02:00
basti
6638691c9f
Remove vetoed amounts from unconfirmed balances
2019-05-06 18:46:59 +02:00
basti
ef45d55521
Fix missing contributors in toplist
...
Adds contributors without unconfirmed contributions to the
kreditsByContributor collection.
fixes #114
2019-05-06 14:44:42 +01:00
basti
cf77f20d41
Merge branch 'master' into feature/111-unconfirmed_balances
2019-05-01 19:56:43 +01:00
basti
67ee2d9a74
Merge pull request #113 from 67P/feature/98-veto_unconfirmed_contributions
...
Veto contributions
2019-05-01 19:43:28 +01:00
basti
48e5ddbc02
Merge pull request #108 from 67P/feature/add_contributor
...
Fix/update adding contributors
2019-04-29 12:44:15 +01:00
basti
e1737392a7
Mark contributions as vetoed on incoming event
2019-04-28 15:26:26 +01:00
basti
00b7b380b9
Fix veto tx failing
...
Still have to set the gas limit for most functions in order for them to
work. :/
2019-04-28 15:06:28 +01:00
basti
9821c8b2ea
Veto contributions
2019-04-28 15:05:56 +01:00
basti
109ffd2898
Fix contributor details view in toplist
2019-04-28 11:58:58 +01:00
basti
185d7c58c2
Finish group-by util
...
Move function to util, add tests.
2019-04-27 18:41:26 +01:00
basti
283ec1d48a
Add kreditsByContributor collection
...
Lists contributors along with their confirmed, unconfirmed, and total
kredits amounts.
2019-04-27 17:35:05 +01:00
basti
f32a34a702
Improve code comment
2019-04-27 17:34:04 +01:00
basti
afa09f4b8f
Move computed collections to kredits service
...
They should be available from any place with access to the service.
2019-04-27 17:33:25 +01:00
bumi
2a7ec1073f
List 200 contribtuions per page
...
Kicking the can a bit further down the road...
Currently we do not have any pagination and we got already more
contributions than the default per page setting.
2019-04-25 23:56:18 +02:00
basti
fa95376fda
WIP: Fix/update adding contributors
2019-04-25 13:24:36 +01:00
bumi
de937aceee
Shorter JS syntax
2019-04-24 09:48:24 +02:00
bumi
d1791cadfe
Display contribution balances not token balances
...
We want to display the contribution balances (kredits earned) of the
contributors not the token balances.
2019-04-19 18:16:02 +02:00
bumi
562a8d159b
Cleanup
2019-04-19 14:54:18 +02:00
bumi
2aae2a8f90
Fix kredits balance handling
...
Kredits are stored on the Token contract as uint256 / bignumbers with 18
decimal points. Just like Ether and required by the ERC20 standard.
So we need to work with bignumbers and format a bignumber value here.
2019-04-19 11:37:18 +02:00
bumi
da608a0012
Do not rely on web3 injection with new ethereum provider standard
...
when window.ethereum is available web3 is likely not available as the
browser uses the new provider standard.
So we either user the window.ethereum as provider or the
web3.currentProvider as legacy option.
2019-04-09 22:37:48 +02:00
basti
aa28a14d04
Switch to contribution token instead of proposals
...
No vetos yet, and only for collections (not creation).
closes #20
2019-04-09 12:55:44 +02:00
bumi
f0b75d96db
No bignumber anymore
...
as numbers are uint32 in the contract so no bignumber in JS anymore
2019-04-05 12:31:21 +02:00
basti
1f8fa367a5
Support new Metamask/Web3 privacy mode
...
closes #87
2019-04-04 12:13:39 +02:00
basti
7da7de1edc
Make some kredits params configurable
2019-04-02 17:56:27 +02:00
bumi
b75ac5c8b9
Update kredits-contracts and ethers.js
...
This uses the new ethers.js 4.x API which is required by the new
kredits-contracts.
Also Operator is now Proposal in the new kredits-contracts wrapper
2019-03-29 19:54:45 +01:00
galfert
1fb20b1d08
Fix linting errors
2019-03-27 18:19:25 +01:00
bumi
804060ad34
Pass ETH signer only if it can actually sign
...
We have seen an "no accounts" invalid operation getAddress when trying
to call a contract function in the init calls.
It seems ethers has a problem with a signer that does not have any
accounts - even though we don't try to sign an actual transaction and
only read data from the contract.
This change only passes the signer if we have an unlocked web3 provider
(metamask).
2018-06-14 15:00:43 +02:00
basti
a0ee2f7bb8
Use our new IPFS node
2018-06-07 13:32:43 +02:00
fsmanuel
acd1ce28f4
Use .init() instead of static .setup()
2018-04-21 11:58:17 +02:00
fsmanuel
8fed06b494
Rename initEthProvider to getEthProvider
2018-04-21 11:15:13 +02:00
fsmanuel
75650c19ab
Cleanup kredits service
2018-04-21 11:05:02 +02:00
bumi
31e27865bb
Use kredits-contracts from npm
2018-04-18 19:26:35 +02:00
basti
c0b5c36115
Don't inject kredits service in models
2018-04-16 19:23:28 +02:00
basti
b09f19f399
Update Ember to 3.1
2018-04-16 18:11:52 +02:00
fsmanuel
3839eb2be4
Fixes and cleanup
2018-04-15 21:33:37 +02:00
fsmanuel
a04ab09ed6
Move event handler assignment into method
2018-04-15 20:49:17 +02:00
fsmanuel
d425ed6b9e
Move contract event handling into service
2018-04-15 20:36:21 +02:00
fsmanuel
99bbcda709
Move contributors + proposals to service
...
With this change we have all the contributors + proposals all the time in one place and can update them via events.
2018-04-15 19:02:57 +02:00
bumi
399ee27af9
Revert "Adjust for new naming conventions"
2018-04-15 16:35:31 +00:00
bumi
7b5cea3613
Adjust for new naming conventions
2018-04-10 18:46:54 +02:00
fsmanuel
7e04cef964
Extract kredits module
2018-04-09 02:09:38 +02:00
bumi
cb1208acaa
Merge pull request #41 from 67P/refactor/cleanup-models
...
Cleanup controller, templates and service
2018-04-08 12:56:05 +00:00
fsmanuel
f54a36f240
Use getProposalById instead of buildModel
2018-04-08 14:33:38 +02:00
bumi
4182f0993c
Merge pull request #39 from 67P/refactor/contributor-management
...
Use contributors contract to add new contributors
2018-04-08 12:12:52 +00:00
fsmanuel
28f7466595
Cleanup controller, templates and service
2018-04-08 14:06:16 +02:00
bumi
5390c5cea8
Use contributors contract to add new contributors
...
related: https://github.com/67P/truffle-kredits/pull/17
2018-04-08 13:17:35 +02:00