0g-chain/x/hard/keeper
Denali Marsh a5b72363d0
Hard Audit: decrement total borrowed on liquidation (#823)
* decrement total borrow on liquidation

* copy kevin's decrement changes

* check error in liquidation

* extend decrement borrowed changes

* mimic negative check on the supplied coins side

* update liquidation test
2021-02-12 13:07:32 -07:00
..
borrow_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
borrow.go Hard Audit: decrement total borrowed on liquidation (#823) 2021-02-12 13:07:32 -07:00
deposit_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
deposit.go Hard Audit: decrement total borrowed on liquidation (#823) 2021-02-12 13:07:32 -07:00
hooks.go Incentive/Hard rebase to master (#773) 2021-01-21 14:52:09 +01:00
interest_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
interest.go Query Hard module's supply/borrow APYs (#816) 2021-02-10 10:53:53 -07:00
keeper_test.go remove auction size param (#815) 2021-02-10 07:59:23 -07:00
keeper.go Query Hard module's supply/borrow APYs (#816) 2021-02-10 10:53:53 -07:00
liquidation_test.go Hard Audit: decrement total borrowed on liquidation (#823) 2021-02-12 13:07:32 -07:00
liquidation.go Hard Audit: decrement total borrowed on liquidation (#823) 2021-02-12 13:07:32 -07:00
params.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
querier.go Query Hard module's supply/borrow APYs (#816) 2021-02-10 10:53:53 -07:00
repay_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
repay.go Hard Audit: decrement total borrowed on liquidation (#823) 2021-02-12 13:07:32 -07:00
timelock_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
timelock.go update 'harvest' -> 'hard' (#746) 2020-12-21 18:18:55 +01:00
withdraw_test.go Hard Audit: add minimum borrow USD value (#822) 2021-02-12 08:28:05 -07:00
withdraw.go Hard Audit: decrement total borrowed on liquidation (#823) 2021-02-12 13:07:32 -07:00