ETH Price: $3,689.97 (+2.74%)

Contract

0xb9Fce340E39E6fDfc641564922C1EF2716f70F04
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim135591512021-11-05 21:57:051121 days ago1636149425IN
0xb9Fce340...716f70F04
0 ETH0.0030117597
Claim135591512021-11-05 21:57:051121 days ago1636149425IN
0xb9Fce340...716f70F04
0 ETH0.0023907777
Claim135447722021-11-03 15:54:181123 days ago1635954858IN
0xb9Fce340...716f70F04
0 ETH0.00501657112.2
Claim134816342021-10-24 17:58:481133 days ago1635098328IN
0xb9Fce340...716f70F04
0 ETH0.0028160690.6623902
Claim133673932021-10-06 19:53:241151 days ago1633550004IN
0xb9Fce340...716f70F04
0 ETH0.0038364123.51193834
Claim133673932021-10-06 19:53:241151 days ago1633550004IN
0xb9Fce340...716f70F04
0 ETH0.0038364123.51193834
Claim133673932021-10-06 19:53:241151 days ago1633550004IN
0xb9Fce340...716f70F04
0 ETH0.0038364123.51193834
Claim133673702021-10-06 19:48:211151 days ago1633549701IN
0xb9Fce340...716f70F04
0 ETH0.00989175126.2976281
Claim133589972021-10-05 12:10:191152 days ago1633435819IN
0xb9Fce340...716f70F04
0 ETH0.0034180356.61899161
Claim133500792021-10-04 2:51:051153 days ago1633315865IN
0xb9Fce340...716f70F04
0 ETH0.0013045642
Claim133497342021-10-04 1:29:481153 days ago1633310988IN
0xb9Fce340...716f70F04
0 ETH0.0043876556
Claim133460872021-10-03 12:00:271154 days ago1633262427IN
0xb9Fce340...716f70F04
0 ETH0.001548850.75887808
Claim133460872021-10-03 12:00:271154 days ago1633262427IN
0xb9Fce340...716f70F04
0 ETH0.001548850.75887808
Claim133460842021-10-03 11:59:051154 days ago1633262345IN
0xb9Fce340...716f70F04
0 ETH0.0014031145.98409178
Claim133460832021-10-03 11:58:521154 days ago1633262332IN
0xb9Fce340...716f70F04
0 ETH0.003852149.71289689
Claim133439102021-10-03 3:39:441154 days ago1633232384IN
0xb9Fce340...716f70F04
0 ETH0.0017544456.48376652
Claim133439102021-10-03 3:39:441154 days ago1633232384IN
0xb9Fce340...716f70F04
0 ETH0.0017544456.48376652
Claim133439102021-10-03 3:39:441154 days ago1633232384IN
0xb9Fce340...716f70F04
0 ETH0.0017544456.48376652
Claim133439102021-10-03 3:39:441154 days ago1633232384IN
0xb9Fce340...716f70F04
0 ETH0.004421656.48376652
Claim133353222021-10-01 19:19:411156 days ago1633115981IN
0xb9Fce340...716f70F04
0 ETH0.00419449135.19737993
Claim133353182021-10-01 19:19:131156 days ago1633115953IN
0xb9Fce340...716f70F04
0 ETH0.00476519153.59205168
Claim133353152021-10-01 19:18:221156 days ago1633115902IN
0xb9Fce340...716f70F04
0 ETH0.01031778168.49495819
Claim133331642021-10-01 11:31:331156 days ago1633087893IN
0xb9Fce340...716f70F04
0 ETH0.0024211377.94763269
Claim133331632021-10-01 11:31:301156 days ago1633087890IN
0xb9Fce340...716f70F04
0 ETH0.0021573369.45491365
Claim133331632021-10-01 11:31:301156 days ago1633087890IN
0xb9Fce340...716f70F04
0 ETH0.0054418669.45491365
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:
MerkleDistributor

Compiler Version
v0.6.11+commit.5ef660b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-06-01
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.6.7;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @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 These functions deal with verification of Merkle trees (hash trees),
 */
library MerkleProof {
    /**
     * @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) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

// Allows anyone to claim a token if they exist in a merkle root.
interface IMerkleDistributor {
    // Returns the address of the token distributed by this contract.
    function token() external view returns (address);
    // Returns the merkle root of the merkle tree containing account balances available to claim.
    function merkleRoot() external view returns (bytes32);
    // Returns true if the index has been marked claimed.
    function isClaimed(uint256 index) external view returns (bool);
    // Claim the given amount of the token to the given address. Reverts if the inputs are invalid.
    function claim(uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof) external;

    // This event is triggered whenever a call to #claim succeeds.
    event Claimed(uint256 index, address account, uint256 amount);
}

contract MerkleDistributor is IMerkleDistributor {
    address public immutable override token;
    bytes32 public immutable override merkleRoot;

    // This is a packed array of booleans.
    mapping(uint256 => uint256) private claimedBitMap;

    address public immutable treasury;

    uint256 private constant RECLAIM_LENGTH = 90 * 24 * 60 * 60; // 90 days
    uint256 public immutable reclaimDate;
    MerkleDistributor public immutable original;

    constructor(address token_, bytes32 merkleRoot_, address treasury_, address _original) public {
        token = token_;
        merkleRoot = merkleRoot_;
        treasury = treasury_;
        reclaimDate = now + RECLAIM_LENGTH;
        original = MerkleDistributor(_original);
    }

    function isClaimed(uint256 index) public view override returns (bool) {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        uint256 claimedWord = claimedBitMap[claimedWordIndex];
        uint256 mask = (1 << claimedBitIndex);
        return claimedWord & mask == mask;
    }

    function _setClaimed(uint256 index) private {
        uint256 claimedWordIndex = index / 256;
        uint256 claimedBitIndex = index % 256;
        claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex);
    }

    function reclaim() external {
        require(msg.sender == treasury, "TRE");
        require(now > reclaimDate, "DAT");
        IERC20(token).transfer(treasury, IERC20(token).balanceOf(address(this)));
    }

    function claimBoth(
        address account,
        uint256 index,
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint256 indexOriginal,
        uint256 amountOriginal,
        bytes32[] calldata merkleProofOriginal
    ) external {
        this.claim(index, account, amount, merkleProof);
        original.claim(indexOriginal, account, amountOriginal, merkleProofOriginal);
    }

    function claim(uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof) external override {
        require(!isClaimed(index), 'MerkleDistributor: Drop already claimed.');

        // Verify the merkle proof.
        bytes32 node = keccak256(abi.encodePacked(index, account, amount));
        require(MerkleProof.verify(merkleProof, merkleRoot, node), 'MerkleDistributor: Invalid proof.');

        // Mark it claimed and send the token.
        _setClaimed(index);
        require(IERC20(token).transfer(account, amount), 'MerkleDistributor: Transfer failed.');

        emit Claimed(index, account, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"},{"internalType":"address","name":"treasury_","type":"address"},{"internalType":"address","name":"_original","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"indexOriginal","type":"uint256"},{"internalType":"uint256","name":"amountOriginal","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProofOriginal","type":"bytes32[]"}],"name":"claimBoth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","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":"original","outputs":[{"internalType":"contract MerkleDistributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reclaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reclaimDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

61012060405234801561001157600080fd5b50604051610bb1380380610bb18339818101604052608081101561003457600080fd5b508051602082015160408301516060938401516001600160601b031993851b841660805260a092909252831b821660c052426276a7000160e05290911b166101005260805160601c60a05160c05160601c60e0516101005160601c610ad06100e16000398061054c528061087e5250806102a152806105f7525080610570528061059d528061069852508061038052806105285250806103f1528061066f52806107b15250610ad06000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806361d027b31161006657806361d027b31461016c57806380e9071b146101745780639e34070f1461017c578063fc0c546a146101ad578063ff49e473146101b557610093565b8063134f96d4146100985780632e7ba6ef146100b25780632eb4a7ab1461014057806346c715fa14610148575b600080fd5b6100a061029f565b60408051918252519081900360200190f35b61013e600480360360808110156100c857600080fd5b8135916001600160a01b0360208201351691604082013591908101906080810160608201356401000000008111156100ff57600080fd5b82018360208201111561011157600080fd5b8035906020019184602083028401116401000000008311171561013357600080fd5b5090925090506102c3565b005b6100a0610526565b61015061054a565b604080516001600160a01b039092168252519081900360200190f35b61015061056e565b61013e610592565b6101996004803603602081101561019257600080fd5b5035610789565b604080519115158252519081900360200190f35b6101506107af565b61013e600480360360e08110156101cb57600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561020257600080fd5b82018360208201111561021457600080fd5b8035906020019184602083028401116401000000008311171561023657600080fd5b91939092823592602081013592919060608101906040013564010000000081111561026057600080fd5b82018360208201111561027257600080fd5b8035906020019184602083028401116401000000008311171561029457600080fd5b5090925090506107d3565b7f000000000000000000000000000000000000000000000000000000000000000081565b6102cc85610789565b156103085760405162461bcd60e51b8152600401808060200182810382526028815260200180610a2f6028913960400191505060405180910390fd5b6040805160208082018890526bffffffffffffffffffffffff19606088901b16828401526054808301879052835180840390910181526074830180855281519183019190912060949286028085018401909552858252936103ab939192879287928392909101908490808284376000920191909152507f0000000000000000000000000000000000000000000000000000000000000000925085915061095e9050565b6103e65760405162461bcd60e51b8152600401808060200182810382526021815260200180610a576021913960400191505060405180910390fd5b6103ef86610a07565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb86866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561046f57600080fd5b505af1158015610483573d6000803e3d6000fd5b505050506040513d602081101561049957600080fd5b50516104d65760405162461bcd60e51b8152600401808060200182810382526023815260200180610a786023913960400191505060405180910390fd5b604080518781526001600160a01b038716602082015280820186905290517f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269181900360600190a1505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146105f5576040805162461bcd60e51b815260206004820152600360248201526254524560e81b604482015290519081900360640190fd5b7f0000000000000000000000000000000000000000000000000000000000000000421161064f576040805162461bcd60e51b815260206004820152600360248201526211105560ea1b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb917f00000000000000000000000000000000000000000000000000000000000000009184916370a0823191602480820192602092909190829003018186803b1580156106e057600080fd5b505afa1580156106f4573d6000803e3d6000fd5b505050506040513d602081101561070a57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561075b57600080fd5b505af115801561076f573d6000803e3d6000fd5b505050506040513d602081101561078557600080fd5b5050565b6101008104600090815260208190526040902054600160ff9092169190911b9081161490565b7f000000000000000000000000000000000000000000000000000000000000000081565b604051632e7ba6ef60e01b8152600481018981526001600160a01b038b16602483015260448201899052608060648301908152608483018890523092632e7ba6ef928c928e928d928d928d9260a401846020850280828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561086457600080fd5b505af1158015610878573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632e7ba6ef858b8686866040518663ffffffff1660e01b815260040180868152602001856001600160a01b03166001600160a01b03168152602001848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561093b57600080fd5b505af115801561094f573d6000803e3d6000fd5b50505050505050505050505050565b600081815b85518110156109fc57600086828151811061097a57fe5b602002602001015190508083116109c157828160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092506109f3565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b50600101610963565b509092149392505050565b610100810460009081526020819052604090208054600160ff9093169290921b909117905556fe4d65726b6c654469737472696275746f723a2044726f7020616c726561647920636c61696d65642e4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e4d65726b6c654469737472696275746f723a205472616e73666572206661696c65642ea26469706673582212203a8ac47c8c0e69f42b1f22e96bf0e19fc8dbe23c27d8b0982023cdf3100c4ee964736f6c634300060b00330000000000000000000000002d94aa3e47d9d5024503ca8491fce9a2fb4da198001c58955eaf1a3684510d4344a39e460da79c1b353c6504e11bc6e983f7a9dc000000000000000000000000f26d1bb347a59f6c283c53156519cc1b1abaca510000000000000000000000009d1f1847582261be41f5a54e8b60cad21400c74f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c806361d027b31161006657806361d027b31461016c57806380e9071b146101745780639e34070f1461017c578063fc0c546a146101ad578063ff49e473146101b557610093565b8063134f96d4146100985780632e7ba6ef146100b25780632eb4a7ab1461014057806346c715fa14610148575b600080fd5b6100a061029f565b60408051918252519081900360200190f35b61013e600480360360808110156100c857600080fd5b8135916001600160a01b0360208201351691604082013591908101906080810160608201356401000000008111156100ff57600080fd5b82018360208201111561011157600080fd5b8035906020019184602083028401116401000000008311171561013357600080fd5b5090925090506102c3565b005b6100a0610526565b61015061054a565b604080516001600160a01b039092168252519081900360200190f35b61015061056e565b61013e610592565b6101996004803603602081101561019257600080fd5b5035610789565b604080519115158252519081900360200190f35b6101506107af565b61013e600480360360e08110156101cb57600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561020257600080fd5b82018360208201111561021457600080fd5b8035906020019184602083028401116401000000008311171561023657600080fd5b91939092823592602081013592919060608101906040013564010000000081111561026057600080fd5b82018360208201111561027257600080fd5b8035906020019184602083028401116401000000008311171561029457600080fd5b5090925090506107d3565b7f00000000000000000000000000000000000000000000000000000000612d02d281565b6102cc85610789565b156103085760405162461bcd60e51b8152600401808060200182810382526028815260200180610a2f6028913960400191505060405180910390fd5b6040805160208082018890526bffffffffffffffffffffffff19606088901b16828401526054808301879052835180840390910181526074830180855281519183019190912060949286028085018401909552858252936103ab939192879287928392909101908490808284376000920191909152507f001c58955eaf1a3684510d4344a39e460da79c1b353c6504e11bc6e983f7a9dc925085915061095e9050565b6103e65760405162461bcd60e51b8152600401808060200182810382526021815260200180610a576021913960400191505060405180910390fd5b6103ef86610a07565b7f0000000000000000000000002d94aa3e47d9d5024503ca8491fce9a2fb4da1986001600160a01b031663a9059cbb86866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561046f57600080fd5b505af1158015610483573d6000803e3d6000fd5b505050506040513d602081101561049957600080fd5b50516104d65760405162461bcd60e51b8152600401808060200182810382526023815260200180610a786023913960400191505060405180910390fd5b604080518781526001600160a01b038716602082015280820186905290517f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269181900360600190a1505050505050565b7f001c58955eaf1a3684510d4344a39e460da79c1b353c6504e11bc6e983f7a9dc81565b7f0000000000000000000000009d1f1847582261be41f5a54e8b60cad21400c74f81565b7f000000000000000000000000f26d1bb347a59f6c283c53156519cc1b1abaca5181565b336001600160a01b037f000000000000000000000000f26d1bb347a59f6c283c53156519cc1b1abaca5116146105f5576040805162461bcd60e51b815260206004820152600360248201526254524560e81b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000612d02d2421161064f576040805162461bcd60e51b815260206004820152600360248201526211105560ea1b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b037f0000000000000000000000002d94aa3e47d9d5024503ca8491fce9a2fb4da198169163a9059cbb917f000000000000000000000000f26d1bb347a59f6c283c53156519cc1b1abaca519184916370a0823191602480820192602092909190829003018186803b1580156106e057600080fd5b505afa1580156106f4573d6000803e3d6000fd5b505050506040513d602081101561070a57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561075b57600080fd5b505af115801561076f573d6000803e3d6000fd5b505050506040513d602081101561078557600080fd5b5050565b6101008104600090815260208190526040902054600160ff9092169190911b9081161490565b7f0000000000000000000000002d94aa3e47d9d5024503ca8491fce9a2fb4da19881565b604051632e7ba6ef60e01b8152600481018981526001600160a01b038b16602483015260448201899052608060648301908152608483018890523092632e7ba6ef928c928e928d928d928d9260a401846020850280828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561086457600080fd5b505af1158015610878573d6000803e3d6000fd5b505050507f0000000000000000000000009d1f1847582261be41f5a54e8b60cad21400c74f6001600160a01b0316632e7ba6ef858b8686866040518663ffffffff1660e01b815260040180868152602001856001600160a01b03166001600160a01b03168152602001848152602001806020018281038252848482818152602001925060200280828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561093b57600080fd5b505af115801561094f573d6000803e3d6000fd5b50505050505050505050505050565b600081815b85518110156109fc57600086828151811061097a57fe5b602002602001015190508083116109c157828160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092506109f3565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b50600101610963565b509092149392505050565b610100810460009081526020819052604090208054600160ff9093169290921b909117905556fe4d65726b6c654469737472696275746f723a2044726f7020616c726561647920636c61696d65642e4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e4d65726b6c654469737472696275746f723a205472616e73666572206661696c65642ea26469706673582212203a8ac47c8c0e69f42b1f22e96bf0e19fc8dbe23c27d8b0982023cdf3100c4ee964736f6c634300060b0033

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

0000000000000000000000002d94aa3e47d9d5024503ca8491fce9a2fb4da198001c58955eaf1a3684510d4344a39e460da79c1b353c6504e11bc6e983f7a9dc000000000000000000000000f26d1bb347a59f6c283c53156519cc1b1abaca510000000000000000000000009d1f1847582261be41f5a54e8b60cad21400c74f

-----Decoded View---------------
Arg [0] : token_ (address): 0x2d94AA3e47d9D5024503Ca8491fcE9A2fB4DA198
Arg [1] : merkleRoot_ (bytes32): 0x001c58955eaf1a3684510d4344a39e460da79c1b353c6504e11bc6e983f7a9dc
Arg [2] : treasury_ (address): 0xf26d1Bb347a59F6C283C53156519cC1B1ABacA51
Arg [3] : _original (address): 0x9D1f1847582261bE41F5a54e8b60CAD21400C74f

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000002d94aa3e47d9d5024503ca8491fce9a2fb4da198
Arg [1] : 001c58955eaf1a3684510d4344a39e460da79c1b353c6504e11bc6e983f7a9dc
Arg [2] : 000000000000000000000000f26d1bb347a59f6c283c53156519cc1b1abaca51
Arg [3] : 0000000000000000000000009d1f1847582261be41f5a54e8b60cad21400c74f


Deployed Bytecode Sourcemap

4899:2662:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5275:36;;;:::i;:::-;;;;;;;;;;;;;;;;6908:650;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6908:650:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6908:650:0;;-1:-1:-1;6908:650:0;-1:-1:-1;6908:650:0;:::i;:::-;;5001:44;;;:::i;5318:43::-;;;:::i;:::-;;;;-1:-1:-1;;;;;5318:43:0;;;;;;;;;;;;;;5156:33;;;:::i;6263:212::-;;;:::i;5666:331::-;;;;;;;;;;;;;;;;-1:-1:-1;5666:331:0;;:::i;:::-;;;;;;;;;;;;;;;;;;4955:39;;;:::i;6483:417::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6483:417:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6483:417:0;;-1:-1:-1;6483:417:0;-1:-1:-1;6483:417:0;:::i;5275:36::-;;;:::o;6908:650::-;7041:16;7051:5;7041:9;:16::i;:::-;7040:17;7032:70;;;;-1:-1:-1;;;7032:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7177:40;;;;;;;;;;-1:-1:-1;;7177:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7167:51;;;;;;;;;7237:49;;;;;;;;;;;;;;;7167:51;7237:49;;7177:40;;7256:11;;;;;;7237:49;;;;7256:11;;7237:49;7256:11;7237:49;;;;;;;;;-1:-1:-1;7269:10:0;;-1:-1:-1;7281:4:0;;-1:-1:-1;7237:18:0;;-1:-1:-1;7237:49:0:i;:::-;7229:95;;;;-1:-1:-1;;;7229:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7385:18;7397:5;7385:11;:18::i;:::-;7429:5;-1:-1:-1;;;;;7422:22:0;;7445:7;7454:6;7422:39;;;;;;;;;;;;;-1:-1:-1;;;;;7422:39:0;-1:-1:-1;;;;;7422:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7422:39:0;7414:87;;;;-1:-1:-1;;;7414:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7519:31;;;;;;-1:-1:-1;;;;;7519:31:0;;;;;;;;;;;;;;;;;;;;;;;6908:650;;;;;;:::o;5001:44::-;;;:::o;5318:43::-;;;:::o;5156:33::-;;;:::o;6263:212::-;6310:10;-1:-1:-1;;;;;6324:8:0;6310:22;;6302:38;;;;;-1:-1:-1;;;6302:38:0;;;;;;;;;;;;-1:-1:-1;;;6302:38:0;;;;;;;;;;;;;;;6365:11;6359:3;:17;6351:33;;;;;-1:-1:-1;;;6351:33:0;;;;;;;;;;;;-1:-1:-1;;;6351:33:0;;;;;;;;;;;;;;;6428:38;;;-1:-1:-1;;;6428:38:0;;6460:4;6428:38;;;;;;-1:-1:-1;;;;;6402:5:0;6395:22;;;;6418:8;;6395:22;;6428:23;;:38;;;;;;;;;;;;;;;6395:22;6428:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6428:38:0;6395:72;;;-1:-1:-1;;;;;;6395:72:0;;;;;;;-1:-1:-1;;;;;6395:72:0;;;;;;;;;;;;;;;;;;;;6428:38;;6395:72;;;;;;;-1:-1:-1;6395:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6263:212:0:o;5666:331::-;5782:3;5774:11;;5730:4;5866:31;;;;;;;;;;;5924:1;5822:11;;;;5924:20;;;;5963:18;;;:26;;5666:331::o;4955:39::-;;;:::o;6483:417::-;6759:47;;-1:-1:-1;;;6759:47:0;;;;;;;;-1:-1:-1;;;;;6759:47:0;;;;;;;;;;;;;;;;;;;;;;;;;:4;;:10;;6770:5;;6777:7;;6786:6;;6794:11;;;;6759:47;;6794:11;6759:47;;;;6794:11;6759:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6817:8;-1:-1:-1;;;;;6817:14:0;;6832:13;6847:7;6856:14;6872:19;;6817:75;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6817:75:0;-1:-1:-1;;;;;6817:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6483:417;;;;;;;;;:::o;3230:796::-;3321:4;3361;3321;3378:525;3402:5;:12;3398:1;:16;3378:525;;;3436:20;3459:5;3465:1;3459:8;;;;;;;;;;;;;;3436:31;;3504:12;3488;:28;3484:408;;3658:12;3672;3641:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3631:55;;;;;;3616:70;;3484:408;;;3848:12;3862;3831:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3821:55;;;;;;3806:70;;3484:408;-1:-1:-1;3416:3:0;;3378:525;;;-1:-1:-1;3998:20:0;;;;3230:796;-1:-1:-1;;;3230:796:0:o;6005:250::-;6095:3;6087:11;;6060:24;6191:31;;;;;;;;;;;;6226:1;6135:11;;;;6226:20;;;;6191:56;;;6157:90;;6005:250::o

Swarm Source

ipfs://3a8ac47c8c0e69f42b1f22e96bf0e19fc8dbe23c27d8b0982023cdf3100c4ee9

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.