@agoric/fast-usdc 0.1.1-dev-69f57d5.0 → 0.1.1-dev-98f94b3.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.
Files changed (2) hide show
  1. package/package.json +9 -9
  2. package/src/types.ts +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/fast-usdc",
3
- "version": "0.1.1-dev-69f57d5.0+69f57d5",
3
+ "version": "0.1.1-dev-98f94b3.0+98f94b3",
4
4
  "description": "CLI and library for Fast USDC product",
5
5
  "type": "module",
6
6
  "files": [
@@ -29,13 +29,13 @@
29
29
  "ts-blank-space": "^0.4.4"
30
30
  },
31
31
  "dependencies": {
32
- "@agoric/client-utils": "0.1.1-dev-69f57d5.0+69f57d5",
33
- "@agoric/cosmic-proto": "0.4.1-dev-69f57d5.0+69f57d5",
34
- "@agoric/ertp": "0.16.3-dev-69f57d5.0+69f57d5",
35
- "@agoric/internal": "0.3.3-dev-69f57d5.0+69f57d5",
36
- "@agoric/notifier": "0.6.3-dev-69f57d5.0+69f57d5",
37
- "@agoric/orchestration": "0.1.1-dev-69f57d5.0+69f57d5",
38
- "@agoric/zoe": "0.26.3-dev-69f57d5.0+69f57d5",
32
+ "@agoric/client-utils": "0.1.1-dev-98f94b3.0+98f94b3",
33
+ "@agoric/cosmic-proto": "0.4.1-dev-98f94b3.0+98f94b3",
34
+ "@agoric/ertp": "0.16.3-dev-98f94b3.0+98f94b3",
35
+ "@agoric/internal": "0.3.3-dev-98f94b3.0+98f94b3",
36
+ "@agoric/notifier": "0.6.3-dev-98f94b3.0+98f94b3",
37
+ "@agoric/orchestration": "0.1.1-dev-98f94b3.0+98f94b3",
38
+ "@agoric/zoe": "0.26.3-dev-98f94b3.0+98f94b3",
39
39
  "@cosmjs/proto-signing": "^0.33.0",
40
40
  "@cosmjs/stargate": "^0.33.0",
41
41
  "@endo/base64": "^1.0.9",
@@ -75,5 +75,5 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "69f57d5a8e721a78eeccad1eaffc09c6311f5255"
78
+ "gitHead": "98f94b345cd8ddbcd5e80d77ed2703691635e3fc"
79
79
  }
package/src/types.ts CHANGED
@@ -12,6 +12,12 @@ import type { CopyRecord, Passable } from '@endo/pass-style';
12
12
  import type { PendingTxStatus, TxStatus } from './constants.js';
13
13
  import type { RepayAmountKWR } from './utils/fees.js';
14
14
 
15
+ // XXX duped with Zoe contractSupport ambient types
16
+ type Ratio = {
17
+ numerator: Amount<'nat'>;
18
+ denominator: Amount<'nat'>;
19
+ };
20
+
15
21
  /**
16
22
  * Block hash is calculated using the keccak256 algorithm that always results
17
23
  * in 32 bytes (64 hex characters prepended by 0x) no matter the input length.