0g-chain/x/hard/keeper
Denali Marsh bc110ce609
Hard: LTV index refactor (#758)
* add set/delete/update ltv methods

* refactor borrow logic

* basic updates to keeper logic for compile

* Add deposit index set/delete/update keeper methods

* refactor deposit logic

* refactor repay logic

* update withdraw logic

* introduce DeleteDepositBorrowAndLtvIndex

* remove unused bool from AttemptKeeperLiquidation

* remove comments (transitioned to asana cards)

* catch multiple error types in liquidation loop
2021-01-07 22:40:25 +01:00
..
borrow_test.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
borrow.go Hard: LTV index refactor (#758) 2021-01-07 22:40:25 +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: LTV index refactor (#758) 2021-01-07 22:40:25 +01:00
interest_test.go Hard: suppliers earn interest (#749) 2021-01-07 11:23:05 +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: LTV index refactor (#758) 2021-01-07 22:40:25 +01:00
liquidation.go Hard: LTV index refactor (#758) 2021-01-07 22:40:25 +01:00
params.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
querier.go add deposit balance query (#759) 2021-01-07 17:22:00 +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