-
Notifications
You must be signed in to change notification settings - Fork 125
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
bigz/amm-reservation-price-offset #681
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
280cc4d
bigz/amm-reservation-price-offset
0xbigz abaa09c
start spread shrinkage based on calculate_reservation_price_offset
0xbigz 9c6d86f
add reservation_price_offset to calculate_spread
0xbigz bb21a89
add fields
crispheaney 16704a7
Merge branch 'crispheaney/amm-new-fields' into bigz/amm-reservation-p…
0xbigz e936d93
incorp into calculate_spread_reserves
0xbigz 9f48b7e
add typescript
0xbigz c876b87
add rust / typescript test, make max 1/5th of max_spread
0xbigz 9375d20
Merge branch 'master' into bigz/amm-reservation-price-offset
0xbigz 78ceb8f
update anchor types for 24h funding
0xbigz 7067e67
fix calculateSpreadReserves return type
0xbigz f00f2cf
merge master + address comments/rename
0xbigz 956775d
incorp feedback
0xbigz 7df18ad
support sdk and tests, remove shrinakge of spread
0xbigz d9405cf
cleanup commented out code
0xbigz e8f00fd
amm.ts: add calculateInventoryLiquidityRatio
0xbigz 6dd1b78
fix param in sdk/tests/amm/test.ts
0xbigz 768f8a7
Merge branch 'master' into bigz/amm-reservation-price-offset
0xbigz 320d305
fix some ts tests
0xbigz c9e4499
fix fmt/prettier
0xbigz 76eedcb
add spread reserve logic to typescript
0xbigz e973135
fix idl
0xbigz 4977f38
wip test
0xbigz f49bd28
wip sdk test
0xbigz 2f2c3fd
merge master
0xbigz c93f93a
working spread offset test
0xbigz f1da8ee
calculate_reference_price_offset: ensure sign is consistent with two …
0xbigz eb25a25
update CHANGELOG.md
0xbigz 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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.
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 good to figure out why code cov thinks this has no coverage? maybe you need to merge master?