pport--Decentralized-Autonomous-Organization--DAO
所属分类:NFT
开发工具:Solidity
文件大小:191KB
下载次数:0
上传日期:2022-07-31 07:39:06
上 传 者:
sh-1993
说明: 支持——去中心化自治组织——DAO,,
(Support--Decentralized-Autonomous-Organization--DAO,,)
文件列表:
4.5.0 (340, 2022-07-31)
contracts (0, 2022-07-31)
contracts\CryptoDevDAO.sol (7393, 2022-07-31)
contracts\FakeNFTMarketplace.sol (1215, 2022-07-31)
hardhat.config.js (369, 2022-07-31)
package-lock.json (667351, 2022-07-31)
package.json (1181, 2022-07-31)
scripts (0, 2022-07-31)
scripts\constant.js (194, 2022-07-31)
scripts\deploy.js (1085, 2022-07-31)
test (0, 2022-07-31)
test\Lock.js (4311, 2022-07-31)
# Requirements
1.Anyone with a CryptoDevs NFT can create a proposal to purchase a different NFT from an NFT marketplace.
2.Everyone with a CryptoDevs NFT can vote for or against the active proposals.
3.Each NFT counts as one vote for each proposal.
4.Voter cannot vote multiple times on the same proposal with the same NFT.
5.If majority of the voters vote for the proposal by the deadline, the NFT purchase is automatically executed.
# Sample Hardhat Project
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.
Try running some of the following tasks:
```shell
npx hardhat help
npx hardhat test
GAS_REPORT=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
```
近期下载者:
相关文件:
收藏者: