ETH Price: $3,641.89 (+8.29%)

Ben Mezrich Project 2 (BENFT2)
 

Overview

TokenID

1325

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Ben Mezrich Project - Bitcoin and Billionaires is part two of a three part set inspired by Ben's initial journey into crypto and Bitcoin. Collectors who own a set of all three tokens will receive the Ben Mezrich Project screenplay token.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BenMezrichProject2

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : BeNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract BenMezrichProject2 is ERC721, Ownable {
    using Strings for uint256;
    using Counters for Counters.Counter;
    
    bytes32 root;
    string baseURI;
    Counters.Counter nextToken;
    mapping (address => bool) mintedWallets;
    bool mintingClosed;

    constructor(bytes32 _root, string memory _baseURI) ERC721("Ben Mezrich Project 2", "BENFT2") {
        root = _root;
        baseURI = _baseURI;
    }

    // MINTING //

    function openMinting() public onlyOwner {
        mintingClosed = false;
    }

    function closeMinting() public onlyOwner {
        mintingClosed = true;
    }

    function mint(bytes32[] calldata proof) public {
        require(!mintingClosed, "minting closed");
        require(MerkleProof.verify(proof, root, keccak256(abi.encodePacked(msg.sender))), "invalid merkle proof");
        require(!mintedWallets[msg.sender], "already minted"); // one mint per wallet
        require(msg.sender == tx.origin, "dont get seven'd"); // no bots allowed
        mintedWallets[msg.sender] = true; // update first to avoid reentrancy
        _safeMint(msg.sender, nextTokenId());
    }

    // URIs //

    function setBaseURI(string calldata _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : "";
    }

    // HELPERS //

    function nextTokenId() private returns (uint) {
        nextToken.increment();
        return nextToken.current();
    }

    // OWNER EMERGENCY //

    function withdrawToken(address token) external onlyOwner {
        uint balance = IERC20(token).balanceOf(address(this));
        IERC20(token).transfer(msg.sender, balance);
    }

    function updateRoot(bytes32 newRoot) external onlyOwner {
        root = newRoot;
    }
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^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 4 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 6 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

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) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        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));
            }
        }
        return computedHash;
    }
}

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"updateRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162003cab38038062003cab833981810160405281019062000037919062000326565b6040518060400160405280601581526020017f42656e204d657a726963682050726f6a656374203200000000000000000000008152506040518060400160405280600681526020017f42454e46543200000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb929190620001ed565b508060019080519060200190620000d4929190620001ed565b505050620000f7620000eb6200011f60201b60201c565b6200012760201b60201c565b81600781905550806008908051906020019062000116929190620001ed565b505050620004d5565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001fb9062000427565b90600052602060002090601f0160209004810192826200021f57600085556200026b565b82601f106200023a57805160ff19168380011785556200026b565b828001600101855582156200026b579182015b828111156200026a5782518255916020019190600101906200024d565b5b5090506200027a91906200027e565b5090565b5b80821115620002995760008160009055506001016200027f565b5090565b6000620002b4620002ae84620003b4565b62000380565b905082815260208101848484011115620002cd57600080fd5b620002da848285620003f1565b509392505050565b600081519050620002f381620004bb565b92915050565b600082601f8301126200030b57600080fd5b81516200031d8482602086016200029d565b91505092915050565b600080604083850312156200033a57600080fd5b60006200034a85828601620002e2565b925050602083015167ffffffffffffffff8111156200036857600080fd5b6200037685828601620002f9565b9150509250929050565b6000604051905081810181811067ffffffffffffffff82111715620003aa57620003a96200048c565b5b8060405250919050565b600067ffffffffffffffff821115620003d257620003d16200048c565b5b601f19601f8301169050602081019050919050565b6000819050919050565b60005b8381101562000411578082015181840152602081019050620003f4565b8381111562000421576000848401525b50505050565b600060028204905060018216806200044057607f821691505b602082108114156200045757620004566200045d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004c681620003e7565b8114620004d257600080fd5b50565b6137c680620004e56000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a22cb4651161007c578063a22cb46514610327578063b77a147b14610343578063b88d4fde1461035f578063c87b56dd1461037b578063e985e9c5146103ab578063f2fde38b146103db57610142565b8063715018a6146102bb57806387491c60146102c557806389476069146102cf5780638da5cb5b146102eb57806395d89b411461030957610142565b806323b872dd1161010a57806323b872dd146101fd57806342842e0e1461021957806355f804b3146102355780636352211e146102515780636ba9fd381461028157806370a082311461028b57610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c557806321ff9970146101e1575b600080fd5b610161600480360381019061015c91906125e9565b6103f7565b60405161016e919061305d565b60405180910390f35b61017f6104d9565b60405161018c9190613078565b60405180910390f35b6101af60048036038101906101aa9190612680565b61056b565b6040516101bc9190612fcd565b60405180910390f35b6101df60048036038101906101da9190612516565b6105f0565b005b6101fb60048036038101906101f691906125c0565b610708565b005b61021760048036038101906102129190612410565b61078e565b005b610233600480360381019061022e9190612410565b6107ee565b005b61024f600480360381019061024a919061263b565b61080e565b005b61026b60048036038101906102669190612680565b6108a0565b6040516102789190612fcd565b60405180910390f35b610289610952565b005b6102a560048036038101906102a091906123ab565b6109eb565b6040516102b2919061331a565b60405180910390f35b6102c3610aa3565b005b6102cd610b2b565b005b6102e960048036038101906102e491906123ab565b610bc4565b005b6102f3610d5f565b6040516103009190612fcd565b60405180910390f35b610311610d89565b60405161031e9190613078565b60405180910390f35b610341600480360381019061033c91906124da565b610e1b565b005b61035d60048036038101906103589190612552565b610e31565b005b6103796004803603810190610374919061245f565b61109c565b005b61039560048036038101906103909190612680565b6110fe565b6040516103a29190613078565b60405180910390f35b6103c560048036038101906103c091906123d4565b6111a6565b6040516103d2919061305d565b60405180910390f35b6103f560048036038101906103f091906123ab565b61123a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104c257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104d257506104d182611332565b5b9050919050565b6060600080546104e890613569565b80601f016020809104026020016040519081016040528092919081815260200182805461051490613569565b80156105615780601f1061053657610100808354040283529160200191610561565b820191906000526020600020905b81548152906001019060200180831161054457829003601f168201915b5050505050905090565b60006105768261139c565b6105b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ac9061321a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105fb826108a0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561066c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106639061329a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661068b611408565b73ffffffffffffffffffffffffffffffffffffffff1614806106ba57506106b9816106b4611408565b6111a6565b5b6106f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f09061319a565b60405180910390fd5b6107038383611410565b505050565b610710611408565b73ffffffffffffffffffffffffffffffffffffffff1661072e610d5f565b73ffffffffffffffffffffffffffffffffffffffff1614610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077b9061323a565b60405180910390fd5b8060078190555050565b61079f610799611408565b826114c9565b6107de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d5906132da565b60405180910390fd5b6107e98383836115a7565b505050565b6108098383836040518060200160405280600081525061109c565b505050565b610816611408565b73ffffffffffffffffffffffffffffffffffffffff16610834610d5f565b73ffffffffffffffffffffffffffffffffffffffff161461088a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108819061323a565b60405180910390fd5b81816008919061089b929190612164565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610940906131da565b60405180910390fd5b80915050919050565b61095a611408565b73ffffffffffffffffffffffffffffffffffffffff16610978610d5f565b73ffffffffffffffffffffffffffffffffffffffff16146109ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c59061323a565b60405180910390fd5b6000600b60006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a53906131ba565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610aab611408565b73ffffffffffffffffffffffffffffffffffffffff16610ac9610d5f565b73ffffffffffffffffffffffffffffffffffffffff1614610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b169061323a565b60405180910390fd5b610b296000611803565b565b610b33611408565b73ffffffffffffffffffffffffffffffffffffffff16610b51610d5f565b73ffffffffffffffffffffffffffffffffffffffff1614610ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9e9061323a565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b610bcc611408565b73ffffffffffffffffffffffffffffffffffffffff16610bea610d5f565b73ffffffffffffffffffffffffffffffffffffffff1614610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c379061323a565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c7b9190612fcd565b60206040518083038186803b158015610c9357600080fd5b505afa158015610ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccb91906126a9565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610d08929190613034565b602060405180830381600087803b158015610d2257600080fd5b505af1158015610d36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5a9190612597565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610d9890613569565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc490613569565b8015610e115780601f10610de657610100808354040283529160200191610e11565b820191906000526020600020905b815481529060010190602001808311610df457829003601f168201915b5050505050905090565b610e2d610e26611408565b83836118c9565b5050565b600b60009054906101000a900460ff1615610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e78906132ba565b60405180910390fd5b610ef5828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060075433604051602001610eda9190612f57565b60405160208183030381529060405280519060200120611a36565b610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906130da565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb8906132fa565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461102f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110269061317a565b60405180910390fd5b6001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061109833611093611a4d565b611a68565b5050565b6110ad6110a7611408565b836114c9565b6110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e3906132da565b60405180910390fd5b6110f884848484611a86565b50505050565b60606111098261139c565b611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f9061327a565b60405180910390fd5b60006008805461115790613569565b905011611173576040518060200160405280600081525061119f565b600861117e83611ae2565b60405160200161118f929190612f9e565b6040516020818303038152906040525b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611242611408565b73ffffffffffffffffffffffffffffffffffffffff16611260610d5f565b73ffffffffffffffffffffffffffffffffffffffff16146112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad9061323a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d906130ba565b60405180910390fd5b61132f81611803565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611483836108a0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006114d48261139c565b611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a9061315a565b60405180910390fd5b600061151e836108a0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061158d57508373ffffffffffffffffffffffffffffffffffffffff166115758461056b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061159e575061159d81856111a6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166115c7826108a0565b73ffffffffffffffffffffffffffffffffffffffff161461161d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116149061325a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561168d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116849061311a565b60405180910390fd5b611698838383611c8f565b6116a3600082611410565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116f39190613475565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461174a91906133ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f9061313a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a29919061305d565b60405180910390a3505050565b600082611a438584611c94565b1490509392505050565b6000611a596009611d6d565b611a636009611d83565b905090565b611a82828260405180602001604052806000815250611d91565b5050565b611a918484846115a7565b611a9d84848484611dec565b611adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad39061309a565b60405180910390fd5b50505050565b60606000821415611b2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c8a565b600082905060005b60008214611b5c578080611b459061359b565b915050600a82611b559190613444565b9150611b32565b60008167ffffffffffffffff811115611b9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bd05781602001600182028036833780820191505090505b5090505b60008514611c8357600182611be99190613475565b9150600a85611bf89190613612565b6030611c0491906133ee565b60f81b818381518110611c40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c7c9190613444565b9450611bd4565b8093505050505b919050565b505050565b60008082905060005b8451811015611d62576000858281518110611ce1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311611d22578281604051602001611d05929190612f72565b604051602081830303815290604052805190602001209250611d4e565b8083604051602001611d35929190612f72565b6040516020818303038152906040528051906020012092505b508080611d5a9061359b565b915050611c9d565b508091505092915050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611d9b8383611f83565b611da86000848484611dec565b611de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dde9061309a565b60405180910390fd5b505050565b6000611e0d8473ffffffffffffffffffffffffffffffffffffffff16612151565b15611f76578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e36611408565b8786866040518563ffffffff1660e01b8152600401611e589493929190612fe8565b602060405180830381600087803b158015611e7257600080fd5b505af1925050508015611ea357506040513d601f19601f82011682018060405250810190611ea09190612612565b60015b611f26573d8060008114611ed3576040519150601f19603f3d011682016040523d82523d6000602084013e611ed8565b606091505b50600081511415611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f159061309a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611f7b565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea906131fa565b60405180910390fd5b611ffc8161139c565b1561203c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612033906130fa565b60405180910390fd5b61204860008383611c8f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209891906133ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461217090613569565b90600052602060002090601f01602090048101928261219257600085556121d9565b82601f106121ab57803560ff19168380011785556121d9565b828001600101855582156121d9579182015b828111156121d85782358255916020019190600101906121bd565b5b5090506121e691906121ea565b5090565b5b808211156122035760008160009055506001016121eb565b5090565b600061221a61221584613366565b613335565b90508281526020810184848401111561223257600080fd5b61223d848285613527565b509392505050565b6000813590506122548161371d565b92915050565b60008083601f84011261226c57600080fd5b8235905067ffffffffffffffff81111561228557600080fd5b60208301915083602082028301111561229d57600080fd5b9250929050565b6000813590506122b381613734565b92915050565b6000815190506122c881613734565b92915050565b6000813590506122dd8161374b565b92915050565b6000813590506122f281613762565b92915050565b60008151905061230781613762565b92915050565b600082601f83011261231e57600080fd5b813561232e848260208601612207565b91505092915050565b60008083601f84011261234957600080fd5b8235905067ffffffffffffffff81111561236257600080fd5b60208301915083600182028301111561237a57600080fd5b9250929050565b60008135905061239081613779565b92915050565b6000815190506123a581613779565b92915050565b6000602082840312156123bd57600080fd5b60006123cb84828501612245565b91505092915050565b600080604083850312156123e757600080fd5b60006123f585828601612245565b925050602061240685828601612245565b9150509250929050565b60008060006060848603121561242557600080fd5b600061243386828701612245565b935050602061244486828701612245565b925050604061245586828701612381565b9150509250925092565b6000806000806080858703121561247557600080fd5b600061248387828801612245565b945050602061249487828801612245565b93505060406124a587828801612381565b925050606085013567ffffffffffffffff8111156124c257600080fd5b6124ce8782880161230d565b91505092959194509250565b600080604083850312156124ed57600080fd5b60006124fb85828601612245565b925050602061250c858286016122a4565b9150509250929050565b6000806040838503121561252957600080fd5b600061253785828601612245565b925050602061254885828601612381565b9150509250929050565b6000806020838503121561256557600080fd5b600083013567ffffffffffffffff81111561257f57600080fd5b61258b8582860161225a565b92509250509250929050565b6000602082840312156125a957600080fd5b60006125b7848285016122b9565b91505092915050565b6000602082840312156125d257600080fd5b60006125e0848285016122ce565b91505092915050565b6000602082840312156125fb57600080fd5b6000612609848285016122e3565b91505092915050565b60006020828403121561262457600080fd5b6000612632848285016122f8565b91505092915050565b6000806020838503121561264e57600080fd5b600083013567ffffffffffffffff81111561266857600080fd5b61267485828601612337565b92509250509250929050565b60006020828403121561269257600080fd5b60006126a084828501612381565b91505092915050565b6000602082840312156126bb57600080fd5b60006126c984828501612396565b91505092915050565b6126db816134a9565b82525050565b6126f26126ed826134a9565b6135e4565b82525050565b612701816134bb565b82525050565b612718612713826134c7565b6135f6565b82525050565b6000612729826133ab565b61273381856133c1565b9350612743818560208601613536565b61274c816136ff565b840191505092915050565b6000612762826133b6565b61276c81856133d2565b935061277c818560208601613536565b612785816136ff565b840191505092915050565b600061279b826133b6565b6127a581856133e3565b93506127b5818560208601613536565b80840191505092915050565b600081546127ce81613569565b6127d881866133e3565b945060018216600081146127f3576001811461280457612837565b60ff19831686528186019350612837565b61280d85613396565b60005b8381101561282f57815481890152600182019150602081019050612810565b838801955050505b50505092915050565b600061284d6032836133d2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006128b36026836133d2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006129196014836133d2565b91507f696e76616c6964206d65726b6c652070726f6f660000000000000000000000006000830152602082019050919050565b6000612959601c836133d2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006129996024836133d2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006129ff6019836133d2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000612a3f602c836133d2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612aa56010836133d2565b91507f646f6e742067657420736576656e2764000000000000000000000000000000006000830152602082019050919050565b6000612ae56038836133d2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000612b4b602a836133d2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000612bb16029836133d2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c176020836133d2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000612c57602c836133d2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612cbd6005836133e3565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000612cfd6020836133d2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000612d3d6029836133d2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612da3602f836133d2565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000612e096021836133d2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612e6f600e836133d2565b91507f6d696e74696e6720636c6f7365640000000000000000000000000000000000006000830152602082019050919050565b6000612eaf6031836133d2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000612f15600e836133d2565b91507f616c7265616479206d696e7465640000000000000000000000000000000000006000830152602082019050919050565b612f518161351d565b82525050565b6000612f6382846126e1565b60148201915081905092915050565b6000612f7e8285612707565b602082019150612f8e8284612707565b6020820191508190509392505050565b6000612faa82856127c1565b9150612fb68284612790565b9150612fc182612cb0565b91508190509392505050565b6000602082019050612fe260008301846126d2565b92915050565b6000608082019050612ffd60008301876126d2565b61300a60208301866126d2565b6130176040830185612f48565b8181036060830152613029818461271e565b905095945050505050565b600060408201905061304960008301856126d2565b6130566020830184612f48565b9392505050565b600060208201905061307260008301846126f8565b92915050565b600060208201905081810360008301526130928184612757565b905092915050565b600060208201905081810360008301526130b381612840565b9050919050565b600060208201905081810360008301526130d3816128a6565b9050919050565b600060208201905081810360008301526130f38161290c565b9050919050565b600060208201905081810360008301526131138161294c565b9050919050565b600060208201905081810360008301526131338161298c565b9050919050565b60006020820190508181036000830152613153816129f2565b9050919050565b6000602082019050818103600083015261317381612a32565b9050919050565b6000602082019050818103600083015261319381612a98565b9050919050565b600060208201905081810360008301526131b381612ad8565b9050919050565b600060208201905081810360008301526131d381612b3e565b9050919050565b600060208201905081810360008301526131f381612ba4565b9050919050565b6000602082019050818103600083015261321381612c0a565b9050919050565b6000602082019050818103600083015261323381612c4a565b9050919050565b6000602082019050818103600083015261325381612cf0565b9050919050565b6000602082019050818103600083015261327381612d30565b9050919050565b6000602082019050818103600083015261329381612d96565b9050919050565b600060208201905081810360008301526132b381612dfc565b9050919050565b600060208201905081810360008301526132d381612e62565b9050919050565b600060208201905081810360008301526132f381612ea2565b9050919050565b6000602082019050818103600083015261331381612f08565b9050919050565b600060208201905061332f6000830184612f48565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561335c5761335b6136d0565b5b8060405250919050565b600067ffffffffffffffff821115613381576133806136d0565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006133f98261351d565b91506134048361351d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561343957613438613643565b5b828201905092915050565b600061344f8261351d565b915061345a8361351d565b92508261346a57613469613672565b5b828204905092915050565b60006134808261351d565b915061348b8361351d565b92508282101561349e5761349d613643565b5b828203905092915050565b60006134b4826134fd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613554578082015181840152602081019050613539565b83811115613563576000848401525b50505050565b6000600282049050600182168061358157607f821691505b60208210811415613595576135946136a1565b5b50919050565b60006135a68261351d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135d9576135d8613643565b5b600182019050919050565b60006135ef82613600565b9050919050565b6000819050919050565b600061360b82613710565b9050919050565b600061361d8261351d565b91506136288361351d565b92508261363857613637613672565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b613726816134a9565b811461373157600080fd5b50565b61373d816134bb565b811461374857600080fd5b50565b613754816134c7565b811461375f57600080fd5b50565b61376b816134d1565b811461377657600080fd5b50565b6137828161351d565b811461378d57600080fd5b5056fea2646970667358221220a458e534ffffd2430765a559f85ac72cec9f8e701986038a4401c7abb7dfc09a64736f6c63430008000033df55d5a1f78cf28144c98e8c8bb0afdfbe93686913097981beb4ff2cd254bc9e00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6251636b32515a4c6b4b77636b4c3269597a627a56734670506e69556e686d6d62527339656f62636b7965672f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a22cb4651161007c578063a22cb46514610327578063b77a147b14610343578063b88d4fde1461035f578063c87b56dd1461037b578063e985e9c5146103ab578063f2fde38b146103db57610142565b8063715018a6146102bb57806387491c60146102c557806389476069146102cf5780638da5cb5b146102eb57806395d89b411461030957610142565b806323b872dd1161010a57806323b872dd146101fd57806342842e0e1461021957806355f804b3146102355780636352211e146102515780636ba9fd381461028157806370a082311461028b57610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c557806321ff9970146101e1575b600080fd5b610161600480360381019061015c91906125e9565b6103f7565b60405161016e919061305d565b60405180910390f35b61017f6104d9565b60405161018c9190613078565b60405180910390f35b6101af60048036038101906101aa9190612680565b61056b565b6040516101bc9190612fcd565b60405180910390f35b6101df60048036038101906101da9190612516565b6105f0565b005b6101fb60048036038101906101f691906125c0565b610708565b005b61021760048036038101906102129190612410565b61078e565b005b610233600480360381019061022e9190612410565b6107ee565b005b61024f600480360381019061024a919061263b565b61080e565b005b61026b60048036038101906102669190612680565b6108a0565b6040516102789190612fcd565b60405180910390f35b610289610952565b005b6102a560048036038101906102a091906123ab565b6109eb565b6040516102b2919061331a565b60405180910390f35b6102c3610aa3565b005b6102cd610b2b565b005b6102e960048036038101906102e491906123ab565b610bc4565b005b6102f3610d5f565b6040516103009190612fcd565b60405180910390f35b610311610d89565b60405161031e9190613078565b60405180910390f35b610341600480360381019061033c91906124da565b610e1b565b005b61035d60048036038101906103589190612552565b610e31565b005b6103796004803603810190610374919061245f565b61109c565b005b61039560048036038101906103909190612680565b6110fe565b6040516103a29190613078565b60405180910390f35b6103c560048036038101906103c091906123d4565b6111a6565b6040516103d2919061305d565b60405180910390f35b6103f560048036038101906103f091906123ab565b61123a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104c257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104d257506104d182611332565b5b9050919050565b6060600080546104e890613569565b80601f016020809104026020016040519081016040528092919081815260200182805461051490613569565b80156105615780601f1061053657610100808354040283529160200191610561565b820191906000526020600020905b81548152906001019060200180831161054457829003601f168201915b5050505050905090565b60006105768261139c565b6105b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ac9061321a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105fb826108a0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561066c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106639061329a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661068b611408565b73ffffffffffffffffffffffffffffffffffffffff1614806106ba57506106b9816106b4611408565b6111a6565b5b6106f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f09061319a565b60405180910390fd5b6107038383611410565b505050565b610710611408565b73ffffffffffffffffffffffffffffffffffffffff1661072e610d5f565b73ffffffffffffffffffffffffffffffffffffffff1614610784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077b9061323a565b60405180910390fd5b8060078190555050565b61079f610799611408565b826114c9565b6107de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d5906132da565b60405180910390fd5b6107e98383836115a7565b505050565b6108098383836040518060200160405280600081525061109c565b505050565b610816611408565b73ffffffffffffffffffffffffffffffffffffffff16610834610d5f565b73ffffffffffffffffffffffffffffffffffffffff161461088a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108819061323a565b60405180910390fd5b81816008919061089b929190612164565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610940906131da565b60405180910390fd5b80915050919050565b61095a611408565b73ffffffffffffffffffffffffffffffffffffffff16610978610d5f565b73ffffffffffffffffffffffffffffffffffffffff16146109ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c59061323a565b60405180910390fd5b6000600b60006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a53906131ba565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610aab611408565b73ffffffffffffffffffffffffffffffffffffffff16610ac9610d5f565b73ffffffffffffffffffffffffffffffffffffffff1614610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b169061323a565b60405180910390fd5b610b296000611803565b565b610b33611408565b73ffffffffffffffffffffffffffffffffffffffff16610b51610d5f565b73ffffffffffffffffffffffffffffffffffffffff1614610ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9e9061323a565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b610bcc611408565b73ffffffffffffffffffffffffffffffffffffffff16610bea610d5f565b73ffffffffffffffffffffffffffffffffffffffff1614610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c379061323a565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610c7b9190612fcd565b60206040518083038186803b158015610c9357600080fd5b505afa158015610ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccb91906126a9565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610d08929190613034565b602060405180830381600087803b158015610d2257600080fd5b505af1158015610d36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5a9190612597565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610d9890613569565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc490613569565b8015610e115780601f10610de657610100808354040283529160200191610e11565b820191906000526020600020905b815481529060010190602001808311610df457829003601f168201915b5050505050905090565b610e2d610e26611408565b83836118c9565b5050565b600b60009054906101000a900460ff1615610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e78906132ba565b60405180910390fd5b610ef5828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060075433604051602001610eda9190612f57565b60405160208183030381529060405280519060200120611a36565b610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906130da565b60405180910390fd5b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb8906132fa565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461102f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110269061317a565b60405180910390fd5b6001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061109833611093611a4d565b611a68565b5050565b6110ad6110a7611408565b836114c9565b6110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e3906132da565b60405180910390fd5b6110f884848484611a86565b50505050565b60606111098261139c565b611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f9061327a565b60405180910390fd5b60006008805461115790613569565b905011611173576040518060200160405280600081525061119f565b600861117e83611ae2565b60405160200161118f929190612f9e565b6040516020818303038152906040525b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611242611408565b73ffffffffffffffffffffffffffffffffffffffff16611260610d5f565b73ffffffffffffffffffffffffffffffffffffffff16146112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad9061323a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d906130ba565b60405180910390fd5b61132f81611803565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611483836108a0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006114d48261139c565b611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a9061315a565b60405180910390fd5b600061151e836108a0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061158d57508373ffffffffffffffffffffffffffffffffffffffff166115758461056b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061159e575061159d81856111a6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166115c7826108a0565b73ffffffffffffffffffffffffffffffffffffffff161461161d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116149061325a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561168d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116849061311a565b60405180910390fd5b611698838383611c8f565b6116a3600082611410565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116f39190613475565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461174a91906133ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f9061313a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a29919061305d565b60405180910390a3505050565b600082611a438584611c94565b1490509392505050565b6000611a596009611d6d565b611a636009611d83565b905090565b611a82828260405180602001604052806000815250611d91565b5050565b611a918484846115a7565b611a9d84848484611dec565b611adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad39061309a565b60405180910390fd5b50505050565b60606000821415611b2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c8a565b600082905060005b60008214611b5c578080611b459061359b565b915050600a82611b559190613444565b9150611b32565b60008167ffffffffffffffff811115611b9e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bd05781602001600182028036833780820191505090505b5090505b60008514611c8357600182611be99190613475565b9150600a85611bf89190613612565b6030611c0491906133ee565b60f81b818381518110611c40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c7c9190613444565b9450611bd4565b8093505050505b919050565b505050565b60008082905060005b8451811015611d62576000858281518110611ce1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311611d22578281604051602001611d05929190612f72565b604051602081830303815290604052805190602001209250611d4e565b8083604051602001611d35929190612f72565b6040516020818303038152906040528051906020012092505b508080611d5a9061359b565b915050611c9d565b508091505092915050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611d9b8383611f83565b611da86000848484611dec565b611de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dde9061309a565b60405180910390fd5b505050565b6000611e0d8473ffffffffffffffffffffffffffffffffffffffff16612151565b15611f76578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e36611408565b8786866040518563ffffffff1660e01b8152600401611e589493929190612fe8565b602060405180830381600087803b158015611e7257600080fd5b505af1925050508015611ea357506040513d601f19601f82011682018060405250810190611ea09190612612565b60015b611f26573d8060008114611ed3576040519150601f19603f3d011682016040523d82523d6000602084013e611ed8565b606091505b50600081511415611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f159061309a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611f7b565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea906131fa565b60405180910390fd5b611ffc8161139c565b1561203c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612033906130fa565b60405180910390fd5b61204860008383611c8f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461209891906133ee565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461217090613569565b90600052602060002090601f01602090048101928261219257600085556121d9565b82601f106121ab57803560ff19168380011785556121d9565b828001600101855582156121d9579182015b828111156121d85782358255916020019190600101906121bd565b5b5090506121e691906121ea565b5090565b5b808211156122035760008160009055506001016121eb565b5090565b600061221a61221584613366565b613335565b90508281526020810184848401111561223257600080fd5b61223d848285613527565b509392505050565b6000813590506122548161371d565b92915050565b60008083601f84011261226c57600080fd5b8235905067ffffffffffffffff81111561228557600080fd5b60208301915083602082028301111561229d57600080fd5b9250929050565b6000813590506122b381613734565b92915050565b6000815190506122c881613734565b92915050565b6000813590506122dd8161374b565b92915050565b6000813590506122f281613762565b92915050565b60008151905061230781613762565b92915050565b600082601f83011261231e57600080fd5b813561232e848260208601612207565b91505092915050565b60008083601f84011261234957600080fd5b8235905067ffffffffffffffff81111561236257600080fd5b60208301915083600182028301111561237a57600080fd5b9250929050565b60008135905061239081613779565b92915050565b6000815190506123a581613779565b92915050565b6000602082840312156123bd57600080fd5b60006123cb84828501612245565b91505092915050565b600080604083850312156123e757600080fd5b60006123f585828601612245565b925050602061240685828601612245565b9150509250929050565b60008060006060848603121561242557600080fd5b600061243386828701612245565b935050602061244486828701612245565b925050604061245586828701612381565b9150509250925092565b6000806000806080858703121561247557600080fd5b600061248387828801612245565b945050602061249487828801612245565b93505060406124a587828801612381565b925050606085013567ffffffffffffffff8111156124c257600080fd5b6124ce8782880161230d565b91505092959194509250565b600080604083850312156124ed57600080fd5b60006124fb85828601612245565b925050602061250c858286016122a4565b9150509250929050565b6000806040838503121561252957600080fd5b600061253785828601612245565b925050602061254885828601612381565b9150509250929050565b6000806020838503121561256557600080fd5b600083013567ffffffffffffffff81111561257f57600080fd5b61258b8582860161225a565b92509250509250929050565b6000602082840312156125a957600080fd5b60006125b7848285016122b9565b91505092915050565b6000602082840312156125d257600080fd5b60006125e0848285016122ce565b91505092915050565b6000602082840312156125fb57600080fd5b6000612609848285016122e3565b91505092915050565b60006020828403121561262457600080fd5b6000612632848285016122f8565b91505092915050565b6000806020838503121561264e57600080fd5b600083013567ffffffffffffffff81111561266857600080fd5b61267485828601612337565b92509250509250929050565b60006020828403121561269257600080fd5b60006126a084828501612381565b91505092915050565b6000602082840312156126bb57600080fd5b60006126c984828501612396565b91505092915050565b6126db816134a9565b82525050565b6126f26126ed826134a9565b6135e4565b82525050565b612701816134bb565b82525050565b612718612713826134c7565b6135f6565b82525050565b6000612729826133ab565b61273381856133c1565b9350612743818560208601613536565b61274c816136ff565b840191505092915050565b6000612762826133b6565b61276c81856133d2565b935061277c818560208601613536565b612785816136ff565b840191505092915050565b600061279b826133b6565b6127a581856133e3565b93506127b5818560208601613536565b80840191505092915050565b600081546127ce81613569565b6127d881866133e3565b945060018216600081146127f3576001811461280457612837565b60ff19831686528186019350612837565b61280d85613396565b60005b8381101561282f57815481890152600182019150602081019050612810565b838801955050505b50505092915050565b600061284d6032836133d2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006128b36026836133d2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006129196014836133d2565b91507f696e76616c6964206d65726b6c652070726f6f660000000000000000000000006000830152602082019050919050565b6000612959601c836133d2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006129996024836133d2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006129ff6019836133d2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000612a3f602c836133d2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612aa56010836133d2565b91507f646f6e742067657420736576656e2764000000000000000000000000000000006000830152602082019050919050565b6000612ae56038836133d2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000612b4b602a836133d2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000612bb16029836133d2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612c176020836133d2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000612c57602c836133d2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612cbd6005836133e3565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000612cfd6020836133d2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000612d3d6029836133d2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612da3602f836133d2565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000612e096021836133d2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612e6f600e836133d2565b91507f6d696e74696e6720636c6f7365640000000000000000000000000000000000006000830152602082019050919050565b6000612eaf6031836133d2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000612f15600e836133d2565b91507f616c7265616479206d696e7465640000000000000000000000000000000000006000830152602082019050919050565b612f518161351d565b82525050565b6000612f6382846126e1565b60148201915081905092915050565b6000612f7e8285612707565b602082019150612f8e8284612707565b6020820191508190509392505050565b6000612faa82856127c1565b9150612fb68284612790565b9150612fc182612cb0565b91508190509392505050565b6000602082019050612fe260008301846126d2565b92915050565b6000608082019050612ffd60008301876126d2565b61300a60208301866126d2565b6130176040830185612f48565b8181036060830152613029818461271e565b905095945050505050565b600060408201905061304960008301856126d2565b6130566020830184612f48565b9392505050565b600060208201905061307260008301846126f8565b92915050565b600060208201905081810360008301526130928184612757565b905092915050565b600060208201905081810360008301526130b381612840565b9050919050565b600060208201905081810360008301526130d3816128a6565b9050919050565b600060208201905081810360008301526130f38161290c565b9050919050565b600060208201905081810360008301526131138161294c565b9050919050565b600060208201905081810360008301526131338161298c565b9050919050565b60006020820190508181036000830152613153816129f2565b9050919050565b6000602082019050818103600083015261317381612a32565b9050919050565b6000602082019050818103600083015261319381612a98565b9050919050565b600060208201905081810360008301526131b381612ad8565b9050919050565b600060208201905081810360008301526131d381612b3e565b9050919050565b600060208201905081810360008301526131f381612ba4565b9050919050565b6000602082019050818103600083015261321381612c0a565b9050919050565b6000602082019050818103600083015261323381612c4a565b9050919050565b6000602082019050818103600083015261325381612cf0565b9050919050565b6000602082019050818103600083015261327381612d30565b9050919050565b6000602082019050818103600083015261329381612d96565b9050919050565b600060208201905081810360008301526132b381612dfc565b9050919050565b600060208201905081810360008301526132d381612e62565b9050919050565b600060208201905081810360008301526132f381612ea2565b9050919050565b6000602082019050818103600083015261331381612f08565b9050919050565b600060208201905061332f6000830184612f48565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561335c5761335b6136d0565b5b8060405250919050565b600067ffffffffffffffff821115613381576133806136d0565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006133f98261351d565b91506134048361351d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561343957613438613643565b5b828201905092915050565b600061344f8261351d565b915061345a8361351d565b92508261346a57613469613672565b5b828204905092915050565b60006134808261351d565b915061348b8361351d565b92508282101561349e5761349d613643565b5b828203905092915050565b60006134b4826134fd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613554578082015181840152602081019050613539565b83811115613563576000848401525b50505050565b6000600282049050600182168061358157607f821691505b60208210811415613595576135946136a1565b5b50919050565b60006135a68261351d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135d9576135d8613643565b5b600182019050919050565b60006135ef82613600565b9050919050565b6000819050919050565b600061360b82613710565b9050919050565b600061361d8261351d565b91506136288361351d565b92508261363857613637613672565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b613726816134a9565b811461373157600080fd5b50565b61373d816134bb565b811461374857600080fd5b50565b613754816134c7565b811461375f57600080fd5b50565b61376b816134d1565b811461377657600080fd5b50565b6137828161351d565b811461378d57600080fd5b5056fea2646970667358221220a458e534ffffd2430765a559f85ac72cec9f8e701986038a4401c7abb7dfc09a64736f6c63430008000033

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

df55d5a1f78cf28144c98e8c8bb0afdfbe93686913097981beb4ff2cd254bc9e00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6251636b32515a4c6b4b77636b4c3269597a627a56734670506e69556e686d6d62527339656f62636b7965672f00000000000000000000

-----Decoded View---------------
Arg [0] : _root (bytes32): 0xdf55d5a1f78cf28144c98e8c8bb0afdfbe93686913097981beb4ff2cd254bc9e
Arg [1] : _baseURI (string): ipfs://QmbQck2QZLkKwckL2iYzbzVsFpPniUnhmmbRs9eobckyeg/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : df55d5a1f78cf28144c98e8c8bb0afdfbe93686913097981beb4ff2cd254bc9e
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d6251636b32515a4c6b4b77636b4c3269597a627a567346
Arg [4] : 70506e69556e686d6d62527339656f62636b7965672f00000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.