Skip to content

API documentation of Agoric SDK / Exports / @agoric/swingset-liveslots / types

Module: types

Table of contents

Interfaces

Type Aliases

Type Aliases

LiveSlotsOptions

Ƭ LiveSlotsOptions: Object

Type declaration

NameType
allowStateShapeChanges?boolean
enableDisavow?boolean
relaxDurabilityRules?boolean

Defined in

packages/swingset-liveslots/src/types.js:29


Message

Ƭ Message: Object

Type declaration

NameType
methargsSwingSetCapData
resultstring | undefined | null

Defined in

packages/swingset-liveslots/src/types.js:36


MeterConsumption

Ƭ MeterConsumption: Object

Type declaration

NameType
computenumber

Defined in

packages/swingset-liveslots/src/types.js:52


PromiseWatcher

Ƭ PromiseWatcher<V, A>: Object

Type parameters

NameTypeDescription
VVfulfilled value
Aextends any[] = unknown[]arguments

Type declaration

NameType
onFulfilled?(value: V, ...args: A) => void
onRejected?(reason: unknown, ...args: A) => void

Defined in

packages/swingset-liveslots/src/types.js:88


SwingSetCapData

Ƭ SwingSetCapData: CapData

Defined in

packages/swingset-liveslots/src/types.js:31


VatDeliveryBringOutYourDead

Ƭ VatDeliveryBringOutYourDead: [tag: "bringOutYourDead"]

Defined in

packages/swingset-liveslots/src/types.js:46


VatDeliveryChangeVatOptions

Ƭ VatDeliveryChangeVatOptions: [tag: "changeVatOptions", options: Record<string, unknown>]

Defined in

packages/swingset-liveslots/src/types.js:43


VatDeliveryDropExports

Ƭ VatDeliveryDropExports: [tag: "dropExports", vrefs: string[]]

Defined in

packages/swingset-liveslots/src/types.js:40


VatDeliveryMessage

Ƭ VatDeliveryMessage: [tag: "message", target: string, msg: Message]

Defined in

packages/swingset-liveslots/src/types.js:37


VatDeliveryNotify

Ƭ VatDeliveryNotify: [tag: "notify", resolutions: VatOneResolution[]]

Defined in

packages/swingset-liveslots/src/types.js:39


VatDeliveryObject

Ƭ VatDeliveryObject: VatDeliveryMessage | VatDeliveryNotify | VatDeliveryDropExports | VatDeliveryRetireExports | VatDeliveryRetireImports | VatDeliveryChangeVatOptions | VatDeliveryStartVat | VatDeliveryStopVat | VatDeliveryBringOutYourDead

Defined in

packages/swingset-liveslots/src/types.js:50


VatDeliveryResult

Ƭ VatDeliveryResult: [tag: "ok", results: any, usage: MeterConsumption | null] | [tag: "error", message: string, usage: MeterConsumption | null]

Defined in

packages/swingset-liveslots/src/types.js:54


VatDeliveryRetireExports

Ƭ VatDeliveryRetireExports: [tag: "retireExports", vrefs: string[]]

Defined in

packages/swingset-liveslots/src/types.js:41


VatDeliveryRetireImports

Ƭ VatDeliveryRetireImports: [tag: "retireImports", vrefs: string[]]

Defined in

packages/swingset-liveslots/src/types.js:42


VatDeliveryStartVat

Ƭ VatDeliveryStartVat: [tag: "startVat", vatParameters: SwingSetCapData]

Defined in

packages/swingset-liveslots/src/types.js:44


VatDeliveryStopVat

Ƭ VatDeliveryStopVat: [tag: "stopVat", disconnectObject: SwingSetCapData]

Defined in

packages/swingset-liveslots/src/types.js:45


VatOneResolution

Ƭ VatOneResolution: [vpid: string, isReject: boolean, data: SwingSetCapData]

Defined in

packages/swingset-liveslots/src/types.js:38


VatSyscallAbandonExports

