Type alias AnchorTypes<T, AccountMap, D, DEF>

AnchorTypes<T, AccountMap, D, DEF>: {
    AccountMap: AccountMap;
    Accounts: AnchorAccounts<T, DEF>;
    Defined: DEF;
    Error: AnchorError<T>;
    Events: AnchorEvents<NonNullable<T["events"]>[number], DEF>;
    IDL: T;
    Instructions: MakeInstructions<T["instructions"], DEF>;
    Methods: MakeInstructions<NonNullable<T["state"]>["methods"], DEF>;
    Program: AnchorProgram<T, AccountMap, DEF>;
    State: AnchorState<T, DEF>;
}

Type Parameters

  • T extends Idl

  • AccountMap = Record<string, never>

  • D = Record<string, never>

  • DEF = AnchorDefined<T, D>

Type declaration

  • AccountMap: AccountMap
  • Accounts: AnchorAccounts<T, DEF>
  • Defined: DEF
  • Error: AnchorError<T>
  • Events: AnchorEvents<NonNullable<T["events"]>[number], DEF>
  • IDL: T
  • Instructions: MakeInstructions<T["instructions"], DEF>
  • Methods: MakeInstructions<NonNullable<T["state"]>["methods"], DEF>
  • Program: AnchorProgram<T, AccountMap, DEF>
  • State: AnchorState<T, DEF>

Generated using TypeDoc