Type alias InitAuctionStateTransactionArgs

InitAuctionStateTransactionArgs: { auctionId: BN; auctionOwner: PublicKey; batchNotionalSize: BN; bidMintAccount: PublicKey; claimPeriod: BN; dflow: Program<any>; maxNotionalOrderSize: BN; minNotionalOrderSize: BN; notionalDecimals: number; supportedPairsCount: number; voteMintAccount: PublicKey; votePeriod: BN; voteSize: BN }

Param

An unsigned 64 bit integer. The auction ID used as a seed to generate the program derived address

Param

The public key of the auction_owner account.

Param

The public key of the bid_mint_account account.

Param

The public key of the vote_mint_account account.

Param

The minimum notional size accepted by this newly initialized auction. The notional size of all order flow purchased in this auction must be greater than or equal to this value

Param

The maximum notional size accepted by this newly initialized auction. The notional size of all order flow purchased in this auction must be less than or equal to this value

Param

The number of decimals in min_notional_order_size, max_notional_order_size, and batch_notional_size

Param

The total notional size of the orders that will be routed to the market maker when the market maker wins this auction. A winning market maker will receive order flow with a total notional size in the range [batch_notional_size, batch_notional_size + max_notional_order_size)

Param

The amount of tokens in the currency of the vote mint that the arbiter will need to stake every time the arbiter votes on a fill.

Param

The number of token pairs for which order flow is sold in this auction.

Param

The length in seconds of the voting period for orders routed through this auction.

Param

The length in seconds of the reward claiming period for orders routed through this auction.

Type declaration

  • auctionId: BN
  • auctionOwner: PublicKey
  • batchNotionalSize: BN
  • bidMintAccount: PublicKey
  • claimPeriod: BN
  • dflow: Program<any>
  • maxNotionalOrderSize: BN
  • minNotionalOrderSize: BN
  • notionalDecimals: number
  • supportedPairsCount: number
  • voteMintAccount: PublicKey
  • votePeriod: BN
  • voteSize: BN

Generated using TypeDoc