ETH Price: $3,390.26 (-2.00%)
Gas: 4 Gwei

Token

Lil Madams (Lil Madams)
 

Overview

Max Total Supply

0 Lil Madams

Holders

125

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Lil Madams
0x857d0d9c5562c84f17b25657e113f5acf9e73ef2
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LilMadams

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

abstract contract ERC721V2 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

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

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

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

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

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

        uint count = 0;
        uint length = _owners.length;
        for( uint i = 0; i < length; ++i ){
            if( owner == _owners[i] ){
                ++count;
            }
        }

        delete length;
        return count;
    }

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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


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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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


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

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

        _beforeTokenTransfer(address(0), to, tokenId);
        _owners.push(to);

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

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

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

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[tokenId] = address(0);

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

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

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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


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

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

contract LilMadams is Ownable, ERC721V2 {
    using Strings for uint256;
    using SafeMath for uint256;
    using ECDSA for bytes32;

    uint256 public constant MAX_BY_MINT = 1;
    uint256 public constant MAX_RESERVE_COUNT = 60;
    uint256 public constant LAUNCH_TIMESTAMP = 1655391600; // Wed Jun 16 2022 15:00:00 GMT+0000
    uint256 public MAX_ELEMENTS = 10000;

    uint256 private _reservedCount = 0;
    uint256 private _reserveAtATime = 60;

    bool public isMintOpen = false;

    mapping(address => uint256) public userMinted;

    address private _signer = 0x16f37DE29053f8C5D3f7543ec58F5b7dAD870247;

    string public baseTokenURI;

    constructor(string memory baseURI) ERC721V2("Lil Madams", "Lil Madams") {
        setBaseURI(baseURI);
    }

    modifier mintIsOpen {
        if (_msgSender() != owner()) {
            require(isMintOpen, "Mint is not live");
        }
        _;
    }

    function totalMint() public view returns (uint256) {
        return _owners.length;
    }

    function reserveTokens() public onlyOwner {
        require(_reservedCount + _reserveAtATime <= MAX_RESERVE_COUNT, "Max reserve exceeded");
        uint256 total = _owners.length;
        for (uint256 i = 0; i < _reserveAtATime; i++) {
            _reservedCount++;
            _mint(msg.sender, total++);
        }
    }

    function mint(uint256 _count, bytes memory _signature) external mintIsOpen {
        require(userMinted[msg.sender] == 0, "Wallet already minted");
        require(_count <= MAX_BY_MINT, "Max 1 allowed per wallet");

        uint256 total = _owners.length;
        require(total + _count <= MAX_ELEMENTS, "Max limit");
        require(total <= MAX_ELEMENTS, "Total supply was reached");

        address _minter = _msgSender();

        address signer = verifyMint(_minter, _count, _signature);
        require(signer == _signer, "Not authorized to mint");

        for (uint256 i = 0; i < _count; i++) {
            userMinted[msg.sender] += 1;
            _mint(msg.sender, total++);
        }
    }

    function verifyMint(address _minter, uint256 _count, bytes memory _signature) public pure returns (address) {
        return ECDSA.recover(keccak256(abi.encode(_minter, _count)), _signature);
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function setMintOpen(bool _isMintOpen) external onlyOwner {
        isMintOpen = _isMintOpen;
    }

    function setReserveAtATime(uint256 _count) public onlyOwner {
        _reserveAtATime = _count;
    }

    function setMaxElements(uint _count) public onlyOwner {
        uint256 total = _owners.length;
        require(_count > total, "Incorrect new amount");
        MAX_ELEMENTS = _count;
    }

    function setSigner(address addr) external onlyOwner {
        _signer = addr;
    }

    function tokenURI(uint256 tokenId) external view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return string(abi.encodePacked(baseTokenURI, tokenId.toString()));
    }
}

File 2 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 3 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

