ETH Price: $2,844.35 (+3.61%)
 

Overview

ETH Balance

0.2 ETH

Eth Value

$568.87 (@ $2,844.35/ETH)

Multichain Info

Transaction Hash
Method
Block
From
To
Withdraw175565202023-06-25 12:33:11591 days ago1687696391IN
0x00000000...587151499
0 ETH0.004490413.17725966
Deposit175565002023-06-25 12:29:11591 days ago1687696151IN
0x00000000...587151499
0.1 ETH0.0118719112.93566178
Withdraw174386852023-06-08 22:58:59608 days ago1686265139IN
0x00000000...587151499
0 ETH0.0063080920.1371326
Deposit174386712023-06-08 22:55:59608 days ago1686264959IN
0x00000000...587151499
0.1 ETH0.0168024518.48945257
Withdraw173825262023-06-01 0:53:11616 days ago1685580791IN
0x00000000...587151499
0 ETH0.0085673427.34925595
Deposit173824982023-06-01 0:47:11616 days ago1685580431IN
0x00000000...587151499
0.1 ETH0.0221142824.25486978
Withdraw173793752023-05-31 14:13:23616 days ago1685542403IN
0x00000000...587151499
0 ETH0.0163488251.77659105
Deposit173793692023-05-31 14:11:59616 days ago1685542319IN
0x00000000...587151499
0.1 ETH0.0457089550.13216833
Withdraw172560742023-05-14 5:32:23634 days ago1684042343IN
0x00000000...587151499
0 ETH0.0141918941.64666607
Deposit172560612023-05-14 5:29:47634 days ago1684042187IN
0x00000000...587151499
0.1 ETH0.0356645638.98806107
Withdraw171441382023-04-28 10:49:59649 days ago1682678999IN
0x00000000...587151499
0 ETH0.0107773931.62780306
Deposit171441202023-04-28 10:46:23649 days ago1682678783IN
0x00000000...587151499
0.1 ETH0.0279576630.6623295
Withdraw170458872023-04-14 14:06:35663 days ago1681481195IN
0x00000000...587151499
0 ETH0.0109516634.68250815
Deposit170458772023-04-14 14:04:11663 days ago1681481051IN
0x00000000...587151499
0.1 ETH0.0299695132.76147849
Withdraw169944032023-04-07 4:56:35671 days ago1680843395IN
0x00000000...587151499
0 ETH0.0062085819.8194644
Deposit169943312023-04-07 4:42:11671 days ago1680842531IN
0x00000000...587151499
0.1 ETH0.0175985519.23756164
Withdraw169939832023-04-07 3:30:59671 days ago1680838259IN
0x00000000...587151499
0 ETH0.0068504120.10423004
Deposit169939722023-04-07 3:28:35671 days ago1680838115IN
0x00000000...587151499
0.1 ETH0.0203647522.18892388
Deposit169825322023-04-05 12:18:59672 days ago1680697139IN
0x00000000...587151499
0.1 ETH0.0290659731.87705341
Withdraw169454342023-03-31 6:34:35678 days ago1680244475IN
0x00000000...587151499
0 ETH0.007080720.77932825
Deposit169453452023-03-31 6:16:35678 days ago1680243395IN
0x00000000...587151499
0.1 ETH0.0199453121.80287319
Withdraw169450512023-03-31 5:17:23678 days ago1680239843IN
0x00000000...587151499
0 ETH0.0068278421.6229201
Deposit169450352023-03-31 5:13:59678 days ago1680239639IN
0x00000000...587151499
0.1 ETH0.0196670721.49845993
Withdraw169271172023-03-28 16:48:59680 days ago1680022139IN
0x00000000...587151499
0 ETH0.0105933.53847034
Deposit169270392023-03-28 16:32:35680 days ago1680021155IN
0x00000000...587151499
0.1 ETH0.0283915730.93397448
View all transactions

Latest 16 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
175565202023-06-25 12:33:11591 days ago1687696391
0x00000000...587151499
0.1 ETH
174386852023-06-08 22:58:59608 days ago1686265139
0x00000000...587151499
0.1 ETH
173825262023-06-01 0:53:11616 days ago1685580791
0x00000000...587151499
0.1 ETH
173793752023-05-31 14:13:23616 days ago1685542403
0x00000000...587151499
0.1 ETH
172560742023-05-14 5:32:23634 days ago1684042343
0x00000000...587151499
0.1 ETH
171441382023-04-28 10:49:59649 days ago1682678999
0x00000000...587151499
0.1 ETH
170458872023-04-14 14:06:35663 days ago1681481195
0x00000000...587151499
0.1 ETH
169944032023-04-07 4:56:35671 days ago1680843395
0x00000000...587151499
0.1 ETH
169939832023-04-07 3:30:59671 days ago1680838259
0x00000000...587151499
0.1 ETH
169454342023-03-31 6:34:35678 days ago1680244475
0x00000000...587151499
0.1 ETH
169450512023-03-31 5:17:23678 days ago1680239843
0x00000000...587151499
0.1 ETH
169271172023-03-28 16:48:59680 days ago1680022139
0x00000000...587151499
0.1 ETH
168627532023-03-19 15:49:23689 days ago1679240963
0x00000000...587151499
0.1 ETH
168518062023-03-18 2:54:11691 days ago1679108051
0x00000000...587151499
0.1 ETH
167923782023-03-09 18:18:11699 days ago1678385891
0x00000000...587151499
0.1 ETH
167608752023-03-05 8:00:11703 days ago1678003211  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ZKAnon

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : ZKAnon.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "./MerkleTreeWithHistory.sol";
import "openzeppelin/security/ReentrancyGuard.sol";

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

