0g-chain/x/earn/keeper
Robert Pirtle fcfcd36740
add total supply queries for earn, savings, liquid (#1384)
* add total supply endpoint to x/liquid

* add test of x/liquid total supply query

* refactor x/savings test

* add total supply endpoint for x/savings (w/ test)

* add total supply endpoint for x/earn

* handle converting bkava to underlying staked amount

* aggregate bkava underlying values in x/earn

* aggregate underlying value of bkava in x/savings
2022-11-08 12:43:26 -05: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 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