IUSDT.sol 844 B

12345678910111213141516171819202122232425262728293031323334
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.7.0;
  3. interface ERC20Basic {
  4. function _totalSupply() external returns (uint256);
  5. function totalSupply() external view returns (uint256);
  6. function balanceOf(address who) external view returns (uint256);
  7. function transfer(address to, uint256 value) external;
  8. event Transfer(address indexed from, address indexed to, uint256 value);
  9. }
  10. /**
  11. * @title ERC20 interface
  12. * @dev see https://github.com/ethereum/EIPs/issues/20
  13. */
  14. interface IUSDT is ERC20Basic {
  15. function allowance(address owner, address spender) external view returns (uint256);
  16. function transferFrom(
  17. address from,
  18. address to,
  19. uint256 value
  20. ) external;
  21. function approve(address spender, uint256 value) external;
  22. event Approval(address indexed owner, address indexed spender, uint256 value);
  23. }