0g-chain/proto/kava
Derrick Lee 88d4868316
Implement Hard strategy for Earn vaults (#1278)
* Simplify strategies to lend and savings

* Add hard and savings keepers

* Add ctx to strategy interface, fill in lend strategy

* Rename lend strategy to hard

* Fix hard deposit query, fix withdraw bank send

* Fix misleading borrow instead of withdraw for hard

* Remove liquidateall strategy method

* Withdraw tests

* Add hard gs to testutil suite

* Update withdraw tests with working hard strategy, clean strategy interface methods

* Check allowed denom for strategy

* Update GetVaultTotalValue doc note

* Update error wrap message for unsupported denom

* Remove unnecessary viewvault keeper

* Withdraw amount from account value, not supplied value

* Test value > supplied withdraw

* Use dec when dividing for withdrawAmountPercent

* Use the correct store prefix for vault shares

* Update swap references to earn

* Simplify vault shares, use a single share for all coins per address
2022-07-28 09:39:57 -07:00
..
auction/v1beta1 Add auction migration (#1220) 2022-04-22 11:36:05 -07:00
bep3/v1beta1 Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
cdp/v1beta1 Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
committee/v1beta1 Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
earn/v1beta1 Implement Hard strategy for Earn vaults (#1278) 2022-07-28 09:39:57 -07:00
evmutil/v1beta1 Add EVM Support (#1215) 2022-04-21 16:16:28 -04:00
hard/v1beta1 Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
incentive/v1beta1 Add savings to incentive genesis (#1205) 2022-04-04 15:01:48 -05:00
issuance/v1beta1 Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
kavadist/v1beta1 Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
pricefeed/v1beta1 Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
savings/v1beta1 Savings module invariants (#1199) 2022-03-30 13:51:06 +02:00
swap/v1beta1 Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00