Function dflow_sdk::client::instructions::reclaim_auction_bid
source · [−]pub fn reclaim_auction_bid(
program: &Program,
auction_id: u64,
auction_epoch: u64,
market_maker_data_account: Pubkey,
market_maker_account_owner: Pubkey,
market_maker_auction_token_account: Pubkey
) -> Instruction
Expand description
This instruction is called by the market maker to withdraw its losing auction bids and close its bid record account for the given auction.
A market maker who is outbid in an auction can use this instruction to withdraw its bids in the auction and close its bid record account for the auction. A market maker who has won an auction can use this instruction to close its bid record account for the auction.
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 accountmarket_maker_data_account
The public key of the market_maker_data_account account.market_maker_account_owner
The public key of the market_maker_account_owner account.market_maker_auction_token_account
The SPL token account associated with the market maker used to bid in the auctions. This account is expected to be mutable
Returns an instruction