@agoric/orchestration 0.1.1-dev-cb1866d.0.cb1866d → 0.1.1-dev-588c42f.0.588c42f

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/orchestration",
3
- "version": "0.1.1-dev-cb1866d.0.cb1866d",
3
+ "version": "0.1.1-dev-588c42f.0.588c42f",
4
4
  "description": "Chain abstraction for Agoric's orchestration clients",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -35,19 +35,19 @@
35
35
  },
36
36
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
37
37
  "dependencies": {
38
- "@agoric/async-flow": "0.1.1-dev-cb1866d.0.cb1866d",
39
- "@agoric/cosmic-proto": "0.4.1-dev-cb1866d.0.cb1866d",
40
- "@agoric/ertp": "0.16.3-dev-cb1866d.0.cb1866d",
41
- "@agoric/internal": "0.3.3-dev-cb1866d.0.cb1866d",
42
- "@agoric/network": "0.1.1-dev-cb1866d.0.cb1866d",
43
- "@agoric/notifier": "0.6.3-dev-cb1866d.0.cb1866d",
44
- "@agoric/store": "0.9.3-dev-cb1866d.0.cb1866d",
45
- "@agoric/time": "0.3.3-dev-cb1866d.0.cb1866d",
46
- "@agoric/vat-data": "0.5.3-dev-cb1866d.0.cb1866d",
47
- "@agoric/vats": "0.15.2-dev-cb1866d.0.cb1866d",
48
- "@agoric/vow": "0.1.1-dev-cb1866d.0.cb1866d",
49
- "@agoric/zoe": "0.26.3-dev-cb1866d.0.cb1866d",
50
- "@agoric/zone": "0.2.3-dev-cb1866d.0.cb1866d",
38
+ "@agoric/async-flow": "0.1.1-dev-588c42f.0.588c42f",
39
+ "@agoric/cosmic-proto": "0.4.1-dev-588c42f.0.588c42f",
40
+ "@agoric/ertp": "0.16.3-dev-588c42f.0.588c42f",
41
+ "@agoric/internal": "0.3.3-dev-588c42f.0.588c42f",
42
+ "@agoric/network": "0.1.1-dev-588c42f.0.588c42f",
43
+ "@agoric/notifier": "0.6.3-dev-588c42f.0.588c42f",
44
+ "@agoric/store": "0.9.3-dev-588c42f.0.588c42f",
45
+ "@agoric/time": "0.3.3-dev-588c42f.0.588c42f",
46
+ "@agoric/vat-data": "0.5.3-dev-588c42f.0.588c42f",
47
+ "@agoric/vats": "0.15.2-dev-588c42f.0.588c42f",
48
+ "@agoric/vow": "0.1.1-dev-588c42f.0.588c42f",
49
+ "@agoric/zoe": "0.26.3-dev-588c42f.0.588c42f",
50
+ "@agoric/zone": "0.2.3-dev-588c42f.0.588c42f",
51
51
  "@cosmjs/encoding": "^0.36.0",
52
52
  "@endo/base64": "^1.0.12",
53
53
  "@endo/errors": "^1.2.13",
@@ -60,7 +60,7 @@
60
60
  "bs58": "^6.0.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@agoric/swingset-liveslots": "0.10.3-dev-cb1866d.0.cb1866d",
63
+ "@agoric/swingset-liveslots": "0.10.3-dev-588c42f.0.588c42f",
64
64
  "@chain-registry/client": "^1.53.194",
65
65
  "@cosmjs/amino": "^0.36.0",
66
66
  "@cosmjs/proto-signing": "^0.36.0",
@@ -105,5 +105,5 @@
105
105
  "typeCoverage": {
106
106
  "atLeast": 97.65
107
107
  },
108
- "gitHead": "cb1866dfac010587765a8927bee0205e309271be"
108
+ "gitHead": "588c42f376700adc36f9a847e3a66d973d3cee12"
109
109
  }
@@ -39,13 +39,13 @@ const emptyOfferShape = harden({
39
39
  * @param {ZCF} zcf
40
40
  * @param {OrchestrationPowers & {
41
41
  * marshaller: Remote<Marshaller>;
42
- * }} privateArgs
42
+ * }} _privateArgs
43
43
  * @param {Zone} zone
44
44
  * @param {OrchestrationTools} tools
45
45
  */
