Râu Cao raucao
  • Joined on 2018-11-24
raucao commented on pull request kredits/contracts#224 2022-08-31 07:47:27 +00:00
Add export/import functionality

Anything is open for discussion still. But it does seem awfully dangerous to me to have a switch that allows creating confirmed contributions at any point in time.

raucao commented on pull request kredits/contracts#225 2022-08-30 11:25:36 +00:00
Remove claims, add withdrawals

That's just the same as the line above, where confirmedKredits - c.kreditsWithdrawn is required to be > 0, no?

raucao commented on pull request kredits/contracts#224 2022-08-30 10:25:50 +00:00
Add export/import functionality

Prepare for lift-off!

raucao pushed to feature/export-import at kredits/contracts 2022-08-30 10:19:06 +00:00
f29054bc0b Add script for importing contributions
raucao merged pull request kredits/contracts#225 2022-08-30 08:53:55 +00:00
Remove claims, add withdrawals
raucao deleted branch feature/184-remove_kredits_claims from kredits/contracts 2022-08-30 08:53:55 +00:00
raucao pushed to feature/export-import at kredits/contracts 2022-08-30 08:53:55 +00:00
fd012d5359 Merge pull request 'Remove claims, add withdrawals' (#225) from feature/184-remove_kredits_claims into feature/export-import
5da710cc14 Use uint32 for kreditsWithdrawn
e99184b83f Make test complete, add FIXME note
2b3fd1241d WIP Remove claims, add withdrawals
dc2c8130f3 Add tests for Contributor#add()
Compare 5 commits »
raucao closed issue kredits/contracts#184 2022-08-30 08:53:55 +00:00
Claim ERC20 tokens for all contributions at once
raucao commented on pull request kredits/contracts#225 2022-08-27 08:35:11 +00:00
Remove claims, add withdrawals

@bumi, @hueso: I resolved the question about token number resolution. It has to be WEI for ERC20 and wallet display, but we use integers as uint32 for all other kredits amounts internally.

raucao pushed to feature/184-remove_kredits_claims at kredits/contracts 2022-08-27 08:31:03 +00:00
5da710cc14 Use uint32 for kreditsWithdrawn
raucao pushed to feature/184-remove_kredits_claims at kredits/contracts 2022-08-25 09:51:49 +00:00
e99184b83f Make test complete, add FIXME note
raucao created pull request kredits/contracts#225 2022-08-25 09:46:59 +00:00
Remove claims, add withdrawals
raucao pushed to feature/184-remove_kredits_claims at kredits/contracts 2022-08-25 09:45:16 +00:00
2b3fd1241d WIP Remove claims, add withdrawals
raucao pushed to feature/184-remove_kredits_claims at kredits/contracts 2022-08-25 09:40:33 +00:00
5c9b771a40 WIP Remove claims, add withdrawals
raucao created branch feature/184-remove_kredits_claims in kredits/contracts 2022-08-24 12:33:28 +00:00
raucao pushed to feature/184-remove_kredits_claims at kredits/contracts 2022-08-24 12:33:28 +00:00
dc2c8130f3 Add tests for Contributor#add()
raucao pushed to feature/export-import at kredits/contracts 2022-08-24 11:56:27 +00:00
796ccebd84 Add first Contributor contract test
raucao pushed to feature/export-import at kredits/contracts 2022-08-23 15:35:09 +00:00
d72413eb66 Move contract test to its own subdirectory
raucao pushed to feature/export-import at kredits/contracts 2022-08-23 15:21:10 +00:00
9dd9d298cc Allow setting confirmedAtBlock and vetoed during migration
raucao pushed to feature/export-import at kredits/contracts 2022-08-23 13:42:05 +00:00
67add71a22 Add tests for Contribution#add()