Skip to content

Instantly share code, notes, and snippets.

@0xorial
0xorial / ballot.sol
Created February 12, 2018 20:10 — forked from anonymous/ballot.sol
Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version=soljson-v0.4.19+commit.c4cbbb05.js&optimize=false&gist=
pragma solidity ^0.4.0;
contract Vaults {
struct Deposit {
bool isCreated;
uint amount;
uint takenInterest;
uint depositBlock;
uint releaseRequestBlock;
address releaseTo;