Hierarchy

  • OpenOrdersCounter

Implements

  • Account

Constructors

Properties

Accessors

Methods

Constructors

Properties

ACCOUNT_NAME: "registeredCurrency" | "openOrdersCounter" | "orderAccount" | "feeReduction" | "atlasRateAccount" | "marketVars" = 'openOrdersCounter'
MIN_DATA_SIZE: number = ...

Accessors

  • get key(): PublicKey
  • Returns PublicKey

Methods

  • Find the OpenOrdersCounter account address

    Returns

    PDA and bump

    Parameters

    • program: GalacticMarketplaceIDLProgram

      GalacticMarketplace Program

    • playerPubkey: PublicKey

      the player address

    • depositMint: PublicKey

      the deposit mint address

    Returns [PublicKey, number]

Generated using TypeDoc