File 5 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 6 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || 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 a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 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 9 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 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 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 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

    /**
     * @dev 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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LAUNCH_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BY_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE_COUNT","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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":"isMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokens","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setMaxElements","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isMintOpen","type":"bool"}],"name":"setMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setReserveAtATime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMint","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"verifyMint","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"}]

60806040526127106006556000600755603c6008556000600960006101000a81548160ff0219169083151502179055507316f37de29053f8c5d3f7543ec58f5b7dad870247600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200009157600080fd5b5060405162004959380380620049598339818101604052810190620000b791906200057c565b6040518060400160405280600a81526020017f4c696c204d6164616d73000000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f4c696c204d6164616d730000000000000000000000000000000000000000000081525062000143620001376200018f60201b60201c565b6200019760201b60201c565b81600190805190602001906200015b9291906200032f565b508060029080519060200190620001749291906200032f565b50505062000188816200025b60201b60201c565b50620006b5565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200026b6200018f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002916200030660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e1906200062e565b60405180910390fd5b80600c9080519060200190620003029291906200032f565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200033d906200067f565b90600052602060002090601f016020900481019282620003615760008555620003ad565b82601f106200037c57805160ff1916838001178555620003ad565b82800160010185558215620003ad579182015b82811115620003ac5782518255916020019190600101906200038f565b5b509050620003bc9190620003c0565b5090565b5b80821115620003db576000816000905550600101620003c1565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200044882620003fd565b810181811067ffffffffffffffff821117156200046a57620004696200040e565b5b80604052505050565b60006200047f620003df565b90506200048d82826200043d565b919050565b600067ffffffffffffffff821115620004b057620004af6200040e565b5b620004bb82620003fd565b9050602081019050919050565b60005b83811015620004e8578082015181840152602081019050620004cb565b83811115620004f8576000848401525b50505050565b6000620005156200050f8462000492565b62000473565b905082815260208101848484011115620005345762000533620003f8565b5b62000541848285620004c8565b509392505050565b600082601f830112620005615762000560620003f3565b5b815162000573848260208601620004fe565b91505092915050565b600060208284031215620005955762000594620003e9565b5b600082015167ffffffffffffffff811115620005b657620005b5620003ee565b5b620005c48482850162000549565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000616602083620005cd565b91506200062382620005de565b602082019050919050565b60006020820190508181036000830152620006498162000607565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200069857607f821691505b60208210811415620006af57620006ae62000650565b5b50919050565b61429480620006c56000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063715018a61161010f578063c87b56dd116100a2578063e985e9c511610071578063e985e9c514610581578063f2fde38b146105b1578063f6c9d9e3146105cd578063f8004d31146105e9576101f0565b8063c87b56dd146104f9578063d547cfb714610529578063db7fd40814610547578063e954f41d14610563576101f0565b80638da5cb5b116100de5780638da5cb5b1461048557806395d89b41146104a3578063a22cb465146104c1578063b88d4fde146104dd576101f0565b8063715018a61461042357806371f9f2001461042d57806376500c17146104495780638ad5de2814610467576101f0565b806329888b4c1161018757806359a7715a1161015657806359a7715a146103895780636352211e146103a75780636c19e783146103d757806370a08231146103f3576101f0565b806329888b4c146103035780633502a7161461033357806342842e0e1461035157806355f804b31461036d576101f0565b806319908016116101c3578063199080161461028f5780631aa5e872146102ad57806323b872dd146102dd57806327ac36c4146102f9576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a9190612875565b610605565b60405161021c91906128bd565b60405180910390f35b61022d6106e7565b60405161023a9190612971565b60405180910390f35b61025d600480360381019061025891906129c9565b610779565b60405161026a9190612a37565b60405180910390f35b61028d60048036038101906102889190612a7e565b6107fe565b005b610297610916565b6040516102a491906128bd565b60405180910390f35b6102c760048036038101906102c29190612abe565b610929565b6040516102d49190612afa565b60405180910390f35b6102f760048036038101906102f29190612b15565b610941565b005b6103016109a1565b005b61031d60048036038101906103189190612c9d565b610acc565b60405161032a9190612a37565b60405180910390f35b61033b610b09565b6040516103489190612afa565b60405180910390f35b61036b60048036038101906103669190612b15565b610b0f565b005b61038760048036038101906103829190612dad565b610b2f565b005b610391610bc5565b60405161039e9190612afa565b60405180910390f35b6103c160048036038101906103bc91906129c9565b610bd2565b6040516103ce9190612a37565b60405180910390f35b6103f160048036038101906103ec9190612abe565b610c8f565b005b61040d60048036038101906104089190612abe565b610d4f565b60405161041a9190612afa565b60405180910390f35b61042b610e75565b005b610447600480360381019061044291906129c9565b610efd565b005b610451610fd0565b60405161045e9190612afa565b60405180910390f35b61046f610fd5565b60405161047c9190612afa565b60405180910390f35b61048d610fda565b60405161049a9190612a37565b60405180910390f35b6104ab611003565b6040516104b89190612971565b60405180910390f35b6104db60048036038101906104d69190612e22565b611095565b005b6104f760048036038101906104f29190612e62565b611216565b005b610513600480360381019061050e91906129c9565b611278565b6040516105209190612971565b60405180910390f35b6105316112f4565b60405161053e9190612971565b60405180910390f35b610561600480360381019061055c9190612ee5565b611382565b005b61056b6116b6565b6040516105789190612afa565b60405180910390f35b61059b60048036038101906105969190612f41565b6116be565b6040516105a891906128bd565b60405180910390f35b6105cb60048036038101906105c69190612abe565b611752565b005b6105e760048036038101906105e291906129c9565b61184a565b005b61060360048036038101906105fe9190612f81565b6118d0565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e057506106df82611969565b5b9050919050565b6060600180546106f690612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461072290612fdd565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b5050505050905090565b6000610784826119d3565b6107c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ba90613081565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080982610bd2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561087a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087190613113565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610899611a5b565b73ffffffffffffffffffffffffffffffffffffffff1614806108c857506108c7816108c2611a5b565b6116be565b5b610907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fe906131a5565b60405180910390fd5b6109118383611a63565b505050565b600960009054906101000a900460ff1681565b600a6020528060005260406000206000915090505481565b61095261094c611a5b565b82611b1c565b610991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098890613237565b60405180910390fd5b61099c838383611bfa565b505050565b6109a9611a5b565b73ffffffffffffffffffffffffffffffffffffffff166109c7610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a14906132a3565b60405180910390fd5b603c600854600754610a2f91906132f2565b1115610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6790613394565b60405180910390fd5b6000600380549050905060005b600854811015610ac85760076000815480929190610a9a906133b4565b9190505550610ab5338380610aae906133b4565b9450611db3565b8080610ac0906133b4565b915050610a7d565b5050565b6000610b008484604051602001610ae49291906133fd565b6040516020818303038152906040528051906020012083611f3b565b90509392505050565b60065481565b610b2a83838360405180602001604052806000815250611216565b505050565b610b37611a5b565b73ffffffffffffffffffffffffffffffffffffffff16610b55610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba2906132a3565b60405180910390fd5b80600c9080519060200190610bc1929190612766565b5050565b6000600380549050905090565b60008060038381548110610be957610be8613426565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d906134c7565b60405180910390fd5b80915050919050565b610c97611a5b565b73ffffffffffffffffffffffffffffffffffffffff16610cb5610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d02906132a3565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790613559565b60405180910390fd5b600080600380549050905060005b81811015610e665760038181548110610dea57610de9613426565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610e555782610e52906133b4565b92505b80610e5f906133b4565b9050610dce565b50600090508192505050919050565b610e7d611a5b565b73ffffffffffffffffffffffffffffffffffffffff16610e9b610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee8906132a3565b60405180910390fd5b610efb6000611f62565b565b610f05611a5b565b73ffffffffffffffffffffffffffffffffffffffff16610f23610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f70906132a3565b60405180910390fd5b60006003805490509050808211610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc906135c5565b60405180910390fd5b816006819055505050565b603c81565b600181565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461101290612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461103e90612fdd565b801561108b5780601f106110605761010080835404028352916020019161108b565b820191906000526020600020905b81548152906001019060200180831161106e57829003601f168201915b5050505050905090565b61109d611a5b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561110b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110290613631565b60405180910390fd5b8060056000611118611a5b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111c5611a5b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161120a91906128bd565b60405180910390a35050565b611227611221611a5b565b83611b1c565b611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90613237565b60405180910390fd5b61127284848484612026565b50505050565b6060611283826119d3565b6112c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b9906136c3565b60405180910390fd5b600c6112cd83612082565b6040516020016112de9291906137b3565b6040516020818303038152906040529050919050565b600c805461130190612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461132d90612fdd565b801561137a5780601f1061134f5761010080835404028352916020019161137a565b820191906000526020600020905b81548152906001019060200180831161135d57829003601f168201915b505050505081565b61138a610fda565b73ffffffffffffffffffffffffffffffffffffffff166113a8611a5b565b73ffffffffffffffffffffffffffffffffffffffff161461141357600960009054906101000a900460ff16611412576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140990613823565b60405180910390fd5b5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c9061388f565b60405180910390fd5b60018211156114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d0906138fb565b60405180910390fd5b6000600380549050905060065483826114f291906132f2565b1115611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613967565b60405180910390fd5b600654811115611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f906139d3565b60405180910390fd5b6000611582611a5b565b90506000611591828686610acc565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90613a3f565b60405180910390fd5b60005b858110156116ae576001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461167e91906132f2565b9250508190555061169b338580611694906133b4565b9650611db3565b80806116a6906133b4565b915050611626565b505050505050565b6362ab457081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61175a611a5b565b73ffffffffffffffffffffffffffffffffffffffff16611778610fda565b73ffffffffffffffffffffffffffffffffffffffff16146117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c5906132a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613ad1565b60405180910390fd5b61184781611f62565b50565b611852611a5b565b73ffffffffffffffffffffffffffffffffffffffff16611870610fda565b73ffffffffffffffffffffffffffffffffffffffff16146118c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bd906132a3565b60405180910390fd5b8060088190555050565b6118d8611a5b565b73ffffffffffffffffffffffffffffffffffffffff166118f6610fda565b73ffffffffffffffffffffffffffffffffffffffff161461194c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611943906132a3565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060038054905082108015611a545750600073ffffffffffffffffffffffffffffffffffffffff1660038381548110611a1057611a0f613426565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ad683610bd2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b27826119d3565b611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90613b63565b60405180910390fd5b6000611b7183610bd2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611be057508373ffffffffffffffffffffffffffffffffffffffff16611bc884610779565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bf15750611bf081856116be565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c1a82610bd2565b73ffffffffffffffffffffffffffffffffffffffff1614611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790613bf5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd790613c87565b60405180910390fd5b611ceb8383836121e3565b611cf6600082611a63565b8160038281548110611d0b57611d0a613426565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a90613cf3565b60405180910390fd5b611e2c816119d3565b15611e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6390613d5f565b60405180910390fd5b611e78600083836121e3565b6003829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000806000611f4a85856121e8565b91509150611f578161226b565b819250505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612031848484611bfa565b61203d84848484612440565b61207c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207390613df1565b60405180910390fd5b50505050565b606060008214156120ca576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121de565b600082905060005b600082146120fc5780806120e5906133b4565b915050600a826120f59190613e40565b91506120d2565b60008167ffffffffffffffff81111561211857612117612b72565b5b6040519080825280601f01601f19166020018201604052801561214a5781602001600182028036833780820191505090505b5090505b600085146121d7576001826121639190613e71565b9150600a856121729190613ea5565b603061217e91906132f2565b60f81b81838151811061219457612193613426565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121d09190613e40565b945061214e565b8093505050505b919050565b505050565b60008060418351141561222a5760008060006020860151925060408601519150606086015160001a905061221e878285856125d7565b94509450505050612264565b60408351141561225b5760008060208501519150604085015190506122508683836126e4565b935093505050612264565b60006002915091505b9250929050565b6000600481111561227f5761227e613ed6565b5b81600481111561229257612291613ed6565b5b141561229d5761243d565b600160048111156122b1576122b0613ed6565b5b8160048111156122c4576122c3613ed6565b5b1415612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fc90613f51565b60405180910390fd5b6002600481111561231957612318613ed6565b5b81600481111561232c5761232b613ed6565b5b141561236d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236490613fbd565b60405180910390fd5b6003600481111561238157612380613ed6565b5b81600481111561239457612393613ed6565b5b14156123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc9061404f565b60405180910390fd5b6004808111156123e8576123e7613ed6565b5b8160048111156123fb576123fa613ed6565b5b141561243c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612433906140e1565b60405180910390fd5b5b50565b60006124618473ffffffffffffffffffffffffffffffffffffffff16612743565b156125ca578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261248a611a5b565b8786866040518563ffffffff1660e01b81526004016124ac9493929190614156565b602060405180830381600087803b1580156124c657600080fd5b505af19250505080156124f757506040513d601f19601f820116820180604052508101906124f491906141b7565b60015b61257a573d8060008114612527576040519150601f19603f3d011682016040523d82523d6000602084013e61252c565b606091505b50600081511415612572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256990613df1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506125cf565b600190505b949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156126125760006003915091506126db565b601b8560ff161415801561262a5750601c8560ff1614155b1561263c5760006004915091506126db565b6000600187878787604051600081526020016040526040516126619493929190614219565b6020604051602081039080840390855afa158015612683573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126d2576000600192509250506126db565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61272791906132f2565b9050612735878288856125d7565b935093505050935093915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461277290612fdd565b90600052602060002090601f01602090048101928261279457600085556127db565b82601f106127ad57805160ff19168380011785556127db565b828001600101855582156127db579182015b828111156127da5782518255916020019190600101906127bf565b5b5090506127e891906127ec565b5090565b5b808211156128055760008160009055506001016127ed565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128528161281d565b811461285d57600080fd5b50565b60008135905061286f81612849565b92915050565b60006020828403121561288b5761288a612813565b5b600061289984828501612860565b91505092915050565b60008115159050919050565b6128b7816128a2565b82525050565b60006020820190506128d260008301846128ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129125780820151818401526020810190506128f7565b83811115612921576000848401525b50505050565b6000601f19601f8301169050919050565b6000612943826128d8565b61294d81856128e3565b935061295d8185602086016128f4565b61296681612927565b840191505092915050565b6000602082019050818103600083015261298b8184612938565b905092915050565b6000819050919050565b6129a681612993565b81146129b157600080fd5b50565b6000813590506129c38161299d565b92915050565b6000602082840312156129df576129de612813565b5b60006129ed848285016129b4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a21826129f6565b9050919050565b612a3181612a16565b82525050565b6000602082019050612a4c6000830184612a28565b92915050565b612a5b81612a16565b8114612a6657600080fd5b50565b600081359050612a7881612a52565b92915050565b60008060408385031215612a9557612a94612813565b5b6000612aa385828601612a69565b9250506020612ab4858286016129b4565b9150509250929050565b600060208284031215612ad457612ad3612813565b5b6000612ae284828501612a69565b91505092915050565b612af481612993565b82525050565b6000602082019050612b0f6000830184612aeb565b92915050565b600080600060608486031215612b2e57612b2d612813565b5b6000612b3c86828701612a69565b9350506020612b4d86828701612a69565b9250506040612b5e868287016129b4565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612baa82612927565b810181811067ffffffffffffffff82111715612bc957612bc8612b72565b5b80604052505050565b6000612bdc612809565b9050612be88282612ba1565b919050565b600067ffffffffffffffff821115612c0857612c07612b72565b5b612c1182612927565b9050602081019050919050565b82818337600083830152505050565b6000612c40612c3b84612bed565b612bd2565b905082815260208101848484011115612c5c57612c5b612b6d565b5b612c67848285612c1e565b509392505050565b600082601f830112612c8457612c83612b68565b5b8135612c94848260208601612c2d565b91505092915050565b600080600060608486031215612cb657612cb5612813565b5b6000612cc486828701612a69565b9350506020612cd5868287016129b4565b925050604084013567ffffffffffffffff811115612cf657612cf5612818565b5b612d0286828701612c6f565b9150509250925092565b600067ffffffffffffffff821115612d2757612d26612b72565b5b612d3082612927565b9050602081019050919050565b6000612d50612d4b84612d0c565b612bd2565b905082815260208101848484011115612d6c57612d6b612b6d565b5b612d77848285612c1e565b509392505050565b600082601f830112612d9457612d93612b68565b5b8135612da4848260208601612d3d565b91505092915050565b600060208284031215612dc357612dc2612813565b5b600082013567ffffffffffffffff811115612de157612de0612818565b5b612ded84828501612d7f565b91505092915050565b612dff816128a2565b8114612e0a57600080fd5b50565b600081359050612e1c81612df6565b92915050565b60008060408385031215612e3957612e38612813565b5b6000612e4785828601612a69565b9250506020612e5885828601612e0d565b9150509250929050565b60008060008060808587031215612e7c57612e7b612813565b5b6000612e8a87828801612a69565b9450506020612e9b87828801612a69565b9350506040612eac878288016129b4565b925050606085013567ffffffffffffffff811115612ecd57612ecc612818565b5b612ed987828801612c6f565b91505092959194509250565b60008060408385031215612efc57612efb612813565b5b6000612f0a858286016129b4565b925050602083013567ffffffffffffffff811115612f2b57612f2a612818565b5b612f3785828601612c6f565b9150509250929050565b60008060408385031215612f5857612f57612813565b5b6000612f6685828601612a69565b9250506020612f7785828601612a69565b9150509250929050565b600060208284031215612f9757612f96612813565b5b6000612fa584828501612e0d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612ff557607f821691505b6020821081141561300957613008612fae565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061306b602c836128e3565b91506130768261300f565b604082019050919050565b6000602082019050818103600083015261309a8161305e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130fd6021836128e3565b9150613108826130a1565b604082019050919050565b6000602082019050818103600083015261312c816130f0565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061318f6038836128e3565b915061319a82613133565b604082019050919050565b600060208201905081810360008301526131be81613182565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006132216031836128e3565b915061322c826131c5565b604082019050919050565b6000602082019050818103600083015261325081613214565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061328d6020836128e3565b915061329882613257565b602082019050919050565b600060208201905081810360008301526132bc81613280565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132fd82612993565b915061330883612993565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561333d5761333c6132c3565b5b828201905092915050565b7f4d61782072657365727665206578636565646564000000000000000000000000600082015250565b600061337e6014836128e3565b915061338982613348565b602082019050919050565b600060208201905081810360008301526133ad81613371565b9050919050565b60006133bf82612993565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133f2576133f16132c3565b5b600182019050919050565b60006040820190506134126000830185612a28565b61341f6020830184612aeb565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006134b16029836128e3565b91506134bc82613455565b604082019050919050565b600060208201905081810360008301526134e0816134a4565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613543602a836128e3565b915061354e826134e7565b604082019050919050565b6000602082019050818103600083015261357281613536565b9050919050565b7f496e636f7272656374206e657720616d6f756e74000000000000000000000000600082015250565b60006135af6014836128e3565b91506135ba82613579565b602082019050919050565b600060208201905081810360008301526135de816135a2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061361b6019836128e3565b9150613626826135e5565b602082019050919050565b6000602082019050818103600083015261364a8161360e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006136ad602f836128e3565b91506136b882613651565b604082019050919050565b600060208201905081810360008301526136dc816136a0565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461371081612fdd565b61371a81866136e3565b94506001821660008114613735576001811461374657613779565b60ff19831686528186019350613779565b61374f856136ee565b60005b8381101561377157815481890152600182019150602081019050613752565b838801955050505b50505092915050565b600061378d826128d8565b61379781856136e3565b93506137a78185602086016128f4565b80840191505092915050565b60006137bf8285613703565b91506137cb8284613782565b91508190509392505050565b7f4d696e74206973206e6f74206c69766500000000000000000000000000000000600082015250565b600061380d6010836128e3565b9150613818826137d7565b602082019050919050565b6000602082019050818103600083015261383c81613800565b9050919050565b7f57616c6c657420616c7265616479206d696e7465640000000000000000000000600082015250565b60006138796015836128e3565b915061388482613843565b602082019050919050565b600060208201905081810360008301526138a88161386c565b9050919050565b7f4d6178203120616c6c6f776564207065722077616c6c65740000000000000000600082015250565b60006138e56018836128e3565b91506138f0826138af565b602082019050919050565b60006020820190508181036000830152613914816138d8565b9050919050565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b60006139516009836128e3565b915061395c8261391b565b602082019050919050565b6000602082019050818103600083015261398081613944565b9050919050565b7f546f74616c20737570706c792077617320726561636865640000000000000000600082015250565b60006139bd6018836128e3565b91506139c882613987565b602082019050919050565b600060208201905081810360008301526139ec816139b0565b9050919050565b7f4e6f7420617574686f72697a656420746f206d696e7400000000000000000000600082015250565b6000613a296016836128e3565b9150613a34826139f3565b602082019050919050565b60006020820190508181036000830152613a5881613a1c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613abb6026836128e3565b9150613ac682613a5f565b604082019050919050565b60006020820190508181036000830152613aea81613aae565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613b4d602c836128e3565b9150613b5882613af1565b604082019050919050565b60006020820190508181036000830152613b7c81613b40565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613bdf6029836128e3565b9150613bea82613b83565b604082019050919050565b60006020820190508181036000830152613c0e81613bd2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613c716024836128e3565b9150613c7c82613c15565b604082019050919050565b60006020820190508181036000830152613ca081613c64565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613cdd6020836128e3565b9150613ce882613ca7565b602082019050919050565b60006020820190508181036000830152613d0c81613cd0565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613d49601c836128e3565b9150613d5482613d13565b602082019050919050565b60006020820190508181036000830152613d7881613d3c565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613ddb6032836128e3565b9150613de682613d7f565b604082019050919050565b60006020820190508181036000830152613e0a81613dce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e4b82612993565b9150613e5683612993565b925082613e6657613e65613e11565b5b828204905092915050565b6000613e7c82612993565b9150613e8783612993565b925082821015613e9a57613e996132c3565b5b828203905092915050565b6000613eb082612993565b9150613ebb83612993565b925082613ecb57613eca613e11565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613f3b6018836128e3565b9150613f4682613f05565b602082019050919050565b60006020820190508181036000830152613f6a81613f2e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613fa7601f836128e3565b9150613fb282613f71565b602082019050919050565b60006020820190508181036000830152613fd681613f9a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006140396022836128e3565b915061404482613fdd565b604082019050919050565b600060208201905081810360008301526140688161402c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006140cb6022836128e3565b91506140d68261406f565b604082019050919050565b600060208201905081810360008301526140fa816140be565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061412882614101565b614132818561410c565b93506141428185602086016128f4565b61414b81612927565b840191505092915050565b600060808201905061416b6000830187612a28565b6141786020830186612a28565b6141856040830185612aeb565b8181036060830152614197818461411d565b905095945050505050565b6000815190506141b181612849565b92915050565b6000602082840312156141cd576141cc612813565b5b60006141db848285016141a2565b91505092915050565b6000819050919050565b6141f7816141e4565b82525050565b600060ff82169050919050565b614213816141fd565b82525050565b600060808201905061422e60008301876141ee565b61423b602083018661420a565b61424860408301856141ee565b61425560608301846141ee565b9594505050505056fea264697066735822122088d5fd87ac6ce23f4160af559a696b41afdeced09475e0ae183e95ba6f57d62e64736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6170692e6c696c6d6164616d732e78797a2f6170692f76312f6e66742f000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063715018a61161010f578063c87b56dd116100a2578063e985e9c511610071578063e985e9c514610581578063f2fde38b146105b1578063f6c9d9e3146105cd578063f8004d31146105e9576101f0565b8063c87b56dd146104f9578063d547cfb714610529578063db7fd40814610547578063e954f41d14610563576101f0565b80638da5cb5b116100de5780638da5cb5b1461048557806395d89b41146104a3578063a22cb465146104c1578063b88d4fde146104dd576101f0565b8063715018a61461042357806371f9f2001461042d57806376500c17146104495780638ad5de2814610467576101f0565b806329888b4c1161018757806359a7715a1161015657806359a7715a146103895780636352211e146103a75780636c19e783146103d757806370a08231146103f3576101f0565b806329888b4c146103035780633502a7161461033357806342842e0e1461035157806355f804b31461036d576101f0565b806319908016116101c3578063199080161461028f5780631aa5e872146102ad57806323b872dd146102dd57806327ac36c4146102f9576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a9190612875565b610605565b60405161021c91906128bd565b60405180910390f35b61022d6106e7565b60405161023a9190612971565b60405180910390f35b61025d600480360381019061025891906129c9565b610779565b60405161026a9190612a37565b60405180910390f35b61028d60048036038101906102889190612a7e565b6107fe565b005b610297610916565b6040516102a491906128bd565b60405180910390f35b6102c760048036038101906102c29190612abe565b610929565b6040516102d49190612afa565b60405180910390f35b6102f760048036038101906102f29190612b15565b610941565b005b6103016109a1565b005b61031d60048036038101906103189190612c9d565b610acc565b60405161032a9190612a37565b60405180910390f35b61033b610b09565b6040516103489190612afa565b60405180910390f35b61036b60048036038101906103669190612b15565b610b0f565b005b61038760048036038101906103829190612dad565b610b2f565b005b610391610bc5565b60405161039e9190612afa565b60405180910390f35b6103c160048036038101906103bc91906129c9565b610bd2565b6040516103ce9190612a37565b60405180910390f35b6103f160048036038101906103ec9190612abe565b610c8f565b005b61040d60048036038101906104089190612abe565b610d4f565b60405161041a9190612afa565b60405180910390f35b61042b610e75565b005b610447600480360381019061044291906129c9565b610efd565b005b610451610fd0565b60405161045e9190612afa565b60405180910390f35b61046f610fd5565b60405161047c9190612afa565b60405180910390f35b61048d610fda565b60405161049a9190612a37565b60405180910390f35b6104ab611003565b6040516104b89190612971565b60405180910390f35b6104db60048036038101906104d69190612e22565b611095565b005b6104f760048036038101906104f29190612e62565b611216565b005b610513600480360381019061050e91906129c9565b611278565b6040516105209190612971565b60405180910390f35b6105316112f4565b60405161053e9190612971565b60405180910390f35b610561600480360381019061055c9190612ee5565b611382565b005b61056b6116b6565b6040516105789190612afa565b60405180910390f35b61059b60048036038101906105969190612f41565b6116be565b6040516105a891906128bd565b60405180910390f35b6105cb60048036038101906105c69190612abe565b611752565b005b6105e760048036038101906105e291906129c9565b61184a565b005b61060360048036038101906105fe9190612f81565b6118d0565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e057506106df82611969565b5b9050919050565b6060600180546106f690612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461072290612fdd565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b5050505050905090565b6000610784826119d3565b6107c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ba90613081565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061080982610bd2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561087a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087190613113565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610899611a5b565b73ffffffffffffffffffffffffffffffffffffffff1614806108c857506108c7816108c2611a5b565b6116be565b5b610907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fe906131a5565b60405180910390fd5b6109118383611a63565b505050565b600960009054906101000a900460ff1681565b600a6020528060005260406000206000915090505481565b61095261094c611a5b565b82611b1c565b610991576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098890613237565b60405180910390fd5b61099c838383611bfa565b505050565b6109a9611a5b565b73ffffffffffffffffffffffffffffffffffffffff166109c7610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a14906132a3565b60405180910390fd5b603c600854600754610a2f91906132f2565b1115610a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6790613394565b60405180910390fd5b6000600380549050905060005b600854811015610ac85760076000815480929190610a9a906133b4565b9190505550610ab5338380610aae906133b4565b9450611db3565b8080610ac0906133b4565b915050610a7d565b5050565b6000610b008484604051602001610ae49291906133fd565b6040516020818303038152906040528051906020012083611f3b565b90509392505050565b60065481565b610b2a83838360405180602001604052806000815250611216565b505050565b610b37611a5b565b73ffffffffffffffffffffffffffffffffffffffff16610b55610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba2906132a3565b60405180910390fd5b80600c9080519060200190610bc1929190612766565b5050565b6000600380549050905090565b60008060038381548110610be957610be8613426565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d906134c7565b60405180910390fd5b80915050919050565b610c97611a5b565b73ffffffffffffffffffffffffffffffffffffffff16610cb5610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d02906132a3565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db790613559565b60405180910390fd5b600080600380549050905060005b81811015610e665760038181548110610dea57610de9613426565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610e555782610e52906133b4565b92505b80610e5f906133b4565b9050610dce565b50600090508192505050919050565b610e7d611a5b565b73ffffffffffffffffffffffffffffffffffffffff16610e9b610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee8906132a3565b60405180910390fd5b610efb6000611f62565b565b610f05611a5b565b73ffffffffffffffffffffffffffffffffffffffff16610f23610fda565b73ffffffffffffffffffffffffffffffffffffffff1614610f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f70906132a3565b60405180910390fd5b60006003805490509050808211610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc906135c5565b60405180910390fd5b816006819055505050565b603c81565b600181565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461101290612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461103e90612fdd565b801561108b5780601f106110605761010080835404028352916020019161108b565b820191906000526020600020905b81548152906001019060200180831161106e57829003601f168201915b5050505050905090565b61109d611a5b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561110b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110290613631565b60405180910390fd5b8060056000611118611a5b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111c5611a5b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161120a91906128bd565b60405180910390a35050565b611227611221611a5b565b83611b1c565b611266576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125d90613237565b60405180910390fd5b61127284848484612026565b50505050565b6060611283826119d3565b6112c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b9906136c3565b60405180910390fd5b600c6112cd83612082565b6040516020016112de9291906137b3565b6040516020818303038152906040529050919050565b600c805461130190612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461132d90612fdd565b801561137a5780601f1061134f5761010080835404028352916020019161137a565b820191906000526020600020905b81548152906001019060200180831161135d57829003601f168201915b505050505081565b61138a610fda565b73ffffffffffffffffffffffffffffffffffffffff166113a8611a5b565b73ffffffffffffffffffffffffffffffffffffffff161461141357600960009054906101000a900460ff16611412576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140990613823565b60405180910390fd5b5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c9061388f565b60405180910390fd5b60018211156114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d0906138fb565b60405180910390fd5b6000600380549050905060065483826114f291906132f2565b1115611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90613967565b60405180910390fd5b600654811115611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f906139d3565b60405180910390fd5b6000611582611a5b565b90506000611591828686610acc565b9050600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90613a3f565b60405180910390fd5b60005b858110156116ae576001600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461167e91906132f2565b9250508190555061169b338580611694906133b4565b9650611db3565b80806116a6906133b4565b915050611626565b505050505050565b6362ab457081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61175a611a5b565b73ffffffffffffffffffffffffffffffffffffffff16611778610fda565b73ffffffffffffffffffffffffffffffffffffffff16146117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c5906132a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613ad1565b60405180910390fd5b61184781611f62565b50565b611852611a5b565b73ffffffffffffffffffffffffffffffffffffffff16611870610fda565b73ffffffffffffffffffffffffffffffffffffffff16146118c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bd906132a3565b60405180910390fd5b8060088190555050565b6118d8611a5b565b73ffffffffffffffffffffffffffffffffffffffff166118f6610fda565b73ffffffffffffffffffffffffffffffffffffffff161461194c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611943906132a3565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060038054905082108015611a545750600073ffffffffffffffffffffffffffffffffffffffff1660038381548110611a1057611a0f613426565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ad683610bd2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611b27826119d3565b611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90613b63565b60405180910390fd5b6000611b7183610bd2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611be057508373ffffffffffffffffffffffffffffffffffffffff16611bc884610779565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bf15750611bf081856116be565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c1a82610bd2565b73ffffffffffffffffffffffffffffffffffffffff1614611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790613bf5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd790613c87565b60405180910390fd5b611ceb8383836121e3565b611cf6600082611a63565b8160038281548110611d0b57611d0a613426565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a90613cf3565b60405180910390fd5b611e2c816119d3565b15611e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6390613d5f565b60405180910390fd5b611e78600083836121e3565b6003829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000806000611f4a85856121e8565b91509150611f578161226b565b819250505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612031848484611bfa565b61203d84848484612440565b61207c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207390613df1565b60405180910390fd5b50505050565b606060008214156120ca576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121de565b600082905060005b600082146120fc5780806120e5906133b4565b915050600a826120f59190613e40565b91506120d2565b60008167ffffffffffffffff81111561211857612117612b72565b5b6040519080825280601f01601f19166020018201604052801561214a5781602001600182028036833780820191505090505b5090505b600085146121d7576001826121639190613e71565b9150600a856121729190613ea5565b603061217e91906132f2565b60f81b81838151811061219457612193613426565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121d09190613e40565b945061214e565b8093505050505b919050565b505050565b60008060418351141561222a5760008060006020860151925060408601519150606086015160001a905061221e878285856125d7565b94509450505050612264565b60408351141561225b5760008060208501519150604085015190506122508683836126e4565b935093505050612264565b60006002915091505b9250929050565b6000600481111561227f5761227e613ed6565b5b81600481111561229257612291613ed6565b5b141561229d5761243d565b600160048111156122b1576122b0613ed6565b5b8160048111156122c4576122c3613ed6565b5b1415612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fc90613f51565b60405180910390fd5b6002600481111561231957612318613ed6565b5b81600481111561232c5761232b613ed6565b5b141561236d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236490613fbd565b60405180910390fd5b6003600481111561238157612380613ed6565b5b81600481111561239457612393613ed6565b5b14156123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc9061404f565b60405180910390fd5b6004808111156123e8576123e7613ed6565b5b8160048111156123fb576123fa613ed6565b5b141561243c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612433906140e1565b60405180910390fd5b5b50565b60006124618473ffffffffffffffffffffffffffffffffffffffff16612743565b156125ca578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261248a611a5b565b8786866040518563ffffffff1660e01b81526004016124ac9493929190614156565b602060405180830381600087803b1580156124c657600080fd5b505af19250505080156124f757506040513d601f19601f820116820180604052508101906124f491906141b7565b60015b61257a573d8060008114612527576040519150601f19603f3d011682016040523d82523d6000602084013e61252c565b606091505b50600081511415612572576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256990613df1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506125cf565b600190505b949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156126125760006003915091506126db565b601b8560ff161415801561262a5750601c8560ff1614155b1561263c5760006004915091506126db565b6000600187878787604051600081526020016040526040516126619493929190614219565b6020604051602081039080840390855afa158015612683573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126d2576000600192509250506126db565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61272791906132f2565b9050612735878288856125d7565b935093505050935093915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461277290612fdd565b90600052602060002090601f01602090048101928261279457600085556127db565b82601f106127ad57805160ff19168380011785556127db565b828001600101855582156127db579182015b828111156127da5782518255916020019190600101906127bf565b5b5090506127e891906127ec565b5090565b5b808211156128055760008160009055506001016127ed565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128528161281d565b811461285d57600080fd5b50565b60008135905061286f81612849565b92915050565b60006020828403121561288b5761288a612813565b5b600061289984828501612860565b91505092915050565b60008115159050919050565b6128b7816128a2565b82525050565b60006020820190506128d260008301846128ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129125780820151818401526020810190506128f7565b83811115612921576000848401525b50505050565b6000601f19601f8301169050919050565b6000612943826128d8565b61294d81856128e3565b935061295d8185602086016128f4565b61296681612927565b840191505092915050565b6000602082019050818103600083015261298b8184612938565b905092915050565b6000819050919050565b6129a681612993565b81146129b157600080fd5b50565b6000813590506129c38161299d565b92915050565b6000602082840312156129df576129de612813565b5b60006129ed848285016129b4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612a21826129f6565b9050919050565b612a3181612a16565b82525050565b6000602082019050612a4c6000830184612a28565b92915050565b612a5b81612a16565b8114612a6657600080fd5b50565b600081359050612a7881612a52565b92915050565b60008060408385031215612a9557612a94612813565b5b6000612aa385828601612a69565b9250506020612ab4858286016129b4565b9150509250929050565b600060208284031215612ad457612ad3612813565b5b6000612ae284828501612a69565b91505092915050565b612af481612993565b82525050565b6000602082019050612b0f6000830184612aeb565b92915050565b600080600060608486031215612b2e57612b2d612813565b5b6000612b3c86828701612a69565b9350506020612b4d86828701612a69565b9250506040612b5e868287016129b4565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612baa82612927565b810181811067ffffffffffffffff82111715612bc957612bc8612b72565b5b80604052505050565b6000612bdc612809565b9050612be88282612ba1565b919050565b600067ffffffffffffffff821115612c0857612c07612b72565b5b612c1182612927565b9050602081019050919050565b82818337600083830152505050565b6000612c40612c3b84612bed565b612bd2565b905082815260208101848484011115612c5c57612c5b612b6d565b5b612c67848285612c1e565b509392505050565b600082601f830112612c8457612c83612b68565b5b8135612c94848260208601612c2d565b91505092915050565b600080600060608486031215612cb657612cb5612813565b5b6000612cc486828701612a69565b9350506020612cd5868287016129b4565b925050604084013567ffffffffffffffff811115612cf657612cf5612818565b5b612d0286828701612c6f565b9150509250925092565b600067ffffffffffffffff821115612d2757612d26612b72565b5b612d3082612927565b9050602081019050919050565b6000612d50612d4b84612d0c565b612bd2565b905082815260208101848484011115612d6c57612d6b612b6d565b5b612d77848285612c1e565b509392505050565b600082601f830112612d9457612d93612b68565b5b8135612da4848260208601612d3d565b91505092915050565b600060208284031215612dc357612dc2612813565b5b600082013567ffffffffffffffff811115612de157612de0612818565b5b612ded84828501612d7f565b91505092915050565b612dff816128a2565b8114612e0a57600080fd5b50565b600081359050612e1c81612df6565b92915050565b60008060408385031215612e3957612e38612813565b5b6000612e4785828601612a69565b9250506020612e5885828601612e0d565b9150509250929050565b60008060008060808587031215612e7c57612e7b612813565b5b6000612e8a87828801612a69565b9450506020612e9b87828801612a69565b9350506040612eac878288016129b4565b925050606085013567ffffffffffffffff811115612ecd57612ecc612818565b5b612ed987828801612c6f565b91505092959194509250565b60008060408385031215612efc57612efb612813565b5b6000612f0a858286016129b4565b925050602083013567ffffffffffffffff811115612f2b57612f2a612818565b5b612f3785828601612c6f565b9150509250929050565b60008060408385031215612f5857612f57612813565b5b6000612f6685828601612a69565b9250506020612f7785828601612a69565b9150509250929050565b600060208284031215612f9757612f96612813565b5b6000612fa584828501612e0d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612ff557607f821691505b6020821081141561300957613008612fae565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061306b602c836128e3565b91506130768261300f565b604082019050919050565b6000602082019050818103600083015261309a8161305e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130fd6021836128e3565b9150613108826130a1565b604082019050919050565b6000602082019050818103600083015261312c816130f0565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061318f6038836128e3565b915061319a82613133565b604082019050919050565b600060208201905081810360008301526131be81613182565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006132216031836128e3565b915061322c826131c5565b604082019050919050565b6000602082019050818103600083015261325081613214565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061328d6020836128e3565b915061329882613257565b602082019050919050565b600060208201905081810360008301526132bc81613280565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006132fd82612993565b915061330883612993565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561333d5761333c6132c3565b5b828201905092915050565b7f4d61782072657365727665206578636565646564000000000000000000000000600082015250565b600061337e6014836128e3565b915061338982613348565b602082019050919050565b600060208201905081810360008301526133ad81613371565b9050919050565b60006133bf82612993565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133f2576133f16132c3565b5b600182019050919050565b60006040820190506134126000830185612a28565b61341f6020830184612aeb565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006134b16029836128e3565b91506134bc82613455565b604082019050919050565b600060208201905081810360008301526134e0816134a4565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613543602a836128e3565b915061354e826134e7565b604082019050919050565b6000602082019050818103600083015261357281613536565b9050919050565b7f496e636f7272656374206e657720616d6f756e74000000000000000000000000600082015250565b60006135af6014836128e3565b91506135ba82613579565b602082019050919050565b600060208201905081810360008301526135de816135a2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061361b6019836128e3565b9150613626826135e5565b602082019050919050565b6000602082019050818103600083015261364a8161360e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006136ad602f836128e3565b91506136b882613651565b604082019050919050565b600060208201905081810360008301526136dc816136a0565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461371081612fdd565b61371a81866136e3565b94506001821660008114613735576001811461374657613779565b60ff19831686528186019350613779565b61374f856136ee565b60005b8381101561377157815481890152600182019150602081019050613752565b838801955050505b50505092915050565b600061378d826128d8565b61379781856136e3565b93506137a78185602086016128f4565b80840191505092915050565b60006137bf8285613703565b91506137cb8284613782565b91508190509392505050565b7f4d696e74206973206e6f74206c69766500000000000000000000000000000000600082015250565b600061380d6010836128e3565b9150613818826137d7565b602082019050919050565b6000602082019050818103600083015261383c81613800565b9050919050565b7f57616c6c657420616c7265616479206d696e7465640000000000000000000000600082015250565b60006138796015836128e3565b915061388482613843565b602082019050919050565b600060208201905081810360008301526138a88161386c565b9050919050565b7f4d6178203120616c6c6f776564207065722077616c6c65740000000000000000600082015250565b60006138e56018836128e3565b91506138f0826138af565b602082019050919050565b60006020820190508181036000830152613914816138d8565b9050919050565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b60006139516009836128e3565b915061395c8261391b565b602082019050919050565b6000602082019050818103600083015261398081613944565b9050919050565b7f546f74616c20737570706c792077617320726561636865640000000000000000600082015250565b60006139bd6018836128e3565b91506139c882613987565b602082019050919050565b600060208201905081810360008301526139ec816139b0565b9050919050565b7f4e6f7420617574686f72697a656420746f206d696e7400000000000000000000600082015250565b6000613a296016836128e3565b9150613a34826139f3565b602082019050919050565b60006020820190508181036000830152613a5881613a1c565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613abb6026836128e3565b9150613ac682613a5f565b604082019050919050565b60006020820190508181036000830152613aea81613aae565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613b4d602c836128e3565b9150613b5882613af1565b604082019050919050565b60006020820190508181036000830152613b7c81613b40565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613bdf6029836128e3565b9150613bea82613b83565b604082019050919050565b60006020820190508181036000830152613c0e81613bd2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613c716024836128e3565b9150613c7c82613c15565b604082019050919050565b60006020820190508181036000830152613ca081613c64565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613cdd6020836128e3565b9150613ce882613ca7565b602082019050919050565b60006020820190508181036000830152613d0c81613cd0565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613d49601c836128e3565b9150613d5482613d13565b602082019050919050565b60006020820190508181036000830152613d7881613d3c565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613ddb6032836128e3565b9150613de682613d7f565b604082019050919050565b60006020820190508181036000830152613e0a81613dce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e4b82612993565b9150613e5683612993565b925082613e6657613e65613e11565b5b828204905092915050565b6000613e7c82612993565b9150613e8783612993565b925082821015613e9a57613e996132c3565b5b828203905092915050565b6000613eb082612993565b9150613ebb83612993565b925082613ecb57613eca613e11565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613f3b6018836128e3565b9150613f4682613f05565b602082019050919050565b60006020820190508181036000830152613f6a81613f2e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613fa7601f836128e3565b9150613fb282613f71565b602082019050919050565b60006020820190508181036000830152613fd681613f9a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006140396022836128e3565b915061404482613fdd565b604082019050919050565b600060208201905081810360008301526140688161402c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006140cb6022836128e3565b91506140d68261406f565b604082019050919050565b600060208201905081810360008301526140fa816140be565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061412882614101565b614132818561410c565b93506141428185602086016128f4565b61414b81612927565b840191505092915050565b600060808201905061416b6000830187612a28565b6141786020830186612a28565b6141856040830185612aeb565b8181036060830152614197818461411d565b905095945050505050565b6000815190506141b181612849565b92915050565b6000602082840312156141cd576141cc612813565b5b60006141db848285016141a2565b91505092915050565b6000819050919050565b6141f7816141e4565b82525050565b600060ff82169050919050565b614213816141fd565b82525050565b600060808201905061422e60008301876141ee565b61423b602083018661420a565b61424860408301856141ee565b61425560608301846141ee565b9594505050505056fea264697066735822122088d5fd87ac6ce23f4160af559a696b41afdeced09475e0ae183e95ba6f57d62e64736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f6170692e6c696c6d6164616d732e78797a2f6170692f76312f6e66742f000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.lilmadams.xyz/api/v1/nft/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [2] : 68747470733a2f2f6170692e6c696c6d6164616d732e78797a2f6170692f7631
Arg [3] : 2f6e66742f000000000000000000000000000000000000000000000000000000


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

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