ETH Price: $3,248.19 (-0.81%)
Gas: 3 Gwei

Token

FORA (FORAtps)
 

Overview

Max Total Supply

0 FORAtps

Holders

10

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 FORAtps
0xc04d59BF919cDaE9C0aeCC628134D93D613A0730
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
FORAtpsNFT

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : FORAtps.sol
/*
------------   --------   -----------     ------    
************  **********  ***********    ********   
----         ----    ---- ----    ---   ----------  
************ ***      *** *********    ****    **** 
------------ ---      --- ---------    ------------ 
****         ****    **** ****  ****   ************ 
----          ----------  ----   ----  ----    ---- 
****           ********   ****    **** ****    **** 
                                                                                                                             
                                                                                          
                                                   
*/
// SPDX-License-Identifier: MIT
// Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract FORAtpsNFT is ERC721URIStorage, Ownable, ReentrancyGuard{
    string private _collectionURI;
    string public baseURI;

  
    bool public pausedwl = true;
    bool public pausedgift = false;
    bool public pausedpublic = false;

 
    uint256 public maxGiftMintId = 22;
    uint256 public giftMintId = 1;


    uint256 public maxWhitelistId = 5000;
    uint256 public whitelistId = 23;
    uint256 public constant WHITELIST_SALE_PRICE = 0.045 ether;

    uint256 public maxPublicMint = 5000;
    uint256 public publicMintId = 23;
    uint256 public constant PUBLIC_SALE_PRICE = 0.045 ether;

    // used to validate whitelists
    bytes32 public giftMerkleRoot;
    bytes32 public whitelistMerkleRoot;

    // keep track of those on whitelist who have claimed their NFT
    mapping(address => bool) public giftclaimed;
    mapping(address => bool) public wlclaimed;

    constructor(string memory _baseURI, string memory collectionURI) ERC721("FORA", "FORAtps") {
        setBaseURI(_baseURI);
        setCollectionURI(collectionURI);
    }

    /**
     * @dev validates merkleProof
     */
    modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) {
        require(
            MerkleProof.verify(
                merkleProof,
                root,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Address does not exist in list"
        );
        _;
    }

    modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) {
        require(
            price * numberOfTokens == msg.value,
            "Incorrect ETH value sent"
        );
        _;
    }

    modifier canMint(uint256 numberOfTokens) {
        require(
            publicMintId + numberOfTokens <= maxPublicMint,
            "Not enough tokens remaining to mint"
        );
        _;
    }

    // ============ PUBLIC FUNCTIONS FOR MINTING ============

    /**
    * @dev 
    */
    function mintGift(
        bytes32[] calldata merkleProof
    )
        public
        isValidMerkleProof(merkleProof, giftMerkleRoot)
        nonReentrant
    {
      require(!pausedgift);  
      require(giftMintId <= maxGiftMintId);
      require(!giftclaimed[msg.sender], "NFT is already claimed by this wallet");
      _mint(msg.sender, giftMintId);
      giftMintId++;
      giftclaimed[msg.sender] = true;
    }

    /**
    * @dev 
    */
    function mintWhitelist(
      bytes32[] calldata merkleProof,
      uint256 numberOfTokens
    )
        public
        payable
        isValidMerkleProof(merkleProof, whitelistMerkleRoot)
        isCorrectPayment(WHITELIST_SALE_PRICE, numberOfTokens)
        nonReentrant
    {
        require(!pausedwl);
        require(numberOfTokens <= 5);
        require(whitelistId <= maxWhitelistId, "minted the maximum # of whitelist tokens");
        require(!wlclaimed[msg.sender], "NFT is already claimed by this wallet"); 
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _mint(msg.sender, whitelistId);
            whitelistId++;
        }
        wlclaimed[msg.sender] = true;
    }

    /**
    * @dev 
    */
    function publicMint(
      uint256 numberOfTokens
    )
        public
        payable
        isCorrectPayment(PUBLIC_SALE_PRICE, numberOfTokens)
        canMint(numberOfTokens)
        nonReentrant
    {
       require(!pausedpublic);
       for (uint256 i = 0; i < numberOfTokens; i++) {
            _mint(msg.sender, publicMintId);
            publicMintId++;
        }

    }

    // ============ PUBLIC READ-ONLY FUNCTIONS ============
    function tokenURI(uint256 tokenId)
      public
      view
      virtual
      override
      returns (string memory)
    {
      require(_exists(tokenId), "ERC721Metadata: query for nonexistent token");
      return string(abi.encodePacked(baseURI, Strings.toString(tokenId), ".json"));
    }

    /**
    * @dev collection URI for marketplace display
    */
    function contractURI() public view returns (string memory) {
        return _collectionURI;
    }


    // ============ OWNER-ONLY ADMIN FUNCTIONS ============
    function setBaseURI(string memory _baseURI) public onlyOwner {
      baseURI = _baseURI;
    }

    /**
    * @dev set collection URI for marketplace display
    */
    function setCollectionURI(string memory collectionURI) public onlyOwner {
        _collectionURI = collectionURI;
    }

    function setGiftMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        giftMerkleRoot = merkleRoot;
    }

    function setWhitelistMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        whitelistMerkleRoot = merkleRoot;
    }

    /**
     * @dev withdraw funds for to specified account
     */
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdrawTokens(IERC20 token) public onlyOwner {
        uint256 balance = token.balanceOf(address(this));
        token.transfer(msg.sender, balance);
    }

    function pausepublic(bool _state) public onlyOwner {
        pausedpublic = _state;
    }

    function pausewl(bool _state) public onlyOwner {
        pausedwl = _state;
    }

    function pausegift(bool _state) public onlyOwner {
        pausedgift = _state;
    }

     function setwlId(uint256 _newmaxMintAmount) public onlyOwner {
        whitelistId = _newmaxMintAmount;
    }

      function setMaxWlId(uint256 _newmaxMintAmount) public onlyOwner {
        maxWhitelistId = _newmaxMintAmount;
    }
    
    function setpublicId(uint256 _newmaxMintAmount) public onlyOwner {
        publicMintId = _newmaxMintAmount;
    }

    function setMaxPublicId(uint256 _newmaxMintAmount) public onlyOwner {
        maxPublicMint = _newmaxMintAmount;
    }

}

