0g-chain/x/earn/keeper
Derrick Lee e8242ace80
fix: Use correct share values for earn incentive hooks (#1347)
* Call earn hooks with correct share values

User's shares instead of total vault shares

* Use different amounts for different accounts

* Add claim test with staking claims

* Remove logging statements

* Remove log

* Pass suite.T() to mock earn hooks

* Use begin blocker for staking reward distribution

* Remove unused beginblocker

* Remove log
2022-10-12 14:35:09 -07:00
..
deposit_test.go Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +01:00
deposit.go fix: Use correct share values for earn incentive hooks (#1347) 2022-10-12 14:35:09 -07:00
grpc_query_test.go Only return bkava tokens when value_in_staked_tokens is true (#1348) 2022-10-11 14:38:49 -07:00
grpc_query.go Only return bkava tokens when value_in_staked_tokens is true (#1348) 2022-10-11 14:38:49 -07:00
hooks_test.go fix: Use correct share values for earn incentive hooks (#1347) 2022-10-12 14:35:09 -07:00
hooks.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
invariants_test.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
invariants.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
keeper.go feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
msg_server_test.go Add private Earn vault with allowed depositors (#1289) 2022-09-12 10:29:35 -07:00
msg_server.go feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
params.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
proposal_handler_test.go feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
proposal_handler.go feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
strategy_hard_test.go feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
strategy_hard.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
strategy_savings_test.go feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
strategy_savings.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
strategy.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
vault_record.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
vault_share_record_test.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
vault_share_record.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
vault_share_test.go Add private Earn vault with allowed depositors (#1289) 2022-09-12 10:29:35 -07:00
vault_share.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
vault_test.go Add private Earn vault with allowed depositors (#1289) 2022-09-12 10:29:35 -07:00
vault.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
withdraw_test.go feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
withdraw.go fix: Use correct share values for earn incentive hooks (#1347) 2022-10-12 14:35:09 -07:00