@agoric/fast-usdc 0.1.1-dev-d3817fa.0 → 0.1.1-dev-8dee73d.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-d3817fa.0+d3817fa",
3
+ "version": "0.1.1-dev-8dee73d.0+8dee73d",
4
4
  "description": "CLI and library for Fast USDC product",
5
5
  "type": "module",
6
6
  "files": [
@@ -23,9 +23,9 @@
23
23
  "lint:eslint": "eslint ."
24
24
  },
25
25
  "devDependencies": {
26
- "@agoric/swingset-liveslots": "0.10.3-dev-d3817fa.0+d3817fa",
27
- "@agoric/vats": "0.15.2-dev-d3817fa.0+d3817fa",
28
- "@agoric/zone": "0.2.3-dev-d3817fa.0+d3817fa",
26
+ "@agoric/swingset-liveslots": "0.10.3-dev-8dee73d.0+8dee73d",
27
+ "@agoric/vats": "0.15.2-dev-8dee73d.0+8dee73d",
28
+ "@agoric/zone": "0.2.3-dev-8dee73d.0+8dee73d",
29
29
  "@fast-check/ava": "^2.0.1",
30
30
  "ava": "^5.3.0",
31
31
  "c8": "^10.1.2",
@@ -33,16 +33,16 @@
33
33
  "ts-blank-space": "^0.4.4"
34
34
  },
35
35
  "dependencies": {
36
- "@agoric/client-utils": "0.1.1-dev-d3817fa.0+d3817fa",
37
- "@agoric/cosmic-proto": "0.4.1-dev-d3817fa.0+d3817fa",
38
- "@agoric/ertp": "0.16.3-dev-d3817fa.0+d3817fa",
39
- "@agoric/internal": "0.3.3-dev-d3817fa.0+d3817fa",
40
- "@agoric/notifier": "0.6.3-dev-d3817fa.0+d3817fa",
41
- "@agoric/orchestration": "0.1.1-dev-d3817fa.0+d3817fa",
42
- "@agoric/store": "0.9.3-dev-d3817fa.0+d3817fa",
43
- "@agoric/vat-data": "0.5.3-dev-d3817fa.0+d3817fa",
44
- "@agoric/vow": "0.1.1-dev-d3817fa.0+d3817fa",
45
- "@agoric/zoe": "0.26.3-dev-d3817fa.0+d3817fa",
36
+ "@agoric/client-utils": "0.1.1-dev-8dee73d.0+8dee73d",
37
+ "@agoric/cosmic-proto": "0.4.1-dev-8dee73d.0+8dee73d",
38
+ "@agoric/ertp": "0.16.3-dev-8dee73d.0+8dee73d",
39
+ "@agoric/internal": "0.3.3-dev-8dee73d.0+8dee73d",
40
+ "@agoric/notifier": "0.6.3-dev-8dee73d.0+8dee73d",
41
+ "@agoric/orchestration": "0.1.1-dev-8dee73d.0+8dee73d",
42
+ "@agoric/store": "0.9.3-dev-8dee73d.0+8dee73d",
43
+ "@agoric/vat-data": "0.5.3-dev-8dee73d.0+8dee73d",
44
+ "@agoric/vow": "0.1.1-dev-8dee73d.0+8dee73d",
45
+ "@agoric/zoe": "0.26.3-dev-8dee73d.0+8dee73d",
46
46
  "@cosmjs/proto-signing": "^0.33.0",
47
47
  "@cosmjs/stargate": "^0.33.0",
48
48
  "@endo/base64": "^1.0.9",
@@ -82,5 +82,5 @@
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "d3817fa282b7ecdf03967ed818342e8b8dd38b68"
85
+ "gitHead": "8dee73d5b6da4a9671f91427f080d331df0d21e6"
86
86
  }
package/src/cli/config.js CHANGED
@@ -23,7 +23,7 @@ import { stdin as input, stdout as output } from 'node:process';
23
23
  }} ConfigOpts
24
24
  */
25
25
 
26
- /** @import { File } from './util/file' */
26
+ /** @import { File } from './util/file.js' */
27
27
 
