ETH Price: $3,119.80 (+1.78%)

Contract

0x30Aa8b956a4B0Ada346D5cb0e6C4b17ca457Bfda
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Tokens209535632024-10-13 2:02:3534 days ago1728784955IN
0x30Aa8b95...ca457Bfda
0 ETH0.001520278.01714033
Claim Tokens199303422024-05-23 4:57:59177 days ago1716440279IN
0x30Aa8b95...ca457Bfda
0 ETH0.000531584.02286478
Claim Tokens198466052024-05-11 11:51:23188 days ago1715428283IN
0x30Aa8b95...ca457Bfda
0 ETH0.000492615.35177193
Claim Tokens197999552024-05-04 23:15:11195 days ago1714864511IN
0x30Aa8b95...ca457Bfda
0 ETH0.000373114.05197905
Claim Tokens196532252024-04-14 10:38:23215 days ago1713091103IN
0x30Aa8b95...ca457Bfda
0 ETH0.0019986810.72055372
Claim Tokens196384702024-04-12 8:55:47217 days ago1712912147IN
0x30Aa8b95...ca457Bfda
0 ETH0.0028454917.98887525
Claim Tokens195807162024-04-04 6:48:59225 days ago1712213339IN
0x30Aa8b95...ca457Bfda
0 ETH0.0016640718.07162427
Claim Tokens194971232024-03-23 11:52:47237 days ago1711194767IN
0x30Aa8b95...ca457Bfda
0 ETH0.0020394422.14721229
Claim Tokens194917722024-03-22 17:51:59238 days ago1711129919IN
0x30Aa8b95...ca457Bfda
0 ETH0.0046946525.17959063
Claim Tokens194841752024-03-21 16:18:59239 days ago1711037939IN
0x30Aa8b95...ca457Bfda
0 ETH0.0048200130.47616239
Claim Tokens194833352024-03-21 13:28:35239 days ago1711027715IN
0x30Aa8b95...ca457Bfda
0 ETH0.0045706628.32867836
Claim Tokens194808402024-03-21 5:03:35240 days ago1710997415IN
0x30Aa8b95...ca457Bfda
0 ETH0.0040151125.38145552
Claim Tokens194808312024-03-21 5:01:47240 days ago1710997307IN
0x30Aa8b95...ca457Bfda
0 ETH0.0041459626.20893934
Claim Tokens194799762024-03-21 2:08:11240 days ago1710986891IN
0x30Aa8b95...ca457Bfda
0 ETH0.0028957631.45924892
Claim Tokens194788312024-03-20 22:17:23240 days ago1710973043IN
0x30Aa8b95...ca457Bfda
0 ETH0.0062174239.31372989
Claim Tokens194669432024-03-19 6:14:47242 days ago1710828887IN
0x30Aa8b95...ca457Bfda
0 ETH0.0046262923.99270711
Claim Tokens194669122024-03-19 6:08:23242 days ago1710828503IN
0x30Aa8b95...ca457Bfda
0 ETH0.0049053725.43712806
Claim Tokens194596182024-03-18 5:31:47243 days ago1710739907IN
0x30Aa8b95...ca457Bfda
0 ETH0.0038154824.12133134
Claim Tokens194294492024-03-13 23:38:23247 days ago1710373103IN
0x30Aa8b95...ca457Bfda
0 ETH0.0106346160.68288521
Claim Tokens194051722024-03-10 14:04:35250 days ago1710079475IN
0x30Aa8b95...ca457Bfda
0 ETH0.0104214765.8790468
Claim Tokens193587632024-03-04 2:17:59257 days ago1709518679IN
0x30Aa8b95...ca457Bfda
0 ETH0.0035349847.36426951
Claim Tokens193571262024-03-03 20:49:11257 days ago1709498951IN
0x30Aa8b95...ca457Bfda
0 ETH0.0093347459.0026387
Claim Tokens193470432024-03-02 10:59:35258 days ago1709377175IN
0x30Aa8b95...ca457Bfda
0 ETH0.003560838.66068847
Claim Tokens193234692024-02-28 3:51:23262 days ago1709092283IN
0x30Aa8b95...ca457Bfda
0 ETH0.0041324233.27445297
Claim Tokens193194432024-02-27 14:19:47262 days ago1709043587IN
0x30Aa8b95...ca457Bfda
0 ETH0.0193184557.50926554
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ShadowladysClaims

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200000 runs

