Function dflow_sdk::client::instructions::set_new_dflow_admin
source · [−]pub fn set_new_dflow_admin(
program: &Program,
dflow_admin: Pubkey,
new_dflow_admin: Pubkey
) -> Instruction
Expand description
This instruction updates the DFlow admin.
The current DFlow admin can use this instruction to assign a new DFlow admin.
Arguments
dflow_admin
The public key of the DFlow admin. This account is a signer for the instructionnew_dflow_admin
The new DFlow admin’s public key.
Returns an instruction