28
28
  export const init = async (
29
29
  /** @type {File} */ configFile,
@@ -16,7 +16,7 @@ import {
16
16
  } from './util/noble.js';
17
17
  import { queryUSDCBalance } from './util/bank.js';
18
18
 
19
- /** @import { File } from './util/file' */
19
+ /** @import { File } from './util/file.js' */
20
20
  /** @import { VStorage } from '@agoric/client-utils' */
21
21
  /** @import { SigningStargateClient } from '@cosmjs/stargate' */
22
22
  /** @import { JsonRpcProvider as ethProvider } from 'ethers' */
@@ -34,7 +34,7 @@ const transfer = async (
34
34
  setTimeout = globalThis.setTimeout,
35
35
  ) => {
36
36
  const execute = async (
37
- /** @type {import('./config').ConfigOpts} */ config,
37
+ /** @type {import('./config.js').ConfigOpts} */ config,
38
38
  ) => {
39
39
  const netConfig = await fetchEnvNetworkConfig({ env, fetch });
40
40
  vstorage ||= makeVStorage(
@@ -6,7 +6,7 @@ import { makeTracer } from '@agoric/internal';
6
6
  import { fromExternalConfig } from './utils/config-marshal.js';
7
7
 
8
8
  /**
9
- * @import {DepositFacet} from '@agoric/ertp';
9
+ * @import {Amount, Brand, DepositFacet, Ratio} from '@agoric/ertp';
10
10
  * @import {FastUSDCCorePowers} from '@agoric/fast-usdc/src/start-fast-usdc.core.js';
11
11
  * @import {CopyRecord} from '@endo/pass-style'
12
12
  * @import {BootstrapManifestPermit} from '@agoric/vats/src/core/lib-boot.js'
@@ -20,7 +20,7 @@ import { asMultiset } from '../utils/store.js';
20
20
  * @import {FungibleTokenPacketData} from '@agoric/cosmic-proto/ibc/applications/transfer/v2/packet.js';
21
21
  * @import {Amount, Brand, NatValue, Payment} from '@agoric/ertp';
22
22
  * @import {AccountId, Denom, OrchestrationAccount, ChainHub, CosmosChainAddress} from '@agoric/orchestration';
23
- * @import {WithdrawToSeat} from '@agoric/orchestration/src/utils/zoe-tools'
23
+ * @import {WithdrawToSeat} from '@agoric/orchestration/src/utils/zoe-tools.js'
24
24
  * @import {IBCChannelID, IBCPacket, VTransferIBCEvent} from '@agoric/vats';
25
25
  * @import {Zone} from '@agoric/zone';
26
26
  * @import {HostOf, HostInterface} from '@agoric/async-flow';
@@ -12,6 +12,7 @@ import {
12
12
  } from '../type-guards.js';
13
13
 
14
14
  /**
15
+ * @import {NatValue} from '@agoric/ertp';
15
16
  * @import {MapStore, SetStore} from '@agoric/store';
16
17
  * @import {Zone} from '@agoric/zone';
17
18
  * @import {CctpTxEvidence, NobleAddress, PendingTx, EvmHash, LogFn, TransactionRecord, EvidenceWithRisk, RiskAssessment} from '../types.js';
@@ -11,9 +11,10 @@ const { keys } = Object;
11
11
  const { add, isEmpty, isEqual, isGTE, make, makeEmpty, subtract } = AmountMath;
12
12
 
13
13
  /**
14
- * @import {Amount, Brand, DepositFacet, NatValue, Payment} from '@agoric/ertp';
15
- * @import {PoolStats} from './types';
16
- * @import {RepayAmountKWR} from './exos/liquidity-pool';
14
+ * @import {Amount, Brand, DepositFacet, NatValue, Payment, Ratio} from '@agoric/ertp';
15
+ * @import {Allocation} from '@agoric/zoe';
16
+ * @import {PoolStats} from './types.js';
17
+ * @import {RepayAmountKWR} from './exos/liquidity-pool.js';
17
18
  */
18
19
 
19
20
  /**
@@ -10,7 +10,7 @@ import {
10
10
 
11
11
  /**
12
12
  * @import {Brand, Issuer} from '@agoric/ertp';
13
- * @import {Instance, StartParams} from '@agoric/zoe/src/zoeService/utils'
13
+ * @import {Instance, StartParams} from '@agoric/zoe/src/zoeService/utils.js'
14
14
  * @import {Board} from '@agoric/vats'
15
15
  * @import {ManifestBundleRef} from '@agoric/deploy-script-support/src/externalTypes.js'
16
16
  * @import {BootstrapManifest} from '@agoric/vats/src/core/lib-boot.js'
@@ -11,7 +11,7 @@ const trace = makeTracer('FUSD-2', true);
11
11
  /** @type {typeof import('@agoric/ertp').AmountMath.make} */
12
12
  // @ts-expect-error AssetKind conditionals aren't captured
13
13
  const make = (brand, value) => harden({ brand, value });
14
- /** @type {typeof import('@agoric/zoe/src/contractSupport/ratio').makeRatio} */
14
+ /** @type {typeof import('@agoric/zoe/src/contractSupport/ratio.js').makeRatio} */
15
15
  const makeRatio = (numerator, numeratorBrand, denominator = 100n) =>
16
16
  harden({
17
17
  numerator: make(numeratorBrand, numerator),
@@ -19,12 +19,14 @@ const makeRatio = (numerator, numeratorBrand, denominator = 100n) =>
19
19
  });
20
20
 
21
21
  /**
22
- * @import {CopyRecord} from '@endo/pass-style'
23
- * @import {IBCConnectionInfo} from '@agoric/orchestration'
24
- * @import {ManifestBundleRef} from '@agoric/deploy-script-support/src/externalTypes.js'
25
- * @import {BootstrapManifest} from '@agoric/vats/src/core/lib-boot.js'
26
- * @import {FastUSDCCorePowers} from './start-fast-usdc.core.js'
27
- * @import {ContractRecord, FeeConfig, FeedPolicy} from './types.js'
22
+ * @import {CopyRecord} from '@endo/pass-style';
23
+ * @import {Brand, Ratio} from '@agoric/ertp';
24
+ * @import {IBCConnectionInfo} from '@agoric/orchestration';
25
+ * @import {ManifestBundleRef} from '@agoric/deploy-script-support/src/externalTypes.js';
26
+ * @import {BundleID} from '@agoric/swingset-vat';
27
+ * @import {BootstrapManifest} from '@agoric/vats/src/core/lib-boot.js';
28
+ * @import {FastUSDCCorePowers} from './start-fast-usdc.core.js';
29
+ * @import {ContractRecord, FeeConfig, FeedPolicy} from './types.js';
28
30
  */
29
31
 
30
32
  /**