ETH Price: $2,742.83 (+0.51%)

Contract

0xF7574F931DC2EC667e5574E1442d8A8439184219
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Rest Of To...128372002021-07-16 9:51:471315 days ago1626429107IN
0xF7574F93...439184219
0 ETH0.0013100835
Claim127302352021-06-29 17:20:261332 days ago1624987226IN
0xF7574F93...439184219
0 ETH0.0019312423
Claim127290662021-06-29 12:53:051332 days ago1624971185IN
0xF7574F93...439184219
0 ETH0.0010072612
Claim127286652021-06-29 11:22:171332 days ago1624965737IN
0xF7574F93...439184219
0 ETH0.0011745314
Claim127282462021-06-29 9:43:301332 days ago1624959810IN
0xF7574F93...439184219
0 ETH0.0008397310
Claim127276232021-06-29 7:21:341332 days ago1624951294IN
0xF7574F93...439184219
0 ETH0.0010070512
Claim127231432021-06-28 14:51:031333 days ago1624891863IN
0xF7574F93...439184219
0 ETH0.0009157128
Claim127231412021-06-28 14:50:501333 days ago1624891850IN
0xF7574F93...439184219
0 ETH0.0028293728
Claim127227312021-06-28 13:15:491333 days ago1624886149IN
0xF7574F93...439184219
0 ETH0.0020206620.00000145
Claim127208552021-06-28 6:12:201333 days ago1624860740IN
0xF7574F93...439184219
0 ETH0.0010072612
Claim127208512021-06-28 6:11:451333 days ago1624860705IN
0xF7574F93...439184219
0 ETH0.0010907613
Claim127206942021-06-28 5:34:261333 days ago1624858466IN
0xF7574F93...439184219
0 ETH0.0008391910
Claim127169322021-06-27 15:43:581334 days ago1624808638IN
0xF7574F93...439184219
0 ETH0.0011112911
Claim127166592021-06-27 14:41:511334 days ago1624804911IN
0xF7574F93...439184219
0 ETH0.0008395110
Claim127165622021-06-27 14:18:121334 days ago1624803492IN
0xF7574F93...439184219
0 ETH0.0008394110
Claim127164482021-06-27 13:57:181334 days ago1624802238IN
0xF7574F93...439184219
0 ETH0.0008389710
Claim127163592021-06-27 13:41:121334 days ago1624801272IN
0xF7574F93...439184219
0 ETH0.0008392110
Claim127160002021-06-27 12:15:431334 days ago1624796143IN
0xF7574F93...439184219
0 ETH0.0008396110
Claim127157712021-06-27 11:15:471334 days ago1624792547IN
0xF7574F93...439184219
0 ETH0.0008390910
Claim127155782021-06-27 10:29:251334 days ago1624789765IN
0xF7574F93...439184219
0 ETH0.0008397910
Claim127155582021-06-27 10:25:591334 days ago1624789559IN
0xF7574F93...439184219
0 ETH0.000419765.00000145
Claim127150172021-06-27 8:21:541334 days ago1624782114IN
0xF7574F93...439184219
0 ETH0.000707587.00000145
Claim127149382021-06-27 8:01:581334 days ago1624780918IN
0xF7574F93...439184219
0 ETH0.0008391710
Claim127136282021-06-27 3:16:071334 days ago1624763767IN
0xF7574F93...439184219
0 ETH0.000587587
Claim127128762021-06-27 0:32:021334 days ago1624753922IN
0xF7574F93...439184219
0 ETH0.0009228611
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:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : distributor.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.6.11;

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

contract MerkleDistributor is IMerkleDistributor {

    address public immutable override token;
    bytes32 public override merkleRoot;

    address public owner;
    address public treasury;
    uint256 public claimRestTimeFrom;

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

    constructor(address token_, bytes32 merkleRoot_, address treasury_) public {
        token = token_;
        merkleRoot = merkleRoot_;
        owner = msg.sender;
        treasury = treasury_;
        claimRestTimeFrom = block.timestamp + 3 weeks;
    }

    function setOwner (address newOwner) public {
        require (owner == msg.sender, "only owner can set root");
        owner = newOwner;
    }

    function setroot (bytes32 newroot) public {
        require (owner == msg.sender, "only owner can set root");
        merkleRoot = newroot;
    }

    function contractTokenBalance() public view returns (uint) {
        return IERC20(token).balanceOf(address(this));
    }

    function claimRestOfTokensToTreasury() public returns (bool) {
        require(msg.sender == owner, "Only owner");
        require(block.timestamp >= claimRestTimeFrom, "Not yet claimable");
        require(IERC20(token).balanceOf(address(this)) >= 0, "No balance");
        require(IERC20(token).transfer(treasury, IERC20(token).balanceOf(address(this))));
        return true;
    }

    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 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);
    }
}

File 2 of 4 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

File 3 of 4 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

File 4 of 4 : IMerkleDistributor.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0;

// 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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"},{"internalType":"address","name":"treasury_","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":[],"name":"claimRestOfTokensToTreasury","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimRestTimeFrom","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractTokenBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newroot","type":"bytes32"}],"name":"setroot","outputs":[],"stateMutability":"nonpayable","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"}]

60a060405234801561001057600080fd5b506040516111983803806111988339818101604052606081101561003357600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050508273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508160008190555033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550621baf80420160038190555050505060805160601c61103b61015d600039806105eb52806108495280610b325280610c7e5280610cdd5280610e69525061103b6000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b146102255780639e34070f1461026f5780639e9aed62146102b5578063b4411eb1146102d3578063cfea114114610301578063fc0c546a14610323576100a9565b806313af4035146100ae5780632e7ba6ef146100f25780632eb4a7ab1461019f57806361d027b3146101bd57806369d1472514610207575b600080fd5b6100f0600480360360208110156100c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061036d565b005b61019d6004803603608081101561010857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019064010000000081111561015957600080fd5b82018360208201111561016b57600080fd5b8035906020019184602083028401116401000000008311171561018d57600080fd5b9091929391929390505050610474565b005b6101a761079b565b6040518082815260200191505060405180910390f35b6101c56107a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61020f6107c7565b6040518082815260200191505060405180910390f35b61022d6107cd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61029b6004803603602081101561028557600080fd5b81019080803590602001909291905050506107f3565b604051808215151515815260200191505060405180910390f35b6102bd610845565b6040518082815260200191505060405180910390f35b6102ff600480360360208110156102e957600080fd5b8101908080359060200190929190505050610924565b005b6103096109f1565b604051808215151515815260200191505060405180910390f35b61032b610e67565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610430576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f6f6e6c79206f776e65722063616e2073657420726f6f7400000000000000000081525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61047d856107f3565b156104d3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180610f9a6028913960400191505060405180910390fd5b6000858585604051602001808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b8152601401828152602001935050505060405160208183030381529060405280519060200120905061058b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060005483610e8b565b6105e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610fc26021913960400191505060405180910390fd5b6105e986610f43565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb86866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561069057600080fd5b505af11580156106a4573d6000803e3d6000fd5b505050506040513d60208110156106ba57600080fd5b8101908080519060200190929190505050610720576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180610fe36023913960400191505060405180910390fd5b7f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed026868686604051808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a1505050505050565b60005481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610100838161080157fe5b0490506000610100848161081157fe5b0690506000600460008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156108e457600080fd5b505afa1580156108f8573d6000803e3d6000fd5b505050506040513d602081101561090e57600080fd5b8101908080519060200190929190505050905090565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f6f6e6c79206f776e65722063616e2073657420726f6f7400000000000000000081525060200191505060405180910390fd5b8060008190555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ab6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600354421015610b2e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e6f742079657420636c61696d61626c6500000000000000000000000000000081525060200191505060405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bcd57600080fd5b505afa158015610be1573d6000803e3d6000fd5b505050506040513d6020811015610bf757600080fd5b81019080805190602001909291905050501015610c7c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e6f2062616c616e63650000000000000000000000000000000000000000000081525060200191505060405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610d7857600080fd5b505afa158015610d8c573d6000803e3d6000fd5b505050506040513d6020811015610da257600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e1c57600080fd5b505af1158015610e30573d6000803e3d6000fd5b505050506040513d6020811015610e4657600080fd5b8101908080519060200190929190505050610e6057600080fd5b6001905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008082905060008090505b8551811015610f35576000868281518110610eae57fe5b60200260200101519050808311610ef55782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610f27565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b508080600101915050610e97565b508381149150509392505050565b60006101008281610f5057fe5b04905060006101008381610f6057fe5b069050806001901b600460008481526020019081526020016000205417600460008481526020019081526020016000208190555050505056fe4d65726b6c654469737472696275746f723a2044726f7020616c726561647920636c61696d65642e4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e4d65726b6c654469737472696275746f723a205472616e73666572206661696c65642ea264697066735822122087722e1f4a2c44365e50d9d35eccc791fb594696e286de1e2f70029557fcaa4a64736f6c634300060b003300000000000000000000000000a55375002f3cda400383f479e7cd57bad029a980c9b47592e3309d866220fe8acb74eec94dd54835fae0faf159b3de741d56640000000000000000000000003aac79279108cf1c7db7d8250c87eeffc63676f5

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b146102255780639e34070f1461026f5780639e9aed62146102b5578063b4411eb1146102d3578063cfea114114610301578063fc0c546a14610323576100a9565b806313af4035146100ae5780632e7ba6ef146100f25780632eb4a7ab1461019f57806361d027b3146101bd57806369d1472514610207575b600080fd5b6100f0600480360360208110156100c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061036d565b005b61019d6004803603608081101561010857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019064010000000081111561015957600080fd5b82018360208201111561016b57600080fd5b8035906020019184602083028401116401000000008311171561018d57600080fd5b9091929391929390505050610474565b005b6101a761079b565b6040518082815260200191505060405180910390f35b6101c56107a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61020f6107c7565b6040518082815260200191505060405180910390f35b61022d6107cd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61029b6004803603602081101561028557600080fd5b81019080803590602001909291905050506107f3565b604051808215151515815260200191505060405180910390f35b6102bd610845565b6040518082815260200191505060405180910390f35b6102ff600480360360208110156102e957600080fd5b8101908080359060200190929190505050610924565b005b6103096109f1565b604051808215151515815260200191505060405180910390f35b61032b610e67565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610430576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f6f6e6c79206f776e65722063616e2073657420726f6f7400000000000000000081525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61047d856107f3565b156104d3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180610f9a6028913960400191505060405180910390fd5b6000858585604051602001808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b8152601401828152602001935050505060405160208183030381529060405280519060200120905061058b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060005483610e8b565b6105e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610fc26021913960400191505060405180910390fd5b6105e986610f43565b7f00000000000000000000000000a55375002f3cda400383f479e7cd57bad029a973ffffffffffffffffffffffffffffffffffffffff1663a9059cbb86866040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561069057600080fd5b505af11580156106a4573d6000803e3d6000fd5b505050506040513d60208110156106ba57600080fd5b8101908080519060200190929190505050610720576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180610fe36023913960400191505060405180910390fd5b7f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed026868686604051808481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a1505050505050565b60005481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610100838161080157fe5b0490506000610100848161081157fe5b0690506000600460008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b60007f00000000000000000000000000a55375002f3cda400383f479e7cd57bad029a973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156108e457600080fd5b505afa1580156108f8573d6000803e3d6000fd5b505050506040513d602081101561090e57600080fd5b8101908080519060200190929190505050905090565b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f6f6e6c79206f776e65722063616e2073657420726f6f7400000000000000000081525060200191505060405180910390fd5b8060008190555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ab6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4f6e6c79206f776e65720000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600354421015610b2e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4e6f742079657420636c61696d61626c6500000000000000000000000000000081525060200191505060405180910390fd5b60007f00000000000000000000000000a55375002f3cda400383f479e7cd57bad029a973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bcd57600080fd5b505afa158015610be1573d6000803e3d6000fd5b505050506040513d6020811015610bf757600080fd5b81019080805190602001909291905050501015610c7c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f4e6f2062616c616e63650000000000000000000000000000000000000000000081525060200191505060405180910390fd5b7f00000000000000000000000000a55375002f3cda400383f479e7cd57bad029a973ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000000a55375002f3cda400383f479e7cd57bad029a973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610d7857600080fd5b505afa158015610d8c573d6000803e3d6000fd5b505050506040513d6020811015610da257600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610e1c57600080fd5b505af1158015610e30573d6000803e3d6000fd5b505050506040513d6020811015610e4657600080fd5b8101908080519060200190929190505050610e6057600080fd5b6001905090565b7f00000000000000000000000000a55375002f3cda400383f479e7cd57bad029a981565b60008082905060008090505b8551811015610f35576000868281518110610eae57fe5b60200260200101519050808311610ef55782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610f27565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b508080600101915050610e97565b508381149150509392505050565b60006101008281610f5057fe5b04905060006101008381610f6057fe5b069050806001901b600460008481526020019081526020016000205417600460008481526020019081526020016000208190555050505056fe4d65726b6c654469737472696275746f723a2044726f7020616c726561647920636c61696d65642e4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e4d65726b6c654469737472696275746f723a205472616e73666572206661696c65642ea264697066735822122087722e1f4a2c44365e50d9d35eccc791fb594696e286de1e2f70029557fcaa4a64736f6c634300060b0033

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

00000000000000000000000000a55375002f3cda400383f479e7cd57bad029a980c9b47592e3309d866220fe8acb74eec94dd54835fae0faf159b3de741d56640000000000000000000000003aac79279108cf1c7db7d8250c87eeffc63676f5

-----Decoded View---------------
Arg [0] : token_ (address): 0x00A55375002f3cDa400383F479e7Cd57Bad029A9
Arg [1] : merkleRoot_ (bytes32): 0x80c9b47592e3309d866220fe8acb74eec94dd54835fae0faf159b3de741d5664
Arg [2] : treasury_ (address): 0x3aac79279108CF1C7dB7d8250c87eeffC63676f5

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000000a55375002f3cda400383f479e7cd57bad029a9
Arg [1] : 80c9b47592e3309d866220fe8acb74eec94dd54835fae0faf159b3de741d5664
Arg [2] : 0000000000000000000000003aac79279108cf1c7db7d8250c87eeffc63676f5


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.