ETH Price: $2,446.42 (-0.94%)

Token

Eternal Harmony (Harmonies)
 

Overview

Max Total Supply

250 Harmonies

Holders

158

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Harmonies
0x2977171be552823650ea6457683dfb3784dc072c
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:
Harmonies

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}
/* ///// */


contract Harmonies is ERC721Enumerable, Ownable, ReentrancyGuard { 

  using SafeMath for uint256;
  uint256 public cost = 0.15 ether; 
  uint256 public HarmoniesOnSell = 5;
  uint256 public MAX = 251; 
  uint256 public token_id = 1;
  bool public freeze = false;


  uint256[] img = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22];
  string dataURL = "https://arweave.net/5zgxA9cz19qu0wdyKL8CVKHvvZE1A2tFNjGFWv3PLtU/";
  string baseHTML = '<html><meta name="viewport" content="width=device-width, initial-scale=1"><head><link href="';
  string loadStyles = "https://arweave.net/5zgxA9cz19qu0wdyKL8CVKHvvZE1A2tFNjGFWv3PLtU/stt.css";
  string preloader = string.concat('" rel="stylesheet"></head><body><img src="', dataURL, 'preloader.jpg">');
  string renderScript = '<div class="cen"><canvas id="canvas" width="1800px" height="2500px"></canvas></div><script>const ctx=document.getElementById("canvas").getContext("2d");let im=new Image;function p(){ctx.drawImage(im,canvas.width/2.2,canvas.height/2.2)}im.src=document.images[0].src,im.onload=()=>{p()},p();let d=[],n=0,dr=[];function draw(){ctx.clearRect(0, 0, canvas.width, canvas.height); n++,n>d.length-1&&dr.forEach((e=>{ctx.drawImage(e,0,0)}))}for(let e=0;e<document.images.length;e++)e>0&&d.push(document.images[e].src);d.forEach((e=>{let n=new Image;n.src=e,n.onload=()=>{draw()},dr.push(n)}));</script>';
  string imgSart ='<img src="';


  constructor() ERC721 ("Eternal Harmony", "Harmonies") {
   
  }

    function Sale(uint numberOfTokens) public payable nonReentrant{
        require(numberOfTokens <= HarmoniesOnSell, "Purchase would exceed max supply");
        require(totalSupply().add(numberOfTokens) < MAX, "Purchase would exceed max supply of Harmonies");
        require(msg.value >= cost * numberOfTokens, "Ether value sent is not correct");
        for(uint i = 0; i < numberOfTokens; i++) {
                _safeMint(msg.sender, token_id);
                token_id++;
        }
    }


    function teamMint( address  user, uint numberOfTokens) public payable nonReentrant onlyOwner{
      require(totalSupply().add(numberOfTokens) < MAX, "Purchase would exceed max supply of Harmonies");
        for(uint i = 0; i < numberOfTokens; i++) {
                _safeMint(user, token_id);
                token_id++;
        }
    }

    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

     function setSource(string memory _url) public onlyOwner {
      require(!freeze, "data is frozen");
        dataURL  = _url;
    }

     function setStyles(string memory _url) public onlyOwner {
      require(!freeze, "data is frozen");
        loadStyles  = _url;
    }

    function setFreeze() public onlyOwner {
      freeze = true;
    }


    function StopSale() public onlyOwner {
        MAX = token_id;
    }

    

    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }
    

    function getRandom(uint256 _time) internal view returns (uint256) {
        uint256 rand = random(string(abi.encodePacked(Strings.toString(_time))));
        rand = rand % img.length;
        return  rand;
    }

 
    address t1 = 0x91C744fa5D176e8c8c2243a952b75De90A5186bc; 

    address t2 = 0xE0D80FC054BC859b74546477344b152941902CB6; 

    address t3 = 0xae87B3506C1F48259705BA64DcB662Ed047575Bb; 
     
 
    function withdraw() public payable nonReentrant onlyOwner {

        uint256 _u1 = address(this).balance * 34/100;
        uint256 _u2 = address(this).balance * 33/100;
        uint256 _u3 = address(this).balance * 33/100;

          require(payable(t1).send(_u1));
          require(payable(t2).send(_u2));
          require(payable(t3).send(_u3));
    }
 



    function tokenURI(uint256 _tokenId) override public view returns(string memory ) {

    require(
        _exists(_tokenId),
        "ERC721Metadata: URI query for nonexistent token"
      );

      uint256 randomData = (block.timestamp  / 3 days); 

      uint256 iter =0;

      string memory finalHTML;
      string memory imgEnd;

      for (uint256 i = 1; i < 7; i++) {  
        
        if(i<2){
          imgEnd = '.JPG">';
        }else{
        imgEnd = '.PNG">';
        }
        finalHTML = string.concat(finalHTML, imgSart, dataURL, Strings.toString(img[getRandom(((randomData+i)*_tokenId))]+ iter ), imgEnd); 
        iter = iter+22;
      }


     finalHTML = string(abi.encodePacked(baseHTML, loadStyles, preloader, finalHTML,  renderScript,  '</body></html>'));
        
    string memory name = string.concat('Eternal Harmony #', Strings.toString(_tokenId));

      string memory json = Base64.encode(
          bytes(
              string(
                  abi.encodePacked(
                      '{"name": "',
                      name,
                      '", "description": "The painting you see will exist for only three days, and then the algorithm will create a new one. It is like a short and unique meeting, so take your time to enjoy it.", "image": "',dataURL, '5.gif", "animation_url": "data:text/html;base64,',
                      Base64.encode(bytes(finalHTML)),

                      '"}'
                  )
              )
          )
      );
    
      string memory tokenUri = string(abi.encodePacked("data:application/json;base64,", json));
  
      return  tokenUri;
      }
  
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 4 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

File 6 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 16 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(tokenId) != address(0);
    }

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

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

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

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

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

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

