feat/add common protocol fee#45
Merged
andrewsource147 merged 30 commits intorelease_0.2.2from Feb 10, 2026
Merged
Conversation
2132c76 to
f68848a
Compare
bangyro
commented
Jan 20, 2026
bangyro
commented
Jan 20, 2026
bangyro
commented
Jan 20, 2026
bangyro
commented
Jan 20, 2026
2c2c7c1 to
39925de
Compare
bangyro
commented
Jan 27, 2026
bangyro
commented
Jan 27, 2026
bangyro
commented
Jan 27, 2026
55dac8f to
9eaf48a
Compare
andrewsource147
added a commit
that referenced
this pull request
Mar 27, 2026
* init version * feat/add common protocol fee (#45) * feat: rename jup_v6.json -> jupiter.json and update IDl * feat: add jupiter as idl dep * feat: add shared library and use shared library in zap-program * feat: require platform_fee_bps 0 to ensure no stealingn through platform_fee_account * feat: ensure all jup inputs token are fully consumed and converge on one output * fix: clean up unused error codes and safe_math impl * feat: add test * fix: don't use BTreeMap, BTreeSet * fix: move tests to separate file * feat: remove anchor as dep - remove supported zap amm program * feat: remove treasury address * refactor: rename to zap-sdk * refactor: rename protocol zap usage * fix: logic * feat: bump anchor version in CI * feat: map errors * feat: remove unecessary name impl * refactor: change to use pinocchio * refactor: split into protocol-zap and zap-sdk * chore: readd accidentally removed newline * feat: add protocol-zap and zap-sdk to changed files trigger * feat: run rust unit tests on CI * feat: standardize test command * fix: remove doctests for cargo test to pass * chore: use Pubkey type and reference consistently * fet: address comments * fix: conditions * fix: address comments * fix: addres comment for max_swap_amount and max_claim_amount condition * fix: prefer `ok_or_else` over `ok_or` since its lazy * Feat/damm v2 compounding & single sided pool (#49) * feat: update damm-v2 dep and idl * feat: compounding liquidity zap * fix: comments * fix: single sided zap in to dammv2 * chore: update toolchain * fix: use updated getLiquidityDeltaFromAmountA/B from sdk * refactor --------- Co-authored-by: Andrew Nguyen <cuong.hv.dtvt@gmail.com> --------- Co-authored-by: bangyro <229454856+bangyro@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.