Skip to content

Instantly share code, notes, and snippets.

@AugustoL
Created July 11, 2017 13:09
Show Gist options
  • Save AugustoL/16371dc8b84838f8473cc7ebf3557ce7 to your computer and use it in GitHub Desktop.
Save AugustoL/16371dc8b84838f8473cc7ebf3557ce7 to your computer and use it in GitHub Desktop.
Lif Token Interface
pragma solidity ^0.4.11;
import 'zeppelin-solidity/contracts/token/ERC20.sol';
/**
* @title Lif token interface
*/
contract LifInterface is ERC20 {
uint public maxSupply;
function approveData(address spender, uint value, bytes data, bool doCall);
function transferData(address to, uint value, bytes data, bool doCall);
function transferDataFrom(address from, address to, uint value, bytes data, bool doCall);
event TransferData(address indexed from, address indexed to, uint256 value, bytes data);
event ApprovalData(address indexed from, address indexed spender, uint256 value, bytes data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment