ETH Price: $2,117.99 (+7.00%)
Gas: 0.08 Gwei

Contract

0x97bBB2c0C9F4B63dfadeF21Da0Ef68d1EeF46218
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw117900262021-02-04 13:29:401854 days ago1612445380IN
0x97bBB2c0...1EeF46218
0 ETH0.00605605242
Claim117878872021-02-04 5:34:231854 days ago1612416863IN
0x97bBB2c0...1EeF46218
0 ETH0.01027483143
Claim117856072021-02-03 21:04:511855 days ago1612386291IN
0x97bBB2c0...1EeF46218
0 ETH0.00819318114
Claim117837682021-02-03 14:10:341855 days ago1612361434IN
0x97bBB2c0...1EeF46218
0 ETH0.01238894218
Claim117804002021-02-03 1:49:291856 days ago1612316969IN
0x97bBB2c0...1EeF46218
0 ETH0.00797401111
Claim117798162021-02-02 23:38:381856 days ago1612309118IN
0x97bBB2c0...1EeF46218
0 ETH0.0071836100
Claim117796812021-02-02 23:10:531856 days ago1612307453IN
0x97bBB2c0...1EeF46218
0 ETH0.00664229116.78966789
Claim117782292021-02-02 17:43:241856 days ago1612287804IN
0x97bBB2c0...1EeF46218
0 ETH0.00840551117
Claim117765212021-02-02 11:22:451856 days ago1612264965IN
0x97bBB2c0...1EeF46218
0 ETH0.0059668385
Claim117753612021-02-02 6:59:351856 days ago1612249175IN
0x97bBB2c0...1EeF46218
0 ETH0.0103464144
Claim117748272021-02-02 5:02:151856 days ago1612242135IN
0x97bBB2c0...1EeF46218
0 ETH0.0070908101
Claim117746462021-02-02 4:24:251856 days ago1612239865IN
0x97bBB2c0...1EeF46218
0 ETH0.0071818100.00000145
Claim117743852021-02-02 3:26:491856 days ago1612236409IN
0x97bBB2c0...1EeF46218
0 ETH0.0093379130.00000123
Claim117739522021-02-02 1:55:231857 days ago1612230923IN
0x97bBB2c0...1EeF46218
0 ETH0.01127919157
Claim117734092021-02-01 23:55:511857 days ago1612223751IN
0x97bBB2c0...1EeF46218
0 ETH0.01070237149
Claim117733822021-02-01 23:51:511857 days ago1612223511IN
0x97bBB2c0...1EeF46218
0 ETH0.00797579111.00000145
Claim117728372021-02-01 21:43:201857 days ago1612215800IN
0x97bBB2c0...1EeF46218
0 ETH0.00933608130
Claim117726272021-02-01 20:58:451857 days ago1612213125IN
0x97bBB2c0...1EeF46218
0 ETH0.0089775125
Claim117724052021-02-01 20:10:381857 days ago1612210238IN
0x97bBB2c0...1EeF46218
0 ETH0.0143696200
Claim117718032021-02-01 17:54:011857 days ago1612202041IN
0x97bBB2c0...1EeF46218
0 ETH0.00732768102
Claim117707052021-02-01 13:57:531857 days ago1612187873IN
0x97bBB2c0...1EeF46218
0 ETH0.00850027149.6
Claim117703692021-02-01 12:40:511857 days ago1612183251IN
0x97bBB2c0...1EeF46218
0 ETH0.00579564102.00000145
Claim117676072021-02-01 2:13:391857 days ago1612145619IN
0x97bBB2c0...1EeF46218
0 ETH0.0064681290
Claim117673022021-02-01 1:12:541858 days ago1612141974IN
0x97bBB2c0...1EeF46218
0 ETH0.0041503473.00000145
Claim117666482021-01-31 22:57:461858 days ago1612133866IN
0x97bBB2c0...1EeF46218
0 ETH0.00327252112
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
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-01-28
*/

// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol

// pragma solidity ^0.6.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);
}


// Dependency file: @openzeppelin/contracts/cryptography/MerkleProof.sol

// pragma solidity ^0.6.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;
    }
}


// Dependency file: @openzeppelin/contracts/GSN/Context.sol

// pragma solidity ^0.6.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


// Dependency file: @openzeppelin/contracts/access/Ownable.sol

// pragma solidity ^0.6.0;

// import "@openzeppelin/contracts/GSN/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


// Dependency file: contracts/interfaces/IMerkleDistributor.sol

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

// Root file: contracts/MerkleDistributor.sol