Other Settings:
paris EvmVersion
File 1 of 3 : ShadowladysClaims.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract ShadowladysClaims {
    address public owner;
    bytes32 public merkleRoot;
    IERC20 public token;

    mapping(address => bool) public claimed;

    modifier onlyOwner() {
        require(msg.sender == owner, "Not owner");
        _;
    }

    constructor(bytes32 _merkleRoot, IERC20 _token) {
        merkleRoot = _merkleRoot;
        token = IERC20(_token);
        owner = msg.sender;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function claimTokens(
        bytes32[] calldata proof,
        uint256 maxAllowanceToClaim
    ) public {
        require(
            checkInWhitelist(msg.sender, proof, maxAllowanceToClaim),
            "Not in whitelist"
        );

        require(!claimed[msg.sender], "Already claimed");
        claimed[msg.sender] = true;

        token.transfer(msg.sender, maxAllowanceToClaim);
    }

    function checkInWhitelist(
        address account,
        bytes32[] calldata proof,
        uint256 maxAllowanceToClaim
    ) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encode(account, maxAllowanceToClaim));
        bool verified = MerkleProof.verify(proof, merkleRoot, leaf);
        return verified;
    }

    function recoverERC20() external onlyOwner {
        token.transfer(owner, token.balanceOf(address(this)));
    }
}

File 2 of 3 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

File 3 of 3 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the Merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates Merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     *@dev The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     */
    function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the Merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the Merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Sorts the pair (a, b) and hashes the result.
     */
    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    /**
     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
     */
    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200000
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"contract IERC20","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"maxAllowanceToClaim","type":"uint256"}],"name":"checkInWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"maxAllowanceToClaim","type":"uint256"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405161094938038061094983398101604081905261002f91610063565b600191909155600280546001600160a01b039092166001600160a01b031992831617905560008054909116331790556100a0565b6000806040838503121561007657600080fd5b825160208401519092506001600160a01b038116811461009557600080fd5b809150509250929050565b61089a806100af6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100e9578063c884ef831461012e578063ee1462fd14610151578063fc0c546a1461016457600080fd5b80632eb4a7ab1461008d5780636cdd735e146100a95780637c0f1ee7146100cc5780637cb64759146100d6575b600080fd5b61009660015481565b6040519081526020015b60405180910390f35b6100bc6100b7366004610720565b610184565b60405190151581526020016100a0565b6100d4610218565b005b6100d46100e436600461077a565b6103d4565b6000546101099073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100a0565b6100bc61013c366004610793565b60036020526000908152604090205460ff1681565b6100d461015f3660046107ae565b61045a565b6002546101099073ffffffffffffffffffffffffffffffffffffffff1681565b6040805173ffffffffffffffffffffffffffffffffffffffff861660208201529081018290526000908190606001604051602081830303815290604052805190602001209050600061020d868680806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506001549150859050610620565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461029e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e6572000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6002546000546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9283169263a9059cbb92169083906370a0823190602401602060405180830381865afa158015610319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033d91906107fa565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af11580156103ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d19190610813565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e657200000000000000000000000000000000000000000000006044820152606401610295565b600155565b61046633848484610184565b6104cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420696e2077686974656c697374000000000000000000000000000000006044820152606401610295565b3360009081526003602052604090205460ff1615610546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920636c61696d656400000000000000000000000000000000006044820152606401610295565b336000818152600360205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560025490517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101929092526024820183905273ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af11580156105f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061a9190610813565b50505050565b60008261062d8584610636565b14949350505050565b600081815b8451811015610671576106678286838151811061065a5761065a610835565b6020026020010151610679565b915060010161063b565b509392505050565b60008183106106955760008281526020849052604090206106a4565b60008381526020839052604090205b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146106cf57600080fd5b919050565b60008083601f8401126106e657600080fd5b50813567ffffffffffffffff8111156106fe57600080fd5b6020830191508360208260051b850101111561071957600080fd5b9250929050565b6000806000806060858703121561073657600080fd5b61073f856106ab565b9350602085013567ffffffffffffffff81111561075b57600080fd5b610767878288016106d4565b9598909750949560400135949350505050565b60006020828403121561078c57600080fd5b5035919050565b6000602082840312156107a557600080fd5b6106a4826106ab565b6000806000604084860312156107c357600080fd5b833567ffffffffffffffff8111156107da57600080fd5b6107e6868287016106d4565b909790965060209590950135949350505050565b60006020828403121561080c57600080fd5b5051919050565b60006020828403121561082557600080fd5b815180151581146106a457600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122044ef5b087287cf6a05d953d4db232a1eeba2ce610a243bd2918ada23360cf1b964736f6c634300081800338636093b01be28cea4bd1d51f321d6746929ef802e8e746b56e301ecd199b5ae00000000000000000000000046305b2ebcd92809d5fcef577c20c28a185af03c

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100e9578063c884ef831461012e578063ee1462fd14610151578063fc0c546a1461016457600080fd5b80632eb4a7ab1461008d5780636cdd735e146100a95780637c0f1ee7146100cc5780637cb64759146100d6575b600080fd5b61009660015481565b6040519081526020015b60405180910390f35b6100bc6100b7366004610720565b610184565b60405190151581526020016100a0565b6100d4610218565b005b6100d46100e436600461077a565b6103d4565b6000546101099073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100a0565b6100bc61013c366004610793565b60036020526000908152604090205460ff1681565b6100d461015f3660046107ae565b61045a565b6002546101099073ffffffffffffffffffffffffffffffffffffffff1681565b6040805173ffffffffffffffffffffffffffffffffffffffff861660208201529081018290526000908190606001604051602081830303815290604052805190602001209050600061020d868680806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506001549150859050610620565b979650505050505050565b60005473ffffffffffffffffffffffffffffffffffffffff16331461029e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e6572000000000000000000000000000000000000000000000060448201526064015b60405180910390fd5b6002546000546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9283169263a9059cbb92169083906370a0823190602401602060405180830381865afa158015610319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033d91906107fa565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af11580156103ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d19190610813565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f4e6f74206f776e657200000000000000000000000000000000000000000000006044820152606401610295565b600155565b61046633848484610184565b6104cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f4e6f7420696e2077686974656c697374000000000000000000000000000000006044820152606401610295565b3360009081526003602052604090205460ff1615610546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f416c726561647920636c61696d656400000000000000000000000000000000006044820152606401610295565b336000818152600360205260409081902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905560025490517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101929092526024820183905273ffffffffffffffffffffffffffffffffffffffff169063a9059cbb906044016020604051808303816000875af11580156105f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061a9190610813565b50505050565b60008261062d8584610636565b14949350505050565b600081815b8451811015610671576106678286838151811061065a5761065a610835565b6020026020010151610679565b915060010161063b565b509392505050565b60008183106106955760008281526020849052604090206106a4565b60008381526020839052604090205b9392505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146106cf57600080fd5b919050565b60008083601f8401126106e657600080fd5b50813567ffffffffffffffff8111156106fe57600080fd5b6020830191508360208260051b850101111561071957600080fd5b9250929050565b6000806000806060858703121561073657600080fd5b61073f856106ab565b9350602085013567ffffffffffffffff81111561075b57600080fd5b610767878288016106d4565b9598909750949560400135949350505050565b60006020828403121561078c57600080fd5b5035919050565b6000602082840312156107a557600080fd5b6106a4826106ab565b6000806000604084860312156107c357600080fd5b833567ffffffffffffffff8111156107da57600080fd5b6107e6868287016106d4565b909790965060209590950135949350505050565b60006020828403121561080c57600080fd5b5051919050565b60006020828403121561082557600080fd5b815180151581146106a457600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122044ef5b087287cf6a05d953d4db232a1eeba2ce610a243bd2918ada23360cf1b964736f6c63430008180033

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

8636093b01be28cea4bd1d51f321d6746929ef802e8e746b56e301ecd199b5ae00000000000000000000000046305b2ebcd92809d5fcef577c20c28a185af03c

-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x8636093b01be28cea4bd1d51f321d6746929ef802e8e746b56e301ecd199b5ae
Arg [1] : _token (address): 0x46305B2eBcd92809d5fcEf577C20C28A185Af03c

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 8636093b01be28cea4bd1d51f321d6746929ef802e8e746b56e301ecd199b5ae
Arg [1] : 00000000000000000000000046305b2ebcd92809d5fcef577c20c28a185af03c


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  ]

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.