-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/** | ||
* @file Type exports for WellKnown names. TS so it doesn't affect runtime dependency graph. | ||
*/ | ||
// 'start' fns | ||
import type { start as amm } from '@agoric/inter-protocol/src/vpool-xyk-amm/multipoolMarketMaker.js'; | ||
import type { start as binaryVoteCounter } from '@agoric/governance/src/binaryVoteCounter.js'; | ||
import type { start as committee } from '@agoric/governance/src/committee.js'; | ||
import type { start as contractGovernor } from '@agoric/governance/src/contractGovernor.js'; | ||
import type { start as econCommitteeCharter } from '@agoric/inter-protocol/src/econCommitteeCharter.js'; | ||
import type { start as feeDistributor } from '@agoric/inter-protocol/src/feeDistributor.js'; | ||
import type { start as interchainPool } from '@agoric/inter-protocol/src/interchainPool.js'; | ||
import type { start as liquidate } from '@agoric/inter-protocol/src/vaultFactory/liquidateIncrementally.js'; | ||
import type { start as noActionElectorate } from '@agoric/governance/src/noActionElectorate.js'; | ||
import type { start as priceAggregator } from '@agoric/inter-protocol/src/price/fluxAggregator.contract.js'; | ||
import type { start as psm } from '@agoric/inter-protocol/src/psm/psm.js'; | ||
import type { start as reserve } from '@agoric/inter-protocol/src/reserve/assetReserve.js'; | ||
import type { start as stakeFactory } from '@agoric/inter-protocol/src/stakeFactory/stakeFactory.js'; | ||
import type { start as VaultFactory } from '@agoric/inter-protocol/src/vaultFactory/vaultFactory.js'; | ||
import type { start as walletFactory } from '@agoric/smart-wallet/src/walletFactory.js'; | ||
import type { start as Pegasus } from '@agoric/pegasus/src/pegasus.js'; | ||
import type { start as provisionPool } from '../provisionPool.js'; | ||
import type { start as centralSupply } from '../centralSupply.js'; | ||
|
||
// 'prepare' fns | ||
import type { prepare as mintHolder } from '../mintHolder.js'; | ||
|
||
const contractFns = { | ||
amm, | ||
binaryVoteCounter, | ||
centralSupply, | ||
committee, | ||
contractGovernor, | ||
econCommitteeCharter, | ||
feeDistributor, | ||
interchainPool, | ||
liquidate, | ||
mintHolder, | ||
noActionElectorate, | ||
Pegasus, | ||
priceAggregator, | ||
provisionPool, | ||
psm, | ||
reserve, | ||
stakeFactory, | ||
VaultFactory, | ||
walletFactory, | ||
}; | ||
|
||
export type WellKnownInstallations = { | ||
[K in keyof typeof contractFns]: Installation<(typeof contractFns)[K]>; | ||
}; |