Class SuiObjectTypeProcessor<T>

Type Parameters

  • T

Hierarchy

Constructors

Properties

config: IndexConfigure
objectChangeHandlers: ObjectChangeHandler<Data_SuiObjectChange>[] = []
objectHandlers: ObjectHandler[] = []
objectType: TypeDescriptor<T>
ownerType: MoveOwnerType
templateId: undefined | number

Methods

  • Parameters

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

    Returns this

  • Parameters

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

    Returns this