@agoric/inter-protocol 0.14.1-dev-74a0763.0 → 0.14.1-dev-acefd94.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.14.1-dev-74a0763.0+74a0763",
3
+ "version": "0.14.1-dev-acefd94.0+acefd94",
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-74a0763.0+74a0763",
33
- "@agoric/ertp": "0.16.1-dev-74a0763.0+74a0763",
34
- "@agoric/governance": "0.10.1-dev-74a0763.0+74a0763",
35
- "@agoric/internal": "0.3.1-dev-74a0763.0+74a0763",
36
- "@agoric/notifier": "0.6.1-dev-74a0763.0+74a0763",
37
- "@agoric/store": "0.9.1-dev-74a0763.0+74a0763",
38
- "@agoric/time": "0.3.1-dev-74a0763.0+74a0763",
39
- "@agoric/vat-data": "0.5.1-dev-74a0763.0+74a0763",
40
- "@agoric/vats": "0.14.1-dev-74a0763.0+74a0763",
41
- "@agoric/zoe": "0.26.1-dev-74a0763.0+74a0763",
32
+ "@agoric/assert": "0.6.1-dev-acefd94.0+acefd94",
33
+ "@agoric/ertp": "0.16.1-dev-acefd94.0+acefd94",
34
+ "@agoric/governance": "0.10.1-dev-acefd94.0+acefd94",
35
+ "@agoric/internal": "0.3.1-dev-acefd94.0+acefd94",
36
+ "@agoric/notifier": "0.6.1-dev-acefd94.0+acefd94",
37
+ "@agoric/store": "0.9.1-dev-acefd94.0+acefd94",
38
+ "@agoric/time": "0.3.1-dev-acefd94.0+acefd94",
39
+ "@agoric/vat-data": "0.5.1-dev-acefd94.0+acefd94",
40
+ "@agoric/vats": "0.14.1-dev-acefd94.0+acefd94",
41
+ "@agoric/zoe": "0.26.1-dev-acefd94.0+acefd94",
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-74a0763.0+74a0763",
47
+ "agoric": "0.19.1-dev-acefd94.0+acefd94",
48
48
  "jessie.js": "^0.3.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@agoric/deploy-script-support": "0.10.1-dev-74a0763.0+74a0763",
52
- "@agoric/smart-wallet": "0.5.1-dev-74a0763.0+74a0763",
53
- "@agoric/swingset-liveslots": "0.10.1-dev-74a0763.0+74a0763",
54
- "@agoric/swingset-vat": "0.32.1-dev-74a0763.0+74a0763",
51
+ "@agoric/deploy-script-support": "0.10.1-dev-acefd94.0+acefd94",
52
+ "@agoric/smart-wallet": "0.5.1-dev-acefd94.0+acefd94",
53
+ "@agoric/swingset-liveslots": "0.10.1-dev-acefd94.0+acefd94",
54
+ "@agoric/swingset-vat": "0.32.1-dev-acefd94.0+acefd94",
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": "74a0763ff1492b3b161d6299d7cd59c2a0e8ee99"
82
+ "gitHead": "acefd94c2191c7fad2ebcb3f31f3d960582fc111"
83
83
  }
