ETH Price: $3,409.29 (+2.32%)

Token

Mutant GodHatesNFTees (MGHN)
 

Overview

Max Total Supply

3,642 MGHN

Holders

973

Market

Volume (24H)

0.0094 ETH

Min Price (24H)

$32.05 @ 0.009400 ETH

Max Price (24H)

$32.05 @ 0.009400 ETH
Balance
3 MGHN
0xc0fe03f2d9ae076cac4652cb4b4190c9e0a979b3
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

MUTATE HERE: https://mutate.godhatesnftees.com The Mutant God Hates NFTees is a collection of 4696 assets that can only be obtained by burning [Ape Hater Club](https://opensea.io/collection/apehaterclub)+ [Rotten Banano](https://opensea.io/collection/rottenbananos) or [SrBanano](https://opensea.io/collection/srbananos). Formed by several community traits, this collection has as its main objective the reduction of the circulating supply of the Ape Hater Club and collect a degen piece, created by degens.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MutantsGodHatesNFTees

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : MutantGodHatesNFTees.sol
/*

 $$$$$$\   $$$$$$\  $$$$$$$\        $$\   $$\  $$$$$$\ $$$$$$$$\ $$$$$$$$\  $$$$$$\        $$\   $$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$$\  $$$$$$\  
$$  __$$\ $$  __$$\ $$  __$$\       $$ |  $$ |$$  __$$\\__$$  __|$$  _____|$$  __$$\       $$$\  $$ |$$  _____|\__$$  __|$$  _____|$$  _____|$$  __$$\ 
$$ /  \__|$$ /  $$ |$$ |  $$ |      $$ |  $$ |$$ /  $$ |  $$ |   $$ |      $$ /  \__|      $$$$\ $$ |$$ |         $$ |   $$ |      $$ |      $$ /  \__|
$$ |$$$$\ $$ |  $$ |$$ |  $$ |      $$$$$$$$ |$$$$$$$$ |  $$ |   $$$$$\    \$$$$$$\        $$ $$\$$ |$$$$$\       $$ |   $$$$$\    $$$$$\    \$$$$$$\  
$$ |\_$$ |$$ |  $$ |$$ |  $$ |      $$  __$$ |$$  __$$ |  $$ |   $$  __|    \____$$\       $$ \$$$$ |$$  __|      $$ |   $$  __|   $$  __|    \____$$\ 
$$ |  $$ |$$ |  $$ |$$ |  $$ |      $$ |  $$ |$$ |  $$ |  $$ |   $$ |      $$\   $$ |      $$ |\$$$ |$$ |         $$ |   $$ |      $$ |      $$\   $$ |
\$$$$$$  | $$$$$$  |$$$$$$$  |      $$ |  $$ |$$ |  $$ |  $$ |   $$$$$$$$\ \$$$$$$  |      $$ | \$$ |$$ |         $$ |   $$$$$$$$\ $$$$$$$$\ \$$$$$$  |
 \______/  \______/ \_______/       \__|  \__|\__|  \__|  \__|   \________| \______/       \__|  \__|\__|         \__|   \________|\________| \______/ 
                                                                                                                                                       
                                                                                                                                                                                                                                                                                              
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "Bnno.sol";
import "RtBnno.sol";

contract MutantsGodHatesNFTees is ERC721Enumerable, ERC2981, ReentrancyGuard, Ownable {
    // IDs 1 - 200: M1
    // IDs 201 - 4696: M2
    using Strings for uint256;
    // Public Constants
    uint256 public constant MAX_SUPPLY = 4696;
    uint256 public constant M1_MAX_SUPPLY = 200;
    uint256 public constant M2_MAX_SUPPLY = 4496;

    string public uriPrefix = "";
    string public uriSuffix = "";

    // Mappings
    Bnno private immutable bnno;
    RtBnno private immutable rtbnno;
    IERC721 private ahc;
    IERC721 private ghnft;

    address public BURNADDRESS = 0x000000000000000000000000000000000000dEaD;

    // Variables
    string private baseURI;
    uint256 public M1_minted = 0;
    uint256 public M2_minted = 0;
    uint256 public M2_index = 200;

    /// @dev Required by EIP-2981: NFT Royalty Standard
    // 1000 / 10000 -> %10 royalty fee
    uint96 public royaltyDividend = 1000;

    /// Royalties Wallet
    address payable RoyaltiesWallet =
        payable(0x8C020fe9F8DF1D2b4E1645AF03B35474b3C4d09f);

    // Sale controllers
    bool public MutationActive = false;

    constructor(string memory name, string memory symbol) ERC721(name, symbol) {
        bnno = Bnno(0x50BEfFd8A0808314d3cc81B3cbF7f1AFA3A6B56c);
        rtbnno = RtBnno(0x0912DAD1db4643368B029166AF217B8A9818dB15);
        ahc = IERC721(0x9370045CE37F381500ac7D6802513bb89871e076);
        ghnft = IERC721(0xE6d48bF4ee912235398b96E16Db6F310c21e82CB);
        _setDefaultRoyalty(RoyaltiesWallet, royaltyDividend);
    }


    function MutateMint(uint256 MutationType, uint256 Amount, uint256[] memory ApeTokenIDs
    ) external
    nonReentrant {
        require(MutationActive, "Free Mutation is not active");
        require(ghnft.balanceOf(msg.sender) > 0, "Must own at least 1 GodHatesNFTees to Mutate");
        require(
            ahc.balanceOf(msg.sender) >= Amount,
            "Must own at least the Ape Amount to mutate."
        );
        if (MutationType == 1) {
            require(
                bnno.balanceOf(msg.sender, 0) > 0 &&
                    bnno.balanceOf(msg.sender, 0) >= Amount,
                "Must own at least 1 Sr Banano to mutate, or Sr Bananos you want to Mutate."
            );
            require(M1_minted + Amount <= M1_MAX_SUPPLY, "Exceed max supply");

            for (uint256 i = 0; i < Amount; i++) {
                require(
                    isOwnerOfApe(msg.sender, ApeTokenIDs[i]),
                    "Must own the Ape that you want to mutate."
                );
                M1_minted++;
                uint256 M1_index = M1_minted;
                ahc.safeTransferFrom(msg.sender, BURNADDRESS, ApeTokenIDs[i]);
                bnno.burnBanana(msg.sender);
                _safeMint(msg.sender, M1_index);
            }
        } else if (MutationType == 2) {
            require(
                rtbnno.balanceOf(msg.sender, 0) > 0 &&
                    rtbnno.balanceOf(msg.sender, 0) >= Amount,
                "Must own at least 1 Rotten Banano to mutate, or Rotten Bananos you want to Mutate."
            );
            require(M2_minted + Amount <= M2_MAX_SUPPLY, "Exceed max supply");
            for (uint256 i = 0; i < Amount; i++) {
                require(
                    isOwnerOfApe(msg.sender, ApeTokenIDs[i]),
                    "Must own the Ape that you want to mutate."
                );
                M2_minted++;
                M2_index++;
                ahc.safeTransferFrom(msg.sender, BURNADDRESS, ApeTokenIDs[i]);
                rtbnno.burnBanana(msg.sender);
                _safeMint(msg.sender, M2_index);
            }
        }
    }

    function internalMintM1andM2(uint256 MutationType, uint256 Amount)
        external
        onlyOwner
    {
        if (MutationType == 1) {
            require(M1_minted + Amount <= M1_MAX_SUPPLY, "Exceed max supply");
            for (uint256 i = 0; i < Amount; i++) {
                M1_minted++;
                uint256 M1_index = M1_minted;
                _safeMint(msg.sender, M1_index);
            }
        } else if (MutationType == 2) {
            require(M2_minted + Amount <= M2_MAX_SUPPLY, "Exceed max supply");
            for (uint256 i = 0; i < Amount; i++) {
                M2_minted++;
                M2_index++;
                _safeMint(msg.sender, M2_index);
            }
        }
    }

    function isOwnerOfApe(address account, uint256 apeId)
        public
        view
        returns (bool)
    {
        bool isOwner = false;
        address ownerApe = ahc.ownerOf(apeId);
        if (ownerApe == account) {
            isOwner = true;
        }
        return isOwner;
    }

    //SETS
    function setMutationMint(bool _state) public onlyOwner {
        MutationActive = _state;
    }

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

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

    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
        uriPrefix = _uriPrefix;
    }

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

    // Note "feeDenominator" is a constant value: 10000
    // -> 1000/10000 = %10

    function setRoyaltyInfo(address receiver, uint96 feeBasisPoints)
        external
        onlyOwner
    {
        require(
            feeBasisPoints <= 1000,
            "OS-Royalty: Royalty fee can't exceed %10"
        );
        _setDefaultRoyalty(receiver, feeBasisPoints);
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        public
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        //suppress error
        _tokenId;
        return (RoyaltiesWallet, (_salePrice * royaltyDividend) / 10000);
    }

    /// @inheritdoc	ERC165
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC2981, ERC721Enumerable)
        returns (bool)
    {
        return
            ERC721Enumerable.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);
    }
}

File 2 of 18 : RtBnno.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

abstract contract RtBnno {
    function burnBanana(address burnTokenAddress) external virtual;

    function balanceOf(address account, uint256 id) public view virtual
        returns (uint256);
}

File 3 of 18 : Bnno.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

abstract contract Bnno {
    function burnBanana(address burnTokenAddress) external virtual;

    function balanceOf(address account, uint256 id) public view virtual
        returns (uint256);
}

File 4 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 18 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

File 8 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 9 of 18 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

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 10 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 12 of 18 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

    /**
     * @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 13 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 18 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURNADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"M1_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"M1_minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"M2_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"M2_index","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"M2_minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"MutationType","type":"uint256"},{"internalType":"uint256","name":"Amount","type":"uint256"},{"internalType":"uint256[]","name":"ApeTokenIDs","type":"uint256[]"}],"name":"MutateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MutationActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"MutationType","type":"uint256"},{"internalType":"uint256","name":"Amount","type":"uint256"}],"name":"internalMintM1andM2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"apeId","type":"uint256"}],"name":"isOwnerOfApe","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyDividend","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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":"bool","name":"_state","type":"bool"}],"name":"setMutationMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60c060405260405180602001604052806000815250600e908162000024919062000843565b5060405180602001604052806000815250600f908162000045919062000843565b5061dead601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601455600060155560c86016556103e8601760006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550738c020fe9f8df1d2b4e1645af03b35474b3c4d09f6017600c6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601860006101000a81548160ff0219169083151502179055503480156200014857600080fd5b506040516200602b3803806200602b83398181016040528101906200016e919062000a8e565b8181816000908162000181919062000843565b50806001908162000193919062000843565b5050506001600c81905550620001be620001b26200034e60201b60201c565b6200035660201b60201c565b7350beffd8a0808314d3cc81b3cbf7f1afa3a6b56c73ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050730912dad1db4643368b029166af217b8a9818db1573ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1681525050739370045ce37f381500ac7d6802513bb89871e076601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073e6d48bf4ee912235398b96e16db6f310c21e82cb601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003466017600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601760009054906101000a90046bffffffffffffffffffffffff166200041c60201b60201c565b505062000c2e565b600033905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200042c620005bf60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200048d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004849062000b9a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620004ff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004f69062000c0c565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200064b57607f821691505b60208210810362000661576200066062000603565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006cb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200068c565b620006d786836200068c565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007246200071e6200071884620006ef565b620006f9565b620006ef565b9050919050565b6000819050919050565b620007408362000703565b620007586200074f826200072b565b84845462000699565b825550505050565b600090565b6200076f62000760565b6200077c81848462000735565b505050565b5b81811015620007a4576200079860008262000765565b60018101905062000782565b5050565b601f821115620007f357620007bd8162000667565b620007c8846200067c565b81016020851015620007d8578190505b620007f0620007e7856200067c565b83018262000781565b50505b505050565b600082821c905092915050565b60006200081860001984600802620007f8565b1980831691505092915050565b600062000833838362000805565b9150826002028217905092915050565b6200084e82620005c9565b67ffffffffffffffff8111156200086a5762000869620005d4565b5b62000876825462000632565b62000883828285620007a8565b600060209050601f831160018114620008bb5760008415620008a6578287015190505b620008b2858262000825565b86555062000922565b601f198416620008cb8662000667565b60005b82811015620008f557848901518255600182019150602085019450602081019050620008ce565b8683101562000915578489015162000911601f89168262000805565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620009648262000948565b810181811067ffffffffffffffff82111715620009865762000985620005d4565b5b80604052505050565b60006200099b6200092a565b9050620009a9828262000959565b919050565b600067ffffffffffffffff821115620009cc57620009cb620005d4565b5b620009d78262000948565b9050602081019050919050565b60005b8381101562000a04578082015181840152602081019050620009e7565b60008484015250505050565b600062000a2762000a2184620009ae565b6200098f565b90508281526020810184848401111562000a465762000a4562000943565b5b62000a53848285620009e4565b509392505050565b600082601f83011262000a735762000a726200093e565b5b815162000a8584826020860162000a10565b91505092915050565b6000806040838503121562000aa85762000aa762000934565b5b600083015167ffffffffffffffff81111562000ac95762000ac862000939565b5b62000ad78582860162000a5b565b925050602083015167ffffffffffffffff81111562000afb5762000afa62000939565b5b62000b098582860162000a5b565b9150509250929050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000b82602a8362000b13565b915062000b8f8262000b24565b604082019050919050565b6000602082019050818103600083015262000bb58162000b73565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000bf460198362000b13565b915062000c018262000bbc565b602082019050919050565b6000602082019050818103600083015262000c278162000be5565b9050919050565b60805160a0516153bb62000c7060003960008181611ac401528181611b690152611e040152600081816116dd015281816117820152611a0b01526153bb6000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c80636c8bc36311610130578063a8715bbb116100b8578063e985e9c51161007c578063e985e9c514610692578063ed7c5f0a146106c2578063f2fde38b146106e0578063f8a47a12146106fc578063fdaf2f281461071857610232565b8063a8715bbb146105da578063b88d4fde146105f8578063c87b56dd14610614578063c97c39b314610644578063de6fbcfb1461066257610232565b80637ec4a659116100ff5780637ec4a659146105485780638da5cb5b1461056457806395d89b41146105825780639d04d8b3146105a0578063a22cb465146105be57610232565b80636c8bc363146104d457806370a08231146104f0578063715018a614610520578063725d221f1461052a57610232565b80632a55205a116101be57806342842e0e1161018257806342842e0e1461041c5780634f6ccce7146104385780635503a0e81461046857806362b99ad4146104865780636352211e146104a457610232565b80632a55205a146103615780632b31b7e2146103925780632f745c59146103b057806330418cc2146103e057806332cb6b0c146103fe57610232565b8063081812fc11610205578063081812fc146102bf578063095ea7b3146102ef57806316ba10e01461030b57806318160ddd1461032757806323b872dd1461034557610232565b806301ffc9a71461023757806302fa7c471461026757806304766b221461028357806306fdde03146102a1575b600080fd5b610251600480360381019061024c9190613496565b610734565b60405161025e91906134de565b60405180910390f35b610281600480360381019061027c919061359b565b610756565b005b61028b6107bf565b60405161029891906134de565b60405180910390f35b6102a96107d2565b6040516102b6919061366b565b60405180910390f35b6102d960048036038101906102d491906136c3565b610864565b6040516102e691906136ff565b60405180910390f35b6103096004803603810190610304919061371a565b6108aa565b005b6103256004803603810190610320919061388f565b6109c1565b005b61032f6109dc565b60405161033c91906138e7565b60405180910390f35b61035f600480360381019061035a9190613902565b6109e9565b005b61037b60048036038101906103769190613955565b610a49565b604051610389929190613995565b60405180910390f35b61039a610abb565b6040516103a791906138e7565b60405180910390f35b6103ca60048036038101906103c5919061371a565b610ac1565b6040516103d791906138e7565b60405180910390f35b6103e8610b66565b6040516103f591906138e7565b60405180910390f35b610406610b6c565b60405161041391906138e7565b60405180910390f35b61043660048036038101906104319190613902565b610b72565b005b610452600480360381019061044d91906136c3565b610b92565b60405161045f91906138e7565b60405180910390f35b610470610c03565b60405161047d919061366b565b60405180910390f35b61048e610c91565b60405161049b919061366b565b60405180910390f35b6104be60048036038101906104b991906136c3565b610d1f565b6040516104cb91906136ff565b60405180910390f35b6104ee60048036038101906104e991906139ea565b610dd0565b005b61050a60048036038101906105059190613a17565b610df5565b60405161051791906138e7565b60405180910390f35b610528610eac565b005b610532610ec0565b60405161053f91906138e7565b60405180910390f35b610562600480360381019061055d919061388f565b610ec6565b005b61056c610ee1565b60405161057991906136ff565b60405180910390f35b61058a610f0b565b604051610597919061366b565b60405180910390f35b6105a8610f9d565b6040516105b591906138e7565b60405180910390f35b6105d860048036038101906105d39190613a44565b610fa2565b005b6105e2610fb8565b6040516105ef91906138e7565b60405180910390f35b610612600480360381019061060d9190613b25565b610fbe565b005b61062e600480360381019061062991906136c3565b611020565b60405161063b919061366b565b60405180910390f35b61064c6110ca565b6040516106599190613bb7565b60405180910390f35b61067c6004803603810190610677919061371a565b6110e8565b60405161068991906134de565b60405180910390f35b6106ac60048036038101906106a79190613bd2565b6111d2565b6040516106b991906134de565b60405180910390f35b6106ca611266565b6040516106d791906136ff565b60405180910390f35b6106fa60048036038101906106f59190613a17565b61128c565b005b61071660048036038101906107119190613955565b61130f565b005b610732600480360381019061072d9190613cda565b611479565b005b600061073f82611ebc565b8061074f575061074e82611f36565b5b9050919050565b61075e611fb0565b6103e8816bffffffffffffffffffffffff1611156107b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a890613dbb565b60405180910390fd5b6107bb828261202e565b5050565b601860009054906101000a900460ff1681565b6060600080546107e190613e0a565b80601f016020809104026020016040519081016040528092919081815260200182805461080d90613e0a565b801561085a5780601f1061082f5761010080835404028352916020019161085a565b820191906000526020600020905b81548152906001019060200180831161083d57829003601f168201915b5050505050905090565b600061086f826121c3565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b582610d1f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c90613ead565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661094461220e565b73ffffffffffffffffffffffffffffffffffffffff16148061097357506109728161096d61220e565b6111d2565b5b6109b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a990613f3f565b60405180910390fd5b6109bc8383612216565b505050565b6109c9611fb0565b80600f90816109d8919061410b565b5050565b6000600880549050905090565b6109fa6109f461220e565b826122cf565b610a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a309061424f565b60405180910390fd5b610a44838383612364565b505050565b6000806017600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710601760009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1685610aa6919061429e565b610ab0919061430f565b915091509250929050565b60145481565b6000610acc83610df5565b8210610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b04906143b2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60165481565b61125881565b610b8d83838360405180602001604052806000815250610fbe565b505050565b6000610b9c6109dc565b8210610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490614444565b60405180910390fd5b60088281548110610bf157610bf0614464565b5b90600052602060002001549050919050565b600f8054610c1090613e0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3c90613e0a565b8015610c895780601f10610c5e57610100808354040283529160200191610c89565b820191906000526020600020905b815481529060010190602001808311610c6c57829003601f168201915b505050505081565b600e8054610c9e90613e0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cca90613e0a565b8015610d175780601f10610cec57610100808354040283529160200191610d17565b820191906000526020600020905b815481529060010190602001808311610cfa57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe906144df565b60405180910390fd5b80915050919050565b610dd8611fb0565b80601860006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c90614571565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eb4611fb0565b610ebe60006125ca565b565b60155481565b610ece611fb0565b80600e9081610edd919061410b565b5050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f1a90613e0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4690613e0a565b8015610f935780601f10610f6857610100808354040283529160200191610f93565b820191906000526020600020905b815481529060010190602001808311610f7657829003601f168201915b5050505050905090565b60c881565b610fb4610fad61220e565b8383612690565b5050565b61119081565b610fcf610fc961220e565b836122cf565b61100e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110059061424f565b60405180910390fd5b61101a848484846127fc565b50505050565b606061102b82612858565b61106a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106190614603565b60405180910390fd5b60006110746128c4565b9050600081511161109457604051806020016040528060008152506110c2565b8061109e84612956565b600f6040516020016110b2939291906146e2565b6040516020818303038152906040525b915050919050565b601760009054906101000a90046bffffffffffffffffffffffff1681565b600080600090506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b815260040161114c91906138e7565b602060405180830381865afa158015611169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118d9190614728565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111c757600191505b819250505092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611294611fb0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa906147c7565b60405180910390fd5b61130c816125ca565b50565b611317611fb0565b600182036113be5760c88160145461132f91906147e7565b1115611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790614867565b60405180910390fd5b60005b818110156113b8576014600081548092919061138e90614887565b9190505550600060145490506113a43382612ab6565b5080806113b090614887565b915050611373565b50611475565b6002820361147457611190816015546113d791906147e7565b1115611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f90614867565b60405180910390fd5b60005b81811015611472576015600081548092919061143690614887565b91905055506016600081548092919061144e90614887565b919050555061145f33601654612ab6565b808061146a90614887565b91505061141b565b505b5b5050565b6002600c54036114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b59061491b565b60405180910390fd5b6002600c81905550601860009054906101000a900460ff16611515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150c90614987565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161157291906136ff565b602060405180830381865afa15801561158f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b391906149bc565b116115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90614a5b565b60405180910390fd5b81601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161164f91906136ff565b602060405180830381865afa15801561166c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169091906149bc565b10156116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890614aed565b60405180910390fd5b60018303611ab85760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b8152600401611736929190614b48565b602060405180830381865afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177791906149bc565b11801561181f5750817f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b81526004016117db929190614b48565b602060405180830381865afa1580156117f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181c91906149bc565b10155b61185e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185590614c09565b60405180910390fd5b60c88260145461186e91906147e7565b11156118af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a690614867565b60405180910390fd5b60005b82811015611ab2576118de338383815181106118d1576118d0614464565b5b60200260200101516110e8565b61191d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191490614c9b565b60405180910390fd5b6014600081548092919061193090614887565b919050555060006014549050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e33601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168686815181106119b1576119b0614464565b5b60200260200101516040518463ffffffff1660e01b81526004016119d793929190614cbb565b600060405180830381600087803b1580156119f157600080fd5b505af1158015611a05573d6000803e3d6000fd5b505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663facfb40d336040518263ffffffff1660e01b8152600401611a6291906136ff565b600060405180830381600087803b158015611a7c57600080fd5b505af1158015611a90573d6000803e3d6000fd5b50505050611a9e3382612ab6565b508080611aaa90614887565b9150506118b2565b50611eaf565b60028303611eae5760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b8152600401611b1d929190614b48565b602060405180830381865afa158015611b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5e91906149bc565b118015611c065750817f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b8152600401611bc2929190614b48565b602060405180830381865afa158015611bdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0391906149bc565b10155b611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c90614d8a565b60405180910390fd5b61119082601554611c5691906147e7565b1115611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e90614867565b60405180910390fd5b60005b82811015611eac57611cc633838381518110611cb957611cb8614464565b5b60200260200101516110e8565b611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc90614c9b565b60405180910390fd5b60156000815480929190611d1890614887565b919050555060166000815480929190611d3090614887565b9190505550601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e33601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16858581518110611daa57611da9614464565b5b60200260200101516040518463ffffffff1660e01b8152600401611dd093929190614cbb565b600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663facfb40d336040518263ffffffff1660e01b8152600401611e5b91906136ff565b600060405180830381600087803b158015611e7557600080fd5b505af1158015611e89573d6000803e3d6000fd5b50505050611e9933601654612ab6565b8080611ea490614887565b915050611c9a565b505b5b6001600c81905550505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f2f5750611f2e82612ad4565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fa95750611fa882611ebc565b5b9050919050565b611fb861220e565b73ffffffffffffffffffffffffffffffffffffffff16611fd6610ee1565b73ffffffffffffffffffffffffffffffffffffffff161461202c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202390614df6565b60405180910390fd5b565b612036612bb6565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208b90614e88565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fa90614ef4565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6121cc81612858565b61220b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612202906144df565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661228983610d1f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122db83610d1f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061231d575061231c81856111d2565b5b8061235b57508373ffffffffffffffffffffffffffffffffffffffff1661234384610864565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661238482610d1f565b73ffffffffffffffffffffffffffffffffffffffff16146123da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d190614f86565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244090615018565b60405180910390fd5b612454838383612bc0565b61245f600082612216565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124af9190615038565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461250691906147e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125c5838383612cd2565b505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036126fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f5906150b8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127ef91906134de565b60405180910390a3505050565b612807848484612364565b61281384848484612cd7565b612852576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128499061514a565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600e80546128d390613e0a565b80601f01602080910402602001604051908101604052809291908181526020018280546128ff90613e0a565b801561294c5780601f106129215761010080835404028352916020019161294c565b820191906000526020600020905b81548152906001019060200180831161292f57829003601f168201915b5050505050905090565b60606000820361299d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ab1565b600082905060005b600082146129cf5780806129b890614887565b915050600a826129c8919061430f565b91506129a5565b60008167ffffffffffffffff8111156129eb576129ea613764565b5b6040519080825280601f01601f191660200182016040528015612a1d5781602001600182028036833780820191505090505b5090505b60008514612aaa57600182612a369190615038565b9150600a85612a45919061516a565b6030612a5191906147e7565b60f81b818381518110612a6757612a66614464565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612aa3919061430f565b9450612a21565b8093505050505b919050565b612ad0828260405180602001604052806000815250612e5e565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b9f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612baf5750612bae82612eb9565b5b9050919050565b6000612710905090565b612bcb838383612f23565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c0d57612c0881612f28565b612c4c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c4b57612c4a8382612f71565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612c8e57612c89816130de565b612ccd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ccc57612ccb82826131af565b5b5b505050565b505050565b6000612cf88473ffffffffffffffffffffffffffffffffffffffff1661322e565b15612e51578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d2161220e565b8786866040518563ffffffff1660e01b8152600401612d4394939291906151f0565b6020604051808303816000875af1925050508015612d7f57506040513d601f19601f82011682018060405250810190612d7c9190615251565b60015b612e01573d8060008114612daf576040519150601f19603f3d011682016040523d82523d6000602084013e612db4565b606091505b506000815103612df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df09061514a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e56565b600190505b949350505050565b612e688383613251565b612e756000848484612cd7565b612eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eab9061514a565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f7e84610df5565b612f889190615038565b905060006007600084815260200190815260200160002054905081811461306d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130f29190615038565b905060006009600084815260200190815260200160002054905060006008838154811061312257613121614464565b5b90600052602060002001549050806008838154811061314457613143614464565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131935761319261527e565b5b6001900381819060005260206000200160009055905550505050565b60006131ba83610df5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b7906152f9565b60405180910390fd5b6132c981612858565b15613309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330090615365565b60405180910390fd5b61331560008383612bc0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461336591906147e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461342660008383612cd2565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134738161343e565b811461347e57600080fd5b50565b6000813590506134908161346a565b92915050565b6000602082840312156134ac576134ab613434565b5b60006134ba84828501613481565b91505092915050565b60008115159050919050565b6134d8816134c3565b82525050565b60006020820190506134f360008301846134cf565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613524826134f9565b9050919050565b61353481613519565b811461353f57600080fd5b50565b6000813590506135518161352b565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61357881613557565b811461358357600080fd5b50565b6000813590506135958161356f565b92915050565b600080604083850312156135b2576135b1613434565b5b60006135c085828601613542565b92505060206135d185828601613586565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136155780820151818401526020810190506135fa565b60008484015250505050565b6000601f19601f8301169050919050565b600061363d826135db565b61364781856135e6565b93506136578185602086016135f7565b61366081613621565b840191505092915050565b600060208201905081810360008301526136858184613632565b905092915050565b6000819050919050565b6136a08161368d565b81146136ab57600080fd5b50565b6000813590506136bd81613697565b92915050565b6000602082840312156136d9576136d8613434565b5b60006136e7848285016136ae565b91505092915050565b6136f981613519565b82525050565b600060208201905061371460008301846136f0565b92915050565b6000806040838503121561373157613730613434565b5b600061373f85828601613542565b9250506020613750858286016136ae565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61379c82613621565b810181811067ffffffffffffffff821117156137bb576137ba613764565b5b80604052505050565b60006137ce61342a565b90506137da8282613793565b919050565b600067ffffffffffffffff8211156137fa576137f9613764565b5b61380382613621565b9050602081019050919050565b82818337600083830152505050565b600061383261382d846137df565b6137c4565b90508281526020810184848401111561384e5761384d61375f565b5b613859848285613810565b509392505050565b600082601f8301126138765761387561375a565b5b813561388684826020860161381f565b91505092915050565b6000602082840312156138a5576138a4613434565b5b600082013567ffffffffffffffff8111156138c3576138c2613439565b5b6138cf84828501613861565b91505092915050565b6138e18161368d565b82525050565b60006020820190506138fc60008301846138d8565b92915050565b60008060006060848603121561391b5761391a613434565b5b600061392986828701613542565b935050602061393a86828701613542565b925050604061394b868287016136ae565b9150509250925092565b6000806040838503121561396c5761396b613434565b5b600061397a858286016136ae565b925050602061398b858286016136ae565b9150509250929050565b60006040820190506139aa60008301856136f0565b6139b760208301846138d8565b9392505050565b6139c7816134c3565b81146139d257600080fd5b50565b6000813590506139e4816139be565b92915050565b600060208284031215613a00576139ff613434565b5b6000613a0e848285016139d5565b91505092915050565b600060208284031215613a2d57613a2c613434565b5b6000613a3b84828501613542565b91505092915050565b60008060408385031215613a5b57613a5a613434565b5b6000613a6985828601613542565b9250506020613a7a858286016139d5565b9150509250929050565b600067ffffffffffffffff821115613a9f57613a9e613764565b5b613aa882613621565b9050602081019050919050565b6000613ac8613ac384613a84565b6137c4565b905082815260208101848484011115613ae457613ae361375f565b5b613aef848285613810565b509392505050565b600082601f830112613b0c57613b0b61375a565b5b8135613b1c848260208601613ab5565b91505092915050565b60008060008060808587031215613b3f57613b3e613434565b5b6000613b4d87828801613542565b9450506020613b5e87828801613542565b9350506040613b6f878288016136ae565b925050606085013567ffffffffffffffff811115613b9057613b8f613439565b5b613b9c87828801613af7565b91505092959194509250565b613bb181613557565b82525050565b6000602082019050613bcc6000830184613ba8565b92915050565b60008060408385031215613be957613be8613434565b5b6000613bf785828601613542565b9250506020613c0885828601613542565b9150509250929050565b600067ffffffffffffffff821115613c2d57613c2c613764565b5b602082029050602081019050919050565b600080fd5b6000613c56613c5184613c12565b6137c4565b90508083825260208201905060208402830185811115613c7957613c78613c3e565b5b835b81811015613ca25780613c8e88826136ae565b845260208401935050602081019050613c7b565b5050509392505050565b600082601f830112613cc157613cc061375a565b5b8135613cd1848260208601613c43565b91505092915050565b600080600060608486031215613cf357613cf2613434565b5b6000613d01868287016136ae565b9350506020613d12868287016136ae565b925050604084013567ffffffffffffffff811115613d3357613d32613439565b5b613d3f86828701613cac565b9150509250925092565b7f4f532d526f79616c74793a20526f79616c7479206665652063616e277420657860008201527f6365656420253130000000000000000000000000000000000000000000000000602082015250565b6000613da56028836135e6565b9150613db082613d49565b604082019050919050565b60006020820190508181036000830152613dd481613d98565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e2257607f821691505b602082108103613e3557613e34613ddb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e976021836135e6565b9150613ea282613e3b565b604082019050919050565b60006020820190508181036000830152613ec681613e8a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613f29603e836135e6565b9150613f3482613ecd565b604082019050919050565b60006020820190508181036000830152613f5881613f1c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613fc17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f84565b613fcb8683613f84565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614008614003613ffe8461368d565b613fe3565b61368d565b9050919050565b6000819050919050565b61402283613fed565b61403661402e8261400f565b848454613f91565b825550505050565b600090565b61404b61403e565b614056818484614019565b505050565b5b8181101561407a5761406f600082614043565b60018101905061405c565b5050565b601f8211156140bf5761409081613f5f565b61409984613f74565b810160208510156140a8578190505b6140bc6140b485613f74565b83018261405b565b50505b505050565b600082821c905092915050565b60006140e2600019846008026140c4565b1980831691505092915050565b60006140fb83836140d1565b9150826002028217905092915050565b614114826135db565b67ffffffffffffffff81111561412d5761412c613764565b5b6141378254613e0a565b61414282828561407e565b600060209050601f8311600181146141755760008415614163578287015190505b61416d85826140ef565b8655506141d5565b601f19841661418386613f5f565b60005b828110156141ab57848901518255600182019150602085019450602081019050614186565b868310156141c857848901516141c4601f8916826140d1565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614239602e836135e6565b9150614244826141dd565b604082019050919050565b600060208201905081810360008301526142688161422c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142a98261368d565b91506142b48361368d565b92508282026142c28161368d565b915082820484148315176142d9576142d861426f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061431a8261368d565b91506143258361368d565b925082614335576143346142e0565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061439c602b836135e6565b91506143a782614340565b604082019050919050565b600060208201905081810360008301526143cb8161438f565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061442e602c836135e6565b9150614439826143d2565b604082019050919050565b6000602082019050818103600083015261445d81614421565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006144c96018836135e6565b91506144d482614493565b602082019050919050565b600060208201905081810360008301526144f8816144bc565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061455b6029836135e6565b9150614566826144ff565b604082019050919050565b6000602082019050818103600083015261458a8161454e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006145ed602f836135e6565b91506145f882614591565b604082019050919050565b6000602082019050818103600083015261461c816145e0565b9050919050565b600081905092915050565b6000614639826135db565b6146438185614623565b93506146538185602086016135f7565b80840191505092915050565b6000815461466c81613e0a565b6146768186614623565b9450600182166000811461469157600181146146a6576146d9565b60ff19831686528115158202860193506146d9565b6146af85613f5f565b60005b838110156146d1578154818901526001820191506020810190506146b2565b838801955050505b50505092915050565b60006146ee828661462e565b91506146fa828561462e565b9150614706828461465f565b9150819050949350505050565b6000815190506147228161352b565b92915050565b60006020828403121561473e5761473d613434565b5b600061474c84828501614713565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147b16026836135e6565b91506147bc82614755565b604082019050919050565b600060208201905081810360008301526147e0816147a4565b9050919050565b60006147f28261368d565b91506147fd8361368d565b92508282019050808211156148155761481461426f565b5b92915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b60006148516011836135e6565b915061485c8261481b565b602082019050919050565b6000602082019050818103600083015261488081614844565b9050919050565b60006148928261368d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148c4576148c361426f565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614905601f836135e6565b9150614910826148cf565b602082019050919050565b60006020820190508181036000830152614934816148f8565b9050919050565b7f46726565204d75746174696f6e206973206e6f74206163746976650000000000600082015250565b6000614971601b836135e6565b915061497c8261493b565b602082019050919050565b600060208201905081810360008301526149a081614964565b9050919050565b6000815190506149b681613697565b92915050565b6000602082840312156149d2576149d1613434565b5b60006149e0848285016149a7565b91505092915050565b7f4d757374206f776e206174206c65617374203120476f6448617465734e46546560008201527f657320746f204d75746174650000000000000000000000000000000000000000602082015250565b6000614a45602c836135e6565b9150614a50826149e9565b604082019050919050565b60006020820190508181036000830152614a7481614a38565b9050919050565b7f4d757374206f776e206174206c65617374207468652041706520416d6f756e7460008201527f20746f206d75746174652e000000000000000000000000000000000000000000602082015250565b6000614ad7602b836135e6565b9150614ae282614a7b565b604082019050919050565b60006020820190508181036000830152614b0681614aca565b9050919050565b6000819050919050565b6000614b32614b2d614b2884614b0d565b613fe3565b61368d565b9050919050565b614b4281614b17565b82525050565b6000604082019050614b5d60008301856136f0565b614b6a6020830184614b39565b9392505050565b7f4d757374206f776e206174206c6561737420312053722042616e616e6f20746f60008201527f206d75746174652c206f722053722042616e616e6f7320796f752077616e742060208201527f746f204d75746174652e00000000000000000000000000000000000000000000604082015250565b6000614bf3604a836135e6565b9150614bfe82614b71565b606082019050919050565b60006020820190508181036000830152614c2281614be6565b9050919050565b7f4d757374206f776e2074686520417065207468617420796f752077616e74207460008201527f6f206d75746174652e0000000000000000000000000000000000000000000000602082015250565b6000614c856029836135e6565b9150614c9082614c29565b604082019050919050565b60006020820190508181036000830152614cb481614c78565b9050919050565b6000606082019050614cd060008301866136f0565b614cdd60208301856136f0565b614cea60408301846138d8565b949350505050565b7f4d757374206f776e206174206c65617374203120526f7474656e2042616e616e60008201527f6f20746f206d75746174652c206f7220526f7474656e2042616e616e6f73207960208201527f6f752077616e7420746f204d75746174652e0000000000000000000000000000604082015250565b6000614d746052836135e6565b9150614d7f82614cf2565b606082019050919050565b60006020820190508181036000830152614da381614d67565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614de06020836135e6565b9150614deb82614daa565b602082019050919050565b60006020820190508181036000830152614e0f81614dd3565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614e72602a836135e6565b9150614e7d82614e16565b604082019050919050565b60006020820190508181036000830152614ea181614e65565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614ede6019836135e6565b9150614ee982614ea8565b602082019050919050565b60006020820190508181036000830152614f0d81614ed1565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614f706025836135e6565b9150614f7b82614f14565b604082019050919050565b60006020820190508181036000830152614f9f81614f63565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150026024836135e6565b915061500d82614fa6565b604082019050919050565b6000602082019050818103600083015261503181614ff5565b9050919050565b60006150438261368d565b915061504e8361368d565b92508282039050818111156150665761506561426f565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006150a26019836135e6565b91506150ad8261506c565b602082019050919050565b600060208201905081810360008301526150d181615095565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006151346032836135e6565b915061513f826150d8565b604082019050919050565b6000602082019050818103600083015261516381615127565b9050919050565b60006151758261368d565b91506151808361368d565b9250826151905761518f6142e0565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006151c28261519b565b6151cc81856151a6565b93506151dc8185602086016135f7565b6151e581613621565b840191505092915050565b600060808201905061520560008301876136f0565b61521260208301866136f0565b61521f60408301856138d8565b818103606083015261523181846151b7565b905095945050505050565b60008151905061524b8161346a565b92915050565b60006020828403121561526757615266613434565b5b60006152758482850161523c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152e36020836135e6565b91506152ee826152ad565b602082019050919050565b60006020820190508181036000830152615312816152d6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061534f601c836135e6565b915061535a82615319565b602082019050919050565b6000602082019050818103600083015261537e81615342565b905091905056fea26469706673582212204dd3949d3dd6696d0cf9330aeaeb6c97fec1c2aaac329c4bca1e5c0c9a7c124c64736f6c634300081100330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000154d7574616e7420476f6448617465734e4654656573000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d47484e00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102325760003560e01c80636c8bc36311610130578063a8715bbb116100b8578063e985e9c51161007c578063e985e9c514610692578063ed7c5f0a146106c2578063f2fde38b146106e0578063f8a47a12146106fc578063fdaf2f281461071857610232565b8063a8715bbb146105da578063b88d4fde146105f8578063c87b56dd14610614578063c97c39b314610644578063de6fbcfb1461066257610232565b80637ec4a659116100ff5780637ec4a659146105485780638da5cb5b1461056457806395d89b41146105825780639d04d8b3146105a0578063a22cb465146105be57610232565b80636c8bc363146104d457806370a08231146104f0578063715018a614610520578063725d221f1461052a57610232565b80632a55205a116101be57806342842e0e1161018257806342842e0e1461041c5780634f6ccce7146104385780635503a0e81461046857806362b99ad4146104865780636352211e146104a457610232565b80632a55205a146103615780632b31b7e2146103925780632f745c59146103b057806330418cc2146103e057806332cb6b0c146103fe57610232565b8063081812fc11610205578063081812fc146102bf578063095ea7b3146102ef57806316ba10e01461030b57806318160ddd1461032757806323b872dd1461034557610232565b806301ffc9a71461023757806302fa7c471461026757806304766b221461028357806306fdde03146102a1575b600080fd5b610251600480360381019061024c9190613496565b610734565b60405161025e91906134de565b60405180910390f35b610281600480360381019061027c919061359b565b610756565b005b61028b6107bf565b60405161029891906134de565b60405180910390f35b6102a96107d2565b6040516102b6919061366b565b60405180910390f35b6102d960048036038101906102d491906136c3565b610864565b6040516102e691906136ff565b60405180910390f35b6103096004803603810190610304919061371a565b6108aa565b005b6103256004803603810190610320919061388f565b6109c1565b005b61032f6109dc565b60405161033c91906138e7565b60405180910390f35b61035f600480360381019061035a9190613902565b6109e9565b005b61037b60048036038101906103769190613955565b610a49565b604051610389929190613995565b60405180910390f35b61039a610abb565b6040516103a791906138e7565b60405180910390f35b6103ca60048036038101906103c5919061371a565b610ac1565b6040516103d791906138e7565b60405180910390f35b6103e8610b66565b6040516103f591906138e7565b60405180910390f35b610406610b6c565b60405161041391906138e7565b60405180910390f35b61043660048036038101906104319190613902565b610b72565b005b610452600480360381019061044d91906136c3565b610b92565b60405161045f91906138e7565b60405180910390f35b610470610c03565b60405161047d919061366b565b60405180910390f35b61048e610c91565b60405161049b919061366b565b60405180910390f35b6104be60048036038101906104b991906136c3565b610d1f565b6040516104cb91906136ff565b60405180910390f35b6104ee60048036038101906104e991906139ea565b610dd0565b005b61050a60048036038101906105059190613a17565b610df5565b60405161051791906138e7565b60405180910390f35b610528610eac565b005b610532610ec0565b60405161053f91906138e7565b60405180910390f35b610562600480360381019061055d919061388f565b610ec6565b005b61056c610ee1565b60405161057991906136ff565b60405180910390f35b61058a610f0b565b604051610597919061366b565b60405180910390f35b6105a8610f9d565b6040516105b591906138e7565b60405180910390f35b6105d860048036038101906105d39190613a44565b610fa2565b005b6105e2610fb8565b6040516105ef91906138e7565b60405180910390f35b610612600480360381019061060d9190613b25565b610fbe565b005b61062e600480360381019061062991906136c3565b611020565b60405161063b919061366b565b60405180910390f35b61064c6110ca565b6040516106599190613bb7565b60405180910390f35b61067c6004803603810190610677919061371a565b6110e8565b60405161068991906134de565b60405180910390f35b6106ac60048036038101906106a79190613bd2565b6111d2565b6040516106b991906134de565b60405180910390f35b6106ca611266565b6040516106d791906136ff565b60405180910390f35b6106fa60048036038101906106f59190613a17565b61128c565b005b61071660048036038101906107119190613955565b61130f565b005b610732600480360381019061072d9190613cda565b611479565b005b600061073f82611ebc565b8061074f575061074e82611f36565b5b9050919050565b61075e611fb0565b6103e8816bffffffffffffffffffffffff1611156107b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a890613dbb565b60405180910390fd5b6107bb828261202e565b5050565b601860009054906101000a900460ff1681565b6060600080546107e190613e0a565b80601f016020809104026020016040519081016040528092919081815260200182805461080d90613e0a565b801561085a5780601f1061082f5761010080835404028352916020019161085a565b820191906000526020600020905b81548152906001019060200180831161083d57829003601f168201915b5050505050905090565b600061086f826121c3565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b582610d1f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c90613ead565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661094461220e565b73ffffffffffffffffffffffffffffffffffffffff16148061097357506109728161096d61220e565b6111d2565b5b6109b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a990613f3f565b60405180910390fd5b6109bc8383612216565b505050565b6109c9611fb0565b80600f90816109d8919061410b565b5050565b6000600880549050905090565b6109fa6109f461220e565b826122cf565b610a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a309061424f565b60405180910390fd5b610a44838383612364565b505050565b6000806017600c9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710601760009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1685610aa6919061429e565b610ab0919061430f565b915091509250929050565b60145481565b6000610acc83610df5565b8210610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b04906143b2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60165481565b61125881565b610b8d83838360405180602001604052806000815250610fbe565b505050565b6000610b9c6109dc565b8210610bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd490614444565b60405180910390fd5b60088281548110610bf157610bf0614464565b5b90600052602060002001549050919050565b600f8054610c1090613e0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3c90613e0a565b8015610c895780601f10610c5e57610100808354040283529160200191610c89565b820191906000526020600020905b815481529060010190602001808311610c6c57829003601f168201915b505050505081565b600e8054610c9e90613e0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610cca90613e0a565b8015610d175780601f10610cec57610100808354040283529160200191610d17565b820191906000526020600020905b815481529060010190602001808311610cfa57829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe906144df565b60405180910390fd5b80915050919050565b610dd8611fb0565b80601860006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c90614571565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610eb4611fb0565b610ebe60006125ca565b565b60155481565b610ece611fb0565b80600e9081610edd919061410b565b5050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f1a90613e0a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4690613e0a565b8015610f935780601f10610f6857610100808354040283529160200191610f93565b820191906000526020600020905b815481529060010190602001808311610f7657829003601f168201915b5050505050905090565b60c881565b610fb4610fad61220e565b8383612690565b5050565b61119081565b610fcf610fc961220e565b836122cf565b61100e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110059061424f565b60405180910390fd5b61101a848484846127fc565b50505050565b606061102b82612858565b61106a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106190614603565b60405180910390fd5b60006110746128c4565b9050600081511161109457604051806020016040528060008152506110c2565b8061109e84612956565b600f6040516020016110b2939291906146e2565b6040516020818303038152906040525b915050919050565b601760009054906101000a90046bffffffffffffffffffffffff1681565b600080600090506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b815260040161114c91906138e7565b602060405180830381865afa158015611169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118d9190614728565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111c757600191505b819250505092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611294611fb0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa906147c7565b60405180910390fd5b61130c816125ca565b50565b611317611fb0565b600182036113be5760c88160145461132f91906147e7565b1115611370576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136790614867565b60405180910390fd5b60005b818110156113b8576014600081548092919061138e90614887565b9190505550600060145490506113a43382612ab6565b5080806113b090614887565b915050611373565b50611475565b6002820361147457611190816015546113d791906147e7565b1115611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f90614867565b60405180910390fd5b60005b81811015611472576015600081548092919061143690614887565b91905055506016600081548092919061144e90614887565b919050555061145f33601654612ab6565b808061146a90614887565b91505061141b565b505b5b5050565b6002600c54036114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b59061491b565b60405180910390fd5b6002600c81905550601860009054906101000a900460ff16611515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150c90614987565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161157291906136ff565b602060405180830381865afa15801561158f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b391906149bc565b116115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90614a5b565b60405180910390fd5b81601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161164f91906136ff565b602060405180830381865afa15801561166c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169091906149bc565b10156116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890614aed565b60405180910390fd5b60018303611ab85760007f00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c73ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b8152600401611736929190614b48565b602060405180830381865afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177791906149bc565b11801561181f5750817f00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c73ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b81526004016117db929190614b48565b602060405180830381865afa1580156117f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181c91906149bc565b10155b61185e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185590614c09565b60405180910390fd5b60c88260145461186e91906147e7565b11156118af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a690614867565b60405180910390fd5b60005b82811015611ab2576118de338383815181106118d1576118d0614464565b5b60200260200101516110e8565b61191d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191490614c9b565b60405180910390fd5b6014600081548092919061193090614887565b919050555060006014549050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e33601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168686815181106119b1576119b0614464565b5b60200260200101516040518463ffffffff1660e01b81526004016119d793929190614cbb565b600060405180830381600087803b1580156119f157600080fd5b505af1158015611a05573d6000803e3d6000fd5b505050507f00000000000000000000000050beffd8a0808314d3cc81b3cbf7f1afa3a6b56c73ffffffffffffffffffffffffffffffffffffffff1663facfb40d336040518263ffffffff1660e01b8152600401611a6291906136ff565b600060405180830381600087803b158015611a7c57600080fd5b505af1158015611a90573d6000803e3d6000fd5b50505050611a9e3382612ab6565b508080611aaa90614887565b9150506118b2565b50611eaf565b60028303611eae5760007f0000000000000000000000000912dad1db4643368b029166af217b8a9818db1573ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b8152600401611b1d929190614b48565b602060405180830381865afa158015611b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5e91906149bc565b118015611c065750817f0000000000000000000000000912dad1db4643368b029166af217b8a9818db1573ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360006040518363ffffffff1660e01b8152600401611bc2929190614b48565b602060405180830381865afa158015611bdf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0391906149bc565b10155b611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c90614d8a565b60405180910390fd5b61119082601554611c5691906147e7565b1115611c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8e90614867565b60405180910390fd5b60005b82811015611eac57611cc633838381518110611cb957611cb8614464565b5b60200260200101516110e8565b611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc90614c9b565b60405180910390fd5b60156000815480929190611d1890614887565b919050555060166000815480929190611d3090614887565b9190505550601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e33601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16858581518110611daa57611da9614464565b5b60200260200101516040518463ffffffff1660e01b8152600401611dd093929190614cbb565b600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050507f0000000000000000000000000912dad1db4643368b029166af217b8a9818db1573ffffffffffffffffffffffffffffffffffffffff1663facfb40d336040518263ffffffff1660e01b8152600401611e5b91906136ff565b600060405180830381600087803b158015611e7557600080fd5b505af1158015611e89573d6000803e3d6000fd5b50505050611e9933601654612ab6565b8080611ea490614887565b915050611c9a565b505b5b6001600c81905550505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f2f5750611f2e82612ad4565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fa95750611fa882611ebc565b5b9050919050565b611fb861220e565b73ffffffffffffffffffffffffffffffffffffffff16611fd6610ee1565b73ffffffffffffffffffffffffffffffffffffffff161461202c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202390614df6565b60405180910390fd5b565b612036612bb6565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208b90614e88565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fa90614ef4565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6121cc81612858565b61220b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612202906144df565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661228983610d1f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122db83610d1f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061231d575061231c81856111d2565b5b8061235b57508373ffffffffffffffffffffffffffffffffffffffff1661234384610864565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661238482610d1f565b73ffffffffffffffffffffffffffffffffffffffff16146123da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d190614f86565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612449576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244090615018565b60405180910390fd5b612454838383612bc0565b61245f600082612216565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124af9190615038565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461250691906147e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125c5838383612cd2565b505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036126fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f5906150b8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127ef91906134de565b60405180910390a3505050565b612807848484612364565b61281384848484612cd7565b612852576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128499061514a565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600e80546128d390613e0a565b80601f01602080910402602001604051908101604052809291908181526020018280546128ff90613e0a565b801561294c5780601f106129215761010080835404028352916020019161294c565b820191906000526020600020905b81548152906001019060200180831161292f57829003601f168201915b5050505050905090565b60606000820361299d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ab1565b600082905060005b600082146129cf5780806129b890614887565b915050600a826129c8919061430f565b91506129a5565b60008167ffffffffffffffff8111156129eb576129ea613764565b5b6040519080825280601f01601f191660200182016040528015612a1d5781602001600182028036833780820191505090505b5090505b60008514612aaa57600182612a369190615038565b9150600a85612a45919061516a565b6030612a5191906147e7565b60f81b818381518110612a6757612a66614464565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612aa3919061430f565b9450612a21565b8093505050505b919050565b612ad0828260405180602001604052806000815250612e5e565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612b9f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612baf5750612bae82612eb9565b5b9050919050565b6000612710905090565b612bcb838383612f23565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c0d57612c0881612f28565b612c4c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c4b57612c4a8382612f71565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612c8e57612c89816130de565b612ccd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ccc57612ccb82826131af565b5b5b505050565b505050565b6000612cf88473ffffffffffffffffffffffffffffffffffffffff1661322e565b15612e51578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d2161220e565b8786866040518563ffffffff1660e01b8152600401612d4394939291906151f0565b6020604051808303816000875af1925050508015612d7f57506040513d601f19601f82011682018060405250810190612d7c9190615251565b60015b612e01573d8060008114612daf576040519150601f19603f3d011682016040523d82523d6000602084013e612db4565b606091505b506000815103612df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df09061514a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e56565b600190505b949350505050565b612e688383613251565b612e756000848484612cd7565b612eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eab9061514a565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f7e84610df5565b612f889190615038565b905060006007600084815260200190815260200160002054905081811461306d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130f29190615038565b905060006009600084815260200190815260200160002054905060006008838154811061312257613121614464565b5b90600052602060002001549050806008838154811061314457613143614464565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131935761319261527e565b5b6001900381819060005260206000200160009055905550505050565b60006131ba83610df5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b7906152f9565b60405180910390fd5b6132c981612858565b15613309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330090615365565b60405180910390fd5b61331560008383612bc0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461336591906147e7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461342660008383612cd2565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134738161343e565b811461347e57600080fd5b50565b6000813590506134908161346a565b92915050565b6000602082840312156134ac576134ab613434565b5b60006134ba84828501613481565b91505092915050565b60008115159050919050565b6134d8816134c3565b82525050565b60006020820190506134f360008301846134cf565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613524826134f9565b9050919050565b61353481613519565b811461353f57600080fd5b50565b6000813590506135518161352b565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61357881613557565b811461358357600080fd5b50565b6000813590506135958161356f565b92915050565b600080604083850312156135b2576135b1613434565b5b60006135c085828601613542565b92505060206135d185828601613586565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136155780820151818401526020810190506135fa565b60008484015250505050565b6000601f19601f8301169050919050565b600061363d826135db565b61364781856135e6565b93506136578185602086016135f7565b61366081613621565b840191505092915050565b600060208201905081810360008301526136858184613632565b905092915050565b6000819050919050565b6136a08161368d565b81146136ab57600080fd5b50565b6000813590506136bd81613697565b92915050565b6000602082840312156136d9576136d8613434565b5b60006136e7848285016136ae565b91505092915050565b6136f981613519565b82525050565b600060208201905061371460008301846136f0565b92915050565b6000806040838503121561373157613730613434565b5b600061373f85828601613542565b9250506020613750858286016136ae565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61379c82613621565b810181811067ffffffffffffffff821117156137bb576137ba613764565b5b80604052505050565b60006137ce61342a565b90506137da8282613793565b919050565b600067ffffffffffffffff8211156137fa576137f9613764565b5b61380382613621565b9050602081019050919050565b82818337600083830152505050565b600061383261382d846137df565b6137c4565b90508281526020810184848401111561384e5761384d61375f565b5b613859848285613810565b509392505050565b600082601f8301126138765761387561375a565b5b813561388684826020860161381f565b91505092915050565b6000602082840312156138a5576138a4613434565b5b600082013567ffffffffffffffff8111156138c3576138c2613439565b5b6138cf84828501613861565b91505092915050565b6138e18161368d565b82525050565b60006020820190506138fc60008301846138d8565b92915050565b60008060006060848603121561391b5761391a613434565b5b600061392986828701613542565b935050602061393a86828701613542565b925050604061394b868287016136ae565b9150509250925092565b6000806040838503121561396c5761396b613434565b5b600061397a858286016136ae565b925050602061398b858286016136ae565b9150509250929050565b60006040820190506139aa60008301856136f0565b6139b760208301846138d8565b9392505050565b6139c7816134c3565b81146139d257600080fd5b50565b6000813590506139e4816139be565b92915050565b600060208284031215613a00576139ff613434565b5b6000613a0e848285016139d5565b91505092915050565b600060208284031215613a2d57613a2c613434565b5b6000613a3b84828501613542565b91505092915050565b60008060408385031215613a5b57613a5a613434565b5b6000613a6985828601613542565b9250506020613a7a858286016139d5565b9150509250929050565b600067ffffffffffffffff821115613a9f57613a9e613764565b5b613aa882613621565b9050602081019050919050565b6000613ac8613ac384613a84565b6137c4565b905082815260208101848484011115613ae457613ae361375f565b5b613aef848285613810565b509392505050565b600082601f830112613b0c57613b0b61375a565b5b8135613b1c848260208601613ab5565b91505092915050565b60008060008060808587031215613b3f57613b3e613434565b5b6000613b4d87828801613542565b9450506020613b5e87828801613542565b9350506040613b6f878288016136ae565b925050606085013567ffffffffffffffff811115613b9057613b8f613439565b5b613b9c87828801613af7565b91505092959194509250565b613bb181613557565b82525050565b6000602082019050613bcc6000830184613ba8565b92915050565b60008060408385031215613be957613be8613434565b5b6000613bf785828601613542565b9250506020613c0885828601613542565b9150509250929050565b600067ffffffffffffffff821115613c2d57613c2c613764565b5b602082029050602081019050919050565b600080fd5b6000613c56613c5184613c12565b6137c4565b90508083825260208201905060208402830185811115613c7957613c78613c3e565b5b835b81811015613ca25780613c8e88826136ae565b845260208401935050602081019050613c7b565b5050509392505050565b600082601f830112613cc157613cc061375a565b5b8135613cd1848260208601613c43565b91505092915050565b600080600060608486031215613cf357613cf2613434565b5b6000613d01868287016136ae565b9350506020613d12868287016136ae565b925050604084013567ffffffffffffffff811115613d3357613d32613439565b5b613d3f86828701613cac565b9150509250925092565b7f4f532d526f79616c74793a20526f79616c7479206665652063616e277420657860008201527f6365656420253130000000000000000000000000000000000000000000000000602082015250565b6000613da56028836135e6565b9150613db082613d49565b604082019050919050565b60006020820190508181036000830152613dd481613d98565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e2257607f821691505b602082108103613e3557613e34613ddb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e976021836135e6565b9150613ea282613e3b565b604082019050919050565b60006020820190508181036000830152613ec681613e8a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613f29603e836135e6565b9150613f3482613ecd565b604082019050919050565b60006020820190508181036000830152613f5881613f1c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613fc17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f84565b613fcb8683613f84565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614008614003613ffe8461368d565b613fe3565b61368d565b9050919050565b6000819050919050565b61402283613fed565b61403661402e8261400f565b848454613f91565b825550505050565b600090565b61404b61403e565b614056818484614019565b505050565b5b8181101561407a5761406f600082614043565b60018101905061405c565b5050565b601f8211156140bf5761409081613f5f565b61409984613f74565b810160208510156140a8578190505b6140bc6140b485613f74565b83018261405b565b50505b505050565b600082821c905092915050565b60006140e2600019846008026140c4565b1980831691505092915050565b60006140fb83836140d1565b9150826002028217905092915050565b614114826135db565b67ffffffffffffffff81111561412d5761412c613764565b5b6141378254613e0a565b61414282828561407e565b600060209050601f8311600181146141755760008415614163578287015190505b61416d85826140ef565b8655506141d5565b601f19841661418386613f5f565b60005b828110156141ab57848901518255600182019150602085019450602081019050614186565b868310156141c857848901516141c4601f8916826140d1565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000614239602e836135e6565b9150614244826141dd565b604082019050919050565b600060208201905081810360008301526142688161422c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142a98261368d565b91506142b48361368d565b92508282026142c28161368d565b915082820484148315176142d9576142d861426f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061431a8261368d565b91506143258361368d565b925082614335576143346142e0565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b600061439c602b836135e6565b91506143a782614340565b604082019050919050565b600060208201905081810360008301526143cb8161438f565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061442e602c836135e6565b9150614439826143d2565b604082019050919050565b6000602082019050818103600083015261445d81614421565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006144c96018836135e6565b91506144d482614493565b602082019050919050565b600060208201905081810360008301526144f8816144bc565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061455b6029836135e6565b9150614566826144ff565b604082019050919050565b6000602082019050818103600083015261458a8161454e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006145ed602f836135e6565b91506145f882614591565b604082019050919050565b6000602082019050818103600083015261461c816145e0565b9050919050565b600081905092915050565b6000614639826135db565b6146438185614623565b93506146538185602086016135f7565b80840191505092915050565b6000815461466c81613e0a565b6146768186614623565b9450600182166000811461469157600181146146a6576146d9565b60ff19831686528115158202860193506146d9565b6146af85613f5f565b60005b838110156146d1578154818901526001820191506020810190506146b2565b838801955050505b50505092915050565b60006146ee828661462e565b91506146fa828561462e565b9150614706828461465f565b9150819050949350505050565b6000815190506147228161352b565b92915050565b60006020828403121561473e5761473d613434565b5b600061474c84828501614713565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147b16026836135e6565b91506147bc82614755565b604082019050919050565b600060208201905081810360008301526147e0816147a4565b9050919050565b60006147f28261368d565b91506147fd8361368d565b92508282019050808211156148155761481461426f565b5b92915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b60006148516011836135e6565b915061485c8261481b565b602082019050919050565b6000602082019050818103600083015261488081614844565b9050919050565b60006148928261368d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036148c4576148c361426f565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614905601f836135e6565b9150614910826148cf565b602082019050919050565b60006020820190508181036000830152614934816148f8565b9050919050565b7f46726565204d75746174696f6e206973206e6f74206163746976650000000000600082015250565b6000614971601b836135e6565b915061497c8261493b565b602082019050919050565b600060208201905081810360008301526149a081614964565b9050919050565b6000815190506149b681613697565b92915050565b6000602082840312156149d2576149d1613434565b5b60006149e0848285016149a7565b91505092915050565b7f4d757374206f776e206174206c65617374203120476f6448617465734e46546560008201527f657320746f204d75746174650000000000000000000000000000000000000000602082015250565b6000614a45602c836135e6565b9150614a50826149e9565b604082019050919050565b60006020820190508181036000830152614a7481614a38565b9050919050565b7f4d757374206f776e206174206c65617374207468652041706520416d6f756e7460008201527f20746f206d75746174652e000000000000000000000000000000000000000000602082015250565b6000614ad7602b836135e6565b9150614ae282614a7b565b604082019050919050565b60006020820190508181036000830152614b0681614aca565b9050919050565b6000819050919050565b6000614b32614b2d614b2884614b0d565b613fe3565b61368d565b9050919050565b614b4281614b17565b82525050565b6000604082019050614b5d60008301856136f0565b614b6a6020830184614b39565b9392505050565b7f4d757374206f776e206174206c6561737420312053722042616e616e6f20746f60008201527f206d75746174652c206f722053722042616e616e6f7320796f752077616e742060208201527f746f204d75746174652e00000000000000000000000000000000000000000000604082015250565b6000614bf3604a836135e6565b9150614bfe82614b71565b606082019050919050565b60006020820190508181036000830152614c2281614be6565b9050919050565b7f4d757374206f776e2074686520417065207468617420796f752077616e74207460008201527f6f206d75746174652e0000000000000000000000000000000000000000000000602082015250565b6000614c856029836135e6565b9150614c9082614c29565b604082019050919050565b60006020820190508181036000830152614cb481614c78565b9050919050565b6000606082019050614cd060008301866136f0565b614cdd60208301856136f0565b614cea60408301846138d8565b949350505050565b7f4d757374206f776e206174206c65617374203120526f7474656e2042616e616e60008201527f6f20746f206d75746174652c206f7220526f7474656e2042616e616e6f73207960208201527f6f752077616e7420746f204d75746174652e0000000000000000000000000000604082015250565b6000614d746052836135e6565b9150614d7f82614cf2565b606082019050919050565b60006020820190508181036000830152614da381614d67565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614de06020836135e6565b9150614deb82614daa565b602082019050919050565b60006020820190508181036000830152614e0f81614dd3565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614e72602a836135e6565b9150614e7d82614e16565b604082019050919050565b60006020820190508181036000830152614ea181614e65565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614ede6019836135e6565b9150614ee982614ea8565b602082019050919050565b60006020820190508181036000830152614f0d81614ed1565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614f706025836135e6565b9150614f7b82614f14565b604082019050919050565b60006020820190508181036000830152614f9f81614f63565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150026024836135e6565b915061500d82614fa6565b604082019050919050565b6000602082019050818103600083015261503181614ff5565b9050919050565b60006150438261368d565b915061504e8361368d565b92508282039050818111156150665761506561426f565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006150a26019836135e6565b91506150ad8261506c565b602082019050919050565b600060208201905081810360008301526150d181615095565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006151346032836135e6565b915061513f826150d8565b604082019050919050565b6000602082019050818103600083015261516381615127565b9050919050565b60006151758261368d565b91506151808361368d565b9250826151905761518f6142e0565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006151c28261519b565b6151cc81856151a6565b93506151dc8185602086016135f7565b6151e581613621565b840191505092915050565b600060808201905061520560008301876136f0565b61521260208301866136f0565b61521f60408301856138d8565b818103606083015261523181846151b7565b905095945050505050565b60008151905061524b8161346a565b92915050565b60006020828403121561526757615266613434565b5b60006152758482850161523c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006152e36020836135e6565b91506152ee826152ad565b602082019050919050565b60006020820190508181036000830152615312816152d6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061534f601c836135e6565b915061535a82615319565b602082019050919050565b6000602082019050818103600083015261537e81615342565b905091905056fea26469706673582212204dd3949d3dd6696d0cf9330aeaeb6c97fec1c2aaac329c4bca1e5c0c9a7c124c64736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000154d7574616e7420476f6448617465734e4654656573000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d47484e00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Mutant GodHatesNFTees
Arg [1] : symbol (string): MGHN

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [3] : 4d7574616e7420476f6448617465734e46546565730000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4d47484e00000000000000000000000000000000000000000000000000000000


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.