Skip to content

Instantly share code, notes, and snippets.

@ac12644
Created January 25, 2022 18:11
Show Gist options
  • Save ac12644/1db29cbe4758aef92d10a2e719861850 to your computer and use it in GitHub Desktop.
Save ac12644/1db29cbe4758aef92d10a2e719861850 to your computer and use it in GitHub Desktop.
contract ERC20 {
function totalSupply() constant returns (uint theTotalSupply);
function balanceOf(address _owner) constant returns (uint balance);
function transfer(address _to, uint _value) returns (bool success);
function transferFrom(address _from, address _to, uint _value) returns
(bool success);
function approve(address _spender, uint _value) returns (bool success);
function allowance(address _owner, address _spender) constant returns
(uint remaining);
event Transfer(address indexed _from, address indexed _to, uint _value);
event Approval(address indexed _owner, address indexed _spender, uint _value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment