Function mpl_auction_house::auction_house::sell
source · [−]pub fn sell<'info>(
ctx: Context<'_, '_, '_, 'info, Sell<'info>>,
trade_state_bump: u8,
_free_trade_state_bump: u8,
_program_as_signer_bump: u8,
buyer_price: u64,
token_size: u64
) -> ProgramResult
Expand description
Create a sell bid by creating a seller_trade_state
account and approving the program as the token delegate.