staking_pool
Class in @sentio/sdk/sui/builtin › _0x3
Defined in @sentio/sdk/sui/builtin › _0x3
Event and struct types of this Move module: @typemove/sui › 0x3::staking_pool
Extends
Constructors
Constructor
new staking_pool(options: SuiBindOptions): staking_pool;Parameters
| Parameter | Type |
|---|---|
options | SuiBindOptions |
Returns
staking_pool
Overrides
Properties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
callHandlers | public | CallHandler<Data_SuiCall>[] | [] | SuiBaseProcessor.callHandlers |
coder | public | MoveCoder | undefined | SuiBaseProcessor.coder |
config | public | IndexConfigure | undefined | SuiBaseProcessor.config |
eventHandlers | public | EventHandler<Data_SuiEvent>[] | [] | SuiBaseProcessor.eventHandlers |
moduleName | readonly | string | undefined | SuiBaseProcessor.moduleName |
objectChangeHandlers | public | ObjectChangeHandler<Data_SuiObjectChange>[] | [] | SuiBaseProcessor.objectChangeHandlers |
DEFAULT_OPTIONS | static | SuiBindOptions | undefined | - |
Methods
getChainId()
getChainId(): string;Returns
string
Inherited from
onEntryJoinStakedSui()
onEntryJoinStakedSui(
func: (call: JoinStakedSuiPayload, ctx: SuiContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, JoinStakedSuiPayload>
): staking_pool;Parameters
| Parameter | Type |
|---|---|
func | (call: JoinStakedSuiPayload, ctx: SuiContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, JoinStakedSuiPayload> |
Returns
staking_pool
onEntrySplitStakedSui()
onEntrySplitStakedSui(
func: (call: SplitStakedSuiPayload, ctx: SuiContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SplitStakedSuiPayload>
): staking_pool;Parameters
| Parameter | Type |
|---|---|
func | (call: SplitStakedSuiPayload, ctx: SuiContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SplitStakedSuiPayload> |
Returns
staking_pool
onEvent()
onEvent(handler: (event: Event, ctx: SuiContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, Event>): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: Event, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, Event> |
Returns
this
Inherited from
onEventFungibleStakedSuiDataKey()
onEventFungibleStakedSuiDataKey(
func: (event: FungibleStakedSuiDataKeyInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, FungibleStakedSuiDataKeyInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): staking_pool;Parameters
| Parameter | Type |
|---|---|
func | (event: FungibleStakedSuiDataKeyInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, FungibleStakedSuiDataKeyInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
staking_pool
onEventPoolTokenExchangeRate()
onEventPoolTokenExchangeRate(
func: (event: PoolTokenExchangeRateInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, PoolTokenExchangeRateInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): staking_pool;Parameters
| Parameter | Type |
|---|---|
func | (event: PoolTokenExchangeRateInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, PoolTokenExchangeRateInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
staking_pool
onEventUnderflowSuiBalance()
onEventUnderflowSuiBalance(
func: (event: UnderflowSuiBalanceInstance, ctx: SuiContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, UnderflowSuiBalanceInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): staking_pool;Parameters
| Parameter | Type |
|---|---|
func | (event: UnderflowSuiBalanceInstance, ctx: SuiContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, UnderflowSuiBalanceInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
staking_pool
onTransactionBlock()
onTransactionBlock(
handler: (transaction: ExecutedTransaction, ctx: SuiContext) => PromiseOrVoid,
filter?: TransactionFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, ExecutedTransaction>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (transaction: ExecutedTransaction, ctx: SuiContext) => PromiseOrVoid |
filter? | TransactionFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, ExecutedTransaction> |
Returns
this
Inherited from
SuiBaseProcessor.onTransactionBlock
bind()
static bind(options?: Partial<SuiBindOptions>): 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
| Parameter | Type |
|---|---|
options | Partial<SuiBindOptions> |
Returns
staking_pool