@agoric/inter-protocol 0.14.1-dev-d42f8d0.0 → 0.14.1-dev-c2ae5c0.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/bundles/bundle-auctioneer-js-meta.json +116 -116
- package/bundles/bundle-auctioneer.js +1 -1
- 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 +111 -111
- package/bundles/bundle-psm-js-meta.json +112 -112
- package/bundles/bundle-reserve-js-meta.json +108 -108
- package/bundles/bundle-scaledPriceAuthority-js-meta.json +78 -78
- package/bundles/bundle-vaultFactory-js-meta.json +132 -132
- package/bundles/bundle-vaultFactory.js +1 -1
- package/package.json +17 -17
- package/src/auction/auctionBook.js +10 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/inter-protocol",
|
|
3
|
-
"version": "0.14.1-dev-
|
|
3
|
+
"version": "0.14.1-dev-c2ae5c0.0+c2ae5c0",
|
|
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.6.1-dev-
|
|
33
|
-
"@agoric/ertp": "0.16.1-dev-
|
|
34
|
-
"@agoric/governance": "0.10.1-dev-
|
|
35
|
-
"@agoric/internal": "0.3.1-dev-
|
|
36
|
-
"@agoric/notifier": "0.6.1-dev-
|
|
37
|
-
"@agoric/store": "0.9.1-dev-
|
|
38
|
-
"@agoric/time": "0.3.1-dev-
|
|
39
|
-
"@agoric/vat-data": "0.5.1-dev-
|
|
40
|
-
"@agoric/vats": "0.14.1-dev-
|
|
41
|
-
"@agoric/zoe": "0.26.1-dev-
|
|
32
|
+
"@agoric/assert": "0.6.1-dev-c2ae5c0.0+c2ae5c0",
|
|
33
|
+
"@agoric/ertp": "0.16.1-dev-c2ae5c0.0+c2ae5c0",
|
|
34
|
+
"@agoric/governance": "0.10.1-dev-c2ae5c0.0+c2ae5c0",
|
|
35
|
+
"@agoric/internal": "0.3.1-dev-c2ae5c0.0+c2ae5c0",
|
|
36
|
+
"@agoric/notifier": "0.6.1-dev-c2ae5c0.0+c2ae5c0",
|
|
37
|
+
"@agoric/store": "0.9.1-dev-c2ae5c0.0+c2ae5c0",
|
|
38
|
+
"@agoric/time": "0.3.1-dev-c2ae5c0.0+c2ae5c0",
|
|
39
|
+
"@agoric/vat-data": "0.5.1-dev-c2ae5c0.0+c2ae5c0",
|
|
40
|
+
"@agoric/vats": "0.14.1-dev-c2ae5c0.0+c2ae5c0",
|
|
41
|
+
"@agoric/zoe": "0.26.1-dev-c2ae5c0.0+c2ae5c0",
|
|
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.19.1-dev-
|
|
47
|
+
"agoric": "0.19.1-dev-c2ae5c0.0+c2ae5c0",
|
|
48
48
|
"jessie.js": "^0.3.2"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@agoric/deploy-script-support": "0.10.1-dev-
|
|
52
|
-
"@agoric/smart-wallet": "0.5.1-dev-
|
|
53
|
-
"@agoric/swingset-liveslots": "0.10.1-dev-
|
|
54
|
-
"@agoric/swingset-vat": "0.32.1-dev-
|
|
51
|
+
"@agoric/deploy-script-support": "0.10.1-dev-c2ae5c0.0+c2ae5c0",
|
|
52
|
+
"@agoric/smart-wallet": "0.5.1-dev-c2ae5c0.0+c2ae5c0",
|
|
53
|
+
"@agoric/swingset-liveslots": "0.10.1-dev-c2ae5c0.0+c2ae5c0",
|
|
54
|
+
"@agoric/swingset-vat": "0.32.1-dev-c2ae5c0.0+c2ae5c0",
|
|
55
55
|
"@endo/bundle-source": "^2.5.1",
|
|
56
56
|
"@endo/init": "^0.5.56",
|
|
57
57
|
"@endo/promise-kit": "^0.2.56",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"publishConfig": {
|
|
80
80
|
"access": "public"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "c2ae5c07c7131372c85f61e1895be6c9ae88c604"
|
|
83
83
|
}
|
|
@@ -514,7 +514,11 @@ export const prepareAuctionBook = (baggage, zcf, makeRecorderKit) => {
|
|
|
514
514
|
calcTargetRatio(),
|
|
515
515
|
);
|
|
516
516
|
|
|
517
|
-
if (
|
|
517
|
+
if (
|
|
518
|
+
state.remainingProceedsGoal !== null ||
|
|
519
|
+
// XXX use this as an indication that the auction is active
|
|
520
|
+
state.curAuctionPrice !== null
|
|
521
|
+
) {
|
|
518
522
|
const incrementToGoal = state.startProceedsGoal
|
|
519
523
|
? AmountMath.subtract(nextProceedsGoal, state.startProceedsGoal)
|
|
520
524
|
: nextProceedsGoal;
|
|
@@ -625,7 +629,11 @@ export const prepareAuctionBook = (baggage, zcf, makeRecorderKit) => {
|
|
|
625
629
|
Fail`capturedPriceForRound must be set before each round`;
|
|
626
630
|
assert(capturedPriceForRound);
|
|
627
631
|
|
|
628
|
-
trace(
|
|
632
|
+
trace(
|
|
633
|
+
'set startPrice',
|
|
634
|
+
capturedPriceForRound,
|
|
635
|
+
this.state.startProceedsGoal,
|
|
636
|
+
);
|
|
629
637
|
this.state.remainingProceedsGoal = this.state.startProceedsGoal;
|
|
630
638
|
this.state.curAuctionPrice = multiplyRatios(
|
|
631
639
|
capturedPriceForRound,
|