Type alias CloseFillAccountsTransactionArgs

CloseFillAccountsTransactionArgs: { arbiter: PublicKey; auctionStateAccountBidMint: PublicKey; dflow: Program<any>; fillNonce: BN; isRebateReceiverTokenAccountUninitialized: boolean; isXTokenAccountUninitialized: boolean; marketMakerAccountOwner: PublicKey; marketMakerXTokenAccount: PublicKey; nonce: BN; rebateReceiverTokenAccount: PublicKey; retailAccountOwner: PublicKey; retailDataAccount: PublicKey; vaultMetaAccountAuctionEpoch: BN; vaultMetaAccountAuctionId: BN; vaultTokenAccountMint: PublicKey }

Param

The public key of the retail_account_owner account.

Param

An unsigned 64 bit integer. The nonce used as a seed to generate the PDA for the vault token account, taken from the retail trader's account when the order in question was initially created.

Param

An unsigned 16 bit integer. The fill nonce taken from the vault meta account at fill time, and used to generate the PDA for the fill record account.

Param

The unsigned integer field named auction_id in the vault_meta_account account.

Param

The unsigned integer field named auction_epoch in the vault_meta_account account.

Param

The public key of the arbiter account.

Param

The public key field named bid_mint in the auction_state_account account.

Param

The public key field named mint in the vault_token_account account.

Param

The SPL token account associated with the market maker, and which receives the asset sold by the retail trader during a trade. This account is expected to be mutable. This account is the market_maker_account_owner's associated token account for the mint of the asset sent by the retail trader

Param

The retail data account holds state specific to the retail trader. This account is expected to be mutable. The key of retail_account_owner must match the field named retail_account_owner in this account

Param

The public key of the market maker. This account is expected to be mutable

Param

The SPL token account associated with the order used to receive a payment from the network, with the same mint as the token accounts used by market makers to bid in the associated auction. This account is expected to be mutable

Param

True if and only if the rebate receiver token account is uninitialized

Param

True if and only if the market maker's X token account is uninitialized

Type declaration

  • arbiter: PublicKey
  • auctionStateAccountBidMint: PublicKey
  • dflow: Program<any>
  • fillNonce: BN
  • isRebateReceiverTokenAccountUninitialized: boolean
  • isXTokenAccountUninitialized: boolean
  • marketMakerAccountOwner: PublicKey
  • marketMakerXTokenAccount: PublicKey
  • nonce: BN
  • rebateReceiverTokenAccount: PublicKey
  • retailAccountOwner: PublicKey
  • retailDataAccount: PublicKey
  • vaultMetaAccountAuctionEpoch: BN
  • vaultMetaAccountAuctionId: BN
  • vaultTokenAccountMint: PublicKey

Generated using TypeDoc