ETH Price: $1,972.72 (+0.21%)
 

Overview

ETH Balance

3,432 ETH

Eth Value

$6,770,363.13 (@ $1,972.72/ETH)

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit210278932024-10-23 11:09:11486 days ago1729681751IN
Tornado.Cash: 1 ETH
1 ETH0.005465926
Deposit151339202022-07-13 11:06:441319 days ago1657710404IN
Tornado.Cash: 1 ETH
1 ETH0.0185838821
Deposit138599942021-12-23 7:10:101522 days ago1640243410IN
Tornado.Cash: 1 ETH
1 ETH0.0425716147
Deposit134547662021-10-20 13:04:221585 days ago1634735062IN
Tornado.Cash: 1 ETH
1 ETH0.0453924450.69725595
Deposit131285492021-08-30 18:39:461636 days ago1630348786IN
Tornado.Cash: 1 ETH
1 ETH0.12207225134
Deposit131187902021-08-29 6:30:261638 days ago1630218626IN
Tornado.Cash: 1 ETH
1 ETH0.0592141565
Deposit131187892021-08-29 6:30:201638 days ago1630218620IN
Tornado.Cash: 1 ETH
1 ETH0.0588756365
Deposit130807422021-08-23 9:29:581643 days ago1629710998IN
Tornado.Cash: 1 ETH
1 ETH0.0448360649.5
Deposit129580792021-08-04 10:25:271662 days ago1628072727IN
Tornado.Cash: 1 ETH
1 ETH0.0230350725
Deposit129578892021-08-04 9:42:001662 days ago1628070120IN
Tornado.Cash: 1 ETH
1 ETH0.0270167730
Deposit129434272021-08-02 2:51:121665 days ago1627872672IN
Tornado.Cash: 1 ETH
1 ETH0.022525
Deposit128022132021-07-10 22:09:361687 days ago1625954976IN
Tornado.Cash: 1 ETH
1 ETH0.0161165318
Deposit118400762021-02-12 6:06:311836 days ago1613109991IN
Tornado.Cash: 1 ETH
1 ETH0.0918318494.4
Deposit117944742021-02-05 5:51:331843 days ago1612504293IN
Tornado.Cash: 1 ETH
1 ETH0.16537515170
Deposit114882492020-12-20 5:14:531890 days ago1608441293IN
Tornado.Cash: 1 ETH
1 ETH0.0196719320.1
Deposit114804242020-12-19 0:25:591891 days ago1608337559IN
Tornado.Cash: 1 ETH
1 ETH0.0396423641
Deposit114804112020-12-19 0:22:271891 days ago1608337347IN
Tornado.Cash: 1 ETH
1 ETH0.0386754840
Deposit114803412020-12-19 0:07:211891 days ago1608336441IN
Tornado.Cash: 1 ETH
1 ETH0.0350206236
Deposit114802762020-12-18 23:52:131891 days ago1608335533IN
Tornado.Cash: 1 ETH
1 ETH0.035233336
Deposit114802752020-12-18 23:52:061891 days ago1608335526IN
Tornado.Cash: 1 ETH
1 ETH0.022238423
Deposit114802712020-12-18 23:51:081891 days ago1608335468IN
Tornado.Cash: 1 ETH
1 ETH0.0350206236
Deposit114801522020-12-18 23:25:021891 days ago1608333902IN
Tornado.Cash: 1 ETH
1 ETH0.0330750334
Deposit114800132020-12-18 22:57:091891 days ago1608332229IN
Tornado.Cash: 1 ETH
1 ETH0.0440416345
Deposit114800102020-12-18 22:56:281891 days ago1608332188IN
Tornado.Cash: 1 ETH
1 ETH0.0437757745
Deposit114800092020-12-18 22:56:131891 days ago1608332173IN
Tornado.Cash: 1 ETH
1 ETH0.0440416345
VIEW ADVANCED FILTER
Amount:Between 1-1M
Reset Filter

Showing the last 25 internal transactions (View Advanced Filter)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Deposit245081532026-02-21 22:13:3510 hrs ago1771712015
Tornado.Cash: 1 ETH
1 ETH
Deposit245081512026-02-21 22:13:1110 hrs ago1771711991
Tornado.Cash: 1 ETH
1 ETH
Deposit245081482026-02-21 22:12:3510 hrs ago1771711955
Tornado.Cash: 1 ETH
1 ETH
Deposit245081462026-02-21 22:12:1110 hrs ago1771711931
Tornado.Cash: 1 ETH
1 ETH
Deposit245054872026-02-21 13:17:5919 hrs ago1771679879
Tornado.Cash: 1 ETH
1 ETH
Deposit245051022026-02-21 12:00:4720 hrs ago1771675247
Tornado.Cash: 1 ETH
1 ETH
Deposit245050782026-02-21 11:55:5920 hrs ago1771674959
Tornado.Cash: 1 ETH
1 ETH
Deposit245049462026-02-21 11:29:2321 hrs ago1771673363
Tornado.Cash: 1 ETH
1 ETH
Deposit245049432026-02-21 11:28:4721 hrs ago1771673327
Tornado.Cash: 1 ETH
1 ETH
Deposit245049392026-02-21 11:27:5921 hrs ago1771673279
Tornado.Cash: 1 ETH
1 ETH
Deposit245049352026-02-21 11:27:1121 hrs ago1771673231
Tornado.Cash: 1 ETH
1 ETH
Deposit245049312026-02-21 11:26:2321 hrs ago1771673183
Tornado.Cash: 1 ETH
1 ETH
Deposit245047672026-02-21 10:53:3521 hrs ago1771671215
Tornado.Cash: 1 ETH
1 ETH
Deposit245041962026-02-21 8:58:4723 hrs ago1771664327
Tornado.Cash: 1 ETH
1 ETH
Deposit245041922026-02-21 8:57:5923 hrs ago1771664279
Tornado.Cash: 1 ETH
1 ETH
Deposit245041892026-02-21 8:57:2323 hrs ago1771664243
Tornado.Cash: 1 ETH
1 ETH
Deposit245041832026-02-21 8:56:1123 hrs ago1771664171
Tornado.Cash: 1 ETH
1 ETH
Deposit245041802026-02-21 8:55:3523 hrs ago1771664135
Tornado.Cash: 1 ETH
1 ETH
Deposit245041762026-02-21 8:54:4723 hrs ago1771664087
Tornado.Cash: 1 ETH
1 ETH
Deposit245041722026-02-21 8:53:4723 hrs ago1771664027
Tornado.Cash: 1 ETH
1 ETH
Deposit245041692026-02-21 8:53:1123 hrs ago1771663991
Tornado.Cash: 1 ETH
1 ETH
Deposit245041632026-02-21 8:51:5923 hrs ago1771663919
Tornado.Cash: 1 ETH
1 ETH
Deposit245041612026-02-21 8:51:3523 hrs ago1771663895
Tornado.Cash: 1 ETH
1 ETH
Deposit245041512026-02-21 8:49:3523 hrs ago1771663775
Tornado.Cash: 1 ETH
1 ETH
Deposit245041432026-02-21 8:47:5923 hrs ago1771663679
Tornado.Cash: 1 ETH
1 ETH
VIEW ADVANCED FILTER
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TornadoCash_eth

