@agoric/inter-protocol 0.13.2-dev-65f9122.0 → 0.13.2-dev-f2ebdb5.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/inter-protocol",
3
- "version": "0.13.2-dev-65f9122.0+65f9122",
3
+ "version": "0.13.2-dev-f2ebdb5.0+f2ebdb5",
4
4
  "description": "Core cryptoeconomy contracts",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -29,16 +29,16 @@
29
29
  },
30
30
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
31
31
  "dependencies": {
32
- "@agoric/assert": "0.5.2-dev-65f9122.0+65f9122",
33
- "@agoric/ertp": "0.15.4-dev-65f9122.0+65f9122",
34
- "@agoric/governance": "0.9.2-dev-65f9122.0+65f9122",
35
- "@agoric/internal": "0.2.2-dev-65f9122.0+65f9122",
36
- "@agoric/notifier": "0.5.2-dev-65f9122.0+65f9122",
37
- "@agoric/store": "0.8.4-dev-65f9122.0+65f9122",
38
- "@agoric/time": "0.2.2-dev-65f9122.0+65f9122",
39
- "@agoric/vat-data": "0.4.4-dev-65f9122.0+65f9122",
40
- "@agoric/vats": "0.13.1-dev-65f9122.0+65f9122",
41
- "@agoric/zoe": "0.25.4-dev-65f9122.0+65f9122",
32
+ "@agoric/assert": "0.5.2-dev-f2ebdb5.0+f2ebdb5",
33
+ "@agoric/ertp": "0.15.4-dev-f2ebdb5.0+f2ebdb5",
34
+ "@agoric/governance": "0.9.2-dev-f2ebdb5.0+f2ebdb5",
35
+ "@agoric/internal": "0.2.2-dev-f2ebdb5.0+f2ebdb5",
36
+ "@agoric/notifier": "0.5.2-dev-f2ebdb5.0+f2ebdb5",
37
+ "@agoric/store": "0.8.4-dev-f2ebdb5.0+f2ebdb5",
38
+ "@agoric/time": "0.2.2-dev-f2ebdb5.0+f2ebdb5",
39
+ "@agoric/vat-data": "0.4.4-dev-f2ebdb5.0+f2ebdb5",
40
+ "@agoric/vats": "0.13.1-dev-f2ebdb5.0+f2ebdb5",
41
+ "@agoric/zoe": "0.25.4-dev-f2ebdb5.0+f2ebdb5",
42
42
  "@endo/captp": "^2.0.18",
43
43
  "@endo/eventual-send": "^0.16.8",
44
44
  "@endo/far": "^0.2.14",
@@ -46,10 +46,10 @@
46
46
  "@endo/nat": "^4.1.23"
47
47
  },
48
48
  "devDependencies": {
49
- "@agoric/deploy-script-support": "0.9.5-dev-65f9122.0+65f9122",
50
- "@agoric/smart-wallet": "0.4.3-dev-65f9122.0+65f9122",
51
- "@agoric/swingset-liveslots": "0.9.1-dev-65f9122.0+65f9122",
52
- "@agoric/swingset-vat": "0.30.3-dev-65f9122.0+65f9122",
49
+ "@agoric/deploy-script-support": "0.9.5-dev-f2ebdb5.0+f2ebdb5",
50
+ "@agoric/smart-wallet": "0.4.3-dev-f2ebdb5.0+f2ebdb5",
51
+ "@agoric/swingset-liveslots": "0.9.1-dev-f2ebdb5.0+f2ebdb5",
52
+ "@agoric/swingset-vat": "0.30.3-dev-f2ebdb5.0+f2ebdb5",
53
53
  "@endo/bundle-source": "^2.4.2",
54
54
  "@endo/init": "^0.5.52",
55
55
  "@endo/promise-kit": "^0.2.52",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "65f912294c19f7294fa02eb9637e6d614f4ac213"
81
+ "gitHead": "f2ebdb5e0f419b75c258d0378a069606ebb5d3ea"
82
82
  }
@@ -11,7 +11,7 @@ const COSMOS_UNIT = 1_000_000n;
11
11
  /**
12
12
  * Give/want
13
13
  *
14
- * @param {Record<string, import('@agoric/vats/tools/board-utils').BoardRemote>} brands
14
+ * @param {Record<string, Brand>} brands
15
15
  * @param {{ giveMinted?: number, wantMinted?: number } | { collateralBrandKey: string, giveCollateral?: number, wantCollateral?: number }} opts
16
16
  * @returns {Proposal}
17
17
  */
@@ -54,7 +54,7 @@ const makeVaultProposal = (brands, opts) => {
54
54
  // Then these can be used in tests as arguments to `executeOffer()` without a bridge.
55
55
 
56
56
  /**
57
- * @param {Record<string, import('@agoric/vats/tools/board-utils').BoardRemote>} brands
57
+ * @param {Record<string, Brand>} brands
58
58
  * @param {{ offerId: string, wantMinted: number, giveCollateral: number, collateralBrandKey: string }} opts
59
59
  * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec}
60
60
  */
@@ -85,7 +85,7 @@ const makeOpenOffer = (brands, opts) => {
85
85
  };
86
86
 
87
87
  /**
88
- * @param {Record<string, import('@agoric/vats/tools/board-utils').BoardRemote>} brands
88
+ * @param {Record<string, Brand>} brands
89
89
  * @param {{ offerId: string, collateralBrandKey?: string, giveCollateral?: number, wantCollateral?: number, giveMinted?: number, wantMinted?: number }} opts
90
90
  * @param {string} previousOffer
91
91
  * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec}
@@ -108,7 +108,7 @@ const makeAdjustOffer = (brands, opts, previousOffer) => {
108
108
  };
109
109
 
110
110
  /**
111
- * @param {Record<string, import('@agoric/vats/tools/board-utils').BoardRemote>} brands
111
+ * @param {Record<string, Brand>} brands
112
112
  * @param {{ offerId: string, collateralBrandKey?: string, giveMinted: number }} opts
113
113
  * @param {string} previousOffer
114
114
  * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec}
@@ -147,7 +147,7 @@ export const lookupOfferIdForVault = async (vaultId, currentP) => {
147
147
  };
148
148
 
149
149
  /**
150
- * @param {Record<string, import('@agoric/vats/tools/board-utils').BoardRemote>} brands
150
+ * @param {Record<string, Brand>} brands
151
151
  * @param {({ wantMinted: number | undefined, giveMinted: number | undefined })} opts
152
152
  * @param {number} [fee=0]
153
153
  * @param {string} [anchor]
@@ -168,11 +168,9 @@ const makePsmProposal = (brands, opts, fee = 0, anchor = 'AUSD') => {
168
168
  };
169
169
  return {
170
170
  give: {
171
- // @ts-expect-error XXX BoardRemote not real remote
172
171
  In: { brand: brand.in, value: adjusted.in },
173
172
  },
174
173
  want: {
175
- // @ts-expect-error XXX BoardRemote not real remote
176
174
  Out: { brand: brand.out, value: adjusted.out },
177
175
  },
178
176
  };
@@ -180,7 +178,7 @@ const makePsmProposal = (brands, opts, fee = 0, anchor = 'AUSD') => {
180
178
 
181
179
  /**
182
180
  * @param {Instance} instance
183
- * @param {Record<string, import('@agoric/vats/tools/board-utils').BoardRemote>} brands
181
+ * @param {Record<string, Brand>} brands
184
182
  * @param {{ offerId: number, feePct?: number } &
185
183
  * ({ wantMinted: number | undefined, giveMinted: number | undefined })} opts
186
184
  * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec}