@agoric/vats 0.15.2-dev-fb922d3.0 → 0.15.2-dev-8358d20.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.
@@ -22,7 +22,7 @@
22
22
  "entrypoint": "defaultProposalBuilder",
23
23
  "args": [
24
24
  {
25
- "stabilityFeeValue": 1000,
25
+ "interestRateValue": 1000,
26
26
  "interchainAssetOptions": {
27
27
  "denom": "ibc/toyatom",
28
28
  "decimalPlaces": 6,
package/index.js ADDED
@@ -0,0 +1,10 @@
1
+ // @ts-check
2
+ // Ambient types
3
+ import './src/core/types.js';
4
+
5
+ // eslint-disable-next-line import/export -- no named exports
6
+ export * from './src/types.js';
7
+ export * from './src/nameHub.js';
8
+ export * from './src/bridge.js';
9
+ export { makePromiseSpace } from './src/core/promise-space.js';
10
+ export { makeAgoricNamesAccess } from './src/core/utils.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/vats",
3
- "version": "0.15.2-dev-fb922d3.0+fb922d3",
3
+ "version": "0.15.2-dev-8358d20.0+8358d20",
4
4
  "description": "Agoric's Vat library",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -30,19 +30,19 @@
30
30
  "author": "Agoric",
31
31
  "license": "Apache-2.0",
32
32
  "dependencies": {
33
- "@agoric/assert": "0.6.1-dev-fb922d3.0+fb922d3",
34
- "@agoric/ertp": "0.16.3-dev-fb922d3.0+fb922d3",
35
- "@agoric/governance": "0.10.4-dev-fb922d3.0+fb922d3",
36
- "@agoric/inter-protocol": "0.16.2-dev-fb922d3.0+fb922d3",
37
- "@agoric/internal": "0.3.3-dev-fb922d3.0+fb922d3",
38
- "@agoric/notifier": "0.6.3-dev-fb922d3.0+fb922d3",
39
- "@agoric/sharing-service": "0.2.12-dev-fb922d3.0+fb922d3",
40
- "@agoric/store": "0.9.3-dev-fb922d3.0+fb922d3",
41
- "@agoric/swingset-vat": "0.32.3-dev-fb922d3.0+fb922d3",
42
- "@agoric/time": "0.3.3-dev-fb922d3.0+fb922d3",
43
- "@agoric/vat-data": "0.5.3-dev-fb922d3.0+fb922d3",
44
- "@agoric/zoe": "0.26.3-dev-fb922d3.0+fb922d3",
45
- "@agoric/zone": "0.2.3-dev-fb922d3.0+fb922d3",
33
+ "@agoric/assert": "0.6.1-dev-8358d20.0+8358d20",
34
+ "@agoric/ertp": "0.16.3-dev-8358d20.0+8358d20",
35
+ "@agoric/governance": "0.10.4-dev-8358d20.0+8358d20",
36
+ "@agoric/inter-protocol": "0.16.2-dev-8358d20.0+8358d20",
37
+ "@agoric/internal": "0.3.3-dev-8358d20.0+8358d20",
38
+ "@agoric/notifier": "0.6.3-dev-8358d20.0+8358d20",
39
+ "@agoric/sharing-service": "0.2.12-dev-8358d20.0+8358d20",
40
+ "@agoric/store": "0.9.3-dev-8358d20.0+8358d20",
41
+ "@agoric/swingset-vat": "0.32.3-dev-8358d20.0+8358d20",
42
+ "@agoric/time": "0.3.3-dev-8358d20.0+8358d20",
43
+ "@agoric/vat-data": "0.5.3-dev-8358d20.0+8358d20",
44
+ "@agoric/zoe": "0.26.3-dev-8358d20.0+8358d20",
45
+ "@agoric/zone": "0.2.3-dev-8358d20.0+8358d20",
46
46
  "@endo/far": "^0.2.19",
47
47
  "@endo/import-bundle": "^0.3.5",
48
48
  "@endo/init": "^0.5.57",
@@ -53,11 +53,11 @@
53
53
  "jessie.js": "^0.3.2"
54
54
  },
55
55
  "devDependencies": {
56
- "@agoric/cosmic-swingset": "0.41.4-dev-fb922d3.0+fb922d3",
57
- "@agoric/deploy-script-support": "0.10.4-dev-fb922d3.0+fb922d3",
58
- "@agoric/smart-wallet": "0.5.4-dev-fb922d3.0+fb922d3",
59
- "@agoric/swing-store": "0.9.2-dev-fb922d3.0+fb922d3",
60
- "@agoric/swingset-liveslots": "0.10.3-dev-fb922d3.0+fb922d3",
56
+ "@agoric/cosmic-swingset": "0.41.4-dev-8358d20.0+8358d20",
57
+ "@agoric/deploy-script-support": "0.10.4-dev-8358d20.0+8358d20",
58
+ "@agoric/smart-wallet": "0.5.4-dev-8358d20.0+8358d20",
59
+ "@agoric/swing-store": "0.9.2-dev-8358d20.0+8358d20",
60
+ "@agoric/swingset-liveslots": "0.10.3-dev-8358d20.0+8358d20",
61
61
  "@endo/bundle-source": "^2.5.2",
62
62
  "@endo/captp": "^3.1.2",
63
63
  "@endo/eventual-send": "^0.17.3",
@@ -87,5 +87,5 @@
87
87
  "timeout": "20m",
88
88
  "workerThreads": false
89
89
  },
90
- "gitHead": "fb922d3aeddd390919a015a76d5f4e035e6f0240"
90
+ "gitHead": "8358d208a105af24bc267ba4ef928ca7ecf6a4e3"
91
91
  }
@@ -16,7 +16,7 @@ export function showAmount({ brand, value }: {
16
16
  * initialMargin: Rational;
17
17
  * liquidationMargin: Rational;
18
18
  * liquidationPenalty: Rational;
19
- * stabilityFee: Rational;
19
+ * interestRate: Rational;
20
20
  * mintFee: Rational;
21
21
  * liquidationPadding?: Rational;
22
22
  * };
@@ -30,7 +30,7 @@ export const AMMDemoState: Record<string, {
30
30
  initialMargin: Rational;
31
31
  liquidationMargin: Rational;
32
32
  liquidationPenalty: Rational;
33
- stabilityFee: Rational;
33
+ interestRate: Rational;
34
34
  mintFee: Rational;
35
35
  liquidationPadding?: Rational;
36
36
  };
@@ -72,7 +72,7 @@ export function poolRates(issuerName: string, record: (typeof AMMDemoState)['ATO
72
72
  initialMargin: Ratio;
73
73
  liquidationMargin: Ratio;
74
74
  liquidationPenalty: Ratio;
75
- stabilityFee: Ratio;
75
+ interestRate: Ratio;
76
76
  mintFee: Ratio;
77
77
  liquidationPadding: Ratio | undefined;
78
78
  };
@@ -86,7 +86,7 @@ const defaultConfig = /** @type {const} */ ({
86
86
  initialMargin: [150n, PCT],
87
87
  liquidationMargin: [125n, PCT],
88
88
  liquidationPenalty: [10n, PCT],
89
- stabilityFee: [250n, BASIS],
89
+ interestRate: [250n, BASIS],
90
90
  mintFee: [1n, BASIS],
91
91
  });
92
92
 
@@ -100,7 +100,7 @@ const defaultConfig = /** @type {const} */ ({
100
100
  * initialMargin: Rational;
101
101
  * liquidationMargin: Rational;
102
102
  * liquidationPenalty: Rational;
103
- * stabilityFee: Rational;
103
+ * interestRate: Rational;
104
104
  * mintFee: Rational;
105
105
  * liquidationPadding?: Rational;
106
106
  * };
@@ -451,7 +451,7 @@ export const poolRates = (issuerName, record, kits, central) => {
451
451
  initialMargin: toRatio(config.initialMargin, central.brand),
452
452
  liquidationMargin: toRatio(config.liquidationMargin, central.brand),
453
453
  liquidationPenalty: toRatio(config.liquidationPenalty, central.brand),
454
- stabilityFee: toRatio(config.stabilityFee, central.brand),
454
+ interestRate: toRatio(config.interestRate, central.brand),
455
455
  mintFee: toRatio(config.mintFee, central.brand),
456
456
  // XXX not relevant to AMM pools but poolRates is also used for addVaultType
457
457
  liquidationPadding: