Hierarchy

Constructors

Properties

accountClosedListener: null | ((update: AccountClosedUpdate) => void)
accountDiscriminants: {
    feeReduction: Readonly<Buffer>;
    marketVars: Readonly<Buffer>;
    openOrdersCounter: Readonly<Buffer>;
    orderAccount: Readonly<Buffer>;
    registeredCurrency: Readonly<Buffer>;
}

Type declaration

  • feeReduction: Readonly<Buffer>
  • marketVars: Readonly<Buffer>
  • openOrdersCounter: Readonly<Buffer>
  • orderAccount: Readonly<Buffer>
  • registeredCurrency: Readonly<Buffer>
parsers: {
    feeReduction: (new (...args: never[]) => FeeReduction & Account) & AccountStatic<FeeReduction, GalacticMarketplaceIDL>;
    marketVars: (new (...args: never[]) => MarketVars & Account) & AccountStatic<MarketVars, GalacticMarketplaceIDL>;
    openOrdersCounter: (new (...args: never[]) => OpenOrdersCounter & Account) & AccountStatic<OpenOrdersCounter, GalacticMarketplaceIDL>;
    orderAccount: (new (...args: never[]) => Order & Account) & AccountStatic<Order, GalacticMarketplaceIDL>;
    registeredCurrency: (new (...args: never[]) => RegisteredCurrency & Account) & AccountStatic<RegisteredCurrency, GalacticMarketplaceIDL>;
}

Type declaration

program: ProgramMethods<GalacticMarketplaceIDL>

Accessors

  • get programId(): PublicKey
  • Returns PublicKey

Methods

  • Parameters

    • data: Buffer

    Returns null | {
        discriminantLength: number;
        key: "registeredCurrency" | "openOrdersCounter" | "orderAccount" | "feeReduction" | "marketVars";
    }

  • Parameters

    • discriminant: Buffer

    Returns null | {
        discriminantLength: number;
        key: "registeredCurrency" | "openOrdersCounter" | "orderAccount" | "feeReduction" | "marketVars";
    }

  • Parameters

    • key: PublicKey
    • oldOwner: PublicKey
    • newOwner: PublicKey
    • slot: number
    • confirmationStatus: "recent" | TransactionConfirmationStatus
    • writeVersion: number
    • accountInfo: AccountInfo<Buffer>

    Returns void

  • Parameters

    • account: KeyedAccountInfo
    • slot: number
    • confirmationStatus: "recent" | TransactionConfirmationStatus
    • isStartup: boolean
    • writeVersion: number
    • Optional unknownAccountHandler: ((key: PublicKey) => void)
        • (key: PublicKey): void
        • Parameters

          • key: PublicKey

          Returns void

    Returns void

  • Type Parameters

    Parameters

    • accountId: AccountId
    • account: GalacticMarketplaceAccounts[AccountId]
    • slot: number
    • confirmationStatus: "recent" | TransactionConfirmationStatus
    • isStartup: boolean
    • accountInfo: AccountInfo<Buffer>
    • writeVersion: number

    Returns void

  • Parameters

    • listener: ((update: AccountClosedUpdate) => null | void)
        • (update: AccountClosedUpdate): null | void
        • Parameters

          • update: AccountClosedUpdate

          Returns null | void

    Returns void

Generated using TypeDoc