Skip to content

Commit

Permalink
remove all nft governance
Browse files Browse the repository at this point in the history
  • Loading branch information
nginnever committed Jul 31, 2021
1 parent 450b9bc commit b14eb07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 291 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@
- Update Voting Threshold
- Update Minimum Proposal Amount
- Update Roles
- Start Zora Auction
- Anything the EVM can do
```
273 changes: 0 additions & 273 deletions test/NFTDAOTest.ts

This file was deleted.

2 changes: 2 additions & 0 deletions test/governanceModuleTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ describe('DAOGov:', () => {
daoFixture = await getFixtureWithParams(wallet, true)
})

// can use the safe and a cancel proposal role

it('house dao is initialized', async () => {
const { DAOGov, govToken, weth } = daoFixture
expect(await DAOGov.initialized()).to.equal(true)
Expand Down
18 changes: 0 additions & 18 deletions test/shared/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import ZoraAuction from "../../node_modules/@zoralabs/auction-house/dist/artifac
export interface DAOFixture {
weth: Contract,
DAOGov: Contract,
//houseDAONFT: Contract,
multiNFT: Contract,
govToken: Contract,
safe: Contract,
Expand Down Expand Up @@ -41,22 +40,6 @@ export async function getFixtureWithParams(
await multiNFT.mintEdition(['https://gateway.ipfs.io/ipfs/QmZuwWhEGkUKZgC2GzNrfCRKcrKbxYxskjSnTgpMQY9Dy2/metadata/'], 1, wallet.address, {gasLimit:12450000})
await multiNFT.mintEdition(['https://gateway.ipfs.io/ipfs/QmZuwWhEGkUKZgC2GzNrfCRKcrKbxYxskjSnTgpMQY9Dy2/metadata/'], 1, wallet.address, {gasLimit:12450000})

// const NFTGovernanceContract = await ethers.getContractFactory("NFTGovernance")
// const NFTGovernance = await NFTGovernanceContract.deploy(
// [wallet.address], // head of house
// multiNFT.address, // gov token addres
// ethers.BigNumber.from(1), // number of days proposals are active
// ethers.BigNumber.from(5), // number of votes wieghted to pass
// ethers.BigNumber.from(1), // min proposal gov token amt
// weth.address,
// ethers.utils.parseEther('0.5'), // price of gov token
// )
// console.log('NFTDAO Deploy Cost ' + NFTGovernance.deployTransaction.gasLimit.toString())
// console.log('deployed NFT DAO: ', NFTGovernance.address)
// await multiNFT.setDAOAddress(NFTGovernance.address)
// console.log('house nft dao is initialized')


const GnosisSafeL2 = await hre.ethers.getContractFactory("@gnosis.pm/safe-contracts/contracts/GnosisSafeL2.sol:GnosisSafeL2")
const FactoryContract = await hre.ethers.getContractFactory("GnosisSafeProxyFactory")
const singleton = await GnosisSafeL2.deploy()
Expand Down Expand Up @@ -85,7 +68,6 @@ export async function getFixtureWithParams(
return {
weth,
DAOGov,
//NFTGovernance,
multiNFT,
govToken,
safe,
Expand Down

0 comments on commit b14eb07

Please sign in to comment.