mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
e9d04cd7c6
* 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 * add borrow validation * simplify borrow validation * add test case * master compatibility * fix build * refactor to calculateUSDValue() * add maxLoanToValue to test |
||
---|---|---|
.. | ||
borrow_test.go | ||
borrow.go | ||
claim_test.go | ||
claim.go | ||
deposit_test.go | ||
deposit.go | ||
integration_test.go | ||
keeper_test.go | ||
keeper.go | ||
params.go | ||
querier.go | ||
rewards_test.go | ||
rewards.go | ||
timelock_test.go | ||
timelock.go |