mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-08-08 06:42:15 -04:00
test with real DAI and USDT
This commit is contained in:
parent
5006006a20
commit
b8c0c1898f
5 changed files with 242 additions and 10 deletions
18
contracts/Mocks/IUSDT.sol
Normal file
18
contracts/Mocks/IUSDT.sol
Normal file
|
@ -0,0 +1,18 @@
|
|||
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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue