@agoric/inter-protocol 0.13.2-dev-dd5d004.0 → 0.13.2-dev-f75cfb8.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/README.md +2 -2
- package/bundles/bundle-auctioneer-js-meta.json +115 -115
- package/bundles/bundle-econCommitteeCharter-js-meta.json +71 -71
- package/bundles/bundle-feeDistributor-js-meta.json +57 -57
- package/bundles/bundle-fluxAggregatorKit-js-meta.json +158 -158
- package/bundles/bundle-psm-js-meta.json +108 -108
- package/bundles/bundle-reserve-js-meta.json +107 -107
- package/bundles/bundle-scaledPriceAuthority-js-meta.json +77 -77
- package/bundles/bundle-vaultFactory-js-meta.json +131 -131
- package/package.json +17 -17
- package/src/proposals/addAssetToVault.js +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/inter-protocol",
|
|
3
|
-
"version": "0.13.2-dev-
|
|
3
|
+
"version": "0.13.2-dev-f75cfb8.0+f75cfb8",
|
|
4
4
|
"description": "Core cryptoeconomy contracts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -29,29 +29,29 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@agoric/assert": "0.5.2-dev-
|
|
33
|
-
"@agoric/ertp": "0.15.4-dev-
|
|
34
|
-
"@agoric/governance": "0.9.2-dev-
|
|
35
|
-
"@agoric/internal": "0.2.2-dev-
|
|
36
|
-
"@agoric/notifier": "0.5.2-dev-
|
|
37
|
-
"@agoric/store": "0.8.4-dev-
|
|
38
|
-
"@agoric/time": "0.2.2-dev-
|
|
39
|
-
"@agoric/vat-data": "0.4.4-dev-
|
|
40
|
-
"@agoric/vats": "0.13.1-dev-
|
|
41
|
-
"@agoric/zoe": "0.25.4-dev-
|
|
32
|
+
"@agoric/assert": "0.5.2-dev-f75cfb8.0+f75cfb8",
|
|
33
|
+
"@agoric/ertp": "0.15.4-dev-f75cfb8.0+f75cfb8",
|
|
34
|
+
"@agoric/governance": "0.9.2-dev-f75cfb8.0+f75cfb8",
|
|
35
|
+
"@agoric/internal": "0.2.2-dev-f75cfb8.0+f75cfb8",
|
|
36
|
+
"@agoric/notifier": "0.5.2-dev-f75cfb8.0+f75cfb8",
|
|
37
|
+
"@agoric/store": "0.8.4-dev-f75cfb8.0+f75cfb8",
|
|
38
|
+
"@agoric/time": "0.2.2-dev-f75cfb8.0+f75cfb8",
|
|
39
|
+
"@agoric/vat-data": "0.4.4-dev-f75cfb8.0+f75cfb8",
|
|
40
|
+
"@agoric/vats": "0.13.1-dev-f75cfb8.0+f75cfb8",
|
|
41
|
+
"@agoric/zoe": "0.25.4-dev-f75cfb8.0+f75cfb8",
|
|
42
42
|
"@endo/captp": "^3.1.1",
|
|
43
43
|
"@endo/eventual-send": "^0.17.2",
|
|
44
44
|
"@endo/far": "^0.2.18",
|
|
45
45
|
"@endo/marshal": "^0.8.5",
|
|
46
46
|
"@endo/nat": "^4.1.27",
|
|
47
|
-
"agoric": "0.18.3-dev-
|
|
47
|
+
"agoric": "0.18.3-dev-f75cfb8.0+f75cfb8",
|
|
48
48
|
"jessie.js": "^0.3.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@agoric/deploy-script-support": "0.9.5-dev-
|
|
52
|
-
"@agoric/smart-wallet": "0.4.3-dev-
|
|
53
|
-
"@agoric/swingset-liveslots": "0.9.1-dev-
|
|
54
|
-
"@agoric/swingset-vat": "0.30.3-dev-
|
|
51
|
+
"@agoric/deploy-script-support": "0.9.5-dev-f75cfb8.0+f75cfb8",
|
|
52
|
+
"@agoric/smart-wallet": "0.4.3-dev-f75cfb8.0+f75cfb8",
|
|
53
|
+
"@agoric/swingset-liveslots": "0.9.1-dev-f75cfb8.0+f75cfb8",
|
|
54
|
+
"@agoric/swingset-vat": "0.30.3-dev-f75cfb8.0+f75cfb8",
|
|
55
55
|
"@endo/bundle-source": "^2.5.1",
|
|
56
56
|
"@endo/init": "^0.5.56",
|
|
57
57
|
"@endo/promise-kit": "^0.2.56",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"publishConfig": {
|
|
78
78
|
"access": "public"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "f75cfb805308544fb0d1f2bae215d87f900f1c13"
|
|
81
81
|
}
|
|
@@ -147,7 +147,7 @@ export const registerScaledPriceAuthority = async (
|
|
|
147
147
|
|
|
148
148
|
const [
|
|
149
149
|
sourcePriceAuthority,
|
|
150
|
-
[interchainBrand,
|
|
150
|
+
[interchainBrand, stableBrand],
|
|
151
151
|
[interchainOracleBrand, usdBrand],
|
|
152
152
|
[scaledPriceAuthority],
|
|
153
153
|
] = await Promise.all([
|
|
@@ -181,7 +181,7 @@ export const registerScaledPriceAuthority = async (
|
|
|
181
181
|
getDecimalP(interchainOracleBrand),
|
|
182
182
|
getDecimalP(interchainBrand),
|
|
183
183
|
getDecimalP(usdBrand),
|
|
184
|
-
getDecimalP(
|
|
184
|
+
getDecimalP(stableBrand),
|
|
185
185
|
]);
|
|
186
186
|
|
|
187
187
|
const scaleIn = makeRatio(
|
|
@@ -194,10 +194,10 @@ export const registerScaledPriceAuthority = async (
|
|
|
194
194
|
10n ** BigInt(decimalPlacesUsd),
|
|
195
195
|
usdBrand,
|
|
196
196
|
10n ** BigInt(decimalPlacesRun),
|
|
197
|
-
|
|
197
|
+
stableBrand,
|
|
198
198
|
);
|
|
199
199
|
const initialPrice = initialPriceRaw
|
|
200
|
-
? parseRatio(initialPriceRaw,
|
|
200
|
+
? parseRatio(initialPriceRaw, stableBrand, interchainBrand)
|
|
201
201
|
: undefined;
|
|
202
202
|
|
|
203
203
|
const terms = await deeplyFulfilledObject(
|
|
@@ -226,7 +226,7 @@ export const registerScaledPriceAuthority = async (
|
|
|
226
226
|
// @ts-expect-error The public facet should have getPriceAuthority
|
|
227
227
|
E(spaKit.publicFacet).getPriceAuthority(),
|
|
228
228
|
interchainBrand,
|
|
229
|
-
|
|
229
|
+
stableBrand,
|
|
230
230
|
true, // force
|
|
231
231
|
);
|
|
232
232
|
};
|