Module safe_token_2022::instruction
source · Expand description
Instruction types
Enums
- Specifies the authority type for SetAuthority instructions
- Instructions supported by the token program.
Constants
- Maximum number of multisignature signers (max N)
- Minimum number of multisignature signers (min N)
Functions
- Creates an
AmountToUiAmount
instruction - Creates an
Approve
instruction. - Creates an
ApproveChecked
instruction. - Creates a
Burn
instruction. - Creates a
BurnChecked
instruction. - Creates a
CloseAccount
instruction. - Creates a
CreateNativeMint
instruction - Utility function for decoding instruction data
- Utility function for decoding just the instruction type
- Creates a
FreezeAccount
instruction. - Creates a
GetAccountDataSize
instruction - Creates a
InitializeAccount
instruction. - Creates a
InitializeAccount2
instruction. - Creates a
InitializeAccount3
instruction. - Create an
InitializeImmutableOwner
instruction - Creates a
InitializeMint
instruction. - Creates a
InitializeMint2
instruction. - Creates an
InitializeMintCloseAuthority
instruction - Creates a
InitializeMultisig
instruction. - Creates a
InitializeMultisig2
instruction. - Creates an
InitializeNonTransferableMint
instruction - Creates an
InitializePermanentDelegate
instruction - Utility function that checks index is between MIN_SIGNERS and MAX_SIGNERS
- Creates a
MintTo
instruction. - Creates a
MintToChecked
instruction. - Creates a
Reallocate
instruction - Creates a
Revoke
instruction. - Creates a
SetAuthority
instruction. - Creates a
SyncNative
instruction - Creates a
ThawAccount
instruction. - transferDeprecatedCreates a
Transfer
instruction. - Creates a
TransferChecked
instruction. - Creates a
UiAmountToAmount
instruction