Module dflow_sdk::client::instructions
source · [−]Functions
This instruction adds a currency pair to an existing auction.
This instruction cancels an open order.
This instruction changes the status of an auction
This instruction is used to claim back the tokens staked during a fill vote by an arbiter.
This instruction is used to close an AuctionEpochState account.
This instruction is used to close the various accounts opened during the lifecycle of the trade, and additionally give a rebate to the order flow source for its order flow.
This instruction closes the retail trader’s data account.
This instruction is used to stake the requisite amount of tokens necessary to endorse flow as retail. This stake is subject to slashing based on the quality of the order flow sent by the signatory server.
This instruction is used to fill an open order
This instruction is used to vote on the fairness of a fill
This instruction grants the specified role to the principal.
This instruction creates the principal’s whitelist entry account and grants the specified role to the principal.
This instruction initializes an auction epoch state account
This instruction initializes the auction mapper account.
This instruction initializes an auction for order flow, and describes the specifications of the order flow account.
This instruction is called by the market maker prior to bidding in an auction.
This instruction creates the global config account and sets the DFlow admin.
This instruction initializes the market maker account
This instruction creates a recovery vault.
This instruction initializes the retail traders account.
This instruction is used to initialize global state for tracking the system of signatory servers.
This instruction is called by retail traders when they submit their order. A transaction containing this instruction must be signed by a signatory server.
This instruction is called by the market maker to withdraw its losing auction bids and close its bid record account for the given auction.
This instruction revokes the specified role from the principal and closes the principal’s whitelist account if it no longer grants any permissions.
This instruction updates the DFlow admin.
This instruction is used to stake additional tokens into an existing signatory server stake vault.
This instruction is called by the market maker to bid in an auction.
This instruction updates the market maker’s 256-bit X25519 public key.