CancelOrderTransactionArgs: { dflow: Program<any>; marketMakerDataAccount: PublicKey; nonce: BN; retailAccountOwner: PublicKey; retailDataAccount: PublicKey; retailXTokenAccount: PublicKey; vaultMetaAccountAuctionEpoch: BN; vaultMetaAccountAuctionId: BN; xMint: 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

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 retail data account holds state specific to the retail trader. This account is expected to be mutable

Param

The account storing state specific to the market maker. This account must be owned by the DFlow program, and this account must be initialized by calling the initialize market maker instruction. This account is expected to be mutable

Param

The SPL token account associated with the retail trader which is used to deposit the sold token into escrow prior to the trade occurring. This account is expected to be mutable

Param

The SPL mint account associated with the token that is sold by the retail trader during the swap.

Type declaration

  • dflow: Program<any>
  • marketMakerDataAccount: PublicKey
  • nonce: BN
  • retailAccountOwner: PublicKey
  • retailDataAccount: PublicKey
  • retailXTokenAccount: PublicKey
  • vaultMetaAccountAuctionEpoch: BN
  • vaultMetaAccountAuctionId: BN
  • xMint: PublicKey

Generated using TypeDoc