@@ -132,7 +132,7 @@ export const defaultProposalBuilder = async (
132
132
  const {
133
133
  vaultFactoryControllerAddress = env.VAULT_FACTORY_CONTROLLER_ADDR,
134
134
  minInitialPoolLiquidity = env.MIN_INITIAL_POOL_LIQUIDITY,
135
- endorsedUi,
135
+ referencedUi,
136
136
  anchorOptions: {
137
137
  anchorDenom = env.ANCHOR_DENOM,
138
138
  anchorDecimalPlaces = '6',
@@ -168,7 +168,7 @@ export const defaultProposalBuilder = async (
168
168
  {
169
169
  vaultFactoryControllerAddress,
170
170
  minInitialPoolLiquidity: optBigInt(minInitialPoolLiquidity),
171
- endorsedUi,
171
+ referencedUi,
172
172
  anchorOptions,
173
173
  econCommitteeOptions,
174
174
  installKeys: {
@@ -200,7 +200,7 @@ export const getManifestForMain = (
200
200
  installKeys,
201
201
  vaultFactoryControllerAddress,
202
202
  minInitialPoolLiquidity,
203
- endorsedUi,
203
+ referencedUi,
204
204
  },
205
205
  ) => {
206
206
  return {
@@ -214,7 +214,7 @@ export const getManifestForMain = (
214
214
  options: {
215
215
  vaultFactoryControllerAddress,
216
216
  minInitialPoolLiquidity,
217
- endorsedUi,
217
+ referencedUi,
218
218
  },
219
219
  };
220
220
  };
@@ -226,7 +226,7 @@ export const getManifestForInterProtocol = (
226
226
  installKeys,
227
227
  vaultFactoryControllerAddress,
228
228
  minInitialPoolLiquidity,
229
- endorsedUi,
229
+ referencedUi,
230
230
  },
231
231
  ) => {
232
232
  const econCommitteeManifest = getManifestForEconCommittee(
@@ -239,7 +239,7 @@ export const getManifestForInterProtocol = (
239
239
  installKeys,
240
240
  vaultFactoryControllerAddress,
241
241
  minInitialPoolLiquidity,
242
- endorsedUi,
242
+ referencedUi,
243
243
  },
244
244
  );
245
245
  return {
@@ -174,7 +174,7 @@ export const setupReserve = async ({
174
174
  * @param {object} config
175
175
  * @param {InterestTiming} [config.interestTiming]
176
176
  * @param {object} [config.options]
177
- * @param {string} [config.options.endorsedUi]
177
+ * @param {string} [config.options.referencedUi]
178
178
  * @param {Amount<'nat'>} minInitialDebt
179
179
  */
180
180
  export const setupVaultFactoryArguments = async (
@@ -184,7 +184,7 @@ export const setupVaultFactoryArguments = async (
184
184
  chargingPeriod: SECONDS_PER_HOUR,
185
185
  recordingPeriod: SECONDS_PER_DAY,
186
186
  },
187
- options: { endorsedUi } = {},
187
+ options: { referencedUi } = {},
188
188
  } = {},
189
189
  minInitialDebt,
190
190
  ) => {
@@ -238,7 +238,7 @@ export const setupVaultFactoryArguments = async (
238
238
  minInitialDebt,
239
239
  bootstrapPaymentValue: 0n,
240
240
  shortfallInvitationAmount,
241
- endorsedUi,
241
+ referencedUi,
242
242
  });
243
243
 
244
244
  const vaultFactoryPrivateArgs = {
@@ -257,7 +257,7 @@ export const setupVaultFactoryArguments = async (
257
257
  * @param {object} config
258
258
  * @param {InterestTiming} [config.interestTiming]
259
259
  * @param {object} [config.options]
260
- * @param {string} [config.options.endorsedUi]
260
+ * @param {string} [config.options.referencedUi]
261
261
  * @param {bigint} minInitialDebt
262
262
  */
263
263
  export const startVaultFactory = async (
@@ -25,13 +25,13 @@ export const INTEREST_RATE_KEY = 'InterestRate';
25
25
  export const MINT_FEE_KEY = 'MintFee';
26
26
  export const MIN_INITIAL_DEBT_KEY = 'MinInitialDebt';
27
27
  export const SHORTFALL_INVITATION_KEY = 'ShortfallInvitation';
28
- export const ENDORSED_UI_KEY = 'EndorsedUI';
28
+ export const REFERENCED_UI_KEY = 'ReferencedUI';
29
29
 
30
30
  export const vaultDirectorParamTypes = {
31
31
  [MIN_INITIAL_DEBT_KEY]: ParamTypes.AMOUNT,
32
32
  [CHARGING_PERIOD_KEY]: ParamTypes.NAT,
33
33
  [RECORDING_PERIOD_KEY]: ParamTypes.NAT,
34
- [ENDORSED_UI_KEY]: ParamTypes.STRING,
34
+ [REFERENCED_UI_KEY]: ParamTypes.STRING,
35
35
  };
36
36
  harden(vaultDirectorParamTypes);
37
37
 
@@ -39,14 +39,14 @@ harden(vaultDirectorParamTypes);
39
39
  * @param {Amount<'set'>} electorateInvitationAmount
40
40
  * @param {Amount<'nat'>} minInitialDebt
41
41
  * @param {Amount<'set'>} shortfallInvitationAmount
42
- * @param {string} endorsedUi
42
+ * @param {string} referencedUi
43
43
  * @param {InterestTiming} interestTiming
44
44
  */
45
45
  const makeVaultDirectorParams = (
46
46
  electorateInvitationAmount,
47
47
  minInitialDebt,
48
48
  shortfallInvitationAmount,
49
- endorsedUi,
49
+ referencedUi,
50
50
  interestTiming,
51
51
  ) => {
52
52
  return harden({
@@ -62,7 +62,7 @@ const makeVaultDirectorParams = (
62
62
  type: ParamTypes.INVITATION,
63
63
  value: shortfallInvitationAmount,
64
64
  },
65
- [ENDORSED_UI_KEY]: { type: ParamTypes.STRING, value: endorsedUi },
65
+ [REFERENCED_UI_KEY]: { type: ParamTypes.STRING, value: referencedUi },
66
66
  [CHARGING_PERIOD_KEY]: {
67
67
  type: ParamTypes.NAT,
68
68
  value: TimeMath.relValue(interestTiming.chargingPeriod),
@@ -131,7 +131,7 @@ export const vaultParamPattern = M.splitRecord(
131
131
  * reservePublicFacet: AssetReservePublicFacet,
132
132
  * interestTiming: InterestTiming,
133
133
  * shortfallInvitationAmount: Amount<'set'>,
134
- * endorsedUi?: string,
134
+ * referencedUi?: string,
135
135
  * }} opts
136
136
  */
137
137
  export const makeGovernedTerms = ({
@@ -144,7 +144,7 @@ export const makeGovernedTerms = ({
144
144
  reservePublicFacet,
145
145
  timer,
146
146
  shortfallInvitationAmount,
147
- endorsedUi = 'NO ENDORSEMENT',
147
+ referencedUi = 'NO REFERENCE',
148
148
  }) => {
149
149
  return harden({
150
150
  auctioneerPublicFacet,
@@ -155,7 +155,7 @@ export const makeGovernedTerms = ({
155
155
  electorateInvitationAmount,
156
156
  minInitialDebt,
157
157
  shortfallInvitationAmount,
158
- endorsedUi,
158
+ referencedUi,
159
159
  interestTiming,
160
160
  ),
161
161
  bootstrapPaymentValue,