mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-11-04 19:07:53 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| auction/v1beta1 | ||
| bep3/v1beta1 | ||
| cdp/v1beta1 | ||
| committee/v1beta1 | ||
| earn/v1beta1 | ||
| evmutil/v1beta1 | ||
| hard/v1beta1 | ||
| incentive/v1beta1 | ||
| issuance/v1beta1 | ||
| kavadist/v1beta1 | ||
| pricefeed/v1beta1 | ||
| savings/v1beta1 | ||
| swap/v1beta1 | ||