0g-chain/x/earn/keeper
Robert Pirtle 4c1524d7bc
Refactor community & inflation enhancements (#1428)
* refactor begin blocker to single func

* remove unused inflation keeper methods

* refactor to private keeper methods

* add testcase for failed mint due to invalid param

* add testcase for GetStakingApy()

* check for zero instead of empty

* actually test super long block time

* skip fund account for earn community proposals

* test x/community keeper GetModuleAccountBalance

* update x/kavamint begin block spec
2022-12-19 13:50:11 -08: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 add total supply queries for earn, savings, liquid (#1384) 2022-11-08 12:43:26 -05:00
grpc_query.go add total supply queries for earn, savings, liquid (#1384) 2022-11-08 12:43:26 -05: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 add x/kavamint & x/community modules (#1400) 2022-12-09 13:24:35 -08: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 Refactor community & inflation enhancements (#1428) 2022-12-19 13:50:11 -08:00
proposal_handler.go Refactor community & inflation enhancements (#1428) 2022-12-19 13:50:11 -08: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