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

bigz/amm-fee-pool-insurance #332

Merged
merged 24 commits into from
Jan 29, 2023
Merged

bigz/amm-fee-pool-insurance #332

merged 24 commits into from
Jan 29, 2023

Conversation

0xbigz
Copy link
Member

@0xbigz 0xbigz commented Jan 19, 2023

No description provided.

0xbigz and others added 23 commits January 23, 2023 13:25
)

* program: add is_resting_limit_order

* programs: change is_maker_for_taker to account for resting limit orders

* tests working

* refine logic to let limit order immediately be maker if it is inside the vamm spread

* sdk: mirror new on-chain logic around resting limit orders

* add test for new amm bid/ask logic

* sdk: calculateEstimatedSpotEntryPrice uses getMakerLimitBids/Asks

* CHANGELOG
@0xbigz 0xbigz merged commit 9a1a830 into master Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants