Class SuiObjectProcessorTemplate

Hierarchy

Constructors

Properties

binds: Set<string> = ...
id: number
objectHandlers: ObjectHandler<
    (
        self: {
            dataType: "moveObject";
            fields: MoveStruct;
            hasPublicTransfer: boolean;
            type: string;
        },
        dynamicFieldObjects: {
            dataType: "moveObject";
            fields: MoveStruct;
            hasPublicTransfer: boolean;
            type: string;
        }[],
        ctx: SuiObjectContext,
    ) => PromiseOrVoid,
>[] = []

Methods

  • Parameters

    • handler: (
          self: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          },
          dynamicFieldObjects: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          }[],
          ctx: SuiObjectContext,
      ) => PromiseOrVoid
    • checkpointInterval: number = 100000
    • backfillCheckpointInterval: number = 400000
    • Optionaltype: string
    • OptionalfetchConfig: Partial<MoveAccountFetchConfig>

    Returns this

  • Parameters

    • handler: (
          self: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          },
          dynamicFieldObjects: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          }[],
          ctx: SuiObjectContext,
      ) => PromiseOrVoid
    • timeInterval: undefined | HandleInterval
    • checkpointInterval: undefined | HandleInterval
    • type: undefined | string
    • fetchConfig: undefined | Partial<MoveAccountFetchConfig>

    Returns this

  • Parameters

    • handler: (
          self: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          },
          dynamicFieldObjects: {
              dataType: "moveObject";
              fields: MoveStruct;
              hasPublicTransfer: boolean;
              type: string;
          }[],
          ctx: SuiObjectContext,
      ) => PromiseOrVoid
    • timeIntervalInMinutes: number = 60
    • backfillTimeIntervalInMinutes: number = 240
    • Optionaltype: string
    • OptionalfetchConfig: Partial<MoveAccountFetchConfig>

    Returns this