0g-chain/x/earn
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
..
client/cli Add savings strategy (#1290) 2022-09-12 10:50:35 -07:00
keeper Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +01:00
testutil Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +01:00
types Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +01:00
genesis_test.go Add private Earn vault with allowed depositors (#1289) 2022-09-12 10:29:35 -07:00
genesis.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
module.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00