2019-11-02 04:12:11 -04:00
|
|
|
pragma solidity ^0.5.8;
|
|
|
|
|
2019-08-30 06:06:17 -04:00
|
|
|
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);
|
|
|
|
}
|