Skip to content

Instantly share code, notes, and snippets.

View SnowAngelDevs's full-sized avatar

SnowAngelDevs

View GitHub Profile
@SnowAngelDevs
SnowAngelDevs / ballot.sol
Created June 17, 2018 11:02
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.18;
contract ERC20 {
function transfer(address _recipient, uint256 _value) public returns (bool success);
}
contract Airdrop {
function drop(ERC20 token, address[] recipients, uint256[] values) public {
for (uint256 i = 0; i < recipients.length; i++) {