mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-01-08 03:37:51 -05:00
tidy
This commit is contained in:
parent
ee2772328c
commit
59cdc0d686
@ -33,7 +33,6 @@ template Withdraw(levels, rounds) {
|
|||||||
signal input receiver; // not taking part in any computations
|
signal input receiver; // not taking part in any computations
|
||||||
signal input relayer; // not taking part in any computations
|
signal input relayer; // not taking part in any computations
|
||||||
signal input fee; // not taking part in any computations
|
signal input fee; // not taking part in any computations
|
||||||
|
|
||||||
signal private input nullifier;
|
signal private input nullifier;
|
||||||
signal private input secret;
|
signal private input secret;
|
||||||
signal private input pathElements[levels];
|
signal private input pathElements[levels];
|
||||||
|
@ -12,10 +12,8 @@
|
|||||||
pragma solidity ^0.5.8;
|
pragma solidity ^0.5.8;
|
||||||
|
|
||||||
import "./Mixer.sol";
|
import "./Mixer.sol";
|
||||||
import "@openzeppelin/contracts-ethereum-package/contracts/GSN/GSNRecipient.sol";
|
|
||||||
import "@openzeppelin/contracts-ethereum-package/contracts/GSN/IRelayHub.sol";
|
|
||||||
|
|
||||||
contract ETHMixer is Mixer, GSNRecipient {
|
contract ETHMixer is Mixer {
|
||||||
constructor(
|
constructor(
|
||||||
address _verifier,
|
address _verifier,
|
||||||
uint256 _mixDenomination,
|
uint256 _mixDenomination,
|
||||||
|
@ -29,7 +29,7 @@ contract Mixer is MerkleTreeWithHistory {
|
|||||||
uint256 public mixDenomination;
|
uint256 public mixDenomination;
|
||||||
|
|
||||||
event Deposit(uint256 indexed commitment, uint256 leafIndex, uint256 timestamp);
|
event Deposit(uint256 indexed commitment, uint256 leafIndex, uint256 timestamp);
|
||||||
event Withdraw(address to, uint256 nullifierHash, address indexed relayer, uint fee);
|
event Withdraw(address to, uint256 nullifierHash, address indexed relayer, uint256 fee);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@dev The constructor
|
@dev The constructor
|
||||||
|
Loading…
Reference in New Issue
Block a user