ETH Price: $3,288.59 (+0.28%)

Contract

0x2fCB9971cCaE8548Fe210446830c55954c8e8699
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim133437232021-10-03 2:52:571205 days ago1633229577IN
0x2fCB9971...54c8e8699
0 ETH0.0011252331.58910798
Claim133043402021-09-26 23:18:181211 days ago1632698298IN
0x2fCB9971...54c8e8699
0 ETH0.0046782645.89187573
Claim133043362021-09-26 23:17:451211 days ago1632698265IN
0x2fCB9971...54c8e8699
0 ETH0.0061173960.01623022
Claim133043042021-09-26 23:11:161211 days ago1632697876IN
0x2fCB9971...54c8e8699
0 ETH0.0062131563.29682077
Claim133042342021-09-26 22:56:511211 days ago1632697011IN
0x2fCB9971...54c8e8699
0 ETH0.0045066944.78343143
Claim133042202021-09-26 22:53:591211 days ago1632696839IN
0x2fCB9971...54c8e8699
0 ETH0.0068617268.14767365
Claim133041612021-09-26 22:41:021211 days ago1632696062IN
0x2fCB9971...54c8e8699
0 ETH0.0076472275
Claim133041112021-09-26 22:29:531211 days ago1632695393IN
0x2fCB9971...54c8e8699
0 ETH0.0075434874
Claim133035572021-09-26 20:23:231211 days ago1632687803IN
0x2fCB9971...54c8e8699
0 ETH0.0062181860.99312888
Claim133035512021-09-26 20:22:271211 days ago1632687747IN
0x2fCB9971...54c8e8699
0 ETH0.0071174869.81142726
Claim133035042021-09-26 20:12:271211 days ago1632687147IN
0x2fCB9971...54c8e8699
0 ETH0.008987789.28154557
Claim133033212021-09-26 19:30:321211 days ago1632684632IN
0x2fCB9971...54c8e8699
0 ETH0.0070143768.79466412
Claim133033202021-09-26 19:30:151211 days ago1632684615IN
0x2fCB9971...54c8e8699
0 ETH0.0062547761.33879247
Claim133028632021-09-26 17:52:521211 days ago1632678772IN
0x2fCB9971...54c8e8699
0 ETH0.0035811235.1197756
Claim133026802021-09-26 17:14:381211 days ago1632676478IN
0x2fCB9971...54c8e8699
0 ETH0.0060180359.01021872
Claim133026342021-09-26 17:06:391211 days ago1632675999IN
0x2fCB9971...54c8e8699
0 ETH0.0090910689.16043572
Claim133026242021-09-26 17:04:071211 days ago1632675847IN
0x2fCB9971...54c8e8699
0 ETH0.0098968897.05400687
Claim133026122021-09-26 17:00:151211 days ago1632675615IN
0x2fCB9971...54c8e8699
0 ETH0.0070659269.31521916
Claim133025502021-09-26 16:46:021211 days ago1632674762IN
0x2fCB9971...54c8e8699
0 ETH0.00575734106.93835424
Claim133025502021-09-26 16:46:021211 days ago1632674762IN
0x2fCB9971...54c8e8699
0 ETH0.01085128106.43835424
Claim133024712021-09-26 16:29:031211 days ago1632673743IN
0x2fCB9971...54c8e8699
0 ETH0.01647634161.5755532
Claim133024462021-09-26 16:24:331211 days ago1632673473IN
0x2fCB9971...54c8e8699
0 ETH0.01119263111.1869303
Claim133023292021-09-26 15:57:311211 days ago1632671851IN
0x2fCB9971...54c8e8699
0 ETH0.0064914164.46478628
Claim133022112021-09-26 15:33:291211 days ago1632670409IN
0x2fCB9971...54c8e8699
0 ETH0.0038817238.07811016
Claim133021052021-09-26 15:11:481211 days ago1632669108IN
0x2fCB9971...54c8e8699
0 ETH0.0053292952.2833758
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:
MetakeyDistributor

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : MetakeyDistributor.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./interfaces/IMerkleDistributor.sol";


