Function dflow_sdk::client::instructions::init_signatory_system
source · [−]pub fn init_signatory_system(
program: &Program,
signatory_stake_mint: Pubkey,
dflow_admin: Pubkey
) -> Instruction
Expand description
This instruction is used to initialize global state for tracking the system of signatory servers.
This instruction can only be called by the DFlow admin and can only be called once.
Arguments
signatory_stake_mint
The SPL mint account associated with the token that is staked by the signatory server.dflow_admin
The public key of the DFlow admin. This account is a signer for the instruction. This account is expected to be mutable
Returns an instruction