Skip to content

Commit

Permalink
remove SnapshotGovernanceModule
Browse files Browse the repository at this point in the history
  • Loading branch information
ncitron committed Jun 24, 2021
1 parent 244d1da commit a8794b2
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 189 deletions.

This file was deleted.

8 changes: 0 additions & 8 deletions external/abi/snapshot/DelegateRegistry.json

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions utils/contracts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export { CustomSetValuerMock } from "../../typechain/CustomSetValuerMock";
export { DebtIssuanceMock } from "../../typechain/DebtIssuanceMock";
export { DebtIssuanceModule } from "../../typechain/DebtIssuanceModule";
export { DebtModuleMock } from "../../typechain/DebtModuleMock";
export { DelegateRegistry } from "../../typechain/DelegateRegistry";
export { ExplicitERC20Mock } from "../../typechain/ExplicitERC20Mock";
export { ForceFunderMock } from "../../typechain/ForceFunderMock";
export { GaugeControllerMock } from "../../typechain/GaugeControllerMock";
Expand Down Expand Up @@ -68,7 +67,6 @@ export { SetToken } from "../../typechain/SetToken";
export { SetTokenCreator } from "../../typechain/SetTokenCreator";
export { SetValuer } from "../../typechain/SetValuer";
export { SingleIndexModule } from "../../typechain/SingleIndexModule";
export { SnapshotGovernanceAdapter } from "../../typechain/SnapshotGovernanceAdapter";
export { StakingAdapterMock } from "../../typechain/StakingAdapterMock";
export { StakingModule } from "../../typechain/StakingModule";
export { StakingRewards } from "../../typechain/StakingRewards";
Expand Down
6 changes: 0 additions & 6 deletions utils/deploys/deployAdapters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
UniswapV2IndexExchangeAdapter,
UniswapV2TransferFeeExchangeAdapter,
ZeroExApiAdapter,
SnapshotGovernanceAdapter,
SynthetixExchangeAdapter,
CompoundBravoGovernanceAdapter,
CompClaimAdapter,
Expand All @@ -43,7 +42,6 @@ import { YearnWrapAdapter__factory } from "../../typechain/factories/YearnWrapAd
import { UniswapPairPriceAdapter__factory } from "../../typechain/factories/UniswapPairPriceAdapter__factory";
import { UniswapV2TransferFeeExchangeAdapter__factory } from "../../typechain/factories/UniswapV2TransferFeeExchangeAdapter__factory";
import { UniswapV2IndexExchangeAdapter__factory } from "../../typechain/factories/UniswapV2IndexExchangeAdapter__factory";
import { SnapshotGovernanceAdapter__factory } from "../../typechain/factories/SnapshotGovernanceAdapter__factory";
import { SynthetixExchangeAdapter__factory } from "../../typechain/factories/SynthetixExchangeAdapter__factory";
import { CompoundBravoGovernanceAdapter__factory } from "../../typechain/factories/CompoundBravoGovernanceAdapter__factory";
import { CompClaimAdapter__factory } from "../../typechain";
Expand Down Expand Up @@ -165,10 +163,6 @@ export default class DeployAdapters {
return await new ZeroExApiAdapter__factory(this._deployerSigner).deploy(zeroExAddress, wethAddress);
}

public async deploySnapshotGovernanceAdapter(delegateRegistry: Address): Promise<SnapshotGovernanceAdapter> {
return await new SnapshotGovernanceAdapter__factory(this._deployerSigner).deploy(delegateRegistry);
}

public async deploySynthetixExchangeAdapter(
synthetixExchangerAddress: Address,
): Promise<SynthetixExchangeAdapter> {
Expand Down
7 changes: 0 additions & 7 deletions utils/deploys/deployExternal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
} from "./../contracts/compound";
import {
WETH9,
DelegateRegistry
} from "./../contracts";

import { Address } from "./../types";
Expand Down Expand Up @@ -122,8 +121,6 @@ import { BFactory__factory } from "../../typechain/factories/BFactory__factory";
import { BRegistry__factory } from "../../typechain/factories/BRegistry__factory";
import { ExchangeProxy__factory } from "../../typechain/factories/ExchangeProxy__factory";

import { DelegateRegistry__factory } from "../../typechain/factories/DelegateRegistry__factory";


import {
Vault,
Expand Down Expand Up @@ -551,10 +548,6 @@ export default class DeployExternalContracts {
return await new BRegistry__factory(this._deployerSigner).deploy(factory);
}

public async deployDelegateRegistry(): Promise<DelegateRegistry> {
return await new DelegateRegistry__factory(this._deployerSigner).deploy();
}

// YEARN
public async deployVault(): Promise<Vault> {
return await new Vault__factory(this._deployerSigner).deploy();
Expand Down

0 comments on commit a8794b2

Please sign in to comment.