0g-chain/x/harvest/keeper
Denali Marsh 1442deb3dc
Harvest basic borrow functionality (#702)
* basic borrow types

* borrow keeper scaffolding

* borrow limits param

* integrate pricefeed keeper

* msg handling and querier

* borrow user validation

* update migration scripts for compile

* borrows querier, fixes

* add money market param

* add spot market ID to params, refactor pricefeed

* working bnb -> ukava borrows

* refactor to getAssetPrice

* conversion_factor param, refactor validateBorrow()

* address misc revisions

* remove validation code

* add borrow test

* update test params

* single borrow with sdk.Coins per user

* fix harvest test

* removed legacy commented out code

* address minor revisions
2020-10-30 10:59:47 +01:00
..
borrow_test.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
borrow.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
claim_test.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
claim.go Harvest Migration (#672) 2020-09-30 19:07:30 -04:00
deposit_test.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
deposit.go rename hvt (#661) 2020-09-25 11:07:20 -04:00
keeper_test.go harvest-fix: check for status other than bonded, add staking tests (#677) 2020-10-05 17:44:17 -04:00
keeper.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
params.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
querier.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
rewards_test.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
rewards.go harvest-fix: check for status other than bonded, add staking tests (#677) 2020-10-05 17:44:17 -04:00
timelock_test.go Harvest basic borrow functionality (#702) 2020-10-30 10:59:47 +01:00
timelock.go rename hvt (#661) 2020-09-25 11:07:20 -04:00