Function dflow_sdk::client::instructions::close_auction_epoch_state
source · [−]pub fn close_auction_epoch_state(
program: &Program,
auction_id: u64,
auction_epoch: u64,
owner: Pubkey
) -> Instruction
Expand description
This instruction is used to close an AuctionEpochState account.
The auction owner can use this instruction to close the AuctionEpochState account for an old epoch that has no open orders or fills pending settlement. The auction owner can also use this instruction close the AuctionEpochState account for the last, current, or next epoch if the auction is in the Draining state.
Arguments
auction_id
An unsigned 64 bit integer. The auction ID used as a seed to generate the program derived addressauction_epoch
An unsigned 64 bit integer. The integer epoch used to generate the PDA of the auction epoch accountowner
The account that created the AuctionEpochState account by calling init_auction_epoch_state_account. This account is a signer for the instruction. This account is expected to be mutable
Returns an instruction