Skip to content

feat/add common protocol fee#45

Merged
andrewsource147 merged 30 commits intorelease_0.2.2from
feat/add-common-protocol-fee
Feb 10, 2026
Merged

feat/add common protocol fee#45
andrewsource147 merged 30 commits intorelease_0.2.2from
feat/add-common-protocol-fee

Conversation

@bangyro
Copy link
Copy Markdown
Collaborator

@bangyro bangyro commented Jan 19, 2026

No description provided.

@bangyro bangyro force-pushed the feat/add-common-protocol-fee branch from 2132c76 to f68848a Compare January 20, 2026 08:03
@bangyro bangyro changed the base branch from main to release_0.2.2 January 20, 2026 08:03
Comment thread programs/zap/src/constants.rs Outdated
Comment thread programs/zap/src/instructions/ix_zap_out.rs Outdated
Comment thread idls/jupiter.json
Comment thread protocol-zap/src/jup_v6_zap.rs Outdated
@bangyro bangyro marked this pull request as ready for review January 20, 2026 10:26
Comment thread protocol-zap/Cargo.toml
Comment thread protocol-zap/src/constants.rs Outdated
Comment thread protocol-zap/src/constants.rs Outdated
Comment thread protocol-zap/src/constants.rs Outdated
Comment thread protocol-zap/Cargo.toml Outdated
Comment thread protocol-zap/src/processors/jup_v6_zap.rs
Comment thread protocol-zap/src/error.rs Outdated
Comment thread protocol-zap/src/safe_math.rs Outdated
Comment thread protocol-zap/src/jup_v6_zap.rs Outdated
@bangyro bangyro force-pushed the feat/add-common-protocol-fee branch from 2c2c7c1 to 39925de Compare January 27, 2026 05:27
Comment thread .github/workflows/ci.yml
Comment thread libs/dlmm/Cargo.toml
Comment thread protocol-zap/src/utils/mod.rs
Comment thread protocol-zap/src/utils/mod.rs
Comment thread protocol-zap/src/utils/mod.rs
Comment thread protocol-zap/src/utils/mod.rs
Comment thread protocol-zap/src/utils/mod.rs
Comment thread protocol-zap/src/processors/damm_v2_zap.rs
@bangyro bangyro force-pushed the feat/add-common-protocol-fee branch from 55dac8f to 9eaf48a Compare February 9, 2026 10:01
Comment thread libs/jupiter/Cargo.toml Outdated
Comment thread protocol-zap/src/processors/jup_v6_zap.rs Outdated
Comment thread protocol-zap/src/processors/jup_v6_zap.rs Outdated
Comment thread protocol-zap/src/tests/jup_v6_tests.rs Outdated
Comment thread protocol-zap/src/utils/token.rs
Comment thread protocol-zap/src/utils/token.rs
Comment thread protocol-zap/src/processors/jup_v6_zap.rs Outdated
Comment thread protocol-zap/src/utils/mod.rs Outdated
@andrewsource147 andrewsource147 merged commit 064c58b into release_0.2.2 Feb 10, 2026
4 checks passed
@andrewsource147 andrewsource147 deleted the feat/add-common-protocol-fee branch February 10, 2026 08:41
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>
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.

2 participants