pay
Class in @sentio/sdk/iota/builtin › _0x2
Defined in @sentio/sdk/iota/builtin › _0x2
Event and struct types of this Move module: @typemove/iota › 0x2::pay
Extends
Constructors
Constructor
new pay(options: IotaBindOptions): pay;Parameters
| Parameter | Type |
|---|---|
options | IotaBindOptions |
Returns
pay
Overrides
Properties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
callHandlers | public | CallHandler<Data_SuiCall>[] | [] | IotaBaseProcessor.callHandlers |
coder | public | MoveCoder | undefined | IotaBaseProcessor.coder |
config | public | IndexConfigure | undefined | IotaBaseProcessor.config |
eventHandlers | public | EventHandler<Data_SuiEvent>[] | [] | IotaBaseProcessor.eventHandlers |
moduleName | readonly | string | undefined | IotaBaseProcessor.moduleName |
objectChangeHandlers | public | ObjectChangeHandler<Data_SuiObjectChange>[] | [] | IotaBaseProcessor.objectChangeHandlers |
DEFAULT_OPTIONS | static | IotaBindOptions | undefined | - |
Methods
getChainId()
getChainId(): string;Returns
string
Inherited from
onEntryDivideAndKeep()
onEntryDivideAndKeep(
func: (call: DivideAndKeepPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, DivideAndKeepPayload<any>>
): pay;Parameters
| Parameter | Type |
|---|---|
func | (call: DivideAndKeepPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, DivideAndKeepPayload<any>> |
Returns
pay
onEntryJoinVec()
onEntryJoinVec(
func: (call: JoinVecPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, JoinVecPayload<any>>
): pay;Parameters
| Parameter | Type |
|---|---|
func | (call: JoinVecPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, JoinVecPayload<any>> |
Returns
pay
onEntryJoinVecAndTransfer()
onEntryJoinVecAndTransfer(
func: (call: JoinVecAndTransferPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, JoinVecAndTransferPayload<any>>
): pay;Parameters
| Parameter | Type |
|---|---|
func | (call: JoinVecAndTransferPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, JoinVecAndTransferPayload<any>> |
Returns
pay
onEntrySplit()
onEntrySplit(
func: (call: SplitPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SplitPayload<any>>
): pay;Parameters
| Parameter | Type |
|---|---|
func | (call: SplitPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SplitPayload<any>> |
Returns
pay
onEntrySplitAndTransfer()
onEntrySplitAndTransfer(
func: (call: SplitAndTransferPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SplitAndTransferPayload<any>>
): pay;Parameters
| Parameter | Type |
|---|---|
func | (call: SplitAndTransferPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SplitAndTransferPayload<any>> |
Returns
pay
onEntrySplitVec()
onEntrySplitVec(
func: (call: SplitVecPayload, ctx: IotaContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SplitVecPayload<any>>
): pay;Parameters
| Parameter | Type |
|---|---|
func | (call: SplitVecPayload, ctx: IotaContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SplitVecPayload<any>> |
Returns
pay
onEvent()
onEvent(handler: (event: IotaEvent, ctx: IotaContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, IotaEvent>): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: IotaEvent, ctx: IotaContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, IotaEvent> |
Returns
this
Inherited from
onTransactionBlock()
onTransactionBlock(
handler: (transaction: IotaTransactionBlockResponse, ctx: IotaContext) => PromiseOrVoid,
filter?: TransactionFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, IotaTransactionBlockResponse>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (transaction: IotaTransactionBlockResponse, ctx: IotaContext) => PromiseOrVoid |
filter? | TransactionFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, IotaTransactionBlockResponse> |
Returns
this
Inherited from
IotaBaseProcessor.onTransactionBlock
bind()
static bind(options?: Partial<IotaBindOptions>): pay;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<IotaBindOptions> |
Returns
pay