Skip to content

Instantly share code, notes, and snippets.

View KimyoonJIn's full-sized avatar
😀

Kim YoonJin KimyoonJIn

😀
View GitHub Profile
@KimyoonJIn
KimyoonJIn / ballot.sol
Created July 5, 2018 09:25
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.0;
contract Ballot {
struct Voter {
uint weight;
bool voted;
uint8 vote;
address delegate;
}
struct Proposal {
🌞 Morning 60 commits ██▏░░░░░░░░░░░░░░░░░░ 10.2%
🌆 Daytime 213 commits ███████▌░░░░░░░░░░░░░ 36.2%
🌃 Evening 266 commits █████████▍░░░░░░░░░░░ 45.2%
🌙 Night 50 commits █▊░░░░░░░░░░░░░░░░░░░ 8.5%
⭐ Total Stars: 1
➕ Total Commits: 1.6k
🔀 Total PRs: 551
🚩 Total Issues: 18
📦 Contributed to: 10