ETH Price: $2,856.94 (-6.45%)
Gas: 7 Gwei

Token

Sinners (SINN)
 

Overview

Max Total Supply

177 SINN

Holders

29

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cryptoigwe.eth
Balance
1 SINN
0x729D4f2f5DA9cfedC00E5007CE998EDD47693674
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:
Sinners

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

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

//@author: Linorth ([email protected])
//
//????????????????????????J???????????????????????????????????????????????????????????????????????????
//???????????????????????5#BJ?????????????????????????????????????????????????????????????????????????
//???????????????????????G#GB???????????????????????????????????????????????YB5???????????????????????
//???????????????????????5@?#G?????????????????????????????????????????????J&B&J??????????????????????
//???????????????????????J&P!BBJ???????????????????????????????????????????P#J&J??????????????????????
//????????????????????????G&7!G&Y?????????????????????????????????????????Y@?J&J??????????????????????
//????????????????????????J&5!!Y&BJ?????????????JJJJJJJJJ????????????????Y&Y~5&J??????????????????????
//?????????????????????????P&?7!!P&GY????JY5PBB##&&&&&&&&#BGPYJ?????????Y&Y~7G#???????????????????????
//??????????????????????????#G777~7P&B55B#&&&&&&#########&&&&&#G5J?????P#?~77&P???????????????????????
//??????????????????????????J&57777~!YB&&&#####################&@&P??5B5~~77J@Y???????????????????????
//???????????????????????????5&Y77777!!!J5B######################&@#G57~7777B#????????????????????????
//????????????????????????????5&Y7777777!!?#######################GJ!!77777Y&Y????????????????????????
//?????????????????????????????5&57??777777B#####################&5!777777J&5?????????????????????????
//??????????????????????????????Y&BJJ?7777?################&&&####G77?J?75&5??????????????????????????
//???????????????????????????????&@#PJ777?B################&#######P??7JG#Y???????????????????????????
//??????????????????????Y55J????J&&#&#G55B#########################&BPG#P????J????????????????????????
//??????????????????????B@@&BY??J&&####&&############################@#???YG#&#Y??????????????????????
//???????????????????????P@&&&P??#@#######&&#&&&#####################@G?YB@&@@GJ??????????????????????
//????????????????????????#@#&@G?B@######&G!~7YG#&################&&#@GG@&B#@5????????????????????????
//????????????????????????5@B#&@#P@&######~:::::!YB&############&GYP#@@@&GB@5?????????????????????????
//????????????????????????J&BP#&&&@&#####&~::::!YJ75##########&BJ^::P@&&BP@G??????????????????????????
//?????????????????????????P@5YG#&&&&&###&G^:::7PGY:~P&######BJ75J::P&&@P&&J??????????????????????????
//??????????????????????????##Y5&@@&##&&##&B7::!PGJ::P&#####&7.7GY^Y#@&GB@5???????????????????????????
//??????????????????????????J#B5#@@@@&#####&&GJ?J?~7P&####&&&B7!YPB##P5B@P????????????????????????????
//???????????????????????????J##5Y55PG#######&&&#B#&&########&&######G##Y?????????????????????????????
//????????????????????????????JP#BP55P&#######GPB#&&&&&&&#&&&&&&###B&&Y???????????????????????????????
//??????????????????????????????JYPGGB@&####&5..^J?JYGPGBBBBBBPGB###@P????????????????????????????????
//????????????????????????????????????YB@&###B^.!^..:!..^!.:~!.:!P#&&J????????????????????????????????
//????????????????????????????????????YG&&&&#&BY!.. !:..~~...7..JB&&Y?????????????????????????????????
//??????????????????????????????????JG&&####&&&&#GYJY!~^7!^~~YYG&@#J??????????????????????????????????
//?????????????????????????????????P&&##########&&&&&&&#####&&&&&@#Y??????????????????????????????????
//????????????????????????????????G@&#############################&&5?????????????????????????????????
//???????????????????????????????G@#######&##&&#################&##@&Y????????????????????????????????
//??????????????????????????????P@&######&&##&###################&##@#J???????????????????????????????
//?????????????????????????????J&&#######&&######################&&#&@P???????????????????????????????
//?????????????????????????????B@########&&######################&###@&J??????????????????????????????
//????????????????????????????Y@&#########&######################&###&@G??????????????????????????????
//????????????????????????????P@&########&&#######################&###@&J?????????????????????????????
//????????????????????????????B@#########&#########################&##&@P?????????????????????????????
//???????????????????????????J&@########&&##########################&#&@G?????????????????????????????
//???????????????????????????Y@&########&&##########################&##@#?????????????????????????????
//

import "./ERC721Enumerable.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./ECDSA.sol";
import "./IERC2981.sol";


contract Sinners is ERC721Enumerable, IERC2981, Ownable {

    using SafeMath for uint256;

    uint256 public  maxsinners            = 6666;
    uint256 public  teamReserveCount      = 0;
    uint256 public  teamReserveMinted     = 0;
    bool    public  maxsinnersFrozenForever = false;
    bool    public  publicSale            = false;
    bool    public  revealed              = false;
    uint256 public  price                 = 0.06 ether;
    uint256 public  publicSaleOffset      = teamReserveCount; 
    uint256 public  maxMintAmount         = 3;
    address private ticketSignerAddress   = 0x78e0eA5fc64eb1f05FB04EE2FBbd9c49d3629c49;
    string  private baseURI;

    mapping(address => uint256) public addressMintedBalance;

    struct SinnersTicket {
        uint256 tokenId;
        uint256 expire;
        bytes signature;
    }

    event Reveal();


    constructor() ERC721("Sinners","SINN") { // add your own name here
        baseURI = "https://sinnersnft.com/api/sinner/";
        transferOwnership(0x0A8Fe622A1b750dbC9E8e464BF0c009cf47e7F5E); // add your owner address in paranteses
        revealed = true;
        emit Reveal();
    }


    //public interface
    function mintSinnersPublic(uint count) external payable {
        require(publicSale, 'Public Sale is Not Active');
        require(totalSupply().sub(teamReserveMinted).add(count) <= maxsinners.sub(teamReserveCount), "Not Enough sinners");
        if (msg.sender != owner()) {
            require(msg.value >= price.mul(count), "Not Enough Ether");}

        uint256[] memory sinners = getUnmintedsinners(count);
        for (uint256 i = 0; i < count; i++) {
            _safeMint(msg.sender, sinners[i]);
        }
    }


    function mintSinnersByTicket(SinnersTicket[] calldata tickets) external payable{
        require(msg.value >= 0.03 ether);
        require(totalSupply().add(tickets.length) <= maxsinners, "Not Enough sinners");
        require(tickets.length >= 1 && tickets.length <= maxMintAmount, "count must be larger than 0 and smaller than maximum mint amount");
        for (uint i = 0; i < tickets.length; ++i) {
            verifyTicketAndMint(tickets[i]);
        }
    }


    //owner interface
    function setBaseURI(string memory uri) external onlyOwner {
        baseURI = uri;
    }

    function setTicketSignerAddress(address TicketSigner) external onlyOwner {
        ticketSignerAddress = TicketSigner;
    }
    function setMaxsinners(uint256 max) external onlyOwner {
        require(!maxsinnersFrozenForever, "maxsinners is Frozen Forever");
        require(max > maxsinners, "max is must be larger than current value");
        maxsinners = max;
    }

    function freezeMaxsinnersForever() external onlyOwner {
        require(!maxsinnersFrozenForever, "Already Frozen");
        maxsinnersFrozenForever = true;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(owner()).transfer(balance);
    }

    function setPublicSale(bool isOpen) external onlyOwner {
        publicSale = isOpen;
    }

    function setPrice(uint256 newPrice) external onlyOwner() {
        price = newPrice;
    }

    function reveal() external onlyOwner {
        require(!revealed, "already revealed");
        revealed = true;
        emit Reveal();
    }


    //internal
    function verifyTicketAndMint(SinnersTicket calldata ticket) private {
        bytes32 ticketHash = keccak256(abi.encode(msg.sender, ticket.tokenId, ticket.expire));
        bytes32 ethMsgHash = ECDSA.toEthSignedMessageHash(ticketHash);
        require(ticketSignerAddress == ECDSA.recover(ethMsgHash, ticket.signature), 'Invalid SinnersTicket signature');
        require(block.timestamp <= ticket.expire, "Expired SinnersTicket");
        require(ticket.tokenId >= 0 && ticket.tokenId < maxsinners, "Invalid SinnersTicket tokenId");
        uint256 ownerMintedCount = addressMintedBalance[msg.sender];
        require(ownerMintedCount + 1 <= maxMintAmount, "max NFT per address exceeded");
        addressMintedBalance[msg.sender] = addressMintedBalance[msg.sender]++;
        _safeMint(msg.sender, ticket.tokenId);
        if (ticket.tokenId < teamReserveCount) {
            ++teamReserveMinted;
        }
    }

    function getUnmintedsinners(uint256 count) private returns (uint256[] memory) {
        uint256[] memory sinners = new uint256[](count);
        uint256 checked;
        uint256 found;
        for (uint256 id = 1; id < maxsinners; ++id) {
            ++checked;
            if (!_exists(id)) {
                sinners[found] = id;
                ++found;
                if (found == count) {
                    break;
                }
            }
        }
        publicSaleOffset += checked;
        return sinners;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override(IERC2981) returns (
        address receiver,
        uint256 royaltyAmount) {
        receiver = owner();
        royaltyAmount = _salePrice.mul(75).div(1000);
    }


    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, IERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }
}

