August 2018
Intermediate to advanced
404 pages
11h 19m
English
interface InterfaceContract { // ...}
interface ERC20 { function transfer( address target, uint amount) public; function transferFrom( address source, address target, uint amount) public; ...}
Interfaces cannot inherit other contracts or interfaces, but can be inherited by other contracts:
interface ERC20 { function transfer(address target, uint amount) public;}contract Token is ERC20 { function transfer(address target, uint amount) public { //... }}