@agoric/orchestration 0.1.1-dev-d7a0e3b.0 → 0.1.1-dev-8fd731c.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/package.json +16 -16
- package/src/chain-info.d.ts +2 -2
- package/src/chain-info.d.ts.map +1 -1
- 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/basic-flows.contract.d.ts +1 -1
- package/src/examples/basic-flows.flows.d.ts +1 -1
- package/src/examples/stake-bld.contract.d.ts +1 -1
- package/src/examples/stake-ica.contract.d.ts +1 -1
- package/src/examples/swap.contract.d.ts +1 -1
- package/src/examples/swap.contract.d.ts.map +1 -1
- package/src/exos/cosmos-interchain-service.d.ts +2 -2
- package/src/exos/cosmos-interchain-service.d.ts.map +1 -1
- package/src/exos/cosmos-orchestration-account.d.ts +1 -25
- package/src/exos/cosmos-orchestration-account.d.ts.map +1 -1
- package/src/exos/ibc-packet.d.ts.map +1 -1
- package/src/exos/ica-account-kit.d.ts +1 -3
- package/src/exos/ica-account-kit.d.ts.map +1 -1
- package/src/exos/local-chain-facade.d.ts +0 -2
- package/src/exos/local-chain-facade.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.d.ts +1 -32
- package/src/exos/local-orchestration-account.d.ts.map +1 -1
- package/src/exos/orchestrator.d.ts +0 -4
- package/src/exos/orchestrator.d.ts.map +1 -1
- package/src/exos/packet-tools.d.ts +1 -6
- package/src/exos/packet-tools.d.ts.map +1 -1
- package/src/exos/packet-tools.js +8 -12
- package/src/exos/portfolio-holder-kit.d.ts +2 -2
- package/src/exos/portfolio-holder-kit.d.ts.map +1 -1
- package/src/exos/remote-chain-facade.d.ts +0 -7
- package/src/exos/remote-chain-facade.d.ts.map +1 -1
- package/src/facade.d.ts.map +1 -1
- package/src/proposals/start-basic-flows.d.ts.map +1 -1
- package/src/proposals/start-stakeAtom.d.ts +1 -1
- package/src/proposals/start-stakeBld.d.ts +1 -1
- package/src/proposals/start-stakeOsmo.d.ts +1 -1
- package/src/utils/address.d.ts +1 -1
- package/src/utils/address.d.ts.map +1 -1
- package/src/utils/packet.d.ts +1 -1
- package/src/utils/packet.d.ts.map +1 -1
- package/src/utils/start-helper.d.ts +3 -3
- package/src/utils/start-helper.d.ts.map +1 -1
- package/src/utils/time.d.ts +1 -1
- package/src/utils/time.d.ts.map +1 -1
- package/src/vat-orchestration.d.ts +6 -6
- package/src/vat-orchestration.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-8fd731c.0+8fd731c",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
37
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
38
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
39
|
-
"@agoric/internal": "0.3.3-dev-
|
|
40
|
-
"@agoric/network": "0.1.1-dev-
|
|
41
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
42
|
-
"@agoric/store": "0.9.3-dev-
|
|
43
|
-
"@agoric/time": "0.3.3-dev-
|
|
44
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
45
|
-
"@agoric/vats": "0.15.2-dev-
|
|
46
|
-
"@agoric/vow": "0.1.1-dev-
|
|
47
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
48
|
-
"@agoric/zone": "0.2.3-dev-
|
|
36
|
+
"@agoric/async-flow": "0.1.1-dev-8fd731c.0+8fd731c",
|
|
37
|
+
"@agoric/cosmic-proto": "0.4.1-dev-8fd731c.0+8fd731c",
|
|
38
|
+
"@agoric/ertp": "0.16.3-dev-8fd731c.0+8fd731c",
|
|
39
|
+
"@agoric/internal": "0.3.3-dev-8fd731c.0+8fd731c",
|
|
40
|
+
"@agoric/network": "0.1.1-dev-8fd731c.0+8fd731c",
|
|
41
|
+
"@agoric/notifier": "0.6.3-dev-8fd731c.0+8fd731c",
|
|
42
|
+
"@agoric/store": "0.9.3-dev-8fd731c.0+8fd731c",
|
|
43
|
+
"@agoric/time": "0.3.3-dev-8fd731c.0+8fd731c",
|
|
44
|
+
"@agoric/vat-data": "0.5.3-dev-8fd731c.0+8fd731c",
|
|
45
|
+
"@agoric/vats": "0.15.2-dev-8fd731c.0+8fd731c",
|
|
46
|
+
"@agoric/vow": "0.1.1-dev-8fd731c.0+8fd731c",
|
|
47
|
+
"@agoric/zoe": "0.26.3-dev-8fd731c.0+8fd731c",
|
|
48
|
+
"@agoric/zone": "0.2.3-dev-8fd731c.0+8fd731c",
|
|
49
49
|
"@endo/base64": "^1.0.9",
|
|
50
50
|
"@endo/errors": "^1.2.8",
|
|
51
51
|
"@endo/far": "^1.1.9",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@noble/hashes": "^1.5.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
57
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-8fd731c.0+8fd731c",
|
|
58
58
|
"@chain-registry/client": "^1.47.4",
|
|
59
59
|
"@cosmjs/amino": "^0.32.3",
|
|
60
60
|
"@cosmjs/proto-signing": "^0.32.3",
|
|
@@ -95,5 +95,5 @@
|
|
|
95
95
|
"typeCoverage": {
|
|
96
96
|
"atLeast": 97.23
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "8fd731ce457512f3ad1b7d8e936b935e0f8d3b9b"
|
|
99
99
|
}
|
package/src/chain-info.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function registerChainAssets(agoricNamesAdmin: ERef<NameAdmin>, name: string, assets: CosmosAssetInfo[]): Promise<void>;
|
|
2
|
-
export function registerChain(agoricNamesAdmin: ERef<NameAdmin>, name: string, chainInfo: CosmosChainInfo, log?: (
|
|
3
|
-
export function registerKnownChains(agoricNamesAdmin: ERef<import("@agoric/vats").NameHubKit["nameAdmin"]>, log?: (
|
|
2
|
+
export function registerChain(agoricNamesAdmin: ERef<NameAdmin>, name: string, chainInfo: CosmosChainInfo, log?: (...messages: string[]) => void, handledConnections?: Set<string>): Promise<void>;
|
|
3
|
+
export function registerKnownChains(agoricNamesAdmin: ERef<import("@agoric/vats").NameHubKit["nameAdmin"]>, log?: (...messages: string[]) => void): Promise<void>;
|
|
4
4
|
/**
|
|
5
5
|
* Info used to build a {@link Chain} object - channel, connection, and denom
|
|
6
6
|
* info.
|
package/src/chain-info.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-info.d.ts","sourceRoot":"","sources":["chain-info.js"],"names":[],"mappings":"AAkCO,sDALI,IAAI,CAAC,SAAS,CAAC,QACf,MAAM,UACN,eAAe,EAAE,iBAS3B;AAYM,gDAPI,IAAI,CAAC,SAAS,CAAC,QACf,MAAM,aACN,eAAe,
|
|
1
|
+
{"version":3,"file":"chain-info.d.ts","sourceRoot":"","sources":["chain-info.js"],"names":[],"mappings":"AAkCO,sDALI,IAAI,CAAC,SAAS,CAAC,QACf,MAAM,UACN,eAAe,EAAE,iBAS3B;AAYM,gDAPI,IAAI,CAAC,SAAS,CAAC,QACf,MAAM,aACN,eAAe,QACf,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,uBAC/B,GAAG,CAAC,MAAM,CAAC,iBA6CrB;AAQM,sDAHI,IAAI,CAAC,OAAO,cAAc,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC,QACpD,CAAC,GAAG,QAAQ,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEE"}
|
|
@@ -7,7 +7,7 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
7
7
|
[k: string]: import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>;
|
|
8
8
|
};
|
|
9
9
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
10
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA
|
|
10
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
11
11
|
}>;
|
|
12
12
|
}>>, {
|
|
13
13
|
chainName: string;
|
|
@@ -10,7 +10,7 @@ export function makeAccounts(orch: Orchestrator, { makeStakingTap, makePortfolio
|
|
|
10
10
|
[k: string]: ResolvedPublicTopic<unknown>;
|
|
11
11
|
};
|
|
12
12
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
13
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA
|
|
13
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
14
14
|
}>;
|
|
15
15
|
}>>;
|
|
16
16
|
import type { Orchestrator } from '@agoric/orchestration';
|
|
@@ -10,7 +10,7 @@ export const start: (zcf: ZCF<Record<string, unknown>>, privateArgs: Orchestrati
|
|
|
10
10
|
[k: string]: import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>;
|
|
11
11
|
};
|
|
12
12
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
13
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA
|
|
13
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
14
14
|
}>;
|
|
15
15
|
}>>, {
|
|
16
16
|
chainNames: string[];
|
|
@@ -10,7 +10,7 @@ export function makePortfolioAccount(orch: Orchestrator, { makePortfolioHolder }
|
|
|
10
10
|
[k: string]: ResolvedPublicTopic<unknown>;
|
|
11
11
|
};
|
|
12
12
|
invitationMakers: import("@endo/exo").Guarded<{
|
|
13
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA
|
|
13
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
14
14
|
}>;
|
|
15
15
|
}>>;
|
|
16
16
|
import type { Orchestrator } from '@agoric/orchestration';
|
|
@@ -27,7 +27,7 @@ export function start(zcf: ZCF, privateArgs: {
|
|
|
27
27
|
getAddress(): import("../orchestration-api.js").ChainAddress;
|
|
28
28
|
send(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
|
|
29
29
|
sendAll(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): import("@agoric/vow").Vow<void>;
|
|
30
|
-
transfer(destination: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions
|
|
30
|
+
transfer(destination: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions): import("@agoric/vow").Vow<any>;
|
|
31
31
|
transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<void>;
|
|
32
32
|
sendThenWaitForAck(packetSender: Remote<import("../exos/packet-tools.js").PacketSender>, opts?: import("../exos/packet-tools.js").PacketOptions | undefined): import("@agoric/async-flow").HostInterface<import("@agoric/vow").Vow<any>>;
|
|
33
33
|
matchFirstPacket(args_0?: import("@agoric/vow").EVow<globalThis.Pattern>): import("@agoric/async-flow").HostInterface<import("@agoric/vow").Vow<{
|
|
@@ -106,7 +106,7 @@ export function start(zcf: ZCF<StakeIcaTerms>, privateArgs: {
|
|
|
106
106
|
getReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
|
|
107
107
|
getRewards(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../cosmos-api.js").CosmosRewardsResponse>>;
|
|
108
108
|
executeEncodedTx(msgs: {
|
|
109
|
-
$typeUrl?:
|
|
109
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
110
110
|
typeUrl: string;
|
|
111
111
|
value: string;
|
|
112
112
|
}[], opts?: Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> | undefined): import("@agoric/vow").Vow<string>;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
/** @type {ContractMeta<typeof start>} */
|
|
11
11
|
export const meta: ContractMeta<typeof start>;
|
|
12
|
-
export function makeNatAmountShape(brand: Brand, min?:
|
|
12
|
+
export function makeNatAmountShape(brand: Brand, min?: NatValue): {
|
|
13
13
|
brand: globalThis.Brand;
|
|
14
14
|
value: import("@endo/patterns").Matcher;
|
|
15
15
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap.contract.d.ts","sourceRoot":"","sources":["swap.contract.js"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;AAEH,yCAAyC;AACzC,mBADW,YAAY,CAAC,OAAO,KAAK,CAAC,CAWnC;AASK,0CAHI,KAAK;;;
|
|
1
|
+
{"version":3,"file":"swap.contract.d.ts","sourceRoot":"","sources":["swap.contract.js"],"names":[],"mappings":"AAMA;;;;;;;;GAQG;AAEH,yCAAyC;AACzC,mBADW,YAAY,CAAC,OAAO,KAAK,CAAC,CAWnC;AASK,0CAHI,KAAK,QACL,QAAQ;;;EAGmC;AAgDtD;iBAxCkB,OAAO,OAAO,CAAC;gBAChB,OAAO,UAAU,CAAC;0BACR,OAAO,uBAAuB,CAAC;iBACxC,OAAO,WAAW,CAAC;kBAClB,OAAO,YAAY,CAAC;gBACtB,UAAU;;;;;;;;GAmCsB;6BA1EvB,cAAc;4BAFf,kBAAkB;gCADd,gCAAgC;6CAEnB,2BAA2B;kCAHtC,cAAc"}
|
|
@@ -9,14 +9,14 @@ export function prepareCosmosInterchainService(zone: Zone, vowTools: VowTools):
|
|
|
9
9
|
* channel address, such as version and ordering
|
|
10
10
|
* @returns {Vow<IcaAccount>}
|
|
11
11
|
*/
|
|
12
|
-
makeAccount(chainId: string, hostConnectionId: IBCConnectionID, controllerConnectionId: IBCConnectionID, opts?: ICAChannelAddressOpts
|
|
12
|
+
makeAccount(chainId: string, hostConnectionId: IBCConnectionID, controllerConnectionId: IBCConnectionID, opts?: ICAChannelAddressOpts): Vow<IcaAccount>;
|
|
13
13
|
/**
|
|
14
14
|
* @satisfies {CosmosInterchainService['provideICQConnection']}
|
|
15
15
|
* @param {IBCConnectionID} controllerConnectionId
|
|
16
16
|
* @param {string} [version]
|
|
17
17
|
* @returns {Vow<ICQConnection> | ICQConnection}
|
|
18
18
|
*/
|
|
19
|
-
provideICQConnection(controllerConnectionId: IBCConnectionID, version?: string
|
|
19
|
+
provideICQConnection(controllerConnectionId: IBCConnectionID, version?: string): Vow<ICQConnection> | ICQConnection;
|
|
20
20
|
}>;
|
|
21
21
|
export type CosmosOrchestrationPowers = {
|
|
22
22
|
portAllocator: Remote<PortAllocator>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmos-interchain-service.d.ts","sourceRoot":"","sources":["cosmos-interchain-service.js"],"names":[],"mappings":"AAmQO,qDAJI,IAAI,YACJ,QAAQ;IAvEX;;;;;;;;;OASG;yBAPQ,MAAM,oBACN,eAAe,0BAEf,eAAe,
|
|
1
|
+
{"version":3,"file":"cosmos-interchain-service.d.ts","sourceRoot":"","sources":["cosmos-interchain-service.js"],"names":[],"mappings":"AAmQO,qDAJI,IAAI,YACJ,QAAQ;IAvEX;;;;;;;;;OASG;yBAPQ,MAAM,oBACN,eAAe,0BAEf,eAAe,SACf,qBAAqB,GAEnB,IAAI,UAAU,CAAC;IAkB5B;;;;;OAKG;iDAHQ,eAAe,YACf,MAAM,GACJ,IAAI,aAAa,CAAC,GAAG,aAAa;GA6DtD;;mBAxPa,OAAO,aAAa,CAAC;;;;;cACrB,SAAS;;iCAIT,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;4BAElC,aAAa,GAAG,gBAAgB;iCAGjC;IACR,cAAc,EAAE,kBAAkB,CAAC;IACnC,aAAa,EAAE,OAAO,IAAI,CAAC,GAAG,SAAS,CAAC;CACzC,GAAG,yBAAyB;0CA8OlB,UAAU,CAAC,OAAO,8BAA8B,CAAC;0BAxQxC,mBAAmB;8BAKV,aAAa;qCAFX,cAAc;2CAIR,qBAAqB;gCADgB,aAAa;yBAD1D,aAAa;mCACgC,aAAa;mCAJxC,iBAAiB;4BAD1C,kBAAkB;sCAKkC,aAAa;mCAAb,aAAa;0BAJxC,iBAAiB"}
|
|
@@ -211,45 +211,27 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
211
211
|
}>>;
|
|
212
212
|
};
|
|
213
213
|
holder: {
|
|
214
|
-
/** @type {HostOf<OrchestrationAccountI['asContinuingOffer']>} */
|
|
215
214
|
asContinuingOffer(): Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
|
|
216
|
-
/** @type {HostOf<OrchestrationAccountI['getPublicTopics']>} */
|
|
217
215
|
getPublicTopics(): Vow<import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
|
|
218
|
-
/** @type {HostOf<OrchestrationAccountI['getAddress']>} */
|
|
219
216
|
getAddress(): import("@agoric/async-flow").HostInterface<ChainAddress>;
|
|
220
|
-
/** @type {HostOf<StakingAccountActions['delegate']>} */
|
|
221
217
|
delegate(validator: CosmosValidatorAddress, amount: AmountArg): Vow<void>;
|
|
222
|
-
/** @type {HostOf<StakingAccountActions['redelegate']>} */
|
|
223
218
|
redelegate(srcValidator: CosmosValidatorAddress, dstValidator: CosmosValidatorAddress, amount: AmountArg): Vow<void>;
|
|
224
|
-
/** @type {HostOf<StakingAccountActions['withdrawReward']>} */
|
|
225
219
|
withdrawReward(validator: CosmosValidatorAddress): Vow<import("../orchestration-api.js").DenomAmount[]>;
|
|
226
|
-
/** @type {HostOf<OrchestrationAccountI['getBalance']>} */
|
|
227
220
|
getBalance(denom: import("../orchestration-api.js").DenomArg): Vow<import("../orchestration-api.js").DenomAmount>;
|
|
228
|
-
/** @type {HostOf<OrchestrationAccountI['getBalances']>} */
|
|
229
221
|
getBalances(): Vow<import("../orchestration-api.js").DenomAmount[]>;
|
|
230
|
-
/** @type {HostOf<OrchestrationAccountI['send']>} */
|
|
231
222
|
send(toAccount: ChainAddress, amounts: AmountArg): Vow<void>;
|
|
232
|
-
/** @type {HostOf<OrchestrationAccountI['sendAll']>} */
|
|
233
223
|
sendAll(toAccount: ChainAddress, amounts: AmountArg[]): Vow<void>;
|
|
234
|
-
/** @type {HostOf<OrchestrationAccountI['transfer']>} */
|
|
235
224
|
transfer(destination: ChainAddress, amount: AmountArg, opts?: IBCMsgTransferOptions | undefined): Vow<void>;
|
|
236
|
-
/** @type {HostOf<OrchestrationAccountI['transferSteps']>} */
|
|
237
225
|
transferSteps(amount: AmountArg, msg: import("../orchestration-api.js").TransferMsg): Vow<void>;
|
|
238
|
-
/** @type {HostOf<StakingAccountActions['withdrawRewards']>} */
|
|
239
226
|
withdrawRewards(): Vow<import("../orchestration-api.js").DenomAmount[]>;
|
|
240
|
-
/** @type {HostOf<StakingAccountActions['undelegate']>} */
|
|
241
227
|
undelegate(delegations: {
|
|
242
228
|
amount: AmountArg;
|
|
243
229
|
delegator?: ChainAddress;
|
|
244
230
|
validator: CosmosValidatorAddress;
|
|
245
231
|
}[]): Vow<void>;
|
|
246
|
-
/** @type {HostOf<IcaAccount['deactivate']>} */
|
|
247
232
|
deactivate(): Vow<void>;
|
|
248
|
-
/** @type {HostOf<IcaAccount['reactivate']>} */
|
|
249
233
|
reactivate(): Vow<void>;
|
|
250
|
-
/** @type {HostOf<StakingAccountQueries['getDelegation']>} */
|
|
251
234
|
getDelegation(validator: CosmosValidatorAddress): Vow<import("@agoric/async-flow").HostInterface<CosmosDelegationResponse>>;
|
|
252
|
-
/** @type {HostOf<StakingAccountQueries['getDelegations']>} */
|
|
253
235
|
getDelegations(): Vow<{
|
|
254
236
|
delegator: {
|
|
255
237
|
chainId: string;
|
|
@@ -266,9 +248,7 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
266
248
|
value: bigint;
|
|
267
249
|
};
|
|
268
250
|
}[]>;
|
|
269
|
-
/** @type {HostOf<StakingAccountQueries['getUnbondingDelegation']>} */
|
|
270
251
|
getUnbondingDelegation(validator: CosmosValidatorAddress): Vow<import("@agoric/async-flow").HostInterface<import("@agoric/cosmic-proto/cosmos/staking/v1beta1/staking.js").UnbondingDelegation>>;
|
|
271
|
-
/** @type {HostOf<StakingAccountQueries['getUnbondingDelegations']>} */
|
|
272
252
|
getUnbondingDelegations(): Vow<{
|
|
273
253
|
delegatorAddress: string;
|
|
274
254
|
validatorAddress: string;
|
|
@@ -282,7 +262,6 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
282
262
|
balance: string;
|
|
283
263
|
}[];
|
|
284
264
|
}[]>;
|
|
285
|
-
/** @type {HostOf<StakingAccountQueries['getRedelegations']>} */
|
|
286
265
|
getRedelegations(): Vow<{
|
|
287
266
|
redelegation: {
|
|
288
267
|
delegatorAddress: string;
|
|
@@ -311,13 +290,10 @@ export function prepareCosmosOrchestrationAccountKit(zone: Zone, { chainHub, mak
|
|
|
311
290
|
balance: string;
|
|
312
291
|
}[];
|
|
313
292
|
}[]>;
|
|
314
|
-
/** @type {HostOf<StakingAccountQueries['getReward']>} */
|
|
315
293
|
getReward(validator: CosmosValidatorAddress): Vow<import("../orchestration-api.js").DenomAmount[]>;
|
|
316
|
-
/** @type {HostOf<StakingAccountQueries['getRewards']>} */
|
|
317
294
|
getRewards(): Vow<import("@agoric/async-flow").HostInterface<CosmosRewardsResponse>>;
|
|
318
|
-
/** @type {HostOf<IcaAccount['executeEncodedTx']>} */
|
|
319
295
|
executeEncodedTx(msgs: {
|
|
320
|
-
$typeUrl?:
|
|
296
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
321
297
|
typeUrl: string;
|
|
322
298
|
value: string;
|
|
323
299
|
}[], opts?: Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> | undefined): Vow<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cosmos-orchestration-account.d.ts","sourceRoot":"","sources":["cosmos-orchestration-account.js"],"names":[],"mappings":"AA4IA,mCAAmC;AACnC;;;;;;;;;;;;;;;;;;;;;;;;;GASG;AAOH;;;;;;;;;;;GAkBE;AAYK,2DARI,IAAI,gGAEZ;IAAyB,QAAQ,EAAzB,QAAQ;IACgB,eAAe,EAAvC,eAAe;IACc,YAAY,EAAzC,OAAO,YAAY,CAAC;IACH,QAAQ,EAAzB,QAAQ;IACI,GAAG,EAAf,GAAG;CACb;kBAsGc,YAAY;kBACZ,eAAe;mBACf,gBAAgB;;aAEhB,UAAU;iBACV,OAAO,WAAW,CAAC;mBACnB,aAAa,GAAG,SAAS;WACzB,OAAO,YAAY,CAAC;;;QA+B3B,wDAAwD;;;QAWxD;;;WAGG;6BAFQ,SAAS,GACP,IAAI;;;QAOjB;;WAEG;8BADQ,SAAS,aAAa,CAAC,EAAE;;;QAYpC;;;WAGG;8BAFQ,SAAS,aAAa,CAAC,EAAE,GACvB,wBAAwB;;;QAgBrC;;;WAGG;8BAFQ,SAAS,aAAa,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B,aAAa,EAAE,gBAAgB,CAAC;CACjC;4CA2+BS,UAAU,CAClB,UAAU,CAAC,OAAO,oCAAoC,CAAC,CACxD;yCA8BU,6BAA6B,CAAC,QAAQ,CAAC;0BA7iC9B,cAAc;8BARkO,aAAa;qCACrO,6CAA6C;kCAK7D,cAAc;4BAHpB,kBAAkB;8BAIX,aAAa;kCAP0N,aAAa;qCAYhO,iCAAiC;sCAAjC,iCAAiC;gCAZkL,aAAa;mCAAb,aAAa;+BAAb,aAAa;0BAE7P,kDAAkD;mCAOzC,+CAA+C;8BACpD,sBAAsB;8CAVsN,aAAa;2CAAb,aAAa;yBAOpP,aAAa;uCAP0N,aAAa;2CAAb,aAAa;4CAAb,aAAa;iCACrO,6CAA6C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ibc-packet.d.ts","sourceRoot":"","sources":["ibc-packet.js"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"ibc-packet.d.ts","sourceRoot":"","sources":["ibc-packet.js"],"names":[],"mappings":"AAMA,4CAA6C,MAAM,CAAC;AAkB7C,gDAHI,GAAG,GACD,OAAO,CAgCnB;AAOM,+CAHI,OAAO,mBAAmB,EAAE,IAAI,8BAChC,QAAQ,GAAG;IAAE,eAAe,EAAE,eAAe,CAAA;CAAE;eAkBtC,iBAAiB,CAAC,WAAW,CAAC;;;;;;;;GA0EjD;AAOM,yCAHI,OAAO,mBAAmB,EAAE,IAAI,YAChC,QAAQ,wBAyBN,OAAO,UACP,IAAI,GAAG,CAAC,QACR,aAAa;;;EAmBzB;AAQM,sCAHI,OAAO,mBAAmB,EAAE,IAAI,YAChC,QAAQ;;mBAnIC,iBAAiB,CAAC,WAAW,CAAC;;;;;;;;;0CAwGrC,OAAO,UACP,IAAI,GAAG,CAAC,QACR,aAAa;;;;EAkCzB;8BAba,UAAU,CAAC,OAAO,kBAAkB,CAAC;8BAlMnB,aAAa;uCACT,gCAAgC;yBADpC,aAAa;mCAEb,mBAAmB"}
|
|
@@ -30,10 +30,8 @@ export function prepareIcaAccountKit(zone: Zone, { watch, asVow }: VowTools): (c
|
|
|
30
30
|
* using the corresponding `Msg*Response` object.
|
|
31
31
|
* @throws {Error} if packet fails to send or an error is returned
|
|
32
32
|
*/
|
|
33
|
-
executeEncodedTx(msgs: AnyJson[], opts?: Omit<TxBody, "messages">
|
|
34
|
-
/** @type {HostOf<IcaAccount['deactivate']>} */
|
|
33
|
+
executeEncodedTx(msgs: AnyJson[], opts?: Omit<TxBody, "messages">): Vow<string>;
|
|
35
34
|
deactivate(): Vow<void>;
|
|
36
|
-
/** @type {HostOf<IcaAccount['reactivate']>} */
|
|
37
35
|
reactivate(): Vow<void>;
|
|
38
36
|
};
|
|
39
37
|
connectionHandler: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ica-account-kit.d.ts","sourceRoot":"","sources":["ica-account-kit.js"],"names":[],"mappings":"AA8BA;;;;;;;;;GAWG;AA0BI,2CAJI,IAAI,oBACJ,QAAQ;;QAiCX,0BAA0B;yBAAd,MAAM;;;QAMlB,8BAA8B;sBAAhB,YAAY;;;;;QAyB1B;;;;;;;;;WASG;+BALQ,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ica-account-kit.d.ts","sourceRoot":"","sources":["ica-account-kit.js"],"names":[],"mappings":"AA8BA;;;;;;;;;GAWG;AA0BI,2CAJI,IAAI,oBACJ,QAAQ;;QAiCX,0BAA0B;yBAAd,MAAM;;;QAMlB,8BAA8B;sBAAhB,YAAY;;;;;QAyB1B;;;;;;;;;WASG;+BALQ,OAAO,EAAE,SACT,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,GACtB,IAAI,MAAM,CAAC;;;;;QA0CxB;;;;WAIG;2BAHQ,OAAO,UAAU,CAAC,aAClB,eAAe,cACf,gBAAgB;QAiB3B;;;;;;;;;;;;;;;;WAgBG;6BAHQ,OAAO,UAAU,CAAC,UAClB,OAAO;;GAkBvB;;;;oBAtLU;IACR,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IAC3C,YAAY,EAAE,eAAe,GAAG,SAAS,CAAC;IAC1C,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAC5C,YAAY,EAAE,YAAY,GAAG,SAAS,CAAC;IACvC,iBAAiB,EAAE,OAAO,CAAC;CAC5B;4BA+KU,UAAU,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC;0BArN1C,mBAAmB;8BAEF,aAAa;0BADlB,iBAAiB;kCAKT,aAAa;yBAJhB,aAAa;6BAC3B,sBAAsB;4BACvB,8CAA8C;gCAHpC,iBAAiB;4BACZ,aAAa;qCAGD,iCAAiC;sCAAjC,iCAAiC"}
|
|
@@ -18,7 +18,6 @@ export function prepareLocalChainFacade(zone: Zone, powers: LocalChainFacadePowe
|
|
|
18
18
|
}>>;
|
|
19
19
|
/** @returns {Vow<LocalOrchestrationAccountKit['holder']>} */
|
|
20
20
|
makeAccount(): Vow<LocalOrchestrationAccountKit["holder"]>;
|
|
21
|
-
/** @type {HostOf<Chain<{ chainId: 'agoriclocal' }>['query']>} */
|
|
22
21
|
query(args_0: {
|
|
23
22
|
'@type': string;
|
|
24
23
|
}[]): Vow<{
|
|
@@ -27,7 +26,6 @@ export function prepareLocalChainFacade(zone: Zone, powers: LocalChainFacadePowe
|
|
|
27
26
|
'@type': string;
|
|
28
27
|
};
|
|
29
28
|
}[]>;
|
|
30
|
-
/** @type {HostOf<AgoricChainMethods['getVBankAssetInfo']>} */
|
|
31
29
|
getVBankAssetInfo(): Vow<AssetInfo[]>;
|
|
32
30
|
}>;
|
|
33
31
|
/**
|
|
@@ -1 +1 @@
|
|
|
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
|
|
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;;;;;;;;;;GA0FhE;;;;;;;;;;;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"}
|
|
@@ -143,17 +143,9 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
143
143
|
onFulfilled(result: JsonSafe<ResponseTo<TypedJson<"/cosmos.bank.v1beta1.QueryAllBalancesRequest">>>): DenomAmount[];
|
|
144
144
|
};
|
|
145
145
|
holder: {
|
|
146
|
-
/** @type {HostOf<OrchestrationAccountI['asContinuingOffer']>} */
|
|
147
146
|
asContinuingOffer(): Vow<import("@agoric/async-flow").HostInterface<import("../utils/zoe-tools.js").ResolvedContinuingOfferResult>>;
|
|
148
|
-
/**
|
|
149
|
-
* @type {HostOf<OrchestrationAccountI['getBalance']>}
|
|
150
|
-
*/
|
|
151
147
|
getBalance(denom: import("@agoric/orchestration").DenomArg): Vow<DenomAmount>;
|
|
152
|
-
/** @type {HostOf<OrchestrationAccountI['getBalances']>} */
|
|
153
148
|
getBalances(): Vow<DenomAmount[]>;
|
|
154
|
-
/**
|
|
155
|
-
* @type {HostOf<OrchestrationAccountI['getPublicTopics']>}
|
|
156
|
-
*/
|
|
157
149
|
getPublicTopics(): Vow<import("@agoric/async-flow").HostInterface<Record<string, import("@agoric/zoe/src/contractSupport/topics.js").ResolvedPublicTopic<unknown>>>>;
|
|
158
150
|
/**
|
|
159
151
|
* @param {string} validatorAddress
|
|
@@ -166,34 +158,15 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
166
158
|
* @returns {Vow<void | TimestampRecord>}
|
|
167
159
|
*/
|
|
168
160
|
undelegate(validatorAddress: string, ertpAmount: Amount<"nat">): Vow<void | TimestampRecord>;
|
|
169
|
-
/**
|
|
170
|
-
* Starting a transfer revokes the account holder. The associated
|
|
171
|
-
* updater will get a special notification that the account is being
|
|
172
|
-
* transferred.
|
|
173
|
-
*/
|
|
174
|
-
/** @type {HostOf<LocalAccountMethods['deposit']>} */
|
|
175
161
|
deposit(payment: globalThis.Payment<"nat">): Vow<import("@agoric/ertp").NatAmount>;
|
|
176
|
-
/** @type {HostOf<LocalAccountMethods['withdraw']>} */
|
|
177
162
|
withdraw(amount: import("@agoric/ertp").NatAmount): Vow<globalThis.Payment<"nat">>;
|
|
178
|
-
/** @type {HostOf<LocalChainAccount['executeTx']>} */
|
|
179
163
|
executeTx(messages: {
|
|
180
164
|
'@type': string;
|
|
181
165
|
}[]): Vow<{
|
|
182
166
|
'@type': string;
|
|
183
167
|
}[]>;
|
|
184
|
-
/** @type {OrchestrationAccountI['getAddress']} */
|
|
185
168
|
getAddress(): ChainAddress;
|
|
186
|
-
/**
|
|
187
|
-
* XXX consider using ERTP to send if it's vbank asset
|
|
188
|
-
*
|
|
189
|
-
* @type {HostOf<OrchestrationAccountI['send']>}
|
|
190
|
-
*/
|
|
191
169
|
send(toAccount: ChainAddress, amounts: AmountArg): Vow<void>;
|
|
192
|
-
/**
|
|
193
|
-
* XXX consider using ERTP to send if it's vbank asset
|
|
194
|
-
*
|
|
195
|
-
* @type {HostOf<OrchestrationAccountI['sendAll']>}
|
|
196
|
-
*/
|
|
197
170
|
sendAll(toAccount: ChainAddress, amounts: AmountArg[]): Vow<void>;
|
|
198
171
|
/**
|
|
199
172
|
* @param {ChainAddress} destination
|
|
@@ -204,17 +177,13 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
204
177
|
* be set for 5 minutes in the future
|
|
205
178
|
* @returns {Vow<any>}
|
|
206
179
|
*/
|
|
207
|
-
transfer(destination: ChainAddress, amount: AmountArg, opts?: IBCMsgTransferOptions
|
|
208
|
-
/** @type {HostOf<OrchestrationAccountI['transferSteps']>} */
|
|
180
|
+
transfer(destination: ChainAddress, amount: AmountArg, opts?: IBCMsgTransferOptions): Vow<any>;
|
|
209
181
|
transferSteps(amount: AmountArg, msg: import("@agoric/orchestration").TransferMsg): Vow<void>;
|
|
210
|
-
/** @type {HostOf<PacketTools['sendThenWaitForAck']>} */
|
|
211
182
|
sendThenWaitForAck(packetSender: Remote<import("./packet-tools.js").PacketSender>, opts?: import("./packet-tools.js").PacketOptions | undefined): import("@agoric/async-flow").HostInterface<Vow<any>>;
|
|
212
|
-
/** @type {HostOf<PacketTools['matchFirstPacket']>} */
|
|
213
183
|
matchFirstPacket(args_0?: import("@agoric/vow").EVow<globalThis.Pattern>): import("@agoric/async-flow").HostInterface<Vow<{
|
|
214
184
|
resolver: import("@agoric/vow").VowResolver<any>;
|
|
215
185
|
match: Vow<any>;
|
|
216
186
|
}>>;
|
|
217
|
-
/** @type {HostOf<LocalAccountMethods['monitorTransfers']>} */
|
|
218
187
|
monitorTransfers(tap: import("@agoric/vats/src/bridge-target.js").TargetApp): Vow<import("@agoric/async-flow").HostInterface<import("@agoric/vats/src/bridge-target.js").TargetRegistration>>;
|
|
219
188
|
};
|
|
220
189
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-orchestration-account.d.ts","sourceRoot":"","sources":["local-orchestration-account.js"],"names":[],"mappings":"AAiGO,0DAVI,IAAI,qFAEZ;IAAgC,eAAe,EAAvC,eAAe;IACH,GAAG,EAAf,GAAG;IAC0B,YAAY,EAAzC,OAAO,YAAY,CAAC;IACH,QAAQ,EAAzB,QAAQ;IACS,QAAQ,EAAzB,QAAQ;IACmB,UAAU,EAArC,OAAO,UAAU,CAAC;IACD,QAAQ,EAAzB,QAAQ;CAClB;aAsFc,iBAAiB;aACjB,YAAY;iBACZ,OAAO,WAAW,CAAC;;;QAc1B;;;WAGG;6BAFQ,SAAS,GACP,IAAI;;;QAOjB;;;WAGG;mCAFQ,MAAM,cACN,MAAM,CAAC,KAAK,CAAC;;QAiCxB;;;WAGG;qCAFQ,MAAM,cACN,MAAM,CAAC,KAAK,CAAC;;;uBAmBJ,YAAY;oBAAU,SAAS;;;uBAa/B,YAAY;qBAAW,SAAS,EAAE;;;oBAcrC,SAAS;yBACJ,YAAY;mBAClB,qBAAqB;;;;;QAmCrC;;;;;;WAMG;8BALQ,CACV,SACA,UAAgB,+CAA+C,CAAC,CAC3D,CACF;;;QAcJ;;;;;;;;;;WAUG;6DATQ,CACV;YAAM,eAAe,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;SAAE,EAC7D,MAAU,CACP,iCACO;YACN,WAAW,EAAE,YAAY,CAAC;YAC1B,IAAI,CAAC,EAAE,qBAAqB,CAAC;YAC7B,MAAM,EAAE,WAAW,CAAC;SACrB;;IAqCN;;;OAGG;;QAED;;WAEG;6BADQ,MAAM,CAAC,OAAO,EAAE,OAAO,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B;gCAXK,gCAAgC;8BAarD,uBAAuB;uCAbF,gCAAgC;kCAC6D,uBAAuB;+BAAvB,uBAAuB;0BAQ7I,kDAAkD;yBAFzC,aAAa;qCADG,cAAc;2CAL+E,uBAAuB;+BAOlH,sBAAsB;8BAAtB,sBAAsB;uCAPqE,uBAAuB;iCAAvB,uBAAuB;gCAOlH,sBAAsB;iCANzB,6CAA6C;iCAU9D,mBAAmB"}
|
|
@@ -10,9 +10,7 @@ export function prepareOrchestrator(zone: Zone, powers: {
|
|
|
10
10
|
makeRemoteChainFacade: MakeRemoteChainFacade;
|
|
11
11
|
vowTools: VowTools;
|
|
12
12
|
}): () => import("@endo/exo").Guarded<{
|
|
13
|
-
/** @type {HostOf<Orchestrator['getChain']>} */
|
|
14
13
|
getChain(chainName: string): Vow<HostInterface<Chain<any>>>;
|
|
15
|
-
/** @type {HostOf<Orchestrator['getDenomInfo']>} */
|
|
16
14
|
getDenomInfo(denom: string): HostInterface<import("../orchestration-api.js").DenomInfo<"agoric" | "celestia" | "dydx" | "juno" | "neutron" | "noble" | "stride" | "umee" | "cosmoshub" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze", "agoric" | "celestia" | "dydx" | "juno" | "neutron" | "noble" | "stride" | "umee" | "cosmoshub" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze">>;
|
|
17
15
|
/** @type {HostOf<Orchestrator['asAmount']>} */
|
|
18
16
|
asAmount: HostOf<Orchestrator["asAmount"]>;
|
|
@@ -114,9 +112,7 @@ declare function prepareOrchestratorKit(zone: Zone, { chainHub, makeLocalChainFa
|
|
|
114
112
|
}>;
|
|
115
113
|
};
|
|
116
114
|
orchestrator: {
|
|
117
|
-
/** @type {HostOf<Orchestrator['getChain']>} */
|
|
118
115
|
getChain(chainName: string): Vow<HostInterface<Chain<any>>>;
|
|
119
|
-
/** @type {HostOf<Orchestrator['getDenomInfo']>} */
|
|
120
116
|
getDenomInfo(denom: string): HostInterface<import("../orchestration-api.js").DenomInfo<"agoric" | "celestia" | "dydx" | "juno" | "neutron" | "noble" | "stride" | "umee" | "cosmoshub" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze", "agoric" | "celestia" | "dydx" | "juno" | "neutron" | "noble" | "stride" | "umee" | "cosmoshub" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze">>;
|
|
121
117
|
/** @type {HostOf<Orchestrator['asAmount']>} */
|
|
122
118
|
asAmount: HostOf<Orchestrator["asAmount"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["orchestrator.js"],"names":[],"mappings":"AAiCA,0BAA0B;AAC1B;;;;GAIG;AAiJI,0CARI,IAAI,UACJ;IACN,QAAQ,EAAE,QAAQ,CAAC;IACnB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;CACpB
|
|
1
|
+
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["orchestrator.js"],"names":[],"mappings":"AAiCA,0BAA0B;AAC1B;;;;GAIG;AAiJI,0CARI,IAAI,UACJ;IACN,QAAQ,EAAE,QAAQ,CAAC;IACnB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;CACpB;;;IAfI,+CAA+C;cAApC,OAAO,YAAY,CAAC,UAAU,CAAC,CAAC;GAoBlD;;;;;+BAMY,UAAU,CAClB,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAC1C,CAAC,cAAc,CAAC;0BAnLG,mBAAmB;8BACE,gBAAgB;0CASrB,yBAAyB;2CACxB,0BAA0B;8BARlC,aAAa;2BASoC,aAAa;mCAVtC,oBAAoB;yBAC5C,aAAa;kCASoC,aAAa;4BAVtC,oBAAoB;AAuB5E;;;;;;;;GAQG;AACH,8CARW,IAAI,0FACJ;IACN,QAAQ,EAAE,QAAQ,CAAC;IACnB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,QAAQ,EAAE,QAAQ,CAAC;CACpB;IAwCE,2DAA2D;;QAEzD;;WAEG;qCADQ,gBAAgB,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;IAQtC;;;OAGG;;QAED;;;;;;WAMG;0HADQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA0DjB,+CAA+C;kBAApC,OAAO,YAAY,CAAC,UAAU,CAAC,CAAC;;GAKlD;qCA3J2C,gBAAgB;uCAWqB,aAAa;+BAAb,aAAa"}
|
|
@@ -10,14 +10,9 @@ export function preparePacketTools(zone: import("@agoric/base-zone").Zone, vowTo
|
|
|
10
10
|
* @param {ERef<TargetApp>} monitor
|
|
11
11
|
*/
|
|
12
12
|
monitorTransfers(monitor: ERef<TargetApp>): Promise<import("@endo/exo").Guarded<{
|
|
13
|
-
/** @type {TargetRegistration['updateTargetApp']} */
|
|
14
13
|
updateTargetApp(targetApp: ERef<TargetApp>): Promise<void>;
|
|
15
|
-
/** @type {TargetRegistration['revoke']} */
|
|
16
14
|
revoke(): Promise<void>;
|
|
17
15
|
}>>;
|
|
18
|
-
/**
|
|
19
|
-
* @type {MatchEvent}
|
|
20
|
-
*/
|
|
21
16
|
matchFirstPacket(pattern: EVow<Pattern>): Vow<{
|
|
22
17
|
resolver: VowResolver<any>;
|
|
23
18
|
match: Vow<any>;
|
|
@@ -27,7 +22,7 @@ export function preparePacketTools(zone: import("@agoric/base-zone").Zone, vowTo
|
|
|
27
22
|
* @param {PacketOptions} [opts]
|
|
28
23
|
* @returns {Vow<any>}
|
|
29
24
|
*/
|
|
30
|
-
sendThenWaitForAck(packetSender: Remote<PacketSender>, opts?: PacketOptions
|
|
25
|
+
sendThenWaitForAck(packetSender: Remote<PacketSender>, opts?: PacketOptions): Vow<any>;
|
|
31
26
|
}>;
|
|
32
27
|
export type MatchEvent = (pattern: EVow<Pattern>) => Vow<{
|
|
33
28
|
resolver: VowResolver<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packet-tools.d.ts","sourceRoot":"","sources":["packet-tools.js"],"names":[],"mappings":"AA2DO,yCAHI,OAAO,mBAAmB,EAAE,IAAI,YAChC,QAAQ;;;;;;;;IAiFX;;OAEG;8BADQ,IAAI,CAAC,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"packet-tools.d.ts","sourceRoot":"","sources":["packet-tools.js"],"names":[],"mappings":"AA2DO,yCAHI,OAAO,mBAAmB,EAAE,IAAI,YAChC,QAAQ;;;;;;;;IAiFX;;OAEG;8BADQ,IAAI,CAAC,SAAS,CAAC;;;;8BAnHvB,KAAK,OAAO,CAAC,GACX,IAAI;QAAE,QAAQ,EAAE,YAAY,GAAG,CAAC,CAAC;QAAC,KAAK,EAAE,IAAI,GAAG,CAAC,CAAA;KAAE,CAAC;IAsIzD;;;;OAIG;qCAHQ,OAAO,YAAY,CAAC,SACpB,aAAa,GACX,IAAI,GAAG,CAAC;GAwM5B;mCAlVU,KAAK,OAAO,CAAC,KACX,IAAI;IAAE,QAAQ,EAAE,YAAY,GAAG,CAAC,CAAC;IAAC,KAAK,EAAE,IAAI,GAAG,CAAC,CAAA;CAAE,CAAC;;gBAKnD,CACT,IAAI,EAAE,aAAa,KAChB,IAAI;QAAE,YAAY,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,IAAI,GAAG,CAAC,CAAA;KAAE,CAAC;;;;;;4BAU5C,IAAI,CAChB,OAAW,eAAe,EAAE,qBAAqB,EACjD,eAAmB,GAAG,kBAAkB,CACrC;0BAiUS,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC;8BA7VZ,aAAa;6BAD9C,gBAAgB;+BAGM,mCAAmC;wCAAnC,mCAAmC;0BAFxB,aAAa;iCAAb,aAAa;yBAAb,aAAa;4BAAb,aAAa"}
|
package/src/exos/packet-tools.js
CHANGED
|
@@ -126,7 +126,7 @@ export const preparePacketTools = (zone, vowTools) => {
|
|
|
126
126
|
const resolverToPattern = zone.detached().mapStore('resolverToPattern');
|
|
127
127
|
return {
|
|
128
128
|
lca,
|
|
129
|
-
reg: /** @type {
|
|
129
|
+
reg: /** @type {Vow<TargetRegistration> | null} */ (null),
|
|
130
130
|
resolverToPattern,
|
|
131
131
|
upcallQueue: /** @type {any[] | null} */ (null),
|
|
132
132
|
pending: 0,
|
|
@@ -327,23 +327,19 @@ export const preparePacketTools = (zone, vowTools) => {
|
|
|
327
327
|
}
|
|
328
328
|
this.state.pending = 0;
|
|
329
329
|
this.state.upcallQueue = null;
|
|
330
|
-
// FIXME when it returns undefined this causes an error:
|
|
331
|
-
// In "unsubscribeFromTransfers" method of (PacketToolsKit utils): result: undefined "[undefined]" - Must be a promise
|
|
332
330
|
return watch(this.facets.utils.unsubscribeFromTransfers());
|
|
333
331
|
},
|
|
334
332
|
subscribeToTransfers() {
|
|
335
333
|
// Subscribe to the transfers for this account.
|
|
336
|
-
const { lca, reg } = this.state;
|
|
337
|
-
if (
|
|
338
|
-
return when(
|
|
334
|
+
const { lca, reg: cachedReg } = this.state;
|
|
335
|
+
if (cachedReg) {
|
|
336
|
+
return when(cachedReg);
|
|
339
337
|
}
|
|
338
|
+
// Atomically update the registration.
|
|
340
339
|
const { tap } = this.facets;
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
return when(
|
|
344
|
-
this.state.reg = r;
|
|
345
|
-
return r;
|
|
346
|
-
});
|
|
340
|
+
const reg = watch(E(lca).monitorTransfers(tap));
|
|
341
|
+
this.state.reg = reg;
|
|
342
|
+
return when(reg);
|
|
347
343
|
},
|
|
348
344
|
unsubscribeFromTransfers() {
|
|
349
345
|
const { reg, monitor } = this.state;
|
|
@@ -23,7 +23,7 @@ declare function preparePortfolioHolderKit(zone: Zone, { asVow, when }: VowTools
|
|
|
23
23
|
* @param {IA} [invitationArgs]
|
|
24
24
|
* @returns {Promise<Invitation<unknown, IA>>}
|
|
25
25
|
*/
|
|
26
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA
|
|
26
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
27
27
|
};
|
|
28
28
|
holder: {
|
|
29
29
|
asContinuingOffer(): import("@agoric/vow").Vow<{
|
|
@@ -38,7 +38,7 @@ declare function preparePortfolioHolderKit(zone: Zone, { asVow, when }: VowTools
|
|
|
38
38
|
* @param {IA} [invitationArgs]
|
|
39
39
|
* @returns {Promise<Invitation<unknown, IA>>}
|
|
40
40
|
*/
|
|
41
|
-
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA
|
|
41
|
+
Proxying<IA extends unknown[]>(chainName: string, action: string, invitationArgs?: IA): Promise<Invitation<unknown, IA>>;
|
|
42
42
|
}>;
|
|
43
43
|
}>;
|
|
44
44
|
getPublicTopics(): import("@agoric/vow").Vow<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"portfolio-holder-kit.d.ts","sourceRoot":"","sources":["portfolio-holder-kit.js"],"names":[],"mappings":"AAgOO,6CANI,IAAI,YACJ,QAAQ,GACN,CACZ,GAAO,IAAI,EAAE,UAAU,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,KAC9D,UAAU,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAKzE;mCAhNY;IACR,QAAQ,EAAE,SAAS,MAAM,EAAE,cAAc,qBAAqB,GAAG,CAAC,CAAC,CAAC,CAAC;IACrE,YAAY,EAAE,SAAS,MAAM,EAAE,oBAAoB,OAAO,CAAC,CAAC,CAAC;CAC9D;kCA8MU,UAAU,CAAC,OAAO,sBAAsB,CAAC;8BACzC,UAAU,CAAC,mBAAmB,CAAC;0BAvNtB,cAAc;8BAFV,aAAa;AAqBxC;;;;;;GAMG;AACH,iDAHW,IAAI,m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,8 @@ export function prepareRemoteChainFacade(zone: Zone, powers: RemoteChainFacadePo
|
|
|
7
7
|
denom: string;
|
|
8
8
|
}>>;
|
|
9
9
|
}>, connectionInfo: IBCConnectionInfo) => import("@endo/exo").Guarded<{
|
|
10
|
-
/** @type {HostOf<Chain['getChainInfo']>} */
|
|
11
10
|
getChainInfo(): Vow<any>;
|
|
12
|
-
/** @type {HostOf<Chain['makeAccount']>} */
|
|
13
11
|
makeAccount(): Vow<import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").OrchestrationAccountI> | import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").OrchestrationAccountI & import("../cosmos-api.js").IcaAccountMethods> | import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").OrchestrationAccountI & import("../cosmos-api.js").LocalAccountMethods> | import("@agoric/async-flow").HostInterface<import("../orchestration-api.js").OrchestrationAccountI & import("../cosmos-api.js").IcaAccountMethods & import("../cosmos-api.js").StakingAccountActions & import("../cosmos-api.js").StakingAccountQueries>>;
|
|
14
|
-
/**
|
|
15
|
-
* @type {HostOf<
|
|
16
|
-
* Chain<CosmosChainInfo & { icqEnabled: true }>['query']
|
|
17
|
-
* >}
|
|
18
|
-
*/
|
|
19
12
|
query(msgs: {
|
|
20
13
|
data: string;
|
|
21
14
|
path: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-chain-facade.d.ts","sourceRoot":"","sources":["remote-chain-facade.js"],"names":[],"mappings":"AAqQO,+CAHI,IAAI,UACJ,uBAAuB
|
|
1
|
+
{"version":3,"file":"remote-chain-facade.d.ts","sourceRoot":"","sources":["remote-chain-facade.js"],"names":[],"mappings":"AAqQO,+CAHI,IAAI,UACJ,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKjC;sCA1OY;IACR,8BAA8B,EAAE,UAAU,CAC9C,wCAA8C,CACzC,CAAC;IACF,aAAa,EAAE,OAAO,uBAAuB,CAAC,CAAC;IAC/C,WAAW,EAAE,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B,oBAAoB;oCAApB,oBAAoB;uCAQuC,YAAY;kCAAZ,YAAY;8BARvE,oBAAoB;yBAEvD,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-basic-flows.d.ts","sourceRoot":"","sources":["start-basic-flows.js"],"names":[],"mappings":"AAsBO,yRAFI,eAAe,iBA4CzB;AAGM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BN;AApFD,
|
|
1
|
+
{"version":3,"file":"start-basic-flows.d.ts","sourceRoot":"","sources":["start-basic-flows.js"],"names":[],"mappings":"AAsBO,yRAFI,eAAe,iBA4CzB;AAGM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BN;AApFD,4BAAqB,YAAY,CAAC"}
|
|
@@ -92,7 +92,7 @@ export function startStakeAtom({ consume: { agoricNames, board, chainStorage, ch
|
|
|
92
92
|
getReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
|
|
93
93
|
getRewards(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../cosmos-api.js").CosmosRewardsResponse>>;
|
|
94
94
|
executeEncodedTx(msgs: {
|
|
95
|
-
$typeUrl?:
|
|
95
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
96
96
|
typeUrl: string;
|
|
97
97
|
value: string;
|
|
98
98
|
}[], opts?: Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> | undefined): import("@agoric/vow").Vow<string>;
|
|
@@ -27,7 +27,7 @@ export function startStakeBld({ consume: { agoricNames: agoricNamesP, board, cha
|
|
|
27
27
|
getAddress(): import("../orchestration-api.js").ChainAddress;
|
|
28
28
|
send(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void>;
|
|
29
29
|
sendAll(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): import("@agoric/vow").Vow<void>;
|
|
30
|
-
transfer(destination: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions
|
|
30
|
+
transfer(destination: import("../orchestration-api.js").ChainAddress, amount: import("../orchestration-api.js").AmountArg, opts?: import("../cosmos-api.js").IBCMsgTransferOptions): import("@agoric/vow").Vow<any>;
|
|
31
31
|
transferSteps(amount: import("../orchestration-api.js").AmountArg, msg: import("../orchestration-api.js").TransferMsg): import("@agoric/vow").Vow<void>;
|
|
32
32
|
sendThenWaitForAck(packetSender: import("@agoric/internal").Remote<import("../exos/packet-tools.js").PacketSender>, opts?: import("../exos/packet-tools.js").PacketOptions | undefined): import("@agoric/async-flow").HostInterface<import("@agoric/vow").Vow<any>>;
|
|
33
33
|
matchFirstPacket(args_0?: import("@agoric/vow").EVow<globalThis.Pattern>): import("@agoric/async-flow").HostInterface<import("@agoric/vow").Vow<{
|
|
@@ -92,7 +92,7 @@ export function startStakeOsmo({ consume: { agoricNames, board, chainStorage, ch
|
|
|
92
92
|
getReward(validator: import("../cosmos-api.js").CosmosValidatorAddress): import("@agoric/vow").Vow<import("../orchestration-api.js").DenomAmount[]>;
|
|
93
93
|
getRewards(): import("@agoric/vow").Vow<import("@agoric/async-flow").HostInterface<import("../cosmos-api.js").CosmosRewardsResponse>>;
|
|
94
94
|
executeEncodedTx(msgs: {
|
|
95
|
-
$typeUrl?:
|
|
95
|
+
$typeUrl?: "/google.protobuf.Any" | string | undefined;
|
|
96
96
|
typeUrl: string;
|
|
97
97
|
value: string;
|
|
98
98
|
}[], opts?: Partial<Omit<import("@agoric/cosmic-proto/cosmos/tx/v1beta1/tx.js").TxBody, "messages">> | undefined): import("@agoric/vow").Vow<string>;
|
package/src/utils/address.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function makeICAChannelAddress(hostConnectionId: IBCConnectionID, controllerConnectionId: IBCConnectionID, { version, encoding, ordering, txType, }?: ICAChannelAddressOpts
|
|
1
|
+
export function makeICAChannelAddress(hostConnectionId: IBCConnectionID, controllerConnectionId: IBCConnectionID, { version, encoding, ordering, txType, }?: ICAChannelAddressOpts): RemoteIbcAddress;
|
|
2
2
|
export const DEFAULT_ICQ_VERSION: "icq-1";
|
|
3
3
|
export function makeICQChannelAddress(controllerConnectionId: IBCConnectionID, version?: string): RemoteIbcAddress;
|
|
4
4
|
export function findAddressField(remoteAddressString: RemoteIbcAddress): ChainAddress["value"] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["address.js"],"names":[],"mappings":"AAwBO,wDALI,eAAe,0BACf,eAAe,
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["address.js"],"names":[],"mappings":"AAwBO,wDALI,eAAe,0BACf,eAAe,6CACf,qBAAqB,GACnB,gBAAgB,CAuB5B;AAGD,kCAAmC,OAAO,CAAC;AAOpC,8DAJI,eAAe,YACf,MAAM,GACJ,gBAAgB,CAQ5B;AAaM,sDAJI,gBAAgB,GAEd,YAAY,CAAC,OAAO,CAAC,GAAG,SAAS,CAY7C;AAYM,yCAFI,MAAM,UAQhB;;;;;;;;;;;;;;;;;;;;;qCAnGiC,cAAc;sCAEb,iCAAiC;kCADrC,aAAa"}
|
package/src/utils/packet.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* @returns {string} stringified InterchainAccountPacketData
|
|
14
14
|
* @throws {Error} if malformed messages are provided
|
|
15
15
|
*/
|
|
16
|
-
export function makeTxPacket(msgs: AnyJson[], opts?: Partial<Omit<TxBody, "messages">>
|
|
16
|
+
export function makeTxPacket(msgs: AnyJson[], opts?: Partial<Omit<TxBody, "messages">>): string;
|
|
17
17
|
/**
|
|
18
18
|
* Makes an IBC query packet from an array of query messages. Expects the `data`
|
|
19
19
|
* of each message to be base64 encoded bytes. Skips checks for malformed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packet.d.ts","sourceRoot":"","sources":["packet.js"],"names":[],"mappings":"AAcA;;;;GAIG;AAEH;;;;;;;;;GASG;AACH,mCALW,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"packet.d.ts","sourceRoot":"","sources":["packet.js"],"names":[],"mappings":"AAcA;;;;GAIG;AAEH;;;;;;;;;GASG;AACH,mCALW,OAAO,EAAE,SACT,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,GAC/B,MAAM,CAmBlB;AAGD;;;;;;;;GAQG;AACH,sCAJW,SAAS,YAAY,CAAC,EAAE,GACtB,MAAM,CAgBlB;AAGD;;;;;;;;;;GAUG;AACH,wCALW,MAAM,GACJ,MAAM,CASlB;AAGD;;;;;;;;;;;GAWG;AACH,2CALW,MAAM,GACJ,SAAS,aAAa,CAAC,EAAE,CASrC;6BA/FmC,sBAAsB;uBAdnC,8CAA8C;6BAK9D,+CAA+C;8BASlB,sBAAsB;8BATnD,+CAA+C"}
|
|
@@ -24,10 +24,10 @@ export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: O
|
|
|
24
24
|
asyncFlowTools: {
|
|
25
25
|
prepareAsyncFlowKit: (zone: Zone, tag: string, guestAsyncFunc: import("@agoric/async-flow").GuestAsyncFunc, options?: {
|
|
26
26
|
startEager?: boolean;
|
|
27
|
-
}
|
|
27
|
+
}) => (activationArgs: any) => import("@endo/exo").GuardedKit<{
|
|
28
28
|
flow: {
|
|
29
29
|
getFlowState(): import("@agoric/async-flow").FlowState;
|
|
30
|
-
restart(eager?: boolean
|
|
30
|
+
restart(eager?: boolean): void;
|
|
31
31
|
wake(): void;
|
|
32
32
|
getOutcome(): import("@agoric/vow").Vow<any>;
|
|
33
33
|
dump(): ([op: "doFulfill", vow: import("@agoric/vow").Vow<import("@endo/pass-style").Passable>, fulfillment: import("@endo/pass-style").Passable] | [op: "doReject", vow: import("@agoric/vow").Vow<import("@endo/pass-style").Passable>, reason: import("@endo/pass-style").Passable] | [op: "doReturn", callIndex: number, result: import("@endo/pass-style").Passable] | [op: "doThrow", callIndex: number, problem: import("@endo/pass-style").Passable] | [op: "checkCall", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSendOnly", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number] | [op: "checkSend", target: import("@endo/pass-style").Passable, optVerb: PropertyKey | undefined, args: import("@endo/pass-style").Passable[], callIndex: number])[];
|
|
@@ -45,7 +45,7 @@ export function provideOrchestration(zcf: ZCF, baggage: Baggage, remotePowers: O
|
|
|
45
45
|
}>;
|
|
46
46
|
asyncFlow: <F extends import("@agoric/async-flow").GuestAsyncFunc>(zone: Zone, tag: string, guestFunc: F, options?: {
|
|
47
47
|
startEager?: boolean;
|
|
48
|
-
}
|
|
48
|
+
}) => import("@agoric/async-flow").HostOf<F>;
|
|
49
49
|
adminAsyncFlow: import("@endo/exo").Guarded<{
|
|
50
50
|
getFailures(): import("@endo/patterns").CopyMap<any, import("@endo/pass-style").Passable>;
|
|
51
51
|
wakeAll(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-helper.d.ts","sourceRoot":"","sources":["start-helper.js"],"names":[],"mappings":"AA8CO,0CANI,GAAG,WACH,OAAO,gBACP,mBAAmB,cACnB,UAAU;+BAiGR,IAAI
|
|
1
|
+
{"version":3,"file":"start-helper.d.ts","sourceRoot":"","sources":["start-helper.js"],"names":[],"mappings":"AA8CO,0CANI,GAAG,WACH,OAAO,gBACP,mBAAmB,cACnB,UAAU;+BAiGR,IAAI;;;;;;;;;;;;;;;;;;;;;;;;sBA/BS,CAAC;;;;;;;;;;;;;;;;;;;;;sBAyGu+Y,CAAC;;;;;;;;;;;;;;;;;;;;EAzClgZ;AA8BM,kCAdgC,EAAE,SAA3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAE,EAGhC,EAAE,SAFM,mBAAmB,GAAG;IAC/B,UAAU,EAAE,UAAU,CAAC;CACvB,EACQ,CAAC,cACH,CACN,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EACZ,WAAW,EAAE,EAAE,EACf,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,kBAAkB,KACtB,OAAO,CAAC,CAAC,CAAC,GACL,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,CAAC,CAYzE;kCA3LU;IACR,UAAU,EAAE,OAAO,UAAU,CAAC,CAAC;IAC/B,oBAAoB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IACtD,WAAW,EAAE,OAAO,WAAW,CAAC,CAAC;IACjC,YAAY,EAAE,OAAO,YAAY,CAAC,CAAC;IACnC,WAAW,EAAE,OAAO,OAAO,CAAC,CAAC;CAC9B;iCAiJU,IAAI,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,EAAE,MAAM,CAAC;6BA/JzC,kBAAkB;0BAGrB,cAAc;gCALR,gCAAgC;4BAIpC,aAAa;6CAEI,2BAA2B;kCAL1B,cAAc;6BAE/B,cAAc"}
|
package/src/utils/time.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export function makeTimestampHelper(timer: Remote<TimerService>): {
|
|
|
15
15
|
* @returns {Promise<bigint>} Timeout timestamp in absolute nanoseconds
|
|
16
16
|
* since unix epoch
|
|
17
17
|
*/
|
|
18
|
-
getTimeoutTimestampNS(relativeTime?: RelativeTimeRecord
|
|
18
|
+
getTimeoutTimestampNS(relativeTime?: RelativeTimeRecord): Promise<bigint>;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* @import {RelativeTimeRecord, TimerBrand, TimerService} from '@agoric/time';
|
package/src/utils/time.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["time.js"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,2CAFW,OAAO,YAAY,CAAC;IAI3B;;;;;;;;;;OAUG;
|
|
1
|
+
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["time.js"],"names":[],"mappings":"AAaA;;;;GAIG;AACH,2CAFW,OAAO,YAAY,CAAC;IAI3B;;;;;;;;;;OAUG;yCAHQ,kBAAkB,GAChB,OAAO,CAAC,MAAM,CAAC;EAiB/B;AA1CD;;;GAGG;AAEH,iCAAkC,GAAG,CAAC;AACtC,sCAAuC,KAAK,CAAC;AAC7C,0CAA2C,QAAU,CAAC;AACtD,qCAAsC,WAAc,CAAC;8BAoCvC,OAAO,CAAC,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;kCA3CE,cAAc;4BACpD,kBAAkB;wCADoB,cAAc"}
|
|
@@ -2,15 +2,15 @@ export function buildRootObject(vatPowers: VatPowers & {
|
|
|
2
2
|
D: DProxy;
|
|
3
3
|
}, vatParameters: never, baggage: Baggage): {
|
|
4
4
|
/** @param {Partial<CosmosOrchestrationPowers>} [initialPowers] */
|
|
5
|
-
makeCosmosInterchainService(initialPowers?: Partial<CosmosOrchestrationPowers>
|
|
6
|
-
makeAccount(chainId: string, hostConnectionId: import("@agoric/vats").IBCConnectionID, controllerConnectionId: import("@agoric/vats").IBCConnectionID, opts?: import("./utils/address.js").ICAChannelAddressOpts
|
|
7
|
-
provideICQConnection(controllerConnectionId: import("@agoric/vats").IBCConnectionID, version?: string
|
|
5
|
+
makeCosmosInterchainService(initialPowers?: Partial<CosmosOrchestrationPowers>): import("@endo/exo").Guarded<{
|
|
6
|
+
makeAccount(chainId: string, hostConnectionId: import("@agoric/vats").IBCConnectionID, controllerConnectionId: import("@agoric/vats").IBCConnectionID, opts?: import("./utils/address.js").ICAChannelAddressOpts): import("@agoric/vow").Vow<import("./cosmos-api.js").IcaAccount>;
|
|
7
|
+
provideICQConnection(controllerConnectionId: import("@agoric/vats").IBCConnectionID, version?: string): import("@agoric/vow").Vow<import("./types.js").ICQConnection> | import("./types.js").ICQConnection;
|
|
8
8
|
}>;
|
|
9
9
|
} & import("@endo/pass-style").RemotableObject<`Alleged: ${string}`> & import("@endo/eventual-send").RemotableBrand<{}, {
|
|
10
10
|
/** @param {Partial<CosmosOrchestrationPowers>} [initialPowers] */
|
|
11
|
-
makeCosmosInterchainService(initialPowers?: Partial<CosmosOrchestrationPowers>
|
|
12
|
-
makeAccount(chainId: string, hostConnectionId: import("@agoric/vats").IBCConnectionID, controllerConnectionId: import("@agoric/vats").IBCConnectionID, opts?: import("./utils/address.js").ICAChannelAddressOpts
|
|
13
|
-
provideICQConnection(controllerConnectionId: import("@agoric/vats").IBCConnectionID, version?: string
|
|
11
|
+
makeCosmosInterchainService(initialPowers?: Partial<CosmosOrchestrationPowers>): import("@endo/exo").Guarded<{
|
|
12
|
+
makeAccount(chainId: string, hostConnectionId: import("@agoric/vats").IBCConnectionID, controllerConnectionId: import("@agoric/vats").IBCConnectionID, opts?: import("./utils/address.js").ICAChannelAddressOpts): import("@agoric/vow").Vow<import("./cosmos-api.js").IcaAccount>;
|
|
13
|
+
provideICQConnection(controllerConnectionId: import("@agoric/vats").IBCConnectionID, version?: string): import("@agoric/vow").Vow<import("./types.js").ICQConnection> | import("./types.js").ICQConnection;
|
|
14
14
|
}>;
|
|
15
15
|
}>;
|
|
16
16
|
export type OrchestrationVat = ReturnType<typeof buildRootObject>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vat-orchestration.d.ts","sourceRoot":"","sources":["vat-orchestration.js"],"names":[],"mappings":"AAmBO,2CANI,SAAS,GAAG;IAClB,CAAC,EAAE,MAAM,CAAC;CACX,iBACO,KAAK,WACL,OAAO;IAWd,kEAAkE
|
|
1
|
+
{"version":3,"file":"vat-orchestration.d.ts","sourceRoot":"","sources":["vat-orchestration.js"],"names":[],"mappings":"AAmBO,2CANI,SAAS,GAAG;IAClB,CAAC,EAAE,MAAM,CAAC;CACX,iBACO,KAAK,WACL,OAAO;IAWd,kEAAkE;gDAAtD,OAAO,CAAC,yBAAyB,CAAC;;;;;IAA9C,kEAAkE;gDAAtD,OAAO,CAAC,yBAAyB,CAAC;;;;GAKjD;+BAEa,UAAU,CAAC,OAAO,eAAe,CAAC;6BA7BtB,kBAAkB;+CACA,qCAAqC"}
|