@sentio/sdksuibuiltinNamespaces_0x2Classes

groth16

Class in @sentio/sdk/sui/builtin › _0x2

Defined in @sentio/sdk/sui/builtin › _0x2

Event and struct types of this Move module: @typemove/sui › 0x2::groth16

Extends

Constructors

Constructor

new groth16(options: SuiBindOptions): groth16;

Parameters

ParameterType
optionsSuiBindOptions

Returns

groth16

Overrides

SuiBaseProcessor.constructor

Properties

PropertyModifierTypeDefault valueInherited from
callHandlerspublicCallHandler<Data_SuiCall>[][]SuiBaseProcessor.callHandlers
coderpublicMoveCoderundefinedSuiBaseProcessor.coder
configpublicIndexConfigureundefinedSuiBaseProcessor.config
eventHandlerspublicEventHandler<Data_SuiEvent>[][]SuiBaseProcessor.eventHandlers
moduleNamereadonlystringundefinedSuiBaseProcessor.moduleName
objectChangeHandlerspublicObjectChangeHandler<Data_SuiObjectChange>[][]SuiBaseProcessor.objectChangeHandlers
DEFAULT_OPTIONSstaticSuiBindOptionsundefined-

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

SuiBaseProcessor.getChainId


onEvent()

onEvent(handler: (event: Event, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, Event>): this;

Parameters

ParameterType
handler(event: Event, ctx: SuiContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, Event>

Returns

this

Inherited from

SuiBaseProcessor.onEvent


onEventCurve()

onEventCurve(
   func: (event: CurveInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, CurveInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): groth16;

Parameters

ParameterType
func(event: CurveInstance, ctx: SuiContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, CurveInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

groth16


onEventPreparedVerifyingKey()

onEventPreparedVerifyingKey(
   func: (event: PreparedVerifyingKeyInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, PreparedVerifyingKeyInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): groth16;

Parameters

ParameterType
func(event: PreparedVerifyingKeyInstance, ctx: SuiContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, PreparedVerifyingKeyInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

groth16


onEventProofPoints()

onEventProofPoints(
   func: (event: ProofPointsInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, ProofPointsInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): groth16;

Parameters

ParameterType
func(event: ProofPointsInstance, ctx: SuiContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, ProofPointsInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

groth16


onEventPublicProofInputs()

onEventPublicProofInputs(
   func: (event: PublicProofInputsInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, PublicProofInputsInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): groth16;

Parameters

ParameterType
func(event: PublicProofInputsInstance, ctx: SuiContext) => void
handlerOptions?HandlerOptions<MoveFetchConfig, PublicProofInputsInstance>
eventFilter?Omit<EventFilter, "account" | "type">

Returns

groth16


onTransactionBlock()

onTransactionBlock(
   handler: (transaction: ExecutedTransaction, ctx: SuiContext) => PromiseOrVoid, 
   filter?: TransactionFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, ExecutedTransaction>
): this;

Parameters

ParameterType
handler(transaction: ExecutedTransaction, ctx: SuiContext) => PromiseOrVoid
filter?TransactionFilter
handlerOptions?HandlerOptions<MoveFetchConfig, ExecutedTransaction>

Returns

this

Inherited from

SuiBaseProcessor.onTransactionBlock


bind()

static bind(options?: Partial<SuiBindOptions>): groth16;

For a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters.

Parameters

ParameterType
optionsPartial<SuiBindOptions>

Returns

groth16

On this page