@agoric/orchestration 0.2.0-upgrade-17-dev-ec448b0.0 → 0.2.0-upgrade-18-dev-b9b8db4.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.
- package/index.d.ts +1 -1
- package/index.js +2 -1
- package/package.json +29 -28
- package/src/chain-info.d.ts +31 -387
- package/src/chain-info.d.ts.map +1 -1
- package/src/chain-info.js +10 -64
- package/src/cosmos-api.d.ts +21 -10
- package/src/cosmos-api.d.ts.map +1 -1
- package/src/cosmos-api.ts +33 -14
- package/src/examples/README.md +3 -4
- package/src/examples/auto-stake-it-tap-kit.d.ts.map +1 -1
- package/src/examples/auto-stake-it-tap-kit.js +4 -7
- package/src/examples/auto-stake-it.contract.d.ts +1 -1
- package/src/examples/auto-stake-it.flows.d.ts +1 -1
- package/src/examples/auto-stake-it.flows.d.ts.map +1 -1
- package/src/examples/basic-flows.contract.d.ts +1 -1
- package/src/examples/basic-flows.flows.d.ts +1 -1
- package/src/examples/send-anywhere.contract.d.ts +20 -2
- package/src/examples/send-anywhere.contract.d.ts.map +1 -1
- package/src/examples/send-anywhere.contract.js +34 -18
- package/src/examples/send-anywhere.flows.d.ts +7 -7
- package/src/examples/send-anywhere.flows.d.ts.map +1 -1
- package/src/examples/send-anywhere.flows.js +40 -20
- package/src/examples/shared.flows.d.ts +4 -0
- package/src/examples/shared.flows.d.ts.map +1 -0
- package/src/examples/shared.flows.js +21 -0
- package/src/examples/stake-bld.contract.d.ts +49 -0
- package/src/examples/stake-bld.contract.d.ts.map +1 -0
- package/src/examples/{stakeBld.contract.js → stake-bld.contract.js} +10 -1
- package/src/examples/stake-ica.contract.d.ts +126 -0
- package/src/examples/stake-ica.contract.d.ts.map +1 -0
- package/src/examples/{stakeIca.contract.js → stake-ica.contract.js} +6 -2
- package/src/examples/staking-combinations.contract.d.ts +1 -1
- package/src/examples/staking-combinations.contract.d.ts.map +1 -1
- package/src/examples/staking-combinations.contract.js +16 -13
- package/src/examples/staking-combinations.flows.d.ts +6 -9
- package/src/examples/staking-combinations.flows.d.ts.map +1 -1
- package/src/examples/staking-combinations.flows.js +19 -16
- package/src/examples/swap.contract.d.ts.map +1 -1
- package/src/examples/swap.contract.js +0 -1
- package/src/examples/unbond.contract.d.ts +1 -1
- package/src/examples/unbond.contract.d.ts.map +1 -1
- package/src/examples/unbond.contract.js +10 -5
- package/src/examples/unbond.flows.d.ts +4 -3
- package/src/examples/unbond.flows.d.ts.map +1 -1
- package/src/examples/unbond.flows.js +23 -31
- package/src/exos/chain-hub.d.ts +12 -4
- package/src/exos/chain-hub.d.ts.map +1 -1
- package/src/exos/chain-hub.js +28 -19
- package/src/exos/combine-invitation-makers.d.ts +1 -0
- package/src/exos/combine-invitation-makers.d.ts.map +1 -1
- package/src/exos/combine-invitation-makers.js +6 -0
- package/src/exos/cosmos-interchain-service.d.ts +20 -70
- package/src/exos/cosmos-interchain-service.d.ts.map +1 -1
- package/src/exos/cosmos-orchestration-account.d.ts +152 -47
- package/src/exos/cosmos-orchestration-account.d.ts.map +1 -1
- package/src/exos/cosmos-orchestration-account.js +355 -13
- package/src/exos/exo-interfaces.d.ts +3 -3
- package/src/exos/exo-interfaces.d.ts.map +1 -1
- package/src/exos/exo-interfaces.ts +3 -3
- package/src/exos/ica-account-kit.d.ts +2 -2
- package/src/exos/ica-account-kit.d.ts.map +1 -1
- package/src/exos/icq-connection-kit.d.ts +17 -1
- package/src/exos/icq-connection-kit.d.ts.map +1 -1
- package/src/exos/local-chain-facade.d.ts +22 -170
- package/src/exos/local-chain-facade.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.d.ts +41 -48
- package/src/exos/local-orchestration-account.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.js +94 -13
- package/src/exos/orchestrator.d.ts +44 -136
- package/src/exos/orchestrator.d.ts.map +1 -1
- package/src/exos/orchestrator.js +42 -44
- package/src/exos/packet-tools.d.ts +21 -81
- package/src/exos/packet-tools.d.ts.map +1 -1
- package/src/exos/portfolio-holder-kit.d.ts +4 -4
- package/src/exos/portfolio-holder-kit.d.ts.map +1 -1
- package/src/exos/portfolio-holder-kit.js +65 -10
- package/src/exos/remote-chain-facade.d.ts +35 -128
- package/src/exos/remote-chain-facade.d.ts.map +1 -1
- package/src/facade.d.ts.map +1 -1
- package/src/facade.js +7 -0
- package/src/fetched-chain-info.d.ts +30 -340
- package/src/fetched-chain-info.js +18 -329
- package/src/fixtures/query-flows.flows.d.ts.map +1 -1
- package/src/orchestration-api.d.ts +4 -8
- package/src/orchestration-api.d.ts.map +1 -1
- package/src/orchestration-api.ts +3 -8
- package/src/proposals/init-chain-info.js +3 -3
- package/src/proposals/orchestration-proposal.d.ts.map +1 -1
- package/src/proposals/start-stakeAtom.d.ts +78 -16
- package/src/proposals/start-stakeAtom.d.ts.map +1 -1
- package/src/proposals/start-stakeAtom.js +9 -4
- package/src/proposals/start-stakeBld.d.ts +13 -39
- package/src/proposals/start-stakeBld.d.ts.map +1 -1
- package/src/proposals/start-stakeBld.js +2 -2
- package/src/proposals/start-stakeOsmo.d.ts +77 -15
- package/src/proposals/start-stakeOsmo.d.ts.map +1 -1
- package/src/proposals/start-stakeOsmo.js +9 -4
- package/src/typeGuards.d.ts +5 -1
- package/src/typeGuards.d.ts.map +1 -1
- package/src/typeGuards.js +21 -9
- package/src/types-index.d.ts +1 -0
- package/src/types-index.js +1 -0
- package/src/types.d.ts +14 -4
- package/src/types.d.ts.map +1 -1
- package/src/types.ts +15 -4
- package/src/utils/cosmos.d.ts +40 -1
- package/src/utils/cosmos.d.ts.map +1 -1
- package/src/utils/cosmos.js +48 -1
- package/src/utils/orchestrationAccount.js +1 -1
- package/src/utils/registry.d.ts.map +1 -1
- package/src/utils/registry.js +0 -3
- package/src/utils/start-helper.d.ts +4 -10
- package/src/utils/start-helper.d.ts.map +1 -1
- package/src/utils/start-helper.js +18 -15
- package/src/utils/zcf-tools.d.ts +5 -0
- package/src/utils/zcf-tools.d.ts.map +1 -0
- package/src/utils/zcf-tools.js +35 -0
- package/src/utils/zoe-tools.d.ts +5 -8
- package/src/utils/zoe-tools.d.ts.map +1 -1
- package/src/utils/zoe-tools.js +136 -33
- package/src/vat-orchestration.d.ts.map +1 -1
- package/src/examples/stakeBld.contract.d.ts +0 -75
- package/src/examples/stakeBld.contract.d.ts.map +0 -1
- package/src/examples/stakeIca.contract.d.ts +0 -64
- package/src/examples/stakeIca.contract.d.ts.map +0 -1
|
@@ -5,175 +5,29 @@ export function prepareLocalChainFacade(zone: Zone, powers: LocalChainFacadePowe
|
|
|
5
5
|
stakingTokens?: Readonly<Array<{
|
|
6
6
|
denom: string;
|
|
7
7
|
}>>;
|
|
8
|
-
}>) =>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}>) => import("@endo/exo").GuardedKit<{
|
|
16
|
-
public: {
|
|
17
|
-
getChainInfo(): Vow<Readonly<{
|
|
18
|
-
chainId: string;
|
|
19
|
-
connections?: Record<string, IBCConnectionInfo>;
|
|
20
|
-
icqEnabled?: boolean;
|
|
21
|
-
stakingTokens?: Readonly<Array<{
|
|
22
|
-
denom: string;
|
|
23
|
-
}>>;
|
|
8
|
+
}>) => import("@endo/exo").Guarded<{
|
|
9
|
+
getChainInfo(): Vow<Readonly<{
|
|
10
|
+
chainId: string;
|
|
11
|
+
connections?: Record<string, IBCConnectionInfo>;
|
|
12
|
+
icqEnabled?: boolean;
|
|
13
|
+
stakingTokens?: Readonly<Array<{
|
|
14
|
+
denom: string;
|
|
24
15
|
}>>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
16
|
+
}>>;
|
|
17
|
+
/** @returns {Vow<LocalOrchestrationAccountKit['holder']>} */
|
|
18
|
+
makeAccount(): Vow<LocalOrchestrationAccountKit["holder"]>;
|
|
19
|
+
/** @type {HostOf<Chain<{ chainId: 'agoriclocal' }>['query']>} */
|
|
20
|
+
query(args_0: {
|
|
21
|
+
'@type': string;
|
|
22
|
+
}[]): Vow<{
|
|
23
|
+
error?: string | undefined;
|
|
24
|
+
reply: {
|
|
29
25
|
'@type': string;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}>[] extends import("@endo/pass-style").Passable ? import("@agoric/cosmic-proto").JsonSafe<{
|
|
36
|
-
error?: string;
|
|
37
|
-
reply: {
|
|
38
|
-
'@type': string;
|
|
39
|
-
};
|
|
40
|
-
}>[] : import("@agoric/async-flow").HostInterface<import("@agoric/cosmic-proto").JsonSafe<{
|
|
41
|
-
error?: string;
|
|
42
|
-
reply: {
|
|
43
|
-
'@type': string;
|
|
44
|
-
};
|
|
45
|
-
}>[]>>;
|
|
46
|
-
/** @type {HostOf<AgoricChainMethods['getVBankAssetInfo']>} */
|
|
47
|
-
getVBankAssetInfo(): Vow<AssetInfo[] extends import("@endo/pass-style").Passable ? AssetInfo[] : import("@agoric/async-flow").HostInterface<AssetInfo[]>>;
|
|
48
|
-
};
|
|
49
|
-
vbankAssetValuesWatcher: {
|
|
50
|
-
/**
|
|
51
|
-
* @param {AssetInfo[]} assets
|
|
52
|
-
*/
|
|
53
|
-
onFulfilled(assets: AssetInfo[]): Vow<AssetInfo[]>;
|
|
54
|
-
};
|
|
55
|
-
makeAccountWatcher: {
|
|
56
|
-
/**
|
|
57
|
-
* @param {[LocalChainAccount, ChainAddress['value']]} results
|
|
58
|
-
*/
|
|
59
|
-
onFulfilled([account, address]: [LocalChainAccount, ChainAddress["value"]]): Vow<import("@endo/exo").Guarded<{
|
|
60
|
-
asContinuingOffer(): Vow<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult extends import("@endo/pass-style").Passable ? import("@endo/pass-style").Passable & import("../utils/zoe-tools.js").ResolvedContinuingOfferResult : import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
|
|
61
|
-
getBalance(denom: import("../orchestration-api.js").DenomArg): Vow<import("../orchestration-api.js").DenomAmount extends import("@endo/pass-style").Passable ? import("../orchestration-api.js").DenomAmount : import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").DenomAmount>>;
|
|
62
|
-
getBalances(): Vow<import("../orchestration-api.js").DenomAmount[] extends import("@endo/pass-style").Passable ? import("../orchestration-api.js").DenomAmount[] : import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").DenomAmount[]>>;
|
|
63
|
-
getPublicTopics(): Vow<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>> extends import("@endo/pass-style").Passable ? import("@endo/pass-style").Passable & Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>> : import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
|
|
64
|
-
delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Vow<Record<unknown, unknown>>;
|
|
65
|
-
undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): Vow<void | import("@agoric/time").TimestampRecord>;
|
|
66
|
-
deposit(payment: globalThis.ERef<globalThis.Payment<"nat">>, optAmountShape?: globalThis.Pattern): Vow<import("@agoric/ertp/src/types.js").NatAmount | Vow<import("@agoric/ertp/src/types.js").NatAmount> extends import("@endo/pass-style").Passable ? import("@agoric/ertp/src/types.js").NatAmount | Vow<import("@agoric/ertp/src/types.js").NatAmount> : import("@agoric/async-flow").HostInterface<import("@agoric/ertp/src/types.js").NatAmount | Vow<import("@agoric/ertp/src/types.js").NatAmount>>>;
|
|
67
|
-
withdraw(amount: import("@agoric/ertp/src/types.js").NatAmount): Vow<globalThis.Payment<"nat"> | Vow<globalThis.Payment<"nat">> extends import("@endo/pass-style").Passable ? globalThis.Payment<"nat"> | Vow<globalThis.Payment<"nat">> : import("@agoric/async-flow").HostInterface<globalThis.Payment<"nat"> | Vow<globalThis.Payment<"nat">>>>;
|
|
68
|
-
executeTx(messages: {
|
|
69
|
-
'@type': string;
|
|
70
|
-
}[]): Vow<import("@agoric/cosmic-proto").JsonSafe<{
|
|
71
|
-
'@type': string;
|
|
72
|
-
}>[] extends import("@endo/pass-style").Passable ? import("@agoric/cosmic-proto").JsonSafe<{
|
|
73
|
-
'@type': string;
|
|
74
|
-
}>[] : import("@agoric/async-flow").HostInterface<import("@agoric/cosmic-proto").JsonSafe<{
|
|
75
|
-
'@type': string;
|
|
76
|
-
}>[]>>;
|
|
77
|
-
getAddress(): ChainAddress;
|
|
78
|
-
send(toAccount: ChainAddress, amounts: import("../orchestration-api.js").AmountArg): Vow<void extends import("@endo/pass-style").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
79
|
-
sendAll(toAccount: ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): Vow<void extends import("@endo/pass-style").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
80
|
-
transfer(amount: import("../orchestration-api.js").AmountArg, destination: ChainAddress, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): Vow<any>;
|
|
81
|
-
transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): Vow<void extends import("@endo/pass-style").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
82
|
-
sendThenWaitForAck(packetSender: Remote<import("./packet-tools.js").PacketSender>, opts?: import("./packet-tools.js").PacketOptions | undefined): import("@agoric/async-flow").HostInterface<Vow<any>>;
|
|
83
|
-
matchFirstPacket(args_0?: import("@agoric/vow").EVow<globalThis.Pattern>): import("@agoric/async-flow").HostInterface<Vow<{
|
|
84
|
-
resolver: import("@agoric/vow").VowResolver<any>;
|
|
85
|
-
match: Vow<any>;
|
|
86
|
-
}>>;
|
|
87
|
-
monitorTransfers(tap: import("@agoric/vats/src/bridge-target.js").TargetApp): Vow<import("@agoric/vats/src/bridge-target.js").TargetRegistration | Vow<import("@agoric/vats/src/bridge-target.js").TargetRegistration> extends import("@endo/pass-style").Passable ? (string & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (string & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
88
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
89
|
-
}) | (number & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (number & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
90
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
91
|
-
}) | (bigint & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (false & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (false & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
92
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
93
|
-
}) | (true & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (true & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
94
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
95
|
-
}) | (symbol & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (symbol & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
96
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
97
|
-
}) | (void & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (void & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
98
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
99
|
-
}) | (Error & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (Error & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
100
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
101
|
-
}) | (Promise<any> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (Promise<any> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
102
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
103
|
-
}) | (import("@endo/pass-style").RemotableObject<string> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyArrayI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyArrayI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
104
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
105
|
-
}) | (import("@endo/pass-style").CopyRecordI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyRecordI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
106
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
107
|
-
}) | (import("@endo/pass-style").CopyTaggedI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyTaggedI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
108
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
109
|
-
}) : import("@agoric/async-flow").HostInterface<import("@agoric/vats/src/bridge-target.js").TargetRegistration | Vow<import("@agoric/vats/src/bridge-target.js").TargetRegistration>>>;
|
|
110
|
-
}>>;
|
|
111
|
-
};
|
|
112
|
-
makeChildNodeWatcher: {
|
|
113
|
-
/**
|
|
114
|
-
* @param {Remote<StorageNode>} childNode
|
|
115
|
-
* @param {{
|
|
116
|
-
* account: LocalChainAccount;
|
|
117
|
-
* address: ChainAddress['value'];
|
|
118
|
-
* }} ctx
|
|
119
|
-
*/
|
|
120
|
-
onFulfilled(childNode: Remote<StorageNode>, { account, address }: {
|
|
121
|
-
account: LocalChainAccount;
|
|
122
|
-
address: ChainAddress["value"];
|
|
123
|
-
}): import("@endo/exo").Guarded<{
|
|
124
|
-
asContinuingOffer(): Vow<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult extends import("@endo/pass-style").Passable ? import("@endo/pass-style").Passable & import("../utils/zoe-tools.js").ResolvedContinuingOfferResult : import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
|
|
125
|
-
getBalance(denom: import("../orchestration-api.js").DenomArg): Vow<import("../orchestration-api.js").DenomAmount extends import("@endo/pass-style").Passable ? import("../orchestration-api.js").DenomAmount : import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").DenomAmount>>;
|
|
126
|
-
getBalances(): Vow<import("../orchestration-api.js").DenomAmount[] extends import("@endo/pass-style").Passable ? import("../orchestration-api.js").DenomAmount[] : import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").DenomAmount[]>>;
|
|
127
|
-
getPublicTopics(): Vow<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>> extends import("@endo/pass-style").Passable ? import("@endo/pass-style").Passable & Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>> : import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
|
|
128
|
-
delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Vow<Record<unknown, unknown>>;
|
|
129
|
-
undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): Vow<void | import("@agoric/time").TimestampRecord>;
|
|
130
|
-
deposit(payment: globalThis.ERef<globalThis.Payment<"nat">>, optAmountShape?: globalThis.Pattern): Vow<import("@agoric/ertp/src/types.js").NatAmount | Vow<import("@agoric/ertp/src/types.js").NatAmount> extends import("@endo/pass-style").Passable ? import("@agoric/ertp/src/types.js").NatAmount | Vow<import("@agoric/ertp/src/types.js").NatAmount> : import("@agoric/async-flow").HostInterface<import("@agoric/ertp/src/types.js").NatAmount | Vow<import("@agoric/ertp/src/types.js").NatAmount>>>;
|
|
131
|
-
withdraw(amount: import("@agoric/ertp/src/types.js").NatAmount): Vow<globalThis.Payment<"nat"> | Vow<globalThis.Payment<"nat">> extends import("@endo/pass-style").Passable ? globalThis.Payment<"nat"> | Vow<globalThis.Payment<"nat">> : import("@agoric/async-flow").HostInterface<globalThis.Payment<"nat"> | Vow<globalThis.Payment<"nat">>>>;
|
|
132
|
-
executeTx(messages: {
|
|
133
|
-
'@type': string;
|
|
134
|
-
}[]): Vow<import("@agoric/cosmic-proto").JsonSafe<{
|
|
135
|
-
'@type': string;
|
|
136
|
-
}>[] extends import("@endo/pass-style").Passable ? import("@agoric/cosmic-proto").JsonSafe<{
|
|
137
|
-
'@type': string;
|
|
138
|
-
}>[] : import("@agoric/async-flow").HostInterface<import("@agoric/cosmic-proto").JsonSafe<{
|
|
139
|
-
'@type': string;
|
|
140
|
-
}>[]>>;
|
|
141
|
-
getAddress(): ChainAddress;
|
|
142
|
-
send(toAccount: ChainAddress, amounts: import("../orchestration-api.js").AmountArg): Vow<void extends import("@endo/pass-style").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
143
|
-
sendAll(toAccount: ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): Vow<void extends import("@endo/pass-style").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
144
|
-
transfer(amount: import("../orchestration-api.js").AmountArg, destination: ChainAddress, opts?: import("../cosmos-api.js").IBCMsgTransferOptions | undefined): Vow<any>;
|
|
145
|
-
transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): Vow<void extends import("@endo/pass-style").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
146
|
-
sendThenWaitForAck(packetSender: Remote<import("./packet-tools.js").PacketSender>, opts?: import("./packet-tools.js").PacketOptions | undefined): import("@agoric/async-flow").HostInterface<Vow<any>>;
|
|
147
|
-
matchFirstPacket(args_0?: import("@agoric/vow").EVow<globalThis.Pattern>): import("@agoric/async-flow").HostInterface<Vow<{
|
|
148
|
-
resolver: import("@agoric/vow").VowResolver<any>;
|
|
149
|
-
match: Vow<any>;
|
|
150
|
-
}>>;
|
|
151
|
-
monitorTransfers(tap: import("@agoric/vats/src/bridge-target.js").TargetApp): Vow<import("@agoric/vats/src/bridge-target.js").TargetRegistration | Vow<import("@agoric/vats/src/bridge-target.js").TargetRegistration> extends import("@endo/pass-style").Passable ? (string & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (string & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
152
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
153
|
-
}) | (number & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (number & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
154
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
155
|
-
}) | (bigint & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (false & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (false & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
156
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
157
|
-
}) | (true & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (true & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
158
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
159
|
-
}) | (symbol & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (symbol & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
160
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
161
|
-
}) | (void & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (void & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
162
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
163
|
-
}) | (Error & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (Error & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
164
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
165
|
-
}) | (Promise<any> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (Promise<any> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
166
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
167
|
-
}) | (import("@endo/pass-style").RemotableObject<string> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyArrayI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyArrayI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
168
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
169
|
-
}) | (import("@endo/pass-style").CopyRecordI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyRecordI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
170
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
171
|
-
}) | (import("@endo/pass-style").CopyTaggedI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyTaggedI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
172
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
173
|
-
}) : import("@agoric/async-flow").HostInterface<import("@agoric/vats/src/bridge-target.js").TargetRegistration | Vow<import("@agoric/vats/src/bridge-target.js").TargetRegistration>>>;
|
|
174
|
-
}>;
|
|
175
|
-
};
|
|
176
|
-
}>>["public"];
|
|
26
|
+
};
|
|
27
|
+
}[]>;
|
|
28
|
+
/** @type {HostOf<AgoricChainMethods['getVBankAssetInfo']>} */
|
|
29
|
+
getVBankAssetInfo(): Vow<AssetInfo[]>;
|
|
30
|
+
}>;
|
|
177
31
|
/**
|
|
178
32
|
* Chain facade methods unique to the Agoric (local) chain.
|
|
179
33
|
*/
|
|
@@ -202,11 +56,9 @@ import type { IBCConnectionInfo } from '../types.js';
|
|
|
202
56
|
import type { Vow } from '@agoric/vow';
|
|
203
57
|
import type { LocalOrchestrationAccountKit } from './local-orchestration-account.js';
|
|
204
58
|
import type { AssetInfo } from '@agoric/vats/src/vat-bank.js';
|
|
205
|
-
import type { LocalChainAccount } from '@agoric/vats/src/localchain.js';
|
|
206
|
-
import type { ChainAddress } from '../types.js';
|
|
207
|
-
import type { Remote } from '@agoric/internal';
|
|
208
59
|
import type { MakeLocalOrchestrationAccountKit } from './local-orchestration-account.js';
|
|
209
60
|
import type { CosmosInterchainService } from './exo-interfaces.js';
|
|
61
|
+
import type { Remote } from '@agoric/internal';
|
|
210
62
|
import type { NameHub } from '@agoric/vats';
|
|
211
63
|
import type { TimerService } from '@agoric/time';
|
|
212
64
|
import type { LocalChain } from '@agoric/vats/src/localchain.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-chain-facade.d.ts","sourceRoot":"","sources":["local-chain-facade.js"],"names":[],"mappings":"AA4LO,8CAJI,IAAI,UACJ,sBAAsB
|
|
1
|
+
{"version":3,"file":"local-chain-facade.d.ts","sourceRoot":"","sources":["local-chain-facade.js"],"names":[],"mappings":"AA4LO,8CAJI,IAAI,UACJ,sBAAsB;;;;;;;;;;;;;;;;IApFzB,6DAA6D;mBAA/C,IAAI,4BAA4B,CAAC,QAAQ,CAAC,CAAC;IAWzD,iEAAiE;;;;;;;;;IAIjE,8DAA8D;;GA2ErE;;;;;;;;;;;uBAnKa,MAAM,OAAO,CAAC,SAAS,EAAE,CAAC;;qCAO3B;IACR,gCAAgC,EAAE,gCAAgC,CAAC;IACnE,aAAa,EAAE,OAAO,uBAAuB,CAAC,CAAC;IAC/C,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;IACjC,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;IAC7B,KAAK,EAAE,OAAO,YAAY,CAAC,CAAC;IAC5B,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,QAAQ,EAAE,QAAQ,CAAC;CACpB;mCAuJU,UAAU,CAAC,OAAO,uBAAuB,CAAC;+BAC1C,UAAU,CAAC,oBAAoB,CAAC;0BAvLvB,mBAAmB;uCASiE,aAAa;yBAHxF,aAAa;kDAEoC,kCAAkC;+BAJvF,8BAA8B;sDAIuB,kCAAkC;6CADzE,qBAAqB;4BALtC,kBAAkB;6BAGjB,cAAc;kCAJT,cAAc;gCAEgB,gCAAgC;8BAG7D,aAAa"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKit, zcf, timerService, vowTools, chainHub, localchain }: {
|
|
1
|
+
export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKit, zcf, timerService, vowTools, chainHub, localchain, zoeTools, }: {
|
|
2
2
|
makeRecorderKit: MakeRecorderKit;
|
|
3
3
|
zcf: ZCF;
|
|
4
4
|
timerService: Remote<TimerService>;
|
|
5
5
|
vowTools: VowTools;
|
|
6
6
|
chainHub: ChainHub;
|
|
7
7
|
localchain: Remote<LocalChain>;
|
|
8
|
+
zoeTools: ZoeTools;
|
|
8
9
|
}): (args_0: {
|
|
9
10
|
account: LocalChainAccount;
|
|
10
11
|
address: ChainAddress;
|
|
@@ -23,6 +24,7 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
23
24
|
* @param {Amount<'nat'>} ertpAmount
|
|
24
25
|
*/
|
|
25
26
|
Delegate(validatorAddress: string, ertpAmount: Amount<"nat">): Promise<Invitation<Vow<Record<unknown, unknown>>, undefined>>;
|
|
27
|
+
Deposit(): Promise<Invitation<Vow<void>, undefined>>;
|
|
26
28
|
/**
|
|
27
29
|
* @param {string} validatorAddress
|
|
28
30
|
* @param {Amount<'nat'>} ertpAmount
|
|
@@ -40,8 +42,9 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
40
42
|
Transfer(): Promise<Invitation<Vow<void>, {
|
|
41
43
|
amount: AmountArg;
|
|
42
44
|
destination: ChainAddress;
|
|
43
|
-
opts
|
|
45
|
+
opts?: IBCMsgTransferOptions;
|
|
44
46
|
}>>;
|
|
47
|
+
Withdraw(): Promise<Invitation<Vow<void>, undefined>>;
|
|
45
48
|
};
|
|
46
49
|
undelegateWatcher: {
|
|
47
50
|
/**
|
|
@@ -98,6 +101,19 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
98
101
|
*/
|
|
99
102
|
onFulfilled(natAmount: Amount<"nat">, denom: DenomAmount["denom"]): DenomAmount;
|
|
100
103
|
};
|
|
104
|
+
/** exits or fails a seat depending the outcome */
|
|
105
|
+
seatExiterHandler: {
|
|
106
|
+
/**
|
|
107
|
+
* @param {undefined} _
|
|
108
|
+
* @param {ZCFSeat} seat
|
|
109
|
+
*/
|
|
110
|
+
onFulfilled(_: undefined, seat: ZCFSeat): void;
|
|
111
|
+
/**
|
|
112
|
+
* @param {Error} reason
|
|
113
|
+
* @param {ZCFSeat} seat
|
|
114
|
+
*/
|
|
115
|
+
onRejected(reason: Error, seat: ZCFSeat): never;
|
|
116
|
+
};
|
|
101
117
|
/**
|
|
102
118
|
* handles a QueryBalanceRequest from localchain.query and returns the
|
|
103
119
|
* balance as a DenomAmount
|
|
@@ -117,26 +133,28 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
117
133
|
*/
|
|
118
134
|
queryBalancesWatcher: {
|
|
119
135
|
/**
|
|
120
|
-
* @param {
|
|
121
|
-
*
|
|
136
|
+
* @param {JsonSafe<
|
|
137
|
+
* ResponseTo<
|
|
138
|
+
* TypedJson<'/cosmos.bank.v1beta1.QueryAllBalancesRequest'>
|
|
139
|
+
* >
|
|
122
140
|
* >} result
|
|
123
141
|
* @returns {DenomAmount[]}
|
|
124
142
|
*/
|
|
125
|
-
onFulfilled(result: ResponseTo<TypedJson<"/cosmos.bank.v1beta1.QueryAllBalancesRequest"
|
|
143
|
+
onFulfilled(result: JsonSafe<ResponseTo<TypedJson<"/cosmos.bank.v1beta1.QueryAllBalancesRequest">>>): DenomAmount[];
|
|
126
144
|
};
|
|
127
145
|
holder: {
|
|
128
146
|
/** @type {HostOf<OrchestrationAccountI['asContinuingOffer']>} */
|
|
129
|
-
asContinuingOffer(): Vow<import("
|
|
147
|
+
asContinuingOffer(): Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
|
|
130
148
|
/**
|
|
131
149
|
* @type {HostOf<OrchestrationAccountI['getBalance']>}
|
|
132
150
|
*/
|
|
133
|
-
getBalance(denom: import("@agoric/orchestration").DenomArg): Vow<DenomAmount
|
|
151
|
+
getBalance(denom: import("@agoric/orchestration").DenomArg): Vow<DenomAmount>;
|
|
134
152
|
/** @type {HostOf<OrchestrationAccountI['getBalances']>} */
|
|
135
|
-
getBalances(): Vow<DenomAmount[]
|
|
153
|
+
getBalances(): Vow<DenomAmount[]>;
|
|
136
154
|
/**
|
|
137
155
|
* @type {HostOf<OrchestrationAccountI['getPublicTopics']>}
|
|
138
156
|
*/
|
|
139
|
-
getPublicTopics(): Vow<
|
|
157
|
+
getPublicTopics(): Vow<import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
|
|
140
158
|
/**
|
|
141
159
|
* @param {string} validatorAddress
|
|
142
160
|
* @param {Amount<'nat'>} ertpAmount
|
|
@@ -153,20 +171,16 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
153
171
|
* updater will get a special notification that the account is being
|
|
154
172
|
* transferred.
|
|
155
173
|
*/
|
|
156
|
-
/** @type {HostOf<
|
|
157
|
-
deposit(payment: globalThis.
|
|
158
|
-
/** @type {HostOf<
|
|
159
|
-
withdraw(amount: import("@agoric/ertp
|
|
174
|
+
/** @type {HostOf<LocalAccountMethods['deposit']>} */
|
|
175
|
+
deposit(payment: globalThis.Payment<"nat">): Vow<void>;
|
|
176
|
+
/** @type {HostOf<LocalAccountMethods['withdraw']>} */
|
|
177
|
+
withdraw(amount: import("@agoric/ertp").NatAmount): Vow<globalThis.Payment<"nat">>;
|
|
160
178
|
/** @type {HostOf<LocalChainAccount['executeTx']>} */
|
|
161
179
|
executeTx(messages: {
|
|
162
180
|
'@type': string;
|
|
163
|
-
}[]): Vow<
|
|
164
|
-
'@type': string;
|
|
165
|
-
}>[] extends import("@endo/pass-style").Passable ? JsonSafe<{
|
|
166
|
-
'@type': string;
|
|
167
|
-
}>[] : import("@agoric/async-flow").HostInterface<JsonSafe<{
|
|
181
|
+
}[]): Vow<{
|
|
168
182
|
'@type': string;
|
|
169
|
-
}
|
|
183
|
+
}[]>;
|
|
170
184
|
/** @type {OrchestrationAccountI['getAddress']} */
|
|
171
185
|
getAddress(): ChainAddress;
|
|
172
186
|
/**
|
|
@@ -174,25 +188,25 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
174
188
|
*
|
|
175
189
|
* @type {HostOf<OrchestrationAccountI['send']>}
|
|
176
190
|
*/
|
|
177
|
-
send(toAccount: ChainAddress, amounts: AmountArg): Vow<void
|
|
191
|
+
send(toAccount: ChainAddress, amounts: AmountArg): Vow<void>;
|
|
178
192
|
/**
|
|
179
193
|
* XXX consider using ERTP to send if it's vbank asset
|
|
180
194
|
*
|
|
181
195
|
* @type {HostOf<OrchestrationAccountI['sendAll']>}
|
|
182
196
|
*/
|
|
183
|
-
sendAll(toAccount: ChainAddress, amounts: AmountArg[]): Vow<void
|
|
197
|
+
sendAll(toAccount: ChainAddress, amounts: AmountArg[]): Vow<void>;
|
|
184
198
|
/**
|
|
199
|
+
* @param {ChainAddress} destination
|
|
185
200
|
* @param {AmountArg} amount an ERTP {@link Amount} or a
|
|
186
201
|
* {@link DenomAmount}
|
|
187
|
-
* @param {ChainAddress} destination
|
|
188
202
|
* @param {IBCMsgTransferOptions} [opts] if either timeoutHeight or
|
|
189
203
|
* timeoutTimestamp are not supplied, a default timeoutTimestamp will
|
|
190
204
|
* be set for 5 minutes in the future
|
|
191
205
|
* @returns {Vow<any>}
|
|
192
206
|
*/
|
|
193
|
-
transfer(
|
|
207
|
+
transfer(destination: ChainAddress, amount: AmountArg, opts?: IBCMsgTransferOptions | undefined): Vow<any>;
|
|
194
208
|
/** @type {HostOf<OrchestrationAccountI['transferSteps']>} */
|
|
195
|
-
transferSteps(amount: AmountArg, msg: import("@agoric/orchestration").TransferMsg): Vow<void
|
|
209
|
+
transferSteps(amount: AmountArg, msg: import("@agoric/orchestration").TransferMsg): Vow<void>;
|
|
196
210
|
/** @type {HostOf<PacketTools['sendThenWaitForAck']>} */
|
|
197
211
|
sendThenWaitForAck(packetSender: Remote<import("./packet-tools.js").PacketSender>, opts?: import("./packet-tools.js").PacketOptions | undefined): import("@agoric/async-flow").HostInterface<Vow<any>>;
|
|
198
212
|
/** @type {HostOf<PacketTools['matchFirstPacket']>} */
|
|
@@ -200,30 +214,8 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
200
214
|
resolver: import("@agoric/vow").VowResolver<any>;
|
|
201
215
|
match: Vow<any>;
|
|
202
216
|
}>>;
|
|
203
|
-
/** @type {HostOf<
|
|
204
|
-
monitorTransfers(tap: import("@agoric/vats/src/bridge-target.js").TargetApp): Vow<import("@agoric/
|
|
205
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
206
|
-
}) | (number & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (number & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
207
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
208
|
-
}) | (bigint & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (false & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (false & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
209
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
210
|
-
}) | (true & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (true & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
211
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
212
|
-
}) | (symbol & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (symbol & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
213
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
214
|
-
}) | (void & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (void & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
215
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
216
|
-
}) | (Error & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (Error & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
217
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
218
|
-
}) | (Promise<any> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (Promise<any> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
219
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
220
|
-
}) | (import("@endo/pass-style").RemotableObject<string> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyArrayI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyArrayI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
221
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
222
|
-
}) | (import("@endo/pass-style").CopyRecordI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyRecordI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
223
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
224
|
-
}) | (import("@endo/pass-style").CopyTaggedI<import("@endo/pass-style").PassableCap, Error> & import("@agoric/vats/src/bridge-target.js").TargetRegistration) | (import("@endo/pass-style").CopyTaggedI<import("@endo/pass-style").PassableCap, Error> & import("@endo/pass-style").PassStyled<"tagged", "Vow"> & {
|
|
225
|
-
payload: import("@agoric/vow").VowPayload<import("@agoric/vats/src/bridge-target.js").TargetRegistration>;
|
|
226
|
-
}) : import("@agoric/async-flow").HostInterface<import("@agoric/vats/src/bridge-target.js").TargetRegistration | Vow<import("@agoric/vats/src/bridge-target.js").TargetRegistration>>>;
|
|
217
|
+
/** @type {HostOf<LocalAccountMethods['monitorTransfers']>} */
|
|
218
|
+
monitorTransfers(tap: import("@agoric/vats/src/bridge-target.js").TargetApp): Vow<import("@agoric/async-flow").HostInterface<import("@agoric/vats/src/bridge-target.js").TargetRegistration>>;
|
|
227
219
|
};
|
|
228
220
|
}>;
|
|
229
221
|
export type LocalChainAccountNotification = {
|
|
@@ -247,6 +239,7 @@ import type { Remote } from '@agoric/internal';
|
|
|
247
239
|
import type { VowTools } from '@agoric/vow';
|
|
248
240
|
import type { ChainHub } from './chain-hub.js';
|
|
249
241
|
import type { LocalChain } from '@agoric/vats/src/localchain.js';
|
|
242
|
+
import type { ZoeTools } from '../utils/zoe-tools.js';
|
|
250
243
|
import type { LocalChainAccount } from '@agoric/vats/src/localchain.js';
|
|
251
244
|
import type { ChainAddress } from '@agoric/orchestration';
|
|
252
245
|
import type { AmountArg } from '@agoric/orchestration';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-orchestration-account.d.ts","sourceRoot":"","sources":["local-orchestration-account.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"local-orchestration-account.d.ts","sourceRoot":"","sources":["local-orchestration-account.js"],"names":[],"mappings":"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"}
|