mirror of
https://github.com/tornadocash/tornado-anonymity-mining.git
synced 2025-01-15 15:28:39 +01:00
22 lines
470 B
Solidity
22 lines
470 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.6.0;
|
|
|
|
interface ITornadoInstance {
|
|
function token() external view returns (address);
|
|
|
|
function denomination() external view returns (uint256);
|
|
|
|
function deposit(bytes32 commitment) external payable;
|
|
|
|
function withdraw(
|
|
bytes calldata proof,
|
|
bytes32 root,
|
|
bytes32 nullifierHash,
|
|
address payable recipient,
|
|
address payable relayer,
|
|
uint256 fee,
|
|
uint256 refund
|
|
) external payable;
|
|
}
|