contract MetakeyDistributor is IMerkleDistributor, Ownable, ReentrancyGuard{

    
//  __       __             __                __                                  _______   __              __                __  __                    __                         
// |  \     /  \           |  \              |  \                                |       \ |  \            |  \              |  \|  \                  |  \                        
// | $$\   /  $$  ______  _| $$_     ______  | $$   __   ______   __    __       | $$$$$$$\ \$$  _______  _| $$_     ______   \$$| $$____   __    __  _| $$_     ______    ______  
// | $$$\ /  $$$ /      \|   $$ \   |      \ | $$  /  \ /      \ |  \  |  \      | $$  | $$|  \ /       \|   $$ \   /      \ |  \| $$    \ |  \  |  \|   $$ \   /      \  /      \ 
// | $$$$\  $$$$|  $$$$$$\\$$$$$$    \$$$$$$\| $$_/  $$|  $$$$$$\| $$  | $$      | $$  | $$| $$|  $$$$$$$ \$$$$$$  |  $$$$$$\| $$| $$$$$$$\| $$  | $$ \$$$$$$  |  $$$$$$\|  $$$$$$\
// | $$\$$ $$ $$| $$    $$ | $$ __  /      $$| $$   $$ | $$    $$| $$  | $$      | $$  | $$| $$ \$$    \   | $$ __ | $$   \$$| $$| $$  | $$| $$  | $$  | $$ __ | $$  | $$| $$   \$$
// | $$ \$$$| $$| $$$$$$$$ | $$|  \|  $$$$$$$| $$$$$$\ | $$$$$$$$| $$__/ $$      | $$__/ $$| $$ _\$$$$$$\  | $$|  \| $$      | $$| $$__/ $$| $$__/ $$  | $$|  \| $$__/ $$| $$      
// | $$  \$ | $$ \$$     \  \$$  $$ \$$    $$| $$  \$$\ \$$     \ \$$    $$      | $$    $$| $$|       $$   \$$  $$| $$      | $$| $$    $$ \$$    $$   \$$  $$ \$$    $$| $$      
//  \$$      \$$  \$$$$$$$   \$$$$   \$$$$$$$ \$$   \$$  \$$$$$$$ _\$$$$$$$       \$$$$$$$  \$$ \$$$$$$$     \$$$$  \$$       \$$ \$$$$$$$   \$$$$$$     \$$$$   \$$$$$$  \$$      
//                                                               |  \__| $$                                                                                                        
//                                                                \$$    $$                                                                                                        
//                                                                 \$$$$$$                                                                                                         


    //token address
    address public override token;
    bytes32 public override merkleRoot;

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

    uint256 public currentDropIndex = 0;
    uint256 public deadline;

    uint256 public tokenIdToTransfer;
    address public addressToTransferFrom;

    event TokenIdSet(uint id, address from, uint time);
    event MerkleRootAndTokenSet(bytes32 root, address token);

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

    /**
     * @dev Sets the token id to transfer, claim deadline and address to transfer from
     */
    function setTransferIdAndAccount(uint _tokenIdToTransfer, uint _deadline, address _addressToTransferFrom) private {
        require(IERC1155(token).isApprovedForAll(_addressToTransferFrom, address(this)), 'Metakey Distributor not approved to spend NFT');

        tokenIdToTransfer = _tokenIdToTransfer;
        deadline = block.timestamp + _deadline;
        addressToTransferFrom = _addressToTransferFrom;

        emit TokenIdSet(_tokenIdToTransfer, addressToTransferFrom, deadline);
    }

    function setDeadline(uint _deadline) external onlyOwner {
        deadline = block.timestamp + _deadline;
    }

    function getSetTokenId() external view returns(uint){
        return tokenIdToTransfer;
    }

    /**
     * @dev Sets the new merkle root
     */
    function setClaimConfig (address token_, bytes32 merkleRoot_, uint _tokenIdToTransfer, uint _deadline, address _addressToTransferFrom) external onlyOwner {
        token = token_;
        merkleRoot = merkleRoot_;
        currentDropIndex += 1;
        emit MerkleRootAndTokenSet(merkleRoot, token);
        setTransferIdAndAccount(_tokenIdToTransfer, _deadline, _addressToTransferFrom);

    }

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

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


    function claim(uint256 index, address account, uint256 amount, bytes32[] calldata merkleProof) external override nonReentrant{
        require(block.timestamp <= deadline, "The claiming time has passed.");
        require(IERC1155(token).balanceOf(addressToTransferFrom, tokenIdToTransfer) >= amount, 'No NFTs left');
        require(!isClaimed(index), 'Metakey Distributor: NFT already claimed.');
        require(account != address(0), "Cannot mint to 0x0.");

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

        // Mark it claimed and send the token.
        _setClaimed(index);  
        IERC1155(token).safeTransferFrom(addressToTransferFrom, account, tokenIdToTransfer, amount, '');

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

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/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.
 */
abstract 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() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual 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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 8 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 4 of 8 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 5 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.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 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) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 8 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
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 7 of 8 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 8 of 8 : IMerkleDistributor.sol
// SPDX-License-Identifier: UNLICENSED
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
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"bytes32","name":"root","type":"bytes32"},{"indexed":false,"internalType":"address","name":"token","type":"address"}],"name":"MerkleRootAndTokenSet","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":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"TokenIdSet","type":"event"},{"inputs":[],"name":"addressToTransferFrom","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":"currentDropIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSetTokenId","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"},{"internalType":"uint256","name":"_tokenIdToTransfer","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"},{"internalType":"address","name":"_addressToTransferFrom","type":"address"}],"name":"setClaimConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"setDeadline","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdToTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006005553480156200001657600080fd5b5060405162001d8338038062001d8383398181016040528101906200003c9190620001ad565b6200005c62000050620000b360201b60201c565b620000bb60201b60201c565b6001808190555081600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060038190555050506200026b565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001908162000237565b92915050565b600081519050620001a78162000251565b92915050565b60008060408385031215620001c757620001c662000232565b5b6000620001d7858286016200017f565b9250506020620001ea8582860162000196565b9150509250929050565b6000620002018262000212565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b6200024281620001f4565b81146200024e57600080fd5b50565b6200025c8162000208565b81146200026857600080fd5b50565b611b08806200027b6000396000f3fe608060405234801561001057600080fd5b50600436106100e95760003560e01c80638da5cb5b1161008c578063bf58a24f11610066578063bf58a24f14610214578063c12294af14610232578063f2fde38b1461024e578063fc0c546a1461026a576100e9565b80638da5cb5b146101a85780639a33bc59146101c65780639e34070f146101e4576100e9565b80632e7ba6ef116100c85780632e7ba6ef146101465780632eb4a7ab14610162578063715018a61461018057806387654c711461018a576100e9565b8062c7d711146100ee578063195199f61461010c57806329dcb0cf14610128575b600080fd5b6100f6610288565b60405161010391906115b8565b60405180910390f35b6101266004803603810190610121919061104a565b610292565b005b610130610323565b60405161013d91906115b8565b60405180910390f35b610160600480360381019061015b91906110a4565b610329565b005b61016a61074d565b6040516101779190611454565b60405180910390f35b610188610753565b005b6101926107db565b60405161019f91906115b8565b60405180910390f35b6101b06107e1565b6040516101bd9190611374565b60405180910390f35b6101ce61080a565b6040516101db91906115b8565b60405180910390f35b6101fe60048036038101906101f9919061104a565b610810565b60405161020b9190611439565b60405180910390f35b61021c610879565b6040516102299190611374565b60405180910390f35b61024c60048036038101906102479190610fa2565b61089f565b005b61026860048036038101906102639190610f75565b6109ec565b005b610272610ae4565b60405161027f9190611374565b60405180910390f35b6000600754905090565b61029a610b0a565b73ffffffffffffffffffffffffffffffffffffffff166102b86107e1565b73ffffffffffffffffffffffffffffffffffffffff161461030e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030590611518565b60405180910390fd5b804261031a919061162c565b60068190555050565b60065481565b6002600154141561036f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036690611598565b60405180910390fd5b60026001819055506006544211156103bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b390611538565b60405180910390fd5b82600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166007546040518363ffffffff1660e01b815260040161043d929190611410565b60206040518083038186803b15801561045557600080fd5b505afa158015610469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048d9190611077565b10156104ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c5906114d8565b60405180910390fd5b6104d785610810565b15610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050e90611498565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057e90611578565b60405180910390fd5b600085858560405160200161059e93929190611337565b604051602081830303815290604052805190602001209050610604838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060035483610b12565b610643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063a906114f8565b60405180910390fd5b61064c86610bc8565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687600754886040518563ffffffff1660e01b81526004016106d194939291906113b8565b600060405180830381600087803b1580156106eb57600080fd5b505af11580156106ff573d6000803e3d6000fd5b505050507f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed026868686604051610736939291906115d3565b60405180910390a150600180819055505050505050565b60035481565b61075b610b0a565b73ffffffffffffffffffffffffffffffffffffffff166107796107e1565b73ffffffffffffffffffffffffffffffffffffffff16146107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c690611518565b60405180910390fd5b6107d96000610c48565b565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b600080610100836108219190611682565b90506000610100846108339190611786565b9050600060046000600554815260200190815260200160002060008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108a7610b0a565b73ffffffffffffffffffffffffffffffffffffffff166108c56107e1565b73ffffffffffffffffffffffffffffffffffffffff161461091b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091290611518565b60405180910390fd5b84600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600381905550600160056000828254610976919061162c565b925050819055507f1c7c6dae7d9c4cddbeda73e5b730470b5af955021656dcf1418f5a48500c9647600354600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516109d292919061146f565b60405180910390a16109e5838383610d0c565b5050505050565b6109f4610b0a565b73ffffffffffffffffffffffffffffffffffffffff16610a126107e1565b73ffffffffffffffffffffffffffffffffffffffff1614610a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5f90611518565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf906114b8565b60405180910390fd5b610ae181610c48565b50565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60008082905060005b8551811015610bba576000868281518110610b3957610b38611815565b5b60200260200101519050808311610b7a578281604051602001610b5d92919061130b565b604051602081830303815290604052805190602001209250610ba6565b8083604051602001610b8d92919061130b565b6040516020818303038152906040528051906020012092505b508080610bb290611705565b915050610b1b565b508381149150509392505050565b600061010082610bd89190611682565b9050600061010083610bea9190611786565b9050806001901b60046000600554815260200190815260200160002060008481526020019081526020016000205417600460006005548152602001908152602001600020600084815260200190815260200160002081905550505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c582306040518363ffffffff1660e01b8152600401610d6992919061138f565b60206040518083038186803b158015610d8157600080fd5b505afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db9919061101d565b610df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610def90611558565b60405180910390fd5b826007819055508142610e0b919061162c565b60068190555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fbffbcde350a40860a7c8e63212a4f6bff6eec38334da6c222f0e82fbd1f1f1de83600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600654604051610ea9939291906115d3565b60405180910390a1505050565b600081359050610ec581611a76565b92915050565b60008083601f840112610ee157610ee0611849565b5b8235905067ffffffffffffffff811115610efe57610efd611844565b5b602083019150836020820283011115610f1a57610f1961184e565b5b9250929050565b600081519050610f3081611a8d565b92915050565b600081359050610f4581611aa4565b92915050565b600081359050610f5a81611abb565b92915050565b600081519050610f6f81611abb565b92915050565b600060208284031215610f8b57610f8a611858565b5b6000610f9984828501610eb6565b91505092915050565b600080600080600060a08688031215610fbe57610fbd611858565b5b6000610fcc88828901610eb6565b9550506020610fdd88828901610f36565b9450506040610fee88828901610f4b565b9350506060610fff88828901610f4b565b925050608061101088828901610eb6565b9150509295509295909350565b60006020828403121561103357611032611858565b5b600061104184828501610f21565b91505092915050565b6000602082840312156110605761105f611858565b5b600061106e84828501610f4b565b91505092915050565b60006020828403121561108d5761108c611858565b5b600061109b84828501610f60565b91505092915050565b6000806000806000608086880312156110c0576110bf611858565b5b60006110ce88828901610f4b565b95505060206110df88828901610eb6565b94505060406110f088828901610f4b565b935050606086013567ffffffffffffffff81111561111157611110611853565b5b61111d88828901610ecb565b92509250509295509295909350565b611135816116b3565b82525050565b61114c611147826116b3565b61174e565b82525050565b61115b816116c5565b82525050565b61116a816116d1565b82525050565b61118161117c826116d1565b611760565b82525050565b600061119460298361161b565b915061119f8261186a565b604082019050919050565b60006111b760268361161b565b91506111c2826118b9565b604082019050919050565b60006111da600c8361161b565b91506111e582611908565b602082019050919050565b60006111fd60238361161b565b915061120882611931565b604082019050919050565b600061122060208361161b565b915061122b82611980565b602082019050919050565b6000611243601d8361161b565b915061124e826119a9565b602082019050919050565b600061126660008361160a565b9150611271826119d2565b600082019050919050565b6000611289602d8361161b565b9150611294826119d5565b604082019050919050565b60006112ac60138361161b565b91506112b782611a24565b602082019050919050565b60006112cf601f8361161b565b91506112da82611a4d565b602082019050919050565b6112ee816116fb565b82525050565b611305611300826116fb565b61177c565b82525050565b60006113178285611170565b6020820191506113278284611170565b6020820191508190509392505050565b600061134382866112f4565b602082019150611353828561113b565b60148201915061136382846112f4565b602082019150819050949350505050565b6000602082019050611389600083018461112c565b92915050565b60006040820190506113a4600083018561112c565b6113b1602083018461112c565b9392505050565b600060a0820190506113cd600083018761112c565b6113da602083018661112c565b6113e760408301856112e5565b6113f460608301846112e5565b818103608083015261140581611259565b905095945050505050565b6000604082019050611425600083018561112c565b61143260208301846112e5565b9392505050565b600060208201905061144e6000830184611152565b92915050565b60006020820190506114696000830184611161565b92915050565b60006040820190506114846000830185611161565b611491602083018461112c565b9392505050565b600060208201905081810360008301526114b181611187565b9050919050565b600060208201905081810360008301526114d1816111aa565b9050919050565b600060208201905081810360008301526114f1816111cd565b9050919050565b60006020820190508181036000830152611511816111f0565b9050919050565b6000602082019050818103600083015261153181611213565b9050919050565b6000602082019050818103600083015261155181611236565b9050919050565b600060208201905081810360008301526115718161127c565b9050919050565b600060208201905081810360008301526115918161129f565b9050919050565b600060208201905081810360008301526115b1816112c2565b9050919050565b60006020820190506115cd60008301846112e5565b92915050565b60006060820190506115e860008301866112e5565b6115f5602083018561112c565b61160260408301846112e5565b949350505050565b600082825260208201905092915050565b600082825260208201905092915050565b6000611637826116fb565b9150611642836116fb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611677576116766117b7565b5b828201905092915050565b600061168d826116fb565b9150611698836116fb565b9250826116a8576116a76117e6565b5b828204905092915050565b60006116be826116db565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611710826116fb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611743576117426117b7565b5b600182019050919050565b60006117598261176a565b9050919050565b6000819050919050565b60006117758261185d565b9050919050565b6000819050919050565b6000611791826116fb565b915061179c836116fb565b9250826117ac576117ab6117e6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008160601b9050919050565b7f4d6574616b6579204469737472696275746f723a204e465420616c726561647960008201527f20636c61696d65642e0000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f204e465473206c6566740000000000000000000000000000000000000000600082015250565b7f4d6574616b6579204469737472696275746f723a20496e76616c69642070726f60008201527f6f662e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636c61696d696e672074696d6520686173207061737365642e000000600082015250565b50565b7f4d6574616b6579204469737472696275746f72206e6f7420617070726f76656460008201527f20746f207370656e64204e465400000000000000000000000000000000000000602082015250565b7f43616e6e6f74206d696e7420746f203078302e00000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b611a7f816116b3565b8114611a8a57600080fd5b50565b611a96816116c5565b8114611aa157600080fd5b50565b611aad816116d1565b8114611ab857600080fd5b50565b611ac4816116fb565b8114611acf57600080fd5b5056fea26469706673582212207ea91bf20560b8aeb33fd46337becbd9e8da54cc21ceaa5d928be923da3c4a7c64736f6c6343000807003300000000000000000000000010daa9f4c0f985430fde4959adb2c791ef2ccf834ce5a56cd9794f509a12886cbfa79a524f7fff7d93a54dfd8c8428be75a80c85

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100e95760003560e01c80638da5cb5b1161008c578063bf58a24f11610066578063bf58a24f14610214578063c12294af14610232578063f2fde38b1461024e578063fc0c546a1461026a576100e9565b80638da5cb5b146101a85780639a33bc59146101c65780639e34070f146101e4576100e9565b80632e7ba6ef116100c85780632e7ba6ef146101465780632eb4a7ab14610162578063715018a61461018057806387654c711461018a576100e9565b8062c7d711146100ee578063195199f61461010c57806329dcb0cf14610128575b600080fd5b6100f6610288565b60405161010391906115b8565b60405180910390f35b6101266004803603810190610121919061104a565b610292565b005b610130610323565b60405161013d91906115b8565b60405180910390f35b610160600480360381019061015b91906110a4565b610329565b005b61016a61074d565b6040516101779190611454565b60405180910390f35b610188610753565b005b6101926107db565b60405161019f91906115b8565b60405180910390f35b6101b06107e1565b6040516101bd9190611374565b60405180910390f35b6101ce61080a565b6040516101db91906115b8565b60405180910390f35b6101fe60048036038101906101f9919061104a565b610810565b60405161020b9190611439565b60405180910390f35b61021c610879565b6040516102299190611374565b60405180910390f35b61024c60048036038101906102479190610fa2565b61089f565b005b61026860048036038101906102639190610f75565b6109ec565b005b610272610ae4565b60405161027f9190611374565b60405180910390f35b6000600754905090565b61029a610b0a565b73ffffffffffffffffffffffffffffffffffffffff166102b86107e1565b73ffffffffffffffffffffffffffffffffffffffff161461030e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030590611518565b60405180910390fd5b804261031a919061162c565b60068190555050565b60065481565b6002600154141561036f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036690611598565b60405180910390fd5b60026001819055506006544211156103bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103b390611538565b60405180910390fd5b82600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166007546040518363ffffffff1660e01b815260040161043d929190611410565b60206040518083038186803b15801561045557600080fd5b505afa158015610469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061048d9190611077565b10156104ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c5906114d8565b60405180910390fd5b6104d785610810565b15610517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050e90611498565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610587576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057e90611578565b60405180910390fd5b600085858560405160200161059e93929190611337565b604051602081830303815290604052805190602001209050610604838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060035483610b12565b610643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063a906114f8565b60405180910390fd5b61064c86610bc8565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687600754886040518563ffffffff1660e01b81526004016106d194939291906113b8565b600060405180830381600087803b1580156106eb57600080fd5b505af11580156106ff573d6000803e3d6000fd5b505050507f4ec90e965519d92681267467f775ada5bd214aa92c0dc93d90a5e880ce9ed026868686604051610736939291906115d3565b60405180910390a150600180819055505050505050565b60035481565b61075b610b0a565b73ffffffffffffffffffffffffffffffffffffffff166107796107e1565b73ffffffffffffffffffffffffffffffffffffffff16146107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c690611518565b60405180910390fd5b6107d96000610c48565b565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b600080610100836108219190611682565b90506000610100846108339190611786565b9050600060046000600554815260200190815260200160002060008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6108a7610b0a565b73ffffffffffffffffffffffffffffffffffffffff166108c56107e1565b73ffffffffffffffffffffffffffffffffffffffff161461091b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091290611518565b60405180910390fd5b84600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600381905550600160056000828254610976919061162c565b925050819055507f1c7c6dae7d9c4cddbeda73e5b730470b5af955021656dcf1418f5a48500c9647600354600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040516109d292919061146f565b60405180910390a16109e5838383610d0c565b5050505050565b6109f4610b0a565b73ffffffffffffffffffffffffffffffffffffffff16610a126107e1565b73ffffffffffffffffffffffffffffffffffffffff1614610a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5f90611518565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acf906114b8565b60405180910390fd5b610ae181610c48565b50565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600033905090565b60008082905060005b8551811015610bba576000868281518110610b3957610b38611815565b5b60200260200101519050808311610b7a578281604051602001610b5d92919061130b565b604051602081830303815290604052805190602001209250610ba6565b8083604051602001610b8d92919061130b565b6040516020818303038152906040528051906020012092505b508080610bb290611705565b915050610b1b565b508381149150509392505050565b600061010082610bd89190611682565b9050600061010083610bea9190611786565b9050806001901b60046000600554815260200190815260200160002060008481526020019081526020016000205417600460006005548152602001908152602001600020600084815260200190815260200160002081905550505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c582306040518363ffffffff1660e01b8152600401610d6992919061138f565b60206040518083038186803b158015610d8157600080fd5b505afa158015610d95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db9919061101d565b610df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610def90611558565b60405180910390fd5b826007819055508142610e0b919061162c565b60068190555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fbffbcde350a40860a7c8e63212a4f6bff6eec38334da6c222f0e82fbd1f1f1de83600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600654604051610ea9939291906115d3565b60405180910390a1505050565b600081359050610ec581611a76565b92915050565b60008083601f840112610ee157610ee0611849565b5b8235905067ffffffffffffffff811115610efe57610efd611844565b5b602083019150836020820283011115610f1a57610f1961184e565b5b9250929050565b600081519050610f3081611a8d565b92915050565b600081359050610f4581611aa4565b92915050565b600081359050610f5a81611abb565b92915050565b600081519050610f6f81611abb565b92915050565b600060208284031215610f8b57610f8a611858565b5b6000610f9984828501610eb6565b91505092915050565b600080600080600060a08688031215610fbe57610fbd611858565b5b6000610fcc88828901610eb6565b9550506020610fdd88828901610f36565b9450506040610fee88828901610f4b565b9350506060610fff88828901610f4b565b925050608061101088828901610eb6565b9150509295509295909350565b60006020828403121561103357611032611858565b5b600061104184828501610f21565b91505092915050565b6000602082840312156110605761105f611858565b5b600061106e84828501610f4b565b91505092915050565b60006020828403121561108d5761108c611858565b5b600061109b84828501610f60565b91505092915050565b6000806000806000608086880312156110c0576110bf611858565b5b60006110ce88828901610f4b565b95505060206110df88828901610eb6565b94505060406110f088828901610f4b565b935050606086013567ffffffffffffffff81111561111157611110611853565b5b61111d88828901610ecb565b92509250509295509295909350565b611135816116b3565b82525050565b61114c611147826116b3565b61174e565b82525050565b61115b816116c5565b82525050565b61116a816116d1565b82525050565b61118161117c826116d1565b611760565b82525050565b600061119460298361161b565b915061119f8261186a565b604082019050919050565b60006111b760268361161b565b91506111c2826118b9565b604082019050919050565b60006111da600c8361161b565b91506111e582611908565b602082019050919050565b60006111fd60238361161b565b915061120882611931565b604082019050919050565b600061122060208361161b565b915061122b82611980565b602082019050919050565b6000611243601d8361161b565b915061124e826119a9565b602082019050919050565b600061126660008361160a565b9150611271826119d2565b600082019050919050565b6000611289602d8361161b565b9150611294826119d5565b604082019050919050565b60006112ac60138361161b565b91506112b782611a24565b602082019050919050565b60006112cf601f8361161b565b91506112da82611a4d565b602082019050919050565b6112ee816116fb565b82525050565b611305611300826116fb565b61177c565b82525050565b60006113178285611170565b6020820191506113278284611170565b6020820191508190509392505050565b600061134382866112f4565b602082019150611353828561113b565b60148201915061136382846112f4565b602082019150819050949350505050565b6000602082019050611389600083018461112c565b92915050565b60006040820190506113a4600083018561112c565b6113b1602083018461112c565b9392505050565b600060a0820190506113cd600083018761112c565b6113da602083018661112c565b6113e760408301856112e5565b6113f460608301846112e5565b818103608083015261140581611259565b905095945050505050565b6000604082019050611425600083018561112c565b61143260208301846112e5565b9392505050565b600060208201905061144e6000830184611152565b92915050565b60006020820190506114696000830184611161565b92915050565b60006040820190506114846000830185611161565b611491602083018461112c565b9392505050565b600060208201905081810360008301526114b181611187565b9050919050565b600060208201905081810360008301526114d1816111aa565b9050919050565b600060208201905081810360008301526114f1816111cd565b9050919050565b60006020820190508181036000830152611511816111f0565b9050919050565b6000602082019050818103600083015261153181611213565b9050919050565b6000602082019050818103600083015261155181611236565b9050919050565b600060208201905081810360008301526115718161127c565b9050919050565b600060208201905081810360008301526115918161129f565b9050919050565b600060208201905081810360008301526115b1816112c2565b9050919050565b60006020820190506115cd60008301846112e5565b92915050565b60006060820190506115e860008301866112e5565b6115f5602083018561112c565b61160260408301846112e5565b949350505050565b600082825260208201905092915050565b600082825260208201905092915050565b6000611637826116fb565b9150611642836116fb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611677576116766117b7565b5b828201905092915050565b600061168d826116fb565b9150611698836116fb565b9250826116a8576116a76117e6565b5b828204905092915050565b60006116be826116db565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000611710826116fb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415611743576117426117b7565b5b600182019050919050565b60006117598261176a565b9050919050565b6000819050919050565b60006117758261185d565b9050919050565b6000819050919050565b6000611791826116fb565b915061179c836116fb565b9250826117ac576117ab6117e6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b60008160601b9050919050565b7f4d6574616b6579204469737472696275746f723a204e465420616c726561647960008201527f20636c61696d65642e0000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f204e465473206c6566740000000000000000000000000000000000000000600082015250565b7f4d6574616b6579204469737472696275746f723a20496e76616c69642070726f60008201527f6f662e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636c61696d696e672074696d6520686173207061737365642e000000600082015250565b50565b7f4d6574616b6579204469737472696275746f72206e6f7420617070726f76656460008201527f20746f207370656e64204e465400000000000000000000000000000000000000602082015250565b7f43616e6e6f74206d696e7420746f203078302e00000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b611a7f816116b3565b8114611a8a57600080fd5b50565b611a96816116c5565b8114611aa157600080fd5b50565b611aad816116d1565b8114611ab857600080fd5b50565b611ac4816116fb565b8114611acf57600080fd5b5056fea26469706673582212207ea91bf20560b8aeb33fd46337becbd9e8da54cc21ceaa5d928be923da3c4a7c64736f6c63430008070033

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

00000000000000000000000010daa9f4c0f985430fde4959adb2c791ef2ccf834ce5a56cd9794f509a12886cbfa79a524f7fff7d93a54dfd8c8428be75a80c85

-----Decoded View---------------
Arg [0] : token_ (address): 0x10DaA9f4c0F985430fdE4959adB2c791ef2CCF83
Arg [1] : merkleRoot_ (bytes32): 0x4ce5a56cd9794f509a12886cbfa79a524f7fff7d93a54dfd8c8428be75a80c85

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000010daa9f4c0f985430fde4959adb2c791ef2ccf83
Arg [1] : 4ce5a56cd9794f509a12886cbfa79a524f7fff7d93a54dfd8c8428be75a80c85


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.