mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-22 17:50:19 +01:00
21 lines
742 B
Solidity
21 lines
742 B
Solidity
pragma solidity ^0.5.8;
|
|
|
|
contract ERC20Basic {
|
|
uint public _totalSupply;
|
|
function totalSupply() public view returns (uint);
|
|
function balanceOf(address who) public view returns (uint);
|
|
function transfer(address to, uint value) public;
|
|
event Transfer(address indexed from, address indexed to, uint value);
|
|
}
|
|
|
|
/**
|
|
* @title ERC20 interface
|
|
* @dev see https://github.com/ethereum/EIPs/issues/20
|
|
*/
|
|
contract IUSDT is ERC20Basic {
|
|
function allowance(address owner, address spender) public view returns (uint);
|
|
function transferFrom(address from, address to, uint value) public;
|
|
function approve(address spender, uint value) public;
|
|
event Approval(address indexed owner, address indexed spender, uint value);
|
|
}
|