0g-chain/x/harvest/keeper
Denali Marsh 4e641c5212
Hard: repay borrowed coins (#725)
* add msg borrow test

* repay types

* register msg repay on codec

* repay keeper functionality

* repay cli

* repay keeper test

* Hard: repay insufficient balance error (#726)

* repay error: insufficient balance

* isolate coin type in error msg

* add multi-coin repay example

* CalculatePaymentAmount, repay > SyncBorrowInterest

* remove todo: index updated by sync

* update tests

* add back in test
2020-12-07 22:51:35 +01:00
..
borrow_test.go Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
borrow.go query borrow balance (#732) 2020-12-04 20:04:05 +01:00
claim_test.go Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
claim.go Harvest: refactor deposit type to claim type (#716) 2020-11-12 17:43:28 +01:00
deposit_test.go Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
deposit.go Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
interest_test.go Kd fix interest test (#728) 2020-12-03 16:05:56 -07:00
interest.go Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
keeper_test.go Kd fix interest test (#728) 2020-12-03 16:05:56 -07:00
keeper.go Hard: repay borrowed coins (#725) 2020-12-07 22:51:35 +01:00
params.go Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
querier.go query borrow balance (#732) 2020-12-04 20:04:05 +01:00
repay_test.go Hard: repay borrowed coins (#725) 2020-12-07 22:51:35 +01:00
repay.go Hard: repay borrowed coins (#725) 2020-12-07 22:51:35 +01:00
rewards_test.go Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
rewards.go Harvest: refactor deposit type to claim type (#716) 2020-11-12 17:43:28 +01:00
timelock_test.go Harvest: interest rate logic (#720) 2020-12-03 22:50:35 +01:00
timelock.go rename hvt (#661) 2020-09-25 11:07:20 -04:00