mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-11-21 17:07:27 +00:00
* Change vault supply to shares * Update deposit shares * Use shares instead of supplied * Update tests, fix share calculation * Pass hard and savings keeper as pointer to earn keeper * Update remaining failing test * Add different share price test, fix comment for share price * Add shares amount to events * Additional share tests, use share to asset conversion for withdraw amount * Update VaultTotalValue test * Use sdk.Dec for vault shares instead of sdk.Int * Add test for expensive 20:1 shares * Update ConvertToShares comment for division, remove redundant test * Add vault share tests |
||
|---|---|---|
| .. | ||
| 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 | ||