-
Notifications
You must be signed in to change notification settings - Fork 1
Token2022 suppport for buffers instructions #120
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
Open
kaze-cow
wants to merge
32
commits into
main
Choose a base branch
from
kaze/sc-153-token-2022-program
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
aa75ae4
Support Token-2022 in `CreateBuffer` and `ReclaimBuffer`
kaze-cow e499b86
Take the legacy program id from the Token-2022 crate
kaze-cow 50b05b1
Merge remote-tracking branch 'origin/main' into kaze/sc-153-token-202…
kaze-cow 881178b
fixes from final manual review
kaze-cow d690f26
switch fully away from legacy spl interface
kaze-cow a056888
fix inconsistencies in token program support
kaze-cow 8248ade
Keep the test CLI's Token-2022 support out of this PR
kaze-cow a25598c
Merge branch 'main' into kaze/sc-153-token-2022-program
kaze-cow 4ed9541
switch to using an enum based approach, which seems clean
kaze-cow 5fd2f6a
idl update
kaze-cow 7836f89
remove the unnecessary early return which skips the length CPI
kaze-cow 421a926
update documentation and design
kaze-cow ce75edf
update tests
kaze-cow 88b1c48
fix undo changes and lint
kaze-cow 90a8783
fix bench
kaze-cow 1d5ac46
Update programs/settlement/src/token.rs
kaze-cow 08fc979
Update Cargo.toml
kaze-cow b427f49
Update programs/settlement/src/reclaim_buffer.rs
kaze-cow a091047
Update programs/settlement/tests/common/token.rs
kaze-cow 641c08c
Update interface/src/token_program.rs
kaze-cow e3ccd22
use new tokenprgoram enum in client instructions
kaze-cow 1d2106b
switch to using tokenProgram in the client caused other changes
kaze-cow ada2e5a
remove the check
kaze-cow 1194762
remove superfluous test
kaze-cow 5a86bce
Merge branch 'main' into kaze/sc-153-token-2022-program
kaze-cow fbe9396
Merge branch 'kaze/sc-153-token-2022-program' of github.com:cowprotoc…
kaze-cow f74498b
refactor `base_layout` to use the actual encoder, and rename for clarity
kaze-cow 2907aaa
update test and spl token mint behavior
kaze-cow 62776ff
add some tests for wierd edge cases with recreating mints
kaze-cow 3f1aa2b
Merge branch 'main' into kaze/sc-153-token-2022-program
kaze-cow 00312df
fix idl
kaze-cow 3c8a10c
Update programs/settlement/tests/common/token_2022.rs
kaze-cow 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
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
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
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
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.