Skip to content

Instantly share code, notes, and snippets.

View brett-stefanishin's full-sized avatar
🎯
Focusing

Brett Stefanishin brett-stefanishin

🎯
Focusing
  • Donut Factory
  • Canada
View GitHub Profile
anonymous
anonymous / ERC20.sol
Created January 12, 2018 05:05
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.10;
interface ERC20 {
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
function allowance(address owner, address spender) public view returns (uint256);
function transferFrom(address from, address to, uint256 value) public returns (bool);
function approve(address spender, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);