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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
contract chesVote{ | |
// Struct to represent a proposal in the DAO | |
struct Proposal { | |
string description; | |
uint256 voteCount; | |
uint256 yesVotes; |
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
/ SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.5.9; | |
import "@0x/contracts-erc20/contracts/src/ERC20Token.sol"; | |
/** | |
* @title SampleERC20 | |
* @dev Create a sample ERC20 standard token | |
*/ |