Compiler Version
v0.5.11+commit.c082d0b4

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2019-12-16
*/

// File: contracts/MerkleTreeWithHistory.sol

// https://tornado.cash
/*
* d888888P                                           dP              a88888b.                   dP
*    88                                              88             d8'   `88                   88
*    88    .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b.    88        .d8888b. .d8888b. 88d888b.
*    88    88'  `88 88'  `88 88'  `88 88'  `88 88'  `88 88'  `88    88        88'  `88 Y8ooooo. 88'  `88
*    88    88.  .88 88       88    88 88.  .88 88.  .88 88.  .88 dP Y8.   .88 88.  .88       88 88    88
*    dP    `88888P' dP       dP    dP `88888P8 `88888P8 `88888P' 88  Y88888P' `88888P8 `88888P' dP    dP
* ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
*/

pragma solidity ^0.5.8;

library Hasher {
  function MiMCSponge(uint256 in_xL, uint256 in_xR) public pure returns (uint256 xL, uint256 xR);
}

contract MerkleTreeWithHistory {
  uint256 public constant FIELD_SIZE = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
  uint256 public constant ZERO_VALUE = 21663839004416932945382355908790599225266501822907911457504978515578255421292; // = keccak256("tornado") % FIELD_SIZE

  uint32 public levels;

  // the following variables are made public for easier testing and debugging and
  // are not supposed to be accessed in regular code
  bytes32[] public filledSubtrees;
  bytes32[] public zeros;
  uint32 public currentRootIndex = 0;
  uint32 public nextIndex = 0;
  uint32 public constant ROOT_HISTORY_SIZE = 100;
  bytes32[ROOT_HISTORY_SIZE] public roots;

  constructor(uint32 _treeLevels) public {
    require(_treeLevels > 0, "_treeLevels should be greater than zero");
    require(_treeLevels < 32, "_treeLevels should be less than 32");
    levels = _treeLevels;

    bytes32 currentZero = bytes32(ZERO_VALUE);
    zeros.push(currentZero);
    filledSubtrees.push(currentZero);

    for (uint32 i = 1; i < levels; i++) {
      currentZero = hashLeftRight(currentZero, currentZero);
      zeros.push(currentZero);
      filledSubtrees.push(currentZero);
    }

    roots[0] = hashLeftRight(currentZero, currentZero);
  }

  /**
    @dev Hash 2 tree leaves, returns MiMC(_left, _right)
  */
  function hashLeftRight(bytes32 _left, bytes32 _right) public pure returns (bytes32) {
    require(uint256(_left) < FIELD_SIZE, "_left should be inside the field");
    require(uint256(_right) < FIELD_SIZE, "_right should be inside the field");
    uint256 R = uint256(_left);
    uint256 C = 0;
    (R, C) = Hasher.MiMCSponge(R, C);
    R = addmod(R, uint256(_right), FIELD_SIZE);
    (R, C) = Hasher.MiMCSponge(R, C);
    return bytes32(R);
  }

  function _insert(bytes32 _leaf) internal returns(uint32 index) {
    uint32 currentIndex = nextIndex;
    require(currentIndex != uint32(2)**levels, "Merkle tree is full. No more leafs can be added");
    nextIndex += 1;
    bytes32 currentLevelHash = _leaf;
    bytes32 left;
    bytes32 right;

    for (uint32 i = 0; i < levels; i++) {
      if (currentIndex % 2 == 0) {
        left = currentLevelHash;
        right = zeros[i];

        filledSubtrees[i] = currentLevelHash;
      } else {
        left = filledSubtrees[i];
        right = currentLevelHash;
      }

      currentLevelHash = hashLeftRight(left, right);

      currentIndex /= 2;
    }

    currentRootIndex = (currentRootIndex + 1) % ROOT_HISTORY_SIZE;
    roots[currentRootIndex] = currentLevelHash;
    return nextIndex - 1;
  }

  /**
    @dev Whether the root is present in the root history
  */
  function isKnownRoot(bytes32 _root) public view returns(bool) {
    if (_root == 0) {
      return false;
    }
    uint32 i = currentRootIndex;
    do {
      if (_root == roots[i]) {
        return true;
      }
      if (i == 0) {
        i = ROOT_HISTORY_SIZE;
      }
      i--;
    } while (i != currentRootIndex);
    return false;
  }

  /**
    @dev Returns the last root
  */
  function getLastRoot() public view returns(bytes32) {
    return roots[currentRootIndex];
  }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 */
contract ReentrancyGuard {
    // counter to allow mutex lock with only one SSTORE operation
    uint256 private _guardCounter;

    constructor () internal {
        // The counter starts at one to prevent changing it from zero to a non-zero
        // value, which is a more expensive operation.
        _guardCounter = 1;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _guardCounter += 1;
        uint256 localCounter = _guardCounter;
        _;
        require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call");
    }
}

// File: contracts/Tornado.sol

// https://tornado.cash
/*
* d888888P                                           dP              a88888b.                   dP
*    88                                              88             d8'   `88                   88
*    88    .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b.    88        .d8888b. .d8888b. 88d888b.
*    88    88'  `88 88'  `88 88'  `88 88'  `88 88'  `88 88'  `88    88        88'  `88 Y8ooooo. 88'  `88
*    88    88.  .88 88       88    88 88.  .88 88.  .88 88.  .88 dP Y8.   .88 88.  .88       88 88    88
*    dP    `88888P' dP       dP    dP `88888P8 `88888P8 `88888P' 88  Y88888P' `88888P8 `88888P' dP    dP
* ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
*/

pragma solidity ^0.5.8;



contract IVerifier {
  function verifyProof(bytes memory _proof, uint256[6] memory _input) public returns(bool);
}

contract Tornado is MerkleTreeWithHistory, ReentrancyGuard {
  uint256 public denomination;
  mapping(bytes32 => bool) public nullifierHashes;
  // we store all commitments just to prevent accidental deposits with the same commitment
  mapping(bytes32 => bool) public commitments;
  IVerifier public verifier;

  // operator can update snark verification key
  // after the final trusted setup ceremony operator rights are supposed to be transferred to zero address
  address public operator;
  modifier onlyOperator {
    require(msg.sender == operator, "Only operator can call this function.");
    _;
  }

  event Deposit(bytes32 indexed commitment, uint32 leafIndex, uint256 timestamp);
  event Withdrawal(address to, bytes32 nullifierHash, address indexed relayer, uint256 fee);

  /**
    @dev The constructor
    @param _verifier the address of SNARK verifier for this contract
    @param _denomination transfer amount for each deposit
    @param _merkleTreeHeight the height of deposits' Merkle Tree
    @param _operator operator address (see operator comment above)
  */
  constructor(
    IVerifier _verifier,
    uint256 _denomination,
    uint32 _merkleTreeHeight,
    address _operator
  ) MerkleTreeWithHistory(_merkleTreeHeight) public {
    require(_denomination > 0, "denomination should be greater than 0");
    verifier = _verifier;
    operator = _operator;
    denomination = _denomination;
  }

  /**
    @dev Deposit funds into the contract. The caller must send (for ETH) or approve (for ERC20) value equal to or `denomination` of this instance.
    @param _commitment the note commitment, which is PedersenHash(nullifier + secret)
  */
  function deposit(bytes32 _commitment) external payable nonReentrant {
    require(!commitments[_commitment], "The commitment has been submitted");

    uint32 insertedIndex = _insert(_commitment);
    commitments[_commitment] = true;
    _processDeposit();

    emit Deposit(_commitment, insertedIndex, block.timestamp);
  }

  /** @dev this function is defined in a child contract */
  function _processDeposit() internal;

  /**
    @dev Withdraw a deposit from the contract. `proof` is a zkSNARK proof data, and input is an array of circuit public inputs
    `input` array consists of:
      - merkle root of all deposits in the contract
      - hash of unique deposit nullifier to prevent double spends
      - the recipient of funds
      - optional fee that goes to the transaction sender (usually a relay)
  */
  function withdraw(bytes calldata _proof, bytes32 _root, bytes32 _nullifierHash, address payable _recipient, address payable _relayer, uint256 _fee, uint256 _refund) external payable nonReentrant {
    require(_fee <= denomination, "Fee exceeds transfer value");
    require(!nullifierHashes[_nullifierHash], "The note has been already spent");
    require(isKnownRoot(_root), "Cannot find your merkle root"); // Make sure to use a recent one
    require(verifier.verifyProof(_proof, [uint256(_root), uint256(_nullifierHash), uint256(_recipient), uint256(_relayer), _fee, _refund]), "Invalid withdraw proof");

    nullifierHashes[_nullifierHash] = true;
    _processWithdraw(_recipient, _relayer, _fee, _refund);
    emit Withdrawal(_recipient, _nullifierHash, _relayer, _fee);
  }

  /** @dev this function is defined in a child contract */
  function _processWithdraw(address payable _recipient, address payable _relayer, uint256 _fee, uint256 _refund) internal;

  /** @dev whether a note is already spent */
  function isSpent(bytes32 _nullifierHash) public view returns(bool) {
    return nullifierHashes[_nullifierHash];
  }

  /** @dev whether an array of notes is already spent */
  function isSpentArray(bytes32[] calldata _nullifierHashes) external view returns(bool[] memory spent) {
    spent = new bool[](_nullifierHashes.length);
    for(uint i = 0; i < _nullifierHashes.length; i++) {
      if (isSpent(_nullifierHashes[i])) {
        spent[i] = true;
      }
    }
  }

  /**
    @dev allow operator to update SNARK verification keys. This is needed to update keys after the final trusted setup ceremony is held.
    After that operator rights are supposed to be transferred to zero address
  */
  function updateVerifier(address _newVerifier) external onlyOperator {
    verifier = IVerifier(_newVerifier);
  }

  /** @dev operator can change his address */
  function changeOperator(address _newOperator) external onlyOperator {
    operator = _newOperator;
  }
}

// File: contracts/ETHTornado.sol

// https://tornado.cash
/*
* d888888P                                           dP              a88888b.                   dP
*    88                                              88             d8'   `88                   88
*    88    .d8888b. 88d888b. 88d888b. .d8888b. .d888b88 .d8888b.    88        .d8888b. .d8888b. 88d888b.
*    88    88'  `88 88'  `88 88'  `88 88'  `88 88'  `88 88'  `88    88        88'  `88 Y8ooooo. 88'  `88
*    88    88.  .88 88       88    88 88.  .88 88.  .88 88.  .88 dP Y8.   .88 88.  .88       88 88    88
*    dP    `88888P' dP       dP    dP `88888P8 `88888P8 `88888P' 88  Y88888P' `88888P8 `88888P' dP    dP
* ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
*/

pragma solidity ^0.5.8;


contract TornadoCash_eth is Tornado {
  constructor(
    IVerifier _verifier,
    uint256 _denomination,
    uint32 _merkleTreeHeight,
    address _operator
  ) Tornado(_verifier, _denomination, _merkleTreeHeight, _operator) public {
  }

  function _processDeposit() internal {
    require(msg.value == denomination, "Please send `mixDenomination` ETH along with transaction");
  }

  function _processWithdraw(address payable _recipient, address payable _relayer, uint256 _fee, uint256 _refund) internal {
    // sanity checks
    require(msg.value == 0, "Message value is supposed to be zero for ETH instance");
    require(_refund == 0, "Refund value is supposed to be zero for ETH instance");

    (bool success, ) = _recipient.call.value(denomination - _fee)("");
    require(success, "payment to _recipient did not go thru");
    if (_fee > 0) {
      (success, ) = _relayer.call.value(_fee)("");
      require(success, "payment to _relayer did not go thru");
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"internalType":"address","name":"_newOperator","type":"address"}],"name":"changeOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"nullifierHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"_proof","type":"bytes"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"bytes32","name":"_nullifierHash","type":"bytes32"},{"internalType":"address payable","name":"_recipient","type":"address"},{"internalType":"address payable","name":"_relayer","type":"address"},{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"uint256","name":"_refund","type":"uint256"}],"name":"withdraw","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"verifier","outputs":[{"internalType":"contract IVerifier","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"_left","type":"bytes32"},{"internalType":"bytes32","name":"_right","type":"bytes32"}],"name":"hashLeftRight","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"FIELD_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"levels","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"isKnownRoot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"commitments","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"denomination","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentRootIndex","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newVerifier","type":"address"}],"name":"updateVerifier","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32[]","name":"_nullifierHashes","type":"bytes32[]"}],"name":"isSpentArray","outputs":[{"internalType":"bool[]","name":"spent","type":"bool[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"_commitment","type":"bytes32"}],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getLastRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"roots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ROOT_HISTORY_SIZE","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"_nullifierHash","type":"bytes32"}],"name":"isSpent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"zeros","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ZERO_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"filledSubtrees","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextIndex","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IVerifier","name":"_verifier","type":"address"},{"internalType":"uint256","name":"_denomination","type":"uint256"},{"internalType":"uint32","name":"_merkleTreeHeight","type":"uint32"},{"internalType":"address","name":"_operator","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"commitment","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"leafIndex","type":"uint32"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bytes32","name":"nullifierHash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"relayer","type":"address"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"Withdrawal","type":"event"}]

