-
Notifications
You must be signed in to change notification settings - Fork 69
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
Token 2022 Support #85
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
cd2072c
feat: add token-2022 program
bigearsenal 3295604
fix: folder structure
bigearsenal 169dd60
feat: Token2022 BufferLayout
bigearsenal 832c0ad
Merge branch 'main' into feature/token-2022
bigearsenal 987a380
feat: Token2022ProgramTests
bigearsenal 7208343
feat: separate tests
bigearsenal de8506d
feat: getTokenAccounts
bigearsenal f006281
feat: add tests
bigearsenal 0ac32b0
fix: programId
bigearsenal e3ee72a
feat: mintdata
bigearsenal 0e4bc8e
fix: optional type
bigearsenal 2e52217
fix: tokenMetadata
bigearsenal 042ed3b
feat: add minRentExempt
bigearsenal 8babbb7
feat: some fixes
bigearsenal 80c8a71
feat: define program to send
bigearsenal 04d339d
feat: add lamportsPerSignature
bigearsenal a1d3cec
feat: remove generic
bigearsenal af02f17
feat: reverse
bigearsenal f1b8802
Merge branch 'feature/remove-generic' into feature/token-2022
bigearsenal 0cc2f5d
fix: update CHANGELOG.md
bigearsenal 454c363
feat: mock data
bigearsenal afab465
feat: add test for getAccountBalances
bigearsenal 99d2cde
Merge branch 'feature/get-account-balances-tests' into feature/token-…
bigearsenal 2cbdb61
fix: getAccountBalances
bigearsenal 44fe66b
Merge branch 'main' into feature/token-2022
TrGiLong 0edf5bc
feat: prepare for parsing extension
bigearsenal c2c81bd
feat: parse extensions
bigearsenal 40bc44e
feat: add test cases
bigearsenal ad3580b
feat: some fixes
bigearsenal 5f465c5
feat: InterestBearingConfig
bigearsenal acdbf73
feat: convenience method for getting extension
bigearsenal 68509d8
feat: getParsedExtension
bigearsenal e072989
Merge branch 'feature/token-2022-extension' into feature/token-2022
bigearsenal e398f69
Update README.md
bigearsenal 11f824f
Update README.md
bigearsenal 5827e9f
fix: encoding tests
bigearsenal 4100ad8
feat: VecU8
bigearsenal e66f37d
feat: VecU8
bigearsenal 352b154
fix: encoding
bigearsenal 40bf0b0
feat: MintLayoutState
bigearsenal c67f9a7
feat: rename TokenAccountState & TokenMintState
bigearsenal 5c3b9b9
Merge pull request #89 from p2p-org/feature/token-2022-renaming
bigearsenal 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 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 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 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 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 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 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 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.
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.
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.
fix docs
mre: The min rent exemption (leave it nil if there is no pre-defined)
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.
The mre can be non optional now since this info can be retrieved directly from getTokenAccountByOwners, no need to calculate it again