Skip to content

Instantly share code, notes, and snippets.

/ 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
*/
// 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;