ETH Price: $3,387.98 (+1.13%)
Gas: 8 Gwei

Contract

0x789bF86A477d53b09bE3Ee5d676b5103cf84DbB9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...193567952024-03-03 19:42:23134 days ago1709494943IN
0x789bF86A...3cf84DbB9
0 ETH0.0029727863.62299005
Set Approval For...189069532023-12-31 17:29:59197 days ago1704043799IN
0x789bF86A...3cf84DbB9
0 ETH0.0007846916.8197197
Set Approval For...187498542023-12-09 16:26:47219 days ago1702139207IN
0x789bF86A...3cf84DbB9
0 ETH0.0021581546.25971722
Set Approval For...180656172023-09-04 20:50:59315 days ago1693860659IN
0x789bF86A...3cf84DbB9
0 ETH0.0010201821.86752873
Set Approval For...179359152023-08-17 17:05:59333 days ago1692291959IN
0x789bF86A...3cf84DbB9
0 ETH0.0032421269.36954735
Set Approval For...168645992023-03-19 22:02:47484 days ago1679263367IN
0x789bF86A...3cf84DbB9
0 ETH0.0009798821.00371882
Set Approval For...167946442023-03-10 1:58:59494 days ago1678413539IN
0x789bF86A...3cf84DbB9
0 ETH0.0015012832.17972965
Set Approval For...166639372023-02-19 16:51:23512 days ago1676825483IN
0x789bF86A...3cf84DbB9
0 ETH0.0020418543.76682597
Safe Transfer Fr...165782622023-02-07 17:01:47524 days ago1675789307IN
0x789bF86A...3cf84DbB9
0 ETH0.0029226646.80236369
Safe Transfer Fr...165782432023-02-07 16:57:59524 days ago1675789079IN
0x789bF86A...3cf84DbB9
0 ETH0.0025137837.388004
Transfer From165752102023-02-07 6:47:23525 days ago1675752443IN
0x789bF86A...3cf84DbB9
0 ETH0.0008723821.10512779
Safe Transfer Fr...165319242023-02-01 5:36:59531 days ago1675229819IN
0x789bF86A...3cf84DbB9
0 ETH0.0007276914.51117876
Set Approval For...164578062023-01-21 21:16:11541 days ago1674335771IN
0x789bF86A...3cf84DbB9
0 ETH0.0008572118.37419264
Set Approval For...164157842023-01-16 0:30:23547 days ago1673829023IN
0x789bF86A...3cf84DbB9
0 ETH0.0007505516.08808764
Set Approval For...163443882023-01-06 1:12:59557 days ago1672967579IN
0x789bF86A...3cf84DbB9
0 ETH0.0009084719.47299746
Set Approval For...163069092022-12-31 19:43:23562 days ago1672515803IN
0x789bF86A...3cf84DbB9
0 ETH0.0006810814.59900141
Set Approval For...162799972022-12-28 1:34:47566 days ago1672191287IN
0x789bF86A...3cf84DbB9
0 ETH0.0008018517.18754903
Set Approval For...162576182022-12-24 22:36:11569 days ago1671921371IN
0x789bF86A...3cf84DbB9
0 ETH0.0004986210.68798329
Set Approval For...162540662022-12-24 10:41:47569 days ago1671878507IN
0x789bF86A...3cf84DbB9
0 ETH0.0005202311.15110527
Set Approval For...162490132022-12-23 17:47:47570 days ago1671817667IN
0x789bF86A...3cf84DbB9
0 ETH0.0010804123.15859664
Set Approval For...162483292022-12-23 15:30:47570 days ago1671809447IN
0x789bF86A...3cf84DbB9
0 ETH0.0006534914.00749446
Safe Transfer Fr...162238992022-12-20 5:45:11574 days ago1671515111IN
0x789bF86A...3cf84DbB9
0 ETH0.0008829113.34978437
Safe Transfer Fr...162144592022-12-18 22:06:59575 days ago1671401219IN
0x789bF86A...3cf84DbB9
0 ETH0.0008429112.74495385
Set Approval For...162084382022-12-18 1:56:59576 days ago1671328619IN
0x789bF86A...3cf84DbB9
0 ETH0.0006497813.92805961
Safe Transfer Fr...162078392022-12-17 23:56:23576 days ago1671321383IN
0x789bF86A...3cf84DbB9
0 ETH0.0009343314.12723354
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
156333942022-09-28 17:41:23656 days ago1664386883
0x789bF86A...3cf84DbB9
2.08 ETH
155822802022-09-21 14:15:11663 days ago1663769711
0x789bF86A...3cf84DbB9
5.84 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GenesisCollection

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

interface IMinter {
    function whitelistOnly() external view returns (bool);
    function mintStarted() external view returns (bool);
}

contract GenesisCollection is ERC721, AccessControl {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private _tokenIdCounter;

    bytes32 public merkleRoot;
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    uint256 public constant TOTAL_SUPPLY = 9_724;

    // Authorized contract to mint tokens
    IMinter MinterContract;

    string private baseTokenURI;
    string private placeholderTokenURI;
    uint256 public mintPrice = 0.08 ether;
    bool _preminted;
    bool public revealed;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _placeholderTokenURI
    ) ERC721(_name, _symbol) {
        placeholderTokenURI = _placeholderTokenURI;
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(MINTER_ROLE, msg.sender);
    }

    // The following functions are overrides required by Solidity.
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
    function withdraw() public onlyRole(DEFAULT_ADMIN_ROLE) {
        payable(msg.sender).transfer(address(this).balance);
    }

    function setCost(uint256 newCost) public onlyRole(MINTER_ROLE) {
        require(newCost > 0, "Cost must be greater than 0 eth");
        mintPrice = newCost;
    }

    function setMerkleRoot(bytes32 root) public onlyRole(MINTER_ROLE) {
        merkleRoot = root;
    }

    function setMinterContract(address contractAddress) public onlyRole(MINTER_ROLE) {
        MinterContract = IMinter(contractAddress);
    }

    function setPlaceholderUri(string memory _newUri) public onlyRole(MINTER_ROLE) {
        placeholderTokenURI = _newUri;
    }

    function setBaseTokenUri(string memory _newUri) public onlyRole(MINTER_ROLE) {
        baseTokenURI = _newUri;
    }

    function toggleReveal() public onlyRole(MINTER_ROLE) {
        revealed = !revealed;
    }

    function mintEnded() public view returns (bool) {
        return _tokenIdCounter.current() == TOTAL_SUPPLY;
    }

    function checkToken(uint256 tokenId) external view returns (bool) {
        return _exists(tokenId);
    }

    function premint(uint256 premintCount) public onlyRole(DEFAULT_ADMIN_ROLE) {
        require(!_preminted, "Already preminted");
        for (uint256 i = 1; i <= premintCount; i++) {
            _safeMint(msg.sender, i);
        }
        _preminted = true;
        _tokenIdCounter._value = premintCount;
    }

    function whitelistMint(uint256 mintCount, bytes32[] calldata proof) public payable {
        require(MinterContract.mintStarted(), "Mint not started yet");
        require(MinterContract.whitelistOnly(), "Method can only be used during early mint");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(proof, merkleRoot, leaf), "User is not whitelisted");

        require(mintCount > 0 && mintCount <= 22, "Invalid mint count");
        require(_tokenIdCounter.current() + mintCount <= TOTAL_SUPPLY, "Requested mint count exceeds supply");
        require(msg.value >= mintCount * mintPrice, "Transaction value did not meet mint price");

        for (uint256 i = 0; i < mintCount; i++) {    
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }
    }

    function mint(uint256 mintCount) public payable {
        require(MinterContract.mintStarted(), "Mint not started yet");
        require(!MinterContract.whitelistOnly(), "Whitelist mint only");

        require(mintCount > 0 && mintCount <= 22, "Invalid mint count");
        require(_tokenIdCounter.current() + mintCount <= TOTAL_SUPPLY, "Requested mint count exceeds supply");
        if (!hasRole(MINTER_ROLE, msg.sender)) {
            require(msg.value >= mintCount * mintPrice, "Transaction value did not meet mint price");
        }

        for (uint256 i = 0; i < mintCount; i++) {    
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }
    }

    function totalSupply() external view returns (uint256) {
        return _tokenIdCounter.current();
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        return bytes(baseTokenURI).length > 0 && revealed
            ? string(abi.encodePacked(baseTokenURI, tokenId.toString(), ".json"))
            : string(abi.encodePacked(placeholderTokenURI, tokenId.toString(), ".json"));
    }
}

