@sentio/sdksuibuiltinNamespaces_0x2Classes

transfer_policy

Class in @sentio/sdk/sui/builtin › _0x2

Defined in @sentio/sdk/sui/builtin › _0x2

Event and struct types of this Move module: @typemove/sui › 0x2::transfer_policy

Extends

Constructors

Constructor

new transfer_policy(options: SuiBindOptions): transfer_policy;

Parameters

ParameterType
optionsSuiBindOptions

Returns

transfer_policy

Overrides

SuiBaseProcessor.constructor

Properties

PropertyModifierTypeDefault valueInherited from
callHandlerspublicCallHandler<Data_SuiCall>[][]SuiBaseProcessor.callHandlers
coderpublicMoveCoderundefinedSuiBaseProcessor.coder
configpublicIndexConfigureundefinedSuiBaseProcessor.config
eventHandlerspublicEventHandler<Data_SuiEvent>[][]SuiBaseProcessor.eventHandlers
moduleNamereadonlystringundefinedSuiBaseProcessor.moduleName
objectChangeHandlerspublicObjectChangeHandler<Data_SuiObjectChange>[][]SuiBaseProcessor.objectChangeHandlers
DEFAULT_OPTIONSstaticSuiBindOptionsundefined-

Methods

getChainId()

getChainId(): string;

Returns

string

Inherited from

SuiBaseProcessor.getChainId


onEntryDefault()

onEntryDefault(
   func: (call: DefaultPayload, ctx: SuiContext) => void, 
   filter?: CallFilter, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, DefaultPayload<any>>
): transfer_policy;

Parameters

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

Returns

transfer_policy


onEvent()

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

Parameters

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

Returns

this

Inherited from

SuiBaseProcessor.onEvent


onEventRuleKey()

onEventRuleKey(
   func: (event: RuleKeyInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, RuleKeyInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): transfer_policy;

Parameters

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

Returns

transfer_policy


onEventTransferPolicyCreated()

onEventTransferPolicyCreated(
   func: (event: TransferPolicyCreatedInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, TransferPolicyCreatedInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): transfer_policy;

Parameters

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

Returns

transfer_policy


onEventTransferPolicyDestroyed()

onEventTransferPolicyDestroyed(
   func: (event: TransferPolicyDestroyedInstance, ctx: SuiContext) => void, 
   handlerOptions?: HandlerOptions<MoveFetchConfig, TransferPolicyDestroyedInstance>, 
   eventFilter?: Omit<EventFilter, "account" | "type">
): transfer_policy;

Parameters

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

Returns

transfer_policy


onTransactionBlock()

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

Parameters

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

Returns

this

Inherited from

SuiBaseProcessor.onTransactionBlock


bind()

static bind(options?: Partial<SuiBindOptions>): transfer_policy;

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

Returns

transfer_policy

On this page