0g-chain/x/earn/keeper
Derrick Lee 9fb64b1f11
Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293)
* Use custom aggregate handler for querying 'bkava' vault

* Add 3rd bkava vault

* Add special kava deposit handlers

* Separate bkava logic to parent deposits handler

* Rename single vault/account queries

* Remove all deposits queries

* Include empty vaults in /vaults query

* Respond with empty values when querying account deposits with no deposits

* return ukava value in bkava vault queries

* remove refernce to specific staked token denom

* return ukava value in bkava deposit queries

Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com>
2022-09-20 19:52:40 +01: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 Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
grpc_query_test.go Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +01:00
grpc_query.go Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +01:00
hooks_test.go Add savings strategy (#1290) 2022-09-12 10:50:35 -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 specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +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 Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
params.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
strategy_hard_test.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
strategy_hard.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
strategy_savings_test.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07: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 Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +01:00
withdraw.go Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00