Skip to content

Instantly share code, notes, and snippets.

@Mrtenz
Created May 4, 2019 10:44
Show Gist options
  • Save Mrtenz/5aa4199d66301f5cb63a6f855331e38d to your computer and use it in GitHub Desktop.
Save Mrtenz/5aa4199d66301f5cb63a6f855331e38d to your computer and use it in GitHub Desktop.
pragma solidity ^0.5.7;
interface ERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view returns (uint256);
function transferFrom(address from, address to, uint256 value) external returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment