@agoric/vats 0.16.0-upgrade-17-dev-ec448b0.0 → 0.16.0-upgrade-18-dev-bf39b10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CHANGELOG.md +3 -9
  2. package/index.d.ts +1 -1
  3. package/index.js +1 -1
  4. package/package.json +28 -28
  5. package/src/bridge-target.d.ts +2 -2
  6. package/src/bridge-target.d.ts.map +1 -1
  7. package/src/bridge-target.js +1 -1
  8. package/src/bridge.d.ts +1 -1
  9. package/src/bridge.d.ts.map +1 -1
  10. package/src/bridge.js +1 -1
  11. package/src/centralSupply.d.ts.map +1 -1
  12. package/src/core/basic-behaviors.d.ts.map +1 -1
  13. package/src/core/boot-chain.d.ts +4 -4
  14. package/src/core/boot-chain.d.ts.map +1 -1
  15. package/src/core/boot-sim.d.ts.map +1 -1
  16. package/src/core/boot-solo.d.ts.map +1 -1
  17. package/src/core/chain-behaviors.d.ts.map +1 -1
  18. package/src/core/client-behaviors.d.ts.map +1 -1
  19. package/src/core/demoIssuers.d.ts +2 -2
  20. package/src/core/demoIssuers.d.ts.map +1 -1
  21. package/src/core/lib-boot.d.ts +1 -1
  22. package/src/core/lib-boot.d.ts.map +1 -1
  23. package/src/core/promise-space.d.ts.map +1 -1
  24. package/src/core/startWalletFactory.d.ts.map +1 -1
  25. package/src/core/types-ambient.d.ts +5 -2
  26. package/src/core/utils.d.ts.map +1 -1
  27. package/src/ibc.d.ts.map +1 -1
  28. package/src/ibc.js +2 -2
  29. package/src/lib-board.d.ts.map +1 -1
  30. package/src/localchain.d.ts +6 -8
  31. package/src/localchain.d.ts.map +1 -1
  32. package/src/mintHolder.d.ts.map +1 -1
  33. package/src/priceAuthorityRegistry.d.ts.map +1 -1
  34. package/src/proposals/kread-proposal.d.ts.map +1 -1
  35. package/src/proposals/localchain-proposal.d.ts.map +1 -1
  36. package/src/proposals/localchain-test.d.ts.map +1 -1
  37. package/src/proposals/network-proposal.d.ts.map +1 -1
  38. package/src/proposals/transfer-proposal.d.ts.map +1 -1
  39. package/src/proposals/upgrade-bank-proposal.d.ts.map +1 -1
  40. package/src/proposals/upgrade-orch-core-proposal.d.ts.map +1 -1
  41. package/src/proposals/upgrade-provisionPool-proposal.d.ts.map +1 -1
  42. package/src/proposals/upgrade-zoe-proposal.d.ts.map +1 -1
  43. package/src/proposals/vtransfer-echoer.d.ts.map +1 -1
  44. package/src/proposals/zcf-proposal.d.ts.map +1 -1
  45. package/src/types-index.d.ts +2 -0
  46. package/src/types-index.js +2 -0
  47. package/src/types.d.ts +178 -226
  48. package/src/types.d.ts.map +1 -0
  49. package/src/types.ts +297 -0
  50. package/src/vat-agoricNames.js +1 -1
  51. package/src/vat-bank.d.ts +3 -3
  52. package/src/vat-bank.d.ts.map +1 -1
  53. package/src/vat-board.d.ts +11 -11
  54. package/src/vat-bridge.d.ts.map +1 -1
  55. package/src/vat-localchain.d.ts +10 -14
  56. package/src/vat-localchain.d.ts.map +1 -1
  57. package/src/vat-network.d.ts.map +1 -1
  58. package/src/vat-priceAuthority.d.ts +1 -1
  59. package/src/vat-transfer.d.ts +4 -4
  60. package/src/vat-transfer.d.ts.map +1 -1
  61. package/src/vat-transfer.js +1 -1
  62. package/src/virtual-purse.d.ts.map +1 -1
  63. package/tools/bank-utils.d.ts +3 -2
  64. package/tools/bank-utils.d.ts.map +1 -1
  65. package/tools/bank-utils.js +2 -1
  66. package/tools/board-utils.d.ts +3 -3
  67. package/tools/board-utils.d.ts.map +1 -1
  68. package/tools/boot-test-utils.d.ts +3 -3
  69. package/tools/fake-bridge.d.ts +4 -3
  70. package/tools/fake-bridge.d.ts.map +1 -1
  71. package/tools/fake-bridge.js +9 -6
  72. package/tools/ibc-utils.d.ts +1 -1
package/src/types.ts ADDED
@@ -0,0 +1,297 @@
1
+ /* eslint-disable no-use-before-define */
2
+ import type { FungibleTokenPacketData } from '@agoric/cosmic-proto/ibc/applications/transfer/v2/packet.js';
3
+ import type { BridgeId, Remote } from '@agoric/internal';
4
+ import type { Bytes } from '@agoric/network';
5
+ import type { Guarded } from '@endo/exo';
6
+ import type { PacketSDKType } from '@agoric/cosmic-proto/ibc/core/channel/v1/channel.js';
7
+ import type { LocalChainAccount } from './localchain.js';
8
+ import type { TargetApp } from './bridge-target.js';
9
+
10
+ export type Board = ReturnType<
11
+ ReturnType<typeof import('./lib-board.js').prepareBoardKit>
12
+ >['board'];
13
+
14
+ /**
15
+ * read-only access to a node in a name hierarchy
16
+ *
17
+ * NOTE: We need to return arrays, not iterables, because even if marshal could
18
+ * allow passing a remote iterable, there would be an inordinate number of round
19
+ * trips for the contents of even the simplest nameHub.
20
+ */
21
+ export type NameHub<Value = any> = {
22
+ has: (key: string) => boolean;
23
+ /**
24
+ * Look up a path of keys starting from the current NameHub. Wait on any
25
+ * reserved promises.
26
+ */
27
+ lookup: (...path: string[]) => Promise<any>;
28
+ /** get all the entries available in the current NameHub */
29
+ entries: (includeReserved?: boolean) => [string, Value][];
30
+ /** get all names available in the current NameHub */
31
+ keys: () => string[];
32
+ /** get all values available in the current NameHub */
33
+ values: () => Value[];
34
+ };
35
+
36
+ /** write access to a node in a name hierarchy */
37
+ export type NameAdmin = {
38
+ provideChild: (key: string, reserved?: string[]) => Promise<NameHubKit>;
39
+ /**
40
+ * Mark a key as reserved; will return a promise that is fulfilled when the
41
+ * key is updated (or rejected when deleted). If the key was already set it
42
+ * does nothing.
43
+ */
44
+ reserve: (key: string) => Promise<void>;
45
+ /**
46
+ * Update if not already updated. Return existing value, or newValue if not
47
+ * existing.
48
+ */
49
+ default: <T>(key: string, newValue: T, newAdmin?: NameAdmin) => T;
50
+ /** Update only if already initialized. Reject if not. */
51
+ set: (key: string, newValue: any, newAdmin?: NameAdmin) => void;
52
+ /**
53
+ * Fulfill an outstanding reserved promise (if any) to the newValue and set
54
+ * the key to the newValue. If newAdmin is provided, set that to return via
55
+ * lookupAdmin.
56
+ */
57
+ update: (key: string, newValue: any, newAdmin?: NameAdmin) => void;
58
+ /**
59
+ * Look up the `newAdmin` from the path of keys starting from the current
60
+ * NameAdmin. Wait on any reserved promises.
61
+ */
62
+ lookupAdmin: (...path: string[]) => Promise<NameAdmin>;
63
+ /** Delete a value and reject an outstanding reserved promise (if any). */
64
+ delete: (key: string) => void;
65
+ /** get the NameHub corresponding to the current NameAdmin */
66
+ readonly: () => NameHub;
67
+ /**
68
+ * Set a function to be called whenever an update or deletion is made, with all the entries as of that point.
69
+ *
70
+ * Note: can be called at most once.
71
+ */
72
+ onUpdate: (fn: undefined | NameHubUpdateHandler) => void;
73
+ };
74
+
75
+ export type NameHubUpdateHandler = {
76
+ /** Called when an update or deletion is made, with all entries as of that point. */
77
+ write: (entries: [string, any][]) => void;
78
+ };
79
+
80
+ /** a node in a name hierarchy */
81
+ export type NameHubKit = {
82
+ /** read access */
83
+ nameHub: NameHub;
84
+ /** write access */
85
+ nameAdmin: NameAdmin;
86
+ };
87
+
88
+ export type MyAddressNameAdmin = NameAdmin & {
89
+ getMyAddress(): string;
90
+ };
91
+ export type NamesByAddressAdmin = NameAdmin & {
92
+ provideChild(
93
+ addr: string,
94
+ reserved?: string[],
95
+ ): Promise<{
96
+ nameHub: NameHub;
97
+ nameAdmin: MyAddressNameAdmin;
98
+ }>;
99
+ lookupAdmin(addr: string): Promise<MyAddressNameAdmin>;
100
+ };
101
+
102
+ /** An object that can receive messages from the bridge device */
103
+ export type BridgeHandler = {
104
+ /** Handle an inbound message */
105
+ fromBridge: (obj: any) => Promise<unknown>;
106
+ };
107
+
108
+ export type ScopedBridgeManagerMethods<B extends BridgeId> = {
109
+ /**
110
+ * Optional bridge ID getter. Not part of the production bridge vat but
111
+ * available in fake bridges as a means for test reflection and for the type
112
+ * system to hang the bridgeId
113
+ */
114
+ getBridgeId?: () => B;
115
+ /** Downcall from the VM into Golang */
116
+ toBridge: (obj: any) => Promise<any>;
117
+ /** Upcall from Golang into the VM */
118
+ fromBridge: (obj: any) => Promise<unknown>;
119
+ initHandler: (handler: Remote<BridgeHandler>) => void;
120
+ setHandler: (handler: Remote<BridgeHandler>) => void;
121
+ };
122
+
123
+ /** An object which handles messages for a specific bridge */
124
+ export type ScopedBridgeManager<B extends BridgeId> = Guarded<
125
+ ScopedBridgeManagerMethods<B>
126
+ >;
127
+
128
+ /** The object to manage this bridge */
129
+ export type BridgeManager = {
130
+ register: <B extends BridgeId>(
131
+ bridgeId: B,
132
+ handler?: Remote<BridgeHandler>,
133
+ ) => ScopedBridgeManager<B>;
134
+ };
135
+
136
+ export type IBCPortID = string;
137
+ export type IBCChannelID = `channel-${number}`;
138
+ export type IBCConnectionID = `connection-${number}`;
139
+ export type IBCChannelOrdering = 'ORDERED' | 'UNORDERED';
140
+
141
+ export type IBCPacket = {
142
+ data: Bytes;
143
+ source_channel: IBCChannelID;
144
+ source_port: IBCPortID;
145
+ destination_channel: IBCChannelID;
146
+ destination_port: IBCPortID;
147
+ sequence?: PacketSDKType['sequence'];
148
+ timeout_height?: PacketSDKType['timeout_height'];
149
+ timeout_timestamp?: PacketSDKType['timeout_timestamp'];
150
+ };
151
+
152
+ export type IBCCounterParty = {
153
+ port_id: IBCPortID;
154
+ channel_id: IBCChannelID;
155
+ };
156
+
157
+ export type ConnectingInfo = {
158
+ order: IBCChannelOrdering;
159
+ connectionHops: IBCConnectionID[];
160
+ portID: IBCPortID;
161
+ channelID: IBCChannelID;
162
+ counterparty: IBCCounterParty;
163
+ counterpartyVersion: string;
164
+ version: string;
165
+ asyncVersions?: boolean;
166
+ };
167
+
168
+ /** see [ibc_module.go](../../../golang/cosmos/x/vibc/types/ibc_module.go) */
169
+ export type IBCBridgeEvent =
170
+ | 'channelOpenInit'
171
+ | 'channelOpenTry'
172
+ | 'channelOpenAck'
173
+ | 'channelOpenConfirm'
174
+ | 'receivePacket'
175
+ | 'acknowledgementPacket'
176
+ | 'timeoutPacket'
177
+ | 'channelCloseInit'
178
+ | 'channelCloseConfirm'
179
+ | 'sendPacket';
180
+
181
+ type IBCPacketEvents = {
182
+ channelOpenInit: ConnectingInfo;
183
+ channelOpenTry: ConnectingInfo;
184
+ channelOpenAck: ConnectingInfo;
185
+ channelOpenConfirm: ConnectingInfo;
186
+ receivePacket: {
187
+ packet: IBCPacket;
188
+ };
189
+ acknowledgementPacket: {
190
+ acknowledgement: Bytes;
191
+ packet: IBCPacket;
192
+ relayer: string; // chain address
193
+ };
194
+ timeoutPacket: {
195
+ packet: IBCPacket;
196
+ };
197
+ channelCloseInit: { channelID: IBCChannelID; portID: IBCPortID };
198
+ channelCloseConfirm: { channelID: IBCChannelID; portID: IBCPortID };
199
+ sendPacket: { relativeTimeoutNs: bigint; packet: IBCPacket };
200
+ };
201
+
202
+ export type IBCEvent<E extends IBCBridgeEvent> = {
203
+ type: 'IBC_EVENT';
204
+ blockHeight: number;
205
+ blockTime: number;
206
+ event: E;
207
+ } & {
208
+ [K in keyof IBCPacketEvents[E]]: IBCPacketEvents[E][K];
209
+ };
210
+
211
+ /** see [receiver.go](../../../golang/cosmos/x/vibc/types/receiver.go) */
212
+ export type IBCDowncallMethod =
213
+ | 'sendPacket'
214
+ | 'tryOpenExecuted'
215
+ | 'receiveExecuted'
216
+ | 'startChannelOpenInit'
217
+ | 'startChannelCloseInit'
218
+ | 'bindPort'
219
+ | 'timeoutExecuted'
220
+ | 'initOpenExecuted';
221
+
222
+ type IBCMethodEvents = {
223
+ sendPacket: SendPacketDownCall;
224
+ tryOpenExecuted: ChannelOpenAckDowncall;
225
+ receiveExecuted: {}; // TODO update
226
+ startChannelOpenInit: ChannelOpenInitDowncall;
227
+ startChannelCloseInit: {}; // TODO update
228
+ bindPort: { packet: { source_port: IBCPortID } };
229
+ timeoutExecuted: {}; // TODO update
230
+ // XXX why isn't this in receiver.go?
231
+ initOpenExecuted: ChannelOpenAckDowncall;
232
+ };
233
+
234
+ export type IBCMethod<M extends IBCDowncallMethod> = {
235
+ type: 'IBC_METHOD';
236
+ method: M;
237
+ } & {
238
+ [K in keyof IBCMethodEvents[M]]: IBCMethodEvents[M][K];
239
+ };
240
+
241
+ export type IBCDowncall<M extends IBCDowncallMethod> = {
242
+ [K in keyof IBCMethodEvents[M]]: IBCMethodEvents[M][K];
243
+ };
244
+
245
+ export type IBCDowncallPacket<M extends IBCDowncallMethod> =
246
+ IBCMethodEvents[M] extends { packet: infer P } ? P : never;
247
+
248
+ type ChannelOpenDowncallBase = {
249
+ hops: IBCConnectionID[];
250
+ order: IBCChannelOrdering;
251
+ version: string;
252
+ };
253
+
254
+ type ChannelOpenInitDowncall = ChannelOpenDowncallBase & {
255
+ packet: Pick<IBCPacket, 'destination_port' | 'source_port'>;
256
+ };
257
+
258
+ type ChannelOpenAckDowncall = ChannelOpenDowncallBase & {
259
+ packet: Pick<
260
+ IBCPacket,
261
+ | 'destination_port'
262
+ | 'source_port'
263
+ | 'destination_channel'
264
+ | 'source_channel'
265
+ >;
266
+ };
267
+
268
+ type SendPacketDownCall = {
269
+ packet: IBCPacket;
270
+ relativeTimeoutNs: bigint;
271
+ };
272
+
273
+ /**
274
+ * This event is emitted when a FungibleTokenPacket is sent or received
275
+ * by a target (e.g. a {@link LocalChainAccount}) that has a registered
276
+ * {@link TargetApp}. It is passed through the `receiveUpcall` handler.
277
+ */
278
+ export type VTransferIBCEvent = {
279
+ type: 'VTRANSFER_IBC_EVENT';
280
+ blockHeight: number;
281
+ blockTime: number;
282
+ /**
283
+ * Indicates the type of IBC packet event:
284
+ * - 'acknowledgementPacket': passive tap that communicates the result of an acknowledged packet
285
+ * - 'writeAcknowledgement': active tap where the receiver can return a write acknowledgement
286
+ */
287
+ event: 'acknowledgementPacket' | 'writeAcknowledgement';
288
+ acknowledgement: Bytes;
289
+ /**
290
+ * Use `JSON.parse(atob(packet.data))` to get a
291
+ * {@link FungibleTokenPacketData} object.
292
+ */
293
+ packet: IBCPacket;
294
+ relayer: string;
295
+ /** e.g. the chain address of the LocalChainAccount */
296
+ target: string;
297
+ };
@@ -22,7 +22,7 @@ const prepareNatBrand = zone => {
22
22
  const { name } = this.state;
23
23
  return name;
24
24
  },
25
- // Give information to UI on how to display the amount.
25
+ /** @deprecated */
26
26
  getDisplayInfo() {
27
27
  const { displayInfo } = this.state;
28
28
  return displayInfo;
package/src/vat-bank.d.ts CHANGED
@@ -224,7 +224,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
224
224
  getUpdateSince(updateCount: any): any;
225
225
  };
226
226
  }>>;
227
- makeVirtualPurse: ReturnType<(zone: import("@agoric/zone").Zone) => (vpc: ERef<VirtualPurseController>, { escrowPurse: defaultEscrowPurse, ...issuerKit }: {
227
+ makeVirtualPurse: ReturnType<(zone: import("@agoric/base-zone").Zone) => (vpc: ERef<VirtualPurseController>, { escrowPurse: defaultEscrowPurse, ...issuerKit }: {
228
228
  issuer: ERef<Issuer<"nat">>;
229
229
  brand: Brand<"nat">;
230
230
  mint?: ERef<Mint<"nat">>;
@@ -244,7 +244,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
244
244
  [Symbol.asyncIterator](): import("@agoric/notifier").ForkableAsyncIterableIterator<any, any>;
245
245
  }>;
246
246
  /** @param {Brand} brand */
247
- getPurse(brand: Brand): Promise<RemotableObject & import("@agoric/ertp/src/types.js").PurseMethods<"nat", import("@endo/patterns").Key>>;
247
+ getPurse(brand: Brand): Promise<RemotableObject & import("@agoric/ertp").PurseMethods<"nat", import("@endo/patterns").Key>>;
248
248
  }>>;
249
249
  makePublishKit: ReturnType<(baggage: import("@agoric/swingset-liveslots").Baggage, kindName: string) => (options?: {
250
250
  valueDurability?: "mandatory" | undefined;
@@ -264,7 +264,7 @@ declare function prepareBankManager(zone: import("@agoric/zone").Zone, { provide
264
264
  pullAmount(_amount: any): Promise<never>;
265
265
  pushAmount(amount: any): Promise<void>;
266
266
  }>>;
267
- makeVirtualPurse: ReturnType<(zone: import("@agoric/zone").Zone) => (vpc: ERef<VirtualPurseController>, { escrowPurse: defaultEscrowPurse, ...issuerKit }: {
267
+ makeVirtualPurse: ReturnType<(zone: import("@agoric/base-zone").Zone) => (vpc: ERef<VirtualPurseController>, { escrowPurse: defaultEscrowPurse, ...issuerKit }: {
268
268
  issuer: ERef<Issuer<"nat">>;
269
269
  brand: Brand<"nat">;
270
270
  mint?: ERef<Mint<"nat">>;
@@ -1 +1 @@
1
- {"version":3,"file":"vat-bank.d.ts","sourceRoot":"","sources":["vat-bank.js"],"names":[],"mappings":"AAy1BA;IASI;;;;;;;;OAQG;yCAPQ,IAAI,CACd,OAAW,YAAY,EAAE,mBAAmB,CAAC,MAAM,CAAC,GAAG,SAAS,CAC7D;gBAGsB,OAAO,YAAY,EAAE,SAAS,CAAC,QAAQ,CAAC;;QAvPhE;;;;WAIG;gCADU,iBAAiB,CAAC,eAAe,CAAC;QAS/C;;;;;;;;WAQG;gDAPQ,MAAM,UACN,cAAc,GACZ,IAAI,CAChB,OAAW,WAAW,EAAE,KAAK,CAC7B,OAAa,2BAA2B,EAAE,YAAY,CACjD,CACF;QAkBJ;;;;;;WAMG;4CAHQ,MAAM,GACJ,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;QAenC;;;;;;;;;;;;WAYG;wBALQ,MAAM,cACN,MAAM,gBACN,MAAM,OACN,cAAc,GAAG;YAAE,OAAO,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAA;SAAE;QA2E9D;;;;;WAKG;mCAFQ,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC;;;IAgG5B;;;;;;;;OAQG;yCAPQ,IAAI,CACd,OAAW,YAAY,EAAE,mBAAmB,CAAC,MAAM,CAAC,GAAG,SAAS,CAC7D;gBAGsB,OAAO,YAAY,EAAE,SAAS,CAAC,QAAQ,CAAC;;QAvPhE;;;;WAIG;gCADU,iBAAiB,CAAC,eAAe,CAAC;QAS/C;;;;;;;;WAQG;gDAPQ,MAAM,UACN,cAAc,GACZ,IAAI,CAChB,OAAW,WAAW,EAAE,KAAK,CAC7B,OAAa,2BAA2B,EAAE,YAAY,CACj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E,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;;;IAwC3D;;;;OAIG;4BADU,iBAAiB,CAAC,eAAe,CAAC;IAS/C;;;;;;;;OAQG;4CAPQ,MAAM,UACN,cAAc,GACZ,IAAI,CAChB,OAAW,WAAW,EAAE,KAAK,CAC7B,OAAa,2BAA2B,EAAE,YAAY,CACjD,CACF;IAkBJ;;;;;;OAMG;wCAHQ,MAAM,GACJ,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAenC;;;;;;;;;;;;OAYG;oBALQ,MAAM,cACN,MAAM,gBACN,MAAM,OACN,cAAc,GAAG;QAAE,OAAO,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAA;KAAE;IA2E9D;;;;;OAKG;+BAFQ,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC;GAiC/B;4CAzwBwC,oBAAoB"}
@@ -5,10 +5,10 @@
5
5
  */
6
6
  export function buildRootObject(_vatPowers: unknown, _vatParameters: unknown, baggage: import("@agoric/vat-data").Baggage): {
7
7
  getBoard: () => import("@endo/exo").Guarded<{
8
- getId(value: import("@endo/marshal").RemotableObject): string;
9
- getValue(id: BoardId): import("@endo/marshal").RemotableObject;
8
+ getId(value: import("@endo/pass-style").RemotableObject): string;
9
+ getValue(id: BoardId): import("@endo/pass-style").RemotableObject;
10
10
  lookup(...path: string[]): Promise<any>;
11
- has(val: import("@endo/marshal").RemotableObject): boolean;
11
+ has(val: import("@endo/pass-style").RemotableObject): boolean;
12
12
  ids(): string[];
13
13
  getPublishingMarshaller(): import("@endo/exo").Guarded<{
14
14
  toCapData(val: any): import("@endo/marshal").CapData<string>;
@@ -23,14 +23,14 @@ export function buildRootObject(_vatPowers: unknown, _vatParameters: unknown, ba
23
23
  unserialize(data: any): any;
24
24
  }>;
25
25
  }>;
26
- makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("jessie.js").FarRef<StorageNode>>, valueShape?: import("@agoric/internal").TypedPattern<T> | undefined) => RecorderKit<T>;
27
- makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("jessie.js").FarRef<StorageNode>>, valueShape?: import("@agoric/internal").TypedPattern<T> | undefined) => RecorderKit<T>;
28
- } & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
26
+ makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/internal").TypedPattern<T> | undefined) => RecorderKit<T>;
27
+ makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/internal").TypedPattern<T> | undefined) => RecorderKit<T>;
28
+ } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
29
29
  getBoard: () => import("@endo/exo").Guarded<{
30
- getId(value: import("@endo/marshal").RemotableObject): string;
31
- getValue(id: BoardId): import("@endo/marshal").RemotableObject;
30
+ getId(value: import("@endo/pass-style").RemotableObject): string;
31
+ getValue(id: BoardId): import("@endo/pass-style").RemotableObject;
32
32
  lookup(...path: string[]): Promise<any>;
33
- has(val: import("@endo/marshal").RemotableObject): boolean;
33
+ has(val: import("@endo/pass-style").RemotableObject): boolean;
34
34
  ids(): string[];
35
35
  getPublishingMarshaller(): import("@endo/exo").Guarded<{
36
36
  toCapData(val: any): import("@endo/marshal").CapData<string>;
@@ -45,7 +45,7 @@ export function buildRootObject(_vatPowers: unknown, _vatParameters: unknown, ba
45
45
  unserialize(data: any): any;
46
46
  }>;
47
47
  }>;
48
- makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("jessie.js").FarRef<StorageNode>>, valueShape?: import("@agoric/internal").TypedPattern<T> | undefined) => RecorderKit<T>;
49
- makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("jessie.js").FarRef<StorageNode>>, valueShape?: import("@agoric/internal").TypedPattern<T> | undefined) => RecorderKit<T>;
48
+ makePublishingRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/internal").TypedPattern<T> | undefined) => RecorderKit<T>;
49
+ makeReadOnlyRecorderKit: <T>(storageNode: StorageNode | Awaited<import("@endo/far").FarRef<StorageNode>>, valueShape?: import("@agoric/internal").TypedPattern<T> | undefined) => RecorderKit<T>;
50
50
  }>;
51
51
  //# sourceMappingURL=vat-board.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vat-bridge.d.ts","sourceRoot":"","sources":["vat-bridge.js"],"names":[],"mappings":"AAOA;yDAea,IAAI,CAAC,OAAO,YAAY,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC,YACzD,MAAM,YACN,MAAM;;;;oBA0BqxJ,CAAC;;;;oEAAmH,YAAY;;yDA5B35J,IAAI,CAAC,OAAO,YAAY,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC,YACzD,MAAM,YACN,MAAM;;;;oBA0BqxJ,CAAC;;;;;GADxyJ"}
1
+ {"version":3,"file":"vat-bridge.d.ts","sourceRoot":"","sources":["vat-bridge.js"],"names":[],"mappings":"AAOA;yDAea,IAAI,CAAC,OAAO,YAAY,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC,YACzD,MAAM,YACN,MAAM;;;;oBA0B0xJ,CAAC;;;;oEAAyG,YAAY;;yDA5Bt5J,IAAI,CAAC,OAAO,YAAY,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC,YACzD,MAAM,YACN,MAAM;;;;oBA0B0xJ,CAAC;;;;;GAD7yJ"}
@@ -12,14 +12,12 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
12
12
  }>(request: T): import("@agoric/vow").PromiseVow<import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto").ResponseTo<T>>>;
13
13
  queryMany(requests: {
14
14
  '@type': string;
15
- }[]): import("./localchain.js").PromiseVowOfTupleMappedToGenerics<{ [K in keyof {
16
- '@type': string;
17
- }[]]: import("@agoric/cosmic-proto").JsonSafe<{
18
- error?: string;
19
- reply: import("@agoric/cosmic-proto").ResponseTo<{
15
+ }[]): import("./localchain.js").PromiseVowOfTupleMappedToGenerics<{
16
+ error?: string | undefined;
17
+ reply: {
20
18
  '@type': string;
21
- }[][K]>;
22
- }>; }>;
19
+ };
20
+ }[]>;
23
21
  }>;
24
22
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
25
23
  /**
@@ -35,14 +33,12 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
35
33
  }>(request: T): import("@agoric/vow").PromiseVow<import("@agoric/cosmic-proto").JsonSafe<import("@agoric/cosmic-proto").ResponseTo<T>>>;
36
34
  queryMany(requests: {
37
35
  '@type': string;
38
- }[]): import("./localchain.js").PromiseVowOfTupleMappedToGenerics<{ [K in keyof {
39
- '@type': string;
40
- }[]]: import("@agoric/cosmic-proto").JsonSafe<{
41
- error?: string;
42
- reply: import("@agoric/cosmic-proto").ResponseTo<{
36
+ }[]): import("./localchain.js").PromiseVowOfTupleMappedToGenerics<{
37
+ error?: string | undefined;
38
+ reply: {
43
39
  '@type': string;
44
- }[][K]>;
45
- }>; }>;
40
+ };
41
+ }[]>;
46
42
  }>;
47
43
  }>;
48
44
  export type LocalChainVat = ReturnType<typeof buildRootObject>;
@@ -1 +1 @@
1
- {"version":3,"file":"vat-localchain.d.ts","sourceRoot":"","sources":["vat-localchain.js"],"names":[],"mappings":"AAOO;IASH;;;;;OAKG;2BADQ,OAAO,iBAAiB,EAAE,gBAAgB;;;;;;;;;;iBASuiB,CAAC;;;;;;;IAb7lB;;;;;OAKG;2BADQ,OAAO,iBAAiB,EAAE,gBAAgB;;;;;;;;;;iBASuiB,CAAC;;;;;;GAHhmB;4BAEa,UAAU,CAAC,OAAO,eAAe,CAAC"}
1
+ {"version":3,"file":"vat-localchain.d.ts","sourceRoot":"","sources":["vat-localchain.js"],"names":[],"mappings":"AAOO;IASH;;;;;OAKG;2BADQ,OAAO,iBAAiB,EAAE,gBAAgB;;;;;;;;;;;;;;;IAJrD;;;;;OAKG;2BADQ,OAAO,iBAAiB,EAAE,gBAAgB;;;;;;;;;;;;;;GAMxD;4BAEa,UAAU,CAAC,OAAO,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"vat-network.d.ts","sourceRoot":"","sources":["vat-network.js"],"names":[],"mappings":"AAYA;;;;;qIAsC2hnC,aAAa;;;;;;;;;;;;;;;;;;;IAXpinC,wEAAwE;;IAGxE,0EAA0E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAH1E,wEAAwE;;IAGxE,0EAA0E;;;;;;;;GAO7E"}
1
+ {"version":3,"file":"vat-network.d.ts","sourceRoot":"","sources":["vat-network.js"],"names":[],"mappings":"AAYA;;;;;qIAsCslnC,aAAa;;;;;;;;;;;;;;;;;;;IAX/lnC,wEAAwE;;IAGxE,0EAA0E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAH1E,wEAAwE;;IAGxE,0EAA0E;;;;;;;;GAO7E"}
@@ -8,7 +8,7 @@
8
8
  */
9
9
  export function buildRootObject(_vatPowers: VatPowers, _vatParams: unknown, baggage: import("@agoric/vat-data").Baggage): {
10
10
  getRegistry: () => import("./priceAuthorityRegistry.js").PriceAuthorityRegistry;
11
- } & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
11
+ } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
12
12
  getRegistry: () => import("./priceAuthorityRegistry.js").PriceAuthorityRegistry;