6080604052600380546001600160401b03191690553480156200002157600080fd5b5060405162001a4438038062001a44833981810160405260808110156200004757600080fd5b5080516020820151604083015160609093015191929091838383838163ffffffff8116620000c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180620019bb6027913960400191505060405180910390fd5b60208163ffffffff161062000122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018062001a026022913960400191505060405180910390fd5b6000805463ffffffff191663ffffffff83161781556002805460018181019092557f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c6000805160206200197a833981519152909101819055815480830183559282905260008051602062001a248339815191529092018290555b60005463ffffffff90811690821610156200021057620001c682806001600160e01b03620002c416565b6002805460018181019092556000805160206200197a8339815191520182905580548082018255600082905260008051602062001a2483398151915201829055909250016200019c565b506200022681806001600160e01b03620002c416565b600455505060016068558262000288576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180620019556025913960400191505060405180910390fd5b606c80546001600160a01b039586166001600160a01b031991821617909155606d80549290951691161790925560695550620004fe9350505050565b6000600080516020620019e283398151915283106200034457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5f6c6566742073686f756c6420626520696e7369646520746865206669656c64604482015290519081900360640190fd5b600080516020620019e28339815191528210620003ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806200199a6021913960400191505060405180910390fd5b604080517ff47d33b5000000000000000000000000000000000000000000000000000000008152600481018590526000602482018190528251869391927383584f83f26af4edda9cbe8c730bc87c364b28fe9263f47d33b592604480840193829003018186803b1580156200042157600080fd5b505af415801562000436573d6000803e3d6000fd5b505050506040513d60408110156200044d57600080fd5b5080516020909101519092509050600080516020620019e283398151915284830891507383584f83f26af4edda9cbe8c730bc87c364b28fe63f47d33b583836040518363ffffffff1660e01b81526004018083815260200182815260200192505050604080518083038186803b158015620004c757600080fd5b505af4158015620004dc573d6000803e3d6000fd5b505050506040513d6040811015620004f357600080fd5b505195945050505050565b611447806200050e6000396000f3fe6080604052600436106101405760003560e01c806390eeb02b116100b6578063cd87a3b41161006f578063cd87a3b4146104f4578063e5285dcc14610509578063e829558814610533578063ec7329591461055d578063f178e47c14610572578063fc7e9c6f1461059c57610140565b806390eeb02b1461038557806397fc007c1461039a5780639fa12d0b146103cd578063b214faa514610498578063ba70f757146104b5578063c2b40ae4146104ca57610140565b8063414a37ba11610108578063414a37ba146102c45780634ecf518b146102d9578063570ca735146103075780636d9833e31461031c578063839df945146103465780638bca6d161461037057610140565b806306394c9b1461014557806317cc915c1461017a57806321a0adb6146101b85780632b7ac3f31461025157806338bf282e14610282575b600080fd5b34801561015157600080fd5b506101786004803603602081101561016857600080fd5b50356001600160a01b03166105b1565b005b34801561018657600080fd5b506101a46004803603602081101561019d57600080fd5b503561061c565b604080519115158252519081900360200190f35b610178600480360360e08110156101ce57600080fd5b810190602081018135600160201b8111156101e857600080fd5b8201836020820111156101fa57600080fd5b803590602001918460018302840111600160201b8311171561021b57600080fd5b91935091508035906020810135906001600160a01b03604082013581169160608101359091169060808101359060a00135610631565b34801561025d57600080fd5b50610266610972565b604080516001600160a01b039092168252519081900360200190f35b34801561028e57600080fd5b506102b2600480360360408110156102a557600080fd5b5080359060200135610981565b60408051918252519081900360200190f35b3480156102d057600080fd5b506102b2610b62565b3480156102e557600080fd5b506102ee610b74565b6040805163ffffffff9092168252519081900360200190f35b34801561031357600080fd5b50610266610b80565b34801561032857600080fd5b506101a46004803603602081101561033f57600080fd5b5035610b8f565b34801561035257600080fd5b506101a46004803603602081101561036957600080fd5b5035610c02565b34801561037c57600080fd5b506102b2610c17565b34801561039157600080fd5b506102ee610c1d565b3480156103a657600080fd5b50610178600480360360208110156103bd57600080fd5b50356001600160a01b0316610c29565b3480156103d957600080fd5b50610448600480360360208110156103f057600080fd5b810190602081018135600160201b81111561040a57600080fd5b82018360208201111561041c57600080fd5b803590602001918460208302840111600160201b8311171561043d57600080fd5b509092509050610c94565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561048457818101518382015260200161046c565b505050509050019250505060405180910390f35b610178600480360360208110156104ae57600080fd5b5035610d1c565b3480156104c157600080fd5b506102b2610e3d565b3480156104d657600080fd5b506102b2600480360360208110156104ed57600080fd5b5035610e5d565b34801561050057600080fd5b506102ee610e71565b34801561051557600080fd5b506101a46004803603602081101561052c57600080fd5b5035610e76565b34801561053f57600080fd5b506102b26004803603602081101561055657600080fd5b5035610e8b565b34801561056957600080fd5b506102b2610ea9565b34801561057e57600080fd5b506102b26004803603602081101561059557600080fd5b5035610ecd565b3480156105a857600080fd5b506102ee610eda565b606d546001600160a01b031633146105fa5760405162461bcd60e51b81526004018080602001828103825260258152602001806113b96025913960400191505060405180910390fd5b606d80546001600160a01b0319166001600160a01b0392909216919091179055565b606a6020526000908152604090205460ff1681565b6068805460010190819055606954831115610693576040805162461bcd60e51b815260206004820152601a60248201527f4665652065786365656473207472616e736665722076616c7565000000000000604482015290519081900360640190fd5b6000868152606a602052604090205460ff16156106f7576040805162461bcd60e51b815260206004820152601f60248201527f546865206e6f746520686173206265656e20616c7265616479207370656e7400604482015290519081900360640190fd5b61070087610b8f565b610751576040805162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742066696e6420796f7572206d65726b6c6520726f6f7400000000604482015290519081900360640190fd5b606c546040805160c080820183528a8252602082018a90526001600160a01b038981168385015288811660608401526080830188905260a08301879052925163695ef6f960e01b8152929093169263695ef6f9928d928d9290916004810191829160240190849080838360005b838110156107d65781810151838201526020016107be565b505050509050018281038252858582818152602001925080828437600081840152601f19601f820116905080830192505050945050505050602060405180830381600087803b15801561082857600080fd5b505af115801561083c573d6000803e3d6000fd5b505050506040513d602081101561085257600080fd5b505161089e576040805162461bcd60e51b815260206004820152601660248201527524b73b30b634b2103bb4ba34323930bb90383937b7b360511b604482015290519081900360640190fd5b6000868152606a60205260409020805460ff191660011790556108c385858585610eed565b604080516001600160a01b038781168252602082018990528183018690529151918616917fe9e508bad6d4c3227e881ca19068f099da81b5164dd6d62b2eaf1e8bc6c349319181900360600190a26068548114610967576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b505050505050505050565b606c546001600160a01b031681565b600060008051602061133083398151915283106109e5576040805162461bcd60e51b815260206004820181905260248201527f5f6c6566742073686f756c6420626520696e7369646520746865206669656c64604482015290519081900360640190fd5b6000805160206113308339815191528210610a315760405162461bcd60e51b81526004018080602001828103825260218152602001806112db6021913960400191505060405180910390fd5b6040805163f47d33b560e01b8152600481018590526000602482018190528251869391927383584f83f26af4edda9cbe8c730bc87c364b28fe9263f47d33b592604480840193829003018186803b158015610a8b57600080fd5b505af4158015610a9f573d6000803e3d6000fd5b505050506040513d6040811015610ab557600080fd5b508051602090910151909250905060008051602061133083398151915284830891507383584f83f26af4edda9cbe8c730bc87c364b28fe63f47d33b583836040518363ffffffff1660e01b81526004018083815260200182815260200192505050604080518083038186803b158015610b2d57600080fd5b505af4158015610b41573d6000803e3d6000fd5b505050506040513d6040811015610b5757600080fd5b505195945050505050565b60008051602061133083398151915281565b60005463ffffffff1681565b606d546001600160a01b031681565b600081610b9e57506000610bfd565b60035463ffffffff165b60048163ffffffff1660648110610bbb57fe5b0154831415610bce576001915050610bfd565b63ffffffff8116610bdd575060645b6003546000199091019063ffffffff80831691161415610ba85760009150505b919050565b606b6020526000908152604090205460ff1681565b60695481565b60035463ffffffff1681565b606d546001600160a01b03163314610c725760405162461bcd60e51b81526004018080602001828103825260258152602001806113b96025913960400191505060405180910390fd5b606c80546001600160a01b0319166001600160a01b0392909216919091179055565b604080518281526020808402820101909152606090828015610cc0578160200160208202803883390190505b50905060005b82811015610d1557610ce9848483818110610cdd57fe5b90506020020135610e76565b15610d0d576001828281518110610cfc57fe5b911515602092830291909101909101525b600101610cc6565b5092915050565b60688054600101908190556000828152606b602052604090205460ff1615610d755760405162461bcd60e51b81526004018080602001828103825260218152602001806113506021913960400191505060405180910390fd5b6000610d808361109a565b6000848152606b60205260409020805460ff191660011790559050610da3611231565b6040805163ffffffff83168152426020820152815185927fa945e51eec50ab98c161376f0db4cf2aeba3ec92755fe2fcd388bdbbb80ff196928290030190a2506068548114610e39576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b5050565b60035460009060049063ffffffff1660648110610e5657fe5b0154905090565b60048160648110610e6a57fe5b0154905081565b606481565b6000908152606a602052604090205460ff1690565b60028181548110610e9857fe5b600091825260209091200154905081565b7f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c81565b60018181548110610e9857fe5b600354600160201b900463ffffffff1681565b3415610f2a5760405162461bcd60e51b81526004018080602001828103825260358152602001806113de6035913960400191505060405180910390fd5b8015610f675760405162461bcd60e51b81526004018080602001828103825260348152602001806112fc6034913960400191505060405180910390fd5b6069546040516000916001600160a01b0387169190859003908381818185875af1925050503d8060008114610fb8576040519150601f19603f3d011682016040523d82523d6000602084013e610fbd565b606091505b5050905080610ffd5760405162461bcd60e51b81526004018080602001828103825260258152602001806113716025913960400191505060405180910390fd5b8215611093576040516001600160a01b038516908490600081818185875af1925050503d806000811461104c576040519150601f19603f3d011682016040523d82523d6000602084013e611051565b606091505b505080915050806110935760405162461bcd60e51b81526004018080602001828103825260238152602001806113966023913960400191505060405180910390fd5b5050505050565b60035460008054909163ffffffff600160201b909104811691811660020a168114156110f75760405162461bcd60e51b815260040180806020018281038252602f815260200180611274602f913960400191505060405180910390fd5b6003805463ffffffff600160201b80830482166001019091160267ffffffff000000001990911617905582600080805b60005463ffffffff90811690821610156111cf576001851661118b5783925060028163ffffffff168154811061115957fe5b906000526020600020015491508360018263ffffffff168154811061117a57fe5b6000918252602090912001556111af565b60018163ffffffff168154811061119e57fe5b906000526020600020015492508391505b6111b98383610981565b9350600263ffffffff8616049450600101611127565b5060035460649063ffffffff908116600101166003805463ffffffff19169290910663ffffffff90811692909217908190558491600491166064811061121157fe5b01555050600354600160201b900463ffffffff1660001901949350505050565b60695434146112715760405162461bcd60e51b81526004018080602001828103825260388152602001806112a36038913960400191505060405180910390fd5b56fe4d65726b6c6520747265652069732066756c6c2e204e6f206d6f7265206c656166732063616e206265206164646564506c656173652073656e6420606d697844656e6f6d696e6174696f6e602045544820616c6f6e672077697468207472616e73616374696f6e5f72696768742073686f756c6420626520696e7369646520746865206669656c64526566756e642076616c756520697320737570706f73656420746f206265207a65726f20666f722045544820696e7374616e636530644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000154686520636f6d6d69746d656e7420686173206265656e207375626d69747465647061796d656e7420746f205f726563697069656e7420646964206e6f7420676f20746872757061796d656e7420746f205f72656c6179657220646964206e6f7420676f20746872754f6e6c79206f70657261746f722063616e2063616c6c20746869732066756e6374696f6e2e4d6573736167652076616c756520697320737570706f73656420746f206265207a65726f20666f722045544820696e7374616e6365a265627a7a72315820587549d2a38eba8d298e5df3a9c389827128193ddbe15c9ca5720461b16a92ac64736f6c634300050b003264656e6f6d696e6174696f6e2073686f756c642062652067726561746572207468616e2030405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5f72696768742073686f756c6420626520696e7369646520746865206669656c645f747265654c6576656c732073686f756c642062652067726561746572207468616e207a65726f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000015f747265654c6576656c732073686f756c64206265206c657373207468616e203332b10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60000000000000000000000000db297c70758f31a63235edfded040a04ad3fd6c0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000008589427373d6d84e98730d7795d8f6f8731fda16

