staking_pool

Class in @sentio/sdk/iota/builtin › _0x3

Defined in @sentio/sdk/iota/builtin › _0x3

Event and struct types of this Move module: @typemove/iota › 0x3::staking_pool

Extends

Constructors

Constructor

new staking_pool(options: IotaBindOptions): staking_pool;

Parameters

ParameterType
optionsIotaBindOptions

Returns

staking_pool

Overrides

IotaBaseProcessor.constructor

Properties

PropertyModifierTypeDefault valueInherited from
callHandlerspublicCallHandler<Data_SuiCall>[][]IotaBaseProcessor.callHandlers
coderpublicMoveCoderundefinedIotaBaseProcessor.coder
configpublicIndexConfigureundefinedIotaBaseProcessor.config
eventHandlerspublicEventHandler<Data_SuiEvent>[][]IotaBaseProcessor.eventHandlers
moduleNamereadonlystringundefinedIotaBaseProcessor.moduleName
objectChangeHandlerspublicObjectChangeHandler<Data_SuiObjectChange>[][]IotaBaseProcessor.objectChangeHandlers
DEFAULT_OPTIONSstaticIotaBindOptionsundefined-

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

IotaBaseProcessor.getChainId


onEntryJoinStakedIota()

onEntryJoinStakedIota(
   func: (call: JoinStakedIotaPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, JoinStakedIotaPayload>
): staking_pool;

Parameters

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

Returns

staking_pool


onEntrySplitStakedIota()

onEntrySplitStakedIota(
   func: (call: SplitStakedIotaPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, SplitStakedIotaPayload>
): staking_pool;

Parameters

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

Returns

staking_pool


onEvent()

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

Parameters

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

Returns

this

Inherited from

IotaBaseProcessor.onEvent


onEventPoolTokenExchangeRate()

onEventPoolTokenExchangeRate(
   func: (event: PoolTokenExchangeRateInstance, ctx: IotaContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, PoolTokenExchangeRateInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): staking_pool;

Parameters

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

Returns

staking_pool


onTransactionBlock()

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

Parameters

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

Returns

this

Inherited from

IotaBaseProcessor.onTransactionBlock


bind()

static bind(options?: Partial<IotaBindOptions>): staking_pool;

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

Returns

staking_pool

On this page