Skip to content

Commit

Permalink
chore: auction was introduced to vaultfactory too early.
Browse files Browse the repository at this point in the history
It will be introduced with #7047 when vaultfactory makes use of the
auction for liquidation
  • Loading branch information
Chris-Hibbert committed Feb 28, 2023
1 parent 2b4e795 commit ee20e1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 1 addition & 7 deletions packages/inter-protocol/src/proposals/econ-behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,7 @@ export const startVaultFactory = async (
},
instance: {
produce: instanceProduce,
consume: {
amm: ammInstance,
auction: auctionInstance,
reserve: reserveInstance,
},
consume: { amm: ammInstance, reserve: reserveInstance },
},
installation: {
consume: {
Expand Down Expand Up @@ -438,7 +434,6 @@ export const startVaultFactory = async (

const ammPublicFacet = await E(zoe).getPublicFacet(ammInstance);
const reservePublicFacet = await E(zoe).getPublicFacet(reserveInstance);
const auctionPublicFacet = await E(zoe).getPublicFacet(auctionInstance);
const storageNode = await makeStorageNodeChild(chainStorage, STORAGE_PATH);
const marshaller = await E(board).getReadonlyMarshaller();

Expand All @@ -457,7 +452,6 @@ export const startVaultFactory = async (
bootstrapPaymentValue: 0n,
shortfallInvitationAmount,
endorsedUi,
auctionPublicFacet,
},
);

Expand Down
3 changes: 0 additions & 3 deletions packages/inter-protocol/src/vaultFactory/params.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ harden(makeVaultDirectorParamManager);
* liquidationTerms: import('./liquidation.js').LiquidationTerms,
* ammPublicFacet: XYKAMMPublicFacet,
* shortfallInvitationAmount: Amount,
* auctionPublicFacet: import('../auction/auctioneer.js').AuctioneerPublicFacet,
* endorsedUi?: string,
* }} opts
*/
Expand All @@ -172,7 +171,6 @@ export const makeGovernedTerms = (
{
ammPublicFacet,
bootstrapPaymentValue,
auctionPublicFacet,
electorateInvitationAmount,
liquidationInstall,
liquidationTerms,
Expand Down Expand Up @@ -202,7 +200,6 @@ export const makeGovernedTerms = (
return harden({
ammPublicFacet,
priceAuthority,
auctionPublicFacet,
loanTimingParams,
reservePublicFacet,
timerService: timer,
Expand Down

0 comments on commit ee20e1a

Please sign in to comment.