@agoric/inter-protocol 0.13.2-dev-e7427e3.0 → 0.13.2-dev-7844f69.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-e7427e3.0+e7427e3",
3
+ "version": "0.13.2-dev-7844f69.0+7844f69",
4
4
  "description": "Core cryptoeconomy contracts",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -29,17 +29,17 @@
29
29
  },
30
30
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
31
31
  "dependencies": {
32
- "@agoric/assert": "0.5.2-dev-e7427e3.0+e7427e3",
33
- "@agoric/ertp": "0.15.4-dev-e7427e3.0+e7427e3",
34
- "@agoric/governance": "0.9.2-dev-e7427e3.0+e7427e3",
35
- "@agoric/internal": "0.2.2-dev-e7427e3.0+e7427e3",
32
+ "@agoric/assert": "0.5.2-dev-7844f69.0+7844f69",
33
+ "@agoric/ertp": "0.15.4-dev-7844f69.0+7844f69",
34
+ "@agoric/governance": "0.9.2-dev-7844f69.0+7844f69",
35
+ "@agoric/internal": "0.2.2-dev-7844f69.0+7844f69",
36
36
  "@agoric/nat": "^4.1.0",
37
- "@agoric/notifier": "0.5.2-dev-e7427e3.0+e7427e3",
38
- "@agoric/store": "0.8.4-dev-e7427e3.0+e7427e3",
39
- "@agoric/swingset-vat": "0.30.3-dev-e7427e3.0+e7427e3",
40
- "@agoric/vat-data": "0.4.4-dev-e7427e3.0+e7427e3",
41
- "@agoric/vats": "0.13.1-dev-e7427e3.0+e7427e3",
42
- "@agoric/zoe": "0.25.4-dev-e7427e3.0+e7427e3",
37
+ "@agoric/notifier": "0.5.2-dev-7844f69.0+7844f69",
38
+ "@agoric/store": "0.8.4-dev-7844f69.0+7844f69",
39
+ "@agoric/swingset-vat": "0.30.3-dev-7844f69.0+7844f69",
40
+ "@agoric/vat-data": "0.4.4-dev-7844f69.0+7844f69",
41
+ "@agoric/vats": "0.13.1-dev-7844f69.0+7844f69",
42
+ "@agoric/zoe": "0.25.4-dev-7844f69.0+7844f69",
43
43
  "@endo/bundle-source": "^2.4.2",
44
44
  "@endo/captp": "^2.0.18",
45
45
  "@endo/eventual-send": "^0.16.8",
@@ -49,9 +49,9 @@
49
49
  "@endo/promise-kit": "^0.2.52"
50
50
  },
51
51
  "devDependencies": {
52
- "@agoric/cosmic-swingset": "0.39.3-dev-e7427e3.0+e7427e3",
53
- "@agoric/deploy-script-support": "0.9.5-dev-e7427e3.0+e7427e3",
54
- "@agoric/smart-wallet": "0.4.3-dev-e7427e3.0+e7427e3",
52
+ "@agoric/cosmic-swingset": "0.39.3-dev-7844f69.0+7844f69",
53
+ "@agoric/deploy-script-support": "0.9.5-dev-7844f69.0+7844f69",
54
+ "@agoric/smart-wallet": "0.4.3-dev-7844f69.0+7844f69",
55
55
  "@endo/init": "^0.5.52",
56
56
  "@fast-check/ava": "^1.0.1",
57
57
  "ava": "^5.0.1",
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "e7427e386bcbfbe99312b41342b1fa2e722c57c7"
81
+ "gitHead": "7844f693d638ea823e076589bf808309d242fd3c"
82
82
  }
package/src/psm/psm.js CHANGED
@@ -276,7 +276,7 @@ export const start = async (zcf, privateArgs, baggage) => {
276
276
  wantmintedHook,
277
277
  'wantMinted',
278
278
  undefined,
279
- M.split({
279
+ M.splitRecord({
280
280
  give: { In: anchorAmountShape },
281
281
  want: M.or({ Out: stableAmountShape }, {}),
282
282
  }),
@@ -287,7 +287,7 @@ export const start = async (zcf, privateArgs, baggage) => {
287
287
  giveMintedHook,
288
288
  'giveMinted',
289
289
  undefined,
290
- M.split({
290
+ M.splitRecord({
291
291
  give: { In: stableAmountShape },
292
292
  want: M.or({ Out: anchorAmountShape }, {}),
293
293
  }),
@@ -23,17 +23,15 @@ import { E } from '@endo/far';
23
23
  * @property {Record<string, unknown>} params
24
24
  * @property {{paramPath: { key: string }}} [path]
25
25
  */
26
- const ParamChangesOfferArgsShape = harden(
27
- M.split(
28
- {
29
- deadline: TimestampShape,
30
- instance: InstanceHandleShape,
31
- params: M.recordOf(M.string(), M.any()),
32
- },
33
- M.partial({
34
- path: { paramPath: { key: M.string() } },
35
- }),
36
- ),
26
+ const ParamChangesOfferArgsShape = M.splitRecord(
27
+ {
28
+ deadline: TimestampShape,
29
+ instance: InstanceHandleShape,
30
+ params: M.recordOf(M.string(), M.any()),
31
+ },
32
+ {
33
+ path: { paramPath: { key: M.string() } },
34
+ },
37
35
  );
38
36
 
39
37
  /**
@@ -78,16 +78,13 @@ const makeVaultParamManager = (publisherKit, initial) =>
78
78
  });
79
79
  /** @typedef {ReturnType<typeof makeVaultParamManager>} VaultParamManager */
80
80
 
81
- export const vaultParamPattern = M.split(
82
- {
83
- liquidationMargin: ratioPattern,
84
- liquidationPenalty: ratioPattern,
85
- interestRate: ratioPattern,
86
- loanFee: ratioPattern,
87
- debtLimit: amountPattern,
88
- },
89
- M.any(),
90
- );
81
+ export const vaultParamPattern = M.splitRecord({
82
+ liquidationMargin: ratioPattern,
83
+ liquidationPenalty: ratioPattern,
84
+ interestRate: ratioPattern,
85
+ loanFee: ratioPattern,
86
+ debtLimit: amountPattern,
87
+ });
91
88
 
92
89
  /**
93
90
  * @param {import('@agoric/notifier').StoredPublisherKit<GovernanceSubscriptionState>} publisherKit