pragma solidity =0.6.11;

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

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

    // This is a packed array of booleans.
    mapping(uint256 => uint256) private claimedBitMap;
    
    event Withdraw(
        address indexed withdrawer,
        uint256 amount
    );

    constructor(address token_, bytes32 merkleRoot_) public {
        token = token_;
        merkleRoot = merkleRoot_;
    }

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

    // Emergency withdraw for admin
    function withdraw(uint256 _amount) external onlyOwner {
        IERC20(token).transfer(msg.sender, _amount);
        emit Withdraw(msg.sender, _amount);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"withdrawer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","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":"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405234801561001057600080fd5b50604051610a41380380610a418339818101604052604081101561003357600080fd5b508051602090910151600061004f6001600160e01b036100b416565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060609190911b6001600160601b03191660805260a0526100b8565b3390565b60805160601c60a0516109546100ed600039806103d8528061058052508061026e5280610449528061079552506109546000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b1461015a5780639e34070f1461017e578063f2fde38b146101af578063fc0c546a146101d557610088565b80632e1a7d4d1461008d5780632e7ba6ef146100ac5780632eb4a7ab14610138578063715018a614610152575b600080fd5b6100aa600480360360208110156100a357600080fd5b50356101dd565b005b6100aa600480360360808110156100c257600080fd5b8135916001600160a01b0360208201351691604082013591908101906080810160608201356401000000008111156100f957600080fd5b82018360208201111561010b57600080fd5b8035906020019184602083028401116401000000008311171561012d57600080fd5b50909250905061031b565b61014061057e565b60408051918252519081900360200190f35b6100aa6105a2565b610162610656565b604080516001600160a01b039092168252519081900360200190f35b61019b6004803603602081101561019457600080fd5b5035610665565b604080519115158252519081900360200190f35b6100aa600480360360208110156101c557600080fd5b50356001600160a01b0316610689565b610162610793565b6101e56107b7565b6000546001600160a01b03908116911614610247576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040805163a9059cbb60e01b81523360048201526024810183905290516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163a9059cbb9160448083019260209291908290030181600087803b1580156102b657600080fd5b505af11580156102ca573d6000803e3d6000fd5b505050506040513d60208110156102e057600080fd5b505060408051828152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250565b61032485610665565b156103605760405162461bcd60e51b81526004018080602001828103825260288152602001806108b36028913960400191505060405180910390fd5b6040805160208082018890526bffffffffffffffffffffffff19606088901b1682840152605480830187905283518084039091018152607483018085528151918301919091206094928602808501840190955285825293610403939192879287928392909101908490808284376000920191909152507f000000000000000000000000000000000000000000000000000000000000000092508591506107bb9050565b61043e5760405162461bcd60e51b81526004018080602001828103825260218152602001806108db6021913960400191505060405180910390fd5b61044786610864565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb86866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156104c757600080fd5b505af11580156104db573d6000803e3d6000fd5b505050506040513d60208110156104f157600080fd5b505161052e5760405162461bcd60e51b81526004018080602001828103825260238152602001806108fc6023913960400191505060405180910390fd5b604080518781526001600160a01b038716602082015280820186905290517f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269181900360600190a1505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6105aa6107b7565b6000546001600160a01b0390811691161461060c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610100810460009081526001602081905260409091205460ff9092161b9081161490565b6106916107b7565b6000546001600160a01b039081169116146106f3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166107385760405162461bcd60e51b815260040180806020018281038252602681526020018061088d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b3390565b600081815b85518110156108595760008682815181106107d757fe5b6020026020010151905080831161081e5782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610850565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b506001016107c0565b509092149392505050565b61010081046000908152600160208190526040909120805460ff9093169190911b909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734d65726b6c654469737472696275746f723a2044726f7020616c726561647920636c61696d65642e4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e4d65726b6c654469737472696275746f723a205472616e73666572206661696c65642ea2646970667358221220874c7fce786e2f274f83ace520b25693c96ad2fee49dd81669c51bffd0be943664736f6c634300060b0033000000000000000000000000a1faa113cbe53436df28ff0aee54275c13b40975e38f564278ef159b20afd6dcc6731c41d76f47c8cd9a30ea33a578bfc63a3f5e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b1461015a5780639e34070f1461017e578063f2fde38b146101af578063fc0c546a146101d557610088565b80632e1a7d4d1461008d5780632e7ba6ef146100ac5780632eb4a7ab14610138578063715018a614610152575b600080fd5b6100aa600480360360208110156100a357600080fd5b50356101dd565b005b6100aa600480360360808110156100c257600080fd5b8135916001600160a01b0360208201351691604082013591908101906080810160608201356401000000008111156100f957600080fd5b82018360208201111561010b57600080fd5b8035906020019184602083028401116401000000008311171561012d57600080fd5b50909250905061031b565b61014061057e565b60408051918252519081900360200190f35b6100aa6105a2565b610162610656565b604080516001600160a01b039092168252519081900360200190f35b61019b6004803603602081101561019457600080fd5b5035610665565b604080519115158252519081900360200190f35b6100aa600480360360208110156101c557600080fd5b50356001600160a01b0316610689565b610162610793565b6101e56107b7565b6000546001600160a01b03908116911614610247576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6040805163a9059cbb60e01b81523360048201526024810183905290516001600160a01b037f000000000000000000000000a1faa113cbe53436df28ff0aee54275c13b40975169163a9059cbb9160448083019260209291908290030181600087803b1580156102b657600080fd5b505af11580156102ca573d6000803e3d6000fd5b505050506040513d60208110156102e057600080fd5b505060408051828152905133917f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364919081900360200190a250565b61032485610665565b156103605760405162461bcd60e51b81526004018080602001828103825260288152602001806108b36028913960400191505060405180910390fd5b6040805160208082018890526bffffffffffffffffffffffff19606088901b1682840152605480830187905283518084039091018152607483018085528151918301919091206094928602808501840190955285825293610403939192879287928392909101908490808284376000920191909152507fe38f564278ef159b20afd6dcc6731c41d76f47c8cd9a30ea33a578bfc63a3f5e92508591506107bb9050565b61043e5760405162461bcd60e51b81526004018080602001828103825260218152602001806108db6021913960400191505060405180910390fd5b61044786610864565b7f000000000000000000000000a1faa113cbe53436df28ff0aee54275c13b409756001600160a01b031663a9059cbb86866040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156104c757600080fd5b505af11580156104db573d6000803e3d6000fd5b505050506040513d60208110156104f157600080fd5b505161052e5760405162461bcd60e51b81526004018080602001828103825260238152602001806108fc6023913960400191505060405180910390fd5b604080518781526001600160a01b038716602082015280820186905290517f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed0269181900360600190a1505050505050565b7fe38f564278ef159b20afd6dcc6731c41d76f47c8cd9a30ea33a578bfc63a3f5e81565b6105aa6107b7565b6000546001600160a01b0390811691161461060c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b610100810460009081526001602081905260409091205460ff9092161b9081161490565b6106916107b7565b6000546001600160a01b039081169116146106f3576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166107385760405162461bcd60e51b815260040180806020018281038252602681526020018061088d6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b7f000000000000000000000000a1faa113cbe53436df28ff0aee54275c13b4097581565b3390565b600081815b85518110156108595760008682815181106107d757fe5b6020026020010151905080831161081e5782816040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209250610850565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b506001016107c0565b509092149392505050565b61010081046000908152600160208190526040909120805460ff9093169190911b909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734d65726b6c654469737472696275746f723a2044726f7020616c726561647920636c61696d65642e4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f662e4d65726b6c654469737472696275746f723a205472616e73666572206661696c65642ea2646970667358221220874c7fce786e2f274f83ace520b25693c96ad2fee49dd81669c51bffd0be943664736f6c634300060b0033

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

000000000000000000000000a1faa113cbe53436df28ff0aee54275c13b40975e38f564278ef159b20afd6dcc6731c41d76f47c8cd9a30ea33a578bfc63a3f5e

-----Decoded View---------------
Arg [0] : token_ (address): 0xa1faa113cbE53436Df28FF0aEe54275c13B40975
Arg [1] : merkleRoot_ (bytes32): 0xe38f564278ef159b20afd6dcc6731c41d76f47c8cd9a30ea33a578bfc63a3f5e

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a1faa113cbe53436df28ff0aee54275c13b40975
Arg [1] : e38f564278ef159b20afd6dcc6731c41d76f47c8cd9a30ea33a578bfc63a3f5e


Deployed Bytecode Sourcemap

8812:1950:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10598:161;;;;;;;;;;;;;;;;-1:-1:-1;10598:161:0;;:::i;:::-;;9903:650;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9903:650:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9903:650:0;;-1:-1:-1;9903:650:0;-1:-1:-1;9903:650:0;:::i;8923:44::-;;;:::i;:::-;;;;;;;;;;;;;;;;6970:148;;;:::i;6328:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;6328:79:0;;;;;;;;;;;;;;9306:331;;;;;;;;;;;;;;;;-1:-1:-1;9306:331:0;;:::i;:::-;;;;;;;;;;;;;;;;;;7273:244;;;;;;;;;;;;;;;;-1:-1:-1;7273:244:0;-1:-1:-1;;;;;7273:244:0;;:::i;8877:39::-;;;:::i;10598:161::-;6550:12;:10;:12::i;:::-;6540:6;;-1:-1:-1;;;;;6540:6:0;;;:22;;;6532:67;;;;;-1:-1:-1;;;6532:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10663:43:::1;::::0;;-1:-1:-1;;;10663:43:0;;10686:10:::1;10663:43;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;10670:5:0::1;10663:22;::::0;::::1;::::0;:43;;;;;::::1;::::0;;;;;;;;-1:-1:-1;10663:22:0;:43;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;10722:29:0::1;::::0;;;;;;;10731:10:::1;::::0;10722:29:::1;::::0;;;;;10663:43:::1;10722:29:::0;;::::1;10598:161:::0;:::o;9903:650::-;10036:16;10046:5;10036:9;:16::i;:::-;10035:17;10027:70;;;;-1:-1:-1;;;10027:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10172:40;;;;;;;;;;-1:-1:-1;;10172:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10162:51;;;;;;;;;10232:49;;;;;;;;;;;;;;;10162:51;10232:49;;10172:40;;10251:11;;;;;;10232:49;;;;10251:11;;10232:49;10251:11;10232:49;;;;;;;;;-1:-1:-1;10264:10:0;;-1:-1:-1;10276:4:0;;-1:-1:-1;10232:18:0;;-1:-1:-1;10232:49:0:i;:::-;10224:95;;;;-1:-1:-1;;;10224:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10380:18;10392:5;10380:11;:18::i;:::-;10424:5;-1:-1:-1;;;;;10417:22:0;;10440:7;10449:6;10417:39;;;;;;;;;;;;;-1:-1:-1;;;;;10417:39:0;-1:-1:-1;;;;;10417:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10417:39:0;10409:87;;;;-1:-1:-1;;;10409:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10514:31;;;;;;-1:-1:-1;;;;;10514:31:0;;;;;;;;;;;;;;;;;;;;;;;9903:650;;;;;;:::o;8923:44::-;;;:::o;6970:148::-;6550:12;:10;:12::i;:::-;6540:6;;-1:-1:-1;;;;;6540:6:0;;;:22;;;6532:67;;;;;-1:-1:-1;;;6532:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7077:1:::1;7061:6:::0;;7040:40:::1;::::0;-1:-1:-1;;;;;7061:6:0;;::::1;::::0;7040:40:::1;::::0;7077:1;;7040:40:::1;7108:1;7091:19:::0;;-1:-1:-1;;;;;;7091:19:0::1;::::0;;6970:148::o;6328:79::-;6366:7;6393:6;-1:-1:-1;;;;;6393:6:0;6328:79;:::o;9306:331::-;9422:3;9414:11;;9370:4;9506:31;;;:13;:31;;;;;;;;;9462:11;;;;9564:20;9603:18;;;:26;;9306:331::o;7273:244::-;6550:12;:10;:12::i;:::-;6540:6;;-1:-1:-1;;;;;6540:6:0;;;:22;;;6532:67;;;;;-1:-1:-1;;;6532:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7362:22:0;::::1;7354:73;;;;-1:-1:-1::0;;;7354:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7464:6;::::0;;7443:38:::1;::::0;-1:-1:-1;;;;;7443:38:0;;::::1;::::0;7464:6;::::1;::::0;7443:38:::1;::::0;::::1;7492:6;:17:::0;;-1:-1:-1;;;;;;7492:17:0::1;-1:-1:-1::0;;;;;7492:17:0;;;::::1;::::0;;;::::1;::::0;;7273:244::o;8877:39::-;;;:::o;4814:106::-;4902:10;4814:106;:::o;3373:796::-;3464:4;3504;3464;3521:525;3545:5;:12;3541:1;:16;3521:525;;;3579:20;3602:5;3608:1;3602:8;;;;;;;;;;;;;;3579:31;;3647:12;3631;:28;3627:408;;3801:12;3815;3784:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3774:55;;;;;;3759:70;;3627:408;;;3991:12;4005;3974:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3964:55;;;;;;3949:70;;3627:408;-1:-1:-1;3559:3:0;;3521:525;;;-1:-1:-1;4141:20:0;;;;3373:796;-1:-1:-1;;;3373:796:0:o;9645:250::-;9735:3;9727:11;;9700:24;9831:31;;;9866:1;9831:31;;;;;;;;;;9775:11;;;;9866:20;;;;9831:56;;;9797:90;;9645:250::o

Swarm Source

ipfs://874c7fce786e2f274f83ace520b25693c96ad2fee49dd81669c51bffd0be9436

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.