@agoric/orchestration 0.1.1-dev-a66b840.0 → 0.1.1-dev-67a57a4.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/examples/stakeBld.contract.d.ts +4 -4
- 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 +12 -12
- package/src/exos/local-orchestration-account.d.ts +9 -7
- package/src/exos/local-orchestration-account.d.ts.map +1 -1
- package/src/exos/local-orchestration-account.js +4 -2
- package/src/exos/orchestrator.d.ts +116 -10
- package/src/exos/orchestrator.d.ts.map +1 -1
- package/src/exos/remote-chain-facade.d.ts +57 -4
- package/src/exos/remote-chain-facade.d.ts.map +1 -1
- package/src/proposals/start-stakeBld.d.ts +4 -4
- package/src/typeGuards.d.ts.map +1 -1
- package/src/typeGuards.js +4 -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-67a57a4.0+67a57a4",
|
|
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-67a57a4.0+67a57a4",
|
|
37
|
+
"@agoric/cosmic-proto": "0.4.1-dev-67a57a4.0+67a57a4",
|
|
38
|
+
"@agoric/ertp": "0.16.3-dev-67a57a4.0+67a57a4",
|
|
39
|
+
"@agoric/internal": "0.3.3-dev-67a57a4.0+67a57a4",
|
|
40
|
+
"@agoric/network": "0.1.1-dev-67a57a4.0+67a57a4",
|
|
41
|
+
"@agoric/notifier": "0.6.3-dev-67a57a4.0+67a57a4",
|
|
42
|
+
"@agoric/store": "0.9.3-dev-67a57a4.0+67a57a4",
|
|
43
|
+
"@agoric/time": "0.3.3-dev-67a57a4.0+67a57a4",
|
|
44
|
+
"@agoric/vat-data": "0.5.3-dev-67a57a4.0+67a57a4",
|
|
45
|
+
"@agoric/vats": "0.15.2-dev-67a57a4.0+67a57a4",
|
|
46
|
+
"@agoric/vow": "0.1.1-dev-67a57a4.0+67a57a4",
|
|
47
|
+
"@agoric/zoe": "0.26.3-dev-67a57a4.0+67a57a4",
|
|
48
|
+
"@agoric/zone": "0.2.3-dev-67a57a4.0+67a57a4",
|
|
49
49
|
"@endo/base64": "^1.0.7",
|
|
50
50
|
"@endo/errors": "^1.2.5",
|
|
51
51
|
"@endo/far": "^1.1.5",
|
|
@@ -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-67a57a4.0+67a57a4",
|
|
58
58
|
"@chain-registry/client": "^1.47.4",
|
|
59
59
|
"@cosmjs/amino": "^0.32.3",
|
|
60
60
|
"@cosmjs/proto-signing": "^0.32.3",
|
|
@@ -94,5 +94,5 @@
|
|
|
94
94
|
"typeCoverage": {
|
|
95
95
|
"atLeast": 97.57
|
|
96
96
|
},
|
|
97
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "67a57a49b21847c4eb8acea1ca9f318fad8cc52f"
|
|
98
98
|
}
|
|
@@ -21,13 +21,13 @@ export function start(zcf: ZCF, privateArgs: {
|
|
|
21
21
|
withdraw(amount: import("@agoric/ertp/src/types.js").NatAmount): import("@agoric/vow").Vow<globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">> extends import("@endo/marshal").Passable ? globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">> : import("@agoric/async-flow").HostInterface<globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">>>>;
|
|
22
22
|
executeTx(messages: {
|
|
23
23
|
'@type': string;
|
|
24
|
-
}[]): import("@agoric/vow").Vow<
|
|
24
|
+
}[]): import("@agoric/vow").Vow<{
|
|
25
25
|
'@type': string;
|
|
26
|
-
}
|
|
26
|
+
}[] extends import("@endo/marshal").Passable ? {
|
|
27
27
|
'@type': string;
|
|
28
|
-
}
|
|
28
|
+
}[] : import("@agoric/async-flow").HostInterface<{
|
|
29
29
|
'@type': string;
|
|
30
|
-
}
|
|
30
|
+
}[]>>;
|
|
31
31
|
getAddress(): import("../orchestration-api.js").ChainAddress;
|
|
32
32
|
send(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void extends import("@endo/marshal").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
33
33
|
sendAll(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): import("@agoric/vow").Vow<void extends import("@endo/marshal").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
@@ -17,7 +17,23 @@ export function prepareICQConnectionKit(zone: Zone, { watch, asVow }: VowTools):
|
|
|
17
17
|
};
|
|
18
18
|
parseQueryPacketWatcher: {
|
|
19
19
|
/** @param {string} ack packet acknowledgement string */
|
|
20
|
-
onFulfilled(ack: string):
|
|
20
|
+
onFulfilled(ack: string): {
|
|
21
|
+
code: number;
|
|
22
|
+
log: string;
|
|
23
|
+
info: string;
|
|
24
|
+
index: string;
|
|
25
|
+
key: string;
|
|
26
|
+
value: string;
|
|
27
|
+
proofOps?: {
|
|
28
|
+
ops: {
|
|
29
|
+
type: string;
|
|
30
|
+
key: string;
|
|
31
|
+
data: string;
|
|
32
|
+
}[];
|
|
33
|
+
} | undefined;
|
|
34
|
+
height: string;
|
|
35
|
+
codespace: string;
|
|
36
|
+
}[];
|
|
21
37
|
};
|
|
22
38
|
connectionHandler: {
|
|
23
39
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icq-connection-kit.d.ts","sourceRoot":"","sources":["icq-connection-kit.js"],"names":[],"mappings":"AAoBA;;;;GAIG;AA8BI,8CAJI,IAAI,oBACJ,QAAQ;;;;QAqCX;;;;;WAKG;oBAFQ,SAAS,YAAY,CAAC,EAAE,GACtB,IAAI,SAAS,aAAa,CAAC,EAAE,CAAC;;;QAc3C,wDAAwD;yBAA5C,MAAM
|
|
1
|
+
{"version":3,"file":"icq-connection-kit.d.ts","sourceRoot":"","sources":["icq-connection-kit.js"],"names":[],"mappings":"AAoBA;;;;GAIG;AA8BI,8CAJI,IAAI,oBACJ,QAAQ;;;;QAqCX;;;;;WAKG;oBAFQ,SAAS,YAAY,CAAC,EAAE,GACtB,IAAI,SAAS,aAAa,CAAC,EAAE,CAAC;;;QAc3C,wDAAwD;yBAA5C,MAAM;;;;;;;;;;;;;;;;;;;QAMlB;;;;WAIG;2BAHQ,OAAO,UAAU,CAAC,aAClB,eAAe,cACf,gBAAgB;;;GAahC;oCArGU;IACZ,IAAQ,EAAE,IAAI,CAAC;IACf,UAAc,EAAE,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;IAC/C,YAAgB,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,aAAiB,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC7C;+BAkGU,UAAU,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;4BACtD,gBAAgB,CAAC,YAAY,CAAC;0BAzHrB,mBAAmB;8BAEF,aAAa;0BADlB,iBAAiB;kCAGN,+CAA+C;8BADlE,sBAAsB;mCACH,+CAA+C;yBAFrD,aAAa;gCADlB,iBAAiB;4BACZ,aAAa;qCAGD,iCAAiC;sCAAjC,iCAAiC"}
|
|
@@ -27,22 +27,22 @@ export function prepareLocalChainFacade(zone: Zone, powers: LocalChainFacadePowe
|
|
|
27
27
|
/** @type {HostOf<Chain<{ chainId: 'agoriclocal' }>['query']>} */
|
|
28
28
|
query(args_0: {
|
|
29
29
|
'@type': string;
|
|
30
|
-
}[]): Vow<
|
|
30
|
+
}[]): Vow<{
|
|
31
31
|
error?: string;
|
|
32
32
|
reply: {
|
|
33
33
|
'@type': string;
|
|
34
34
|
};
|
|
35
|
-
}
|
|
35
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
36
36
|
error?: string;
|
|
37
37
|
reply: {
|
|
38
38
|
'@type': string;
|
|
39
39
|
};
|
|
40
|
-
}
|
|
40
|
+
}[] : import("@agoric/async-flow").HostInterface<{
|
|
41
41
|
error?: string;
|
|
42
42
|
reply: {
|
|
43
43
|
'@type': string;
|
|
44
44
|
};
|
|
45
|
-
}
|
|
45
|
+
}[]>>;
|
|
46
46
|
/** @type {HostOf<AgoricChainMethods['getVBankAssetInfo']>} */
|
|
47
47
|
getVBankAssetInfo(): Vow<AssetInfo[] extends import("@endo/pass-style").Passable ? AssetInfo[] : import("@agoric/async-flow").HostInterface<AssetInfo[]>>;
|
|
48
48
|
};
|
|
@@ -67,13 +67,13 @@ export function prepareLocalChainFacade(zone: Zone, powers: LocalChainFacadePowe
|
|
|
67
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
68
|
executeTx(messages: {
|
|
69
69
|
'@type': string;
|
|
70
|
-
}[]): Vow<
|
|
70
|
+
}[]): Vow<{
|
|
71
71
|
'@type': string;
|
|
72
|
-
}
|
|
72
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
73
73
|
'@type': string;
|
|
74
|
-
}
|
|
74
|
+
}[] : import("@agoric/async-flow").HostInterface<{
|
|
75
75
|
'@type': string;
|
|
76
|
-
}
|
|
76
|
+
}[]>>;
|
|
77
77
|
getAddress(): ChainAddress;
|
|
78
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
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>>;
|
|
@@ -131,13 +131,13 @@ export function prepareLocalChainFacade(zone: Zone, powers: LocalChainFacadePowe
|
|
|
131
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
132
|
executeTx(messages: {
|
|
133
133
|
'@type': string;
|
|
134
|
-
}[]): Vow<
|
|
134
|
+
}[]): Vow<{
|
|
135
135
|
'@type': string;
|
|
136
|
-
}
|
|
136
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
137
137
|
'@type': string;
|
|
138
|
-
}
|
|
138
|
+
}[] : import("@agoric/async-flow").HostInterface<{
|
|
139
139
|
'@type': string;
|
|
140
|
-
}
|
|
140
|
+
}[]>>;
|
|
141
141
|
getAddress(): ChainAddress;
|
|
142
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
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>>;
|
|
@@ -117,12 +117,14 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
117
117
|
*/
|
|
118
118
|
queryBalancesWatcher: {
|
|
119
119
|
/**
|
|
120
|
-
* @param {
|
|
121
|
-
*
|
|
120
|
+
* @param {JsonSafe<
|
|
121
|
+
* ResponseTo<
|
|
122
|
+
* TypedJson<'/cosmos.bank.v1beta1.QueryAllBalancesRequest'>
|
|
123
|
+
* >
|
|
122
124
|
* >} result
|
|
123
125
|
* @returns {DenomAmount[]}
|
|
124
126
|
*/
|
|
125
|
-
onFulfilled(result: ResponseTo<TypedJson<"/cosmos.bank.v1beta1.QueryAllBalancesRequest"
|
|
127
|
+
onFulfilled(result: JsonSafe<ResponseTo<TypedJson<"/cosmos.bank.v1beta1.QueryAllBalancesRequest">>>): DenomAmount[];
|
|
126
128
|
};
|
|
127
129
|
holder: {
|
|
128
130
|
/** @type {HostOf<OrchestrationAccountI['asContinuingOffer']>} */
|
|
@@ -160,13 +162,13 @@ export function prepareLocalOrchestrationAccountKit(zone: Zone, { makeRecorderKi
|
|
|
160
162
|
/** @type {HostOf<LocalChainAccount['executeTx']>} */
|
|
161
163
|
executeTx(messages: {
|
|
162
164
|
'@type': string;
|
|
163
|
-
}[]): Vow<
|
|
165
|
+
}[]): Vow<{
|
|
164
166
|
'@type': string;
|
|
165
|
-
}
|
|
167
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
166
168
|
'@type': string;
|
|
167
|
-
}
|
|
169
|
+
}[] : import("@agoric/async-flow").HostInterface<{
|
|
168
170
|
'@type': string;
|
|
169
|
-
}
|
|
171
|
+
}[]>>;
|
|
170
172
|
/** @type {OrchestrationAccountI['getAddress']} */
|
|
171
173
|
getAddress(): ChainAddress;
|
|
172
174
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-orchestration-account.d.ts","sourceRoot":"","sources":["local-orchestration-account.js"],"names":[],"mappings":"AA8FO,0DATI,IAAI,0EAEZ;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;CAC5B;aAsEc,iBAAiB;aACjB,YAAY;iBACZ,OAAO,WAAW,CAAC;;;QAc1B;;;WAGG;6BAFQ,SAAS,GACP,IAAI;;;QAOjB;;;WAGG;mCAFQ,MAAM,cACN,MAAM,CAAC,KAAK,CAAC;QAYxB;;;WAGG;qCAFQ,MAAM,cACN,MAAM,CAAC,KAAK,CAAC;;;uBAmBJ,YAAY;oBAAU,SAAS;;;uBAa/B,YAAY;qBAAW,SAAS,EAAE;;;oBAcrC,SAAS;yBACJ,YAAY;kBACnB,qBAAqB;;;;QAcpC;;;;;;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;YACV,WAAe,EAAE,YAAY,CAAC;YAC9B,IAAQ,CAAC,EAAE,qBAAqB,CAAC;YACjC,MAAU,EAAE,WAAW,CAAC;SACrB;;IAqCN;;;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gCAAgC;uCAAhC,gCAAgC;kCACwC,uBAAuB;+BAAvB,uBAAuB;0BAQxH,kDAAkD;yBAFzC,aAAa;qCADG,cAAc;2CAL0D,uBAAuB;+BAO7F,sBAAsB;8BAAtB,sBAAsB;uCAPgD,uBAAuB;iCAAvB,uBAAuB;gCAO7F,sBAAsB;iCANzB,6CAA6C;iCAU9D,mBAAmB"}
|
|
@@ -387,8 +387,10 @@ export const prepareLocalOrchestrationAccountKit = (
|
|
|
387
387
|
*/
|
|
388
388
|
queryBalancesWatcher: {
|
|
389
389
|
/**
|
|
390
|
-
* @param {
|
|
391
|
-
*
|
|
390
|
+
* @param {JsonSafe<
|
|
391
|
+
* ResponseTo<
|
|
392
|
+
* TypedJson<'/cosmos.bank.v1beta1.QueryAllBalancesRequest'>
|
|
393
|
+
* >
|
|
392
394
|
* >} result
|
|
393
395
|
* @returns {DenomAmount[]}
|
|
394
396
|
*/
|
|
@@ -36,22 +36,22 @@ export function prepareOrchestrator(zone: Zone, powers: {
|
|
|
36
36
|
makeAccount(): Vow<import("./local-orchestration-account.js").LocalOrchestrationAccountKit["holder"]>;
|
|
37
37
|
query(args_0: {
|
|
38
38
|
'@type': string;
|
|
39
|
-
}[]): Vow<
|
|
39
|
+
}[]): Vow<{
|
|
40
40
|
error?: string;
|
|
41
41
|
reply: {
|
|
42
42
|
'@type': string;
|
|
43
43
|
};
|
|
44
|
-
}
|
|
44
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
45
45
|
error?: string;
|
|
46
46
|
reply: {
|
|
47
47
|
'@type': string;
|
|
48
48
|
};
|
|
49
|
-
}
|
|
49
|
+
}[] : HostInterface<{
|
|
50
50
|
error?: string;
|
|
51
51
|
reply: {
|
|
52
52
|
'@type': string;
|
|
53
53
|
};
|
|
54
|
-
}
|
|
54
|
+
}[]>>;
|
|
55
55
|
getVBankAssetInfo(): Vow<import("@agoric/vats/src/vat-bank.js").AssetInfo[] extends import("@endo/pass-style").Passable ? import("@agoric/vats/src/vat-bank.js").AssetInfo[] : HostInterface<import("@agoric/vats/src/vat-bank.js").AssetInfo[]>>;
|
|
56
56
|
}>;
|
|
57
57
|
};
|
|
@@ -70,7 +70,60 @@ export function prepareOrchestrator(zone: Zone, powers: {
|
|
|
70
70
|
onFulfilled([_agoricChainInfo, remoteChainInfo, connectionInfo]: [ChainInfo, ChainInfo, IBCConnectionInfo], name: string): import("@endo/exo").Guarded<{
|
|
71
71
|
getChainInfo(): Vow<any extends import("@endo/pass-style").Passable ? any : HostInterface<any>>;
|
|
72
72
|
makeAccount(): Vow<import("../orchestration-api.js").OrchestrationAccount<any> extends import("@endo/pass-style").Passable ? import("@endo/pass-style").Passable & import("../orchestration-api.js").OrchestrationAccount<any> : HostInterface<import("../orchestration-api.js").OrchestrationAccount<any>>>;
|
|
73
|
-
query(msgs:
|
|
73
|
+
query(msgs: {
|
|
74
|
+
data: string;
|
|
75
|
+
path: string;
|
|
76
|
+
height: string;
|
|
77
|
+
prove: boolean;
|
|
78
|
+
}[]): Vow<{
|
|
79
|
+
code: number;
|
|
80
|
+
log: string;
|
|
81
|
+
info: string;
|
|
82
|
+
index: string;
|
|
83
|
+
key: string;
|
|
84
|
+
value: string;
|
|
85
|
+
proofOps?: {
|
|
86
|
+
ops: {
|
|
87
|
+
type: string;
|
|
88
|
+
key: string;
|
|
89
|
+
data: string;
|
|
90
|
+
}[];
|
|
91
|
+
} | undefined;
|
|
92
|
+
height: string;
|
|
93
|
+
codespace: string;
|
|
94
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
95
|
+
code: number;
|
|
96
|
+
log: string;
|
|
97
|
+
info: string;
|
|
98
|
+
index: string;
|
|
99
|
+
key: string;
|
|
100
|
+
value: string;
|
|
101
|
+
proofOps?: {
|
|
102
|
+
ops: {
|
|
103
|
+
type: string;
|
|
104
|
+
key: string;
|
|
105
|
+
data: string;
|
|
106
|
+
}[];
|
|
107
|
+
} | undefined;
|
|
108
|
+
height: string;
|
|
109
|
+
codespace: string;
|
|
110
|
+
}[] : HostInterface<{
|
|
111
|
+
code: number;
|
|
112
|
+
log: string;
|
|
113
|
+
info: string;
|
|
114
|
+
index: string;
|
|
115
|
+
key: string;
|
|
116
|
+
value: string;
|
|
117
|
+
proofOps?: {
|
|
118
|
+
ops: {
|
|
119
|
+
type: string;
|
|
120
|
+
key: string;
|
|
121
|
+
data: string;
|
|
122
|
+
}[];
|
|
123
|
+
} | undefined;
|
|
124
|
+
height: string;
|
|
125
|
+
codespace: string;
|
|
126
|
+
}[]>>;
|
|
74
127
|
}>;
|
|
75
128
|
};
|
|
76
129
|
orchestrator: {
|
|
@@ -162,22 +215,22 @@ declare function prepareOrchestratorKit(zone: Zone, { chainHub, localchain, chai
|
|
|
162
215
|
makeAccount(): Vow<import("./local-orchestration-account.js").LocalOrchestrationAccountKit["holder"]>;
|
|
163
216
|
query(args_0: {
|
|
164
217
|
'@type': string;
|
|
165
|
-
}[]): Vow<
|
|
218
|
+
}[]): Vow<{
|
|
166
219
|
error?: string;
|
|
167
220
|
reply: {
|
|
168
221
|
'@type': string;
|
|
169
222
|
};
|
|
170
|
-
}
|
|
223
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
171
224
|
error?: string;
|
|
172
225
|
reply: {
|
|
173
226
|
'@type': string;
|
|
174
227
|
};
|
|
175
|
-
}
|
|
228
|
+
}[] : HostInterface<{
|
|
176
229
|
error?: string;
|
|
177
230
|
reply: {
|
|
178
231
|
'@type': string;
|
|
179
232
|
};
|
|
180
|
-
}
|
|
233
|
+
}[]>>;
|
|
181
234
|
getVBankAssetInfo(): Vow<import("@agoric/vats/src/vat-bank.js").AssetInfo[] extends import("@endo/pass-style").Passable ? import("@agoric/vats/src/vat-bank.js").AssetInfo[] : HostInterface<import("@agoric/vats/src/vat-bank.js").AssetInfo[]>>;
|
|
182
235
|
}>;
|
|
183
236
|
};
|
|
@@ -196,7 +249,60 @@ declare function prepareOrchestratorKit(zone: Zone, { chainHub, localchain, chai
|
|
|
196
249
|
onFulfilled([_agoricChainInfo, remoteChainInfo, connectionInfo]: [ChainInfo, ChainInfo, IBCConnectionInfo], name: string): import("@endo/exo").Guarded<{
|
|
197
250
|
getChainInfo(): Vow<any extends import("@endo/pass-style").Passable ? any : HostInterface<any>>;
|
|
198
251
|
makeAccount(): Vow<import("../orchestration-api.js").OrchestrationAccount<any> extends import("@endo/pass-style").Passable ? import("@endo/pass-style").Passable & import("../orchestration-api.js").OrchestrationAccount<any> : HostInterface<import("../orchestration-api.js").OrchestrationAccount<any>>>;
|
|
199
|
-
query(msgs:
|
|
252
|
+
query(msgs: {
|
|
253
|
+
data: string;
|
|
254
|
+
path: string;
|
|
255
|
+
height: string;
|
|
256
|
+
prove: boolean;
|
|
257
|
+
}[]): Vow<{
|
|
258
|
+
code: number;
|
|
259
|
+
log: string;
|
|
260
|
+
info: string;
|
|
261
|
+
index: string;
|
|
262
|
+
key: string;
|
|
263
|
+
value: string;
|
|
264
|
+
proofOps?: {
|
|
265
|
+
ops: {
|
|
266
|
+
type: string;
|
|
267
|
+
key: string;
|
|
268
|
+
data: string;
|
|
269
|
+
}[];
|
|
270
|
+
} | undefined;
|
|
271
|
+
height: string;
|
|
272
|
+
codespace: string;
|
|
273
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
274
|
+
code: number;
|
|
275
|
+
log: string;
|
|
276
|
+
info: string;
|
|
277
|
+
index: string;
|
|
278
|
+
key: string;
|
|
279
|
+
value: string;
|
|
280
|
+
proofOps?: {
|
|
281
|
+
ops: {
|
|
282
|
+
type: string;
|
|
283
|
+
key: string;
|
|
284
|
+
data: string;
|
|
285
|
+
}[];
|
|
286
|
+
} | undefined;
|
|
287
|
+
height: string;
|
|
288
|
+
codespace: string;
|
|
289
|
+
}[] : HostInterface<{
|
|
290
|
+
code: number;
|
|
291
|
+
log: string;
|
|
292
|
+
info: string;
|
|
293
|
+
index: string;
|
|
294
|
+
key: string;
|
|
295
|
+
value: string;
|
|
296
|
+
proofOps?: {
|
|
297
|
+
ops: {
|
|
298
|
+
type: string;
|
|
299
|
+
key: string;
|
|
300
|
+
data: string;
|
|
301
|
+
}[];
|
|
302
|
+
} | undefined;
|
|
303
|
+
height: string;
|
|
304
|
+
codespace: string;
|
|
305
|
+
}[]>>;
|
|
200
306
|
}>;
|
|
201
307
|
};
|
|
202
308
|
orchestrator: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["orchestrator.js"],"names":[],"mappings":"AAmCA,0BAA0B;AAC1B;;;;;GAKG;AA0II,0CAhBI,IAAI,UACJ;IACV,cAAkB,EAAE,cAAc,CAAC;IACnC,QAAY,EAAE,QAAQ,CAAC;IACvB,UAAc,EAAE,OAAO,UAAU,CAAC,CAAC;IACnC,WAAe,EAAE,QAAQ,CAAC,MAAM,EAAE,yBAAoB,CAAC,CAAC;IACxD,eAAmB,EAAE,eAAe,CAAC;IACrC,oBAAwB,EAAE,oBAAoB,CAAC;IAC/C,qBAAyB,EAAE,qBAAqB,CAAC;IACjD,oBAAwB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IAC1D,WAAe,EAAE,OAAO,WAAW,CAAC,CAAC;IACrC,YAAgB,EAAE,OAAO,YAAY,CAAC,CAAC;IACvC,QAAY,EAAE,QAAQ,CAAC;IACvB,GAAO,EAAE,GAAG,CAAC;CACV;IArFE,2DAA2D;;QAEzD;;WAEG;qCADQ,gBAAgB,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQtC;;;OAGG;;QAED;;;;;;WAMG;0HADQ,MAAM
|
|
1
|
+
{"version":3,"file":"orchestrator.d.ts","sourceRoot":"","sources":["orchestrator.js"],"names":[],"mappings":"AAmCA,0BAA0B;AAC1B;;;;;GAKG;AA0II,0CAhBI,IAAI,UACJ;IACV,cAAkB,EAAE,cAAc,CAAC;IACnC,QAAY,EAAE,QAAQ,CAAC;IACvB,UAAc,EAAE,OAAO,UAAU,CAAC,CAAC;IACnC,WAAe,EAAE,QAA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AAC,MAAM,EAAE,yBAAoB,CAAC,CAAC;IACxD,eAAmB,EAAE,eAAe,CAAC;IACrC,oBAAwB,EAAE,oBAAoB,CAAC;IAC/C,qBAAyB,EAAE,qBAAqB,CAAC;IACjD,oBAAwB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IAC1D,WAAe,EAAE,OAAO,WAAW,CAAC,CAAC;IACrC,YAAgB,EAAE,OAAO,YAAY,CAAC,CAAC;IACvC,QAAY,EAAE,QAAQ,CAAC;IACvB,GAAO,EAAE,GAAG,CAAC;CACV;IAkCE,2DAA2D;;QAEzD;;WAEG;qCADQ,gBAAgB,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQtC;;;OAGG;;QAED;;;;;;WAMG;0HADQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QASjB,+CAA+C;;;;;;;;;;QAoB/C,mDAAmD;;QAanD,+CAA+C;kBAApC,OAAO,YAAY,CAAC,UAAU,CAAC,CAAC;;GAIhD"}
|
|
@@ -23,7 +23,60 @@ export function prepareRemoteChainFacade(zone: Zone, powers: RemoteChainFacadePo
|
|
|
23
23
|
* Chain<CosmosChainInfo & { icqEnabled: true }>['query']
|
|
24
24
|
* >}
|
|
25
25
|
*/
|
|
26
|
-
query(msgs:
|
|
26
|
+
query(msgs: {
|
|
27
|
+
data: string;
|
|
28
|
+
path: string;
|
|
29
|
+
height: string;
|
|
30
|
+
prove: boolean;
|
|
31
|
+
}[]): Vow<{
|
|
32
|
+
code: number;
|
|
33
|
+
log: string;
|
|
34
|
+
info: string;
|
|
35
|
+
index: string;
|
|
36
|
+
key: string;
|
|
37
|
+
value: string;
|
|
38
|
+
proofOps?: {
|
|
39
|
+
ops: {
|
|
40
|
+
type: string;
|
|
41
|
+
key: string;
|
|
42
|
+
data: string;
|
|
43
|
+
}[];
|
|
44
|
+
} | undefined;
|
|
45
|
+
height: string;
|
|
46
|
+
codespace: string;
|
|
47
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
48
|
+
code: number;
|
|
49
|
+
log: string;
|
|
50
|
+
info: string;
|
|
51
|
+
index: string;
|
|
52
|
+
key: string;
|
|
53
|
+
value: string;
|
|
54
|
+
proofOps?: {
|
|
55
|
+
ops: {
|
|
56
|
+
type: string;
|
|
57
|
+
key: string;
|
|
58
|
+
data: string;
|
|
59
|
+
}[];
|
|
60
|
+
} | undefined;
|
|
61
|
+
height: string;
|
|
62
|
+
codespace: string;
|
|
63
|
+
}[] : import("@agoric/async-flow").HostInterface<{
|
|
64
|
+
code: number;
|
|
65
|
+
log: string;
|
|
66
|
+
info: string;
|
|
67
|
+
index: string;
|
|
68
|
+
key: string;
|
|
69
|
+
value: string;
|
|
70
|
+
proofOps?: {
|
|
71
|
+
ops: {
|
|
72
|
+
type: string;
|
|
73
|
+
key: string;
|
|
74
|
+
data: string;
|
|
75
|
+
}[];
|
|
76
|
+
} | undefined;
|
|
77
|
+
height: string;
|
|
78
|
+
codespace: string;
|
|
79
|
+
}[]>>;
|
|
27
80
|
};
|
|
28
81
|
makeAccountAndProvideQueryConnWatcher: {
|
|
29
82
|
/**
|
|
@@ -141,12 +194,12 @@ export type RemoteChainFacade = ReturnType<MakeRemoteChainFacade>;
|
|
|
141
194
|
import type { Zone } from '@agoric/base-zone';
|
|
142
195
|
import type { IBCConnectionInfo } from '../types.js';
|
|
143
196
|
import type { Vow } from '@agoric/vow';
|
|
144
|
-
import type { RequestQuery } from '@agoric/cosmic-proto/tendermint/abci/types.js';
|
|
145
|
-
import type { JsonSafe } from '@agoric/cosmic-proto';
|
|
146
|
-
import type { ResponseQuery } from '@agoric/cosmic-proto/tendermint/abci/types.js';
|
|
147
197
|
import type { IcaAccount } from '../types.js';
|
|
148
198
|
import type { ICQConnection } from '../types.js';
|
|
149
199
|
import type { ChainAddress } from '../types.js';
|
|
200
|
+
import type { RequestQuery } from '@agoric/cosmic-proto/tendermint/abci/types.js';
|
|
201
|
+
import type { JsonSafe } from '@agoric/cosmic-proto';
|
|
202
|
+
import type { ResponseQuery } from '@agoric/cosmic-proto/tendermint/abci/types.js';
|
|
150
203
|
import type { LocalIbcAddress } from '@agoric/vats/tools/ibc-utils.js';
|
|
151
204
|
import type { RemoteIbcAddress } from '@agoric/vats/tools/ibc-utils.js';
|
|
152
205
|
import type { Remote } from '@agoric/internal';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remote-chain-facade.d.ts","sourceRoot":"","sources":["remote-chain-facade.js"],"names":[],"mappings":"AAqQO,+CAHI,IAAI,UACJ,uBAAuB;;;;;;;;;;;;;;;;QA7I1B,4CAA4C;;QAK5C,2CAA2C;;QA0B3C;;;;WAIG
|
|
1
|
+
{"version":3,"file":"remote-chain-facade.d.ts","sourceRoot":"","sources":["remote-chain-facade.js"],"names":[],"mappings":"AAqQO,+CAHI,IAAI,UACJ,uBAAuB;;;;;;;;;;;;;;;;QA7I1B,4CAA4C;;QAK5C,2CAA2C;;QA0B3C;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAuBH;;WAEG;8CADQ,CAAC,UAAU,EAAE,aAAa,GAAG,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;QAmBlD;;;;WAIG;mCAHQ,aAAa,QACb,SAAS,YAAY,CAAC,EAAE,GACtB,IAAI,SAAS,aAAa,CAAC,EAAE,CAAC;;;QAU3C;;;WAGG;iEAFQ,CAAC,YAAY,EAAE,eAAe,EAAE,gBAAgB,CAAC,WACjD,UAAU;;;;;;;;;;;;;;;;;;;;;;;QAWrB;;;;;;;;WAQG;+BAPQ,OAAO,WAAW,CAAC,0DACnB;YACV,OAAW,EAAE,UAAU,CAAC;YACxB,YAAgB,EAAE,YAAY,CAAC;YAC/B,YAAgB,EAAE,eAAe,CAAC;YAClC,aAAiB,EAAE,gBAAgB,CAAC;SACjC;;;;;;;;;;;;;;;;;;;;;;cAmCX;sCA1OY;IACZ,8BAAkC,EAAE,UAAU,CAC9C,wCAA8C,CACzC,CAAC;IACN,aAAiB,EAAE,OAAO,uBAAuB,CAAC,CAAC;IACnD,WAAe,EAAE,OAAO,WAAW,CAAC,CAAC;IACrC,KAAS,EAAE,OAAO,YAAY,CAAC,CAAC;IAChC,QAAY,EAAE,QAAQ,CAAC;CACpB;qCAIS;IACZ,eAAmB,EAAE,eAAe,CAAC;IACrC,cAAkB,EAAE,iBAAiB,CAAC;IACtC,aAAiB,EAAE,aAAa,GAAG,SAAS,CAAC;CAC1C;oCA6NU,UAAU,CAAC,OAAO,wBAAwB,CAAC;gCAC3C,UAAU,CAAC,qBAAqB,CAAC;0BA7PxB,mBAAmB;uCAS2D,aAAa;yBAJlF,aAAa;gCAIwD,aAAa;mCAAb,aAAa;kCAAb,aAAa;kCAPpE,+CAA+C;8BADlE,sBAAsB;mCACH,+CAA+C;qCAIzC,iCAAiC;sCAAjC,iCAAiC;4BAF5D,kBAAkB;uDAIS,mCAAmC;6CAD7C,qBAAqB;kCAJhC,cAAc;8BAEb,aAAa;qCAIwD,aAAa"}
|
|
@@ -21,13 +21,13 @@ export function startStakeBld({ consume: { agoricNames: agoricNamesP, board, cha
|
|
|
21
21
|
withdraw(amount: import("@agoric/ertp/src/types.js").NatAmount): import("@agoric/vow").Vow<globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">> extends import("@endo/pass-style").Passable ? globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">> : import("@agoric/async-flow").HostInterface<globalThis.Payment<"nat"> | import("@agoric/vow").Vow<globalThis.Payment<"nat">>>>;
|
|
22
22
|
executeTx(messages: {
|
|
23
23
|
'@type': string;
|
|
24
|
-
}[]): import("@agoric/vow").Vow<
|
|
24
|
+
}[]): import("@agoric/vow").Vow<{
|
|
25
25
|
'@type': string;
|
|
26
|
-
}
|
|
26
|
+
}[] extends import("@endo/pass-style").Passable ? {
|
|
27
27
|
'@type': string;
|
|
28
|
-
}
|
|
28
|
+
}[] : import("@agoric/async-flow").HostInterface<{
|
|
29
29
|
'@type': string;
|
|
30
|
-
}
|
|
30
|
+
}[]>>;
|
|
31
31
|
getAddress(): import("../orchestration-api.js").ChainAddress;
|
|
32
32
|
send(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg): import("@agoric/vow").Vow<void extends import("@endo/pass-style").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
|
33
33
|
sendAll(toAccount: import("../orchestration-api.js").ChainAddress, amounts: import("../orchestration-api.js").AmountArg[]): import("@agoric/vow").Vow<void extends import("@endo/pass-style").Passable ? void : import("@agoric/async-flow").HostInterface<void>>;
|
package/src/typeGuards.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeGuards.d.ts","sourceRoot":"","sources":["typeGuards.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AAEH;;;;GAIG;AACH;;;GAQE;AAEF,yCAAyC;AACzC,gCADW,aAAa,YAAY,CAAC,CAKnC;AAEF,sCAAsC;AACtC,0BADW,aAAa,SAAS,CAAC,CAIhC;AAEF,gBAAgB;AAChB,uEAUE;AAEF,gBAAgB;AAChB,iEAA4C;AAC5C,gBAAgB;AAChB,mEAQG;AACH,gBAAgB;AAChB,oEAA+C;AAC/C,gBAAgB;AAChB,sEAYG;AAEH,4CAA4C;AAC5C,mCADW,aAAa,eAAe,CAAC,CASrC;AAEH,4CAA4C;AAC5C,mCADW,aAAa,eAAe,CAAC,CAWtC;AAEF,sCAAsC;AACtC,6BADW,aAAa,SAAS,CAAC,CAG/B;AACH,sEAAuE;AACvE,0DAAqC;AAErC,gDAAgD;AAChD,6BADW,aAAa,UAAU,GAAG,EAAE,GAAG,CAAC,CAAC,CAM1C;AAEF,wCAAwC;AACxC,+BADW,aAAa,WAAW,CAAC,CACqC;AAEzE,0CAA0C;AAC1C,gCADW,aAAa,MAAM,CAAC,KAAK,CAAC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6BADW,aAAa,SAAS,CAAC,CACmC;;;;;;;;;AAiBrE;;;;GAIG;AACH,+DAQE;kCAhLyJ,YAAY;kCADxI,kBAAkB;sCAEd,6CAA6C;qCAD2E,YAAY;qCAAZ,YAAY;+BAAZ,YAAY;+BAAZ,YAAY;iCAAZ,YAAY;+BAAZ,YAAY;4CAAZ,YAAY;+BAI3I,sBAAsB"}
|
package/src/typeGuards.js
CHANGED
|
@@ -160,8 +160,11 @@ export const chainFacadeMethods = harden({
|
|
|
160
160
|
/**
|
|
161
161
|
* for google/protobuf/timestamp.proto, not to be confused with TimestampShape
|
|
162
162
|
* from `@agoric/time`
|
|
163
|
+
*
|
|
164
|
+
* `seconds` is a big integer but since it goes through JSON it is encoded as
|
|
165
|
+
* string
|
|
163
166
|
*/
|
|
164
|
-
export const TimestampProtoShape = { seconds: M.
|
|
167
|
+
export const TimestampProtoShape = { seconds: M.string(), nanos: M.number() };
|
|
165
168
|
|
|
166
169
|
/**
|
|
167
170
|
* see {@link TxBody} for more details
|