Deployed Bytecode

0x6080604052600436106101405760003560e01c806390eeb02b116100b6578063cd87a3b41161006f578063cd87a3b4146104f4578063e5285dcc14610509578063e829558814610533578063ec7329591461055d578063f178e47c14610572578063fc7e9c6f1461059c57610140565b806390eeb02b1461038557806397fc007c1461039a5780639fa12d0b146103cd578063b214faa514610498578063ba70f757146104b5578063c2b40ae4146104ca57610140565b8063414a37ba11610108578063414a37ba146102c45780634ecf518b146102d9578063570ca735146103075780636d9833e31461031c578063839df945146103465780638bca6d161461037057610140565b806306394c9b1461014557806317cc915c1461017a57806321a0adb6146101b85780632b7ac3f31461025157806338bf282e14610282575b600080fd5b34801561015157600080fd5b506101786004803603602081101561016857600080fd5b50356001600160a01b03166105b1565b005b34801561018657600080fd5b506101a46004803603602081101561019d57600080fd5b503561061c565b604080519115158252519081900360200190f35b610178600480360360e08110156101ce57600080fd5b810190602081018135600160201b8111156101e857600080fd5b8201836020820111156101fa57600080fd5b803590602001918460018302840111600160201b8311171561021b57600080fd5b91935091508035906020810135906001600160a01b03604082013581169160608101359091169060808101359060a00135610631565b34801561025d57600080fd5b50610266610972565b604080516001600160a01b039092168252519081900360200190f35b34801561028e57600080fd5b506102b2600480360360408110156102a557600080fd5b5080359060200135610981565b60408051918252519081900360200190f35b3480156102d057600080fd5b506102b2610b62565b3480156102e557600080fd5b506102ee610b74565b6040805163ffffffff9092168252519081900360200190f35b34801561031357600080fd5b50610266610b80565b34801561032857600080fd5b506101a46004803603602081101561033f57600080fd5b5035610b8f565b34801561035257600080fd5b506101a46004803603602081101561036957600080fd5b5035610c02565b34801561037c57600080fd5b506102b2610c17565b34801561039157600080fd5b506102ee610c1d565b3480156103a657600080fd5b50610178600480360360208110156103bd57600080fd5b50356001600160a01b0316610c29565b3480156103d957600080fd5b50610448600480360360208110156103f057600080fd5b810190602081018135600160201b81111561040a57600080fd5b82018360208201111561041c57600080fd5b803590602001918460208302840111600160201b8311171561043d57600080fd5b509092509050610c94565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561048457818101518382015260200161046c565b505050509050019250505060405180910390f35b610178600480360360208110156104ae57600080fd5b5035610d1c565b3480156104c157600080fd5b506102b2610e3d565b3480156104d657600080fd5b506102b2600480360360208110156104ed57600080fd5b5035610e5d565b34801561050057600080fd5b506102ee610e71565b34801561051557600080fd5b506101a46004803603602081101561052c57600080fd5b5035610e76565b34801561053f57600080fd5b506102b26004803603602081101561055657600080fd5b5035610e8b565b34801561056957600080fd5b506102b2610ea9565b34801561057e57600080fd5b506102b26004803603602081101561059557600080fd5b5035610ecd565b3480156105a857600080fd5b506102ee610eda565b606d546001600160a01b031633146105fa5760405162461bcd60e51b81526004018080602001828103825260258152602001806113b96025913960400191505060405180910390fd5b606d80546001600160a01b0319166001600160a01b0392909216919091179055565b606a6020526000908152604090205460ff1681565b6068805460010190819055606954831115610693576040805162461bcd60e51b815260206004820152601a60248201527f4665652065786365656473207472616e736665722076616c7565000000000000604482015290519081900360640190fd5b6000868152606a602052604090205460ff16156106f7576040805162461bcd60e51b815260206004820152601f60248201527f546865206e6f746520686173206265656e20616c7265616479207370656e7400604482015290519081900360640190fd5b61070087610b8f565b610751576040805162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742066696e6420796f7572206d65726b6c6520726f6f7400000000604482015290519081900360640190fd5b606c546040805160c080820183528a8252602082018a90526001600160a01b038981168385015288811660608401526080830188905260a08301879052925163695ef6f960e01b8152929093169263695ef6f9928d928d9290916004810191829160240190849080838360005b838110156107d65781810151838201526020016107be565b505050509050018281038252858582818152602001925080828437600081840152601f19601f820116905080830192505050945050505050602060405180830381600087803b15801561082857600080fd5b505af115801561083c573d6000803e3d6000fd5b505050506040513d602081101561085257600080fd5b505161089e576040805162461bcd60e51b815260206004820152601660248201527524b73b30b634b2103bb4ba34323930bb90383937b7b360511b604482015290519081900360640190fd5b6000868152606a60205260409020805460ff191660011790556108c385858585610eed565b604080516001600160a01b038781168252602082018990528183018690529151918616917fe9e508bad6d4c3227e881ca19068f099da81b5164dd6d62b2eaf1e8bc6c349319181900360600190a26068548114610967576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b505050505050505050565b606c546001600160a01b031681565b600060008051602061133083398151915283106109e5576040805162461bcd60e51b815260206004820181905260248201527f5f6c6566742073686f756c6420626520696e7369646520746865206669656c64604482015290519081900360640190fd5b6000805160206113308339815191528210610a315760405162461bcd60e51b81526004018080602001828103825260218152602001806112db6021913960400191505060405180910390fd5b6040805163f47d33b560e01b8152600481018590526000602482018190528251869391927383584f83f26af4edda9cbe8c730bc87c364b28fe9263f47d33b592604480840193829003018186803b158015610a8b57600080fd5b505af4158015610a9f573d6000803e3d6000fd5b505050506040513d6040811015610ab557600080fd5b508051602090910151909250905060008051602061133083398151915284830891507383584f83f26af4edda9cbe8c730bc87c364b28fe63f47d33b583836040518363ffffffff1660e01b81526004018083815260200182815260200192505050604080518083038186803b158015610b2d57600080fd5b505af4158015610b41573d6000803e3d6000fd5b505050506040513d6040811015610b5757600080fd5b505195945050505050565b60008051602061133083398151915281565b60005463ffffffff1681565b606d546001600160a01b031681565b600081610b9e57506000610bfd565b60035463ffffffff165b60048163ffffffff1660648110610bbb57fe5b0154831415610bce576001915050610bfd565b63ffffffff8116610bdd575060645b6003546000199091019063ffffffff80831691161415610ba85760009150505b919050565b606b6020526000908152604090205460ff1681565b60695481565b60035463ffffffff1681565b606d546001600160a01b03163314610c725760405162461bcd60e51b81526004018080602001828103825260258152602001806113b96025913960400191505060405180910390fd5b606c80546001600160a01b0319166001600160a01b0392909216919091179055565b604080518281526020808402820101909152606090828015610cc0578160200160208202803883390190505b50905060005b82811015610d1557610ce9848483818110610cdd57fe5b90506020020135610e76565b15610d0d576001828281518110610cfc57fe5b911515602092830291909101909101525b600101610cc6565b5092915050565b60688054600101908190556000828152606b602052604090205460ff1615610d755760405162461bcd60e51b81526004018080602001828103825260218152602001806113506021913960400191505060405180910390fd5b6000610d808361109a565b6000848152606b60205260409020805460ff191660011790559050610da3611231565b6040805163ffffffff83168152426020820152815185927fa945e51eec50ab98c161376f0db4cf2aeba3ec92755fe2fcd388bdbbb80ff196928290030190a2506068548114610e39576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b5050565b60035460009060049063ffffffff1660648110610e5657fe5b0154905090565b60048160648110610e6a57fe5b0154905081565b606481565b6000908152606a602052604090205460ff1690565b60028181548110610e9857fe5b600091825260209091200154905081565b7f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c81565b60018181548110610e9857fe5b600354600160201b900463ffffffff1681565b3415610f2a5760405162461bcd60e51b81526004018080602001828103825260358152602001806113de6035913960400191505060405180910390fd5b8015610f675760405162461bcd60e51b81526004018080602001828103825260348152602001806112fc6034913960400191505060405180910390fd5b6069546040516000916001600160a01b0387169190859003908381818185875af1925050503d8060008114610fb8576040519150601f19603f3d011682016040523d82523d6000602084013e610fbd565b606091505b5050905080610ffd5760405162461bcd60e51b81526004018080602001828103825260258152602001806113716025913960400191505060405180910390fd5b8215611093576040516001600160a01b038516908490600081818185875af1925050503d806000811461104c576040519150601f19603f3d011682016040523d82523d6000602084013e611051565b606091505b505080915050806110935760405162461bcd60e51b81526004018080602001828103825260238152602001806113966023913960400191505060405180910390fd5b5050505050565b60035460008054909163ffffffff600160201b909104811691811660020a168114156110f75760405162461bcd60e51b815260040180806020018281038252602f815260200180611274602f913960400191505060405180910390fd5b6003805463ffffffff600160201b80830482166001019091160267ffffffff000000001990911617905582600080805b60005463ffffffff90811690821610156111cf576001851661118b5783925060028163ffffffff168154811061115957fe5b906000526020600020015491508360018263ffffffff168154811061117a57fe5b6000918252602090912001556111af565b60018163ffffffff168154811061119e57fe5b906000526020600020015492508391505b6111b98383610981565b9350600263ffffffff8616049450600101611127565b5060035460649063ffffffff908116600101166003805463ffffffff19169290910663ffffffff90811692909217908190558491600491166064811061121157fe5b01555050600354600160201b900463ffffffff1660001901949350505050565b60695434146112715760405162461bcd60e51b81526004018080602001828103825260388152602001806112a36038913960400191505060405180910390fd5b56fe4d65726b6c6520747265652069732066756c6c2e204e6f206d6f7265206c656166732063616e206265206164646564506c656173652073656e6420606d697844656e6f6d696e6174696f6e602045544820616c6f6e672077697468207472616e73616374696f6e5f72696768742073686f756c6420626520696e7369646520746865206669656c64526566756e642076616c756520697320737570706f73656420746f206265207a65726f20666f722045544820696e7374616e636530644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000154686520636f6d6d69746d656e7420686173206265656e207375626d69747465647061796d656e7420746f205f726563697069656e7420646964206e6f7420676f20746872757061796d656e7420746f205f72656c6179657220646964206e6f7420676f20746872754f6e6c79206f70657261746f722063616e2063616c6c20746869732066756e6374696f6e2e4d6573736167652076616c756520697320737570706f73656420746f206265207a65726f20666f722045544820696e7374616e6365a265627a7a72315820587549d2a38eba8d298e5df3a9c389827128193ddbe15c9ca5720461b16a92ac64736f6c634300050b0032

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000db297c70758f31a63235edfded040a04ad3fd6c0000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000008589427373d6d84e98730d7795d8f6f8731fda16

