@agoric/inter-protocol 0.13.2-dev-49b65e6.0 → 0.13.2-dev-2e33306.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-49b65e6.0+49b65e6",
3
+ "version": "0.13.2-dev-2e33306.0+2e33306",
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-49b65e6.0+49b65e6",
33
- "@agoric/ertp": "0.15.4-dev-49b65e6.0+49b65e6",
34
- "@agoric/governance": "0.9.2-dev-49b65e6.0+49b65e6",
35
- "@agoric/internal": "0.2.2-dev-49b65e6.0+49b65e6",
36
- "@agoric/notifier": "0.5.2-dev-49b65e6.0+49b65e6",
37
- "@agoric/store": "0.8.4-dev-49b65e6.0+49b65e6",
38
- "@agoric/time": "0.2.2-dev-49b65e6.0+49b65e6",
39
- "@agoric/vat-data": "0.4.4-dev-49b65e6.0+49b65e6",
40
- "@agoric/vats": "0.13.1-dev-49b65e6.0+49b65e6",
41
- "@agoric/zoe": "0.25.4-dev-49b65e6.0+49b65e6",
32
+ "@agoric/assert": "0.5.2-dev-2e33306.0+2e33306",
33
+ "@agoric/ertp": "0.15.4-dev-2e33306.0+2e33306",
34
+ "@agoric/governance": "0.9.2-dev-2e33306.0+2e33306",
35
+ "@agoric/internal": "0.2.2-dev-2e33306.0+2e33306",
36
+ "@agoric/notifier": "0.5.2-dev-2e33306.0+2e33306",
37
+ "@agoric/store": "0.8.4-dev-2e33306.0+2e33306",
38
+ "@agoric/time": "0.2.2-dev-2e33306.0+2e33306",
39
+ "@agoric/vat-data": "0.4.4-dev-2e33306.0+2e33306",
40
+ "@agoric/vats": "0.13.1-dev-2e33306.0+2e33306",
41
+ "@agoric/zoe": "0.25.4-dev-2e33306.0+2e33306",
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-49b65e6.0+49b65e6",
50
- "@agoric/smart-wallet": "0.4.3-dev-49b65e6.0+49b65e6",
51
- "@agoric/swingset-liveslots": "0.9.1-dev-49b65e6.0+49b65e6",
52
- "@agoric/swingset-vat": "0.30.3-dev-49b65e6.0+49b65e6",
49
+ "@agoric/deploy-script-support": "0.9.5-dev-2e33306.0+2e33306",
50
+ "@agoric/smart-wallet": "0.4.3-dev-2e33306.0+2e33306",
51
+ "@agoric/swingset-liveslots": "0.9.1-dev-2e33306.0+2e33306",
52
+ "@agoric/swingset-vat": "0.30.3-dev-2e33306.0+2e33306",
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": "49b65e639d5ac35ddb983e03149a001ab73b2290"
81
+ "gitHead": "2e333069005f63468bfca25b8ee1281ce2aeabbe"
82
82
  }
@@ -21,7 +21,7 @@ import {
21
21
  import { handleParamGovernance } from '@agoric/governance';
22
22
  import { makeTracer, BASIS_POINTS } from '@agoric/internal';
23
23
  import { FullProposalShape } from '@agoric/zoe/src/typeGuards.js';
24
-
24
+ import { appendToStoredArray } from '@agoric/store/src/stores/store-utils.js';
25
25
  import { makeAuctionBook } from './auctionBook.js';
26
26
  import { AuctionState } from './util.js';
27
27
  import { makeScheduler } from './scheduler.js';
@@ -135,11 +135,7 @@ export const start = async (zcf, privateArgs, baggage) => {
135
135
  const reserveFunds = provideEmptySeat(zcf, baggage, 'collateral');
136
136
 
137
137
  const addDeposit = (seat, amount) => {
138
- const depositListForBrand = deposits.get(amount.brand);
139
- deposits.set(
140
- amount.brand,
141
- harden([...depositListForBrand, { seat, amount }]),
142
- );
138
+ appendToStoredArray(deposits, amount.brand, { seat, amount });
143
139
  };
144
140
 
145
141
  // Called "discount" rate even though it can be above or below 100%.