Function dflow_sdk::client::instructions::init_recovery_vault
source · [−]pub fn init_recovery_vault(
program: &Program,
recovery_vault_mint: Pubkey,
auction_owner: Pubkey
) -> Instruction
Expand description
This instruction creates a recovery vault.
Recovery vaults are required for all mints used in the protocol. If a transfer recipient does not have a token account set up, the transferor can direct the protocol to transfer the tokens to the recovery vault. The intended recipient can then recover the tokens by submitting a recovery claim.
Arguments
recovery_vault_mint
The public key of the recovery_vault_mint account.auction_owner
The public key of the auction_owner account.
Returns an instruction