File 2 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 3 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 16 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 16 : 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 7 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 12 of 16 : 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 13 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.0;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"collectionURI","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":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giftMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giftMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"giftclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGiftMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelistId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintGift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausedgift","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausedpublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausedwl","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausegift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausepublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausewl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"collectionURI","type":"string"}],"name":"setCollectionURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setGiftMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxPublicId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setMaxWlId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setpublicId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setwlId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040526001600b60006101000a81548160ff0219169083151502179055506000600b60016101000a81548160ff0219169083151502179055506000600b60026101000a81548160ff0219169083151502179055506016600c556001600d55611388600e556017600f5561138860105560176011553480156200008257600080fd5b50604051620052a8380380620052a88339818101604052810190620000a891906200050a565b6040518060400160405280600481526020017f464f5241000000000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f464f52417470730000000000000000000000000000000000000000000000000081525081600090805190602001906200012c929190620003e8565b50806001908051906020019062000145929190620003e8565b505050620001686200015c6200019a60201b60201c565b620001a260201b60201c565b600160088190555062000181826200026860201b60201c565b62000192816200031360201b60201c565b505062000723565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002786200019a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200029e620003be60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ee90620005bf565b60405180910390fd5b80600a90805190602001906200030f929190620003e8565b5050565b620003236200019a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000349620003be60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039990620005bf565b60405180910390fd5b8060099080519060200190620003ba929190620003e8565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003f6906200068f565b90600052602060002090601f0160209004810192826200041a576000855562000466565b82601f106200043557805160ff191683800117855562000466565b8280016001018555821562000466579182015b828111156200046557825182559160200191906001019062000448565b5b50905062000475919062000479565b5090565b5b80821115620004945760008160009055506001016200047a565b5090565b6000620004af620004a98462000615565b620005e1565b905082815260208101848484011115620004c857600080fd5b620004d584828562000659565b509392505050565b600082601f830112620004ef57600080fd5b81516200050184826020860162000498565b91505092915050565b600080604083850312156200051e57600080fd5b600083015167ffffffffffffffff8111156200053957600080fd5b6200054785828601620004dd565b925050602083015167ffffffffffffffff8111156200056557600080fd5b6200057385828601620004dd565b9150509250929050565b60006200058c60208362000648565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006020820190508181036000830152620005da816200057d565b9050919050565b6000604051905081810181811067ffffffffffffffff821117156200060b576200060a620006f4565b5b8060405250919050565b600067ffffffffffffffff821115620006335762000632620006f4565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b60005b83811015620006795780820151818401526020810190506200065c565b8381111562000689576000848401525b50505050565b60006002820490506001821680620006a857607f821691505b60208210811415620006bf57620006be620006c5565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614b7580620007336000396000f3fe6080604052600436106102ae5760003560e01c80638da5cb5b11610175578063bd32fb66116100dc578063db69425611610095578063e8a3d4851161006f578063e8a3d48514610a58578063e985e9c514610a83578063f2875f0914610ac0578063f2fde38b14610ae9576102ae565b8063db694256146109d7578063e68be24a14610a02578063e7ddc5ad14610a2d576102ae565b8063bd32fb66146108b5578063bddb20c7146108de578063c5b2e1591461091b578063c87b56dd14610944578063cabadaa014610981578063d30068a4146109ac576102ae565b8063aa98e0c61161012e578063aa98e0c6146107a7578063b5da14b0146107d2578063b77807eb146107fb578063b88d4fde14610838578063b967f51b14610861578063bc912e1a1461088a576102ae565b80638da5cb5b146106b857806395d89b41146106e3578063a19829c01461070e578063a22cb46514610739578063a6d612f914610762578063a772be781461077e576102ae565b80633ccfd60b116102195780636c0360eb116101d25780636c0360eb146105bc57806370a08231146105e7578063715018a6146106245780637b6d1f541461063b57806380e95ae114610664578063811dab351461068f576102ae565b80633ccfd60b146104c457806342842e0e146104db57806349df728c1461050457806355f804b31461052d5780635610f3c5146105565780636352211e1461057f576102ae565b806323b872dd1161026b57806323b872dd146103d75780632639f460146104005780632db115441461042957806330478b6714610445578063385443f9146104705780633ba46d461461049b576102ae565b806301ffc9a7146102b357806306fdde03146102f057806307e89ec01461031b578063081812fc14610346578063095ea7b3146103835780630fab6197146103ac575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d591906137b1565b610b12565b6040516102e79190614308565b60405180910390f35b3480156102fc57600080fd5b50610305610bf4565b604051610312919061433e565b60405180910390f35b34801561032757600080fd5b50610330610c86565b60405161033d9190614620565b60405180910390f35b34801561035257600080fd5b5061036d6004803603810190610368919061386d565b610c91565b60405161037a9190614278565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a5919061365d565b610d16565b005b3480156103b857600080fd5b506103c1610e2e565b6040516103ce9190614620565b60405180910390f35b3480156103e357600080fd5b506103fe60048036038101906103f99190613557565b610e34565b005b34801561040c57600080fd5b506104276004803603810190610422919061382c565b610e94565b005b610443600480360381019061043e919061386d565b610f2a565b005b34801561045157600080fd5b5061045a61108c565b6040516104679190614620565b60405180910390f35b34801561047c57600080fd5b50610485611092565b6040516104929190614308565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd9190613788565b6110a5565b005b3480156104d057600080fd5b506104d961112b565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190613557565b6111f6565b005b34801561051057600080fd5b5061052b60048036038101906105269190613803565b611216565b005b34801561053957600080fd5b50610554600480360381019061054f919061382c565b6113b1565b005b34801561056257600080fd5b5061057d6004803603810190610578919061386d565b611447565b005b34801561058b57600080fd5b506105a660048036038101906105a1919061386d565b6114cd565b6040516105b39190614278565b60405180910390f35b3480156105c857600080fd5b506105d161157f565b6040516105de919061433e565b60405180910390f35b3480156105f357600080fd5b5061060e600480360381019061060991906134f2565b61160d565b60405161061b9190614620565b60405180910390f35b34801561063057600080fd5b506106396116c5565b005b34801561064757600080fd5b50610662600480360381019061065d9190613736565b61174d565b005b34801561067057600080fd5b506106796117e6565b6040516106869190614620565b60405180910390f35b34801561069b57600080fd5b506106b660048036038101906106b19190613699565b6117ec565b005b3480156106c457600080fd5b506106cd611a33565b6040516106da9190614278565b60405180910390f35b3480156106ef57600080fd5b506106f8611a5d565b604051610705919061433e565b60405180910390f35b34801561071a57600080fd5b50610723611aef565b6040516107309190614323565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b9190613621565b611af5565b005b61077c600480360381019061077791906136de565b611b0b565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613736565b611e0e565b005b3480156107b357600080fd5b506107bc611ea7565b6040516107c99190614323565b60405180910390f35b3480156107de57600080fd5b506107f960048036038101906107f4919061386d565b611ead565b005b34801561080757600080fd5b50610822600480360381019061081d91906134f2565b611f33565b60405161082f9190614308565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a91906135a6565b611f53565b005b34801561086d57600080fd5b506108886004803603810190610883919061386d565b611fb5565b005b34801561089657600080fd5b5061089f61203b565b6040516108ac9190614620565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190613788565b612046565b005b3480156108ea57600080fd5b50610905600480360381019061090091906134f2565b6120cc565b6040516109129190614308565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d9190613736565b6120ec565b005b34801561095057600080fd5b5061096b6004803603810190610966919061386d565b612185565b604051610978919061433e565b60405180910390f35b34801561098d57600080fd5b50610996612201565b6040516109a39190614620565b60405180910390f35b3480156109b857600080fd5b506109c1612207565b6040516109ce9190614620565b60405180910390f35b3480156109e357600080fd5b506109ec61220d565b6040516109f99190614308565b60405180910390f35b348015610a0e57600080fd5b50610a17612220565b604051610a249190614620565b60405180910390f35b348015610a3957600080fd5b50610a42612226565b604051610a4f9190614308565b60405180910390f35b348015610a6457600080fd5b50610a6d612239565b604051610a7a919061433e565b60405180910390f35b348015610a8f57600080fd5b50610aaa6004803603810190610aa5919061351b565b6122cb565b604051610ab79190614308565b60405180910390f35b348015610acc57600080fd5b50610ae76004803603810190610ae2919061386d565b61235f565b005b348015610af557600080fd5b50610b106004803603810190610b0b91906134f2565b6123e5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bdd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bed5750610bec826124dd565b5b9050919050565b606060008054610c039061490b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2f9061490b565b8015610c7c5780601f10610c5157610100808354040283529160200191610c7c565b820191906000526020600020905b815481529060010190602001808311610c5f57829003601f168201915b5050505050905090565b669fdf42f6e4800081565b6000610c9c82612547565b610cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd290614560565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d21826114cd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d89906145a0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610db16125b3565b73ffffffffffffffffffffffffffffffffffffffff161480610de05750610ddf81610dda6125b3565b6122cb565b5b610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e16906144c0565b60405180910390fd5b610e2983836125bb565b505050565b60115481565b610e45610e3f6125b3565b82612674565b610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b906145c0565b60405180910390fd5b610e8f838383612752565b505050565b610e9c6125b3565b73ffffffffffffffffffffffffffffffffffffffff16610eba611a33565b73ffffffffffffffffffffffffffffffffffffffff1614610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0790614580565b60405180910390fd5b8060099080519060200190610f26929190613278565b5050565b669fdf42f6e4800081348183610f4091906147ab565b14610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f77906145e0565b60405180910390fd5b8260105481601154610f929190614724565b1115610fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fca90614420565b60405180910390fd5b60026008541415611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090614600565b60405180910390fd5b6002600881905550600b60029054906101000a900460ff161561103b57600080fd5b60005b8481101561107d57611052336011546129b9565b601160008154809291906110659061493d565b919050555080806110759061493d565b91505061103e565b50600160088190555050505050565b600d5481565b600b60029054906101000a900460ff1681565b6110ad6125b3565b73ffffffffffffffffffffffffffffffffffffffff166110cb611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111890614580565b60405180910390fd5b8060128190555050565b6111336125b3565b73ffffffffffffffffffffffffffffffffffffffff16611151611a33565b73ffffffffffffffffffffffffffffffffffffffff16146111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119e90614580565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111f2573d6000803e3d6000fd5b5050565b61121183838360405180602001604052806000815250611f53565b505050565b61121e6125b3565b73ffffffffffffffffffffffffffffffffffffffff1661123c611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611292576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128990614580565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112cd9190614278565b60206040518083038186803b1580156112e557600080fd5b505afa1580156112f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131d9190613896565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161135a9291906142df565b602060405180830381600087803b15801561137457600080fd5b505af1158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac919061375f565b505050565b6113b96125b3565b73ffffffffffffffffffffffffffffffffffffffff166113d7611a33565b73ffffffffffffffffffffffffffffffffffffffff161461142d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142490614580565b60405180910390fd5b80600a9080519060200190611443929190613278565b5050565b61144f6125b3565b73ffffffffffffffffffffffffffffffffffffffff1661146d611a33565b73ffffffffffffffffffffffffffffffffffffffff16146114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba90614580565b60405180910390fd5b80600f8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90614500565b60405180910390fd5b80915050919050565b600a805461158c9061490b565b80601f01602080910402602001604051908101604052809291908181526020018280546115b89061490b565b80156116055780601f106115da57610100808354040283529160200191611605565b820191906000526020600020905b8154815290600101906020018083116115e857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561167e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611675906144e0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116cd6125b3565b73ffffffffffffffffffffffffffffffffffffffff166116eb611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173890614580565b60405180910390fd5b61174b6000612b93565b565b6117556125b3565b73ffffffffffffffffffffffffffffffffffffffff16611773611a33565b73ffffffffffffffffffffffffffffffffffffffff16146117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090614580565b60405180910390fd5b80600b60026101000a81548160ff02191690831515021790555050565b600c5481565b8181601254611863838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611848919061422e565b60405160208183030381529060405280519060200120612c59565b6118a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189990614460565b60405180910390fd5b600260085414156118e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118df90614600565b60405180910390fd5b6002600881905550600b60019054906101000a900460ff161561190a57600080fd5b600c54600d54111561191b57600080fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156119a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199f906144a0565b60405180910390fd5b6119b433600d546129b9565b600d60008154809291906119c79061493d565b91905055506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a6c9061490b565b80601f0160208091040260200160405190810160405280929190818152602001828054611a989061490b565b8015611ae55780601f10611aba57610100808354040283529160200191611ae5565b820191906000526020600020905b815481529060010190602001808311611ac857829003601f168201915b5050505050905090565b60125481565b611b07611b006125b3565b8383612c70565b5050565b8282601354611b82838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611b67919061422e565b60405160208183030381529060405280519060200120612c59565b611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890614460565b60405180910390fd5b669fdf42f6e4800084348183611bd791906147ab565b14611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e906145e0565b60405180910390fd5b60026008541415611c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5490614600565b60405180910390fd5b6002600881905550600b60009054906101000a900460ff1615611c7f57600080fd5b6005861115611c8d57600080fd5b600e54600f541115611cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccb90614480565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d58906144a0565b60405180910390fd5b60005b86811015611da357611d7833600f546129b9565b600f6000815480929190611d8b9061493d565b91905055508080611d9b9061493d565b915050611d64565b506001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050505050565b611e166125b3565b73ffffffffffffffffffffffffffffffffffffffff16611e34611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8190614580565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b60135481565b611eb56125b3565b73ffffffffffffffffffffffffffffffffffffffff16611ed3611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2090614580565b60405180910390fd5b8060108190555050565b60146020528060005260406000206000915054906101000a900460ff1681565b611f64611f5e6125b3565b83612674565b611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a906145c0565b60405180910390fd5b611faf84848484612ddd565b50505050565b611fbd6125b3565b73ffffffffffffffffffffffffffffffffffffffff16611fdb611a33565b73ffffffffffffffffffffffffffffffffffffffff1614612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890614580565b60405180910390fd5b80600e8190555050565b669fdf42f6e4800081565b61204e6125b3565b73ffffffffffffffffffffffffffffffffffffffff1661206c611a33565b73ffffffffffffffffffffffffffffffffffffffff16146120c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b990614580565b60405180910390fd5b8060138190555050565b60156020528060005260406000206000915054906101000a900460ff1681565b6120f46125b3565b73ffffffffffffffffffffffffffffffffffffffff16612112611a33565b73ffffffffffffffffffffffffffffffffffffffff1614612168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215f90614580565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b606061219082612547565b6121cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c690614540565b60405180910390fd5b600a6121da83612e39565b6040516020016121eb929190614249565b6040516020818303038152906040529050919050565b60105481565b600e5481565b600b60019054906101000a900460ff1681565b600f5481565b600b60009054906101000a900460ff1681565b6060600980546122489061490b565b80601f01602080910402602001604051908101604052809291908181526020018280546122749061490b565b80156122c15780601f10612296576101008083540402835291602001916122c1565b820191906000526020600020905b8154815290600101906020018083116122a457829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123676125b3565b73ffffffffffffffffffffffffffffffffffffffff16612385611a33565b73ffffffffffffffffffffffffffffffffffffffff16146123db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d290614580565b60405180910390fd5b8060118190555050565b6123ed6125b3565b73ffffffffffffffffffffffffffffffffffffffff1661240b611a33565b73ffffffffffffffffffffffffffffffffffffffff1614612461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245890614580565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c890614380565b60405180910390fd5b6124da81612b93565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661262e836114cd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061267f82612547565b6126be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b590614440565b60405180910390fd5b60006126c9836114cd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273857508373ffffffffffffffffffffffffffffffffffffffff1661272084610c91565b73ffffffffffffffffffffffffffffffffffffffff16145b80612749575061274881856122cb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612772826114cd565b73ffffffffffffffffffffffffffffffffffffffff16146127c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bf906143a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282f906143e0565b60405180910390fd5b612843838383612fe6565b61284e6000826125bb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289e9190614805565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128f59190614724565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129b4838383612feb565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2090614520565b60405180910390fd5b612a3281612547565b15612a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a69906143c0565b60405180910390fd5b612a7e60008383612fe6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ace9190614724565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b8f60008383612feb565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612c668584612ff0565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd690614400565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dd09190614308565b60405180910390a3505050565b612de8848484612752565b612df48484848461308b565b612e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2a90614360565b60405180910390fd5b50505050565b60606000821415612e81576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fe1565b600082905060005b60008214612eb3578080612e9c9061493d565b915050600a82612eac919061477a565b9150612e89565b60008167ffffffffffffffff811115612ef5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f275781602001600182028036833780820191505090505b5090505b60008514612fda57600182612f409190614805565b9150600a85612f4f91906149aa565b6030612f5b9190614724565b60f81b818381518110612f97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fd3919061477a565b9450612f2b565b8093505050505b919050565b505050565b505050565b60008082905060005b845181101561308057600085828151811061303d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161305f576130588382613222565b925061306c565b6130698184613222565b92505b5080806130789061493d565b915050612ff9565b508091505092915050565b60006130ac8473ffffffffffffffffffffffffffffffffffffffff16613239565b15613215578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130d56125b3565b8786866040518563ffffffff1660e01b81526004016130f79493929190614293565b602060405180830381600087803b15801561311157600080fd5b505af192505050801561314257506040513d601f19601f8201168201806040525081019061313f91906137da565b60015b6131c5573d8060008114613172576040519150601f19603f3d011682016040523d82523d6000602084013e613177565b606091505b506000815114156131bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b490614360565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061321a565b600190505b949350505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff16803b806020016040519081016040528181526000908060200190933c51119050919050565b8280546132849061490b565b90600052602060002090601f0160209004810192826132a657600085556132ed565b82601f106132bf57805160ff19168380011785556132ed565b828001600101855582156132ed579182015b828111156132ec5782518255916020019190600101906132d1565b5b5090506132fa91906132fe565b5090565b5b808211156133175760008160009055506001016132ff565b5090565b600061332e6133298461466c565b61463b565b90508281526020810184848401111561334657600080fd5b6133518482856148c9565b509392505050565b600061336c6133678461469c565b61463b565b90508281526020810184848401111561338457600080fd5b61338f8482856148c9565b509392505050565b6000813590506133a681614ab5565b92915050565b60008083601f8401126133be57600080fd5b8235905067ffffffffffffffff8111156133d757600080fd5b6020830191508360208202830111156133ef57600080fd5b9250929050565b60008135905061340581614acc565b92915050565b60008151905061341a81614acc565b92915050565b60008135905061342f81614ae3565b92915050565b60008135905061344481614afa565b92915050565b60008151905061345981614afa565b92915050565b600082601f83011261347057600080fd5b813561348084826020860161331b565b91505092915050565b60008135905061349881614b11565b92915050565b600082601f8301126134af57600080fd5b81356134bf848260208601613359565b91505092915050565b6000813590506134d781614b28565b92915050565b6000815190506134ec81614b28565b92915050565b60006020828403121561350457600080fd5b600061351284828501613397565b91505092915050565b6000806040838503121561352e57600080fd5b600061353c85828601613397565b925050602061354d85828601613397565b9150509250929050565b60008060006060848603121561356c57600080fd5b600061357a86828701613397565b935050602061358b86828701613397565b925050604061359c868287016134c8565b9150509250925092565b600080600080608085870312156135bc57600080fd5b60006135ca87828801613397565b94505060206135db87828801613397565b93505060406135ec878288016134c8565b925050606085013567ffffffffffffffff81111561360957600080fd5b6136158782880161345f565b91505092959194509250565b6000806040838503121561363457600080fd5b600061364285828601613397565b9250506020613653858286016133f6565b9150509250929050565b6000806040838503121561367057600080fd5b600061367e85828601613397565b925050602061368f858286016134c8565b9150509250929050565b600080602083850312156136ac57600080fd5b600083013567ffffffffffffffff8111156136c657600080fd5b6136d2858286016133ac565b92509250509250929050565b6000806000604084860312156136f357600080fd5b600084013567ffffffffffffffff81111561370d57600080fd5b613719868287016133ac565b9350935050602061372c868287016134c8565b9150509250925092565b60006020828403121561374857600080fd5b6000613756848285016133f6565b91505092915050565b60006020828403121561377157600080fd5b600061377f8482850161340b565b91505092915050565b60006020828403121561379a57600080fd5b60006137a884828501613420565b91505092915050565b6000602082840312156137c357600080fd5b60006137d184828501613435565b91505092915050565b6000602082840312156137ec57600080fd5b60006137fa8482850161344a565b91505092915050565b60006020828403121561381557600080fd5b600061382384828501613489565b91505092915050565b60006020828403121561383e57600080fd5b600082013567ffffffffffffffff81111561385857600080fd5b6138648482850161349e565b91505092915050565b60006020828403121561387f57600080fd5b600061388d848285016134c8565b91505092915050565b6000602082840312156138a857600080fd5b60006138b6848285016134dd565b91505092915050565b6138c881614839565b82525050565b6138df6138da82614839565b614986565b82525050565b6138ee8161484b565b82525050565b6138fd81614857565b82525050565b600061390e826146e1565b61391881856146f7565b93506139288185602086016148d8565b61393181614a97565b840191505092915050565b6000613947826146ec565b6139518185614708565b93506139618185602086016148d8565b61396a81614a97565b840191505092915050565b6000613980826146ec565b61398a8185614719565b935061399a8185602086016148d8565b80840191505092915050565b600081546139b38161490b565b6139bd8186614719565b945060018216600081146139d857600181146139e957613a1c565b60ff19831686528186019350613a1c565b6139f2856146cc565b60005b83811015613a14578154818901526001820191506020810190506139f5565b838801955050505b50505092915050565b6000613a32603283614708565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613a98602683614708565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613afe602583614708565b91507f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008301527f6f776e65720000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b64601c83614708565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613ba4602483614708565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c0a601983614708565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c4a602383614708565b91507f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720746f206d60008301527f696e7400000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cb0602c83614708565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d16601e83614708565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b6000613d56602883614708565b91507f6d696e74656420746865206d6178696d756d2023206f662077686974656c697360008301527f7420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613dbc602583614708565b91507f4e465420697320616c726561647920636c61696d65642062792074686973207760008301527f616c6c65740000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e22603883614708565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613e88602a83614708565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613eee602983614708565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f54602083614708565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613f94602b83614708565b91507f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008301527f7374656e7420746f6b656e0000000000000000000000000000000000000000006020830152604082019050919050565b6000613ffa602c83614708565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614060600583614719565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006140a0602083614708565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006140e0602183614708565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614146603183614708565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006141ac601883614708565b91507f496e636f7272656374204554482076616c75652073656e7400000000000000006000830152602082019050919050565b60006141ec601f83614708565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b614228816148bf565b82525050565b600061423a82846138ce565b60148201915081905092915050565b600061425582856139a6565b91506142618284613975565b915061426c82614053565b91508190509392505050565b600060208201905061428d60008301846138bf565b92915050565b60006080820190506142a860008301876138bf565b6142b560208301866138bf565b6142c2604083018561421f565b81810360608301526142d48184613903565b905095945050505050565b60006040820190506142f460008301856138bf565b614301602083018461421f565b9392505050565b600060208201905061431d60008301846138e5565b92915050565b600060208201905061433860008301846138f4565b92915050565b60006020820190508181036000830152614358818461393c565b905092915050565b6000602082019050818103600083015261437981613a25565b9050919050565b6000602082019050818103600083015261439981613a8b565b9050919050565b600060208201905081810360008301526143b981613af1565b9050919050565b600060208201905081810360008301526143d981613b57565b9050919050565b600060208201905081810360008301526143f981613b97565b9050919050565b6000602082019050818103600083015261441981613bfd565b9050919050565b6000602082019050818103600083015261443981613c3d565b9050919050565b6000602082019050818103600083015261445981613ca3565b9050919050565b6000602082019050818103600083015261447981613d09565b9050919050565b6000602082019050818103600083015261449981613d49565b9050919050565b600060208201905081810360008301526144b981613daf565b9050919050565b600060208201905081810360008301526144d981613e15565b9050919050565b600060208201905081810360008301526144f981613e7b565b9050919050565b6000602082019050818103600083015261451981613ee1565b9050919050565b6000602082019050818103600083015261453981613f47565b9050919050565b6000602082019050818103600083015261455981613f87565b9050919050565b6000602082019050818103600083015261457981613fed565b9050919050565b6000602082019050818103600083015261459981614093565b9050919050565b600060208201905081810360008301526145b9816140d3565b9050919050565b600060208201905081810360008301526145d981614139565b9050919050565b600060208201905081810360008301526145f98161419f565b9050919050565b60006020820190508181036000830152614619816141df565b9050919050565b6000602082019050614635600083018461421f565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561466257614661614a68565b5b8060405250919050565b600067ffffffffffffffff82111561468757614686614a68565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156146b7576146b6614a68565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061472f826148bf565b915061473a836148bf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561476f5761476e6149db565b5b828201905092915050565b6000614785826148bf565b9150614790836148bf565b9250826147a05761479f614a0a565b5b828204905092915050565b60006147b6826148bf565b91506147c1836148bf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147fa576147f96149db565b5b828202905092915050565b6000614810826148bf565b915061481b836148bf565b92508282101561482e5761482d6149db565b5b828203905092915050565b60006148448261489f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061489882614839565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156148f65780820151818401526020810190506148db565b83811115614905576000848401525b50505050565b6000600282049050600182168061492357607f821691505b6020821081141561493757614936614a39565b5b50919050565b6000614948826148bf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561497b5761497a6149db565b5b600182019050919050565b600061499182614998565b9050919050565b60006149a382614aa8565b9050919050565b60006149b5826148bf565b91506149c0836148bf565b9250826149d0576149cf614a0a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614abe81614839565b8114614ac957600080fd5b50565b614ad58161484b565b8114614ae057600080fd5b50565b614aec81614857565b8114614af757600080fd5b50565b614b0381614861565b8114614b0e57600080fd5b50565b614b1a8161488d565b8114614b2557600080fd5b50565b614b31816148bf565b8114614b3c57600080fd5b5056fea264697066735822122069c0a3558dc7a8abced075f503bee8560a10c7efd64c414499112b758d34557c64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e545662594570585062366853584b7a416744745735505471667150316b523853416a7947456b45384863692f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d577066756e6d6b766e7979555a36627a4453485a4d62414178564566524d477a39334e7551714854775068472f00000000000000000000

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c80638da5cb5b11610175578063bd32fb66116100dc578063db69425611610095578063e8a3d4851161006f578063e8a3d48514610a58578063e985e9c514610a83578063f2875f0914610ac0578063f2fde38b14610ae9576102ae565b8063db694256146109d7578063e68be24a14610a02578063e7ddc5ad14610a2d576102ae565b8063bd32fb66146108b5578063bddb20c7146108de578063c5b2e1591461091b578063c87b56dd14610944578063cabadaa014610981578063d30068a4146109ac576102ae565b8063aa98e0c61161012e578063aa98e0c6146107a7578063b5da14b0146107d2578063b77807eb146107fb578063b88d4fde14610838578063b967f51b14610861578063bc912e1a1461088a576102ae565b80638da5cb5b146106b857806395d89b41146106e3578063a19829c01461070e578063a22cb46514610739578063a6d612f914610762578063a772be781461077e576102ae565b80633ccfd60b116102195780636c0360eb116101d25780636c0360eb146105bc57806370a08231146105e7578063715018a6146106245780637b6d1f541461063b57806380e95ae114610664578063811dab351461068f576102ae565b80633ccfd60b146104c457806342842e0e146104db57806349df728c1461050457806355f804b31461052d5780635610f3c5146105565780636352211e1461057f576102ae565b806323b872dd1161026b57806323b872dd146103d75780632639f460146104005780632db115441461042957806330478b6714610445578063385443f9146104705780633ba46d461461049b576102ae565b806301ffc9a7146102b357806306fdde03146102f057806307e89ec01461031b578063081812fc14610346578063095ea7b3146103835780630fab6197146103ac575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d591906137b1565b610b12565b6040516102e79190614308565b60405180910390f35b3480156102fc57600080fd5b50610305610bf4565b604051610312919061433e565b60405180910390f35b34801561032757600080fd5b50610330610c86565b60405161033d9190614620565b60405180910390f35b34801561035257600080fd5b5061036d6004803603810190610368919061386d565b610c91565b60405161037a9190614278565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a5919061365d565b610d16565b005b3480156103b857600080fd5b506103c1610e2e565b6040516103ce9190614620565b60405180910390f35b3480156103e357600080fd5b506103fe60048036038101906103f99190613557565b610e34565b005b34801561040c57600080fd5b506104276004803603810190610422919061382c565b610e94565b005b610443600480360381019061043e919061386d565b610f2a565b005b34801561045157600080fd5b5061045a61108c565b6040516104679190614620565b60405180910390f35b34801561047c57600080fd5b50610485611092565b6040516104929190614308565b60405180910390f35b3480156104a757600080fd5b506104c260048036038101906104bd9190613788565b6110a5565b005b3480156104d057600080fd5b506104d961112b565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190613557565b6111f6565b005b34801561051057600080fd5b5061052b60048036038101906105269190613803565b611216565b005b34801561053957600080fd5b50610554600480360381019061054f919061382c565b6113b1565b005b34801561056257600080fd5b5061057d6004803603810190610578919061386d565b611447565b005b34801561058b57600080fd5b506105a660048036038101906105a1919061386d565b6114cd565b6040516105b39190614278565b60405180910390f35b3480156105c857600080fd5b506105d161157f565b6040516105de919061433e565b60405180910390f35b3480156105f357600080fd5b5061060e600480360381019061060991906134f2565b61160d565b60405161061b9190614620565b60405180910390f35b34801561063057600080fd5b506106396116c5565b005b34801561064757600080fd5b50610662600480360381019061065d9190613736565b61174d565b005b34801561067057600080fd5b506106796117e6565b6040516106869190614620565b60405180910390f35b34801561069b57600080fd5b506106b660048036038101906106b19190613699565b6117ec565b005b3480156106c457600080fd5b506106cd611a33565b6040516106da9190614278565b60405180910390f35b3480156106ef57600080fd5b506106f8611a5d565b604051610705919061433e565b60405180910390f35b34801561071a57600080fd5b50610723611aef565b6040516107309190614323565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b9190613621565b611af5565b005b61077c600480360381019061077791906136de565b611b0b565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613736565b611e0e565b005b3480156107b357600080fd5b506107bc611ea7565b6040516107c99190614323565b60405180910390f35b3480156107de57600080fd5b506107f960048036038101906107f4919061386d565b611ead565b005b34801561080757600080fd5b50610822600480360381019061081d91906134f2565b611f33565b60405161082f9190614308565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a91906135a6565b611f53565b005b34801561086d57600080fd5b506108886004803603810190610883919061386d565b611fb5565b005b34801561089657600080fd5b5061089f61203b565b6040516108ac9190614620565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190613788565b612046565b005b3480156108ea57600080fd5b50610905600480360381019061090091906134f2565b6120cc565b6040516109129190614308565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d9190613736565b6120ec565b005b34801561095057600080fd5b5061096b6004803603810190610966919061386d565b612185565b604051610978919061433e565b60405180910390f35b34801561098d57600080fd5b50610996612201565b6040516109a39190614620565b60405180910390f35b3480156109b857600080fd5b506109c1612207565b6040516109ce9190614620565b60405180910390f35b3480156109e357600080fd5b506109ec61220d565b6040516109f99190614308565b60405180910390f35b348015610a0e57600080fd5b50610a17612220565b604051610a249190614620565b60405180910390f35b348015610a3957600080fd5b50610a42612226565b604051610a4f9190614308565b60405180910390f35b348015610a6457600080fd5b50610a6d612239565b604051610a7a919061433e565b60405180910390f35b348015610a8f57600080fd5b50610aaa6004803603810190610aa5919061351b565b6122cb565b604051610ab79190614308565b60405180910390f35b348015610acc57600080fd5b50610ae76004803603810190610ae2919061386d565b61235f565b005b348015610af557600080fd5b50610b106004803603810190610b0b91906134f2565b6123e5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bdd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bed5750610bec826124dd565b5b9050919050565b606060008054610c039061490b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2f9061490b565b8015610c7c5780601f10610c5157610100808354040283529160200191610c7c565b820191906000526020600020905b815481529060010190602001808311610c5f57829003601f168201915b5050505050905090565b669fdf42f6e4800081565b6000610c9c82612547565b610cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd290614560565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d21826114cd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d89906145a0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610db16125b3565b73ffffffffffffffffffffffffffffffffffffffff161480610de05750610ddf81610dda6125b3565b6122cb565b5b610e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e16906144c0565b60405180910390fd5b610e2983836125bb565b505050565b60115481565b610e45610e3f6125b3565b82612674565b610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b906145c0565b60405180910390fd5b610e8f838383612752565b505050565b610e9c6125b3565b73ffffffffffffffffffffffffffffffffffffffff16610eba611a33565b73ffffffffffffffffffffffffffffffffffffffff1614610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0790614580565b60405180910390fd5b8060099080519060200190610f26929190613278565b5050565b669fdf42f6e4800081348183610f4091906147ab565b14610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f77906145e0565b60405180910390fd5b8260105481601154610f929190614724565b1115610fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fca90614420565b60405180910390fd5b60026008541415611019576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101090614600565b60405180910390fd5b6002600881905550600b60029054906101000a900460ff161561103b57600080fd5b60005b8481101561107d57611052336011546129b9565b601160008154809291906110659061493d565b919050555080806110759061493d565b91505061103e565b50600160088190555050505050565b600d5481565b600b60029054906101000a900460ff1681565b6110ad6125b3565b73ffffffffffffffffffffffffffffffffffffffff166110cb611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111890614580565b60405180910390fd5b8060128190555050565b6111336125b3565b73ffffffffffffffffffffffffffffffffffffffff16611151611a33565b73ffffffffffffffffffffffffffffffffffffffff16146111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119e90614580565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111f2573d6000803e3d6000fd5b5050565b61121183838360405180602001604052806000815250611f53565b505050565b61121e6125b3565b73ffffffffffffffffffffffffffffffffffffffff1661123c611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611292576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128990614580565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112cd9190614278565b60206040518083038186803b1580156112e557600080fd5b505afa1580156112f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131d9190613896565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161135a9291906142df565b602060405180830381600087803b15801561137457600080fd5b505af1158015611388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ac919061375f565b505050565b6113b96125b3565b73ffffffffffffffffffffffffffffffffffffffff166113d7611a33565b73ffffffffffffffffffffffffffffffffffffffff161461142d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142490614580565b60405180910390fd5b80600a9080519060200190611443929190613278565b5050565b61144f6125b3565b73ffffffffffffffffffffffffffffffffffffffff1661146d611a33565b73ffffffffffffffffffffffffffffffffffffffff16146114c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ba90614580565b60405180910390fd5b80600f8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156d90614500565b60405180910390fd5b80915050919050565b600a805461158c9061490b565b80601f01602080910402602001604051908101604052809291908181526020018280546115b89061490b565b80156116055780601f106115da57610100808354040283529160200191611605565b820191906000526020600020905b8154815290600101906020018083116115e857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561167e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611675906144e0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116cd6125b3565b73ffffffffffffffffffffffffffffffffffffffff166116eb611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611741576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173890614580565b60405180910390fd5b61174b6000612b93565b565b6117556125b3565b73ffffffffffffffffffffffffffffffffffffffff16611773611a33565b73ffffffffffffffffffffffffffffffffffffffff16146117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090614580565b60405180910390fd5b80600b60026101000a81548160ff02191690831515021790555050565b600c5481565b8181601254611863838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611848919061422e565b60405160208183030381529060405280519060200120612c59565b6118a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189990614460565b60405180910390fd5b600260085414156118e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118df90614600565b60405180910390fd5b6002600881905550600b60019054906101000a900460ff161561190a57600080fd5b600c54600d54111561191b57600080fd5b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156119a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199f906144a0565b60405180910390fd5b6119b433600d546129b9565b600d60008154809291906119c79061493d565b91905055506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a6c9061490b565b80601f0160208091040260200160405190810160405280929190818152602001828054611a989061490b565b8015611ae55780601f10611aba57610100808354040283529160200191611ae5565b820191906000526020600020905b815481529060010190602001808311611ac857829003601f168201915b5050505050905090565b60125481565b611b07611b006125b3565b8383612c70565b5050565b8282601354611b82838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611b67919061422e565b60405160208183030381529060405280519060200120612c59565b611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890614460565b60405180910390fd5b669fdf42f6e4800084348183611bd791906147ab565b14611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e906145e0565b60405180910390fd5b60026008541415611c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5490614600565b60405180910390fd5b6002600881905550600b60009054906101000a900460ff1615611c7f57600080fd5b6005861115611c8d57600080fd5b600e54600f541115611cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccb90614480565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d58906144a0565b60405180910390fd5b60005b86811015611da357611d7833600f546129b9565b600f6000815480929190611d8b9061493d565b91905055508080611d9b9061493d565b915050611d64565b506001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016008819055505050505050505050565b611e166125b3565b73ffffffffffffffffffffffffffffffffffffffff16611e34611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8190614580565b60405180910390fd5b80600b60016101000a81548160ff02191690831515021790555050565b60135481565b611eb56125b3565b73ffffffffffffffffffffffffffffffffffffffff16611ed3611a33565b73ffffffffffffffffffffffffffffffffffffffff1614611f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2090614580565b60405180910390fd5b8060108190555050565b60146020528060005260406000206000915054906101000a900460ff1681565b611f64611f5e6125b3565b83612674565b611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a906145c0565b60405180910390fd5b611faf84848484612ddd565b50505050565b611fbd6125b3565b73ffffffffffffffffffffffffffffffffffffffff16611fdb611a33565b73ffffffffffffffffffffffffffffffffffffffff1614612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890614580565b60405180910390fd5b80600e8190555050565b669fdf42f6e4800081565b61204e6125b3565b73ffffffffffffffffffffffffffffffffffffffff1661206c611a33565b73ffffffffffffffffffffffffffffffffffffffff16146120c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b990614580565b60405180910390fd5b8060138190555050565b60156020528060005260406000206000915054906101000a900460ff1681565b6120f46125b3565b73ffffffffffffffffffffffffffffffffffffffff16612112611a33565b73ffffffffffffffffffffffffffffffffffffffff1614612168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215f90614580565b60405180910390fd5b80600b60006101000a81548160ff02191690831515021790555050565b606061219082612547565b6121cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c690614540565b60405180910390fd5b600a6121da83612e39565b6040516020016121eb929190614249565b6040516020818303038152906040529050919050565b60105481565b600e5481565b600b60019054906101000a900460ff1681565b600f5481565b600b60009054906101000a900460ff1681565b6060600980546122489061490b565b80601f01602080910402602001604051908101604052809291908181526020018280546122749061490b565b80156122c15780601f10612296576101008083540402835291602001916122c1565b820191906000526020600020905b8154815290600101906020018083116122a457829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123676125b3565b73ffffffffffffffffffffffffffffffffffffffff16612385611a33565b73ffffffffffffffffffffffffffffffffffffffff16146123db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d290614580565b60405180910390fd5b8060118190555050565b6123ed6125b3565b73ffffffffffffffffffffffffffffffffffffffff1661240b611a33565b73ffffffffffffffffffffffffffffffffffffffff1614612461576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245890614580565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c890614380565b60405180910390fd5b6124da81612b93565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661262e836114cd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061267f82612547565b6126be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b590614440565b60405180910390fd5b60006126c9836114cd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273857508373ffffffffffffffffffffffffffffffffffffffff1661272084610c91565b73ffffffffffffffffffffffffffffffffffffffff16145b80612749575061274881856122cb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612772826114cd565b73ffffffffffffffffffffffffffffffffffffffff16146127c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bf906143a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282f906143e0565b60405180910390fd5b612843838383612fe6565b61284e6000826125bb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289e9190614805565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128f59190614724565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129b4838383612feb565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2090614520565b60405180910390fd5b612a3281612547565b15612a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a69906143c0565b60405180910390fd5b612a7e60008383612fe6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ace9190614724565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b8f60008383612feb565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612c668584612ff0565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd690614400565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612dd09190614308565b60405180910390a3505050565b612de8848484612752565b612df48484848461308b565b612e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2a90614360565b60405180910390fd5b50505050565b60606000821415612e81576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fe1565b600082905060005b60008214612eb3578080612e9c9061493d565b915050600a82612eac919061477a565b9150612e89565b60008167ffffffffffffffff811115612ef5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f275781602001600182028036833780820191505090505b5090505b60008514612fda57600182612f409190614805565b9150600a85612f4f91906149aa565b6030612f5b9190614724565b60f81b818381518110612f97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fd3919061477a565b9450612f2b565b8093505050505b919050565b505050565b505050565b60008082905060005b845181101561308057600085828151811061303d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161305f576130588382613222565b925061306c565b6130698184613222565b92505b5080806130789061493d565b915050612ff9565b508091505092915050565b60006130ac8473ffffffffffffffffffffffffffffffffffffffff16613239565b15613215578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130d56125b3565b8786866040518563ffffffff1660e01b81526004016130f79493929190614293565b602060405180830381600087803b15801561311157600080fd5b505af192505050801561314257506040513d601f19601f8201168201806040525081019061313f91906137da565b60015b6131c5573d8060008114613172576040519150601f19603f3d011682016040523d82523d6000602084013e613177565b606091505b506000815114156131bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b490614360565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061321a565b600190505b949350505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff16803b806020016040519081016040528181526000908060200190933c51119050919050565b8280546132849061490b565b90600052602060002090601f0160209004810192826132a657600085556132ed565b82601f106132bf57805160ff19168380011785556132ed565b828001600101855582156132ed579182015b828111156132ec5782518255916020019190600101906132d1565b5b5090506132fa91906132fe565b5090565b5b808211156133175760008160009055506001016132ff565b5090565b600061332e6133298461466c565b61463b565b90508281526020810184848401111561334657600080fd5b6133518482856148c9565b509392505050565b600061336c6133678461469c565b61463b565b90508281526020810184848401111561338457600080fd5b61338f8482856148c9565b509392505050565b6000813590506133a681614ab5565b92915050565b60008083601f8401126133be57600080fd5b8235905067ffffffffffffffff8111156133d757600080fd5b6020830191508360208202830111156133ef57600080fd5b9250929050565b60008135905061340581614acc565b92915050565b60008151905061341a81614acc565b92915050565b60008135905061342f81614ae3565b92915050565b60008135905061344481614afa565b92915050565b60008151905061345981614afa565b92915050565b600082601f83011261347057600080fd5b813561348084826020860161331b565b91505092915050565b60008135905061349881614b11565b92915050565b600082601f8301126134af57600080fd5b81356134bf848260208601613359565b91505092915050565b6000813590506134d781614b28565b92915050565b6000815190506134ec81614b28565b92915050565b60006020828403121561350457600080fd5b600061351284828501613397565b91505092915050565b6000806040838503121561352e57600080fd5b600061353c85828601613397565b925050602061354d85828601613397565b9150509250929050565b60008060006060848603121561356c57600080fd5b600061357a86828701613397565b935050602061358b86828701613397565b925050604061359c868287016134c8565b9150509250925092565b600080600080608085870312156135bc57600080fd5b60006135ca87828801613397565b94505060206135db87828801613397565b93505060406135ec878288016134c8565b925050606085013567ffffffffffffffff81111561360957600080fd5b6136158782880161345f565b91505092959194509250565b6000806040838503121561363457600080fd5b600061364285828601613397565b9250506020613653858286016133f6565b9150509250929050565b6000806040838503121561367057600080fd5b600061367e85828601613397565b925050602061368f858286016134c8565b9150509250929050565b600080602083850312156136ac57600080fd5b600083013567ffffffffffffffff8111156136c657600080fd5b6136d2858286016133ac565b92509250509250929050565b6000806000604084860312156136f357600080fd5b600084013567ffffffffffffffff81111561370d57600080fd5b613719868287016133ac565b9350935050602061372c868287016134c8565b9150509250925092565b60006020828403121561374857600080fd5b6000613756848285016133f6565b91505092915050565b60006020828403121561377157600080fd5b600061377f8482850161340b565b91505092915050565b60006020828403121561379a57600080fd5b60006137a884828501613420565b91505092915050565b6000602082840312156137c357600080fd5b60006137d184828501613435565b91505092915050565b6000602082840312156137ec57600080fd5b60006137fa8482850161344a565b91505092915050565b60006020828403121561381557600080fd5b600061382384828501613489565b91505092915050565b60006020828403121561383e57600080fd5b600082013567ffffffffffffffff81111561385857600080fd5b6138648482850161349e565b91505092915050565b60006020828403121561387f57600080fd5b600061388d848285016134c8565b91505092915050565b6000602082840312156138a857600080fd5b60006138b6848285016134dd565b91505092915050565b6138c881614839565b82525050565b6138df6138da82614839565b614986565b82525050565b6138ee8161484b565b82525050565b6138fd81614857565b82525050565b600061390e826146e1565b61391881856146f7565b93506139288185602086016148d8565b61393181614a97565b840191505092915050565b6000613947826146ec565b6139518185614708565b93506139618185602086016148d8565b61396a81614a97565b840191505092915050565b6000613980826146ec565b61398a8185614719565b935061399a8185602086016148d8565b80840191505092915050565b600081546139b38161490b565b6139bd8186614719565b945060018216600081146139d857600181146139e957613a1c565b60ff19831686528186019350613a1c565b6139f2856146cc565b60005b83811015613a14578154818901526001820191506020810190506139f5565b838801955050505b50505092915050565b6000613a32603283614708565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613a98602683614708565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613afe602583614708565b91507f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008301527f6f776e65720000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b64601c83614708565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613ba4602483614708565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c0a601983614708565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c4a602383614708565b91507f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720746f206d60008301527f696e7400000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cb0602c83614708565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613d16601e83614708565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b6000613d56602883614708565b91507f6d696e74656420746865206d6178696d756d2023206f662077686974656c697360008301527f7420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613dbc602583614708565b91507f4e465420697320616c726561647920636c61696d65642062792074686973207760008301527f616c6c65740000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e22603883614708565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613e88602a83614708565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613eee602983614708565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f54602083614708565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613f94602b83614708565b91507f4552433732314d657461646174613a20717565727920666f72206e6f6e65786960008301527f7374656e7420746f6b656e0000000000000000000000000000000000000000006020830152604082019050919050565b6000613ffa602c83614708565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614060600583614719565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006140a0602083614708565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006140e0602183614708565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614146603183614708565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006141ac601883614708565b91507f496e636f7272656374204554482076616c75652073656e7400000000000000006000830152602082019050919050565b60006141ec601f83614708565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b614228816148bf565b82525050565b600061423a82846138ce565b60148201915081905092915050565b600061425582856139a6565b91506142618284613975565b915061426c82614053565b91508190509392505050565b600060208201905061428d60008301846138bf565b92915050565b60006080820190506142a860008301876138bf565b6142b560208301866138bf565b6142c2604083018561421f565b81810360608301526142d48184613903565b905095945050505050565b60006040820190506142f460008301856138bf565b614301602083018461421f565b9392505050565b600060208201905061431d60008301846138e5565b92915050565b600060208201905061433860008301846138f4565b92915050565b60006020820190508181036000830152614358818461393c565b905092915050565b6000602082019050818103600083015261437981613a25565b9050919050565b6000602082019050818103600083015261439981613a8b565b9050919050565b600060208201905081810360008301526143b981613af1565b9050919050565b600060208201905081810360008301526143d981613b57565b9050919050565b600060208201905081810360008301526143f981613b97565b9050919050565b6000602082019050818103600083015261441981613bfd565b9050919050565b6000602082019050818103600083015261443981613c3d565b9050919050565b6000602082019050818103600083015261445981613ca3565b9050919050565b6000602082019050818103600083015261447981613d09565b9050919050565b6000602082019050818103600083015261449981613d49565b9050919050565b600060208201905081810360008301526144b981613daf565b9050919050565b600060208201905081810360008301526144d981613e15565b9050919050565b600060208201905081810360008301526144f981613e7b565b9050919050565b6000602082019050818103600083015261451981613ee1565b9050919050565b6000602082019050818103600083015261453981613f47565b9050919050565b6000602082019050818103600083015261455981613f87565b9050919050565b6000602082019050818103600083015261457981613fed565b9050919050565b6000602082019050818103600083015261459981614093565b9050919050565b600060208201905081810360008301526145b9816140d3565b9050919050565b600060208201905081810360008301526145d981614139565b9050919050565b600060208201905081810360008301526145f98161419f565b9050919050565b60006020820190508181036000830152614619816141df565b9050919050565b6000602082019050614635600083018461421f565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561466257614661614a68565b5b8060405250919050565b600067ffffffffffffffff82111561468757614686614a68565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156146b7576146b6614a68565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061472f826148bf565b915061473a836148bf565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561476f5761476e6149db565b5b828201905092915050565b6000614785826148bf565b9150614790836148bf565b9250826147a05761479f614a0a565b5b828204905092915050565b60006147b6826148bf565b91506147c1836148bf565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147fa576147f96149db565b5b828202905092915050565b6000614810826148bf565b915061481b836148bf565b92508282101561482e5761482d6149db565b5b828203905092915050565b60006148448261489f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061489882614839565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156148f65780820151818401526020810190506148db565b83811115614905576000848401525b50505050565b6000600282049050600182168061492357607f821691505b6020821081141561493757614936614a39565b5b50919050565b6000614948826148bf565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561497b5761497a6149db565b5b600182019050919050565b600061499182614998565b9050919050565b60006149a382614aa8565b9050919050565b60006149b5826148bf565b91506149c0836148bf565b9250826149d0576149cf614a0a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614abe81614839565b8114614ac957600080fd5b50565b614ad58161484b565b8114614ae057600080fd5b50565b614aec81614857565b8114614af757600080fd5b50565b614b0381614861565b8114614b0e57600080fd5b50565b614b1a8161488d565b8114614b2557600080fd5b50565b614b31816148bf565b8114614b3c57600080fd5b5056fea264697066735822122069c0a3558dc7a8abced075f503bee8560a10c7efd64c414499112b758d34557c64736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e545662594570585062366853584b7a416744745735505471667150316b523853416a7947456b45384863692f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d577066756e6d6b766e7979555a36627a4453485a4d62414178564566524d477a39334e7551714854775068472f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmNTVbYEpXPb6hSXKzAgDtW5PTqfqP1kR8SAjyGEkE8Hci/
Arg [1] : collectionURI (string): ipfs://QmWpfunmkvnyyUZ6bzDSHZMbAAxVEfRMGz93NuQqHTwPhG/

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d4e545662594570585062366853584b7a41674474573550
Arg [4] : 5471667150316b523853416a7947456b45384863692f00000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [6] : 697066733a2f2f516d577066756e6d6b766e7979555a36627a4453485a4d6241
Arg [7] : 4178564566524d477a39334e7551714854775068472f00000000000000000000


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.