Expand description
SPL Token instruction discriminators (TokenInstruction tags), plus an
independent reference encoder per instruction used as a differential
oracle for the shipped hopper_runtime::token::encoders.
Constants§
- IX_
APPROVE Approvediscriminator.- IX_
APPROVE_ CHECKED ApproveCheckeddiscriminator.- IX_BURN
Burndiscriminator.- IX_
BURN_ CHECKED BurnCheckeddiscriminator.- IX_
CLOSE_ ACCOUNT CloseAccountdiscriminator.- IX_
FREEZE_ ACCOUNT FreezeAccountdiscriminator.- IX_
INITIALIZE_ ACCOUN T2 InitializeAccount2discriminator.- IX_
INITIALIZE_ ACCOUN T3 InitializeAccount3discriminator.- IX_
MINT_ TO MintTodiscriminator.- IX_
MINT_ TO_ CHECKED MintToCheckeddiscriminator.- IX_
REVOKE Revokediscriminator.- IX_
SET_ AUTHORITY SetAuthoritydiscriminator.- IX_
SYNC_ NATIVE SyncNativediscriminator.- IX_
THAW_ ACCOUNT ThawAccountdiscriminator.- IX_
TRANSFER Transferdiscriminator.- IX_
TRANSFER_ CHECKED TransferCheckeddiscriminator.
Functions§
- encode_
approve - Reference
Approve { amount },[4][amount: u64 LE](9 bytes). - encode_
approve_ checked - Reference
ApproveChecked { amount, decimals },[13][amount: u64 LE][decimals: u8](10 bytes). - encode_
burn - Reference
Burn { amount },[8][amount: u64 LE](9 bytes). - encode_
burn_ checked - Reference
BurnChecked { amount, decimals },[15][amount: u64 LE][decimals: u8](10 bytes). - encode_
close_ account - Reference
CloseAccount,[9](1 byte). - encode_
freeze_ account - Reference
FreezeAccount,[10](1 byte). - encode_
initialize_ account2 - Reference
InitializeAccount2 { owner },[16][owner: 32 bytes](33 bytes). - encode_
initialize_ account3 - Reference
InitializeAccount3 { owner },[18][owner: 32 bytes](33 bytes). - encode_
mint_ to - Reference
MintTo { amount },[7][amount: u64 LE](9 bytes). - encode_
mint_ to_ checked - Reference
MintToChecked { amount, decimals },[14][amount: u64 LE][decimals: u8](10 bytes). - encode_
revoke - Reference
Revoke,[5](1 byte). - encode_
set_ authority - Reference
SetAuthority { authority_type, new_authority }. - encode_
sync_ native - Reference
SyncNative,[17](1 byte). - encode_
thaw_ account - Reference
ThawAccount,[11](1 byte). - encode_
transfer - Reference
Transfer { amount },[3][amount: u64 LE](9 bytes). - encode_
transfer_ checked - Reference
TransferChecked { amount, decimals },[12][amount: u64 LE][decimals: u8](10 bytes).