coin

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

Extends

Constructors

Constructor

new coin(options: IotaBindOptions): coin;

Parameters

ParameterType
optionsIotaBindOptions

Returns

coin

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


onEntryBurn()

onEntryBurn(
   func: (call: BurnPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, BurnPayload<any>>
): coin;

Parameters

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

Returns

coin


onEntryJoin()

onEntryJoin(
   func: (call: JoinPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, JoinPayload<any>>
): coin;

Parameters

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

Returns

coin


onEntryMintAndTransfer()

onEntryMintAndTransfer(
   func: (call: MintAndTransferPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, MintAndTransferPayload<any>>
): coin;

Parameters

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

Returns

coin


onEntryUpdateDescription()

onEntryUpdateDescription(
   func: (call: UpdateDescriptionPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateDescriptionPayload<any>>
): coin;

Parameters

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

Returns

coin


onEntryUpdateIconUrl()

onEntryUpdateIconUrl(
   func: (call: UpdateIconUrlPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateIconUrlPayload<any>>
): coin;

Parameters

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

Returns

coin


onEntryUpdateName()

onEntryUpdateName(
   func: (call: UpdateNamePayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateNamePayload<any>>
): coin;

Parameters

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

Returns

coin


onEntryUpdateSymbol()

onEntryUpdateSymbol(
   func: (call: UpdateSymbolPayload, ctx: IotaContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, UpdateSymbolPayload<any>>
): coin;

Parameters

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

Returns

coin


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


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>): coin;

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

coin

On this page