tornado-anonymity-mining/contracts/interfaces/ITornadoInstance.sol
2020-12-15 18:08:37 +03:00

18 lines
357 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
interface ITornadoInstance {
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;
}