Skip to content

Instantly share code, notes, and snippets.


Oscar Balcells Obeso obalcells

View GitHub Profile
obalcells / acta.sol
Created Oct 31, 2019
Smart Contract sample for display
View acta.sol
contract Acta {
mapping (uint => mapping (address => bool)) public votes;
mapping (address => bool) public isMember;
mapping (address => Member) public members;
mapping (bytes32 => address) public nameToAddress;
mapping (uint => Proposal) public proposals;
uint public nRequiredVotes = 1;
uint public nProposals = 0;
uint public nMembers = 0;