-----Decoded View---------------
Arg [0] : _verifier (address): 0x0db297c70758f31A63235edfdEd040A04aD3fD6C
Arg [1] : _denomination (uint256): 1000000000000000000
Arg [2] : _merkleTreeHeight (uint32): 20
Arg [3] : _operator (address): 0x8589427373D6D84E98730D7795D8f6f8731FDA16

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000db297c70758f31a63235edfded040a04ad3fd6c
Arg [1] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [3] : 0000000000000000000000008589427373d6d84e98730d7795d8f6f8731fda16


Libraries Used


Deployed Bytecode Sourcemap

12127:1003:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11184:104;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11184:104:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11184:104:0;-1:-1:-1;;;;;11184:104:0;;:::i;:::-;;6820:47;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6820:47:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6820:47:0;;:::i;:::-;;;;;;;;;;;;;;;;;;9269:790;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;9269:790:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;9269:790:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;9269:790:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;9269:790:0;;-1:-1:-1;9269:790:0;-1:-1:-1;9269:790:0;;;;;;;;-1:-1:-1;;;;;9269:790:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;7012:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7012:25:0;;;:::i;:::-;;;;-1:-1:-1;;;;;7012:25:0;;;;;;;;;;;;;;2331:454;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2331:454:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2331:454:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;999:114;;8:9:-1;5:2;;;30:1;27;20:12;5:2;999:114:0;;;:::i;1278:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1278:20:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7201:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7201:23:0;;;:::i;3697:357::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3697:357:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3697:357:0;;:::i;6964:43::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6964:43:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6964:43:0;;:::i;6788:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6788:27:0;;;:::i;1505:34::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1505:34:0;;;:::i;11016:115::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11016:115:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11016:115:0;-1:-1:-1;;;;;11016:115:0;;:::i;10480:300::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10480:300:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;10480:300:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;10480:300:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10480:300:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;10480:300:0;;-1:-1:-1;10480:300:0;-1:-1:-1;10480:300:0;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;10480:300:0;;;;;;;;;;;;;;;;;8428:332;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8428:332:0;;:::i;4105:95::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4105:95:0;;;:::i;1627:39::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1627:39:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1627:39:0;;:::i;1576:46::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1576:46:0;;;:::i;10298:118::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10298:118:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10298:118:0;;:::i;1478:22::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1478:22:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1478:22:0;;:::i;1118:114::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1118:114:0;;;:::i;1442:31::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1442:31:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1442:31:0;;:::i;1544:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1544:27:0;;;:::i;11184:104::-;7280:8;;-1:-1:-1;;;;;7280:8:0;7266:10;:22;7258:72;;;;-1:-1:-1;;;7258:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11259:8;:23;;-1:-1:-1;;;;;;11259:23:0;-1:-1:-1;;;;;11259:23:0;;;;;;;;;;11184:104::o;6820:47::-;;;;;;;;;;;;;;;:::o;9269:790::-;5597:13;:18;;5614:1;5597:18;;;;;9487:12;;9479:20;;;9471:59;;;;;-1:-1:-1;;;9471:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9546:31;;;;:15;:31;;;;;;;;9545:32;9537:76;;;;;-1:-1:-1;;;9537:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9628:18;9640:5;9628:11;:18::i;:::-;9620:59;;;;;-1:-1:-1;;;9620:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9727:8;;:126;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9798:19:0;;;9727:126;;;;9819:17;;;9727:126;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9727:126:0;;:8;;;;;:20;;9748:6;;;;9727:126;;;;;;;;;;;;;;;;:8;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;9727:126:0;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;9727:126:0;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9727:126:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;9727:126:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9727:126:0;9719:161;;;;;-1:-1:-1;;;9719:161:0;;;;;;;;;;;;-1:-1:-1;;;9719:161:0;;;;;;;;;;;;;;;9889:31;;;;:15;:31;;;;;:38;;-1:-1:-1;;9889:38:0;9923:4;9889:38;;;9934:53;9951:10;9963:8;9973:4;9979:7;9934:16;:53::i;:::-;9999:54;;;-1:-1:-1;;;;;9999:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5709:13;;5693:12;:29;5685:73;;;;;-1:-1:-1;;;5685:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9269:790;;;;;;;;;:::o;7012:25::-;;;-1:-1:-1;;;;;7012:25:0;;:::o;2331:454::-;2406:7;-1:-1:-1;;;;;;;;;;;2430:27:0;;2422:72;;;;;-1:-1:-1;;;2422:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2509:28:0;;2501:74;;;;-1:-1:-1;;;2501:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2644:23;;;-1:-1:-1;;;2644:23:0;;;;;;;;2582:9;2644:23;;;;;;;;2602:5;;2582:9;;2644:6;;:17;;:23;;;;;;;;;;:6;:23;;;5:2:-1;;;;30:1;27;20:12;5:2;2644:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2644:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2644:23:0;;;;;;;;;-1:-1:-1;2644:23:0;-1:-1:-1;;;;;;;;;;;;2696:6:0;2685:1;2678:38;2674:42;;2732:6;:17;2750:1;2753;2732:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2732:23:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2732:23:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2732:23:0;;2331:454;-1:-1:-1;;;;;2331:454:0:o;999:114::-;-1:-1:-1;;;;;;;;;;;999:114:0;:::o;1278:20::-;;;;;;:::o;7201:23::-;;;-1:-1:-1;;;;;7201:23:0;;:::o;3697:357::-;3753:4;3770:10;3766:45;;-1:-1:-1;3798:5:0;3791:12;;3766:45;3828:16;;;;3851:179;3876:5;3882:1;3876:8;;;;;;;;;;;3867:5;:17;3863:55;;;3904:4;3897:11;;;;;3863:55;3930:6;;;3926:54;;-1:-1:-1;1619:3:0;3926:54;4012:16;;-1:-1:-1;;3988:3:0;;;;4012:16;4007:21;;;4012:16;;4007:21;;3851:179;;4043:5;4036:12;;;3697:357;;;;:::o;6964:43::-;;;;;;;;;;;;;;;:::o;6788:27::-;;;;:::o;1505:34::-;;;;;;:::o;11016:115::-;7280:8;;-1:-1:-1;;;;;7280:8:0;7266:10;:22;7258:72;;;;-1:-1:-1;;;7258:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11091:8;:34;;-1:-1:-1;;;;;;11091:34:0;-1:-1:-1;;;;;11091:34:0;;;;;;;;;;11016:115::o;10480:300::-;10597:35;;;;;;;;;;;;;;;;10561:19;;10608:16;10597:35;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;10597:35:0;-1:-1:-1;10589:43:0;-1:-1:-1;10643:6:0;10639:136;10655:27;;;10639:136;;;10702:28;10710:16;;10727:1;10710:19;;;;;;;;;;;;;10702:7;:28::i;:::-;10698:70;;;10754:4;10743:5;10749:1;10743:8;;;;;;;;:15;;;:8;;;;;;;;;;;:15;10698:70;10684:3;;10639:136;;;;10480:300;;;;:::o;8428:332::-;5597:13;:18;;5614:1;5597:18;;;;;:13;8512:24;;;:11;:24;;;;;;;;8511:25;8503:71;;;;-1:-1:-1;;;8503:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8583:20;8606;8614:11;8606:7;:20::i;:::-;8633:24;;;;:11;:24;;;;;:31;;-1:-1:-1;;8633:31:0;8660:4;8633:31;;;8583:43;-1:-1:-1;8671:17:0;:15;:17::i;:::-;8702:52;;;;;;;;8738:15;8702:52;;;;;;8710:11;;8702:52;;;;;;;;5673:1;5709:13;;5693:12;:29;5685:73;;;;;-1:-1:-1;;;5685:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8428:332;;:::o;4105:95::-;4177:16;;4148:7;;4171:5;;4177:16;;4171:23;;;;;;;;;4164:30;;4105:95;:::o;1627:39::-;;;;;;;;;;;;;-1:-1:-1;1627:39:0;:::o;1576:46::-;1619:3;1576:46;:::o;10298:118::-;10359:4;10379:31;;;:15;:31;;;;;;;;;10298:118::o;1478:22::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1478:22:0;:::o;1118:114::-;1155:77;1118:114;:::o;1442:31::-;;;;;;;;;;1544:27;;;-1:-1:-1;;;1544:27:0;;;;;:::o;12526:601::-;12683:9;:14;12675:80;;;;-1:-1:-1;;;12675:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12770:12;;12762:77;;;;-1:-1:-1;;;12762:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12889:12;;12867:46;;12849:12;;-1:-1:-1;;;;;12867:15:0;;;12889:19;;;;;12849:12;12867:46;12849:12;12867:46;12889:19;12867:15;:46;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;12848:65:0;;;12928:7;12920:57;;;;-1:-1:-1;;;12920:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12988:8;;12984:138;;13021:29;;-1:-1:-1;;;;;13021:13:0;;;13041:4;;13021:29;;;;13041:4;13021:13;:29;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;13007:43:0;;;;;13067:7;13059:55;;;;-1:-1:-1;;;13059:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12526:601;;;;;:::o;2791:829::-;2883:9;;2840:12;2934:6;;2840:12;;2883:9;-1:-1:-1;;;2883:9:0;;;;;;2934:6;;2930:1;2923:17;2907:33;;;;2899:93;;;;-1:-1:-1;;;2899:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2999:9;:14;;;-1:-1:-1;;;2999:14:0;;;;;3012:1;2999:14;;;;;-1:-1:-1;;2999:14:0;;;;;;3047:5;-1:-1:-1;;;3100:369:0;3123:6;;;;;;3119:10;;;;3100:369;;;3149:16;;;3145:233;;3190:16;3183:23;;3225:5;3231:1;3225:8;;;;;;;;;;;;;;;;;;3217:16;;3266;3246:14;3261:1;3246:17;;;;;;;;;;;;;;;;;;;:36;3145:233;;;3316:14;3331:1;3316:17;;;;;;;;;;;;;;;;;;3309:24;;3352:16;3344:24;;3145:233;3407:26;3421:4;3427:5;3407:13;:26::i;:::-;3388:45;-1:-1:-1;3460:1:0;3444:17;;;;;-1:-1:-1;3131:3:0;;3100:369;;;-1:-1:-1;3497:16:0;;1619:3;;3496:42;3497:16;;;;:20;3496:42;3477:16;:61;;-1:-1:-1;;3477:61:0;3496:42;;;;3477:61;;;;;;;;;;;;3571:16;;3545:5;;3551:16;3545:23;;;;;;;;:42;-1:-1:-1;;3601:9:0;;-1:-1:-1;;;3601:9:0;;;;-1:-1:-1;;3601:13:0;;2791:829;-1:-1:-1;;;;2791:829:0:o;12377:143::-;12441:12;;12428:9;:25;12420:94;;;;-1:-1:-1;;;12420:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12377:143::o

Swarm Source

bzzr://587549d2a38eba8d298e5df3a9c389827128193ddbe15c9ca5720461b16a92ac

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.