staking_proxy

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::staking_proxy

Extends

Constructors

Constructor

new staking_proxy(options: AptosBindOptions): staking_proxy;

Parameters

ParameterType
optionsAptosBindOptions

Returns

staking_proxy

Overrides

AptosBaseProcessor.constructor

Properties

PropertyModifierTypeDefault valueInherited from
callHandlerspublicCallHandler<AptCall>[][]AptosBaseProcessor.callHandlers
coderpublicMoveCoderundefinedAptosBaseProcessor.coder
configpublicIndexConfigureundefinedAptosBaseProcessor.config
eventHandlerspublicEventHandler<AptEvent>[][]AptosBaseProcessor.eventHandlers
moduleNamereadonlystringundefinedAptosBaseProcessor.moduleName
resourceChangeHandlerspublicResourceChangeHandler<AptResource>[][]AptosBaseProcessor.resourceChangeHandlers
transactionIntervalHandlerspublicTransactionIntervalHandler[][]AptosBaseProcessor.transactionIntervalHandlers
DEFAULT_OPTIONSstaticAptosBindOptionsundefined-

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

AptosBaseProcessor.getChainId


onEntrySetOperator()

onEntrySetOperator(
   func: (call: SetOperatorPayload, ctx: AptosContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SetOperatorPayload>
): staking_proxy;

Parameters

ParameterType
func(call: SetOperatorPayload, ctx: AptosContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, SetOperatorPayload>

Returns

staking_proxy


onEntrySetStakePoolOperator()

onEntrySetStakePoolOperator(
   func: (call: SetStakePoolOperatorPayload, ctx: AptosContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SetStakePoolOperatorPayload>
): staking_proxy;

Parameters

ParameterType
func(call: SetStakePoolOperatorPayload, ctx: AptosContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, SetStakePoolOperatorPayload>

Returns

staking_proxy


onEntrySetStakePoolVoter()

onEntrySetStakePoolVoter(
   func: (call: SetStakePoolVoterPayload, ctx: AptosContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SetStakePoolVoterPayload>
): staking_proxy;

Parameters

ParameterType
func(call: SetStakePoolVoterPayload, ctx: AptosContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, SetStakePoolVoterPayload>

Returns

staking_proxy


onEntrySetStakingContractOperator()

onEntrySetStakingContractOperator(
   func: (call: SetStakingContractOperatorPayload, ctx: AptosContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SetStakingContractOperatorPayload>
): staking_proxy;

Parameters

ParameterType
func(call: SetStakingContractOperatorPayload, ctx: AptosContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, SetStakingContractOperatorPayload>

Returns

staking_proxy


onEntrySetStakingContractVoter()

onEntrySetStakingContractVoter(
   func: (call: SetStakingContractVoterPayload, ctx: AptosContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SetStakingContractVoterPayload>
): staking_proxy;

Parameters

ParameterType
func(call: SetStakingContractVoterPayload, ctx: AptosContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, SetStakingContractVoterPayload>

Returns

staking_proxy


onEntrySetVestingContractOperator()

onEntrySetVestingContractOperator(
   func: (call: SetVestingContractOperatorPayload, ctx: AptosContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SetVestingContractOperatorPayload>
): staking_proxy;

Parameters

ParameterType
func(call: SetVestingContractOperatorPayload, ctx: AptosContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, SetVestingContractOperatorPayload>

Returns

staking_proxy


onEntrySetVestingContractVoter()

onEntrySetVestingContractVoter(
   func: (call: SetVestingContractVoterPayload, ctx: AptosContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SetVestingContractVoterPayload>
): staking_proxy;

Parameters

ParameterType
func(call: SetVestingContractVoterPayload, ctx: AptosContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, SetVestingContractVoterPayload>

Returns

staking_proxy


onEntrySetVoter()

onEntrySetVoter(
   func: (call: SetVoterPayload, ctx: AptosContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SetVoterPayload>
): staking_proxy;

Parameters

ParameterType
func(call: SetVoterPayload, ctx: AptosContext) => void
filter?CallFilter
handlerOptions?HandlerOptions<MoveFetchConfig, SetVoterPayload>

Returns

staking_proxy


onEvent()

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

Parameters

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

Returns

this

Inherited from

AptosBaseProcessor.onEvent


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
ParameterType
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
ParameterType
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

ParameterTypeDefault value
handler(transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoidundefined
timeIntervalInMinutesnumber60
backfillTimeIntervalInMinutesnumber240
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

ParameterType
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

ParameterTypeDefault value
handler(transaction: UserTransactionResponse, context: AptosContext) => PromiseOrVoidundefined
versionIntervalnumber100000
backfillVersionIntervalnumber400000
handlerOptions?HandlerOptions<MoveFetchConfig, UserTransactionResponse>undefined

Returns

this

Inherited from

AptosBaseProcessor.onVersionInterval


bind()

static bind(options?: Partial<AptosBindOptions>): staking_proxy;

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<AptosBindOptions>

Returns

staking_proxy

On this page