vesting
Class in @sentio/sdk/aptos/builtin › _0x1
Defined in @sentio/sdk/aptos/builtin › _0x1
Event and struct types of this Move module: @typemove/aptos › 0x1::vesting
Extends
Constructors
Constructor
new vesting(options: AptosBindOptions): vesting;Parameters
| Parameter | Type |
|---|---|
options | AptosBindOptions |
Returns
vesting
Overrides
AptosBaseProcessor.constructor
Properties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
callHandlers | public | CallHandler<AptCall>[] | [] | AptosBaseProcessor.callHandlers |
coder | public | MoveCoder | undefined | AptosBaseProcessor.coder |
config | public | IndexConfigure | undefined | AptosBaseProcessor.config |
eventHandlers | public | EventHandler<AptEvent>[] | [] | AptosBaseProcessor.eventHandlers |
moduleName | readonly | string | undefined | AptosBaseProcessor.moduleName |
resourceChangeHandlers | public | ResourceChangeHandler<AptResource>[] | [] | AptosBaseProcessor.resourceChangeHandlers |
transactionIntervalHandlers | public | TransactionIntervalHandler[] | [] | AptosBaseProcessor.transactionIntervalHandlers |
DEFAULT_OPTIONS | static | AptosBindOptions | undefined | - |
Methods
getChainId()
getChainId(): string;Returns
string
Inherited from
onEntryAdminWithdraw()
onEntryAdminWithdraw(
func: (call: AdminWithdrawPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, AdminWithdrawPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: AdminWithdrawPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, AdminWithdrawPayload> |
Returns
vesting
onEntryDistribute()
onEntryDistribute(
func: (call: DistributePayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, DistributePayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: DistributePayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, DistributePayload> |
Returns
vesting
onEntryDistributeMany()
onEntryDistributeMany(
func: (call: DistributeManyPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, DistributeManyPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: DistributeManyPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, DistributeManyPayload> |
Returns
vesting
onEntryResetBeneficiary()
onEntryResetBeneficiary(
func: (call: ResetBeneficiaryPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, ResetBeneficiaryPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: ResetBeneficiaryPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, ResetBeneficiaryPayload> |
Returns
vesting
onEntryResetLockup()
onEntryResetLockup(
func: (call: ResetLockupPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, ResetLockupPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: ResetLockupPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, ResetLockupPayload> |
Returns
vesting
onEntrySetBeneficiary()
onEntrySetBeneficiary(
func: (call: SetBeneficiaryPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SetBeneficiaryPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: SetBeneficiaryPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SetBeneficiaryPayload> |
Returns
vesting
onEntrySetBeneficiaryForOperator()
onEntrySetBeneficiaryForOperator(
func: (call: SetBeneficiaryForOperatorPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SetBeneficiaryForOperatorPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: SetBeneficiaryForOperatorPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SetBeneficiaryForOperatorPayload> |
Returns
vesting
onEntrySetBeneficiaryResetter()
onEntrySetBeneficiaryResetter(
func: (call: SetBeneficiaryResetterPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SetBeneficiaryResetterPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: SetBeneficiaryResetterPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SetBeneficiaryResetterPayload> |
Returns
vesting
onEntrySetManagementRole()
onEntrySetManagementRole(
func: (call: SetManagementRolePayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SetManagementRolePayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: SetManagementRolePayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SetManagementRolePayload> |
Returns
vesting
onEntryTerminateVestingContract()
onEntryTerminateVestingContract(
func: (call: TerminateVestingContractPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, TerminateVestingContractPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: TerminateVestingContractPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, TerminateVestingContractPayload> |
Returns
vesting
onEntryUnlockRewards()
onEntryUnlockRewards(
func: (call: UnlockRewardsPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, UnlockRewardsPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: UnlockRewardsPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, UnlockRewardsPayload> |
Returns
vesting
onEntryUnlockRewardsMany()
onEntryUnlockRewardsMany(
func: (call: UnlockRewardsManyPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, UnlockRewardsManyPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: UnlockRewardsManyPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, UnlockRewardsManyPayload> |
Returns
vesting
onEntryUpdateCommissionPercentage()
onEntryUpdateCommissionPercentage(
func: (call: UpdateCommissionPercentagePayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateCommissionPercentagePayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: UpdateCommissionPercentagePayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateCommissionPercentagePayload> |
Returns
vesting
onEntryUpdateOperator()
onEntryUpdateOperator(
func: (call: UpdateOperatorPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateOperatorPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: UpdateOperatorPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateOperatorPayload> |
Returns
vesting
onEntryUpdateOperatorWithSameCommission()
onEntryUpdateOperatorWithSameCommission(
func: (call: UpdateOperatorWithSameCommissionPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateOperatorWithSameCommissionPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: UpdateOperatorWithSameCommissionPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateOperatorWithSameCommissionPayload> |
Returns
vesting
onEntryUpdateVoter()
onEntryUpdateVoter(
func: (call: UpdateVoterPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateVoterPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: UpdateVoterPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateVoterPayload> |
Returns
vesting
onEntryVest()
onEntryVest(
func: (call: VestPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, VestPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: VestPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, VestPayload> |
Returns
vesting
onEntryVestMany()
onEntryVestMany(
func: (call: VestManyPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, VestManyPayload>
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (call: VestManyPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, VestManyPayload> |
Returns
vesting
onEvent()
onEvent(handler: (event: Event, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, Event>): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: Event, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, Event> |
Returns
this
Inherited from
onEventAdminWithdraw()
onEventAdminWithdraw(
func: (event: AdminWithdrawInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, AdminWithdrawInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: AdminWithdrawInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, AdminWithdrawInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventAdminWithdrawEvent()
onEventAdminWithdrawEvent(
func: (event: AdminWithdrawEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, AdminWithdrawEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: AdminWithdrawEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, AdminWithdrawEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventCreateVestingContract()
onEventCreateVestingContract(
func: (event: CreateVestingContractInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, CreateVestingContractInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: CreateVestingContractInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, CreateVestingContractInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventCreateVestingContractEvent()
onEventCreateVestingContractEvent(
func: (event: CreateVestingContractEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, CreateVestingContractEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: CreateVestingContractEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, CreateVestingContractEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventDistribute()
onEventDistribute(
func: (event: DistributeInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, DistributeInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: DistributeInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, DistributeInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventDistributeEvent()
onEventDistributeEvent(
func: (event: DistributeEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, DistributeEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: DistributeEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, DistributeEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventResetLockup()
onEventResetLockup(
func: (event: ResetLockupInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, ResetLockupInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: ResetLockupInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, ResetLockupInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventResetLockupEvent()
onEventResetLockupEvent(
func: (event: ResetLockupEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, ResetLockupEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: ResetLockupEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, ResetLockupEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventSetBeneficiary()
onEventSetBeneficiary(
func: (event: SetBeneficiaryInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, SetBeneficiaryInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: SetBeneficiaryInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, SetBeneficiaryInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventSetBeneficiaryEvent()
onEventSetBeneficiaryEvent(
func: (event: SetBeneficiaryEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, SetBeneficiaryEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: SetBeneficiaryEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, SetBeneficiaryEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventTerminate()
onEventTerminate(
func: (event: TerminateInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, TerminateInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: TerminateInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, TerminateInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventTerminateEvent()
onEventTerminateEvent(
func: (event: TerminateEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, TerminateEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: TerminateEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, TerminateEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventUnlockRewards()
onEventUnlockRewards(
func: (event: UnlockRewardsInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, UnlockRewardsInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: UnlockRewardsInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, UnlockRewardsInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventUnlockRewardsEvent()
onEventUnlockRewardsEvent(
func: (event: UnlockRewardsEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, UnlockRewardsEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: UnlockRewardsEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, UnlockRewardsEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventUpdateOperator()
onEventUpdateOperator(
func: (event: UpdateOperatorInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateOperatorInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: UpdateOperatorInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateOperatorInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventUpdateOperatorEvent()
onEventUpdateOperatorEvent(
func: (event: UpdateOperatorEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateOperatorEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: UpdateOperatorEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateOperatorEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventUpdateVoter()
onEventUpdateVoter(
func: (event: UpdateVoterInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateVoterInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: UpdateVoterInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateVoterInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventUpdateVoterEvent()
onEventUpdateVoterEvent(
func: (event: UpdateVoterEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateVoterEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: UpdateVoterEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, UpdateVoterEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventVest()
onEventVest(
func: (event: VestInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, VestInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: VestInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, VestInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onEventVestEvent()
onEventVestEvent(
func: (event: VestEventInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, VestEventInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): vesting;Parameters
| Parameter | Type |
|---|---|
func | (event: VestEventInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, VestEventInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
vesting
onResourceChange()
Call Signature
onResourceChange<T>(
handler: (changes: ResourceChange<T>[], ctx: AptosResourcesContext) => PromiseOrVoid,
typeDesc:
| string
| TypeDescriptor<T>,
handlerOptions?: HandlerOptions<object, ResourceChange<T>[]>
): this;Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
handler | (changes: ResourceChange<T>[], ctx: AptosResourcesContext) => PromiseOrVoid |
typeDesc | | string | TypeDescriptor<T> |
handlerOptions? | HandlerOptions<object, ResourceChange<T>[]> |
Returns
this
Inherited from
AptosBaseProcessor.onResourceChange
Call Signature
onResourceChange<Descs extends readonly (
| string
| TypeDescriptor<any>)[]>(
handler: (changes: ResourceChange<ExtractDescriptorType<Descs[number]>>[], ctx: AptosResourcesContext) => PromiseOrVoid,
typeDesc: [...Descs[]],
handlerOptions?: HandlerOptions<object, ResourceChange<ExtractDescriptorType<Descs[number]>>[]>
): this;Type Parameters
| Type Parameter |
|---|
Descs extends readonly ( | string | TypeDescriptor<any>)[] |
Parameters
| Parameter | Type |
|---|---|
handler | (changes: ResourceChange<ExtractDescriptorType<Descs[number]>>[], ctx: AptosResourcesContext) => PromiseOrVoid |
typeDesc | [...Descs[]] |
handlerOptions? | HandlerOptions<object, ResourceChange<ExtractDescriptorType<Descs[number]>>[]> |
Returns
this
Inherited from
AptosBaseProcessor.onResourceChange
onTimeInterval()
onTimeInterval(
handler: (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid,
timeIntervalInMinutes?: number,
backfillTimeIntervalInMinutes?: number,
handlerOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid | undefined |
timeIntervalInMinutes | number | 60 |
backfillTimeIntervalInMinutes | number | 240 |
handlerOptions? | HandlerOptions<MoveFetchConfig, UserTransactionResponse> | undefined |
Returns
this
Inherited from
AptosBaseProcessor.onTimeInterval
onTransaction()
onTransaction(
handler: (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid,
transactionFilter?: object,
handleOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid |
transactionFilter? | { includeFailed?: boolean; sender?: string; } |
transactionFilter.includeFailed? | boolean |
transactionFilter.sender? | string |
handleOptions? | HandlerOptions<MoveFetchConfig, UserTransactionResponse> |
Returns
this
Inherited from
AptosBaseProcessor.onTransaction
onVersionInterval()
onVersionInterval(
handler: (transaction: UserTransactionResponse, context: AptosContext) => PromiseOrVoid,
versionInterval?: number,
backfillVersionInterval?: number,
handlerOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (transaction: UserTransactionResponse, context: AptosContext) => PromiseOrVoid | undefined |
versionInterval | number | 100000 |
backfillVersionInterval | number | 400000 |
handlerOptions? | HandlerOptions<MoveFetchConfig, UserTransactionResponse> | undefined |
Returns
this
Inherited from
AptosBaseProcessor.onVersionInterval
bind()
static bind(options?: Partial<AptosBindOptions>): vesting;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
| Parameter | Type |
|---|---|
options | Partial<AptosBindOptions> |
Returns
vesting