Function dflow_sdk::client::instructions::init_auction_mapper
source · [−]pub fn init_auction_mapper(
program: &Program,
dflow_admin: Pubkey
) -> Instruction
Expand description
This instruction initializes the auction mapper account.
The auction mapper account contains a list of auctions that are not deprecated. Auctions will either be in a trading or halted state. This function can only be called by the DFlow admin.
Arguments
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