mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
b5e162a930
* 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 |
||
---|---|---|
.. | ||
ante | ||
params | ||
_sim_test.go | ||
_simulate_tx_test.go | ||
_simulate_tx.go | ||
app_test.go | ||
app.go | ||
config.go | ||
encoding.go | ||
export.go | ||
genesis.go | ||
legacy_tx_broadcast_test.go | ||
legacy_tx_broadcast.go | ||
test_builder.go | ||
test_common.go | ||
upgrades.go |