Denali Marsh
e1ad9569a7
Harvest: interest rate model params ( #719 )
...
* add interest rate models to params
* move interest rate models to money market param
* add interest rate models to store
* update store interest rate models from params
* refactor money market init function, update tests
* use cmp package for optimized comparison
* implement equal function, remove gocmp dep
* delete unseen interest rate model param from store
2020-11-13 16:51:52 +01:00
Denali Marsh
df2c4271e4
Harvest: refactor deposit type to claim type ( #716 )
...
* status: refactor deposit type to claim type
* refactor all deposit types to claim types
* refactor msg withdraw
* update module errors
* refactor querier and rest
* update spec
* update tests
* update handler, alias
* refactor to IterateDepositsByDenom
* v0_12 legacy types
* fix build
2020-11-12 17:43:28 +01:00
Denali Marsh
510b7e7c04
Harvest: borrows limited by global asset borrow limit ( #715 )
...
* update MaximumLimit param to MaximumLimitUSD
* track total borrowed coins in the store
* implement total borrowed coins querier
* add maximum value usd check
* update test suite, add zero coins check
* add test case, update error msg
* max limit in native amount
* remove debug logging
* prepare for master rebase
* master rebase
* fix build
2020-11-12 16:50:54 +01:00
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
Denali Marsh
5ce045f46f
rename hvt ( #661 )
2020-09-25 11:07:20 -04:00