Skip to content

Commit

Permalink
chore: remove more stuff related to AMM
Browse files Browse the repository at this point in the history
remove interchainPool and other bootstrap stuff connected to AMM
Simplify liquidation contracts so they don't refer to dead code.

other clean ups
  • Loading branch information
Chris-Hibbert committed Feb 28, 2023
1 parent 6f93ad0 commit 8523532
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 652 deletions.
3 changes: 0 additions & 3 deletions packages/SwingSet/misc-tools/measure-metering/measure.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ async function run() {
const zoeInstallVaultFactory = await doCounted('zoeInstallVaultFactory');
console.log(`zoe install (vaultFactory): ${zoeInstallVaultFactory}`);

// XXX Does this need to be replace by something else in order to be useful?
// const zoeInstallAMM = await doCounted('zoeInstallBundle', [autoswapBundle]);
// console.log(`zoe install (AMM): ${zoeInstallAMM}`);
const zoeInstantiate = await doCounted('zoeInstantiate');
console.log(`zoe instantiate (AMM): ${zoeInstantiate}`);

Expand Down
1 change: 0 additions & 1 deletion packages/casting/test/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const getVaultManagerMetrics = async (homeP, { cache, lookup }) => {
export default async (homeP, { cache, lookup, makeDefaultLeader }) => {
// const storeKey = getStoreKeyFromCache(homeP, { cache, lookup });
const storeKey = getVaultManagerMetrics(homeP, { cache, lookup });
// const storeKey = ':published.amm.metrics';

console.log('storeKey', await storeKey);

Expand Down
179 changes: 0 additions & 179 deletions packages/inter-protocol/scripts/add-initial-liquidity.js

This file was deleted.

4 changes: 0 additions & 4 deletions packages/inter-protocol/scripts/init-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ const installKeyGroups = {
],
},
main: {
interchainPool: [
'../src/interchainPool.js',
'../bundles/bundle-interchainPool.js',
],
vaultFactory: [
'../src/vaultFactory/vaultFactory.js',
'../bundles/bundle-vaultFactory.js',
Expand Down
86 changes: 0 additions & 86 deletions packages/inter-protocol/src/interchainPool.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/inter-protocol/src/proposals/core-proposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ export const getManifestForMain = (
VaultFactory: restoreRef(installKeys.vaultFactory),
feeDistributor: restoreRef(installKeys.feeDistributor),
reserve: restoreRef(installKeys.reserve),
interchainPool: restoreRef(installKeys.interchainPool),
},
options: {
vaultFactoryControllerAddress,
Expand Down
Loading

0 comments on commit 8523532

Please sign in to comment.