-
Notifications
You must be signed in to change notification settings - Fork 10
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
Lp extension #192
Merged
Merged
Lp extension #192
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
84e39cc
initial changes
poliwop e7e2e68
WIP, reimplementing multiple LP positions in same asset to use agent.…
poliwop 909ab4b
WIP, reimplementing multiple LP positions in same asset to use agent.…
poliwop 692a1b1
Fixed dca_with_lping strategy to take advantage of new LPing features
poliwop b6f519e
Fixed test_compare_several_lp_adds_to_single
poliwop ef0d967
Fixed remove_liquidity handling of removing all liquidity when quanti…
poliwop 6e6d8ae
Extended simulate_remove_liquidity
poliwop bcfa1a1
Extended exact test for remove liquidity
poliwop d224f4a
Added test to compare basic case with case where shares are in holdings
poliwop 76bc198
Added test to compare basic usage when quantity is unspecified
poliwop 86c2725
Added test to compare base case to case where both quantity and nft_i…
poliwop 672020a
Removed outdated test
poliwop af32d65
reverted change
poliwop fb69dbd
Added logic to pull tkn_remove from nft in remove_liquidity if necessary
poliwop 1431339
Fixed some tests
poliwop 02befd5
removed commented out test
poliwop 74291d7
Removed commented out function
poliwop 0d2b83a
Removed commented out function
poliwop cfec790
Removed old test
poliwop c18afa9
Formatting
poliwop 560ad7e
Optimized cash_out
poliwop 7b6b1e7
Added test_cash_out_omnipool_exact
poliwop 5b7838a
add test_cash_out_multiple_positions
jepidoptera c9b542f
Allowing LRNA price in cash_out_omnipool. Fixed test_cash_out_multipl…
poliwop 758f27d
fixed liquidation test
poliwop a5b56b1
fixed stableswap test
poliwop e807eb5
Removed unused function
poliwop 2a9b7b4
Fixed calculate_remove_liquidity so it always returns nft_ids
poliwop File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to fix repr() so it can correctly display nfts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer to address this in a future PR