|
@@ -0,0 +1,17 @@
|
|
|
+pragma solidity ^0.4.23;
|
|
|
+
|
|
|
+// ----------------------------------------------------------------------------
|
|
|
+// ERC Token Standard #20 Interface
|
|
|
+// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md
|
|
|
+// ----------------------------------------------------------------------------
|
|
|
+contract ERC20 {
|
|
|
+ function totalSupply() public view returns (uint);
|
|
|
+ function balanceOf(address tokenOwner) public view returns (uint balance);
|
|
|
+ function allowance(address tokenOwner, address spender) public view returns (uint remaining);
|
|
|
+ function transfer(address to, uint tokens) public returns (bool success);
|
|
|
+ function approve(address spender, uint tokens) public returns (bool success);
|
|
|
+ function transferFrom(address from, address to, uint tokens) public returns (bool success);
|
|
|
+
|
|
|
+ event Transfer(address indexed from, address indexed to, uint tokens);
|
|
|
+ event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
|
|
|
+}
|