Skip to content

Instantly share code, notes, and snippets.

View Ultra-Tech-code's full-sized avatar
:octocat:

Adewale IyanuOluwa Isaac Ultra-Tech-code

:octocat:
View GitHub Profile
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.8.0;
pragma experimental ABIEncoderV2;
contract Wallet {
address[] public approvers;
uint8 public quorum;
struct Transfer {
@Ultra-Tech-code
Ultra-Tech-code / voting.sol
Created October 2, 2022 12:45
myVotingContract
//SPDX-License-Identifier:MIT
pragma solidity ^0.8.9;
contract voting{
//@author: BlackAdam
//This code allows a single poll to be created with 3 options (bad, average, good)
//@dev: the options can be inreased and cutomize
//note: the contracts needs to be redployed for another poll(else, you will mess up the initial poll)