confidential_asset
Class in @sentio/sdk/aptos/builtin › _0x1
Defined in @sentio/sdk/aptos/builtin › _0x1
Event and struct types of this Move module: @typemove/aptos › 0x1::confidential_asset
Extends
Constructors
Constructor
new confidential_asset(options: AptosBindOptions): confidential_asset;Parameters
| Parameter | Type |
|---|---|
options | AptosBindOptions |
Returns
confidential_asset
Overrides
AptosBaseProcessor.constructor
Properties
| Property | Modifier | Type | Default value | Inherited from |
|---|---|---|---|---|
callHandlers | public | CallHandler<AptCall>[] | [] | AptosBaseProcessor.callHandlers |
coder | public | MoveCoder | undefined | AptosBaseProcessor.coder |
config | public | IndexConfigure | undefined | AptosBaseProcessor.config |
eventHandlers | public | EventHandler<AptEvent>[] | [] | AptosBaseProcessor.eventHandlers |
moduleName | readonly | string | undefined | AptosBaseProcessor.moduleName |
resourceChangeHandlers | public | ResourceChangeHandler<AptResource>[] | [] | AptosBaseProcessor.resourceChangeHandlers |
transactionIntervalHandlers | public | TransactionIntervalHandler[] | [] | AptosBaseProcessor.transactionIntervalHandlers |
DEFAULT_OPTIONS | static | AptosBindOptions | undefined | - |
Methods
getChainId()
getChainId(): string;Returns
string
Inherited from
onEntryConfidentialTransferRaw()
onEntryConfidentialTransferRaw(
func: (call: ConfidentialTransferRawPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, ConfidentialTransferRawPayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: ConfidentialTransferRawPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, ConfidentialTransferRawPayload> |
Returns
confidential_asset
onEntryDeposit()
onEntryDeposit(
func: (call: DepositPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, DepositPayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: DepositPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, DepositPayload> |
Returns
confidential_asset
onEntryNormalizeRaw()
onEntryNormalizeRaw(
func: (call: NormalizeRawPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, NormalizeRawPayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: NormalizeRawPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, NormalizeRawPayload> |
Returns
confidential_asset
onEntryRegisterRaw()
onEntryRegisterRaw(
func: (call: RegisterRawPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, RegisterRawPayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: RegisterRawPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, RegisterRawPayload> |
Returns
confidential_asset
onEntryRolloverPendingBalance()
onEntryRolloverPendingBalance(
func: (call: RolloverPendingBalancePayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, RolloverPendingBalancePayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: RolloverPendingBalancePayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, RolloverPendingBalancePayload> |
Returns
confidential_asset
onEntryRolloverPendingBalanceAndPause()
onEntryRolloverPendingBalanceAndPause(
func: (call: RolloverPendingBalanceAndPausePayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, RolloverPendingBalanceAndPausePayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: RolloverPendingBalanceAndPausePayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, RolloverPendingBalanceAndPausePayload> |
Returns
confidential_asset
onEntryRotateEncryptionKeyRaw()
onEntryRotateEncryptionKeyRaw(
func: (call: RotateEncryptionKeyRawPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, RotateEncryptionKeyRawPayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: RotateEncryptionKeyRawPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, RotateEncryptionKeyRawPayload> |
Returns
confidential_asset
onEntrySetIncomingTransfersPaused()
onEntrySetIncomingTransfersPaused(
func: (call: SetIncomingTransfersPausedPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, SetIncomingTransfersPausedPayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: SetIncomingTransfersPausedPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, SetIncomingTransfersPausedPayload> |
Returns
confidential_asset
onEntryWithdrawToRaw()
onEntryWithdrawToRaw(
func: (call: WithdrawToRawPayload, ctx: AptosContext) => void,
filter?: CallFilter,
handlerOptions?: HandlerOptions<MoveFetchConfig, WithdrawToRawPayload>
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (call: WithdrawToRawPayload, ctx: AptosContext) => void |
filter? | CallFilter |
handlerOptions? | HandlerOptions<MoveFetchConfig, WithdrawToRawPayload> |
Returns
confidential_asset
onEvent()
onEvent(handler: (event: Event, ctx: AptosContext) => void, handlerOptions?: HandlerOptions<MoveFetchConfig, Event>): this;Parameters
| Parameter | Type |
|---|---|
handler | (event: Event, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, Event> |
Returns
this
Inherited from
onEventAllowListingChanged()
onEventAllowListingChanged(
func: (event: AllowListingChangedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, AllowListingChangedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: AllowListingChangedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, AllowListingChangedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventAssetSpecificAuditorChanged()
onEventAssetSpecificAuditorChanged(
func: (event: AssetSpecificAuditorChangedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, AssetSpecificAuditorChangedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: AssetSpecificAuditorChangedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, AssetSpecificAuditorChangedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventConfidentialityForAssetTypeChanged()
onEventConfidentialityForAssetTypeChanged(
func: (event: ConfidentialityForAssetTypeChangedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, ConfidentialityForAssetTypeChangedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: ConfidentialityForAssetTypeChangedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, ConfidentialityForAssetTypeChangedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventDeposited()
onEventDeposited(
func: (event: DepositedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, DepositedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: DepositedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, DepositedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventEmergencyPauseChanged()
onEventEmergencyPauseChanged(
func: (event: EmergencyPauseChangedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, EmergencyPauseChangedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: EmergencyPauseChangedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, EmergencyPauseChangedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventGlobalAuditorChanged()
onEventGlobalAuditorChanged(
func: (event: GlobalAuditorChangedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, GlobalAuditorChangedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: GlobalAuditorChangedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, GlobalAuditorChangedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventIncomingTransfersPauseChanged()
onEventIncomingTransfersPauseChanged(
func: (event: IncomingTransfersPauseChangedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, IncomingTransfersPauseChangedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: IncomingTransfersPauseChangedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, IncomingTransfersPauseChangedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventKeyRotated()
onEventKeyRotated(
func: (event: KeyRotatedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, KeyRotatedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: KeyRotatedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, KeyRotatedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventNormalized()
onEventNormalized(
func: (event: NormalizedInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, NormalizedInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: NormalizedInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, NormalizedInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventRegistered()
onEventRegistered(
func: (event: RegisteredInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, RegisteredInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: RegisteredInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, RegisteredInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventRolledOver()
onEventRolledOver(
func: (event: RolledOverInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, RolledOverInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: RolledOverInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, RolledOverInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventTransferred()
onEventTransferred(
func: (event: TransferredInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, TransferredInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: TransferredInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, TransferredInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onEventWithdrawn()
onEventWithdrawn(
func: (event: WithdrawnInstance, ctx: AptosContext) => void,
handlerOptions?: HandlerOptions<MoveFetchConfig, WithdrawnInstance>,
eventFilter?: Omit<EventFilter, "account" | "type">
): confidential_asset;Parameters
| Parameter | Type |
|---|---|
func | (event: WithdrawnInstance, ctx: AptosContext) => void |
handlerOptions? | HandlerOptions<MoveFetchConfig, WithdrawnInstance> |
eventFilter? | Omit<EventFilter, "account" | "type"> |
Returns
confidential_asset
onResourceChange()
Call Signature
onResourceChange<T>(
handler: (changes: ResourceChange<T>[], ctx: AptosResourcesContext) => PromiseOrVoid,
typeDesc:
| string
| TypeDescriptor<T>,
handlerOptions?: HandlerOptions<object, ResourceChange<T>[]>
): this;Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
handler | (changes: ResourceChange<T>[], ctx: AptosResourcesContext) => PromiseOrVoid |
typeDesc | | string | TypeDescriptor<T> |
handlerOptions? | HandlerOptions<object, ResourceChange<T>[]> |
Returns
this
Inherited from
AptosBaseProcessor.onResourceChange
Call Signature
onResourceChange<Descs extends readonly (
| string
| TypeDescriptor<any>)[]>(
handler: (changes: ResourceChange<ExtractDescriptorType<Descs[number]>>[], ctx: AptosResourcesContext) => PromiseOrVoid,
typeDesc: [...Descs[]],
handlerOptions?: HandlerOptions<object, ResourceChange<ExtractDescriptorType<Descs[number]>>[]>
): this;Type Parameters
| Type Parameter |
|---|
Descs extends readonly ( | string | TypeDescriptor<any>)[] |
Parameters
| Parameter | Type |
|---|---|
handler | (changes: ResourceChange<ExtractDescriptorType<Descs[number]>>[], ctx: AptosResourcesContext) => PromiseOrVoid |
typeDesc | [...Descs[]] |
handlerOptions? | HandlerOptions<object, ResourceChange<ExtractDescriptorType<Descs[number]>>[]> |
Returns
this
Inherited from
AptosBaseProcessor.onResourceChange
onTimeInterval()
onTimeInterval(
handler: (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid,
timeIntervalInMinutes?: number,
backfillTimeIntervalInMinutes?: number,
handlerOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid | undefined |
timeIntervalInMinutes | number | 60 |
backfillTimeIntervalInMinutes | number | 240 |
handlerOptions? | HandlerOptions<MoveFetchConfig, UserTransactionResponse> | undefined |
Returns
this
Inherited from
AptosBaseProcessor.onTimeInterval
onTransaction()
onTransaction(
handler: (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid,
transactionFilter?: object,
handleOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;Parameters
| Parameter | Type |
|---|---|
handler | (transaction: UserTransactionResponse, ctx: AptosContext) => PromiseOrVoid |
transactionFilter? | { includeFailed?: boolean; sender?: string; } |
transactionFilter.includeFailed? | boolean |
transactionFilter.sender? | string |
handleOptions? | HandlerOptions<MoveFetchConfig, UserTransactionResponse> |
Returns
this
Inherited from
AptosBaseProcessor.onTransaction
onVersionInterval()
onVersionInterval(
handler: (transaction: UserTransactionResponse, context: AptosContext) => PromiseOrVoid,
versionInterval?: number,
backfillVersionInterval?: number,
handlerOptions?: HandlerOptions<MoveFetchConfig, UserTransactionResponse>
): this;Parameters
| Parameter | Type | Default value |
|---|---|---|
handler | (transaction: UserTransactionResponse, context: AptosContext) => PromiseOrVoid | undefined |
versionInterval | number | 100000 |
backfillVersionInterval | number | 400000 |
handlerOptions? | HandlerOptions<MoveFetchConfig, UserTransactionResponse> | undefined |
Returns
this
Inherited from
AptosBaseProcessor.onVersionInterval
bind()
static bind(options?: Partial<AptosBindOptions>): confidential_asset;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<AptosBindOptions> |
Returns
confidential_asset