File 10 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 11 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 14 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 15 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"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":"HarmoniesOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"Sale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"StopSale","outputs":[],"stateMutability":"nonpayable","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeze","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setFreeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_url","type":"string"}],"name":"setSource","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_url","type":"string"}],"name":"setStyles","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":"address","name":"user","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token_id","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052670214e8348c4f0000600c556005600d5560fb600e556001600f556000601060006101000a81548160ff021916908315150217905550604051806102c00160405280600160ff168152602001600260ff168152602001600360ff168152602001600460ff168152602001600560ff168152602001600660ff168152602001600760ff168152602001600860ff168152602001600960ff168152602001600a60ff168152602001600b60ff168152602001600c60ff168152602001600d60ff168152602001600e60ff168152602001600f60ff168152602001601060ff168152602001601160ff168152602001601260ff168152602001601360ff168152602001601460ff168152602001601560ff168152602001601660ff1681525060119060166200013292919062000530565b506040518060600160405280604081526020016200544660409139601290805190602001906200016492919062000587565b506040518060800160405280605c8152602001620054cd605c9139601390805190602001906200019692919062000587565b50604051806080016040528060478152602001620054866047913960149080519060200190620001c892919062000587565b506012604051602001620001dd9190620007e3565b604051602081830303815290604052601590805190602001906200020392919062000587565b506040518061028001604052806102518152602001620051f56102519139601690805190602001906200023892919062000587565b506040518060400160405280600a81526020017f3c696d67207372633d2200000000000000000000000000000000000000000000815250601790805190602001906200028692919062000587565b507391c744fa5d176e8c8c2243a952b75de90a5186bc601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073e0d80fc054bc859b74546477344b152941902cb6601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ae87b3506c1f48259705ba64dcb662ed047575bb601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200039357600080fd5b506040518060400160405280600f81526020017f457465726e616c204861726d6f6e7900000000000000000000000000000000008152506040518060400160405280600981526020017f4861726d6f6e696573000000000000000000000000000000000000000000000081525081600090805190602001906200041892919062000587565b5080600190805190602001906200043192919062000587565b50505062000454620004486200046260201b60201c565b6200046a60201b60201c565b6001600b819055506200081a565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562000574579160200282015b8281111562000573578251829060ff1690559160200191906001019062000551565b5b50905062000583919062000618565b5090565b8280546200059590620006e7565b90600052602060002090601f016020900481019282620005b9576000855562000605565b82601f10620005d457805160ff191683800117855562000605565b8280016001018555821562000605579182015b8281111562000604578251825591602001919060010190620005e7565b5b50905062000614919062000618565b5090565b5b808211156200063357600081600090555060010162000619565b5090565b600081905092915050565b7f222072656c3d227374796c657368656574223e3c2f686561643e3c626f64793e60008201527f3c696d67207372633d2200000000000000000000000000000000000000000000602082015250565b6000620006a0602a8362000637565b9150620006ad8262000642565b602a82019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200070057607f821691505b60208210811415620007175762000716620006b8565b5b50919050565b60008190508160005260206000209050919050565b600081546200074181620006e7565b6200074d818662000637565b945060018216600081146200076b57600181146200077d57620007b4565b60ff19831686528186019350620007b4565b62000788856200071d565b60005b83811015620007ac578154818901526001820191506020810190506200078b565b838801955050505b50505092915050565b7f7072656c6f616465722e6a7067223e0000000000000000000000000000000000815250565b6000620007f08262000691565b9150620007fe828462000732565b91506200080b82620007bd565b600f8201915081905092915050565b6149cb806200082a6000396000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063add5a4fa11610095578063d49d518111610064578063d49d51811461068f578063d5668131146106ba578063e985e9c5146106e5578063f2fde38b14610722576101e3565b8063add5a4fa146105f1578063b88d4fde1461060d578063c0a8d68d14610636578063c87b56dd14610652576101e3565b806395d89b41116100d157806395d89b411461054957806399d25455146105745780639d4be66e1461059d578063a22cb465146105c8576101e3565b8063715018a6146104c75780637944875b146104de5780638a41f2d8146104f55780638da5cb5b1461051e576101e3565b80632f745c591161017a5780634f6ccce7116101495780634f6ccce7146103e557806362a5af3b146104225780636352211e1461044d57806370a082311461048a576101e3565b80632f745c591461034c5780633ccfd60b1461038957806342842e0e1461039357806344a0d68a146103bc576101e3565b806313faede6116101b657806313faede6146102b657806318160ddd146102e157806323b872dd1461030c5780632c8cbe4014610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612f2a565b61074b565b60405161021c9190612f72565b60405180910390f35b34801561023157600080fd5b5061023a6107c5565b6040516102479190613026565b60405180910390f35b34801561025c57600080fd5b506102776004803603810190610272919061307e565b610857565b60405161028491906130ec565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190613133565b61089d565b005b3480156102c257600080fd5b506102cb6109b5565b6040516102d89190613182565b60405180910390f35b3480156102ed57600080fd5b506102f66109bb565b6040516103039190613182565b60405180910390f35b34801561031857600080fd5b50610333600480360381019061032e919061319d565b6109c8565b005b34801561034157600080fd5b5061034a610a28565b005b34801561035857600080fd5b50610373600480360381019061036e9190613133565b610a4d565b6040516103809190613182565b60405180910390f35b610391610af2565b005b34801561039f57600080fd5b506103ba60048036038101906103b5919061319d565b610c86565b005b3480156103c857600080fd5b506103e360048036038101906103de919061307e565b610ca6565b005b3480156103f157600080fd5b5061040c6004803603810190610407919061307e565b610cb8565b6040516104199190613182565b60405180910390f35b34801561042e57600080fd5b50610437610d29565b6040516104449190612f72565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f919061307e565b610d3c565b60405161048191906130ec565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac91906131f0565b610dc3565b6040516104be9190613182565b60405180910390f35b3480156104d357600080fd5b506104dc610e7b565b005b3480156104ea57600080fd5b506104f3610e8f565b005b34801561050157600080fd5b5061051c60048036038101906105179190613352565b610ea2565b005b34801561052a57600080fd5b50610533610f14565b60405161054091906130ec565b60405180910390f35b34801561055557600080fd5b5061055e610f3e565b60405161056b9190613026565b60405180910390f35b34801561058057600080fd5b5061059b60048036038101906105969190613352565b610fd0565b005b3480156105a957600080fd5b506105b2611042565b6040516105bf9190613182565b60405180910390f35b3480156105d457600080fd5b506105ef60048036038101906105ea91906133c7565b611048565b005b61060b60048036038101906106069190613133565b61105e565b005b34801561061957600080fd5b50610634600480360381019061062f91906134a8565b61111a565b005b610650600480360381019061064b919061307e565b61117c565b005b34801561065e57600080fd5b506106796004803603810190610674919061307e565b6112c4565b6040516106869190613026565b60405180910390f35b34801561069b57600080fd5b506106a4611519565b6040516106b19190613182565b60405180910390f35b3480156106c657600080fd5b506106cf61151f565b6040516106dc9190613182565b60405180910390f35b3480156106f157600080fd5b5061070c6004803603810190610707919061352b565b611525565b6040516107199190612f72565b60405180910390f35b34801561072e57600080fd5b50610749600480360381019061074491906131f0565b6115b9565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107be57506107bd8261163d565b5b9050919050565b6060600080546107d49061359a565b80601f01602080910402602001604051908101604052809291908181526020018280546108009061359a565b801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b5050505050905090565b60006108628261171f565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a882610d3c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109109061363e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661093861176a565b73ffffffffffffffffffffffffffffffffffffffff16148061096757506109668161096161176a565b611525565b5b6109a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099d906136d0565b60405180910390fd5b6109b08383611772565b505050565b600c5481565b6000600880549050905090565b6109d96109d361176a565b8261182b565b610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90613762565b60405180910390fd5b610a238383836118c0565b505050565b610a30611bba565b6001601060006101000a81548160ff021916908315150217905550565b6000610a5883610dc3565b8210610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a90906137f4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610afa611c38565b610b02611bba565b60006064602247610b139190613843565b610b1d91906138cc565b905060006064602147610b309190613843565b610b3a91906138cc565b905060006064602147610b4d9190613843565b610b5791906138cc565b9050601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050610bb957600080fd5b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050610c1957600080fd5b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050610c7957600080fd5b505050610c84611c88565b565b610ca18383836040518060200160405280600081525061111a565b505050565b610cae611bba565b80600c8190555050565b6000610cc26109bb565b8210610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa9061396f565b60405180910390fd5b60088281548110610d1757610d1661398f565b5b90600052602060002001549050919050565b601060009054906101000a900460ff1681565b600080610d4883611c92565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190613a0a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2b90613a9c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e83611bba565b610e8d6000611ccf565b565b610e97611bba565b600f54600e81905550565b610eaa611bba565b601060009054906101000a900460ff1615610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190613b08565b60405180910390fd5b8060149080519060200190610f10929190612e1b565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f4d9061359a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f799061359a565b8015610fc65780601f10610f9b57610100808354040283529160200191610fc6565b820191906000526020600020905b815481529060010190602001808311610fa957829003601f168201915b5050505050905090565b610fd8611bba565b601060009054906101000a900460ff1615611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f90613b08565b60405180910390fd5b806012908051906020019061103e929190612e1b565b5050565b600d5481565b61105a61105361176a565b8383611d95565b5050565b611066611c38565b61106e611bba565b600e5461108b8261107d6109bb565b611f0290919063ffffffff16565b106110cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c290613b9a565b60405180910390fd5b60005b8181101561110d576110e283600f54611f18565b600f60008154809291906110f590613bba565b9190505550808061110590613bba565b9150506110ce565b50611116611c88565b5050565b61112b61112561176a565b8361182b565b61116a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116190613762565b60405180910390fd5b61117684848484611f36565b50505050565b611184611c38565b600d548111156111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090613c4f565b60405180910390fd5b600e546111e6826111d86109bb565b611f0290919063ffffffff16565b10611226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121d90613b9a565b60405180910390fd5b80600c546112349190613843565b341015611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d90613cbb565b60405180910390fd5b60005b818110156112b85761128d33600f54611f18565b600f60008154809291906112a090613bba565b919050555080806112b090613bba565b915050611279565b506112c1611c88565b50565b60606112cf82611f92565b61130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130590613d4d565b60405180910390fd5b60006203f4804261131f91906138cc565b905060006060806000600190505b600781101561145257600281101561137c576040518060400160405280600681526020017f2e4a5047223e000000000000000000000000000000000000000000000000000081525091506113b5565b6040518060400160405280600681526020017f2e504e47223e000000000000000000000000000000000000000000000000000081525091505b826017601261140a8760116113df8d888d6113d09190613d6d565b6113da9190613843565b611fd3565b815481106113f0576113ef61398f565b5b90600052602060002001546114059190613d6d565b612024565b8560405160200161141f959493929190613e93565b604051602081830303815290604052925060168461143d9190613d6d565b9350808061144a90613bba565b91505061132d565b50601360146015846016604051602001611470959493929190613f2a565b6040516020818303038152906040529150600061148c87612024565b60405160200161149c9190613fa6565b604051602081830303815290604052905060006114e48260126114be876120fc565b6040516020016114d093929190614206565b6040516020818303038152906040526120fc565b90506000816040516020016114f991906142af565b604051602081830303815290604052905080975050505050505050919050565b600e5481565b600f5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115c1611bba565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890614343565b60405180910390fd5b61163a81611ccf565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061170857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611718575061171782612275565b5b9050919050565b61172881611f92565b611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90613a0a565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166117e583610d3c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061183783610d3c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061187957506118788185611525565b5b806118b757508373ffffffffffffffffffffffffffffffffffffffff1661189f84610857565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118e082610d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d906143d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90614467565b60405180910390fd5b6119b383838360016122df565b8273ffffffffffffffffffffffffffffffffffffffff166119d382610d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a20906143d5565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bb5838383600161243f565b505050565b611bc261176a565b73ffffffffffffffffffffffffffffffffffffffff16611be0610f14565b73ffffffffffffffffffffffffffffffffffffffff1614611c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2d906144d3565b60405180910390fd5b565b6002600b541415611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c759061453f565b60405180910390fd5b6002600b81905550565b6001600b81905550565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfb906145ab565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ef59190612f72565b60405180910390a3505050565b60008183611f109190613d6d565b905092915050565b611f32828260405180602001604052806000815250612445565b5050565b611f418484846118c0565b611f4d848484846124a0565b611f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f839061463d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16611fb483611c92565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600080612006611fe284612024565b604051602001611ff2919061465d565b604051602081830303815290604052612628565b9050601180549050816120199190614674565b905080915050919050565b6060600060016120338461265b565b01905060008167ffffffffffffffff81111561205257612051613227565b5b6040519080825280601f01601f1916602001820160405280156120845781602001600182028036833780820191505090505b509050600082602001820190505b6001156120f1578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816120db576120da61389d565b5b04945060008514156120ec576120f1565b612092565b819350505050919050565b606060008251141561211f57604051806020016040528060008152509050612270565b6000604051806060016040528060408152602001614956604091399050600060036002855161214e9190613d6d565b61215891906138cc565b60046121649190613843565b905060006020826121759190613d6d565b67ffffffffffffffff81111561218e5761218d613227565b5b6040519080825280601f01601f1916602001820160405280156121c05781602001600182028036833780820191505090505b509050818152600183018586518101602084015b8183101561222f576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253600182019150506121d4565b600389510660018114612249576002811461225957612264565b613d3d60f01b6002830352612264565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122eb848484846127ae565b600181111561232f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232690614717565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561237757612372816128d4565b6123b6565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146123b5576123b4858261291d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123f9576123f481612a8a565b612438565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612437576124368482612b5b565b5b5b5050505050565b50505050565b61244f8383612bda565b61245c60008484846124a0565b61249b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124929061463d565b60405180910390fd5b505050565b60006124c18473ffffffffffffffffffffffffffffffffffffffff16612df8565b1561261b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124ea61176a565b8786866040518563ffffffff1660e01b815260040161250c949392919061478c565b6020604051808303816000875af192505050801561254857506040513d601f19601f8201168201806040525081019061254591906147ed565b60015b6125cb573d8060008114612578576040519150601f19603f3d011682016040523d82523d6000602084013e61257d565b606091505b506000815114156125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ba9061463d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612620565b600190505b949350505050565b60008160405160200161263b919061465d565b6040516020818303038152906040528051906020012060001c9050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106126b9577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816126af576126ae61389d565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106126f6576d04ee2d6d415b85acef810000000083816126ec576126eb61389d565b5b0492506020810190505b662386f26fc10000831061272557662386f26fc10000838161271b5761271a61389d565b5b0492506010810190505b6305f5e100831061274e576305f5e10083816127445761274361389d565b5b0492506008810190505b61271083106127735761271083816127695761276861389d565b5b0492506004810190505b60648310612796576064838161278c5761278b61389d565b5b0492506002810190505b600a83106127a5576001810190505b80915050919050565b60018111156128ce57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146128425780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461283a919061481a565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128cd5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128c59190613d6d565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161292a84610dc3565b612934919061481a565b9050600060076000848152602001908152602001600020549050818114612a19576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a9e919061481a565b9050600060096000848152602001908152602001600020549050600060088381548110612ace57612acd61398f565b5b906000526020600020015490508060088381548110612af057612aef61398f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b3f57612b3e61484e565b5b6001900381819060005260206000200160009055905550505050565b6000612b6683610dc3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c41906148c9565b60405180910390fd5b612c5381611f92565b15612c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8a90614935565b60405180910390fd5b612ca16000838360016122df565b612caa81611f92565b15612cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce190614935565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612df460008383600161243f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612e279061359a565b90600052602060002090601f016020900481019282612e495760008555612e90565b82601f10612e6257805160ff1916838001178555612e90565b82800160010185558215612e90579182015b82811115612e8f578251825591602001919060010190612e74565b5b509050612e9d9190612ea1565b5090565b5b80821115612eba576000816000905550600101612ea2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f0781612ed2565b8114612f1257600080fd5b50565b600081359050612f2481612efe565b92915050565b600060208284031215612f4057612f3f612ec8565b5b6000612f4e84828501612f15565b91505092915050565b60008115159050919050565b612f6c81612f57565b82525050565b6000602082019050612f876000830184612f63565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fc7578082015181840152602081019050612fac565b83811115612fd6576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ff882612f8d565b6130028185612f98565b9350613012818560208601612fa9565b61301b81612fdc565b840191505092915050565b600060208201905081810360008301526130408184612fed565b905092915050565b6000819050919050565b61305b81613048565b811461306657600080fd5b50565b60008135905061307881613052565b92915050565b60006020828403121561309457613093612ec8565b5b60006130a284828501613069565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130d6826130ab565b9050919050565b6130e6816130cb565b82525050565b600060208201905061310160008301846130dd565b92915050565b613110816130cb565b811461311b57600080fd5b50565b60008135905061312d81613107565b92915050565b6000806040838503121561314a57613149612ec8565b5b60006131588582860161311e565b925050602061316985828601613069565b9150509250929050565b61317c81613048565b82525050565b60006020820190506131976000830184613173565b92915050565b6000806000606084860312156131b6576131b5612ec8565b5b60006131c48682870161311e565b93505060206131d58682870161311e565b92505060406131e686828701613069565b9150509250925092565b60006020828403121561320657613205612ec8565b5b60006132148482850161311e565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61325f82612fdc565b810181811067ffffffffffffffff8211171561327e5761327d613227565b5b80604052505050565b6000613291612ebe565b905061329d8282613256565b919050565b600067ffffffffffffffff8211156132bd576132bc613227565b5b6132c682612fdc565b9050602081019050919050565b82818337600083830152505050565b60006132f56132f0846132a2565b613287565b90508281526020810184848401111561331157613310613222565b5b61331c8482856132d3565b509392505050565b600082601f8301126133395761333861321d565b5b81356133498482602086016132e2565b91505092915050565b60006020828403121561336857613367612ec8565b5b600082013567ffffffffffffffff81111561338657613385612ecd565b5b61339284828501613324565b91505092915050565b6133a481612f57565b81146133af57600080fd5b50565b6000813590506133c18161339b565b92915050565b600080604083850312156133de576133dd612ec8565b5b60006133ec8582860161311e565b92505060206133fd858286016133b2565b9150509250929050565b600067ffffffffffffffff82111561342257613421613227565b5b61342b82612fdc565b9050602081019050919050565b600061344b61344684613407565b613287565b90508281526020810184848401111561346757613466613222565b5b6134728482856132d3565b509392505050565b600082601f83011261348f5761348e61321d565b5b813561349f848260208601613438565b91505092915050565b600080600080608085870312156134c2576134c1612ec8565b5b60006134d08782880161311e565b94505060206134e18782880161311e565b93505060406134f287828801613069565b925050606085013567ffffffffffffffff81111561351357613512612ecd565b5b61351f8782880161347a565b91505092959194509250565b6000806040838503121561354257613541612ec8565b5b60006135508582860161311e565b92505060206135618582860161311e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135b257607f821691505b602082108114156135c6576135c561356b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613628602183612f98565b9150613633826135cc565b604082019050919050565b600060208201905081810360008301526136578161361b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006136ba603d83612f98565b91506136c58261365e565b604082019050919050565b600060208201905081810360008301526136e9816136ad565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061374c602d83612f98565b9150613757826136f0565b604082019050919050565b6000602082019050818103600083015261377b8161373f565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006137de602b83612f98565b91506137e982613782565b604082019050919050565b6000602082019050818103600083015261380d816137d1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061384e82613048565b915061385983613048565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561389257613891613814565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006138d782613048565b91506138e283613048565b9250826138f2576138f161389d565b5b828204905092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613959602c83612f98565b9150613964826138fd565b604082019050919050565b600060208201905081810360008301526139888161394c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006139f4601883612f98565b91506139ff826139be565b602082019050919050565b60006020820190508181036000830152613a23816139e7565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613a86602983612f98565b9150613a9182613a2a565b604082019050919050565b60006020820190508181036000830152613ab581613a79565b9050919050565b7f646174612069732066726f7a656e000000000000000000000000000000000000600082015250565b6000613af2600e83612f98565b9150613afd82613abc565b602082019050919050565b60006020820190508181036000830152613b2181613ae5565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204861726d6f6e69657300000000000000000000000000000000000000602082015250565b6000613b84602d83612f98565b9150613b8f82613b28565b604082019050919050565b60006020820190508181036000830152613bb381613b77565b9050919050565b6000613bc582613048565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bf857613bf7613814565b5b600182019050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b6000613c39602083612f98565b9150613c4482613c03565b602082019050919050565b60006020820190508181036000830152613c6881613c2c565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000613ca5601f83612f98565b9150613cb082613c6f565b602082019050919050565b60006020820190508181036000830152613cd481613c98565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613d37602f83612f98565b9150613d4282613cdb565b604082019050919050565b60006020820190508181036000830152613d6681613d2a565b9050919050565b6000613d7882613048565b9150613d8383613048565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613db857613db7613814565b5b828201905092915050565b600081905092915050565b6000613dd982612f8d565b613de38185613dc3565b9350613df3818560208601612fa9565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613e218161359a565b613e2b8186613dc3565b94506001821660008114613e465760018114613e5757613e8a565b60ff19831686528186019350613e8a565b613e6085613dff565b60005b83811015613e8257815481890152600182019150602081019050613e63565b838801955050505b50505092915050565b6000613e9f8288613dce565b9150613eab8287613e14565b9150613eb78286613e14565b9150613ec38285613dce565b9150613ecf8284613dce565b91508190509695505050505050565b7f3c2f626f64793e3c2f68746d6c3e000000000000000000000000000000000000600082015250565b6000613f14600e83613dc3565b9150613f1f82613ede565b600e82019050919050565b6000613f368288613e14565b9150613f428287613e14565b9150613f4e8286613e14565b9150613f5a8285613dce565b9150613f668284613e14565b9150613f7182613f07565b91508190509695505050505050565b7f457465726e616c204861726d6f6e792023000000000000000000000000000000815250565b6000613fb182613f80565b601182019150613fc18284613dce565b915081905092915050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b6000614002600a83613dc3565b915061400d82613fcc565b600a82019050919050565b7f222c20226465736372697074696f6e223a2022546865207061696e74696e672060008201527f796f75207365652077696c6c20657869737420666f72206f6e6c79207468726560208201527f6520646179732c20616e64207468656e2074686520616c676f726974686d207760408201527f696c6c206372656174652061206e6577206f6e652e204974206973206c696b6560608201527f20612073686f727420616e6420756e69717565206d656574696e672c20736f2060808201527f74616b6520796f75722074696d6520746f20656e6a6f792069742e222c20226960a08201527f6d616765223a202200000000000000000000000000000000000000000000000060c082015250565b600061413260c883613dc3565b915061413d82614018565b60c882019050919050565b7f352e676966222c2022616e696d6174696f6e5f75726c223a2022646174613a7460008201527f6578742f68746d6c3b6261736536342c00000000000000000000000000000000602082015250565b60006141a4603083613dc3565b91506141af82614148565b603082019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006141f0600283613dc3565b91506141fb826141ba565b600282019050919050565b600061421182613ff5565b915061421d8286613dce565b915061422882614125565b91506142348285613e14565b915061423f82614197565b915061424b8284613dce565b9150614256826141e3565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614299601d83613dc3565b91506142a482614263565b601d82019050919050565b60006142ba8261428c565b91506142c68284613dce565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061432d602683612f98565b9150614338826142d1565b604082019050919050565b6000602082019050818103600083015261435c81614320565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006143bf602583612f98565b91506143ca82614363565b604082019050919050565b600060208201905081810360008301526143ee816143b2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614451602483612f98565b915061445c826143f5565b604082019050919050565b6000602082019050818103600083015261448081614444565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144bd602083612f98565b91506144c882614487565b602082019050919050565b600060208201905081810360008301526144ec816144b0565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614529601f83612f98565b9150614534826144f3565b602082019050919050565b600060208201905081810360008301526145588161451c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614595601983612f98565b91506145a08261455f565b602082019050919050565b600060208201905081810360008301526145c481614588565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614627603283612f98565b9150614632826145cb565b604082019050919050565b600060208201905081810360008301526146568161461a565b9050919050565b60006146698284613dce565b915081905092915050565b600061467f82613048565b915061468a83613048565b92508261469a5761469961389d565b5b828206905092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000614701603583612f98565b915061470c826146a5565b604082019050919050565b60006020820190508181036000830152614730816146f4565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061475e82614737565b6147688185614742565b9350614778818560208601612fa9565b61478181612fdc565b840191505092915050565b60006080820190506147a160008301876130dd565b6147ae60208301866130dd565b6147bb6040830185613173565b81810360608301526147cd8184614753565b905095945050505050565b6000815190506147e781612efe565b92915050565b60006020828403121561480357614802612ec8565b5b6000614811848285016147d8565b91505092915050565b600061482582613048565b915061483083613048565b92508282101561484357614842613814565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006148b3602083612f98565b91506148be8261487d565b602082019050919050565b600060208201905081810360008301526148e2816148a6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061491f601c83612f98565b915061492a826148e9565b602082019050919050565b6000602082019050818103600083015261494e81614912565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122009af75afd90184919ce526a24af8f69759dab9becfeed33426f5f899fb2817a964736f6c634300080c00333c64697620636c6173733d2263656e223e3c63616e7661732069643d2263616e766173222077696474683d2231383030707822206865696768743d22323530307078223e3c2f63616e7661733e3c2f6469763e3c7363726970743e636f6e7374206374783d646f63756d656e742e676574456c656d656e7442794964282263616e76617322292e676574436f6e746578742822326422293b6c657420696d3d6e657720496d6167653b66756e6374696f6e207028297b6374782e64726177496d61676528696d2c63616e7661732e77696474682f322e322c63616e7661732e6865696768742f322e32297d696d2e7372633d646f63756d656e742e696d616765735b305d2e7372632c696d2e6f6e6c6f61643d28293d3e7b7028297d2c7028293b6c657420643d5b5d2c6e3d302c64723d5b5d3b66756e6374696f6e206472617728297b6374782e636c6561725265637428302c20302c2063616e7661732e77696474682c2063616e7661732e686569676874293b206e2b2b2c6e3e642e6c656e6774682d31262664722e666f72456163682828653d3e7b6374782e64726177496d61676528652c302c30297d29297d666f72286c657420653d303b653c646f63756d656e742e696d616765732e6c656e6774683b652b2b29653e302626642e7075736828646f63756d656e742e696d616765735b655d2e737263293b642e666f72456163682828653d3e7b6c6574206e3d6e657720496d6167653b6e2e7372633d652c6e2e6f6e6c6f61643d28293d3e7b6472617728297d2c64722e70757368286e297d29293b3c2f7363726970743e68747470733a2f2f617277656176652e6e65742f357a67784139637a31397175307764794b4c3843564b4876765a4531413274464e6a4746577633504c74552f68747470733a2f2f617277656176652e6e65742f357a67784139637a31397175307764794b4c3843564b4876765a4531413274464e6a4746577633504c74552f7374742e6373733c68746d6c3e3c6d657461206e616d653d2276696577706f72742220636f6e74656e743d2277696474683d6465766963652d77696474682c20696e697469616c2d7363616c653d31223e3c686561643e3c6c696e6b20687265663d22

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063715018a611610102578063add5a4fa11610095578063d49d518111610064578063d49d51811461068f578063d5668131146106ba578063e985e9c5146106e5578063f2fde38b14610722576101e3565b8063add5a4fa146105f1578063b88d4fde1461060d578063c0a8d68d14610636578063c87b56dd14610652576101e3565b806395d89b41116100d157806395d89b411461054957806399d25455146105745780639d4be66e1461059d578063a22cb465146105c8576101e3565b8063715018a6146104c75780637944875b146104de5780638a41f2d8146104f55780638da5cb5b1461051e576101e3565b80632f745c591161017a5780634f6ccce7116101495780634f6ccce7146103e557806362a5af3b146104225780636352211e1461044d57806370a082311461048a576101e3565b80632f745c591461034c5780633ccfd60b1461038957806342842e0e1461039357806344a0d68a146103bc576101e3565b806313faede6116101b657806313faede6146102b657806318160ddd146102e157806323b872dd1461030c5780632c8cbe4014610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612f2a565b61074b565b60405161021c9190612f72565b60405180910390f35b34801561023157600080fd5b5061023a6107c5565b6040516102479190613026565b60405180910390f35b34801561025c57600080fd5b506102776004803603810190610272919061307e565b610857565b60405161028491906130ec565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190613133565b61089d565b005b3480156102c257600080fd5b506102cb6109b5565b6040516102d89190613182565b60405180910390f35b3480156102ed57600080fd5b506102f66109bb565b6040516103039190613182565b60405180910390f35b34801561031857600080fd5b50610333600480360381019061032e919061319d565b6109c8565b005b34801561034157600080fd5b5061034a610a28565b005b34801561035857600080fd5b50610373600480360381019061036e9190613133565b610a4d565b6040516103809190613182565b60405180910390f35b610391610af2565b005b34801561039f57600080fd5b506103ba60048036038101906103b5919061319d565b610c86565b005b3480156103c857600080fd5b506103e360048036038101906103de919061307e565b610ca6565b005b3480156103f157600080fd5b5061040c6004803603810190610407919061307e565b610cb8565b6040516104199190613182565b60405180910390f35b34801561042e57600080fd5b50610437610d29565b6040516104449190612f72565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f919061307e565b610d3c565b60405161048191906130ec565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac91906131f0565b610dc3565b6040516104be9190613182565b60405180910390f35b3480156104d357600080fd5b506104dc610e7b565b005b3480156104ea57600080fd5b506104f3610e8f565b005b34801561050157600080fd5b5061051c60048036038101906105179190613352565b610ea2565b005b34801561052a57600080fd5b50610533610f14565b60405161054091906130ec565b60405180910390f35b34801561055557600080fd5b5061055e610f3e565b60405161056b9190613026565b60405180910390f35b34801561058057600080fd5b5061059b60048036038101906105969190613352565b610fd0565b005b3480156105a957600080fd5b506105b2611042565b6040516105bf9190613182565b60405180910390f35b3480156105d457600080fd5b506105ef60048036038101906105ea91906133c7565b611048565b005b61060b60048036038101906106069190613133565b61105e565b005b34801561061957600080fd5b50610634600480360381019061062f91906134a8565b61111a565b005b610650600480360381019061064b919061307e565b61117c565b005b34801561065e57600080fd5b506106796004803603810190610674919061307e565b6112c4565b6040516106869190613026565b60405180910390f35b34801561069b57600080fd5b506106a4611519565b6040516106b19190613182565b60405180910390f35b3480156106c657600080fd5b506106cf61151f565b6040516106dc9190613182565b60405180910390f35b3480156106f157600080fd5b5061070c6004803603810190610707919061352b565b611525565b6040516107199190612f72565b60405180910390f35b34801561072e57600080fd5b50610749600480360381019061074491906131f0565b6115b9565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107be57506107bd8261163d565b5b9050919050565b6060600080546107d49061359a565b80601f01602080910402602001604051908101604052809291908181526020018280546108009061359a565b801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b5050505050905090565b60006108628261171f565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108a882610d3c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610919576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109109061363e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661093861176a565b73ffffffffffffffffffffffffffffffffffffffff16148061096757506109668161096161176a565b611525565b5b6109a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099d906136d0565b60405180910390fd5b6109b08383611772565b505050565b600c5481565b6000600880549050905090565b6109d96109d361176a565b8261182b565b610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90613762565b60405180910390fd5b610a238383836118c0565b505050565b610a30611bba565b6001601060006101000a81548160ff021916908315150217905550565b6000610a5883610dc3565b8210610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a90906137f4565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610afa611c38565b610b02611bba565b60006064602247610b139190613843565b610b1d91906138cc565b905060006064602147610b309190613843565b610b3a91906138cc565b905060006064602147610b4d9190613843565b610b5791906138cc565b9050601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050610bb957600080fd5b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050610c1957600080fd5b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050610c7957600080fd5b505050610c84611c88565b565b610ca18383836040518060200160405280600081525061111a565b505050565b610cae611bba565b80600c8190555050565b6000610cc26109bb565b8210610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa9061396f565b60405180910390fd5b60088281548110610d1757610d1661398f565b5b90600052602060002001549050919050565b601060009054906101000a900460ff1681565b600080610d4883611c92565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190613a0a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2b90613a9c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e83611bba565b610e8d6000611ccf565b565b610e97611bba565b600f54600e81905550565b610eaa611bba565b601060009054906101000a900460ff1615610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190613b08565b60405180910390fd5b8060149080519060200190610f10929190612e1b565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f4d9061359a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f799061359a565b8015610fc65780601f10610f9b57610100808354040283529160200191610fc6565b820191906000526020600020905b815481529060010190602001808311610fa957829003601f168201915b5050505050905090565b610fd8611bba565b601060009054906101000a900460ff1615611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f90613b08565b60405180910390fd5b806012908051906020019061103e929190612e1b565b5050565b600d5481565b61105a61105361176a565b8383611d95565b5050565b611066611c38565b61106e611bba565b600e5461108b8261107d6109bb565b611f0290919063ffffffff16565b106110cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c290613b9a565b60405180910390fd5b60005b8181101561110d576110e283600f54611f18565b600f60008154809291906110f590613bba565b9190505550808061110590613bba565b9150506110ce565b50611116611c88565b5050565b61112b61112561176a565b8361182b565b61116a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116190613762565b60405180910390fd5b61117684848484611f36565b50505050565b611184611c38565b600d548111156111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090613c4f565b60405180910390fd5b600e546111e6826111d86109bb565b611f0290919063ffffffff16565b10611226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121d90613b9a565b60405180910390fd5b80600c546112349190613843565b341015611276576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126d90613cbb565b60405180910390fd5b60005b818110156112b85761128d33600f54611f18565b600f60008154809291906112a090613bba565b919050555080806112b090613bba565b915050611279565b506112c1611c88565b50565b60606112cf82611f92565b61130e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130590613d4d565b60405180910390fd5b60006203f4804261131f91906138cc565b905060006060806000600190505b600781101561145257600281101561137c576040518060400160405280600681526020017f2e4a5047223e000000000000000000000000000000000000000000000000000081525091506113b5565b6040518060400160405280600681526020017f2e504e47223e000000000000000000000000000000000000000000000000000081525091505b826017601261140a8760116113df8d888d6113d09190613d6d565b6113da9190613843565b611fd3565b815481106113f0576113ef61398f565b5b90600052602060002001546114059190613d6d565b612024565b8560405160200161141f959493929190613e93565b604051602081830303815290604052925060168461143d9190613d6d565b9350808061144a90613bba565b91505061132d565b50601360146015846016604051602001611470959493929190613f2a565b6040516020818303038152906040529150600061148c87612024565b60405160200161149c9190613fa6565b604051602081830303815290604052905060006114e48260126114be876120fc565b6040516020016114d093929190614206565b6040516020818303038152906040526120fc565b90506000816040516020016114f991906142af565b604051602081830303815290604052905080975050505050505050919050565b600e5481565b600f5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115c1611bba565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611631576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162890614343565b60405180910390fd5b61163a81611ccf565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061170857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611718575061171782612275565b5b9050919050565b61172881611f92565b611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90613a0a565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166117e583610d3c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061183783610d3c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061187957506118788185611525565b5b806118b757508373ffffffffffffffffffffffffffffffffffffffff1661189f84610857565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118e082610d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d906143d5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90614467565b60405180910390fd5b6119b383838360016122df565b8273ffffffffffffffffffffffffffffffffffffffff166119d382610d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a20906143d5565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bb5838383600161243f565b505050565b611bc261176a565b73ffffffffffffffffffffffffffffffffffffffff16611be0610f14565b73ffffffffffffffffffffffffffffffffffffffff1614611c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2d906144d3565b60405180910390fd5b565b6002600b541415611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c759061453f565b60405180910390fd5b6002600b81905550565b6001600b81905550565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfb906145ab565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ef59190612f72565b60405180910390a3505050565b60008183611f109190613d6d565b905092915050565b611f32828260405180602001604052806000815250612445565b5050565b611f418484846118c0565b611f4d848484846124a0565b611f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f839061463d565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff16611fb483611c92565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600080612006611fe284612024565b604051602001611ff2919061465d565b604051602081830303815290604052612628565b9050601180549050816120199190614674565b905080915050919050565b6060600060016120338461265b565b01905060008167ffffffffffffffff81111561205257612051613227565b5b6040519080825280601f01601f1916602001820160405280156120845781602001600182028036833780820191505090505b509050600082602001820190505b6001156120f1578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816120db576120da61389d565b5b04945060008514156120ec576120f1565b612092565b819350505050919050565b606060008251141561211f57604051806020016040528060008152509050612270565b6000604051806060016040528060408152602001614956604091399050600060036002855161214e9190613d6d565b61215891906138cc565b60046121649190613843565b905060006020826121759190613d6d565b67ffffffffffffffff81111561218e5761218d613227565b5b6040519080825280601f01601f1916602001820160405280156121c05781602001600182028036833780820191505090505b509050818152600183018586518101602084015b8183101561222f576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253600182019150506121d4565b600389510660018114612249576002811461225957612264565b613d3d60f01b6002830352612264565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122eb848484846127ae565b600181111561232f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232690614717565b60405180910390fd5b6000829050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561237757612372816128d4565b6123b6565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146123b5576123b4858261291d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123f9576123f481612a8a565b612438565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612437576124368482612b5b565b5b5b5050505050565b50505050565b61244f8383612bda565b61245c60008484846124a0565b61249b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124929061463d565b60405180910390fd5b505050565b60006124c18473ffffffffffffffffffffffffffffffffffffffff16612df8565b1561261b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124ea61176a565b8786866040518563ffffffff1660e01b815260040161250c949392919061478c565b6020604051808303816000875af192505050801561254857506040513d601f19601f8201168201806040525081019061254591906147ed565b60015b6125cb573d8060008114612578576040519150601f19603f3d011682016040523d82523d6000602084013e61257d565b606091505b506000815114156125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ba9061463d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612620565b600190505b949350505050565b60008160405160200161263b919061465d565b6040516020818303038152906040528051906020012060001c9050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106126b9577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816126af576126ae61389d565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106126f6576d04ee2d6d415b85acef810000000083816126ec576126eb61389d565b5b0492506020810190505b662386f26fc10000831061272557662386f26fc10000838161271b5761271a61389d565b5b0492506010810190505b6305f5e100831061274e576305f5e10083816127445761274361389d565b5b0492506008810190505b61271083106127735761271083816127695761276861389d565b5b0492506004810190505b60648310612796576064838161278c5761278b61389d565b5b0492506002810190505b600a83106127a5576001810190505b80915050919050565b60018111156128ce57600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146128425780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461283a919061481a565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128cd5780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128c59190613d6d565b925050819055505b5b50505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161292a84610dc3565b612934919061481a565b9050600060076000848152602001908152602001600020549050818114612a19576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a9e919061481a565b9050600060096000848152602001908152602001600020549050600060088381548110612ace57612acd61398f565b5b906000526020600020015490508060088381548110612af057612aef61398f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b3f57612b3e61484e565b5b6001900381819060005260206000200160009055905550505050565b6000612b6683610dc3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c41906148c9565b60405180910390fd5b612c5381611f92565b15612c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8a90614935565b60405180910390fd5b612ca16000838360016122df565b612caa81611f92565b15612cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce190614935565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612df460008383600161243f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612e279061359a565b90600052602060002090601f016020900481019282612e495760008555612e90565b82601f10612e6257805160ff1916838001178555612e90565b82800160010185558215612e90579182015b82811115612e8f578251825591602001919060010190612e74565b5b509050612e9d9190612ea1565b5090565b5b80821115612eba576000816000905550600101612ea2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f0781612ed2565b8114612f1257600080fd5b50565b600081359050612f2481612efe565b92915050565b600060208284031215612f4057612f3f612ec8565b5b6000612f4e84828501612f15565b91505092915050565b60008115159050919050565b612f6c81612f57565b82525050565b6000602082019050612f876000830184612f63565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fc7578082015181840152602081019050612fac565b83811115612fd6576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ff882612f8d565b6130028185612f98565b9350613012818560208601612fa9565b61301b81612fdc565b840191505092915050565b600060208201905081810360008301526130408184612fed565b905092915050565b6000819050919050565b61305b81613048565b811461306657600080fd5b50565b60008135905061307881613052565b92915050565b60006020828403121561309457613093612ec8565b5b60006130a284828501613069565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130d6826130ab565b9050919050565b6130e6816130cb565b82525050565b600060208201905061310160008301846130dd565b92915050565b613110816130cb565b811461311b57600080fd5b50565b60008135905061312d81613107565b92915050565b6000806040838503121561314a57613149612ec8565b5b60006131588582860161311e565b925050602061316985828601613069565b9150509250929050565b61317c81613048565b82525050565b60006020820190506131976000830184613173565b92915050565b6000806000606084860312156131b6576131b5612ec8565b5b60006131c48682870161311e565b93505060206131d58682870161311e565b92505060406131e686828701613069565b9150509250925092565b60006020828403121561320657613205612ec8565b5b60006132148482850161311e565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61325f82612fdc565b810181811067ffffffffffffffff8211171561327e5761327d613227565b5b80604052505050565b6000613291612ebe565b905061329d8282613256565b919050565b600067ffffffffffffffff8211156132bd576132bc613227565b5b6132c682612fdc565b9050602081019050919050565b82818337600083830152505050565b60006132f56132f0846132a2565b613287565b90508281526020810184848401111561331157613310613222565b5b61331c8482856132d3565b509392505050565b600082601f8301126133395761333861321d565b5b81356133498482602086016132e2565b91505092915050565b60006020828403121561336857613367612ec8565b5b600082013567ffffffffffffffff81111561338657613385612ecd565b5b61339284828501613324565b91505092915050565b6133a481612f57565b81146133af57600080fd5b50565b6000813590506133c18161339b565b92915050565b600080604083850312156133de576133dd612ec8565b5b60006133ec8582860161311e565b92505060206133fd858286016133b2565b9150509250929050565b600067ffffffffffffffff82111561342257613421613227565b5b61342b82612fdc565b9050602081019050919050565b600061344b61344684613407565b613287565b90508281526020810184848401111561346757613466613222565b5b6134728482856132d3565b509392505050565b600082601f83011261348f5761348e61321d565b5b813561349f848260208601613438565b91505092915050565b600080600080608085870312156134c2576134c1612ec8565b5b60006134d08782880161311e565b94505060206134e18782880161311e565b93505060406134f287828801613069565b925050606085013567ffffffffffffffff81111561351357613512612ecd565b5b61351f8782880161347a565b91505092959194509250565b6000806040838503121561354257613541612ec8565b5b60006135508582860161311e565b92505060206135618582860161311e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135b257607f821691505b602082108114156135c6576135c561356b565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613628602183612f98565b9150613633826135cc565b604082019050919050565b600060208201905081810360008301526136578161361b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006136ba603d83612f98565b91506136c58261365e565b604082019050919050565b600060208201905081810360008301526136e9816136ad565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061374c602d83612f98565b9150613757826136f0565b604082019050919050565b6000602082019050818103600083015261377b8161373f565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006137de602b83612f98565b91506137e982613782565b604082019050919050565b6000602082019050818103600083015261380d816137d1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061384e82613048565b915061385983613048565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561389257613891613814565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006138d782613048565b91506138e283613048565b9250826138f2576138f161389d565b5b828204905092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613959602c83612f98565b9150613964826138fd565b604082019050919050565b600060208201905081810360008301526139888161394c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006139f4601883612f98565b91506139ff826139be565b602082019050919050565b60006020820190508181036000830152613a23816139e7565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613a86602983612f98565b9150613a9182613a2a565b604082019050919050565b60006020820190508181036000830152613ab581613a79565b9050919050565b7f646174612069732066726f7a656e000000000000000000000000000000000000600082015250565b6000613af2600e83612f98565b9150613afd82613abc565b602082019050919050565b60006020820190508181036000830152613b2181613ae5565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204861726d6f6e69657300000000000000000000000000000000000000602082015250565b6000613b84602d83612f98565b9150613b8f82613b28565b604082019050919050565b60006020820190508181036000830152613bb381613b77565b9050919050565b6000613bc582613048565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bf857613bf7613814565b5b600182019050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b6000613c39602083612f98565b9150613c4482613c03565b602082019050919050565b60006020820190508181036000830152613c6881613c2c565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000613ca5601f83612f98565b9150613cb082613c6f565b602082019050919050565b60006020820190508181036000830152613cd481613c98565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613d37602f83612f98565b9150613d4282613cdb565b604082019050919050565b60006020820190508181036000830152613d6681613d2a565b9050919050565b6000613d7882613048565b9150613d8383613048565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613db857613db7613814565b5b828201905092915050565b600081905092915050565b6000613dd982612f8d565b613de38185613dc3565b9350613df3818560208601612fa9565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613e218161359a565b613e2b8186613dc3565b94506001821660008114613e465760018114613e5757613e8a565b60ff19831686528186019350613e8a565b613e6085613dff565b60005b83811015613e8257815481890152600182019150602081019050613e63565b838801955050505b50505092915050565b6000613e9f8288613dce565b9150613eab8287613e14565b9150613eb78286613e14565b9150613ec38285613dce565b9150613ecf8284613dce565b91508190509695505050505050565b7f3c2f626f64793e3c2f68746d6c3e000000000000000000000000000000000000600082015250565b6000613f14600e83613dc3565b9150613f1f82613ede565b600e82019050919050565b6000613f368288613e14565b9150613f428287613e14565b9150613f4e8286613e14565b9150613f5a8285613dce565b9150613f668284613e14565b9150613f7182613f07565b91508190509695505050505050565b7f457465726e616c204861726d6f6e792023000000000000000000000000000000815250565b6000613fb182613f80565b601182019150613fc18284613dce565b915081905092915050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b6000614002600a83613dc3565b915061400d82613fcc565b600a82019050919050565b7f222c20226465736372697074696f6e223a2022546865207061696e74696e672060008201527f796f75207365652077696c6c20657869737420666f72206f6e6c79207468726560208201527f6520646179732c20616e64207468656e2074686520616c676f726974686d207760408201527f696c6c206372656174652061206e6577206f6e652e204974206973206c696b6560608201527f20612073686f727420616e6420756e69717565206d656574696e672c20736f2060808201527f74616b6520796f75722074696d6520746f20656e6a6f792069742e222c20226960a08201527f6d616765223a202200000000000000000000000000000000000000000000000060c082015250565b600061413260c883613dc3565b915061413d82614018565b60c882019050919050565b7f352e676966222c2022616e696d6174696f6e5f75726c223a2022646174613a7460008201527f6578742f68746d6c3b6261736536342c00000000000000000000000000000000602082015250565b60006141a4603083613dc3565b91506141af82614148565b603082019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006141f0600283613dc3565b91506141fb826141ba565b600282019050919050565b600061421182613ff5565b915061421d8286613dce565b915061422882614125565b91506142348285613e14565b915061423f82614197565b915061424b8284613dce565b9150614256826141e3565b9150819050949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614299601d83613dc3565b91506142a482614263565b601d82019050919050565b60006142ba8261428c565b91506142c68284613dce565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061432d602683612f98565b9150614338826142d1565b604082019050919050565b6000602082019050818103600083015261435c81614320565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006143bf602583612f98565b91506143ca82614363565b604082019050919050565b600060208201905081810360008301526143ee816143b2565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614451602483612f98565b915061445c826143f5565b604082019050919050565b6000602082019050818103600083015261448081614444565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144bd602083612f98565b91506144c882614487565b602082019050919050565b600060208201905081810360008301526144ec816144b0565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614529601f83612f98565b9150614534826144f3565b602082019050919050565b600060208201905081810360008301526145588161451c565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614595601983612f98565b91506145a08261455f565b602082019050919050565b600060208201905081810360008301526145c481614588565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614627603283612f98565b9150614632826145cb565b604082019050919050565b600060208201905081810360008301526146568161461a565b9050919050565b60006146698284613dce565b915081905092915050565b600061467f82613048565b915061468a83613048565b92508261469a5761469961389d565b5b828206905092915050565b7f455243373231456e756d657261626c653a20636f6e736563757469766520747260008201527f616e7366657273206e6f7420737570706f727465640000000000000000000000602082015250565b6000614701603583612f98565b915061470c826146a5565b604082019050919050565b60006020820190508181036000830152614730816146f4565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061475e82614737565b6147688185614742565b9350614778818560208601612fa9565b61478181612fdc565b840191505092915050565b60006080820190506147a160008301876130dd565b6147ae60208301866130dd565b6147bb6040830185613173565b81810360608301526147cd8184614753565b905095945050505050565b6000815190506147e781612efe565b92915050565b60006020828403121561480357614802612ec8565b5b6000614811848285016147d8565b91505092915050565b600061482582613048565b915061483083613048565b92508282101561484357614842613814565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006148b3602083612f98565b91506148be8261487d565b602082019050919050565b600060208201905081810360008301526148e2816148a6565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061491f601c83612f98565b915061492a826148e9565b602082019050919050565b6000602082019050818103600083015261494e81614912565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122009af75afd90184919ce526a24af8f69759dab9becfeed33426f5f899fb2817a964736f6c634300080c0033

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.