mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-07-31 19:08:44 -04:00
mixer deploy WIP
This commit is contained in:
parent
19f916e6fd
commit
fb3f2425d2
10 changed files with 2143 additions and 40 deletions
|
@ -19,7 +19,12 @@ contract Mixer is MerkleTreeWithHistory {
|
|||
@param _verifier the address of SNARK verifier for this contract
|
||||
@param _transferValue the value for all deposits in this contract in wei
|
||||
*/
|
||||
constructor(address _verifier, uint256 _transferValue) MerkleTreeWithHistory(16, 0) public {
|
||||
constructor(
|
||||
address _verifier,
|
||||
uint256 _transferValue,
|
||||
uint8 _merkleTreeHeight,
|
||||
uint256 _emptyElement
|
||||
) MerkleTreeWithHistory(_merkleTreeHeight, _emptyElement) public {
|
||||
verifier = IVerifier(_verifier);
|
||||
transferValue = _transferValue;
|
||||
}
|
||||
|
|
1
contracts/Verifier.sol
Symbolic link
1
contracts/Verifier.sol
Symbolic link
|
@ -0,0 +1 @@
|
|||
../build/circuits/Verifier.sol
|
Loading…
Add table
Add a link
Reference in a new issue