Create and save missing accounts in cache, enable Sollet unwrap#77
Open
secretshardul wants to merge 2 commits intoproject-serum:armani/wrapfrom
Open
Create and save missing accounts in cache, enable Sollet unwrap#77secretshardul wants to merge 2 commits intoproject-serum:armani/wrapfrom
secretshardul wants to merge 2 commits intoproject-serum:armani/wrapfrom
Conversation
6ca1cb7 to
a3b04e4
Compare
Contributor
Author
5c12f3b to
caa3f08
Compare
Contributor
Author
|
A bug in the code was squashed. The old code to add a new token account in cache was a stub. |
e72af25 to
c491e41
Compare
Allow swaps to be performed after necessary accounts for 'toMint' and 'quoteMint' are created.
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.
Extends upon #64 . Saves created OpenOrders and associated token accounts in cache, allowing swaps to be performed for new tokens.
As a design change, a "no balance" message is shown if associated token account for
toMintis not present. If atoWalletis not present, logically users will not swap tokens out of it.Sollet unwrap for wUSDC and wUSDT is now supported.