Class AtlasFeePayerProgram

Hierarchy

Constructors

Properties

accountClosedListener: null | ((update) => void)

Type declaration

    • (update): void
    • Parameters

      • update: AccountClosedUpdate

      Returns void

accountDiscriminants: {
    feePayer: Readonly<Buffer>;
}

Type declaration

  • feePayer: Readonly<Buffer>
parsers: {
    feePayer: (new (...args) => FeePayer & Account) & AccountStatic<FeePayer, AtlasFeePayerIDL>;
}

Type declaration

program: ProgramMethods<AtlasFeePayerIDL>

Accessors

  • get programId(): PublicKey
  • Returns PublicKey

Methods

  • Parameters

    • accountId: "feePayer"

    Returns Buffer

  • Parameters

    • data: Buffer

    Returns null | {
        discriminantLength: number;
        key: "feePayer";
    }

  • Parameters

    • discriminant: Buffer

    Returns null | {
        discriminantLength: number;
        key: "feePayer";
    }

  • Parameters

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

    Returns void

  • Parameters

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

          • key: PublicKey

          Returns void

    Returns void

  • Type Parameters

    • AccountId extends "feePayer"

    Parameters

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

    Returns void

  • Parameters

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

          • update: AccountClosedUpdate

          Returns null | void

    Returns void

  • Type Parameters

    • AccountId extends "feePayer"

    Parameters

    Returns void

Generated using TypeDoc