2021-02-11 06:37:18 +01:00
|
|
|
// SPDX-License-Identifier: MIT
|
2019-11-02 09:12:11 +01:00
|
|
|
|
2021-03-11 21:05:59 +01:00
|
|
|
pragma solidity ^0.7.0;
|
2021-02-11 06:37:18 +01:00
|
|
|
|
|
|
|
interface ERC20Basic {
|
2021-02-11 07:23:18 +01:00
|
|
|
function _totalSupply() external returns (uint256);
|
|
|
|
|
|
|
|
function totalSupply() external view returns (uint256);
|
|
|
|
|
|
|
|
function balanceOf(address who) external view returns (uint256);
|
|
|
|
|
|
|
|
function transfer(address to, uint256 value) external;
|
|
|
|
|
|
|
|
event Transfer(address indexed from, address indexed to, uint256 value);
|
2019-08-30 12:06:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @title ERC20 interface
|
|
|
|
* @dev see https://github.com/ethereum/EIPs/issues/20
|
|
|
|
*/
|
2021-02-11 06:37:18 +01:00
|
|
|
interface IUSDT is ERC20Basic {
|
2021-02-11 07:23:18 +01:00
|
|
|
function allowance(address owner, address spender) external view returns (uint256);
|
|
|
|
|
|
|
|
function transferFrom(
|
|
|
|
address from,
|
|
|
|
address to,
|
|
|
|
uint256 value
|
|
|
|
) external;
|
|
|
|
|
|
|
|
function approve(address spender, uint256 value) external;
|
|
|
|
|
|
|
|
event Approval(address indexed owner, address indexed spender, uint256 value);
|
2019-08-30 12:06:17 +02:00
|
|
|
}
|