@agoric/fast-usdc 0.1.1-dev-dcf2772.0 → 0.1.1-dev-e37a322.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/fast-usdc",
3
- "version": "0.1.1-dev-dcf2772.0+dcf2772",
3
+ "version": "0.1.1-dev-e37a322.0+e37a322",
4
4
  "description": "CLI and library for Fast USDC product",
5
5
  "type": "module",
6
6
  "files": [
@@ -21,9 +21,9 @@
21
21
  "lint:eslint": "eslint ."
22
22
  },
23
23
  "devDependencies": {
24
- "@agoric/swingset-liveslots": "0.10.3-dev-dcf2772.0+dcf2772",
25
- "@agoric/vats": "0.15.2-dev-dcf2772.0+dcf2772",
26
- "@agoric/zone": "0.2.3-dev-dcf2772.0+dcf2772",
24
+ "@agoric/swingset-liveslots": "0.10.3-dev-e37a322.0+e37a322",
25
+ "@agoric/vats": "0.15.2-dev-e37a322.0+e37a322",
26
+ "@agoric/zone": "0.2.3-dev-e37a322.0+e37a322",
27
27
  "@fast-check/ava": "^2.0.1",
28
28
  "ava": "^5.3.0",
29
29
  "c8": "^10.1.2",
@@ -31,15 +31,15 @@
31
31
  "ts-blank-space": "^0.4.1"
32
32
  },
33
33
  "dependencies": {
34
- "@agoric/client-utils": "0.1.1-dev-dcf2772.0+dcf2772",
35
- "@agoric/ertp": "0.16.3-dev-dcf2772.0+dcf2772",
36
- "@agoric/internal": "0.3.3-dev-dcf2772.0+dcf2772",
37
- "@agoric/notifier": "0.6.3-dev-dcf2772.0+dcf2772",
38
- "@agoric/orchestration": "0.1.1-dev-dcf2772.0+dcf2772",
39
- "@agoric/store": "0.9.3-dev-dcf2772.0+dcf2772",
40
- "@agoric/vat-data": "0.5.3-dev-dcf2772.0+dcf2772",
41
- "@agoric/vow": "0.1.1-dev-dcf2772.0+dcf2772",
42
- "@agoric/zoe": "0.26.3-dev-dcf2772.0+dcf2772",
34
+ "@agoric/client-utils": "0.1.1-dev-e37a322.0+e37a322",
35
+ "@agoric/ertp": "0.16.3-dev-e37a322.0+e37a322",
36
+ "@agoric/internal": "0.3.3-dev-e37a322.0+e37a322",
37
+ "@agoric/notifier": "0.6.3-dev-e37a322.0+e37a322",
38
+ "@agoric/orchestration": "0.1.1-dev-e37a322.0+e37a322",
39
+ "@agoric/store": "0.9.3-dev-e37a322.0+e37a322",
40
+ "@agoric/vat-data": "0.5.3-dev-e37a322.0+e37a322",
41
+ "@agoric/vow": "0.1.1-dev-e37a322.0+e37a322",
42
+ "@agoric/zoe": "0.26.3-dev-e37a322.0+e37a322",
43
43
  "@cosmjs/proto-signing": "^0.32.4",
44
44
  "@cosmjs/stargate": "^0.32.4",
45
45
  "@endo/base64": "^1.0.9",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "dcf27725dd4b6b0bc0c5d6a476b6416899a5aad3"
81
+ "gitHead": "e37a3220b45d5b749a1114af1330960752f990f4"
82
82
  }
@@ -4,6 +4,7 @@ import { observeIteration, subscribeEach } from '@agoric/notifier';
4
4
  import {
5
5
  CosmosChainInfoShape,
6
6
  DenomDetailShape,
7
+ DenomShape,
7
8
  OrchestrationPowersShape,
8
9
  registerChainsAndAssets,
9
10
  withOrchestration,
@@ -55,7 +56,7 @@ export const meta = {
55
56
  feeConfig: FeeConfigShape,
56
57
  marshaller: M.remotable(),
57
58
  chainInfo: M.recordOf(M.string(), CosmosChainInfoShape),
58
- assetInfo: M.recordOf(M.string(), DenomDetailShape),
59
+ assetInfo: M.arrayOf([DenomShape, DenomDetailShape]),
59
60
  },
60
61
  };
61
62
  harden(meta);
@@ -77,7 +78,7 @@ const publishFeeConfig = async (node, marshaller, feeConfig) => {
77
78
  * marshaller: Marshaller;
78
79
  * feeConfig: FeeConfig;
79
80
  * chainInfo: Record<string, CosmosChainInfo>;
80
- * assetInfo: Record<Denom, DenomDetail & { brandKey?: string}>;
81
+ * assetInfo: [Denom, DenomDetail & { brandKey?: string}][];
81
82
  * }} privateArgs
82
83
  * @param {Zone} zone
83
84
  * @param {OrchestrationTools} tools
@@ -1,5 +1,9 @@
1
1
  import { deeplyFulfilledObject, makeTracer, objectMap } from '@agoric/internal';
2
- import { CosmosChainInfoShape, DenomDetailShape } from '@agoric/orchestration';
2
+ import {
3
+ CosmosChainInfoShape,
4
+ DenomDetailShape,
5
+ DenomShape,
6
+ } from '@agoric/orchestration';
3
7
  import { Fail } from '@endo/errors';
4
8
  import { E } from '@endo/far';
5
9
  import { makeMarshal } from '@endo/marshal';
@@ -36,7 +40,7 @@ const contractName = 'fastUsdc';
36
40
  * feeConfig: FeeConfig;
37
41
  * feedPolicy: FeedPolicy & Passable;
38
42
  * chainInfo: Record<string, CosmosChainInfo & Passable>;
39
- * assetInfo: Record<Denom, DenomDetail & {brandKey?: string}>;
43
+ * assetInfo: [Denom, DenomDetail & {brandKey?: string}][];
40
44
  * }} FastUSDCConfig
41
45
  */
42
46
  /** @type {TypedPattern<FastUSDCConfig>} */
@@ -46,7 +50,7 @@ export const FastUSDCConfigShape = M.splitRecord({
46
50
  feeConfig: FeeConfigShape,
47
51
  feedPolicy: FeedPolicyShape,
48
52
  chainInfo: M.recordOf(M.string(), CosmosChainInfoShape),
49
- assetInfo: M.recordOf(M.string(), DenomDetailShape),
53
+ assetInfo: M.arrayOf([DenomShape, DenomDetailShape]),
50
54
  });
51
55
 
52
56
  /**