0g-chain/x/hard/keeper
Denali Marsh 34a7172581
Hard: refactor borrow/borrows and deposit/deposits query (#761)
* refactor cli borrows query

* rest api feature parity for borrows query

* refactor deposits cli query

* remove deposit/borrow query names from types

* add named deposit/borrow queries back into types

* rest api feature parity for deposits query

* load synced deposit instead of synced balance

* deposits query returns synced deposits

* borrows query returns synced borrows

* refactor querier types

* update comment for accuracy

* add deposit/borrow slice types

* refactor 'borrowed' query

* implement 'deposited' query types

* implement 'deposited' query keeper function

* implement 'deposited' query CLI

* implement 'deposited' query rest endpoint

* update naming conventions to 'total'
2021-01-13 19:14:58 +01:00
..
borrow_test.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
borrow.go Hard: refactor borrow/borrows and deposit/deposits query (#761) 2021-01-13 19:14:58 +01:00
claim_test.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
claim.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
deposit_test.go Hard: suppliers earn interest (#749) 2021-01-07 11:23:05 +01:00
deposit.go Hard: refactor borrow/borrows and deposit/deposits query (#761) 2021-01-13 19:14:58 +01:00
interest_test.go Hard: investigate sdk.RelativePow runtime panic (#762) 2021-01-12 10:03:09 +01:00
interest.go Hard: suppliers earn interest (#749) 2021-01-07 11:23:05 +01:00
keeper_test.go Hard: suppliers earn interest (#749) 2021-01-07 11:23:05 +01:00
keeper.go Hard: suppliers earn interest (#749) 2021-01-07 11:23:05 +01:00
liquidation_test.go Hard: sync supply interest on attempted liquidation (#763) 2021-01-13 12:59:39 +01:00
liquidation.go Hard: sync supply interest on attempted liquidation (#763) 2021-01-13 12:59:39 +01:00
params.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
querier.go Hard: refactor borrow/borrows and deposit/deposits query (#761) 2021-01-13 19:14:58 +01:00
repay_test.go Hard: suppliers earn interest (#749) 2021-01-07 11:23:05 +01:00
repay.go Hard: LTV index refactor (#758) 2021-01-07 22:40:25 +01:00
rewards_test.go Hard: suppliers earn interest (#749) 2021-01-07 11:23:05 +01:00
rewards.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
timelock_test.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
timelock.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
withdraw_test.go Hard: suppliers earn interest (#749) 2021-01-07 11:23:05 +01:00
withdraw.go Hard: LTV index refactor (#758) 2021-01-07 22:40:25 +01:00