Module instruction

Source
Expand description

Confidential Transfer Extension instructions

Modules§

close_account
pubkey_validity
transfer
transfer_with_fee
withdraw
withdraw_withheld

Structs§

ApplyPendingBalanceData
Data expected by ConfidentialTransferInstruction::ApplyPendingBalance
CloseAccountData
This struct includes the cryptographic proof and the account data information needed to verify the proof
ConfigureAccountInstructionData
Data expected by ConfidentialTransferInstruction::ConfigureAccount
DepositInstructionData
Data expected by ConfidentialTransferInstruction::Deposit
EmptyAccountInstructionData
Data expected by ConfidentialTransferInstruction::EmptyAccount
InitializeMintData
Data expected by ConfidentialTransferInstruction::InitializeMint
PubkeyValidityData
This struct includes the cryptographic proof and the account data information needed to verify the proof
TransferData
TransferInstructionData
Data expected by ConfidentialTransferInstruction::Transfer
TransferWithFeeData
UpdateMintData
Data expected by ConfidentialTransferInstruction::UpdateMint
WithdrawData
This struct includes the cryptographic proof and the account data information needed to verify the proof
WithdrawInstructionData
Data expected by ConfidentialTransferInstruction::Withdraw
WithdrawWithheldTokensData
This struct includes the cryptographic proof and the account data information needed to verify the proof
WithdrawWithheldTokensFromAccountsData
Data expected by ConfidentialTransferInstruction::WithdrawWithheldTokensFromAccounts
WithdrawWithheldTokensFromMintData
Data expected by ConfidentialTransferInstruction::WithdrawWithheldTokensFromMint

Enums§

ConfidentialTransferInstruction
Confidential Transfer extension instructions
ProofInstruction
Role

Traits§

Verifiable

Functions§

apply_pending_balance
Create a ApplyPendingBalance instruction
approve_account
Create an ApproveAccount instruction
combine_lo_hi_commitments
combine_lo_hi_openings
combine_lo_hi_u64
configure_account
Create a ConfigureAccount instruction
deposit
Create a Deposit instruction
disable_confidential_credits
Create a DisableConfidentialCredits instruction
disable_non_confidential_credits
Create a DisableNonConfidentialCredits instruction
empty_account
Create a EmptyAccount instruction
enable_confidential_credits
Create a EnableConfidentialCredits instruction
enable_non_confidential_credits
Create a EnableNonConfidentialCredits instruction
harvest_withheld_tokens_to_mint
Creates a HarvestWithheldTokensToMint instruction
initialize_mint
Create a InitializeMint instruction
inner_apply_pending_balance
Create a inner ApplyPendingBalance instruction
inner_configure_account
Create a ConfigureAccount instruction
inner_empty_account
Create an inner EmptyAccount instruction
inner_transfer
Create a inner Transfer instruction
inner_withdraw
Create a inner Withdraw instruction
inner_withdraw_withheld_tokens_from_accounts
Create a inner WithdrawWithheldTokensFromMint instruction
inner_withdraw_withheld_tokens_from_mint
Create a inner WithdrawWithheldTokensFromMint instruction
split_u64
Takes in a 64-bit number amount and a bit length bit_length. It returns:
transfer
Create a Transfer instruction with regular (no-fee) proof
transfer_with_fee
Create a Transfer instruction with fee proof
update_mint
Create a UpdateMint instruction
verify_close_account
verify_pubkey_validity
verify_transfer
verify_transfer_with_fee
verify_withdraw
verify_withdraw_withheld_tokens
withdraw
Create a Withdraw instruction
withdraw_withheld_tokens_from_accounts
Create a WithdrawWithheldTokensFromAccounts instruction
withdraw_withheld_tokens_from_mint
Create a WithdrawWithheldTokensFromMint instruction