contract ZKAnon is MerkleTreeWithHistory, ReentrancyGuard {
    error DenominationTooSmall();
    error CommitmentSubmitted();
    error IncorrectValue();
    error FeeExceedsValue();
    error NoteAlreadySpent();
    error MerkleRootNotFound();
    error InvalidWithdrawProof();
    error RecipientPaymentFailed();
    error RelayerPaymentFailed();

    IVerifier public immutable verifier;
    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;

    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 _hasher the address of MiMC hash contract
        @param _denomination transfer amount for each deposit
    */
    constructor(
        IVerifier _verifier,
        IHasher _hasher,
        uint256 _denomination
    ) MerkleTreeWithHistory(20, _hasher) {
        if (_denomination <= 0) {
            revert DenominationTooSmall();
        }
        verifier = _verifier;
        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 {
        if (commitments[_commitment]) {
            revert CommitmentSubmitted();
        }

        uint32 insertedIndex = _insert(_commitment);
        commitments[_commitment] = true;
        if (msg.value != denomination) {
            revert IncorrectValue();
        }

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

    /**
        @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 {
        if (_fee > denomination) {
            revert FeeExceedsValue();
        }
        if (nullifierHashes[_nullifierHash]) {
            revert NoteAlreadySpent();
        }
        if (!isKnownRoot(_root)) {
            revert MerkleRootNotFound();
        } // Make sure to use a recent one
        if (
            !verifier.verifyProof(
                _proof,
                [
                    uint256(_root),
                    uint256(_nullifierHash),
                    uint256(uint160(address(_recipient))),
                    uint256(uint160(address(_relayer))),
                    _fee,
                    _refund
                ]
            )
        ) {
            revert InvalidWithdrawProof();
        }

        nullifierHashes[_nullifierHash] = true;

        (bool success, ) = _recipient.call{value: denomination - _fee}("");
        if (!success) {
            revert RecipientPaymentFailed();
        }
        if (_fee > 0) {
            (success, ) = _relayer.call{value: _fee}("");
            if (!success) {
                revert RelayerPaymentFailed();
            }
        }

        emit Withdrawal(_recipient, _nullifierHash, _relayer, _fee);
    }
}

File 2 of 3 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.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.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @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 making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 3 : MerkleTreeWithHistory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IHasher {
  function MiMCSponge(uint256 in_xL, uint256 in_xR) external pure returns (uint256 xL, uint256 xR);
}

contract MerkleTreeWithHistory {

    error LevelTooSmall();
    error LevelTooBig();
    error LeftOutsideField();
    error RightOutsideField();
    error MerkleTreeIsFull();
    error IndexOutOfBounds();

    uint256 public constant FIELD_SIZE = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
    uint256 public constant ZERO_VALUE = 21663839004416932945382355908790599225266501822907911457504978515578255421292; // = keccak256("tornado") % FIELD_SIZE
    IHasher public immutable hasher;

    uint32 public levels;

    // the following variables are made public for easier testing and debugging and
    // are not supposed to be accessed in regular code
    mapping(uint256 => bytes32) public filledSubtrees;
    mapping(uint256 => bytes32) public roots;
    uint32 public constant ROOT_HISTORY_SIZE = 30;
    uint32 public currentRootIndex = 0;
    uint32 public nextIndex = 0;

    constructor(uint32 _levels, IHasher _hasher) {
        if (_levels <= 0) { revert LevelTooSmall(); }
        if (_levels >= 32) { revert LevelTooBig(); }
        levels = _levels;
        hasher = _hasher;

        for (uint32 i = 0; i < _levels; i++) {
            filledSubtrees[i] = zeros(i);
        }

        roots[0] = zeros(_levels - 1);
    }

    /**
    @dev Hash 2 tree leaves, returns MiMC(_left, _right)
    */
    function hashLeftRight(IHasher _hasher, bytes32 _left, bytes32 _right) public pure returns (bytes32) {
        if (uint256(_left) >= FIELD_SIZE) { revert LeftOutsideField(); }
        if (uint256(_right) >= FIELD_SIZE) { revert RightOutsideField(); }
        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 _nextIndex = nextIndex;
        if (_nextIndex == uint32(2)**levels) { revert MerkleTreeIsFull(); }
        uint32 currentIndex = _nextIndex;
        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(hasher, left, right);
            currentIndex /= 2;
        }

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

    /**
    @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];
    }

    /// @dev provides Zero (Empty) elements for a MiMC MerkleTree. Up to 32 levels
    function zeros(uint256 i) private pure returns (bytes32) {
        if (i == 0) return bytes32(0x2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c);
        else if (i == 1) return bytes32(0x256a6135777eee2fd26f54b8b7037a25439d5235caee224154186d2b8a52e31d);
        else if (i == 2) return bytes32(0x1151949895e82ab19924de92c40a3d6f7bcb60d92b00504b8199613683f0c200);
        else if (i == 3) return bytes32(0x20121ee811489ff8d61f09fb89e313f14959a0f28bb428a20dba6b0b068b3bdb);
        else if (i == 4) return bytes32(0x0a89ca6ffa14cc462cfedb842c30ed221a50a3d6bf022a6a57dc82ab24c157c9);
        else if (i == 5) return bytes32(0x24ca05c2b5cd42e890d6be94c68d0689f4f21c9cec9c0f13fe41d566dfb54959);
        else if (i == 6) return bytes32(0x1ccb97c932565a92c60156bdba2d08f3bf1377464e025cee765679e604a7315c);
        else if (i == 7) return bytes32(0x19156fbd7d1a8bf5cba8909367de1b624534ebab4f0f79e003bccdd1b182bdb4);
        else if (i == 8) return bytes32(0x261af8c1f0912e465744641409f622d466c3920ac6e5ff37e36604cb11dfff80);
        else if (i == 9) return bytes32(0x0058459724ff6ca5a1652fcbc3e82b93895cf08e975b19beab3f54c217d1c007);
        else if (i == 10) return bytes32(0x1f04ef20dee48d39984d8eabe768a70eafa6310ad20849d4573c3c40c2ad1e30);
        else if (i == 11) return bytes32(0x1bea3dec5dab51567ce7e200a30f7ba6d4276aeaa53e2686f962a46c66d511e5);
        else if (i == 12) return bytes32(0x0ee0f941e2da4b9e31c3ca97a40d8fa9ce68d97c084177071b3cb46cd3372f0f);
        else if (i == 13) return bytes32(0x1ca9503e8935884501bbaf20be14eb4c46b89772c97b96e3b2ebf3a36a948bbd);
        else if (i == 14) return bytes32(0x133a80e30697cd55d8f7d4b0965b7be24057ba5dc3da898ee2187232446cb108);
        else if (i == 15) return bytes32(0x13e6d8fc88839ed76e182c2a779af5b2c0da9dd18c90427a644f7e148a6253b6);
        else if (i == 16) return bytes32(0x1eb16b057a477f4bc8f572ea6bee39561098f78f15bfb3699dcbb7bd8db61854);
        else if (i == 17) return bytes32(0x0da2cb16a1ceaabf1c16b838f7a9e3f2a3a3088d9e0a6debaa748114620696ea);
        else if (i == 18) return bytes32(0x24a3b3d822420b14b5d8cb6c28a574f01e98ea9e940551d2ebd75cee12649f9d);
        else if (i == 19) return bytes32(0x198622acbd783d1b0d9064105b1fc8e4d8889de95c4c519b3f635809fe6afc05);
        else if (i == 20) return bytes32(0x29d7ed391256ccc3ea596c86e933b89ff339d25ea8ddced975ae2fe30b5296d4);
        else if (i == 21) return bytes32(0x19be59f2f0413ce78c0c3703a3a5451b1d7f39629fa33abd11548a76065b2967);
        else if (i == 22) return bytes32(0x1ff3f61797e538b70e619310d33f2a063e7eb59104e112e95738da1254dc3453);
        else if (i == 23) return bytes32(0x10c16ae9959cf8358980d9dd9616e48228737310a10e2b6b731c1a548f036c48);
        else if (i == 24) return bytes32(0x0ba433a63174a90ac20992e75e3095496812b652685b5e1a2eae0b1bf4e8fcd1);
        else if (i == 25) return bytes32(0x019ddb9df2bc98d987d0dfeca9d2b643deafab8f7036562e627c3667266a044c);
        else if (i == 26) return bytes32(0x2d3c88b23175c5a5565db928414c66d1912b11acf974b2e644caaac04739ce99);
        else if (i == 27) return bytes32(0x2eab55f6ae4e66e32c5189eed5c470840863445760f5ed7e7b69b2a62600f354);
        else if (i == 28) return bytes32(0x002df37a2642621802383cf952bf4dd1f32e05433beeb1fd41031fb7eace979d);
        else if (i == 29) return bytes32(0x104aeb41435db66c3e62feccc1d6f5d98d0a0ed75d1374db457cf462e3a1f427);
        else if (i == 30) return bytes32(0x1f3c6fd858e9a7d4b0d1f38e256a09d81d5a5e3c963987e2d4b814cfab7c6ebb);
        else if (i == 31) return bytes32(0x2c7a07d20dff79d01fecedc1134284a8d08436606c93693b67e333f671bf69cc);
        else revert IndexOutOfBounds();
    }
}

Settings
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IVerifier","name":"_verifier","type":"address"},{"internalType":"contract IHasher","name":"_hasher","type":"address"},{"internalType":"uint256","name":"_denomination","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CommitmentSubmitted","type":"error"},{"inputs":[],"name":"DenominationTooSmall","type":"error"},{"inputs":[],"name":"FeeExceedsValue","type":"error"},{"inputs":[],"name":"IncorrectValue","type":"error"},{"inputs":[],"name":"IndexOutOfBounds","type":"error"},{"inputs":[],"name":"InvalidWithdrawProof","type":"error"},{"inputs":[],"name":"LeftOutsideField","type":"error"},{"inputs":[],"name":"LevelTooBig","type":"error"},{"inputs":[],"name":"LevelTooSmall","type":"error"},{"inputs":[],"name":"MerkleRootNotFound","type":"error"},{"inputs":[],"name":"MerkleTreeIsFull","type":"error"},{"inputs":[],"name":"NoteAlreadySpent","type":"error"},{"inputs":[],"name":"RecipientPaymentFailed","type":"error"},{"inputs":[],"name":"RelayerPaymentFailed","type":"error"},{"inputs":[],"name":"RightOutsideField","type":"error"},{"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"},{"inputs":[],"name":"FIELD_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROOT_HISTORY_SIZE","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ZERO_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"commitments","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentRootIndex","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"denomination","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_commitment","type":"bytes32"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"filledSubtrees","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IHasher","name":"_hasher","type":"address"},{"internalType":"bytes32","name":"_left","type":"bytes32"},{"internalType":"bytes32","name":"_right","type":"bytes32"}],"name":"hashLeftRight","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"hasher","outputs":[{"internalType":"contract IHasher","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"isKnownRoot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"levels","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextIndex","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"nullifierHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"roots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"verifier","outputs":[{"internalType":"contract IVerifier","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":[],"stateMutability":"payable","type":"function"}]

60c0604052600380546001600160401b03191690553480156200002157600080fd5b5060405162001e1238038062001e12833981016040819052620000449162000774565b6014826000805463ffffffff191663ffffffff84161781556001600160a01b0382166080525b8263ffffffff168163ffffffff161015620000bb576200009063ffffffff821662000142565b63ffffffff821660009081526001602052604090205580620000b281620007d2565b9150506200006a565b50620000d9620000cd600184620007f8565b63ffffffff1662000142565b6000805260026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5550506001600455806200012a5760405163f3083b2360e01b815260040160405180910390fd5b6001600160a01b0390921660a052506005556200081f565b6000816000036200017457507f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c919050565b81600103620001a457507f256a6135777eee2fd26f54b8b7037a25439d5235caee224154186d2b8a52e31d919050565b81600203620001d457507f1151949895e82ab19924de92c40a3d6f7bcb60d92b00504b8199613683f0c200919050565b816003036200020457507f20121ee811489ff8d61f09fb89e313f14959a0f28bb428a20dba6b0b068b3bdb919050565b816004036200023457507f0a89ca6ffa14cc462cfedb842c30ed221a50a3d6bf022a6a57dc82ab24c157c9919050565b816005036200026457507f24ca05c2b5cd42e890d6be94c68d0689f4f21c9cec9c0f13fe41d566dfb54959919050565b816006036200029457507f1ccb97c932565a92c60156bdba2d08f3bf1377464e025cee765679e604a7315c919050565b81600703620002c457507f19156fbd7d1a8bf5cba8909367de1b624534ebab4f0f79e003bccdd1b182bdb4919050565b81600803620002f457507f261af8c1f0912e465744641409f622d466c3920ac6e5ff37e36604cb11dfff80919050565b816009036200032357507e58459724ff6ca5a1652fcbc3e82b93895cf08e975b19beab3f54c217d1c007919050565b81600a036200035357507f1f04ef20dee48d39984d8eabe768a70eafa6310ad20849d4573c3c40c2ad1e30919050565b81600b036200038357507f1bea3dec5dab51567ce7e200a30f7ba6d4276aeaa53e2686f962a46c66d511e5919050565b81600c03620003b357507f0ee0f941e2da4b9e31c3ca97a40d8fa9ce68d97c084177071b3cb46cd3372f0f919050565b81600d03620003e357507f1ca9503e8935884501bbaf20be14eb4c46b89772c97b96e3b2ebf3a36a948bbd919050565b81600e036200041357507f133a80e30697cd55d8f7d4b0965b7be24057ba5dc3da898ee2187232446cb108919050565b81600f036200044357507f13e6d8fc88839ed76e182c2a779af5b2c0da9dd18c90427a644f7e148a6253b6919050565b816010036200047357507f1eb16b057a477f4bc8f572ea6bee39561098f78f15bfb3699dcbb7bd8db61854919050565b81601103620004a357507f0da2cb16a1ceaabf1c16b838f7a9e3f2a3a3088d9e0a6debaa748114620696ea919050565b81601203620004d357507f24a3b3d822420b14b5d8cb6c28a574f01e98ea9e940551d2ebd75cee12649f9d919050565b816013036200050357507f198622acbd783d1b0d9064105b1fc8e4d8889de95c4c519b3f635809fe6afc05919050565b816014036200053357507f29d7ed391256ccc3ea596c86e933b89ff339d25ea8ddced975ae2fe30b5296d4919050565b816015036200056357507f19be59f2f0413ce78c0c3703a3a5451b1d7f39629fa33abd11548a76065b2967919050565b816016036200059357507f1ff3f61797e538b70e619310d33f2a063e7eb59104e112e95738da1254dc3453919050565b81601703620005c357507f10c16ae9959cf8358980d9dd9616e48228737310a10e2b6b731c1a548f036c48919050565b81601803620005f357507f0ba433a63174a90ac20992e75e3095496812b652685b5e1a2eae0b1bf4e8fcd1919050565b816019036200062357507f019ddb9df2bc98d987d0dfeca9d2b643deafab8f7036562e627c3667266a044c919050565b81601a036200065357507f2d3c88b23175c5a5565db928414c66d1912b11acf974b2e644caaac04739ce99919050565b81601b036200068357507f2eab55f6ae4e66e32c5189eed5c470840863445760f5ed7e7b69b2a62600f354919050565b81601c03620006b257507e2df37a2642621802383cf952bf4dd1f32e05433beeb1fd41031fb7eace979d919050565b81601d03620006e257507f104aeb41435db66c3e62feccc1d6f5d98d0a0ed75d1374db457cf462e3a1f427919050565b81601e036200071257507f1f3c6fd858e9a7d4b0d1f38e256a09d81d5a5e3c963987e2d4b814cfab7c6ebb919050565b81601f036200074257507f2c7a07d20dff79d01fecedc1134284a8d08436606c93693b67e333f671bf69cc919050565b604051634e23d03560e01b815260040160405180910390fd5b6001600160a01b03811681146200077157600080fd5b50565b6000806000606084860312156200078a57600080fd5b835162000797816200075b565b6020850151909350620007aa816200075b565b80925050604084015190509250925092565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff808316818103620007ee57620007ee620007bc565b6001019392505050565b63ffffffff828116828216039080821115620008185762000818620007bc565b5092915050565b60805160a0516115bf620008536000396000818161017a01526104ba01526000818161037e0152610aa701526115bf6000f3fe6080604052600436106101095760003560e01c806390eeb02b11610095578063cd87a3b411610064578063cd87a3b414610323578063ec73295914610338578063ed33639f1461036c578063f178e47c146103a0578063fc7e9c6f146103cd57600080fd5b806390eeb02b1461029c578063b214faa5146102b9578063ba70f757146102cc578063c2b40ae4146102f657600080fd5b80634ecf518b116100dc5780634ecf518b146101e45780636d9833e314610216578063839df945146102365780638bca6d16146102665780638ea3099e1461027c57600080fd5b806317cc915c1461010e57806321a0adb6146101535780632b7ac3f314610168578063414a37ba146101b4575b600080fd5b34801561011a57600080fd5b5061013e61012936600461117a565b60066020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6101666101613660046111b3565b6103f2565b005b34801561017457600080fd5b5061019c7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161014a565b3480156101c057600080fd5b506101d660008051602061156a83398151915281565b60405190815260200161014a565b3480156101f057600080fd5b506000546102019063ffffffff1681565b60405163ffffffff909116815260200161014a565b34801561022257600080fd5b5061013e61023136600461117a565b6106c4565b34801561024257600080fd5b5061013e61025136600461117a565b60076020526000908152604090205460ff1681565b34801561027257600080fd5b506101d660055481565b34801561028857600080fd5b506101d6610297366004611269565b610741565b3480156102a857600080fd5b506003546102019063ffffffff1681565b6101666102c736600461117a565b6108a5565b3480156102d857600080fd5b5060035463ffffffff166000908152600260205260409020546101d6565b34801561030257600080fd5b506101d661031136600461117a565b60026020526000908152604090205481565b34801561032f57600080fd5b50610201601e81565b34801561034457600080fd5b506101d67f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c81565b34801561037857600080fd5b5061019c7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103ac57600080fd5b506101d66103bb36600461117a565b60016020526000908152604090205481565b3480156103d957600080fd5b5060035461020190640100000000900463ffffffff1681565b6103fa610974565b60055482111561041d57604051630abb440560e31b815260040160405180910390fd5b60008581526006602052604090205460ff161561044d576040516326c9d20d60e01b815260040160405180910390fd5b610456866106c4565b61047357604051635d91567160e01b815260040160405180910390fd5b6040805160c081018252878152602081018790526001600160a01b038681168284015285811660608301526080820185905260a08201849052915163695ef6f960e01b81527f00000000000000000000000000000000000000000000000000000000000000009092169163695ef6f9916104f3918c918c9160040161129e565b6020604051808303816000875af1158015610512573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053691906112fc565b61055357604051637e27baa160e01b815260040160405180910390fd5b6000858152600660205260408120805460ff191660011790556005546001600160a01b0386169061058590859061133b565b604051600081818185875af1925050503d80600081146105c1576040519150601f19603f3d011682016040523d82523d6000602084013e6105c6565b606091505b50509050806105e85760405163a2df88a760e01b815260040160405180910390fd5b8215610660576040516001600160a01b038516908490600081818185875af1925050503d8060008114610637576040519150601f19603f3d011682016040523d82523d6000602084013e61063c565b606091505b505080915050806106605760405163459893e760e11b815260040160405180910390fd5b604080516001600160a01b03878116825260208201899052918101859052908516907fe9e508bad6d4c3227e881ca19068f099da81b5164dd6d62b2eaf1e8bc6c349319060600160405180910390a2506106ba6001600455565b5050505050505050565b60008181036106d557506000919050565b60035463ffffffff165b63ffffffff811660009081526002602052604090205483036107045750600192915050565b8063ffffffff166000036107165750601e5b8061072081611354565b60035490925063ffffffff9081169083160390506106df5750600092915050565b600060008051602061156a8339815191528310610770576040516226fdef60e31b815260040160405180910390fd5b60008051602061156a833981519152821061079e5760405163055cbaf960e21b815260040160405180910390fd5b60405163f47d33b560e01b81526004810184905260006024820181905284916001600160a01b0387169063f47d33b5906044016040805180830381865afa1580156107ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108119190611374565b909250905060008051602061156a83398151915284830860405163f47d33b560e01b815260048101829052602481018390529092506001600160a01b0387169063f47d33b5906044016040805180830381865afa158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a9190611374565b509695505050505050565b6108ad610974565b60008181526007602052604090205460ff16156108dd5760405163450215a760e11b815260040160405180910390fd5b60006108e8826109d1565b6000838152600760205260409020805460ff19166001179055600554909150341461092657604051636956f2ab60e11b815260040160405180910390fd5b6040805163ffffffff8316815242602082015283917fa945e51eec50ab98c161376f0db4cf2aeba3ec92755fe2fcd388bdbbb80ff196910160405180910390a2506109716001600455565b50565b6002600454036109ca5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640160405180910390fd5b6002600455565b60035460008054909163ffffffff6401000000009091048116916109f7911660026114bf565b63ffffffff168163ffffffff1603610a225760405163352cdf0560e01b815260040160405180910390fd5b8083600080805b60005463ffffffff9081169082161015610aee57610a486002866114dc565b63ffffffff16600003610a8657839250610a678163ffffffff16610b7c565b63ffffffff821660009081526001602052604090208590559150610aa2565b63ffffffff811660009081526001602052604090205492508391505b610acd7f00000000000000000000000000000000000000000000000000000000000000008484610741565b9350610ada6002866114ff565b945080610ae681611522565b915050610a29565b50600354600090601e90610b099063ffffffff166001611545565b610b1391906114dc565b6003805463ffffffff191663ffffffff831690811790915560009081526002602052604090208590559050610b49866001611545565b6003805463ffffffff929092166401000000000267ffffffff000000001990921691909117905550939695505050505050565b600081600003610bad57507f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c919050565b81600103610bdc57507f256a6135777eee2fd26f54b8b7037a25439d5235caee224154186d2b8a52e31d919050565b81600203610c0b57507f1151949895e82ab19924de92c40a3d6f7bcb60d92b00504b8199613683f0c200919050565b81600303610c3a57507f20121ee811489ff8d61f09fb89e313f14959a0f28bb428a20dba6b0b068b3bdb919050565b81600403610c6957507f0a89ca6ffa14cc462cfedb842c30ed221a50a3d6bf022a6a57dc82ab24c157c9919050565b81600503610c9857507f24ca05c2b5cd42e890d6be94c68d0689f4f21c9cec9c0f13fe41d566dfb54959919050565b81600603610cc757507f1ccb97c932565a92c60156bdba2d08f3bf1377464e025cee765679e604a7315c919050565b81600703610cf657507f19156fbd7d1a8bf5cba8909367de1b624534ebab4f0f79e003bccdd1b182bdb4919050565b81600803610d2557507f261af8c1f0912e465744641409f622d466c3920ac6e5ff37e36604cb11dfff80919050565b81600903610d5357507e58459724ff6ca5a1652fcbc3e82b93895cf08e975b19beab3f54c217d1c007919050565b81600a03610d8257507f1f04ef20dee48d39984d8eabe768a70eafa6310ad20849d4573c3c40c2ad1e30919050565b81600b03610db157507f1bea3dec5dab51567ce7e200a30f7ba6d4276aeaa53e2686f962a46c66d511e5919050565b81600c03610de057507f0ee0f941e2da4b9e31c3ca97a40d8fa9ce68d97c084177071b3cb46cd3372f0f919050565b81600d03610e0f57507f1ca9503e8935884501bbaf20be14eb4c46b89772c97b96e3b2ebf3a36a948bbd919050565b81600e03610e3e57507f133a80e30697cd55d8f7d4b0965b7be24057ba5dc3da898ee2187232446cb108919050565b81600f03610e6d57507f13e6d8fc88839ed76e182c2a779af5b2c0da9dd18c90427a644f7e148a6253b6919050565b81601003610e9c57507f1eb16b057a477f4bc8f572ea6bee39561098f78f15bfb3699dcbb7bd8db61854919050565b81601103610ecb57507f0da2cb16a1ceaabf1c16b838f7a9e3f2a3a3088d9e0a6debaa748114620696ea919050565b81601203610efa57507f24a3b3d822420b14b5d8cb6c28a574f01e98ea9e940551d2ebd75cee12649f9d919050565b81601303610f2957507f198622acbd783d1b0d9064105b1fc8e4d8889de95c4c519b3f635809fe6afc05919050565b81601403610f5857507f29d7ed391256ccc3ea596c86e933b89ff339d25ea8ddced975ae2fe30b5296d4919050565b81601503610f8757507f19be59f2f0413ce78c0c3703a3a5451b1d7f39629fa33abd11548a76065b2967919050565b81601603610fb657507f1ff3f61797e538b70e619310d33f2a063e7eb59104e112e95738da1254dc3453919050565b81601703610fe557507f10c16ae9959cf8358980d9dd9616e48228737310a10e2b6b731c1a548f036c48919050565b8160180361101457507f0ba433a63174a90ac20992e75e3095496812b652685b5e1a2eae0b1bf4e8fcd1919050565b8160190361104357507f019ddb9df2bc98d987d0dfeca9d2b643deafab8f7036562e627c3667266a044c919050565b81601a0361107257507f2d3c88b23175c5a5565db928414c66d1912b11acf974b2e644caaac04739ce99919050565b81601b036110a157507f2eab55f6ae4e66e32c5189eed5c470840863445760f5ed7e7b69b2a62600f354919050565b81601c036110cf57507e2df37a2642621802383cf952bf4dd1f32e05433beeb1fd41031fb7eace979d919050565b81601d036110fe57507f104aeb41435db66c3e62feccc1d6f5d98d0a0ed75d1374db457cf462e3a1f427919050565b81601e0361112d57507f1f3c6fd858e9a7d4b0d1f38e256a09d81d5a5e3c963987e2d4b814cfab7c6ebb919050565b81601f0361115c57507f2c7a07d20dff79d01fecedc1134284a8d08436606c93693b67e333f671bf69cc919050565b604051634e23d03560e01b815260040160405180910390fd5b919050565b60006020828403121561118c57600080fd5b5035919050565b6001600160a01b038116811461097157600080fd5b803561117581611193565b60008060008060008060008060e0898b0312156111cf57600080fd5b883567ffffffffffffffff808211156111e757600080fd5b818b0191508b601f8301126111fb57600080fd5b81358181111561120a57600080fd5b8c602082850101111561121c57600080fd5b60209283019a5098505089013595506040890135945061123e60608a016111a8565b935061124c60808a016111a8565b925060a0890135915060c089013590509295985092959890939650565b60008060006060848603121561127e57600080fd5b833561128981611193565b95602085013595506040909401359392505050565b60e081528260e08201526000610100848682850137600081868501015280601f19601f87011684010191505060208083018460005b60068110156112f0578151835291830191908301906001016112d3565b50505050949350505050565b60006020828403121561130e57600080fd5b8151801515811461131e57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561134e5761134e611325565b92915050565b600063ffffffff82168061136a5761136a611325565b6000190192915050565b6000806040838503121561138757600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601260045260246000fd5b600181815b808511156113eb578163ffffffff048211156113d1576113d1611325565b808516156113de57918102915b93841c93908002906113b3565b509250929050565b6000826114025750600161134e565b8161140f5750600061134e565b8160018114611425576002811461142f57611460565b600191505061134e565b60ff84111561144057611440611325565b6001841b915063ffffffff82111561145a5761145a611325565b5061134e565b5060208310610133831016604e8410600b8410161715611497575081810a63ffffffff81111561149257611492611325565b61134e565b6114a183836113ae565b8063ffffffff048211156114b7576114b7611325565b029392505050565b600063ffffffff6114d48185168285166113f3565b949350505050565b600063ffffffff808416806114f3576114f3611398565b92169190910692915050565b600063ffffffff8084168061151657611516611398565b92169190910492915050565b600063ffffffff80831681810361153b5761153b611325565b6001019392505050565b63ffffffff81811683821601908082111561156257611562611325565b509291505056fe30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001a26469706673582212202371f0bd2091731bd223894a27a429ee920d37589fefb4c2ebefba41411c7f7264736f6c6343000811003300000000000000000000000000000000c0d21a902d9d1184a6b111faedfcde870000000000000000000000000000000078c72112c92ffb2afeac77fa450f763a000000000000000000000000000000000000000000000000016345785d8a0000

Deployed Bytecode

0x6080604052600436106101095760003560e01c806390eeb02b11610095578063cd87a3b411610064578063cd87a3b414610323578063ec73295914610338578063ed33639f1461036c578063f178e47c146103a0578063fc7e9c6f146103cd57600080fd5b806390eeb02b1461029c578063b214faa5146102b9578063ba70f757146102cc578063c2b40ae4146102f657600080fd5b80634ecf518b116100dc5780634ecf518b146101e45780636d9833e314610216578063839df945146102365780638bca6d16146102665780638ea3099e1461027c57600080fd5b806317cc915c1461010e57806321a0adb6146101535780632b7ac3f314610168578063414a37ba146101b4575b600080fd5b34801561011a57600080fd5b5061013e61012936600461117a565b60066020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6101666101613660046111b3565b6103f2565b005b34801561017457600080fd5b5061019c7f00000000000000000000000000000000c0d21a902d9d1184a6b111faedfcde8781565b6040516001600160a01b03909116815260200161014a565b3480156101c057600080fd5b506101d660008051602061156a83398151915281565b60405190815260200161014a565b3480156101f057600080fd5b506000546102019063ffffffff1681565b60405163ffffffff909116815260200161014a565b34801561022257600080fd5b5061013e61023136600461117a565b6106c4565b34801561024257600080fd5b5061013e61025136600461117a565b60076020526000908152604090205460ff1681565b34801561027257600080fd5b506101d660055481565b34801561028857600080fd5b506101d6610297366004611269565b610741565b3480156102a857600080fd5b506003546102019063ffffffff1681565b6101666102c736600461117a565b6108a5565b3480156102d857600080fd5b5060035463ffffffff166000908152600260205260409020546101d6565b34801561030257600080fd5b506101d661031136600461117a565b60026020526000908152604090205481565b34801561032f57600080fd5b50610201601e81565b34801561034457600080fd5b506101d67f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c81565b34801561037857600080fd5b5061019c7f0000000000000000000000000000000078c72112c92ffb2afeac77fa450f763a81565b3480156103ac57600080fd5b506101d66103bb36600461117a565b60016020526000908152604090205481565b3480156103d957600080fd5b5060035461020190640100000000900463ffffffff1681565b6103fa610974565b60055482111561041d57604051630abb440560e31b815260040160405180910390fd5b60008581526006602052604090205460ff161561044d576040516326c9d20d60e01b815260040160405180910390fd5b610456866106c4565b61047357604051635d91567160e01b815260040160405180910390fd5b6040805160c081018252878152602081018790526001600160a01b038681168284015285811660608301526080820185905260a08201849052915163695ef6f960e01b81527f00000000000000000000000000000000c0d21a902d9d1184a6b111faedfcde879092169163695ef6f9916104f3918c918c9160040161129e565b6020604051808303816000875af1158015610512573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061053691906112fc565b61055357604051637e27baa160e01b815260040160405180910390fd5b6000858152600660205260408120805460ff191660011790556005546001600160a01b0386169061058590859061133b565b604051600081818185875af1925050503d80600081146105c1576040519150601f19603f3d011682016040523d82523d6000602084013e6105c6565b606091505b50509050806105e85760405163a2df88a760e01b815260040160405180910390fd5b8215610660576040516001600160a01b038516908490600081818185875af1925050503d8060008114610637576040519150601f19603f3d011682016040523d82523d6000602084013e61063c565b606091505b505080915050806106605760405163459893e760e11b815260040160405180910390fd5b604080516001600160a01b03878116825260208201899052918101859052908516907fe9e508bad6d4c3227e881ca19068f099da81b5164dd6d62b2eaf1e8bc6c349319060600160405180910390a2506106ba6001600455565b5050505050505050565b60008181036106d557506000919050565b60035463ffffffff165b63ffffffff811660009081526002602052604090205483036107045750600192915050565b8063ffffffff166000036107165750601e5b8061072081611354565b60035490925063ffffffff9081169083160390506106df5750600092915050565b600060008051602061156a8339815191528310610770576040516226fdef60e31b815260040160405180910390fd5b60008051602061156a833981519152821061079e5760405163055cbaf960e21b815260040160405180910390fd5b60405163f47d33b560e01b81526004810184905260006024820181905284916001600160a01b0387169063f47d33b5906044016040805180830381865afa1580156107ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108119190611374565b909250905060008051602061156a83398151915284830860405163f47d33b560e01b815260048101829052602481018390529092506001600160a01b0387169063f47d33b5906044016040805180830381865afa158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a9190611374565b509695505050505050565b6108ad610974565b60008181526007602052604090205460ff16156108dd5760405163450215a760e11b815260040160405180910390fd5b60006108e8826109d1565b6000838152600760205260409020805460ff19166001179055600554909150341461092657604051636956f2ab60e11b815260040160405180910390fd5b6040805163ffffffff8316815242602082015283917fa945e51eec50ab98c161376f0db4cf2aeba3ec92755fe2fcd388bdbbb80ff196910160405180910390a2506109716001600455565b50565b6002600454036109ca5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640160405180910390fd5b6002600455565b60035460008054909163ffffffff6401000000009091048116916109f7911660026114bf565b63ffffffff168163ffffffff1603610a225760405163352cdf0560e01b815260040160405180910390fd5b8083600080805b60005463ffffffff9081169082161015610aee57610a486002866114dc565b63ffffffff16600003610a8657839250610a678163ffffffff16610b7c565b63ffffffff821660009081526001602052604090208590559150610aa2565b63ffffffff811660009081526001602052604090205492508391505b610acd7f0000000000000000000000000000000078c72112c92ffb2afeac77fa450f763a8484610741565b9350610ada6002866114ff565b945080610ae681611522565b915050610a29565b50600354600090601e90610b099063ffffffff166001611545565b610b1391906114dc565b6003805463ffffffff191663ffffffff831690811790915560009081526002602052604090208590559050610b49866001611545565b6003805463ffffffff929092166401000000000267ffffffff000000001990921691909117905550939695505050505050565b600081600003610bad57507f2fe54c60d3acabf3343a35b6eba15db4821b340f76e741e2249685ed4899af6c919050565b81600103610bdc57507f256a6135777eee2fd26f54b8b7037a25439d5235caee224154186d2b8a52e31d919050565b81600203610c0b57507f1151949895e82ab19924de92c40a3d6f7bcb60d92b00504b8199613683f0c200919050565b81600303610c3a57507f20121ee811489ff8d61f09fb89e313f14959a0f28bb428a20dba6b0b068b3bdb919050565b81600403610c6957507f0a89ca6ffa14cc462cfedb842c30ed221a50a3d6bf022a6a57dc82ab24c157c9919050565b81600503610c9857507f24ca05c2b5cd42e890d6be94c68d0689f4f21c9cec9c0f13fe41d566dfb54959919050565b81600603610cc757507f1ccb97c932565a92c60156bdba2d08f3bf1377464e025cee765679e604a7315c919050565b81600703610cf657507f19156fbd7d1a8bf5cba8909367de1b624534ebab4f0f79e003bccdd1b182bdb4919050565b81600803610d2557507f261af8c1f0912e465744641409f622d466c3920ac6e5ff37e36604cb11dfff80919050565b81600903610d5357507e58459724ff6ca5a1652fcbc3e82b93895cf08e975b19beab3f54c217d1c007919050565b81600a03610d8257507f1f04ef20dee48d39984d8eabe768a70eafa6310ad20849d4573c3c40c2ad1e30919050565b81600b03610db157507f1bea3dec5dab51567ce7e200a30f7ba6d4276aeaa53e2686f962a46c66d511e5919050565b81600c03610de057507f0ee0f941e2da4b9e31c3ca97a40d8fa9ce68d97c084177071b3cb46cd3372f0f919050565b81600d03610e0f57507f1ca9503e8935884501bbaf20be14eb4c46b89772c97b96e3b2ebf3a36a948bbd919050565b81600e03610e3e57507f133a80e30697cd55d8f7d4b0965b7be24057ba5dc3da898ee2187232446cb108919050565b81600f03610e6d57507f13e6d8fc88839ed76e182c2a779af5b2c0da9dd18c90427a644f7e148a6253b6919050565b81601003610e9c57507f1eb16b057a477f4bc8f572ea6bee39561098f78f15bfb3699dcbb7bd8db61854919050565b81601103610ecb57507f0da2cb16a1ceaabf1c16b838f7a9e3f2a3a3088d9e0a6debaa748114620696ea919050565b81601203610efa57507f24a3b3d822420b14b5d8cb6c28a574f01e98ea9e940551d2ebd75cee12649f9d919050565b81601303610f2957507f198622acbd783d1b0d9064105b1fc8e4d8889de95c4c519b3f635809fe6afc05919050565b81601403610f5857507f29d7ed391256ccc3ea596c86e933b89ff339d25ea8ddced975ae2fe30b5296d4919050565b81601503610f8757507f19be59f2f0413ce78c0c3703a3a5451b1d7f39629fa33abd11548a76065b2967919050565b81601603610fb657507f1ff3f61797e538b70e619310d33f2a063e7eb59104e112e95738da1254dc3453919050565b81601703610fe557507f10c16ae9959cf8358980d9dd9616e48228737310a10e2b6b731c1a548f036c48919050565b8160180361101457507f0ba433a63174a90ac20992e75e3095496812b652685b5e1a2eae0b1bf4e8fcd1919050565b8160190361104357507f019ddb9df2bc98d987d0dfeca9d2b643deafab8f7036562e627c3667266a044c919050565b81601a0361107257507f2d3c88b23175c5a5565db928414c66d1912b11acf974b2e644caaac04739ce99919050565b81601b036110a157507f2eab55f6ae4e66e32c5189eed5c470840863445760f5ed7e7b69b2a62600f354919050565b81601c036110cf57507e2df37a2642621802383cf952bf4dd1f32e05433beeb1fd41031fb7eace979d919050565b81601d036110fe57507f104aeb41435db66c3e62feccc1d6f5d98d0a0ed75d1374db457cf462e3a1f427919050565b81601e0361112d57507f1f3c6fd858e9a7d4b0d1f38e256a09d81d5a5e3c963987e2d4b814cfab7c6ebb919050565b81601f0361115c57507f2c7a07d20dff79d01fecedc1134284a8d08436606c93693b67e333f671bf69cc919050565b604051634e23d03560e01b815260040160405180910390fd5b919050565b60006020828403121561118c57600080fd5b5035919050565b6001600160a01b038116811461097157600080fd5b803561117581611193565b60008060008060008060008060e0898b0312156111cf57600080fd5b883567ffffffffffffffff808211156111e757600080fd5b818b0191508b601f8301126111fb57600080fd5b81358181111561120a57600080fd5b8c602082850101111561121c57600080fd5b60209283019a5098505089013595506040890135945061123e60608a016111a8565b935061124c60808a016111a8565b925060a0890135915060c089013590509295985092959890939650565b60008060006060848603121561127e57600080fd5b833561128981611193565b95602085013595506040909401359392505050565b60e081528260e08201526000610100848682850137600081868501015280601f19601f87011684010191505060208083018460005b60068110156112f0578151835291830191908301906001016112d3565b50505050949350505050565b60006020828403121561130e57600080fd5b8151801515811461131e57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561134e5761134e611325565b92915050565b600063ffffffff82168061136a5761136a611325565b6000190192915050565b6000806040838503121561138757600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601260045260246000fd5b600181815b808511156113eb578163ffffffff048211156113d1576113d1611325565b808516156113de57918102915b93841c93908002906113b3565b509250929050565b6000826114025750600161134e565b8161140f5750600061134e565b8160018114611425576002811461142f57611460565b600191505061134e565b60ff84111561144057611440611325565b6001841b915063ffffffff82111561145a5761145a611325565b5061134e565b5060208310610133831016604e8410600b8410161715611497575081810a63ffffffff81111561149257611492611325565b61134e565b6114a183836113ae565b8063ffffffff048211156114b7576114b7611325565b029392505050565b600063ffffffff6114d48185168285166113f3565b949350505050565b600063ffffffff808416806114f3576114f3611398565b92169190910692915050565b600063ffffffff8084168061151657611516611398565b92169190910492915050565b600063ffffffff80831681810361153b5761153b611325565b6001019392505050565b63ffffffff81811683821601908082111561156257611562611325565b509291505056fe30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001a26469706673582212202371f0bd2091731bd223894a27a429ee920d37589fefb4c2ebefba41411c7f7264736f6c63430008110033

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

00000000000000000000000000000000c0d21a902d9d1184a6b111faedfcde870000000000000000000000000000000078c72112c92ffb2afeac77fa450f763a000000000000000000000000000000000000000000000000016345785d8a0000

-----Decoded View---------------
Arg [0] : _verifier (address): 0x00000000c0d21A902D9D1184A6b111FaEdfcDE87
Arg [1] : _hasher (address): 0x0000000078C72112C92FfB2aFEAc77fA450F763a
Arg [2] : _denomination (uint256): 100000000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000c0d21a902d9d1184a6b111faedfcde87
Arg [1] : 0000000000000000000000000000000078c72112c92ffb2afeac77fa450f763a
Arg [2] : 000000000000000000000000000000000000000000000000016345785d8a0000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.