-
Notifications
You must be signed in to change notification settings - Fork 1
feat/add common protocol fee #45
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
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
afedda7
feat: rename jup_v6.json -> jupiter.json and update IDl
bangyro 501f69d
feat: add jupiter as idl dep
bangyro c091c4c
feat: add shared library and use shared library in zap-program
bangyro 68c6fef
feat: require platform_fee_bps 0 to ensure no stealingn through platf…
bangyro f68848a
feat: ensure all jup inputs token are fully consumed and converge on …
bangyro 9b5fb35
fix: clean up unused error codes and safe_math impl
bangyro f2dc0e8
feat: add test
bangyro ed5f649
fix: don't use BTreeMap, BTreeSet
bangyro 876e11d
fix: move tests to separate file
bangyro 61d72ba
feat: remove anchor as dep
bangyro 60353d8
feat: remove treasury address
bangyro 4703104
refactor: rename to zap-sdk
bangyro aaafea8
refactor: rename protocol zap usage
bangyro f936cfc
fix: logic
bangyro b6f49d2
feat: bump anchor version in CI
bangyro 4fc1a17
feat: map errors
bangyro 20042a9
feat: remove unecessary name impl
bangyro fb4f24d
refactor: change to use pinocchio
bangyro 758fd76
refactor: split into protocol-zap and zap-sdk
bangyro 949a874
chore: readd accidentally removed newline
bangyro 9dffa10
feat: add protocol-zap and zap-sdk to changed files trigger
bangyro 39925de
feat: run rust unit tests on CI
bangyro 591066b
feat: standardize test command
bangyro e59eb87
fix: remove doctests for cargo test to pass
bangyro cf4ea95
chore: use Pubkey type and reference consistently
bangyro 53ccb43
fet: address comments
bangyro 9eaf48a
fix: conditions
bangyro 3175370
fix: address comments
bangyro bdb3175
fix: addres comment for max_swap_amount and max_claim_amount condition
bangyro a2c4c38
fix: prefer `ok_or_else` over `ok_or` since its lazy
bangyro 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 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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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.
Uh oh!
There was an error while loading. Please reload this page.