Ƭ VatSyscallAbandonExports: [tag: "abandonExports", slots: string[]]

Defined in

packages/swingset-liveslots/src/types.js:69


VatSyscallCallNow

Ƭ VatSyscallCallNow: [tag: "callNow", target: string, method: string, args: SwingSetCapData]

Defined in

packages/swingset-liveslots/src/types.js:58


VatSyscallDropImports

Ƭ VatSyscallDropImports: [tag: "dropImports", slots: string[]]

Defined in

packages/swingset-liveslots/src/types.js:66


VatSyscallExit

Ƭ VatSyscallExit: [tag: "exit", isFailure: boolean, info: SwingSetCapData]

Defined in

packages/swingset-liveslots/src/types.js:61


VatSyscallHandler

Ƭ VatSyscallHandler: (vso: VatSyscallObject) => VatSyscallResult

Type declaration

▸ (vso): VatSyscallResult

Parameters
NameType
vsoVatSyscallObject
Returns

VatSyscallResult

Defined in

packages/swingset-liveslots/src/types.js:81


VatSyscallObject

Ƭ VatSyscallObject: VatSyscallSend | VatSyscallCallNow | VatSyscallSubscribe | VatSyscallResolve | VatSyscallExit | VatSyscallVatstoreGet | VatSyscallVatstoreGetNextKey | VatSyscallVatstoreSet | VatSyscallVatstoreDelete | VatSyscallDropImports | VatSyscallRetireImports | VatSyscallRetireExports | VatSyscallAbandonExports

Defined in

packages/swingset-liveslots/src/types.js:75


VatSyscallResolve

Ƭ VatSyscallResolve: [tag: "resolve", resolutions: VatOneResolution[]]

Defined in

packages/swingset-liveslots/src/types.js:60


VatSyscallResult

Ƭ VatSyscallResult: VatSyscallResultOk | VatSyscallResultError

Defined in

packages/swingset-liveslots/src/types.js:79


VatSyscallResultError

Ƭ VatSyscallResultError: [tag: "error", err: string]

Defined in

packages/swingset-liveslots/src/types.js:78


VatSyscallResultOk

Ƭ VatSyscallResultOk: [tag: "ok", data: SwingSetCapData | string | string[] | null]

Defined in

packages/swingset-liveslots/src/types.js:77


VatSyscallRetireExports

Ƭ VatSyscallRetireExports: [tag: "retireExports", slots: string[]]

Defined in

packages/swingset-liveslots/src/types.js:68


VatSyscallRetireImports

Ƭ VatSyscallRetireImports: [tag: "retireImports", slots: string[]]

Defined in

packages/swingset-liveslots/src/types.js:67


VatSyscallSend

Ƭ VatSyscallSend: [tag: "send", target: string, msg: Message]

Defined in

packages/swingset-liveslots/src/types.js:57


VatSyscallSubscribe

Ƭ VatSyscallSubscribe: [tag: "subscribe", vpid: string]

Defined in

packages/swingset-liveslots/src/types.js:59


VatSyscallVatstoreDelete

Ƭ VatSyscallVatstoreDelete: [tag: "vatstoreDelete", key: string]

Defined in

packages/swingset-liveslots/src/types.js:65


VatSyscallVatstoreGet

Ƭ VatSyscallVatstoreGet: [tag: "vatstoreGet", key: string]

Defined in

packages/swingset-liveslots/src/types.js:62


VatSyscallVatstoreGetNextKey

Ƭ VatSyscallVatstoreGetNextKey: [tag: "vatstoreGetNextKey", priorKey: string]

Defined in

packages/swingset-liveslots/src/types.js:63


VatSyscallVatstoreSet

Ƭ VatSyscallVatstoreSet: [tag: "vatstoreSet", key: string, data: string]

Defined in

packages/swingset-liveslots/src/types.js:64


makeLiveSlots

Ƭ makeLiveSlots: () => any

Type declaration

▸ (): any

Returns

any

Defined in

packages/swingset-liveslots/src/types.js:5