Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* this looks like quite a clean way to observe fees collected * re-ran with better parameter distribution * narrowed consideration of trade volume % to just TKN * added a section with just two trades * deleted excess and made a clear chart * added a disclaimer * Implemented LRNA mint for asset fee - WIP * Simpler version of the test, which works * Extend to fuzz Omnipool state, fee * Added spec change for LRNA specified LRNA trade * Implemented for LRNA sales, added test * Fixed SwapLRNA.ipynb spec omission Specced LRNA mint in Spec.ipynb * Implemented LRNA mint for swaps between assets * Code cleanup * Relaxed test_swap_lrna to allow LRNA minting during swap * Extended to allow a custom percentage of LRNA mint to be enabled * Added test to check lrna_mint_pct * Moved the mint coefficient to Omnipool configuration * PR cleanup * edited description and moved it to the top * added fee analysis notebook * Failing test does not reproduce locally, even using reproduce_failure decorator. Loosening acceptable error in hope this resolves issue. * new version of notebook * re-ran notebook, finalized result * looked at fees again with the new mechanism, confirmed that revenue for LPs is approximately double * curve style fees in stableswap (#137) * changed withdrawal fee for stableswap to match our runtime implementation * allow more control over which assets are traded in back_and_forth * increased max trade volume to 5%, changed trade strategy, and added a graph at the bottom which separately extrapolates to one year * corrected back_and_forth trade strategy * some minor corrections * got rid of simulation and graph line for 0-trade scenario * deleted some useless lines * clarified a few things * Reverting changes to specification --------- Co-authored-by: poliwop <grove.colin@gmail.com>
- Loading branch information