File 2 of 16 : IERC2981.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 3 of 16 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 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 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 4 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT

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 no longer needed starting with Solidity 0.8. 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 substraction 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 5 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./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 6 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 7 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 9 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 10 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _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 11 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT

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 13 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

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 14 of 16 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 16 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":[],"name":"Reveal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":"freezeMaxsinnersForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxsinners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxsinnersFrozenForever","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"expire","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct Sinners.SinnersTicket[]","name":"tickets","type":"tuple[]"}],"name":"mintSinnersByTicket","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintSinnersPublic","outputs":[],"stateMutability":"payable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMaxsinners","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isOpen","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"TicketSigner","type":"address"}],"name":"setTicketSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamReserveCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamReserveMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611a0a600b556000600c556000600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055506000600e60026101000a81548160ff02191690831515021790555066d529ae9e860000600f55600c5460105560036011557378e0ea5fc64eb1f05fb04ee2fbbd9c49d3629c49601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000dd57600080fd5b506040518060400160405280600781526020017f53696e6e657273000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f53494e4e0000000000000000000000000000000000000000000000000000000081525081600090805190602001906200016292919062000450565b5080600190805190602001906200017b92919062000450565b5050506200019e620001926200024260201b60201c565b6200024a60201b60201c565b60405180606001604052806022815260200162005e5a6022913960139080519060200190620001cf92919062000450565b50620001f5730a8fe622a1b750dbc9e8e464bf0c009cf47e7f5e6200031060201b60201c565b6001600e60026101000a81548160ff0219169083151502179055507f66b9f0d2f5af4125e8098bf5f1efc517ed46a70d8638734d186af310e2f8bc7560405160405180910390a162000664565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003206200024260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003466200042660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200039f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039690620005cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000412576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040990620005aa565b60405180910390fd5b62000423816200024a60201b60201c565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200045e90620005ff565b90600052602060002090601f016020900481019282620004825760008555620004ce565b82601f106200049d57805160ff1916838001178555620004ce565b82800160010185558215620004ce579182015b82811115620004cd578251825591602001919060010190620004b0565b5b509050620004dd9190620004e1565b5090565b5b80821115620004fc576000816000905550600101620004e2565b5090565b60006200050f602683620005ee565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600062000577602083620005ee565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006020820190508181036000830152620005c58162000500565b9050919050565b60006020820190508181036000830152620005e78162000568565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200061857607f821691505b602082108114156200062f576200062e62000635565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6157e680620006746000396000f3fe60806040526004361061023b5760003560e01c80635aca1bb61161012e578063a33ab397116100ab578063c87b56dd1161006f578063c87b56dd14610832578063e126ac071461086f578063e985e9c51461089a578063f2fde38b146108d7578063f6039c8e146109005761023b565b8063a33ab39714610780578063a475b5dd146107ab578063b51e9148146107c2578063b88d4fde146107de578063c08a04f6146108075761023b565b80638da5cb5b116100f25780638da5cb5b146106ad57806391b7f5ed146106d857806395d89b4114610701578063a035b1fe1461072c578063a22cb465146107575761023b565b80635aca1bb6146105d75780636352211e1461060057806370a082311461063d578063715018a61461067a5780638471b1ed146106915761023b565b80632a55205a116101bc57806347b0fe221161018057806347b0fe22146105065780634ca1071c1461051d5780634f6ccce714610546578063518302271461058357806355f804b3146105ae5761023b565b80632a55205a146104205780632f745c591461045e57806333bc1c5c1461049b5780633ccfd60b146104c657806342842e0e146104dd5761023b565b806318a068a61161020357806318a068a61461033957806318cae269146103645780631fab1c4e146103a1578063239c70ae146103cc57806323b872dd146103f75761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806318160ddd1461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613f49565b610929565b6040516102749190614dc3565b60405180910390f35b34801561028957600080fd5b506102926109a3565b60405161029f9190614e23565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613fdc565b610a35565b6040516102dc9190614cfc565b60405180910390f35b3480156102f157600080fd5b5061030c60048036038101906103079190613e9f565b610aba565b005b34801561031a57600080fd5b50610323610bd2565b6040516103309190615285565b60405180910390f35b34801561034557600080fd5b5061034e610bdf565b60405161035b9190615285565b60405180910390f35b34801561037057600080fd5b5061038b60048036038101906103869190613d34565b610be5565b6040516103989190615285565b60405180910390f35b3480156103ad57600080fd5b506103b6610bfd565b6040516103c39190614dc3565b60405180910390f35b3480156103d857600080fd5b506103e1610c10565b6040516103ee9190615285565b60405180910390f35b34801561040357600080fd5b5061041e60048036038101906104199190613d99565b610c16565b005b34801561042c57600080fd5b5061044760048036038101906104429190614005565b610c76565b604051610455929190614d63565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613e9f565b610cb4565b6040516104929190615285565b60405180910390f35b3480156104a757600080fd5b506104b0610d59565b6040516104bd9190614dc3565b60405180910390f35b3480156104d257600080fd5b506104db610d6c565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190613d99565b610e3e565b005b34801561051257600080fd5b5061051b610e5e565b005b34801561052957600080fd5b50610544600480360381019061053f9190613d34565b610f47565b005b34801561055257600080fd5b5061056d60048036038101906105689190613fdc565b611007565b60405161057a9190615285565b60405180910390f35b34801561058f57600080fd5b5061059861109e565b6040516105a59190614dc3565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d09190613f9b565b6110b1565b005b3480156105e357600080fd5b506105fe60048036038101906105f99190613f20565b611147565b005b34801561060c57600080fd5b5061062760048036038101906106229190613fdc565b6111e0565b6040516106349190614cfc565b60405180910390f35b34801561064957600080fd5b50610664600480360381019061065f9190613d34565b611292565b6040516106719190615285565b60405180910390f35b34801561068657600080fd5b5061068f61134a565b005b6106ab60048036038101906106a69190613edb565b6113d2565b005b3480156106b957600080fd5b506106c2611516565b6040516106cf9190614cfc565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613fdc565b611540565b005b34801561070d57600080fd5b506107166115c6565b6040516107239190614e23565b60405180910390f35b34801561073857600080fd5b50610741611658565b60405161074e9190615285565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190613e63565b61165e565b005b34801561078c57600080fd5b50610795611674565b6040516107a29190615285565b60405180910390f35b3480156107b757600080fd5b506107c061167a565b005b6107dc60048036038101906107d79190613fdc565b61178f565b005b3480156107ea57600080fd5b5061080560048036038101906108009190613de8565b611970565b005b34801561081357600080fd5b5061081c6119d2565b6040516108299190615285565b60405180910390f35b34801561083e57600080fd5b5061085960048036038101906108549190613fdc565b6119d8565b6040516108669190614e23565b60405180910390f35b34801561087b57600080fd5b50610884611a7f565b6040516108919190615285565b60405180910390f35b3480156108a657600080fd5b506108c160048036038101906108bc9190613d5d565b611a85565b6040516108ce9190614dc3565b60405180910390f35b3480156108e357600080fd5b506108fe60048036038101906108f99190613d34565b611b19565b005b34801561090c57600080fd5b5061092760048036038101906109229190613fdc565b611c11565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099c575061099b82611d2b565b5b9050919050565b6060600080546109b2906155d1565b80601f01602080910402602001604051908101604052809291908181526020018280546109de906155d1565b8015610a2b5780601f10610a0057610100808354040283529160200191610a2b565b820191906000526020600020905b815481529060010190602001808311610a0e57829003601f168201915b5050505050905090565b6000610a4082611da5565b610a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7690615185565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac5826111e0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2d906151e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b55611e11565b73ffffffffffffffffffffffffffffffffffffffff161480610b845750610b8381610b7e611e11565b611a85565b5b610bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bba906150c5565b60405180910390fd5b610bcd8383611e19565b505050565b6000600880549050905090565b60105481565b60146020528060005260406000206000915090505481565b600e60009054906101000a900460ff1681565b60115481565b610c27610c21611e11565b82611ed2565b610c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5d90615205565b60405180910390fd5b610c71838383611fb0565b505050565b600080610c81611516565b9150610cab6103e8610c9d604b8661221790919063ffffffff16565b61222d90919063ffffffff16565b90509250929050565b6000610cbf83611292565b8210610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790614ee5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e60019054906101000a900460ff1681565b610d74611e11565b73ffffffffffffffffffffffffffffffffffffffff16610d92611516565b73ffffffffffffffffffffffffffffffffffffffff1614610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf906151a5565b60405180910390fd5b6000479050610df5611516565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e3a573d6000803e3d6000fd5b5050565b610e5983838360405180602001604052806000815250611970565b505050565b610e66611e11565b73ffffffffffffffffffffffffffffffffffffffff16610e84611516565b73ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed1906151a5565b60405180910390fd5b600e60009054906101000a900460ff1615610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2190615265565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b610f4f611e11565b73ffffffffffffffffffffffffffffffffffffffff16610f6d611516565b73ffffffffffffffffffffffffffffffffffffffff1614610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba906151a5565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611011610bd2565b8210611052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104990615245565b60405180910390fd5b6008828154811061108c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600e60029054906101000a900460ff1681565b6110b9611e11565b73ffffffffffffffffffffffffffffffffffffffff166110d7611516565b73ffffffffffffffffffffffffffffffffffffffff161461112d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611124906151a5565b60405180910390fd5b8060139080519060200190611143929190613b0e565b5050565b61114f611e11565b73ffffffffffffffffffffffffffffffffffffffff1661116d611516565b73ffffffffffffffffffffffffffffffffffffffff16146111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba906151a5565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128090615105565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa906150e5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611352611e11565b73ffffffffffffffffffffffffffffffffffffffff16611370611516565b73ffffffffffffffffffffffffffffffffffffffff16146113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd906151a5565b60405180910390fd5b6113d06000612243565b565b666a94d74f4300003410156113e657600080fd5b600b54611406838390506113f8610bd2565b61230990919063ffffffff16565b1115611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e90614ea5565b60405180910390fd5b6001828290501015801561146057506011548282905011155b61149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690614fc5565b60405180910390fd5b60005b82829050811015611511576115008383838181106114e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020028101906114fb91906152f7565b61231f565b8061150a90615603565b90506114a2565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611548611e11565b73ffffffffffffffffffffffffffffffffffffffff16611566611516565b73ffffffffffffffffffffffffffffffffffffffff16146115bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b3906151a5565b60405180910390fd5b80600f8190555050565b6060600180546115d5906155d1565b80601f0160208091040260200160405190810160405280929190818152602001828054611601906155d1565b801561164e5780601f106116235761010080835404028352916020019161164e565b820191906000526020600020905b81548152906001019060200180831161163157829003601f168201915b5050505050905090565b600f5481565b611670611669611e11565b8383612653565b5050565b600b5481565b611682611e11565b73ffffffffffffffffffffffffffffffffffffffff166116a0611516565b73ffffffffffffffffffffffffffffffffffffffff16146116f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ed906151a5565b60405180910390fd5b600e60029054906101000a900460ff1615611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614fa5565b60405180910390fd5b6001600e60026101000a81548160ff0219169083151502179055507f66b9f0d2f5af4125e8098bf5f1efc517ed46a70d8638734d186af310e2f8bc7560405160405180910390a1565b600e60019054906101000a900460ff166117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d590614fe5565b60405180910390fd5b6117f5600c54600b546127c090919063ffffffff16565b61182382611815600d54611807610bd2565b6127c090919063ffffffff16565b61230990919063ffffffff16565b1115611864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185b90614ea5565b60405180910390fd5b61186c611516565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118f6576118b381600f5461221790919063ffffffff16565b3410156118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec90614e85565b60405180910390fd5b5b6000611901826127d6565b905060005b8281101561196b576119583383838151811061194b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161290e565b808061196390615603565b915050611906565b505050565b61198161197b611e11565b83611ed2565b6119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b790615205565b60405180910390fd5b6119cc8484848461292c565b50505050565b600c5481565b60606119e382611da5565b611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a19906151c5565b60405180910390fd5b6000611a2c612988565b90506000815111611a4c5760405180602001604052806000815250611a77565b80611a5684612a1a565b604051602001611a67929190614cb2565b6040516020818303038152906040525b915050919050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b21611e11565b73ffffffffffffffffffffffffffffffffffffffff16611b3f611516565b73ffffffffffffffffffffffffffffffffffffffff1614611b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8c906151a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfc90614f25565b60405180910390fd5b611c0e81612243565b50565b611c19611e11565b73ffffffffffffffffffffffffffffffffffffffff16611c37611516565b73ffffffffffffffffffffffffffffffffffffffff1614611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c84906151a5565b60405180910390fd5b600e60009054906101000a900460ff1615611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490615065565b60405180910390fd5b600b548111611d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1890615225565b60405180910390fd5b80600b8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d9e5750611d9d82612bc7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e8c836111e0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611edd82611da5565b611f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f13906150a5565b60405180910390fd5b6000611f27836111e0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9657508373ffffffffffffffffffffffffffffffffffffffff16611f7e84610a35565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fa75750611fa68185611a85565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fd0826111e0565b73ffffffffffffffffffffffffffffffffffffffff1614612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d90614f65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208d90615025565b60405180910390fd5b6120a1838383612ca9565b6120ac600082611e19565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120fc91906154d0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215391906153ef565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612212838383612dbd565b505050565b600081836122259190615476565b905092915050565b6000818361223b9190615445565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361231791906153ef565b905092915050565b6000338260000135836020013560405160200161233e93929190614d8c565b604051602081830303815290604052805190602001209050600061236182612dc2565b90506123bf8184806040019061237791906152a0565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612df2565b73ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461244e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244590615125565b60405180910390fd5b8260200135421115612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c90614f45565b60405180910390fd5b60008360000135101580156124af5750600b548360000135105b6124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614e65565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060115460018261254291906153ef565b1115612583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257a90615005565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906125d390615603565b91905055601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061262833856000013561290e565b600c548460000135101561264d57600d6000815461264590615603565b919050819055505b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b990615045565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127b39190614dc3565b60405180910390a3505050565b600081836127ce91906154d0565b905092915050565b606060008267ffffffffffffffff81111561281a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156128485781602001602082028036833780820191505090505b5090506000806000600190505b600b548110156128e9578261286990615603565b925061287481611da5565b6128d857808483815181106128b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050816128c890615603565b9150858214156128d7576128e9565b5b806128e290615603565b9050612855565b5081601060008282546128fc91906153ef565b92505081905550829350505050919050565b612928828260405180602001604052806000815250612e19565b5050565b612937848484611fb0565b61294384848484612e74565b612982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297990614f05565b60405180910390fd5b50505050565b606060138054612997906155d1565b80601f01602080910402602001604051908101604052809291908181526020018280546129c3906155d1565b8015612a105780601f106129e557610100808354040283529160200191612a10565b820191906000526020600020905b8154815290600101906020018083116129f357829003601f168201915b5050505050905090565b60606000821415612a62576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bc2565b600082905060005b60008214612a94578080612a7d90615603565b915050600a82612a8d9190615445565b9150612a6a565b60008167ffffffffffffffff811115612ad6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b085781602001600182028036833780820191505090505b5090505b60008514612bbb57600182612b2191906154d0565b9150600a85612b309190615656565b6030612b3c91906153ef565b60f81b818381518110612b78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bb49190615445565b9450612b0c565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c9257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ca25750612ca18261300b565b5b9050919050565b612cb4838383613075565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cf757612cf28161307a565b612d36565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d3557612d3483826130c3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d7957612d7481613230565b612db8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612db757612db68282613373565b5b5b505050565b505050565b600081604051602001612dd59190614cd6565b604051602081830303815290604052805190602001209050919050565b6000806000612e0185856133f2565b91509150612e0e81613475565b819250505092915050565b612e2383836137c6565b612e306000848484612e74565b612e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6690614f05565b60405180910390fd5b505050565b6000612e958473ffffffffffffffffffffffffffffffffffffffff166139a0565b15612ffe578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ebe611e11565b8786866040518563ffffffff1660e01b8152600401612ee09493929190614d17565b602060405180830381600087803b158015612efa57600080fd5b505af1925050508015612f2b57506040513d601f19601f82011682018060405250810190612f289190613f72565b60015b612fae573d8060008114612f5b576040519150601f19603f3d011682016040523d82523d6000602084013e612f60565b606091505b50600081511415612fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9d90614f05565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613003565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130d084611292565b6130da91906154d0565b90506000600760008481526020019081526020016000205490508181146131bf576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061324491906154d0565b905060006009600084815260200190815260200160002054905060006008838154811061329a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106132e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613357577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061337e83611292565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000806041835114156134345760008060006020860151925060408601519150606086015160001a9050613428878285856139b3565b9450945050505061346e565b60408351141561346557600080602085015191506040850151905061345a868383613ac0565b93509350505061346e565b60006002915091505b9250929050565b600060048111156134af577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156134e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156134f3576137c3565b6001600481111561352d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613566577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359e90614e45565b60405180910390fd5b600260048111156135e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561361a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561365b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365290614ec5565b60405180910390fd5b60036004811115613695577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156136ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561370f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370690615085565b60405180910390fd5b600480811115613748577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613781577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156137c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b990615145565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382d90615165565b60405180910390fd5b61383f81611da5565b1561387f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387690614f85565b60405180910390fd5b61388b60008383612ca9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138db91906153ef565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461399c60008383612dbd565b5050565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156139ee576000600391509150613ab7565b601b8560ff1614158015613a065750601c8560ff1614155b15613a18576000600491509150613ab7565b600060018787878760405160008152602001604052604051613a3d9493929190614dde565b6020604051602081039080840390855afa158015613a5f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613aae57600060019250925050613ab7565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613b00878288856139b3565b935093505050935093915050565b828054613b1a906155d1565b90600052602060002090601f016020900481019282613b3c5760008555613b83565b82601f10613b5557805160ff1916838001178555613b83565b82800160010185558215613b83579182015b82811115613b82578251825591602001919060010190613b67565b5b509050613b909190613b94565b5090565b5b80821115613bad576000816000905550600101613b95565b5090565b6000613bc4613bbf8461534c565b61531b565b905082815260208101848484011115613bdc57600080fd5b613be784828561558f565b509392505050565b6000613c02613bfd8461537c565b61531b565b905082815260208101848484011115613c1a57600080fd5b613c2584828561558f565b509392505050565b600081359050613c3c81615754565b92915050565b60008083601f840112613c5457600080fd5b8235905067ffffffffffffffff811115613c6d57600080fd5b602083019150836020820283011115613c8557600080fd5b9250929050565b600081359050613c9b8161576b565b92915050565b600081359050613cb081615782565b92915050565b600081519050613cc581615782565b92915050565b600082601f830112613cdc57600080fd5b8135613cec848260208601613bb1565b91505092915050565b600082601f830112613d0657600080fd5b8135613d16848260208601613bef565b91505092915050565b600081359050613d2e81615799565b92915050565b600060208284031215613d4657600080fd5b6000613d5484828501613c2d565b91505092915050565b60008060408385031215613d7057600080fd5b6000613d7e85828601613c2d565b9250506020613d8f85828601613c2d565b9150509250929050565b600080600060608486031215613dae57600080fd5b6000613dbc86828701613c2d565b9350506020613dcd86828701613c2d565b9250506040613dde86828701613d1f565b9150509250925092565b60008060008060808587031215613dfe57600080fd5b6000613e0c87828801613c2d565b9450506020613e1d87828801613c2d565b9350506040613e2e87828801613d1f565b925050606085013567ffffffffffffffff811115613e4b57600080fd5b613e5787828801613ccb565b91505092959194509250565b60008060408385031215613e7657600080fd5b6000613e8485828601613c2d565b9250506020613e9585828601613c8c565b9150509250929050565b60008060408385031215613eb257600080fd5b6000613ec085828601613c2d565b9250506020613ed185828601613d1f565b9150509250929050565b60008060208385031215613eee57600080fd5b600083013567ffffffffffffffff811115613f0857600080fd5b613f1485828601613c42565b92509250509250929050565b600060208284031215613f3257600080fd5b6000613f4084828501613c8c565b91505092915050565b600060208284031215613f5b57600080fd5b6000613f6984828501613ca1565b91505092915050565b600060208284031215613f8457600080fd5b6000613f9284828501613cb6565b91505092915050565b600060208284031215613fad57600080fd5b600082013567ffffffffffffffff811115613fc757600080fd5b613fd384828501613cf5565b91505092915050565b600060208284031215613fee57600080fd5b6000613ffc84828501613d1f565b91505092915050565b6000806040838503121561401857600080fd5b600061402685828601613d1f565b925050602061403785828601613d1f565b9150509250929050565b61404a81615504565b82525050565b61405981615516565b82525050565b61406881615522565b82525050565b61407f61407a82615522565b61564c565b82525050565b6000614090826153ac565b61409a81856153c2565b93506140aa81856020860161559e565b6140b381615743565b840191505092915050565b60006140c9826153b7565b6140d381856153d3565b93506140e381856020860161559e565b6140ec81615743565b840191505092915050565b6000614102826153b7565b61410c81856153e4565b935061411c81856020860161559e565b80840191505092915050565b60006141356018836153d3565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000614175601d836153d3565b91507f496e76616c69642053696e6e6572735469636b657420746f6b656e49640000006000830152602082019050919050565b60006141b56010836153d3565b91507f4e6f7420456e6f756768204574686572000000000000000000000000000000006000830152602082019050919050565b60006141f56012836153d3565b91507f4e6f7420456e6f7567682073696e6e65727300000000000000000000000000006000830152602082019050919050565b6000614235601f836153d3565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000614275601c836153e4565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006142b5602b836153d3565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061431b6032836153d3565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006143816026836153d3565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143e76015836153d3565b91507f457870697265642053696e6e6572735469636b657400000000000000000000006000830152602082019050919050565b60006144276025836153d3565b91507f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008301527f6f776e65720000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061448d601c836153d3565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006144cd6010836153d3565b91507f616c72656164792072657665616c6564000000000000000000000000000000006000830152602082019050919050565b600061450d6040836153d3565b91507f636f756e74206d757374206265206c6172676572207468616e203020616e642060008301527f736d616c6c6572207468616e206d6178696d756d206d696e7420616d6f756e746020830152604082019050919050565b60006145736019836153d3565b91507f5075626c69632053616c65206973204e6f7420416374697665000000000000006000830152602082019050919050565b60006145b3601c836153d3565b91507f6d6178204e4654207065722061646472657373206578636565646564000000006000830152602082019050919050565b60006145f36024836153d3565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146596019836153d3565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614699601c836153d3565b91507f6d617873696e6e6572732069732046726f7a656e20466f7265766572000000006000830152602082019050919050565b60006146d96022836153d3565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061473f602c836153d3565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006147a56038836153d3565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061480b602a836153d3565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006148716029836153d3565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006148d7601f836153d3565b91507f496e76616c69642053696e6e6572735469636b6574207369676e6174757265006000830152602082019050919050565b60006149176022836153d3565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061497d6020836153d3565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006149bd602c836153d3565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a236020836153d3565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614a63602f836153d3565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614ac96021836153d3565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b2f6031836153d3565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614b956028836153d3565b91507f6d6178206973206d757374206265206c6172676572207468616e20637572726560008301527f6e742076616c75650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614bfb602c836153d3565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614c61600e836153d3565b91507f416c72656164792046726f7a656e0000000000000000000000000000000000006000830152602082019050919050565b614c9d81615578565b82525050565b614cac81615582565b82525050565b6000614cbe82856140f7565b9150614cca82846140f7565b91508190509392505050565b6000614ce182614268565b9150614ced828461406e565b60208201915081905092915050565b6000602082019050614d116000830184614041565b92915050565b6000608082019050614d2c6000830187614041565b614d396020830186614041565b614d466040830185614c94565b8181036060830152614d588184614085565b905095945050505050565b6000604082019050614d786000830185614041565b614d856020830184614c94565b9392505050565b6000606082019050614da16000830186614041565b614dae6020830185614c94565b614dbb6040830184614c94565b949350505050565b6000602082019050614dd86000830184614050565b92915050565b6000608082019050614df3600083018761405f565b614e006020830186614ca3565b614e0d604083018561405f565b614e1a606083018461405f565b95945050505050565b60006020820190508181036000830152614e3d81846140be565b905092915050565b60006020820190508181036000830152614e5e81614128565b9050919050565b60006020820190508181036000830152614e7e81614168565b9050919050565b60006020820190508181036000830152614e9e816141a8565b9050919050565b60006020820190508181036000830152614ebe816141e8565b9050919050565b60006020820190508181036000830152614ede81614228565b9050919050565b60006020820190508181036000830152614efe816142a8565b9050919050565b60006020820190508181036000830152614f1e8161430e565b9050919050565b60006020820190508181036000830152614f3e81614374565b9050919050565b60006020820190508181036000830152614f5e816143da565b9050919050565b60006020820190508181036000830152614f7e8161441a565b9050919050565b60006020820190508181036000830152614f9e81614480565b9050919050565b60006020820190508181036000830152614fbe816144c0565b9050919050565b60006020820190508181036000830152614fde81614500565b9050919050565b60006020820190508181036000830152614ffe81614566565b9050919050565b6000602082019050818103600083015261501e816145a6565b9050919050565b6000602082019050818103600083015261503e816145e6565b9050919050565b6000602082019050818103600083015261505e8161464c565b9050919050565b6000602082019050818103600083015261507e8161468c565b9050919050565b6000602082019050818103600083015261509e816146cc565b9050919050565b600060208201905081810360008301526150be81614732565b9050919050565b600060208201905081810360008301526150de81614798565b9050919050565b600060208201905081810360008301526150fe816147fe565b9050919050565b6000602082019050818103600083015261511e81614864565b9050919050565b6000602082019050818103600083015261513e816148ca565b9050919050565b6000602082019050818103600083015261515e8161490a565b9050919050565b6000602082019050818103600083015261517e81614970565b9050919050565b6000602082019050818103600083015261519e816149b0565b9050919050565b600060208201905081810360008301526151be81614a16565b9050919050565b600060208201905081810360008301526151de81614a56565b9050919050565b600060208201905081810360008301526151fe81614abc565b9050919050565b6000602082019050818103600083015261521e81614b22565b9050919050565b6000602082019050818103600083015261523e81614b88565b9050919050565b6000602082019050818103600083015261525e81614bee565b9050919050565b6000602082019050818103600083015261527e81614c54565b9050919050565b600060208201905061529a6000830184614c94565b92915050565b600080833560016020038436030381126152b957600080fd5b80840192508235915067ffffffffffffffff8211156152d757600080fd5b6020830192506001820236038313156152ef57600080fd5b509250929050565b60008235600160600383360303811261530f57600080fd5b80830191505092915050565b6000604051905081810181811067ffffffffffffffff8211171561534257615341615714565b5b8060405250919050565b600067ffffffffffffffff82111561536757615366615714565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561539757615396615714565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153fa82615578565b915061540583615578565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561543a57615439615687565b5b828201905092915050565b600061545082615578565b915061545b83615578565b92508261546b5761546a6156b6565b5b828204905092915050565b600061548182615578565b915061548c83615578565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154c5576154c4615687565b5b828202905092915050565b60006154db82615578565b91506154e683615578565b9250828210156154f9576154f8615687565b5b828203905092915050565b600061550f82615558565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156155bc5780820151818401526020810190506155a1565b838111156155cb576000848401525b50505050565b600060028204905060018216806155e957607f821691505b602082108114156155fd576155fc6156e5565b5b50919050565b600061560e82615578565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561564157615640615687565b5b600182019050919050565b6000819050919050565b600061566182615578565b915061566c83615578565b92508261567c5761567b6156b6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61575d81615504565b811461576857600080fd5b50565b61577481615516565b811461577f57600080fd5b50565b61578b8161552c565b811461579657600080fd5b50565b6157a281615578565b81146157ad57600080fd5b5056fea26469706673582212200564f5e80363677e9c3e387e6ab01143aa28a1dfa45f386cccb051f070c1a31f64736f6c6343000800003368747470733a2f2f73696e6e6572736e66742e636f6d2f6170692f73696e6e65722f

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80635aca1bb61161012e578063a33ab397116100ab578063c87b56dd1161006f578063c87b56dd14610832578063e126ac071461086f578063e985e9c51461089a578063f2fde38b146108d7578063f6039c8e146109005761023b565b8063a33ab39714610780578063a475b5dd146107ab578063b51e9148146107c2578063b88d4fde146107de578063c08a04f6146108075761023b565b80638da5cb5b116100f25780638da5cb5b146106ad57806391b7f5ed146106d857806395d89b4114610701578063a035b1fe1461072c578063a22cb465146107575761023b565b80635aca1bb6146105d75780636352211e1461060057806370a082311461063d578063715018a61461067a5780638471b1ed146106915761023b565b80632a55205a116101bc57806347b0fe221161018057806347b0fe22146105065780634ca1071c1461051d5780634f6ccce714610546578063518302271461058357806355f804b3146105ae5761023b565b80632a55205a146104205780632f745c591461045e57806333bc1c5c1461049b5780633ccfd60b146104c657806342842e0e146104dd5761023b565b806318a068a61161020357806318a068a61461033957806318cae269146103645780631fab1c4e146103a1578063239c70ae146103cc57806323b872dd146103f75761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806318160ddd1461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613f49565b610929565b6040516102749190614dc3565b60405180910390f35b34801561028957600080fd5b506102926109a3565b60405161029f9190614e23565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613fdc565b610a35565b6040516102dc9190614cfc565b60405180910390f35b3480156102f157600080fd5b5061030c60048036038101906103079190613e9f565b610aba565b005b34801561031a57600080fd5b50610323610bd2565b6040516103309190615285565b60405180910390f35b34801561034557600080fd5b5061034e610bdf565b60405161035b9190615285565b60405180910390f35b34801561037057600080fd5b5061038b60048036038101906103869190613d34565b610be5565b6040516103989190615285565b60405180910390f35b3480156103ad57600080fd5b506103b6610bfd565b6040516103c39190614dc3565b60405180910390f35b3480156103d857600080fd5b506103e1610c10565b6040516103ee9190615285565b60405180910390f35b34801561040357600080fd5b5061041e60048036038101906104199190613d99565b610c16565b005b34801561042c57600080fd5b5061044760048036038101906104429190614005565b610c76565b604051610455929190614d63565b60405180910390f35b34801561046a57600080fd5b5061048560048036038101906104809190613e9f565b610cb4565b6040516104929190615285565b60405180910390f35b3480156104a757600080fd5b506104b0610d59565b6040516104bd9190614dc3565b60405180910390f35b3480156104d257600080fd5b506104db610d6c565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190613d99565b610e3e565b005b34801561051257600080fd5b5061051b610e5e565b005b34801561052957600080fd5b50610544600480360381019061053f9190613d34565b610f47565b005b34801561055257600080fd5b5061056d60048036038101906105689190613fdc565b611007565b60405161057a9190615285565b60405180910390f35b34801561058f57600080fd5b5061059861109e565b6040516105a59190614dc3565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d09190613f9b565b6110b1565b005b3480156105e357600080fd5b506105fe60048036038101906105f99190613f20565b611147565b005b34801561060c57600080fd5b5061062760048036038101906106229190613fdc565b6111e0565b6040516106349190614cfc565b60405180910390f35b34801561064957600080fd5b50610664600480360381019061065f9190613d34565b611292565b6040516106719190615285565b60405180910390f35b34801561068657600080fd5b5061068f61134a565b005b6106ab60048036038101906106a69190613edb565b6113d2565b005b3480156106b957600080fd5b506106c2611516565b6040516106cf9190614cfc565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613fdc565b611540565b005b34801561070d57600080fd5b506107166115c6565b6040516107239190614e23565b60405180910390f35b34801561073857600080fd5b50610741611658565b60405161074e9190615285565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190613e63565b61165e565b005b34801561078c57600080fd5b50610795611674565b6040516107a29190615285565b60405180910390f35b3480156107b757600080fd5b506107c061167a565b005b6107dc60048036038101906107d79190613fdc565b61178f565b005b3480156107ea57600080fd5b5061080560048036038101906108009190613de8565b611970565b005b34801561081357600080fd5b5061081c6119d2565b6040516108299190615285565b60405180910390f35b34801561083e57600080fd5b5061085960048036038101906108549190613fdc565b6119d8565b6040516108669190614e23565b60405180910390f35b34801561087b57600080fd5b50610884611a7f565b6040516108919190615285565b60405180910390f35b3480156108a657600080fd5b506108c160048036038101906108bc9190613d5d565b611a85565b6040516108ce9190614dc3565b60405180910390f35b3480156108e357600080fd5b506108fe60048036038101906108f99190613d34565b611b19565b005b34801561090c57600080fd5b5061092760048036038101906109229190613fdc565b611c11565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099c575061099b82611d2b565b5b9050919050565b6060600080546109b2906155d1565b80601f01602080910402602001604051908101604052809291908181526020018280546109de906155d1565b8015610a2b5780601f10610a0057610100808354040283529160200191610a2b565b820191906000526020600020905b815481529060010190602001808311610a0e57829003601f168201915b5050505050905090565b6000610a4082611da5565b610a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7690615185565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac5826111e0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2d906151e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b55611e11565b73ffffffffffffffffffffffffffffffffffffffff161480610b845750610b8381610b7e611e11565b611a85565b5b610bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bba906150c5565b60405180910390fd5b610bcd8383611e19565b505050565b6000600880549050905090565b60105481565b60146020528060005260406000206000915090505481565b600e60009054906101000a900460ff1681565b60115481565b610c27610c21611e11565b82611ed2565b610c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5d90615205565b60405180910390fd5b610c71838383611fb0565b505050565b600080610c81611516565b9150610cab6103e8610c9d604b8661221790919063ffffffff16565b61222d90919063ffffffff16565b90509250929050565b6000610cbf83611292565b8210610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790614ee5565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e60019054906101000a900460ff1681565b610d74611e11565b73ffffffffffffffffffffffffffffffffffffffff16610d92611516565b73ffffffffffffffffffffffffffffffffffffffff1614610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf906151a5565b60405180910390fd5b6000479050610df5611516565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e3a573d6000803e3d6000fd5b5050565b610e5983838360405180602001604052806000815250611970565b505050565b610e66611e11565b73ffffffffffffffffffffffffffffffffffffffff16610e84611516565b73ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed1906151a5565b60405180910390fd5b600e60009054906101000a900460ff1615610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2190615265565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b610f4f611e11565b73ffffffffffffffffffffffffffffffffffffffff16610f6d611516565b73ffffffffffffffffffffffffffffffffffffffff1614610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba906151a5565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611011610bd2565b8210611052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104990615245565b60405180910390fd5b6008828154811061108c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600e60029054906101000a900460ff1681565b6110b9611e11565b73ffffffffffffffffffffffffffffffffffffffff166110d7611516565b73ffffffffffffffffffffffffffffffffffffffff161461112d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611124906151a5565b60405180910390fd5b8060139080519060200190611143929190613b0e565b5050565b61114f611e11565b73ffffffffffffffffffffffffffffffffffffffff1661116d611516565b73ffffffffffffffffffffffffffffffffffffffff16146111c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ba906151a5565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128090615105565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa906150e5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611352611e11565b73ffffffffffffffffffffffffffffffffffffffff16611370611516565b73ffffffffffffffffffffffffffffffffffffffff16146113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd906151a5565b60405180910390fd5b6113d06000612243565b565b666a94d74f4300003410156113e657600080fd5b600b54611406838390506113f8610bd2565b61230990919063ffffffff16565b1115611447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143e90614ea5565b60405180910390fd5b6001828290501015801561146057506011548282905011155b61149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690614fc5565b60405180910390fd5b60005b82829050811015611511576115008383838181106114e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020028101906114fb91906152f7565b61231f565b8061150a90615603565b90506114a2565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611548611e11565b73ffffffffffffffffffffffffffffffffffffffff16611566611516565b73ffffffffffffffffffffffffffffffffffffffff16146115bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b3906151a5565b60405180910390fd5b80600f8190555050565b6060600180546115d5906155d1565b80601f0160208091040260200160405190810160405280929190818152602001828054611601906155d1565b801561164e5780601f106116235761010080835404028352916020019161164e565b820191906000526020600020905b81548152906001019060200180831161163157829003601f168201915b5050505050905090565b600f5481565b611670611669611e11565b8383612653565b5050565b600b5481565b611682611e11565b73ffffffffffffffffffffffffffffffffffffffff166116a0611516565b73ffffffffffffffffffffffffffffffffffffffff16146116f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ed906151a5565b60405180910390fd5b600e60029054906101000a900460ff1615611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614fa5565b60405180910390fd5b6001600e60026101000a81548160ff0219169083151502179055507f66b9f0d2f5af4125e8098bf5f1efc517ed46a70d8638734d186af310e2f8bc7560405160405180910390a1565b600e60019054906101000a900460ff166117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d590614fe5565b60405180910390fd5b6117f5600c54600b546127c090919063ffffffff16565b61182382611815600d54611807610bd2565b6127c090919063ffffffff16565b61230990919063ffffffff16565b1115611864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185b90614ea5565b60405180910390fd5b61186c611516565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146118f6576118b381600f5461221790919063ffffffff16565b3410156118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec90614e85565b60405180910390fd5b5b6000611901826127d6565b905060005b8281101561196b576119583383838151811061194b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161290e565b808061196390615603565b915050611906565b505050565b61198161197b611e11565b83611ed2565b6119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b790615205565b60405180910390fd5b6119cc8484848461292c565b50505050565b600c5481565b60606119e382611da5565b611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a19906151c5565b60405180910390fd5b6000611a2c612988565b90506000815111611a4c5760405180602001604052806000815250611a77565b80611a5684612a1a565b604051602001611a67929190614cb2565b6040516020818303038152906040525b915050919050565b600d5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b21611e11565b73ffffffffffffffffffffffffffffffffffffffff16611b3f611516565b73ffffffffffffffffffffffffffffffffffffffff1614611b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8c906151a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfc90614f25565b60405180910390fd5b611c0e81612243565b50565b611c19611e11565b73ffffffffffffffffffffffffffffffffffffffff16611c37611516565b73ffffffffffffffffffffffffffffffffffffffff1614611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c84906151a5565b60405180910390fd5b600e60009054906101000a900460ff1615611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490615065565b60405180910390fd5b600b548111611d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1890615225565b60405180910390fd5b80600b8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d9e5750611d9d82612bc7565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e8c836111e0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611edd82611da5565b611f1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f13906150a5565b60405180910390fd5b6000611f27836111e0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9657508373ffffffffffffffffffffffffffffffffffffffff16611f7e84610a35565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fa75750611fa68185611a85565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fd0826111e0565b73ffffffffffffffffffffffffffffffffffffffff1614612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d90614f65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208d90615025565b60405180910390fd5b6120a1838383612ca9565b6120ac600082611e19565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120fc91906154d0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215391906153ef565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612212838383612dbd565b505050565b600081836122259190615476565b905092915050565b6000818361223b9190615445565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361231791906153ef565b905092915050565b6000338260000135836020013560405160200161233e93929190614d8c565b604051602081830303815290604052805190602001209050600061236182612dc2565b90506123bf8184806040019061237791906152a0565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612df2565b73ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461244e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244590615125565b60405180910390fd5b8260200135421115612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c90614f45565b60405180910390fd5b60008360000135101580156124af5750600b548360000135105b6124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614e65565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060115460018261254291906153ef565b1115612583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257a90615005565b60405180910390fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906125d390615603565b91905055601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061262833856000013561290e565b600c548460000135101561264d57600d6000815461264590615603565b919050819055505b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b990615045565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127b39190614dc3565b60405180910390a3505050565b600081836127ce91906154d0565b905092915050565b606060008267ffffffffffffffff81111561281a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156128485781602001602082028036833780820191505090505b5090506000806000600190505b600b548110156128e9578261286990615603565b925061287481611da5565b6128d857808483815181106128b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050816128c890615603565b9150858214156128d7576128e9565b5b806128e290615603565b9050612855565b5081601060008282546128fc91906153ef565b92505081905550829350505050919050565b612928828260405180602001604052806000815250612e19565b5050565b612937848484611fb0565b61294384848484612e74565b612982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297990614f05565b60405180910390fd5b50505050565b606060138054612997906155d1565b80601f01602080910402602001604051908101604052809291908181526020018280546129c3906155d1565b8015612a105780601f106129e557610100808354040283529160200191612a10565b820191906000526020600020905b8154815290600101906020018083116129f357829003601f168201915b5050505050905090565b60606000821415612a62576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bc2565b600082905060005b60008214612a94578080612a7d90615603565b915050600a82612a8d9190615445565b9150612a6a565b60008167ffffffffffffffff811115612ad6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b085781602001600182028036833780820191505090505b5090505b60008514612bbb57600182612b2191906154d0565b9150600a85612b309190615656565b6030612b3c91906153ef565b60f81b818381518110612b78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bb49190615445565b9450612b0c565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c9257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612ca25750612ca18261300b565b5b9050919050565b612cb4838383613075565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cf757612cf28161307a565b612d36565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d3557612d3483826130c3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d7957612d7481613230565b612db8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612db757612db68282613373565b5b5b505050565b505050565b600081604051602001612dd59190614cd6565b604051602081830303815290604052805190602001209050919050565b6000806000612e0185856133f2565b91509150612e0e81613475565b819250505092915050565b612e2383836137c6565b612e306000848484612e74565b612e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6690614f05565b60405180910390fd5b505050565b6000612e958473ffffffffffffffffffffffffffffffffffffffff166139a0565b15612ffe578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ebe611e11565b8786866040518563ffffffff1660e01b8152600401612ee09493929190614d17565b602060405180830381600087803b158015612efa57600080fd5b505af1925050508015612f2b57506040513d601f19601f82011682018060405250810190612f289190613f72565b60015b612fae573d8060008114612f5b576040519150601f19603f3d011682016040523d82523d6000602084013e612f60565b606091505b50600081511415612fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9d90614f05565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613003565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130d084611292565b6130da91906154d0565b90506000600760008481526020019081526020016000205490508181146131bf576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061324491906154d0565b905060006009600084815260200190815260200160002054905060006008838154811061329a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106132e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613357577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061337e83611292565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000806041835114156134345760008060006020860151925060408601519150606086015160001a9050613428878285856139b3565b9450945050505061346e565b60408351141561346557600080602085015191506040850151905061345a868383613ac0565b93509350505061346e565b60006002915091505b9250929050565b600060048111156134af577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156134e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156134f3576137c3565b6001600481111561352d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613566577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359e90614e45565b60405180910390fd5b600260048111156135e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561361a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561365b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365290614ec5565b60405180910390fd5b60036004811115613695577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156136ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561370f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370690615085565b60405180910390fd5b600480811115613748577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613781577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156137c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b990615145565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613836576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161382d90615165565b60405180910390fd5b61383f81611da5565b1561387f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387690614f85565b60405180910390fd5b61388b60008383612ca9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138db91906153ef565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461399c60008383612dbd565b5050565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156139ee576000600391509150613ab7565b601b8560ff1614158015613a065750601c8560ff1614155b15613a18576000600491509150613ab7565b600060018787878760405160008152602001604052604051613a3d9493929190614dde565b6020604051602081039080840390855afa158015613a5f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613aae57600060019250925050613ab7565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613b00878288856139b3565b935093505050935093915050565b828054613b1a906155d1565b90600052602060002090601f016020900481019282613b3c5760008555613b83565b82601f10613b5557805160ff1916838001178555613b83565b82800160010185558215613b83579182015b82811115613b82578251825591602001919060010190613b67565b5b509050613b909190613b94565b5090565b5b80821115613bad576000816000905550600101613b95565b5090565b6000613bc4613bbf8461534c565b61531b565b905082815260208101848484011115613bdc57600080fd5b613be784828561558f565b509392505050565b6000613c02613bfd8461537c565b61531b565b905082815260208101848484011115613c1a57600080fd5b613c2584828561558f565b509392505050565b600081359050613c3c81615754565b92915050565b60008083601f840112613c5457600080fd5b8235905067ffffffffffffffff811115613c6d57600080fd5b602083019150836020820283011115613c8557600080fd5b9250929050565b600081359050613c9b8161576b565b92915050565b600081359050613cb081615782565b92915050565b600081519050613cc581615782565b92915050565b600082601f830112613cdc57600080fd5b8135613cec848260208601613bb1565b91505092915050565b600082601f830112613d0657600080fd5b8135613d16848260208601613bef565b91505092915050565b600081359050613d2e81615799565b92915050565b600060208284031215613d4657600080fd5b6000613d5484828501613c2d565b91505092915050565b60008060408385031215613d7057600080fd5b6000613d7e85828601613c2d565b9250506020613d8f85828601613c2d565b9150509250929050565b600080600060608486031215613dae57600080fd5b6000613dbc86828701613c2d565b9350506020613dcd86828701613c2d565b9250506040613dde86828701613d1f565b9150509250925092565b60008060008060808587031215613dfe57600080fd5b6000613e0c87828801613c2d565b9450506020613e1d87828801613c2d565b9350506040613e2e87828801613d1f565b925050606085013567ffffffffffffffff811115613e4b57600080fd5b613e5787828801613ccb565b91505092959194509250565b60008060408385031215613e7657600080fd5b6000613e8485828601613c2d565b9250506020613e9585828601613c8c565b9150509250929050565b60008060408385031215613eb257600080fd5b6000613ec085828601613c2d565b9250506020613ed185828601613d1f565b9150509250929050565b60008060208385031215613eee57600080fd5b600083013567ffffffffffffffff811115613f0857600080fd5b613f1485828601613c42565b92509250509250929050565b600060208284031215613f3257600080fd5b6000613f4084828501613c8c565b91505092915050565b600060208284031215613f5b57600080fd5b6000613f6984828501613ca1565b91505092915050565b600060208284031215613f8457600080fd5b6000613f9284828501613cb6565b91505092915050565b600060208284031215613fad57600080fd5b600082013567ffffffffffffffff811115613fc757600080fd5b613fd384828501613cf5565b91505092915050565b600060208284031215613fee57600080fd5b6000613ffc84828501613d1f565b91505092915050565b6000806040838503121561401857600080fd5b600061402685828601613d1f565b925050602061403785828601613d1f565b9150509250929050565b61404a81615504565b82525050565b61405981615516565b82525050565b61406881615522565b82525050565b61407f61407a82615522565b61564c565b82525050565b6000614090826153ac565b61409a81856153c2565b93506140aa81856020860161559e565b6140b381615743565b840191505092915050565b60006140c9826153b7565b6140d381856153d3565b93506140e381856020860161559e565b6140ec81615743565b840191505092915050565b6000614102826153b7565b61410c81856153e4565b935061411c81856020860161559e565b80840191505092915050565b60006141356018836153d3565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000614175601d836153d3565b91507f496e76616c69642053696e6e6572735469636b657420746f6b656e49640000006000830152602082019050919050565b60006141b56010836153d3565b91507f4e6f7420456e6f756768204574686572000000000000000000000000000000006000830152602082019050919050565b60006141f56012836153d3565b91507f4e6f7420456e6f7567682073696e6e65727300000000000000000000000000006000830152602082019050919050565b6000614235601f836153d3565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b6000614275601c836153e4565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006142b5602b836153d3565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061431b6032836153d3565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006143816026836153d3565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143e76015836153d3565b91507f457870697265642053696e6e6572735469636b657400000000000000000000006000830152602082019050919050565b60006144276025836153d3565b91507f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008301527f6f776e65720000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061448d601c836153d3565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006144cd6010836153d3565b91507f616c72656164792072657665616c6564000000000000000000000000000000006000830152602082019050919050565b600061450d6040836153d3565b91507f636f756e74206d757374206265206c6172676572207468616e203020616e642060008301527f736d616c6c6572207468616e206d6178696d756d206d696e7420616d6f756e746020830152604082019050919050565b60006145736019836153d3565b91507f5075626c69632053616c65206973204e6f7420416374697665000000000000006000830152602082019050919050565b60006145b3601c836153d3565b91507f6d6178204e4654207065722061646472657373206578636565646564000000006000830152602082019050919050565b60006145f36024836153d3565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146596019836153d3565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614699601c836153d3565b91507f6d617873696e6e6572732069732046726f7a656e20466f7265766572000000006000830152602082019050919050565b60006146d96022836153d3565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061473f602c836153d3565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006147a56038836153d3565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b600061480b602a836153d3565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006148716029836153d3565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006148d7601f836153d3565b91507f496e76616c69642053696e6e6572735469636b6574207369676e6174757265006000830152602082019050919050565b60006149176022836153d3565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061497d6020836153d3565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006149bd602c836153d3565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a236020836153d3565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614a63602f836153d3565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614ac96021836153d3565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b2f6031836153d3565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614b956028836153d3565b91507f6d6178206973206d757374206265206c6172676572207468616e20637572726560008301527f6e742076616c75650000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614bfb602c836153d3565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614c61600e836153d3565b91507f416c72656164792046726f7a656e0000000000000000000000000000000000006000830152602082019050919050565b614c9d81615578565b82525050565b614cac81615582565b82525050565b6000614cbe82856140f7565b9150614cca82846140f7565b91508190509392505050565b6000614ce182614268565b9150614ced828461406e565b60208201915081905092915050565b6000602082019050614d116000830184614041565b92915050565b6000608082019050614d2c6000830187614041565b614d396020830186614041565b614d466040830185614c94565b8181036060830152614d588184614085565b905095945050505050565b6000604082019050614d786000830185614041565b614d856020830184614c94565b9392505050565b6000606082019050614da16000830186614041565b614dae6020830185614c94565b614dbb6040830184614c94565b949350505050565b6000602082019050614dd86000830184614050565b92915050565b6000608082019050614df3600083018761405f565b614e006020830186614ca3565b614e0d604083018561405f565b614e1a606083018461405f565b95945050505050565b60006020820190508181036000830152614e3d81846140be565b905092915050565b60006020820190508181036000830152614e5e81614128565b9050919050565b60006020820190508181036000830152614e7e81614168565b9050919050565b60006020820190508181036000830152614e9e816141a8565b9050919050565b60006020820190508181036000830152614ebe816141e8565b9050919050565b60006020820190508181036000830152614ede81614228565b9050919050565b60006020820190508181036000830152614efe816142a8565b9050919050565b60006020820190508181036000830152614f1e8161430e565b9050919050565b60006020820190508181036000830152614f3e81614374565b9050919050565b60006020820190508181036000830152614f5e816143da565b9050919050565b60006020820190508181036000830152614f7e8161441a565b9050919050565b60006020820190508181036000830152614f9e81614480565b9050919050565b60006020820190508181036000830152614fbe816144c0565b9050919050565b60006020820190508181036000830152614fde81614500565b9050919050565b60006020820190508181036000830152614ffe81614566565b9050919050565b6000602082019050818103600083015261501e816145a6565b9050919050565b6000602082019050818103600083015261503e816145e6565b9050919050565b6000602082019050818103600083015261505e8161464c565b9050919050565b6000602082019050818103600083015261507e8161468c565b9050919050565b6000602082019050818103600083015261509e816146cc565b9050919050565b600060208201905081810360008301526150be81614732565b9050919050565b600060208201905081810360008301526150de81614798565b9050919050565b600060208201905081810360008301526150fe816147fe565b9050919050565b6000602082019050818103600083015261511e81614864565b9050919050565b6000602082019050818103600083015261513e816148ca565b9050919050565b6000602082019050818103600083015261515e8161490a565b9050919050565b6000602082019050818103600083015261517e81614970565b9050919050565b6000602082019050818103600083015261519e816149b0565b9050919050565b600060208201905081810360008301526151be81614a16565b9050919050565b600060208201905081810360008301526151de81614a56565b9050919050565b600060208201905081810360008301526151fe81614abc565b9050919050565b6000602082019050818103600083015261521e81614b22565b9050919050565b6000602082019050818103600083015261523e81614b88565b9050919050565b6000602082019050818103600083015261525e81614bee565b9050919050565b6000602082019050818103600083015261527e81614c54565b9050919050565b600060208201905061529a6000830184614c94565b92915050565b600080833560016020038436030381126152b957600080fd5b80840192508235915067ffffffffffffffff8211156152d757600080fd5b6020830192506001820236038313156152ef57600080fd5b509250929050565b60008235600160600383360303811261530f57600080fd5b80830191505092915050565b6000604051905081810181811067ffffffffffffffff8211171561534257615341615714565b5b8060405250919050565b600067ffffffffffffffff82111561536757615366615714565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561539757615396615714565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153fa82615578565b915061540583615578565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561543a57615439615687565b5b828201905092915050565b600061545082615578565b915061545b83615578565b92508261546b5761546a6156b6565b5b828204905092915050565b600061548182615578565b915061548c83615578565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156154c5576154c4615687565b5b828202905092915050565b60006154db82615578565b91506154e683615578565b9250828210156154f9576154f8615687565b5b828203905092915050565b600061550f82615558565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156155bc5780820151818401526020810190506155a1565b838111156155cb576000848401525b50505050565b600060028204905060018216806155e957607f821691505b602082108114156155fd576155fc6156e5565b5b50919050565b600061560e82615578565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561564157615640615687565b5b600182019050919050565b6000819050919050565b600061566182615578565b915061566c83615578565b92508261567c5761567b6156b6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61575d81615504565b811461576857600080fd5b50565b61577481615516565b811461577f57600080fd5b50565b61578b8161552c565b811461579657600080fd5b50565b6157a281615578565b81146157ad57600080fd5b5056fea26469706673582212200564f5e80363677e9c3e387e6ab01143aa28a1dfa45f386cccb051f070c1a31f64736f6c63430008000033

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.