File 2 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 3 of 14 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 5 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 14 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 8 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 9 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 10 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);
}

File 11 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 13 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_placeholderTokenURI","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"checkToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintCount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"premintCount","type":"uint256"}],"name":"premint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"_newUri","type":"string"}],"name":"setBaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setMinterContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUri","type":"string"}],"name":"setPlaceholderUri","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":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"mintCount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267011c37937e080000600c553480156200001d57600080fd5b506040516200516c3803806200516c8339818101604052810190620000439190620003c5565b82828160009081620000569190620006c9565b508060019081620000689190620006c9565b50505080600b90816200007c9190620006c9565b50620000926000801b33620000cd60201b60201c565b620000c47f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000cd60201b60201c565b505050620007b0565b620000df8282620001bf60201b60201c565b620001bb5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001606200022a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200029b8262000250565b810181811067ffffffffffffffff82111715620002bd57620002bc62000261565b5b80604052505050565b6000620002d262000232565b9050620002e0828262000290565b919050565b600067ffffffffffffffff82111562000303576200030262000261565b5b6200030e8262000250565b9050602081019050919050565b60005b838110156200033b5780820151818401526020810190506200031e565b60008484015250505050565b60006200035e6200035884620002e5565b620002c6565b9050828152602081018484840111156200037d576200037c6200024b565b5b6200038a8482856200031b565b509392505050565b600082601f830112620003aa57620003a962000246565b5b8151620003bc84826020860162000347565b91505092915050565b600080600060608486031215620003e157620003e06200023c565b5b600084015167ffffffffffffffff81111562000402576200040162000241565b5b620004108682870162000392565b935050602084015167ffffffffffffffff81111562000434576200043362000241565b5b620004428682870162000392565b925050604084015167ffffffffffffffff81111562000466576200046562000241565b5b620004748682870162000392565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004d157607f821691505b602082108103620004e757620004e662000489565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000512565b6200055d868362000512565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005aa620005a46200059e8462000575565b6200057f565b62000575565b9050919050565b6000819050919050565b620005c68362000589565b620005de620005d582620005b1565b8484546200051f565b825550505050565b600090565b620005f5620005e6565b62000602818484620005bb565b505050565b5b818110156200062a576200061e600082620005eb565b60018101905062000608565b5050565b601f82111562000679576200064381620004ed565b6200064e8462000502565b810160208510156200065e578190505b620006766200066d8562000502565b83018262000607565b50505b505050565b600082821c905092915050565b60006200069e600019846008026200067e565b1980831691505092915050565b6000620006b983836200068b565b9150826002028217905092915050565b620006d4826200047e565b67ffffffffffffffff811115620006f057620006ef62000261565b5b620006fc8254620004b8565b620007098282856200062e565b600060209050601f8311600181146200074157600084156200072c578287015190505b620007388582620006ab565b865550620007a8565b601f1984166200075186620004ed565b60005b828110156200077b5784890151825560018201915060208501945060208101905062000754565b868310156200079b578489015162000797601f8916826200068b565b8355505b6001600288020188555050505b505050505050565b6149ac80620007c06000396000f3fe60806040526004361061021a5760003560e01c80636817c76c11610123578063a0712d68116100ab578063c87b56dd1161006f578063c87b56dd146107ac578063d2cab056146107e9578063d539139314610805578063d547741f14610830578063e985e9c5146108595761021a565b8063a0712d68146106d6578063a0bb2b54146106f2578063a217fddf1461072f578063a22cb4651461075a578063b88d4fde146107835761021a565b8063902d55a5116100f2578063902d55a5146105f157806391d148541461061c57806395652cfa1461065957806395d89b41146106825780639d5aef30146106ad5761021a565b80636817c76c146105375780636afd4ba21461056257806370a082311461058b5780637cb64759146105c85761021a565b80632f2ff15d116101a657806342842e0e1161017557806342842e0e1461046657806344a0d68a1461048f57806351830227146104b85780635b8ad429146104e35780636352211e146104fa5761021a565b80632f2ff15d146103d457806336568abe146103fd57806338478ae7146104265780633ccfd60b1461044f5761021a565b8063095ea7b3116101ed578063095ea7b3146102ef57806318160ddd1461031857806323b872dd14610343578063248a9ca31461036c5780632eb4a7ab146103a95761021a565b806301ffc9a71461021f578063021313cf1461025c57806306fdde0314610287578063081812fc146102b2575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612db9565b610896565b6040516102539190612e01565b60405180910390f35b34801561026857600080fd5b506102716108a8565b60405161027e9190612e01565b60405180910390f35b34801561029357600080fd5b5061029c6108bd565b6040516102a99190612eac565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d49190612f04565b61094f565b6040516102e69190612f72565b60405180910390f35b3480156102fb57600080fd5b5061031660048036038101906103119190612fb9565b610995565b005b34801561032457600080fd5b5061032d610aac565b60405161033a9190613008565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613023565b610abd565b005b34801561037857600080fd5b50610393600480360381019061038e91906130ac565b610b1d565b6040516103a091906130e8565b60405180910390f35b3480156103b557600080fd5b506103be610b3d565b6040516103cb91906130e8565b60405180910390f35b3480156103e057600080fd5b506103fb60048036038101906103f69190613103565b610b43565b005b34801561040957600080fd5b50610424600480360381019061041f9190613103565b610b64565b005b34801561043257600080fd5b5061044d60048036038101906104489190613143565b610be7565b005b34801561045b57600080fd5b50610464610c56565b005b34801561047257600080fd5b5061048d60048036038101906104889190613023565b610cad565b005b34801561049b57600080fd5b506104b660048036038101906104b19190612f04565b610ccd565b005b3480156104c457600080fd5b506104cd610d45565b6040516104da9190612e01565b60405180910390f35b3480156104ef57600080fd5b506104f8610d58565b005b34801561050657600080fd5b50610521600480360381019061051c9190612f04565b610daf565b60405161052e9190612f72565b60405180910390f35b34801561054357600080fd5b5061054c610e60565b6040516105599190613008565b60405180910390f35b34801561056e57600080fd5b50610589600480360381019061058491906132a5565b610e66565b005b34801561059757600080fd5b506105b260048036038101906105ad9190613143565b610ea4565b6040516105bf9190613008565b60405180910390f35b3480156105d457600080fd5b506105ef60048036038101906105ea91906130ac565b610f5b565b005b3480156105fd57600080fd5b50610606610f90565b6040516106139190613008565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e9190613103565b610f96565b6040516106509190612e01565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b91906132a5565b611001565b005b34801561068e57600080fd5b5061069761103f565b6040516106a49190612eac565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf9190612f04565b6110d1565b005b6106f060048036038101906106eb9190612f04565b611183565b005b3480156106fe57600080fd5b5061071960048036038101906107149190612f04565b61148b565b6040516107269190612e01565b60405180910390f35b34801561073b57600080fd5b5061074461149d565b60405161075191906130e8565b60405180910390f35b34801561076657600080fd5b50610781600480360381019061077c919061331a565b6114a4565b005b34801561078f57600080fd5b506107aa60048036038101906107a591906133fb565b6114ba565b005b3480156107b857600080fd5b506107d360048036038101906107ce9190612f04565b61151c565b6040516107e09190612eac565b60405180910390f35b61080360048036038101906107fe91906134de565b6115f7565b005b34801561081157600080fd5b5061081a61198a565b60405161082791906130e8565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190613103565b6119ae565b005b34801561086557600080fd5b50610880600480360381019061087b919061353e565b6119cf565b60405161088d9190612e01565b60405180910390f35b60006108a182611a63565b9050919050565b60006125fc6108b76007611add565b14905090565b6060600080546108cc906135ad565b80601f01602080910402602001604051908101604052809291908181526020018280546108f8906135ad565b80156109455780601f1061091a57610100808354040283529160200191610945565b820191906000526020600020905b81548152906001019060200180831161092857829003601f168201915b5050505050905090565b600061095a82611aeb565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a082610daf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0790613650565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a2f611b36565b73ffffffffffffffffffffffffffffffffffffffff161480610a5e5750610a5d81610a58611b36565b6119cf565b5b610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a94906136e2565b60405180910390fd5b610aa78383611b3e565b505050565b6000610ab86007611add565b905090565b610ace610ac8611b36565b82611bf7565b610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0490613774565b60405180910390fd5b610b18838383611c8c565b505050565b600060066000838152602001908152602001600020600101549050919050565b60085481565b610b4c82610b1d565b610b5581611ef2565b610b5f8383611f06565b505050565b610b6c611b36565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd090613806565b60405180910390fd5b610be38282611fe7565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610c1181611ef2565b81600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000801b610c6381611ef2565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ca9573d6000803e3d6000fd5b5050565b610cc8838383604051806020016040528060008152506114ba565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610cf781611ef2565b60008211610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190613872565b60405180910390fd5b81600c819055505050565b600d60019054906101000a900460ff1681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610d8281611ef2565b600d60019054906101000a900460ff1615600d60016101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4e906138de565b60405180910390fd5b80915050919050565b600c5481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e9081611ef2565b81600b9081610e9f9190613aaa565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b90613bee565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610f8581611ef2565b816008819055505050565b6125fc81565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661102b81611ef2565b81600a908161103a9190613aaa565b505050565b60606001805461104e906135ad565b80601f016020809104026020016040519081016040528092919081815260200182805461107a906135ad565b80156110c75780601f1061109c576101008083540402835291602001916110c7565b820191906000526020600020905b8154815290600101906020018083116110aa57829003601f168201915b5050505050905090565b6000801b6110de81611ef2565b600d60009054906101000a900460ff161561112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590613c5a565b60405180910390fd5b6000600190505b8281116111595761114633826120c9565b808061115190613ca9565b915050611135565b506001600d60006101000a81548160ff021916908315150217905550816007600001819055505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9722cf36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112149190613d06565b611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a90613d7f565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634b4687b56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190613d06565b15611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90613deb565b60405180910390fd5b600081118015611335575060168111155b611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90613e57565b60405180910390fd5b6125fc816113826007611add565b61138c9190613e77565b11156113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c490613f1d565b60405180910390fd5b6113f77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610f96565b61144c57600c54816114099190613f3d565b34101561144b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144290613ff1565b60405180910390fd5b5b60005b818110156114875761146160076120e7565b6114743361146f6007611add565b6120c9565b808061147f90613ca9565b91505061144f565b5050565b6000611496826120fd565b9050919050565b6000801b81565b6114b66114af611b36565b8383612169565b5050565b6114cb6114c5611b36565b83611bf7565b61150a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150190613774565b60405180910390fd5b611516848484846122d5565b50505050565b6060611527826120fd565b611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90614083565b60405180910390fd5b6000600a8054611575906135ad565b90501180156115905750600d60019054906101000a900460ff165b6115c457600b61159f83612331565b6040516020016115b09291906141ae565b6040516020818303038152906040526115f0565b600a6115cf83612331565b6040516020016115e09291906141ae565b6040516020818303038152906040525b9050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9722cf36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611664573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116889190613d06565b6116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be90613d7f565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634b4687b56040518163ffffffff1660e01b8152600401602060405180830381865afa158015611734573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117589190613d06565b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e9061424f565b60405180910390fd5b6000336040516020016117aa91906142b7565b604051602081830303815290604052805190602001209050611810838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060085483612491565b61184f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118469061431e565b60405180910390fd5b600084118015611860575060168411155b61189f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189690613e57565b60405180910390fd5b6125fc846118ad6007611add565b6118b79190613e77565b11156118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef90613f1d565b60405180910390fd5b600c54846119069190613f3d565b341015611948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193f90613ff1565b60405180910390fd5b60005b848110156119835761195d60076120e7565b6119703361196b6007611add565b6120c9565b808061197b90613ca9565b91505061194b565b5050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6119b782610b1d565b6119c081611ef2565b6119ca8383611fe7565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ad65750611ad5826124a8565b5b9050919050565b600081600001549050919050565b611af4816120fd565b611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a906138de565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bb183610daf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c0383610daf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c455750611c4481856119cf565b5b80611c8357508373ffffffffffffffffffffffffffffffffffffffff16611c6b8461094f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cac82610daf565b73ffffffffffffffffffffffffffffffffffffffff1614611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf9906143b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890614442565b60405180910390fd5b611d7c83838361258a565b611d87600082611b3e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dd79190614462565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e2e9190613e77565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611eed83838361258f565b505050565b611f0381611efe611b36565b612594565b50565b611f108282610f96565b611fe35760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f88611b36565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611ff18282610f96565b156120c55760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061206a611b36565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6120e3828260405180602001604052806000815250612631565b5050565b6001816000016000828254019250508190555050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce906144e2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122c89190612e01565b60405180910390a3505050565b6122e0848484611c8c565b6122ec8484848461268c565b61232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232290614574565b60405180910390fd5b50505050565b606060008203612378576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061248c565b600082905060005b600082146123aa57808061239390613ca9565b915050600a826123a391906145c3565b9150612380565b60008167ffffffffffffffff8111156123c6576123c561317a565b5b6040519080825280601f01601f1916602001820160405280156123f85781602001600182028036833780820191505090505b5090505b60008514612485576001826124119190614462565b9150600a8561242091906145f4565b603061242c9190613e77565b60f81b81838151811061244257612441614625565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561247e91906145c3565b94506123fc565b8093505050505b919050565b60008261249e8584612813565b1490509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061257357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612583575061258282612869565b5b9050919050565b505050565b505050565b61259e8282610f96565b61262d576125c38173ffffffffffffffffffffffffffffffffffffffff1660146128d3565b6125d18360001c60206128d3565b6040516020016125e29291906146ec565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126249190612eac565b60405180910390fd5b5050565b61263b8383612b0f565b612648600084848461268c565b612687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e90614574565b60405180910390fd5b505050565b60006126ad8473ffffffffffffffffffffffffffffffffffffffff16612ce8565b15612806578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126d6611b36565b8786866040518563ffffffff1660e01b81526004016126f8949392919061477b565b6020604051808303816000875af192505050801561273457506040513d601f19601f8201168201806040525081019061273191906147dc565b60015b6127b6573d8060008114612764576040519150601f19603f3d011682016040523d82523d6000602084013e612769565b606091505b5060008151036127ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a590614574565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061280b565b600190505b949350505050565b60008082905060005b845181101561285e576128498286838151811061283c5761283b614625565b5b6020026020010151612d0b565b9150808061285690613ca9565b91505061281c565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026128e69190613f3d565b6128f09190613e77565b67ffffffffffffffff8111156129095761290861317a565b5b6040519080825280601f01601f19166020018201604052801561293b5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061297357612972614625565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106129d7576129d6614625565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612a179190613f3d565b612a219190613e77565b90505b6001811115612ac1577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612a6357612a62614625565b5b1a60f81b828281518110612a7a57612a79614625565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612aba90614809565b9050612a24565b5060008414612b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afc9061487e565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b75906148ea565b60405180910390fd5b612b87816120fd565b15612bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbe90614956565b60405180910390fd5b612bd36000838361258a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c239190613e77565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ce46000838361258f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000818310612d2357612d1e8284612d36565b612d2e565b612d2d8383612d36565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d9681612d61565b8114612da157600080fd5b50565b600081359050612db381612d8d565b92915050565b600060208284031215612dcf57612dce612d57565b5b6000612ddd84828501612da4565b91505092915050565b60008115159050919050565b612dfb81612de6565b82525050565b6000602082019050612e166000830184612df2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e56578082015181840152602081019050612e3b565b60008484015250505050565b6000601f19601f8301169050919050565b6000612e7e82612e1c565b612e888185612e27565b9350612e98818560208601612e38565b612ea181612e62565b840191505092915050565b60006020820190508181036000830152612ec68184612e73565b905092915050565b6000819050919050565b612ee181612ece565b8114612eec57600080fd5b50565b600081359050612efe81612ed8565b92915050565b600060208284031215612f1a57612f19612d57565b5b6000612f2884828501612eef565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f5c82612f31565b9050919050565b612f6c81612f51565b82525050565b6000602082019050612f876000830184612f63565b92915050565b612f9681612f51565b8114612fa157600080fd5b50565b600081359050612fb381612f8d565b92915050565b60008060408385031215612fd057612fcf612d57565b5b6000612fde85828601612fa4565b9250506020612fef85828601612eef565b9150509250929050565b61300281612ece565b82525050565b600060208201905061301d6000830184612ff9565b92915050565b60008060006060848603121561303c5761303b612d57565b5b600061304a86828701612fa4565b935050602061305b86828701612fa4565b925050604061306c86828701612eef565b9150509250925092565b6000819050919050565b61308981613076565b811461309457600080fd5b50565b6000813590506130a681613080565b92915050565b6000602082840312156130c2576130c1612d57565b5b60006130d084828501613097565b91505092915050565b6130e281613076565b82525050565b60006020820190506130fd60008301846130d9565b92915050565b6000806040838503121561311a57613119612d57565b5b600061312885828601613097565b925050602061313985828601612fa4565b9150509250929050565b60006020828403121561315957613158612d57565b5b600061316784828501612fa4565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131b282612e62565b810181811067ffffffffffffffff821117156131d1576131d061317a565b5b80604052505050565b60006131e4612d4d565b90506131f082826131a9565b919050565b600067ffffffffffffffff8211156132105761320f61317a565b5b61321982612e62565b9050602081019050919050565b82818337600083830152505050565b6000613248613243846131f5565b6131da565b90508281526020810184848401111561326457613263613175565b5b61326f848285613226565b509392505050565b600082601f83011261328c5761328b613170565b5b813561329c848260208601613235565b91505092915050565b6000602082840312156132bb576132ba612d57565b5b600082013567ffffffffffffffff8111156132d9576132d8612d5c565b5b6132e584828501613277565b91505092915050565b6132f781612de6565b811461330257600080fd5b50565b600081359050613314816132ee565b92915050565b6000806040838503121561333157613330612d57565b5b600061333f85828601612fa4565b925050602061335085828601613305565b9150509250929050565b600067ffffffffffffffff8211156133755761337461317a565b5b61337e82612e62565b9050602081019050919050565b600061339e6133998461335a565b6131da565b9050828152602081018484840111156133ba576133b9613175565b5b6133c5848285613226565b509392505050565b600082601f8301126133e2576133e1613170565b5b81356133f284826020860161338b565b91505092915050565b6000806000806080858703121561341557613414612d57565b5b600061342387828801612fa4565b945050602061343487828801612fa4565b935050604061344587828801612eef565b925050606085013567ffffffffffffffff81111561346657613465612d5c565b5b613472878288016133cd565b91505092959194509250565b600080fd5b600080fd5b60008083601f84011261349e5761349d613170565b5b8235905067ffffffffffffffff8111156134bb576134ba61347e565b5b6020830191508360208202830111156134d7576134d6613483565b5b9250929050565b6000806000604084860312156134f7576134f6612d57565b5b600061350586828701612eef565b935050602084013567ffffffffffffffff81111561352657613525612d5c565b5b61353286828701613488565b92509250509250925092565b6000806040838503121561355557613554612d57565b5b600061356385828601612fa4565b925050602061357485828601612fa4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135c557607f821691505b6020821081036135d8576135d761357e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061363a602183612e27565b9150613645826135de565b604082019050919050565b600060208201905081810360008301526136698161362d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006136cc603e83612e27565b91506136d782613670565b604082019050919050565b600060208201905081810360008301526136fb816136bf565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061375e602e83612e27565b915061376982613702565b604082019050919050565b6000602082019050818103600083015261378d81613751565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006137f0602f83612e27565b91506137fb82613794565b604082019050919050565b6000602082019050818103600083015261381f816137e3565b9050919050565b7f436f7374206d7573742062652067726561746572207468616e20302065746800600082015250565b600061385c601f83612e27565b915061386782613826565b602082019050919050565b6000602082019050818103600083015261388b8161384f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006138c8601883612e27565b91506138d382613892565b602082019050919050565b600060208201905081810360008301526138f7816138bb565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026139607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613923565b61396a8683613923565b95508019841693508086168417925050509392505050565b6000819050919050565b60006139a76139a261399d84612ece565b613982565b612ece565b9050919050565b6000819050919050565b6139c18361398c565b6139d56139cd826139ae565b848454613930565b825550505050565b600090565b6139ea6139dd565b6139f58184846139b8565b505050565b5b81811015613a1957613a0e6000826139e2565b6001810190506139fb565b5050565b601f821115613a5e57613a2f816138fe565b613a3884613913565b81016020851015613a47578190505b613a5b613a5385613913565b8301826139fa565b50505b505050565b600082821c905092915050565b6000613a8160001984600802613a63565b1980831691505092915050565b6000613a9a8383613a70565b9150826002028217905092915050565b613ab382612e1c565b67ffffffffffffffff811115613acc57613acb61317a565b5b613ad682546135ad565b613ae1828285613a1d565b600060209050601f831160018114613b145760008415613b02578287015190505b613b0c8582613a8e565b865550613b74565b601f198416613b22866138fe565b60005b82811015613b4a57848901518255600182019150602085019450602081019050613b25565b86831015613b675784890151613b63601f891682613a70565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613bd8602983612e27565b9150613be382613b7c565b604082019050919050565b60006020820190508181036000830152613c0781613bcb565b9050919050565b7f416c7265616479207072656d696e746564000000000000000000000000000000600082015250565b6000613c44601183612e27565b9150613c4f82613c0e565b602082019050919050565b60006020820190508181036000830152613c7381613c37565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613cb482612ece565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ce657613ce5613c7a565b5b600182019050919050565b600081519050613d00816132ee565b92915050565b600060208284031215613d1c57613d1b612d57565b5b6000613d2a84828501613cf1565b91505092915050565b7f4d696e74206e6f74207374617274656420796574000000000000000000000000600082015250565b6000613d69601483612e27565b9150613d7482613d33565b602082019050919050565b60006020820190508181036000830152613d9881613d5c565b9050919050565b7f57686974656c697374206d696e74206f6e6c7900000000000000000000000000600082015250565b6000613dd5601383612e27565b9150613de082613d9f565b602082019050919050565b60006020820190508181036000830152613e0481613dc8565b9050919050565b7f496e76616c6964206d696e7420636f756e740000000000000000000000000000600082015250565b6000613e41601283612e27565b9150613e4c82613e0b565b602082019050919050565b60006020820190508181036000830152613e7081613e34565b9050919050565b6000613e8282612ece565b9150613e8d83612ece565b9250828201905080821115613ea557613ea4613c7a565b5b92915050565b7f526571756573746564206d696e7420636f756e7420657863656564732073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b6000613f07602383612e27565b9150613f1282613eab565b604082019050919050565b60006020820190508181036000830152613f3681613efa565b9050919050565b6000613f4882612ece565b9150613f5383612ece565b9250828202613f6181612ece565b91508282048414831517613f7857613f77613c7a565b5b5092915050565b7f5472616e73616374696f6e2076616c756520646964206e6f74206d656574206d60008201527f696e742070726963650000000000000000000000000000000000000000000000602082015250565b6000613fdb602983612e27565b9150613fe682613f7f565b604082019050919050565b6000602082019050818103600083015261400a81613fce565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061406d602f83612e27565b915061407882614011565b604082019050919050565b6000602082019050818103600083015261409c81614060565b9050919050565b600081905092915050565b600081546140bb816135ad565b6140c581866140a3565b945060018216600081146140e057600181146140f557614128565b60ff1983168652811515820286019350614128565b6140fe856138fe565b60005b8381101561412057815481890152600182019150602081019050614101565b838801955050505b50505092915050565b600061413c82612e1c565b61414681856140a3565b9350614156818560208601612e38565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006141986005836140a3565b91506141a382614162565b600582019050919050565b60006141ba82856140ae565b91506141c68284614131565b91506141d18261418b565b91508190509392505050565b7f4d6574686f642063616e206f6e6c79206265207573656420647572696e67206560008201527f61726c79206d696e740000000000000000000000000000000000000000000000602082015250565b6000614239602983612e27565b9150614244826141dd565b604082019050919050565b600060208201905081810360008301526142688161422c565b9050919050565b60008160601b9050919050565b60006142878261426f565b9050919050565b60006142998261427c565b9050919050565b6142b16142ac82612f51565b61428e565b82525050565b60006142c382846142a0565b60148201915081905092915050565b7f55736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b6000614308601783612e27565b9150614313826142d2565b602082019050919050565b60006020820190508181036000830152614337816142fb565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061439a602583612e27565b91506143a58261433e565b604082019050919050565b600060208201905081810360008301526143c98161438d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061442c602483612e27565b9150614437826143d0565b604082019050919050565b6000602082019050818103600083015261445b8161441f565b9050919050565b600061446d82612ece565b915061447883612ece565b92508282039050818111156144905761448f613c7a565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006144cc601983612e27565b91506144d782614496565b602082019050919050565b600060208201905081810360008301526144fb816144bf565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061455e603283612e27565b915061456982614502565b604082019050919050565b6000602082019050818103600083015261458d81614551565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006145ce82612ece565b91506145d983612ece565b9250826145e9576145e8614594565b5b828204905092915050565b60006145ff82612ece565b915061460a83612ece565b92508261461a57614619614594565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061468a6017836140a3565b915061469582614654565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006146d66011836140a3565b91506146e1826146a0565b601182019050919050565b60006146f78261467d565b91506147038285614131565b915061470e826146c9565b915061471a8284614131565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061474d82614726565b6147578185614731565b9350614767818560208601612e38565b61477081612e62565b840191505092915050565b60006080820190506147906000830187612f63565b61479d6020830186612f63565b6147aa6040830185612ff9565b81810360608301526147bc8184614742565b905095945050505050565b6000815190506147d681612d8d565b92915050565b6000602082840312156147f2576147f1612d57565b5b6000614800848285016147c7565b91505092915050565b600061481482612ece565b91506000820361482757614826613c7a565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614868602083612e27565b915061487382614832565b602082019050919050565b600060208201905081810360008301526148978161485b565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006148d4602083612e27565b91506148df8261489e565b602082019050919050565b60006020820190508181036000830152614903816148c7565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614940601c83612e27565b915061494b8261490a565b602082019050919050565b6000602082019050818103600083015261496f81614933565b905091905056fea2646970667358221220f516c8e34ccee259efa66a28b5b1e44c0d71fb7b1777b0da3d90653047e2ec6264736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001147656e65736973436f6c6c656374696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094d4f4445524e49535400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569686f6b6a63786e7a7675327869796a7a633573626c616d686f716368636772686d3261376773357a6b626270616e7164797632792f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636817c76c11610123578063a0712d68116100ab578063c87b56dd1161006f578063c87b56dd146107ac578063d2cab056146107e9578063d539139314610805578063d547741f14610830578063e985e9c5146108595761021a565b8063a0712d68146106d6578063a0bb2b54146106f2578063a217fddf1461072f578063a22cb4651461075a578063b88d4fde146107835761021a565b8063902d55a5116100f2578063902d55a5146105f157806391d148541461061c57806395652cfa1461065957806395d89b41146106825780639d5aef30146106ad5761021a565b80636817c76c146105375780636afd4ba21461056257806370a082311461058b5780637cb64759146105c85761021a565b80632f2ff15d116101a657806342842e0e1161017557806342842e0e1461046657806344a0d68a1461048f57806351830227146104b85780635b8ad429146104e35780636352211e146104fa5761021a565b80632f2ff15d146103d457806336568abe146103fd57806338478ae7146104265780633ccfd60b1461044f5761021a565b8063095ea7b3116101ed578063095ea7b3146102ef57806318160ddd1461031857806323b872dd14610343578063248a9ca31461036c5780632eb4a7ab146103a95761021a565b806301ffc9a71461021f578063021313cf1461025c57806306fdde0314610287578063081812fc146102b2575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190612db9565b610896565b6040516102539190612e01565b60405180910390f35b34801561026857600080fd5b506102716108a8565b60405161027e9190612e01565b60405180910390f35b34801561029357600080fd5b5061029c6108bd565b6040516102a99190612eac565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d49190612f04565b61094f565b6040516102e69190612f72565b60405180910390f35b3480156102fb57600080fd5b5061031660048036038101906103119190612fb9565b610995565b005b34801561032457600080fd5b5061032d610aac565b60405161033a9190613008565b60405180910390f35b34801561034f57600080fd5b5061036a60048036038101906103659190613023565b610abd565b005b34801561037857600080fd5b50610393600480360381019061038e91906130ac565b610b1d565b6040516103a091906130e8565b60405180910390f35b3480156103b557600080fd5b506103be610b3d565b6040516103cb91906130e8565b60405180910390f35b3480156103e057600080fd5b506103fb60048036038101906103f69190613103565b610b43565b005b34801561040957600080fd5b50610424600480360381019061041f9190613103565b610b64565b005b34801561043257600080fd5b5061044d60048036038101906104489190613143565b610be7565b005b34801561045b57600080fd5b50610464610c56565b005b34801561047257600080fd5b5061048d60048036038101906104889190613023565b610cad565b005b34801561049b57600080fd5b506104b660048036038101906104b19190612f04565b610ccd565b005b3480156104c457600080fd5b506104cd610d45565b6040516104da9190612e01565b60405180910390f35b3480156104ef57600080fd5b506104f8610d58565b005b34801561050657600080fd5b50610521600480360381019061051c9190612f04565b610daf565b60405161052e9190612f72565b60405180910390f35b34801561054357600080fd5b5061054c610e60565b6040516105599190613008565b60405180910390f35b34801561056e57600080fd5b50610589600480360381019061058491906132a5565b610e66565b005b34801561059757600080fd5b506105b260048036038101906105ad9190613143565b610ea4565b6040516105bf9190613008565b60405180910390f35b3480156105d457600080fd5b506105ef60048036038101906105ea91906130ac565b610f5b565b005b3480156105fd57600080fd5b50610606610f90565b6040516106139190613008565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e9190613103565b610f96565b6040516106509190612e01565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b91906132a5565b611001565b005b34801561068e57600080fd5b5061069761103f565b6040516106a49190612eac565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf9190612f04565b6110d1565b005b6106f060048036038101906106eb9190612f04565b611183565b005b3480156106fe57600080fd5b5061071960048036038101906107149190612f04565b61148b565b6040516107269190612e01565b60405180910390f35b34801561073b57600080fd5b5061074461149d565b60405161075191906130e8565b60405180910390f35b34801561076657600080fd5b50610781600480360381019061077c919061331a565b6114a4565b005b34801561078f57600080fd5b506107aa60048036038101906107a591906133fb565b6114ba565b005b3480156107b857600080fd5b506107d360048036038101906107ce9190612f04565b61151c565b6040516107e09190612eac565b60405180910390f35b61080360048036038101906107fe91906134de565b6115f7565b005b34801561081157600080fd5b5061081a61198a565b60405161082791906130e8565b60405180910390f35b34801561083c57600080fd5b5061085760048036038101906108529190613103565b6119ae565b005b34801561086557600080fd5b50610880600480360381019061087b919061353e565b6119cf565b60405161088d9190612e01565b60405180910390f35b60006108a182611a63565b9050919050565b60006125fc6108b76007611add565b14905090565b6060600080546108cc906135ad565b80601f01602080910402602001604051908101604052809291908181526020018280546108f8906135ad565b80156109455780601f1061091a57610100808354040283529160200191610945565b820191906000526020600020905b81548152906001019060200180831161092857829003601f168201915b5050505050905090565b600061095a82611aeb565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a082610daf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0790613650565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a2f611b36565b73ffffffffffffffffffffffffffffffffffffffff161480610a5e5750610a5d81610a58611b36565b6119cf565b5b610a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a94906136e2565b60405180910390fd5b610aa78383611b3e565b505050565b6000610ab86007611add565b905090565b610ace610ac8611b36565b82611bf7565b610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0490613774565b60405180910390fd5b610b18838383611c8c565b505050565b600060066000838152602001908152602001600020600101549050919050565b60085481565b610b4c82610b1d565b610b5581611ef2565b610b5f8383611f06565b505050565b610b6c611b36565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd090613806565b60405180910390fd5b610be38282611fe7565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610c1181611ef2565b81600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000801b610c6381611ef2565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610ca9573d6000803e3d6000fd5b5050565b610cc8838383604051806020016040528060008152506114ba565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610cf781611ef2565b60008211610d3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3190613872565b60405180910390fd5b81600c819055505050565b600d60019054906101000a900460ff1681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610d8281611ef2565b600d60019054906101000a900460ff1615600d60016101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4e906138de565b60405180910390fd5b80915050919050565b600c5481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e9081611ef2565b81600b9081610e9f9190613aaa565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0b90613bee565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610f8581611ef2565b816008819055505050565b6125fc81565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661102b81611ef2565b81600a908161103a9190613aaa565b505050565b60606001805461104e906135ad565b80601f016020809104026020016040519081016040528092919081815260200182805461107a906135ad565b80156110c75780601f1061109c576101008083540402835291602001916110c7565b820191906000526020600020905b8154815290600101906020018083116110aa57829003601f168201915b5050505050905090565b6000801b6110de81611ef2565b600d60009054906101000a900460ff161561112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112590613c5a565b60405180910390fd5b6000600190505b8281116111595761114633826120c9565b808061115190613ca9565b915050611135565b506001600d60006101000a81548160ff021916908315150217905550816007600001819055505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9722cf36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112149190613d06565b611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a90613d7f565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634b4687b56040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e49190613d06565b15611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90613deb565b60405180910390fd5b600081118015611335575060168111155b611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b90613e57565b60405180910390fd5b6125fc816113826007611add565b61138c9190613e77565b11156113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c490613f1d565b60405180910390fd5b6113f77f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610f96565b61144c57600c54816114099190613f3d565b34101561144b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144290613ff1565b60405180910390fd5b5b60005b818110156114875761146160076120e7565b6114743361146f6007611add565b6120c9565b808061147f90613ca9565b91505061144f565b5050565b6000611496826120fd565b9050919050565b6000801b81565b6114b66114af611b36565b8383612169565b5050565b6114cb6114c5611b36565b83611bf7565b61150a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150190613774565b60405180910390fd5b611516848484846122d5565b50505050565b6060611527826120fd565b611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90614083565b60405180910390fd5b6000600a8054611575906135ad565b90501180156115905750600d60019054906101000a900460ff165b6115c457600b61159f83612331565b6040516020016115b09291906141ae565b6040516020818303038152906040526115f0565b600a6115cf83612331565b6040516020016115e09291906141ae565b6040516020818303038152906040525b9050919050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9722cf36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611664573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116889190613d06565b6116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be90613d7f565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634b4687b56040518163ffffffff1660e01b8152600401602060405180830381865afa158015611734573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117589190613d06565b611797576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178e9061424f565b60405180910390fd5b6000336040516020016117aa91906142b7565b604051602081830303815290604052805190602001209050611810838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060085483612491565b61184f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118469061431e565b60405180910390fd5b600084118015611860575060168411155b61189f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189690613e57565b60405180910390fd5b6125fc846118ad6007611add565b6118b79190613e77565b11156118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef90613f1d565b60405180910390fd5b600c54846119069190613f3d565b341015611948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193f90613ff1565b60405180910390fd5b60005b848110156119835761195d60076120e7565b6119703361196b6007611add565b6120c9565b808061197b90613ca9565b91505061194b565b5050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6119b782610b1d565b6119c081611ef2565b6119ca8383611fe7565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ad65750611ad5826124a8565b5b9050919050565b600081600001549050919050565b611af4816120fd565b611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a906138de565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bb183610daf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611c0383610daf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c455750611c4481856119cf565b5b80611c8357508373ffffffffffffffffffffffffffffffffffffffff16611c6b8461094f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611cac82610daf565b73ffffffffffffffffffffffffffffffffffffffff1614611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf9906143b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890614442565b60405180910390fd5b611d7c83838361258a565b611d87600082611b3e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dd79190614462565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e2e9190613e77565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611eed83838361258f565b505050565b611f0381611efe611b36565b612594565b50565b611f108282610f96565b611fe35760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f88611b36565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611ff18282610f96565b156120c55760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061206a611b36565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6120e3828260405180602001604052806000815250612631565b5050565b6001816000016000828254019250508190555050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036121d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ce906144e2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122c89190612e01565b60405180910390a3505050565b6122e0848484611c8c565b6122ec8484848461268c565b61232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232290614574565b60405180910390fd5b50505050565b606060008203612378576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061248c565b600082905060005b600082146123aa57808061239390613ca9565b915050600a826123a391906145c3565b9150612380565b60008167ffffffffffffffff8111156123c6576123c561317a565b5b6040519080825280601f01601f1916602001820160405280156123f85781602001600182028036833780820191505090505b5090505b60008514612485576001826124119190614462565b9150600a8561242091906145f4565b603061242c9190613e77565b60f81b81838151811061244257612441614625565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561247e91906145c3565b94506123fc565b8093505050505b919050565b60008261249e8584612813565b1490509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061257357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612583575061258282612869565b5b9050919050565b505050565b505050565b61259e8282610f96565b61262d576125c38173ffffffffffffffffffffffffffffffffffffffff1660146128d3565b6125d18360001c60206128d3565b6040516020016125e29291906146ec565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126249190612eac565b60405180910390fd5b5050565b61263b8383612b0f565b612648600084848461268c565b612687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e90614574565b60405180910390fd5b505050565b60006126ad8473ffffffffffffffffffffffffffffffffffffffff16612ce8565b15612806578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126d6611b36565b8786866040518563ffffffff1660e01b81526004016126f8949392919061477b565b6020604051808303816000875af192505050801561273457506040513d601f19601f8201168201806040525081019061273191906147dc565b60015b6127b6573d8060008114612764576040519150601f19603f3d011682016040523d82523d6000602084013e612769565b606091505b5060008151036127ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a590614574565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061280b565b600190505b949350505050565b60008082905060005b845181101561285e576128498286838151811061283c5761283b614625565b5b6020026020010151612d0b565b9150808061285690613ca9565b91505061281c565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060028360026128e69190613f3d565b6128f09190613e77565b67ffffffffffffffff8111156129095761290861317a565b5b6040519080825280601f01601f19166020018201604052801561293b5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061297357612972614625565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106129d7576129d6614625565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612a179190613f3d565b612a219190613e77565b90505b6001811115612ac1577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612a6357612a62614625565b5b1a60f81b828281518110612a7a57612a79614625565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612aba90614809565b9050612a24565b5060008414612b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afc9061487e565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b75906148ea565b60405180910390fd5b612b87816120fd565b15612bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbe90614956565b60405180910390fd5b612bd36000838361258a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c239190613e77565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ce46000838361258f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000818310612d2357612d1e8284612d36565b612d2e565b612d2d8383612d36565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612d9681612d61565b8114612da157600080fd5b50565b600081359050612db381612d8d565b92915050565b600060208284031215612dcf57612dce612d57565b5b6000612ddd84828501612da4565b91505092915050565b60008115159050919050565b612dfb81612de6565b82525050565b6000602082019050612e166000830184612df2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e56578082015181840152602081019050612e3b565b60008484015250505050565b6000601f19601f8301169050919050565b6000612e7e82612e1c565b612e888185612e27565b9350612e98818560208601612e38565b612ea181612e62565b840191505092915050565b60006020820190508181036000830152612ec68184612e73565b905092915050565b6000819050919050565b612ee181612ece565b8114612eec57600080fd5b50565b600081359050612efe81612ed8565b92915050565b600060208284031215612f1a57612f19612d57565b5b6000612f2884828501612eef565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f5c82612f31565b9050919050565b612f6c81612f51565b82525050565b6000602082019050612f876000830184612f63565b92915050565b612f9681612f51565b8114612fa157600080fd5b50565b600081359050612fb381612f8d565b92915050565b60008060408385031215612fd057612fcf612d57565b5b6000612fde85828601612fa4565b9250506020612fef85828601612eef565b9150509250929050565b61300281612ece565b82525050565b600060208201905061301d6000830184612ff9565b92915050565b60008060006060848603121561303c5761303b612d57565b5b600061304a86828701612fa4565b935050602061305b86828701612fa4565b925050604061306c86828701612eef565b9150509250925092565b6000819050919050565b61308981613076565b811461309457600080fd5b50565b6000813590506130a681613080565b92915050565b6000602082840312156130c2576130c1612d57565b5b60006130d084828501613097565b91505092915050565b6130e281613076565b82525050565b60006020820190506130fd60008301846130d9565b92915050565b6000806040838503121561311a57613119612d57565b5b600061312885828601613097565b925050602061313985828601612fa4565b9150509250929050565b60006020828403121561315957613158612d57565b5b600061316784828501612fa4565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6131b282612e62565b810181811067ffffffffffffffff821117156131d1576131d061317a565b5b80604052505050565b60006131e4612d4d565b90506131f082826131a9565b919050565b600067ffffffffffffffff8211156132105761320f61317a565b5b61321982612e62565b9050602081019050919050565b82818337600083830152505050565b6000613248613243846131f5565b6131da565b90508281526020810184848401111561326457613263613175565b5b61326f848285613226565b509392505050565b600082601f83011261328c5761328b613170565b5b813561329c848260208601613235565b91505092915050565b6000602082840312156132bb576132ba612d57565b5b600082013567ffffffffffffffff8111156132d9576132d8612d5c565b5b6132e584828501613277565b91505092915050565b6132f781612de6565b811461330257600080fd5b50565b600081359050613314816132ee565b92915050565b6000806040838503121561333157613330612d57565b5b600061333f85828601612fa4565b925050602061335085828601613305565b9150509250929050565b600067ffffffffffffffff8211156133755761337461317a565b5b61337e82612e62565b9050602081019050919050565b600061339e6133998461335a565b6131da565b9050828152602081018484840111156133ba576133b9613175565b5b6133c5848285613226565b509392505050565b600082601f8301126133e2576133e1613170565b5b81356133f284826020860161338b565b91505092915050565b6000806000806080858703121561341557613414612d57565b5b600061342387828801612fa4565b945050602061343487828801612fa4565b935050604061344587828801612eef565b925050606085013567ffffffffffffffff81111561346657613465612d5c565b5b613472878288016133cd565b91505092959194509250565b600080fd5b600080fd5b60008083601f84011261349e5761349d613170565b5b8235905067ffffffffffffffff8111156134bb576134ba61347e565b5b6020830191508360208202830111156134d7576134d6613483565b5b9250929050565b6000806000604084860312156134f7576134f6612d57565b5b600061350586828701612eef565b935050602084013567ffffffffffffffff81111561352657613525612d5c565b5b61353286828701613488565b92509250509250925092565b6000806040838503121561355557613554612d57565b5b600061356385828601612fa4565b925050602061357485828601612fa4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135c557607f821691505b6020821081036135d8576135d761357e565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061363a602183612e27565b9150613645826135de565b604082019050919050565b600060208201905081810360008301526136698161362d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006136cc603e83612e27565b91506136d782613670565b604082019050919050565b600060208201905081810360008301526136fb816136bf565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061375e602e83612e27565b915061376982613702565b604082019050919050565b6000602082019050818103600083015261378d81613751565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006137f0602f83612e27565b91506137fb82613794565b604082019050919050565b6000602082019050818103600083015261381f816137e3565b9050919050565b7f436f7374206d7573742062652067726561746572207468616e20302065746800600082015250565b600061385c601f83612e27565b915061386782613826565b602082019050919050565b6000602082019050818103600083015261388b8161384f565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006138c8601883612e27565b91506138d382613892565b602082019050919050565b600060208201905081810360008301526138f7816138bb565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026139607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613923565b61396a8683613923565b95508019841693508086168417925050509392505050565b6000819050919050565b60006139a76139a261399d84612ece565b613982565b612ece565b9050919050565b6000819050919050565b6139c18361398c565b6139d56139cd826139ae565b848454613930565b825550505050565b600090565b6139ea6139dd565b6139f58184846139b8565b505050565b5b81811015613a1957613a0e6000826139e2565b6001810190506139fb565b5050565b601f821115613a5e57613a2f816138fe565b613a3884613913565b81016020851015613a47578190505b613a5b613a5385613913565b8301826139fa565b50505b505050565b600082821c905092915050565b6000613a8160001984600802613a63565b1980831691505092915050565b6000613a9a8383613a70565b9150826002028217905092915050565b613ab382612e1c565b67ffffffffffffffff811115613acc57613acb61317a565b5b613ad682546135ad565b613ae1828285613a1d565b600060209050601f831160018114613b145760008415613b02578287015190505b613b0c8582613a8e565b865550613b74565b601f198416613b22866138fe565b60005b82811015613b4a57848901518255600182019150602085019450602081019050613b25565b86831015613b675784890151613b63601f891682613a70565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613bd8602983612e27565b9150613be382613b7c565b604082019050919050565b60006020820190508181036000830152613c0781613bcb565b9050919050565b7f416c7265616479207072656d696e746564000000000000000000000000000000600082015250565b6000613c44601183612e27565b9150613c4f82613c0e565b602082019050919050565b60006020820190508181036000830152613c7381613c37565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613cb482612ece565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ce657613ce5613c7a565b5b600182019050919050565b600081519050613d00816132ee565b92915050565b600060208284031215613d1c57613d1b612d57565b5b6000613d2a84828501613cf1565b91505092915050565b7f4d696e74206e6f74207374617274656420796574000000000000000000000000600082015250565b6000613d69601483612e27565b9150613d7482613d33565b602082019050919050565b60006020820190508181036000830152613d9881613d5c565b9050919050565b7f57686974656c697374206d696e74206f6e6c7900000000000000000000000000600082015250565b6000613dd5601383612e27565b9150613de082613d9f565b602082019050919050565b60006020820190508181036000830152613e0481613dc8565b9050919050565b7f496e76616c6964206d696e7420636f756e740000000000000000000000000000600082015250565b6000613e41601283612e27565b9150613e4c82613e0b565b602082019050919050565b60006020820190508181036000830152613e7081613e34565b9050919050565b6000613e8282612ece565b9150613e8d83612ece565b9250828201905080821115613ea557613ea4613c7a565b5b92915050565b7f526571756573746564206d696e7420636f756e7420657863656564732073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b6000613f07602383612e27565b9150613f1282613eab565b604082019050919050565b60006020820190508181036000830152613f3681613efa565b9050919050565b6000613f4882612ece565b9150613f5383612ece565b9250828202613f6181612ece565b91508282048414831517613f7857613f77613c7a565b5b5092915050565b7f5472616e73616374696f6e2076616c756520646964206e6f74206d656574206d60008201527f696e742070726963650000000000000000000000000000000000000000000000602082015250565b6000613fdb602983612e27565b9150613fe682613f7f565b604082019050919050565b6000602082019050818103600083015261400a81613fce565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061406d602f83612e27565b915061407882614011565b604082019050919050565b6000602082019050818103600083015261409c81614060565b9050919050565b600081905092915050565b600081546140bb816135ad565b6140c581866140a3565b945060018216600081146140e057600181146140f557614128565b60ff1983168652811515820286019350614128565b6140fe856138fe565b60005b8381101561412057815481890152600182019150602081019050614101565b838801955050505b50505092915050565b600061413c82612e1c565b61414681856140a3565b9350614156818560208601612e38565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006141986005836140a3565b91506141a382614162565b600582019050919050565b60006141ba82856140ae565b91506141c68284614131565b91506141d18261418b565b91508190509392505050565b7f4d6574686f642063616e206f6e6c79206265207573656420647572696e67206560008201527f61726c79206d696e740000000000000000000000000000000000000000000000602082015250565b6000614239602983612e27565b9150614244826141dd565b604082019050919050565b600060208201905081810360008301526142688161422c565b9050919050565b60008160601b9050919050565b60006142878261426f565b9050919050565b60006142998261427c565b9050919050565b6142b16142ac82612f51565b61428e565b82525050565b60006142c382846142a0565b60148201915081905092915050565b7f55736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b6000614308601783612e27565b9150614313826142d2565b602082019050919050565b60006020820190508181036000830152614337816142fb565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061439a602583612e27565b91506143a58261433e565b604082019050919050565b600060208201905081810360008301526143c98161438d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061442c602483612e27565b9150614437826143d0565b604082019050919050565b6000602082019050818103600083015261445b8161441f565b9050919050565b600061446d82612ece565b915061447883612ece565b92508282039050818111156144905761448f613c7a565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006144cc601983612e27565b91506144d782614496565b602082019050919050565b600060208201905081810360008301526144fb816144bf565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061455e603283612e27565b915061456982614502565b604082019050919050565b6000602082019050818103600083015261458d81614551565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006145ce82612ece565b91506145d983612ece565b9250826145e9576145e8614594565b5b828204905092915050565b60006145ff82612ece565b915061460a83612ece565b92508261461a57614619614594565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061468a6017836140a3565b915061469582614654565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006146d66011836140a3565b91506146e1826146a0565b601182019050919050565b60006146f78261467d565b91506147038285614131565b915061470e826146c9565b915061471a8284614131565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061474d82614726565b6147578185614731565b9350614767818560208601612e38565b61477081612e62565b840191505092915050565b60006080820190506147906000830187612f63565b61479d6020830186612f63565b6147aa6040830185612ff9565b81810360608301526147bc8184614742565b905095945050505050565b6000815190506147d681612d8d565b92915050565b6000602082840312156147f2576147f1612d57565b5b6000614800848285016147c7565b91505092915050565b600061481482612ece565b91506000820361482757614826613c7a565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614868602083612e27565b915061487382614832565b602082019050919050565b600060208201905081810360008301526148978161485b565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006148d4602083612e27565b91506148df8261489e565b602082019050919050565b60006020820190508181036000830152614903816148c7565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614940601c83612e27565b915061494b8261490a565b602082019050919050565b6000602082019050818103600083015261496f81614933565b905091905056fea2646970667358221220f516c8e34ccee259efa66a28b5b1e44c0d71fb7b1777b0da3d90653047e2ec6264736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001147656e65736973436f6c6c656374696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094d4f4445524e49535400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569686f6b6a63786e7a7675327869796a7a633573626c616d686f716368636772686d3261376773357a6b626270616e7164797632792f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): GenesisCollection
Arg [1] : _symbol (string): MODERNIST
Arg [2] : _placeholderTokenURI (string): ipfs://bafybeihokjcxnzvu2xiyjzc5sblamhoqchcgrhm2a7gs5zkbbpanqdyv2y/

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [4] : 47656e65736973436f6c6c656374696f6e000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 4d4f4445524e4953540000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [8] : 697066733a2f2f62616679626569686f6b6a63786e7a7675327869796a7a6335
Arg [9] : 73626c616d686f716368636772686d3261376773357a6b626270616e71647976
Arg [10] : 32792f0000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.