46
46
  const contract = async (
47
47
  zcf,
48
- privateArgs,
48
+ _privateArgs,
49
49
  zone,
50
50
  { orchestrateAll, zoeTools, chainHub },
51
51
  ) => {
@@ -4,12 +4,12 @@ export function makeAccount(orch: Orchestrator, ctx: {
4
4
  }, _seat: ZCFSeat, { chainName }: {
5
5
  chainName: string;
6
6
  }): Promise<ResolvedContinuingOfferResult>;
7
- export function depositAndDelegate(orch: Orchestrator, { chainHub, sharedLocalAccountP, zoeTools }: {
7
+ export function depositAndDelegate(_orch: Orchestrator, { chainHub, sharedLocalAccountP, zoeTools }: {
8
8
  chainHub: GuestInterface<ChainHub>;
9
9
  sharedLocalAccountP: Promise<GuestInterface<LocalOrchestrationAccountKit["holder"]>>;
10
10
  zoeTools: GuestInterface<ZoeTools>;
11
11
  }, account: GuestInterface<CosmosOrchestrationAccount>, seat: ZCFSeat, validator: CosmosValidatorAddress): Promise<void>;
12
- export function undelegateAndTransfer(orch: Orchestrator, ctx: object, account: GuestInterface<CosmosOrchestrationAccount>, { delegations, destination }: {
12
+ export function undelegateAndTransfer(_orch: Orchestrator, _ctx: object, account: GuestInterface<CosmosOrchestrationAccount>, { delegations, destination }: {
13
13
  delegations: {
14
14
  amount: AmountArg;
15
15
  validator: CosmosValidatorAddress;
@@ -1 +1 @@
1
- {"version":3,"file":"staking-combinations.flows.d.ts","sourceRoot":"","sources":["staking-combinations.flows.js"],"names":[],"mappings":"AA6BO,kCATI,YAAY,OACZ;IACN,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,wBAAwB,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,gBAAgB,CAAC;CAC9D,SACO,OAAO,iBACP;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,GACnB,OAAO,CAAC,6BAA6B,CAAC,CAiBlD;AAeM,yCAVI,YAAY,+CAEpB;IAAsC,QAAQ,EAAtC,eAAe,QAAQ,CAAC;IAC6C,mBAAmB,EAAxF,OAAO,CAAC,eAAe,4BAA4B,CAAC,QAAQ,CAAC,CAAC,CAAC;IACjC,QAAQ,EAAtC,eAAe,QAAQ,CAAC;CAChC,WAAQ,eAAe,0BAA0B,CAAC,QAC1C,OAAO,aACP,sBAAsB,GACpB,OAAO,CAAC,IAAI,CAAC,CAoCzB;AAcM,4C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CAAC,IAAI,CAAC,CAYzB;kCAnHmK,aAAa;iDAGnI,sCAAsC;sCAF1B,mCAAmC;6BAKnE,aAAa;mDADmB,uBAAuB;8BALmF,aAAa;oCADhJ,oBAAoB;kDAGN,wCAAwC;8BAG7B,uBAAuB;gDADpC,yCAAyC;4CAJ8E,aAAa;+BAAb,aAAa;wCAAb,aAAa"}
@@ -47,7 +47,7 @@ harden(makeAccount);
47
47
 
48
48
  /**
49
49
  * @satisfies {OrchestrationFlow}
50
- * @param {Orchestrator} orch
50
+ * @param {Orchestrator} _orch
51
51
  * @param {object} ctx
52
52
  * @param {GuestInterface<ChainHub>} ctx.chainHub
53
53
  * @param {Promise<GuestInterface<LocalOrchestrationAccountKit['holder']>>} ctx.sharedLocalAccountP
@@ -58,7 +58,7 @@ harden(makeAccount);
58
58
  * @returns {Promise<void>}
59
59
  */
60
60
  export const depositAndDelegate = async (
61
- orch,
61
+ _orch,
62
62
  { chainHub, sharedLocalAccountP, zoeTools },
63
63
  account,
64
64
  seat,
@@ -96,8 +96,8 @@ harden(depositAndDelegate);
96
96
 
97
97
  /**
98
98
  * @satisfies {OrchestrationFlow}
99
- * @param {Orchestrator} orch
100
- * @param {object} ctx
99
+ * @param {Orchestrator} _orch
100
+ * @param {object} _ctx
101
101
  * @param {GuestInterface<CosmosOrchestrationAccount>} account
102
102
  * @param {{
103
103
  * delegations: { amount: AmountArg; validator: CosmosValidatorAddress }[];
@@ -106,8 +106,8 @@ harden(depositAndDelegate);
106
106
  * @returns {Promise<void>}
107
107
  */
108
108
  export const undelegateAndTransfer = async (
109
- orch,
110
- ctx,
109
+ _orch,
110
+ _ctx,
111
111
  account,
112
112
  { delegations, destination },
113
113
  ) => {
@@ -61,13 +61,13 @@ harden(makeNatAmountShape);
61
61
  * marshaller: Remote<Marshaller>;
62
62
  * chainInfo: Record<string, CosmosChainInfo>;
63
63
  * assetInfo: [Denom, DenomDetail & { brandKey?: string }][];
64
- * }} privateArgs
64
+ * }} _privateArgs
65
65
  * @param {Zone} zone
66
66
  * @param {OrchestrationTools} tools
67
67
  */
68
68
  const contract = async (
69
69
  zcf,
70
- privateArgs,
70
+ _privateArgs,
71
71
  zone,
72
72
  { orchestrateAll, zoeTools },
73
73
  ) => {
@@ -26,13 +26,13 @@ import * as flows from './unbond.flows.js';
26
26
  * storageNode: Remote<StorageNode>;
27
27
  * marshaller: Remote<Marshaller>;
28
28
  * timerService: Remote<TimerService>;
29
- * }} privateArgs
29
+ * }} _privateArgs
30
30
  * @param {Zone} zone
31
31
  * @param {OrchestrationTools} tools
32
32
  */
33
33
  const contract = async (
34
34
  zcf,
35
- privateArgs,
35
+ _privateArgs,
36
36
  zone,
37
37
  { orchestrateAll, zcfTools },
38
38
  ) => {
@@ -1,6 +1,6 @@
1
- export function buildRootObject(vatPowers: VatPowers & {
1
+ export function buildRootObject(_vatPowers: VatPowers & {
2
2
  D: DProxy;
3
- }, vatParameters: never, baggage: Baggage): {
3
+ }, _vatParameters: never, baggage: Baggage): {
4
4
  /** @param {Partial<CosmosOrchestrationPowers>} [initialPowers] */
5
5
  makeCosmosInterchainService(initialPowers?: Partial<CosmosOrchestrationPowers>): import("@endo/exo").Guarded<{
6
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>;
@@ -1 +1 @@
1
- {"version":3,"file":"vat-orchestration.d.ts","sourceRoot":"","sources":["vat-orchestration.js"],"names":[],"mappings":"AAoBO,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;+BA5BZ,sBAAsB;4BAAtB,sBAAsB;6BAFhC,kBAAkB;+CACA,qCAAqC"}
1
+ {"version":3,"file":"vat-orchestration.d.ts","sourceRoot":"","sources":["vat-orchestration.js"],"names":[],"mappings":"AAoBO,4CANI,SAAS,GAAG;IAClB,CAAC,EAAE,MAAM,CAAC;CACX,kBACO,KAAK,WACL,OAAO;IAWd,kEAAkE;gDAAtD,OAAO,CAAC,yBAAyB,CAAC;;;;;IAA9C,kEAAkE;gDAAtD,OAAO,CAAC,yBAAyB,CAAC;;;;GAKjD;+BAEa,UAAU,CAAC,OAAO,eAAe,CAAC;+BA5BZ,sBAAsB;4BAAtB,sBAAsB;6BAFhC,kBAAkB;+CACA,qCAAqC"}
@@ -14,11 +14,11 @@ import { prepareCosmosInterchainService } from './exos/cosmos-interchain-service
14
14
  *
15
15
  * @param {VatPowers & {
16
16
  * D: DProxy;
17
- * }} vatPowers
18
- * @param {never} vatParameters
17
+ * }} _vatPowers
18
+ * @param {never} _vatParameters
19
19
  * @param {Baggage} baggage
20
20
  */
21
- export const buildRootObject = (vatPowers, vatParameters, baggage) => {
21
+ export const buildRootObject = (_vatPowers, _vatParameters, baggage) => {
22
22
  const zone = makeDurableZone(baggage);
23
23
  const vowTools = prepareSwingsetVowTools(zone.subZone('VowTools'));
24
24
  const makeCosmosInterchainService = prepareCosmosInterchainService(