-
Notifications
You must be signed in to change notification settings - Fork 91
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/perp lp jit #448
Bigz/perp lp jit #448
Conversation
@@ -1687,7 +1690,7 @@ pub fn fulfill_perp_order_with_amm( | |||
fee_structure: &FeeStructure, | |||
override_base_asset_amount: Option<u64>, | |||
override_fill_price: Option<u64>, | |||
split_with_lps: bool, | |||
liquidity_split: AMMLiquiditySplit, |
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 feel like override_base_asset_amount
, override_fill_price
and liquidity_split
are all related, maybe we can merge them somehow so it's clearer how they're related
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.
think adding params to AMMLiquiditySplit
is a nice-to-have future task
* sdk: start spl-token dependency upgrade * update tests to use spl-token 0.3.7 * fix driftClient test * fix whitelist test * fix unused import
* sdk: add IVersionedWallet, rename jupiter args, make loadKeypair support more private key types * dlob: add estimateFillWithExactBaseAmount * jupiter client decompile message fix * fix docstring * estimateFillWithExactBaseAmount to return QUOTE_PRECISION
* init msol config * rm devnet, decimals=9 * update changelog.md
No description provided.