Skip to content

Commit

Permalink
feat(inter): board ids for STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Aug 8, 2022
1 parent a6be9ff commit 6953fd7
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions packages/inter-protocol/src/proposals/econ-behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,10 +539,10 @@ harden(grantVaultFactoryControl);
export const configureVaultFactoryUI = async ({
consume: { board, zoe },
issuer: {
consume: { [Stable.symbol]: centralIssuerP },
consume: { [Stable.symbol]: stableIssuerP },
},
brand: {
consume: { [Stable.symbol]: centralBrandP },
consume: { [Stable.symbol]: stableBrandP },
},
installation: {
consume: {
Expand All @@ -569,9 +569,9 @@ export const configureVaultFactoryUI = async ({
amm: ammInstance,
vaultFactory: vaultInstance,
});
const [centralIssuer, centralBrand] = await Promise.all([
centralIssuerP,
centralBrandP,
const [stableIssuer, stableBrand] = await Promise.all([
stableIssuerP,
stableBrandP,
]);

const invitationIssuer = await E(zoe).getInvitationIssuer();
Expand All @@ -589,8 +589,12 @@ export const configureVaultFactoryUI = async ({
const boardIdValue = [
['INSTANCE_BOARD_ID', instances.vaultFactory],
['INSTALLATION_BOARD_ID', installs.vaultFactory],
['RUN_ISSUER_BOARD_ID', centralIssuer],
['RUN_BRAND_BOARD_ID', centralBrand],
// @deprecated
['RUN_ISSUER_BOARD_ID', stableIssuer],
// @deprecated
['RUN_BRAND_BOARD_ID', stableBrand],
['STABLE_ISSUER_BOARD_ID', stableIssuer],
['STABLE_BRAND_BOARD_ID', stableBrand],
['AMM_INSTALLATION_BOARD_ID', installs.amm],
['LIQ_INSTALLATION_BOARD_ID', installs.liquidate],
['BINARY_COUNTER_INSTALLATION_BOARD_ID', installs.binaryVoteCounter],
Expand Down

0 comments on commit 6953fd7

Please sign in to comment.