0g-chain/x/hard/keeper
Denali Marsh fba6b8c4f2
Hard: delete borrow/deposit from store on 0 amount (#766)
* delete borrow/deposit on 0 balance

* add/update tests to ensure deletion

* delete from LTV index
2021-01-18 10:43:20 +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: delete borrow/deposit from store on 0 amount (#766) 2021-01-18 10:43:20 +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: delete borrow/deposit from store on 0 amount (#766) 2021-01-18 10:43:20 +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: delete borrow/deposit from store on 0 amount (#766) 2021-01-18 10:43:20 +01:00
withdraw.go Hard: LTV index refactor (#758) 2021-01-07 22:40:25 +01:00