13
13
  }>;
14
14
  //# sourceMappingURL=vat-priceAuthority.d.ts.map
@@ -1,11 +1,11 @@
1
1
  export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
2
2
  /**
3
- * @template {import('@agoric/internal').BridgeIdValue} T
3
+ * @template {import('@agoric/internal').BridgeId} T
4
4
  * @param {import('./types').ScopedBridgeManager<T>} manager
5
5
  * @param {string} [inboundType]
6
6
  * @param {import('./bridge-target').AppTransformer} [appTransformer]
7
7
  */
8
- provideBridgeTargetKit<T extends import("@agoric/internal").BridgeIdValue>(manager: import("./types").ScopedBridgeManager<T>, inboundType?: string | undefined, appTransformer?: import("./bridge-target.js").AppTransformer | undefined): import("@endo/exo").GuardedKit<{
8
+ provideBridgeTargetKit<T extends import("@agoric/internal").BridgeId>(manager: import("./types").ScopedBridgeManager<T>, inboundType?: string | undefined, appTransformer?: import("./bridge-target.js").AppTransformer | undefined): import("@endo/exo").GuardedKit<{
9
9
  bridgeHandler: {
10
10
  fromBridge(obj: any): Promise<any>;
11
11
  };
@@ -39,12 +39,12 @@ export function buildRootObject(_vatPowers: any, _args: any, baggage: any): {
39
39
  }>;
40
40
  } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
41
41
  /**
42
- * @template {import('@agoric/internal').BridgeIdValue} T
42
+ * @template {import('@agoric/internal').BridgeId} T
43
43
  * @param {import('./types').ScopedBridgeManager<T>} manager
44
44
  * @param {string} [inboundType]
45
45
  * @param {import('./bridge-target').AppTransformer} [appTransformer]
46
46
  */
47
- provideBridgeTargetKit<T extends import("@agoric/internal").BridgeIdValue>(manager: import("./types").ScopedBridgeManager<T>, inboundType?: string | undefined, appTransformer?: import("./bridge-target.js").AppTransformer | undefined): import("@endo/exo").GuardedKit<{
47
+ provideBridgeTargetKit<T extends import("@agoric/internal").BridgeId>(manager: import("./types").ScopedBridgeManager<T>, inboundType?: string | undefined, appTransformer?: import("./bridge-target.js").AppTransformer | undefined): import("@endo/exo").GuardedKit<{
48
48
  bridgeHandler: {
49
49
  fromBridge(obj: any): Promise<any>;
50
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"vat-transfer.d.ts","sourceRoot":"","sources":["vat-transfer.js"],"names":[],"mappings":"AASO;IAyBH;;;;;OAKG;2BAJqD,CAAC,SAA5C,OAAQ,kBAAkB,EAAE,aAAc,WAC5C,OAAO,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC;;;;;;;;;;;;;IAkBnD;;;OAGG;;;yCAM6iK,oBAAiB;;;;;;;;yDAAl6C,oBAAoB;+DAApB,oBAAoB;;;;;IA7BnrH;;;;;OAKG;2BAJqD,CAAC,SAA5C,OAAQ,kBAAkB,EAAE,aAAc,WAC5C,OAAO,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC;;;;;;;;;;;;;IAkBnD;;;OAGG;;;;;;;;;;;;;;;;GAGN;0BAEa,UAAU,CAAC,OAAO,eAAe,CAAC"}
1
+ {"version":3,"file":"vat-transfer.d.ts","sourceRoot":"","sources":["vat-transfer.js"],"names":[],"mappings":"AASO;IAyBH;;;;;OAKG;2BAJgD,CAAC,SAAvC,OAAQ,kBAAkB,EAAE,QAAS,WACvC,OAAO,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC;;;;;;;;;;;;;IAkBnD;;;OAGG;;;yCAMkjK,oBAAiB;;;;;;;;yDAAl6C,oBAAoB;+DAApB,oBAAoB;;;;;IA7BxrH;;;;;OAKG;2BAJgD,CAAC,SAAvC,OAAQ,kBAAkB,EAAE,QAAS,WACvC,OAAO,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC;;;;;;;;;;;;;IAkBnD;;;OAGG;;;;;;;;;;;;;;;;GAGN;0BAEa,UAAU,CAAC,OAAO,eAAe,CAAC"}
@@ -33,7 +33,7 @@ export const buildRootObject = (_vatPowers, _args, baggage) => {
33
33
  const managerToKits = zone.weakMapStore('managerToHandler');
34
34
  return Far('TransferVat', {
35
35
  /**
36
- * @template {import('@agoric/internal').BridgeIdValue} T
36
+ * @template {import('@agoric/internal').BridgeId} T
37
37
  * @param {import('./types').ScopedBridgeManager<T>} manager
38
38
  * @param {string} [inboundType]
39
39
  * @param {import('./bridge-target').AppTransformer} [appTransformer]
@@ -1 +1 @@
1
- {"version":3,"file":"virtual-purse.d.ts","sourceRoot":"","sources":["virtual-purse.js"],"names":[],"mappings":"AAmBO,qDAHI,OAAO,gBACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DjB;AAwNM,0CADK,OAAO,cAAc,EAAE,IAAI,SAK1B,IAAI,CAAC,sBAAsB,CAAC,qDAE5B;IACV,MAAU,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAChC,KAAS,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACxB,IAAQ,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7B,WAAe,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;CAClC,KAQS,OAAO,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CA0BnD;qBAhQY,CACZ,GAAO,EAAE,OAAO,CAAC,KAAK,CAAC,EACvB,cAAkB,CAAC,EAAE,OAAO,KACrB,OAAO,CAAC,MAAM,CAAC;qBAET,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;;;;;;;;;;;;gBAK/C,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC;;;;;;;gBAIjC,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC;;;;;iBAIjC,CAAC,KAAK,EAAE,KAAK,KAAK,WAAW,CAAC,MAAM,CAAC;;2BArB1B,WAAW"}
1
+ {"version":3,"file":"virtual-purse.d.ts","sourceRoot":"","sources":["virtual-purse.js"],"names":[],"mappings":"AAmBO,qDAHI,OAAO,gBACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+DjB;AAwNM,0CADK,OAAO,cAAc,EAAE,IAAI,SAK1B,IAAI,CAAC,sBAAsB,CAAC,qDAE5B;IACN,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IACzB,WAAW,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;CAClC,KAQS,OAAO,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CA0BnD;qBAhQY,CACR,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC,EACnB,cAAc,CAAC,EAAE,OAAO,KACrB,OAAO,CAAC,MAAM,CAAC;qBAET,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;;;;;;;;;;;;gBAK/C,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC;;;;;;;gBAIjC,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC;;;;;iBAIjC,CAAC,KAAK,EAAE,KAAK,KAAK,WAAW,CAAC,MAAM,CAAC;;2BArB1B,WAAW"}
@@ -4,11 +4,12 @@ export function makeFakeBankKit(issuerKits: Pick<IssuerKit<"nat">, "brand" | "is
4
4
  bank: import("../src/vat-bank.js").Bank;
5
5
  };
6
6
  export function makeFakeBankManagerKit(opts?: {
7
- balances: import("./fake-bridge.js").Balances;
7
+ balances?: import("./fake-bridge.js").Balances | undefined;
8
+ onToBridge?: ((obj: any) => unknown) | undefined;
8
9
  } | undefined): Promise<{
9
10
  bankManager: import("@endo/exo").Guarded<{
10
11
  getAssetSubscription(): IterableEachTopic<AssetDescriptor>;
11
- getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<import("@endo/far").EOnly<import("@agoric/ertp/src/types.js").DepositFacet>>;
12
+ getRewardDistributorDepositFacet(denom: string, feeKit: AssetIssuerKit): ERef<import("@endo/far").EOnly<import("@agoric/ertp").DepositFacet>>;
12
13
  getModuleAccountAddress(moduleName: string): Promise<string | null>;
13
14
  addAsset(denom: string, issuerName: string, proposedName: string, kit: AssetIssuerKit & {
14
15
  payment?: ERef<Payment<"nat">>;
@@ -1 +1 @@
1
- {"version":3,"file":"bank-utils.d.ts","sourceRoot":"","sources":["bank-utils.js"],"names":[],"mappings":"AAYO,4CAFI,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,EAAE;sBA4B1C,MAAM,cACN,MAAM,gBACN,MAAM,OACN,OAAO,oBAAoB,EAAE,cAAc;;;EAqBvD;AAMM;cAFI,OAAO,kBAAkB,EAAE,QAAQ;;;;6FA0Bg+gB,WAAW,eAA6B,2BAA2B;;;mBAAo8C,CAAC;;;;0BAXzgkB,MAAM,CAAC,KAAK,CAAC,KACX,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;GASrC"}
1
+ {"version":3,"file":"bank-utils.d.ts","sourceRoot":"","sources":["bank-utils.js"],"names":[],"mappings":"AAYO,4CAFI,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC,EAAE;sBA4B1C,MAAM,cACN,MAAM,gBACN,MAAM,OACN,OAAO,oBAAoB,EAAE,cAAc;;;EAqBvD;AAOM;;gCAFa,OAAO;;;;6FA0Bo6gB,WAAW,eAA6B,cAA2B;;;mBAAo8C,CAAC;;;;0BAX17jB,MAAM,CAAC,KAAK,CAAC,KACX,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;GASrC"}
@@ -64,7 +64,8 @@ export const makeFakeBankKit = issuerKits => {
64
64
 
65
65
  /**
66
66
  * @param {object} [opts]
67
- * @param {import('./fake-bridge.js').Balances} opts.balances initial balances
67
+ * @param {import('./fake-bridge.js').Balances} [opts.balances] initial balances
68
+ * @param {(obj) => unknown} [opts.onToBridge] handler for toBridge messages
68
69
  */
69
70
  export const makeFakeBankManagerKit = async opts => {
70
71
  const baggage = makeScalarBigMapStore('baggage');
@@ -4,10 +4,10 @@ export function makeFakeBoard(initSequence?: number | bigint | undefined, option
4
4
  prefix?: string | undefined;
5
5
  crcDigits?: number | undefined;
6
6
  } | undefined): import("@endo/exo").Guarded<{
7
- getId(value: import("@endo/marshal").RemotableObject): string;
8
- getValue(id: BoardId): import("@endo/marshal").RemotableObject;
7
+ getId(value: import("@endo/pass-style").RemotableObject): string;
8
+ getValue(id: BoardId): import("@endo/pass-style").RemotableObject;
9
9
  lookup(...path: string[]): Promise<any>;
10
- has(val: import("@endo/marshal").RemotableObject): boolean;
10
+ has(val: import("@endo/pass-style").RemotableObject): boolean;
11
11
  ids(): string[];
12
12
  getPublishingMarshaller(): import("@endo/exo").Guarded<{
13
13
  toCapData(val: any): import("@endo/marshal").CapData<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"board-utils.d.ts","sourceRoot":"","sources":["board-utils.js"],"names":[],"mappings":";AAoCO,sEAHI,OAAO,4CAA4C,EAAE,cAAc,GACjE,kBAAkB,CA0C9B;AAYM;;;;;;;;;;;;;;;;;;;;;GAGN;+BA1FY;IACZ,KAAS,EAAE,OAAO,iCAAiC,EAAE,WAAW,CAAC;IACjE,KAAS,EAAE,MAAM,CAAC;IAClB,WAAe,EAAE,WAAW,CAAC;IAC7B,MAAU,EAAE,OAAO,iCAAiC,EAAE,WAAW,CAAC;IAClE,UAAc,EAAE,MAAM,CAAC;IACvB,YAAgB,EAAE,MAAM,CAAC;CACtB;iCAGS;IACZ,KAAS,EAAE,MAAM,CACjB,MAAY,EACZ,OAAa,iCAAiC,EAAE,WAAW,CACtD,CAAC;IACN,QAAY,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACvC,UAAc,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IACjD,OAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC"}
1
+ {"version":3,"file":"board-utils.d.ts","sourceRoot":"","sources":["board-utils.js"],"names":[],"mappings":";AAoCO,sEAHI,OAAO,4CAA4C,EAAE,cAAc,GACjE,kBAAkB,CA0C9B;AAYM;;;;;;;;;;;;;;;;;;;;;GAGN;+BA1FY;IACR,KAAK,EAAE,OAAO,iCAAiC,EAAE,WAAW,CAAC;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,OAAO,iCAAiC,EAAE,WAAW,CAAC;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB;iCAGS;IACR,KAAK,EAAE,MAAM,CACjB,MAAY,EACZ,OAAa,iCAAiC,EAAE,WAAW,CACtD,CAAC;IACF,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC7C,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC"}
@@ -34,7 +34,7 @@ export function makeMock(log: any): {
34
34
  _: string;
35
35
  };
36
36
  }>;
37
- } & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
37
+ } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
38
38
  addRemote: () => void;
39
39
  addEgress: () => void;
40
40
  addIngress: () => Promise<{
@@ -54,7 +54,7 @@ export function makeMock(log: any): {
54
54
  };
55
55
  timer: {
56
56
  createTimerService: () => Promise<import("@agoric/zoe/tools/manualTimer.js").ZoeManualTimer>;
57
- } & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
57
+ } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
58
58
  createTimerService: () => Promise<import("@agoric/zoe/tools/manualTimer.js").ZoeManualTimer>;
59
59
  }>;
60
60
  uploads: {
@@ -65,7 +65,7 @@ export function makeMock(log: any): {
65
65
  network: {
66
66
  registerProtocolHandler: () => void;
67
67
  makeLoopbackProtocolHandler: () => void;
68
- } & import("@endo/marshal").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
68
+ } & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
69
69
  registerProtocolHandler: () => void;
70
70
  makeLoopbackProtocolHandler: () => void;
71
71
  }>;
@@ -1,8 +1,9 @@
1
1
  /** @typedef {{ [address: string]: { [denom: string]: bigint } }} Balances */
2
2
  export const FAUCET_ADDRESS: "faucet";
3
- export function makeFakeBankBridge(zone: import("@agoric/zone").Zone, opts?: {
4
- balances: Balances;
5
- }): ScopedBridgeManager<"bank">;
3
+ export function makeFakeBankBridge(zone: import("@agoric/zone").Zone, { balances, onToBridge }?: {
4
+ balances?: Balances | undefined;
5
+ onToBridge?: ((obj: any) => void) | undefined;
6
+ } | undefined): ScopedBridgeManager<"bank">;
6
7
  export function makeFakeIbcBridge(zone: import("@agoric/zone").Zone, onToBridge: (obj: any) => void): ScopedBridgeManager<"dibc">;
7
8
  export const LOCALCHAIN_DEFAULT_ADDRESS: "agoric1fakeLCAAddress";
8
9
  export namespace SIMULATED_ERRORS {
@@ -1 +1 @@
1
- {"version":3,"file":"fake-bridge.d.ts","sourceRoot":"","sources":["fake-bridge.js"],"names":[],"mappings":"AAkBA,6EAA6E;AAE7E,sCAAuC;AAchC,yCANI,OAAO,cAAc,EAAE,IAAI,SAEnC;IAAuB,QAAQ,EAAvB,QAAQ;CAChB,GAAU,oBAAoB,MAAM,CAAC,CA0FvC;AAOM,wCAJI,OAAO,cAAc,EAAE,IAAI,cAC3B,CAAC,GAAG,KAAA,KAAK,IAAI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