Skip to content

Instantly share code, notes, and snippets.

View uneeb123's full-sized avatar

Uneeb Agha uneeb123

View GitHub Profile
contract SimpleYesNoVotingContract {
event voteStarted();
event voted(address voter);
event voteEnded(uint yesVotes, uint noVotes)
address public officialAddress;
enum State { Created, Voting, Ended }
State public state;
/**
*Submitted for verification at Etherscan.io on 2019-08-13
*/
pragma solidity ^0.5.10;
pragma experimental ABIEncoderV2;
/**
* @title The Open Oracle View Base Contract
* @author Compound Labs, Inc.
*/

Keybase proof

I hereby claim:

  • I am uneeb123 on github.
  • I am uneebagha (https://keybase.io/uneebagha) on keybase.
  • I have a public key ASDd5G5Y1u4p9i-3zrRCGjPDQKw9ZFt_gPXqynjHzjBf2go

To claim this, I am signing this object:

import math
import numpy as np
import random
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
from matplotlib.ticker import LinearLocator, FormatStrFormatter
"""