Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model lp fees #140

Merged
merged 38 commits into from
Jul 21, 2023
Merged
Changes from 9 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5912659
this looks like quite a clean way to observe fees collected
jepidoptera May 26, 2023
5318427
re-ran with better parameter distribution
jepidoptera May 29, 2023
997f8cb
narrowed consideration of trade volume % to just TKN
jepidoptera Jun 5, 2023
5d3715e
added a section with just two trades
jepidoptera Jun 8, 2023
e9fcd5d
deleted excess and made a clear chart
jepidoptera Jun 13, 2023
d34116a
added a disclaimer
jepidoptera Jun 13, 2023
dc80555
Implemented LRNA mint for asset fee - WIP
poliwop Jun 15, 2023
b80c3e0
Simpler version of the test, which works
poliwop Jun 15, 2023
a6a651e
Extend to fuzz Omnipool state, fee
poliwop Jun 16, 2023
f69a342
Added spec change for LRNA specified LRNA trade
poliwop Jun 16, 2023
fdbd814
Implemented for LRNA sales, added test
poliwop Jun 16, 2023
80d255b
Fixed SwapLRNA.ipynb spec omission
poliwop Jun 16, 2023
a64a1b9
Implemented LRNA mint for swaps between assets
poliwop Jun 16, 2023
7259585
Code cleanup
poliwop Jun 16, 2023
f51e468
Relaxed test_swap_lrna to allow LRNA minting during swap
poliwop Jun 16, 2023
b4df0bf
Extended to allow a custom percentage of LRNA mint to be enabled
poliwop Jun 19, 2023
c195af2
Added test to check lrna_mint_pct
poliwop Jun 19, 2023
8ccb9d2
Moved the mint coefficient to Omnipool configuration
poliwop Jun 19, 2023
4b4051f
PR cleanup
poliwop Jun 19, 2023
19d73d1
edited description and moved it to the top
jepidoptera Jun 19, 2023
0f8af9a
added fee analysis notebook
jepidoptera Jun 20, 2023
545981d
Failing test does not reproduce locally, even using reproduce_failure…
poliwop Jun 21, 2023
06462a2
new version of notebook
poliwop Jun 22, 2023
91052f4
re-ran notebook, finalized result
jepidoptera Jun 26, 2023
f33dc79
looked at fees again with the new mechanism, confirmed that revenue f…
jepidoptera Jun 27, 2023
cc5b0cc
Merge branch 'main' into model-LP-fees
jepidoptera Jun 27, 2023
890f330
curve style fees in stableswap (#137)
jepidoptera Jun 21, 2023
4b8c28b
Merge branch 'main' into adjust-LRNA-for-fees
poliwop Jun 27, 2023
272711c
allow more control over which assets are traded in back_and_forth
jepidoptera Jul 12, 2023
68c6262
increased max trade volume to 5%, changed trade strategy, and added a…
jepidoptera Jul 12, 2023
2d70410
Merge branch 'main' into model-LP-fees
jepidoptera Jul 12, 2023
0db222f
corrected back_and_forth trade strategy
jepidoptera Jul 12, 2023
4d4ac6a
some minor corrections
jepidoptera Jul 12, 2023
476e72b
got rid of simulation and graph line for 0-trade scenario
jepidoptera Jul 13, 2023
8f8b7c7
deleted some useless lines
jepidoptera Jul 13, 2023
d5cf604
clarified a few things
jepidoptera Jul 13, 2023
16c0f14
Merge branch 'adjust-LRNA-for-fees' into model-LP-fees
jepidoptera Jul 13, 2023
51a6fba
Reverting changes to specification
poliwop Jul 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading