-
Notifications
You must be signed in to change notification settings - Fork 33
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
chore: compressed-token token extension compat #1008
chore: compressed-token token extension compat #1008
Conversation
e947968
to
1045485
Compare
'can have one token pool. When a token is compressed the compressed', | ||
'tokens are transferrred to the token pool.', |
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.
imo it's easier to understand if we say something like this:
'can have one token pool. When a token is compressed the compressed', | |
'tokens are transferrred to the token pool.', | |
'can have one token pool. When a token is compressed the SPL', | |
'tokens are transferrred to the token pool, and their compressed equivalent is minted into a Merkle tree.', |
@@ -51,7 +50,11 @@ export type LightCompressedToken = { | |||
'Mints tokens from an spl token mint to a list of compressed accounts.', | |||
'Minted tokens are transferred to a pool account owned by the compressed', | |||
'token program. The instruction creates one compressed output account for', | |||
'every amount and pubkey input pair one output compressed account.', | |||
'every amount and pubkey input pair one output compressed account. A', |
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.
duplicate 'one output compressed account'
'decompressed. In one transaction only compression or decompression is', | ||
'possible. Lamports can be transferred along side tokens. If output token', |
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.
'decompressed. In one transaction only compression or decompression is', | |
'possible. Lamports can be transferred along side tokens. If output token', | |
'decompressed. In one transaction only compression or decompression is', | |
'possible. Lamports can be transferred alongside tokens. If output token', |
'decompressed. In one transaction only compression or decompression is', | ||
'possible. Lamports can be transferred along side tokens. If output token', | ||
'accounts specify less lamports than inputs the remaining lamports are', | ||
'transferred to an output compressed account. Signer must owner or', |
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.
'transferred to an output compressed account. Signer must owner or', | |
'transferred to an output compressed account. Signer must be owner or', |
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.
typos in doc comments otherwise lgtm
@@ -317,6 +338,10 @@ export type LightCompressedToken = { | |||
}, | |||
{ | |||
name: 'revoke'; | |||
docs: [ | |||
'Revokes a delegation. The instruction merges all inptus into one output', |
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.
'Revokes a delegation. The instruction merges all inptus into one output', | |
'Revokes a delegation. The instruction merges all inputs into one output', |
'are included in the token data hash, which is a public input to the', | ||
'validity proof.', |
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.
broken
'are included in the token data hash, which is a public input to the', | ||
'validity proof.', |
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.
broken
Changes:
Option<Vec<u8>>
to:TokenData
PackedTokenTransferOutputData
InputTokenDataWithContext
None
if set instructions panic with unimplementedNote:
TokenData
are breaking changes for photoncompressed-token.js
are disabled