tornado-core/contracts/Mocks/IUSDT.sol

23 lines
811 B
Solidity
Raw Normal View History

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