ETH Price: $3,350.40 (-1.99%)

Token

Pinazza (PNZ)
 

Overview

Max Total Supply

294 PNZ

Holders

122

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PNZ
0x9459aa165fa54d34a688c489443e35c78b81f97c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Piñazza (peen - YACHT - Zaaaa!) is a 2-part NFT drop celebrating two controversial bedfellows, Pineapple and Pizza, in a raucous marriage of immutable forbidden love, eternally captured on the blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Pinazza

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : Pinazza.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/structs/BitMaps.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract Pinazza is Ownable, ERC721Enumerable, ERC721Burnable, ERC721URIStorage  {

  using BitMaps for BitMaps.BitMap;
  using Strings for uint256;

  uint256 public SUPPLY_FOR_SALE;
  uint256 public price;
  bytes32 public merkleRoot;
  bool public salePaused;
  string private _baseTokenExtension;    
  mapping (address => bool) public claimed;

  string private _baseTokenURI;

  constructor(uint256 supplyToSell, uint256 initialPrice, string memory baseURI) ERC721("Pinazza", "PNZ") {
    salePaused = true;
    SUPPLY_FOR_SALE = supplyToSell;
    price = initialPrice;
    _baseTokenExtension = '';
    _baseTokenURI = baseURI;
  }

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

  /************ OWNER FUNCTIONS ************/

  function changeBaseURI(string calldata baseURI) public onlyOwner {
    _baseTokenURI = baseURI;
  }

  function setMerkleRoot(bytes32 root) public onlyOwner {
    merkleRoot = root;
  }
  
  function collect() public onlyOwner {
        uint remainder = address(this).balance;
        uint split = remainder / 3;
        payable(0x78160a087f0714Aa6D342760eF9A132AfeC42476).transfer(split);
        payable(0x42128A2f460FC79129B986bb9195a5D5D61D9184).transfer(split);
        payable(0x4cCEC5C60607ab287a6F3bD0d581BfFe6f307779).transfer(address(this).balance);
  }
  
  function withdraw() public onlyOwner {
    payable(owner()).transfer(address(this).balance);
  }

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

  function beginSale() public onlyOwner {
    salePaused = false;
  }

  function pauseSale() public onlyOwner {
    salePaused = true;
  }

  function ownerMint(uint256 quantity, address to) public onlyOwner {
    require(totalSupply() + quantity <= SUPPLY_FOR_SALE, "MINT:SOLD OUT");
    for(uint i = 0; i < quantity; i++) {
      _mint(to, totalSupply());
    }
  }
  
  function setTokenExtension(string memory extension) public onlyOwner {
    _baseTokenExtension = extension;
  }

  /************ PUBLIC FUNCTIONS ************/

  function mint(uint256 quantity) public payable {
    require(totalSupply() + quantity <= SUPPLY_FOR_SALE, "MINT:SOLD OUT");
    require(msg.value == price * quantity, "MINT:MSG.VALUE INCORRECT");
    require(!salePaused, "MINT:SALE PAUSED");
    for (uint256 i = 0; i < quantity; i++) {
      _safeMint(msg.sender, totalSupply());
    }
  }

  function claim(bytes32[] calldata proof, uint amount) public {
    require(!claimed[msg.sender], "CLAIM:ALREADY CLAIMED");
    require(MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender, amount))), "CLAIM:INVALID PROOF");
    claimed[msg.sender] = true;
    for(uint i = 0; i < amount; i++) {
      _mint(msg.sender, totalSupply());
    }
  }

  function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
    return string(abi.encodePacked(_baseURI(), tokenId.toString(), _baseTokenExtension));
  }

  function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) {
    super._burn(tokenId);
  }

  function supportsInterface(bytes4 interfaceId)
      public
      view
      virtual
      override(ERC721, ERC721Enumerable)
      returns (bool)
  {
      return super.supportsInterface(interfaceId);
  }

  function _beforeTokenTransfer(
      address from,
      address to,
      uint256 tokenId
  ) internal virtual override(ERC721, ERC721Enumerable) {
      super._beforeTokenTransfer(from, to, tokenId);
  }
}

File 2 of 17 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

File 3 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 17 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 5 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 17 : BitMaps.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/**
 * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
 * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
 */
library BitMaps {
    struct BitMap {
        mapping(uint256 => uint256) _data;
    }

    /**
     * @dev Returns whether the bit at `index` is set.
     */
    function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
        uint256 bucket = index / 256;
        uint256 mask = 1 << (index % 256);
        return bitmap._data[bucket] & mask != 0;
    }

    /**
     * @dev Sets the bit at `index` to the boolean `value`.
     */
    function setTo(
        BitMap storage bitmap,
        uint256 index,
        bool value
    ) internal {
        if (value) {
            set(bitmap, index);
        } else {
            unset(bitmap, index);
        }
    }

    /**
     * @dev Sets the bit at `index`.
     */
    function set(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index / 256;
        uint256 mask = 1 << (index % 256);
        bitmap._data[bucket] |= mask;
    }

    /**
     * @dev Unsets the bit at `index`.
     */
    function unset(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index / 256;
        uint256 mask = 1 << (index % 256);
        bitmap._data[bucket] &= ~mask;
    }
}

File 7 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 17 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 9 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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 of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 10 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 12 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 14 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 15 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"supplyToSell","type":"uint256"},{"internalType":"uint256","name":"initialPrice","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"SUPPLY_FOR_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beginSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"extension","type":"string"}],"name":"setTokenExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200504d3803806200504d83398181016040528101906200003791906200036f565b6040518060400160405280600781526020017f50696e617a7a61000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f504e5a0000000000000000000000000000000000000000000000000000000000815250620000c3620000b76200016a60201b60201c565b6200017260201b60201c565b8160019080519060200190620000db92919062000236565b508060029080519060200190620000f492919062000236565b5050506001600f60006101000a81548160ff02191690831515021790555082600c8190555081600d8190555060405180602001604052806000815250601090805190602001906200014792919062000236565b5080601290805190602001906200016092919062000236565b5050505062000533565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002449062000485565b90600052602060002090601f016020900481019282620002685760008555620002b4565b82601f106200028357805160ff1916838001178555620002b4565b82800160010185558215620002b4579182015b82811115620002b357825182559160200191906001019062000296565b5b509050620002c39190620002c7565b5090565b5b80821115620002e2576000816000905550600101620002c8565b5090565b6000620002fd620002f78462000412565b620003de565b9050828152602081018484840111156200031657600080fd5b620003238482856200044f565b509392505050565b600082601f8301126200033d57600080fd5b81516200034f848260208601620002e6565b91505092915050565b600081519050620003698162000519565b92915050565b6000806000606084860312156200038557600080fd5b6000620003958682870162000358565b9350506020620003a88682870162000358565b925050604084015167ffffffffffffffff811115620003c657600080fd5b620003d4868287016200032b565b9150509250925092565b6000604051905081810181811067ffffffffffffffff82111715620004085762000407620004ea565b5b8060405250919050565b600067ffffffffffffffff82111562000430576200042f620004ea565b5b601f19601f8301169050602081019050919050565b6000819050919050565b60005b838110156200046f57808201518184015260208101905062000452565b838111156200047f576000848401525b50505050565b600060028204905060018216806200049e57607f821691505b60208210811415620004b557620004b4620004bb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005248162000445565b81146200053057600080fd5b50565b614b0a80620005436000396000f3fe60806040526004361061020f5760003560e01c80635d08c1ae11610118578063a0712d68116100a0578063c884ef831161006f578063c884ef8314610752578063d52c57e01461078f578063e5225381146107b8578063e985e9c5146107cf578063f2fde38b1461080c5761020f565b8063a0712d68146106a7578063a22cb465146106c3578063b88d4fde146106ec578063c87b56dd146107155761020f565b80637cb64759116100e75780637cb64759146105d45780638da5cb5b146105fd57806391b7f5ed1461062857806395d89b4114610651578063a035b1fe1461067c5761020f565b80635d08c1ae146105185780636352211e1461054357806370a0823114610580578063715018a6146105bd5761020f565b80632f745c591161019b57806342842e0e1161016a57806342842e0e1461044757806342966c681461047057806348224f67146104995780634f6ccce7146104c457806355367ba9146105015761020f565b80632f745c59146103a157806339a0c6f9146103de5780633b439351146104075780633ccfd60b146104305761020f565b8063147c0718116101e2578063147c0718146102e257806318160ddd1461030b57806323b872dd14610336578063249380961461035f5780632eb4a7ab146103765761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906136ee565b610835565b6040516102489190614292565b60405180910390f35b34801561025d57600080fd5b50610266610847565b60405161027391906142c8565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906137c6565b6108d9565b6040516102b0919061422b565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613631565b61095e565b005b3480156102ee57600080fd5b5061030960048036038101906103049190613785565b610a76565b005b34801561031757600080fd5b50610320610b0c565b60405161032d91906145ca565b60405180910390f35b34801561034257600080fd5b5061035d6004803603810190610358919061352b565b610b19565b005b34801561036b57600080fd5b50610374610b79565b005b34801561038257600080fd5b5061038b610c12565b60405161039891906142ad565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c39190613631565b610c18565b6040516103d591906145ca565b60405180910390f35b3480156103ea57600080fd5b5061040560048036038101906104009190613740565b610cbd565b005b34801561041357600080fd5b5061042e6004803603810190610429919061366d565b610d4f565b005b34801561043c57600080fd5b50610445610f1e565b005b34801561045357600080fd5b5061046e6004803603810190610469919061352b565b610fea565b005b34801561047c57600080fd5b50610497600480360381019061049291906137c6565b61100a565b005b3480156104a557600080fd5b506104ae611066565b6040516104bb91906145ca565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e691906137c6565b61106c565b6040516104f891906145ca565b60405180910390f35b34801561050d57600080fd5b50610516611103565b005b34801561052457600080fd5b5061052d61119c565b60405161053a9190614292565b60405180910390f35b34801561054f57600080fd5b5061056a600480360381019061056591906137c6565b6111af565b604051610577919061422b565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a291906134c6565b611261565b6040516105b491906145ca565b60405180910390f35b3480156105c957600080fd5b506105d2611319565b005b3480156105e057600080fd5b506105fb60048036038101906105f691906136c5565b6113a1565b005b34801561060957600080fd5b50610612611427565b60405161061f919061422b565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a91906137c6565b611450565b005b34801561065d57600080fd5b506106666114d6565b60405161067391906142c8565b60405180910390f35b34801561068857600080fd5b50610691611568565b60405161069e91906145ca565b60405180910390f35b6106c160048036038101906106bc91906137c6565b61156e565b005b3480156106cf57600080fd5b506106ea60048036038101906106e591906135f5565b611697565b005b3480156106f857600080fd5b50610713600480360381019061070e919061357a565b611818565b005b34801561072157600080fd5b5061073c600480360381019061073791906137c6565b61187a565b60405161074991906142c8565b60405180910390f35b34801561075e57600080fd5b50610779600480360381019061077491906134c6565b6118b7565b6040516107869190614292565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b191906137ef565b6118d7565b005b3480156107c457600080fd5b506107cd6119de565b005b3480156107db57600080fd5b506107f660048036038101906107f191906134ef565b611b85565b6040516108039190614292565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e91906134c6565b611c19565b005b600061084082611d11565b9050919050565b606060018054610856906148a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610882906148a3565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b60006108e482611d8b565b610923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091a9061448a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610969826111af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d19061450a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109f9611df7565b73ffffffffffffffffffffffffffffffffffffffff161480610a285750610a2781610a22611df7565b611b85565b5b610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e9061440a565b60405180910390fd5b610a718383611dff565b505050565b610a7e611df7565b73ffffffffffffffffffffffffffffffffffffffff16610a9c611427565b73ffffffffffffffffffffffffffffffffffffffff1614610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae9906144aa565b60405180910390fd5b8060109080519060200190610b0892919061317b565b5050565b6000600980549050905090565b610b2a610b24611df7565b82611eb8565b610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b609061452a565b60405180910390fd5b610b74838383611f96565b505050565b610b81611df7565b73ffffffffffffffffffffffffffffffffffffffff16610b9f611427565b73ffffffffffffffffffffffffffffffffffffffff1614610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906144aa565b60405180910390fd5b6000600f60006101000a81548160ff021916908315150217905550565b600e5481565b6000610c2383611261565b8210610c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5b906142ea565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610cc5611df7565b73ffffffffffffffffffffffffffffffffffffffff16610ce3611427565b73ffffffffffffffffffffffffffffffffffffffff1614610d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d30906144aa565b60405180910390fd5b818160129190610d4a929190613201565b505050565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd3906143ca565b60405180910390fd5b610e52838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e543384604051602001610e379291906141a2565b604051602081830303815290604052805190602001206121f2565b610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e88906145aa565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060005b81811015610f1857610f0533610f00610b0c565b6122ce565b8080610f10906148d5565b915050610eec565b50505050565b610f26611df7565b73ffffffffffffffffffffffffffffffffffffffff16610f44611427565b73ffffffffffffffffffffffffffffffffffffffff1614610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f91906144aa565b60405180910390fd5b610fa2611427565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610fe7573d6000803e3d6000fd5b50565b61100583838360405180602001604052806000815250611818565b505050565b61101b611015611df7565b82611eb8565b61105a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110519061458a565b60405180910390fd5b6110638161249c565b50565b600c5481565b6000611076610b0c565b82106110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae9061454a565b60405180910390fd5b600982815481106110f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61110b611df7565b73ffffffffffffffffffffffffffffffffffffffff16611129611427565b73ffffffffffffffffffffffffffffffffffffffff161461117f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611176906144aa565b60405180910390fd5b6001600f60006101000a81548160ff021916908315150217905550565b600f60009054906101000a900460ff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f9061444a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c99061442a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611321611df7565b73ffffffffffffffffffffffffffffffffffffffff1661133f611427565b73ffffffffffffffffffffffffffffffffffffffff1614611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c906144aa565b60405180910390fd5b61139f60006124a8565b565b6113a9611df7565b73ffffffffffffffffffffffffffffffffffffffff166113c7611427565b73ffffffffffffffffffffffffffffffffffffffff161461141d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611414906144aa565b60405180910390fd5b80600e8190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611458611df7565b73ffffffffffffffffffffffffffffffffffffffff16611476611427565b73ffffffffffffffffffffffffffffffffffffffff16146114cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c3906144aa565b60405180910390fd5b80600d8190555050565b6060600280546114e5906148a3565b80601f0160208091040260200160405190810160405280929190818152602001828054611511906148a3565b801561155e5780601f106115335761010080835404028352916020019161155e565b820191906000526020600020905b81548152906001019060200180831161154157829003601f168201915b5050505050905090565b600d5481565b600c548161157a610b0c565b61158491906146ce565b11156115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc906144ea565b60405180910390fd5b80600d546115d39190614755565b3414611614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160b9061456a565b60405180910390fd5b600f60009054906101000a900460ff1615611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b9061436a565b60405180910390fd5b60005b81811015611693576116803361167b610b0c565b61256c565b808061168b906148d5565b915050611667565b5050565b61169f611df7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561170d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611704906143aa565b60405180910390fd5b806006600061171a611df7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117c7611df7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161180c9190614292565b60405180910390a35050565b611829611823611df7565b83611eb8565b611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f9061452a565b60405180910390fd5b6118748484848461258a565b50505050565b60606118846125e6565b61188d83612678565b60106040516020016118a1939291906141fa565b6040516020818303038152906040529050919050565b60116020528060005260406000206000915054906101000a900460ff1681565b6118df611df7565b73ffffffffffffffffffffffffffffffffffffffff166118fd611427565b73ffffffffffffffffffffffffffffffffffffffff1614611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a906144aa565b60405180910390fd5b600c548261195f610b0c565b61196991906146ce565b11156119aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a1906144ea565b60405180910390fd5b60005b828110156119d9576119c6826119c1610b0c565b6122ce565b80806119d1906148d5565b9150506119ad565b505050565b6119e6611df7565b73ffffffffffffffffffffffffffffffffffffffff16611a04611427565b73ffffffffffffffffffffffffffffffffffffffff1614611a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a51906144aa565b60405180910390fd5b60004790506000600382611a6e9190614724565b90507378160a087f0714aa6d342760ef9a132afec4247673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611aca573d6000803e3d6000fd5b507342128a2f460fc79129b986bb9195a5d5d61d918473ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611b25573d6000803e3d6000fd5b50734ccec5c60607ab287a6f3bd0d581bffe6f30777973ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611b80573d6000803e3d6000fd5b505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c21611df7565b73ffffffffffffffffffffffffffffffffffffffff16611c3f611427565b73ffffffffffffffffffffffffffffffffffffffff1614611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c906144aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc9061432a565b60405180910390fd5b611d0e816124a8565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d845750611d8382612825565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e72836111af565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ec382611d8b565b611f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef9906143ea565b60405180910390fd5b6000611f0d836111af565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f7c57508373ffffffffffffffffffffffffffffffffffffffff16611f64846108d9565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f8d5750611f8c8185611b85565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fb6826111af565b73ffffffffffffffffffffffffffffffffffffffff161461200c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612003906144ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561207c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120739061438a565b60405180910390fd5b612087838383612907565b612092600082611dff565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120e291906147af565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213991906146ce565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008082905060005b85518110156122c057600086828151811061223f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116122805782816040516020016122639291906141ce565b6040516020818303038152906040528051906020012092506122ac565b80836040516020016122939291906141ce565b6040516020818303038152906040528051906020012092505b5080806122b8906148d5565b9150506121fb565b508381149150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561233e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123359061446a565b60405180910390fd5b61234781611d8b565b15612387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237e9061434a565b60405180910390fd5b61239360008383612907565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123e391906146ce565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6124a581612917565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61258682826040518060200160405280600081525061296a565b5050565b612595848484611f96565b6125a1848484846129c5565b6125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d79061430a565b60405180910390fd5b50505050565b6060601280546125f5906148a3565b80601f0160208091040260200160405190810160405280929190818152602001828054612621906148a3565b801561266e5780601f106126435761010080835404028352916020019161266e565b820191906000526020600020905b81548152906001019060200180831161265157829003601f168201915b5050505050905090565b606060008214156126c0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612820565b600082905060005b600082146126f25780806126db906148d5565b915050600a826126eb9190614724565b91506126c8565b60008167ffffffffffffffff811115612734577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127665781602001600182028036833780820191505090505b5090505b600085146128195760018261277f91906147af565b9150600a8561278e9190614956565b603061279a91906146ce565b60f81b8183815181106127d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128129190614724565b945061276a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128f057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061290057506128ff82612b5c565b5b9050919050565b612912838383612bc6565b505050565b61292081612cda565b6000600b60008381526020019081526020016000208054612940906148a3565b90501461296757600b600082815260200190815260200160002060006129669190613287565b5b50565b61297483836122ce565b61298160008484846129c5565b6129c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b79061430a565b60405180910390fd5b505050565b60006129e68473ffffffffffffffffffffffffffffffffffffffff16612deb565b15612b4f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a0f611df7565b8786866040518563ffffffff1660e01b8152600401612a319493929190614246565b602060405180830381600087803b158015612a4b57600080fd5b505af1925050508015612a7c57506040513d601f19601f82011682018060405250810190612a799190613717565b60015b612aff573d8060008114612aac576040519150601f19603f3d011682016040523d82523d6000602084013e612ab1565b606091505b50600081511415612af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aee9061430a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b54565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612bd1838383612dfe565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c1457612c0f81612e03565b612c53565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c5257612c518382612e4c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9657612c9181612fb9565b612cd5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cd457612cd382826130fc565b5b5b505050565b6000612ce5826111af565b9050612cf381600084612907565b612cfe600083611dff565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d4e91906147af565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e5984611261565b612e6391906147af565b9050600060086000848152602001908152602001600020549050818114612f48576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612fcd91906147af565b90506000600a6000848152602001908152602001600020549050600060098381548110613023577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061306b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806130e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061310783611261565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613187906148a3565b90600052602060002090601f0160209004810192826131a957600085556131f0565b82601f106131c257805160ff19168380011785556131f0565b828001600101855582156131f0579182015b828111156131ef5782518255916020019190600101906131d4565b5b5090506131fd91906132c7565b5090565b82805461320d906148a3565b90600052602060002090601f01602090048101928261322f5760008555613276565b82601f1061324857803560ff1916838001178555613276565b82800160010185558215613276579182015b8281111561327557823582559160200191906001019061325a565b5b50905061328391906132c7565b5090565b508054613293906148a3565b6000825580601f106132a557506132c4565b601f0160209004906000526020600020908101906132c391906132c7565b5b50565b5b808211156132e05760008160009055506001016132c8565b5090565b60006132f76132f284614616565b6145e5565b90508281526020810184848401111561330f57600080fd5b61331a848285614861565b509392505050565b600061333561333084614646565b6145e5565b90508281526020810184848401111561334d57600080fd5b613358848285614861565b509392505050565b60008135905061336f81614a61565b92915050565b60008083601f84011261338757600080fd5b8235905067ffffffffffffffff8111156133a057600080fd5b6020830191508360208202830111156133b857600080fd5b9250929050565b6000813590506133ce81614a78565b92915050565b6000813590506133e381614a8f565b92915050565b6000813590506133f881614aa6565b92915050565b60008151905061340d81614aa6565b92915050565b600082601f83011261342457600080fd5b81356134348482602086016132e4565b91505092915050565b60008083601f84011261344f57600080fd5b8235905067ffffffffffffffff81111561346857600080fd5b60208301915083600182028301111561348057600080fd5b9250929050565b600082601f83011261349857600080fd5b81356134a8848260208601613322565b91505092915050565b6000813590506134c081614abd565b92915050565b6000602082840312156134d857600080fd5b60006134e684828501613360565b91505092915050565b6000806040838503121561350257600080fd5b600061351085828601613360565b925050602061352185828601613360565b9150509250929050565b60008060006060848603121561354057600080fd5b600061354e86828701613360565b935050602061355f86828701613360565b9250506040613570868287016134b1565b9150509250925092565b6000806000806080858703121561359057600080fd5b600061359e87828801613360565b94505060206135af87828801613360565b93505060406135c0878288016134b1565b925050606085013567ffffffffffffffff8111156135dd57600080fd5b6135e987828801613413565b91505092959194509250565b6000806040838503121561360857600080fd5b600061361685828601613360565b9250506020613627858286016133bf565b9150509250929050565b6000806040838503121561364457600080fd5b600061365285828601613360565b9250506020613663858286016134b1565b9150509250929050565b60008060006040848603121561368257600080fd5b600084013567ffffffffffffffff81111561369c57600080fd5b6136a886828701613375565b935093505060206136bb868287016134b1565b9150509250925092565b6000602082840312156136d757600080fd5b60006136e5848285016133d4565b91505092915050565b60006020828403121561370057600080fd5b600061370e848285016133e9565b91505092915050565b60006020828403121561372957600080fd5b6000613737848285016133fe565b91505092915050565b6000806020838503121561375357600080fd5b600083013567ffffffffffffffff81111561376d57600080fd5b6137798582860161343d565b92509250509250929050565b60006020828403121561379757600080fd5b600082013567ffffffffffffffff8111156137b157600080fd5b6137bd84828501613487565b91505092915050565b6000602082840312156137d857600080fd5b60006137e6848285016134b1565b91505092915050565b6000806040838503121561380257600080fd5b6000613810858286016134b1565b925050602061382185828601613360565b9150509250929050565b613834816147e3565b82525050565b61384b613846826147e3565b61491e565b82525050565b61385a816147f5565b82525050565b61386981614801565b82525050565b61388061387b82614801565b614930565b82525050565b60006138918261468b565b61389b81856146a1565b93506138ab818560208601614870565b6138b481614a43565b840191505092915050565b60006138ca82614696565b6138d481856146b2565b93506138e4818560208601614870565b6138ed81614a43565b840191505092915050565b600061390382614696565b61390d81856146c3565b935061391d818560208601614870565b80840191505092915050565b60008154613936816148a3565b61394081866146c3565b9450600182166000811461395b576001811461396c5761399f565b60ff1983168652818601935061399f565b61397585614676565b60005b8381101561399757815481890152600182019150602081019050613978565b838801955050505b50505092915050565b60006139b5602b836146b2565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613a1b6032836146b2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613a816026836146b2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ae7601c836146b2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613b276010836146b2565b91507f4d494e543a53414c4520504155534544000000000000000000000000000000006000830152602082019050919050565b6000613b676024836146b2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bcd6019836146b2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c0d6015836146b2565b91507f434c41494d3a414c524541445920434c41494d454400000000000000000000006000830152602082019050919050565b6000613c4d602c836146b2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613cb36038836146b2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613d19602a836146b2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d7f6029836146b2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613de56020836146b2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613e25602c836146b2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613e8b6020836146b2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613ecb6029836146b2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f31600d836146b2565b91507f4d494e543a534f4c44204f5554000000000000000000000000000000000000006000830152602082019050919050565b6000613f716021836146b2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fd76031836146b2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061403d602c836146b2565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006140a36018836146b2565b91507f4d494e543a4d53472e56414c554520494e434f525245435400000000000000006000830152602082019050919050565b60006140e36030836146b2565b91507f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f766564000000000000000000000000000000006020830152604082019050919050565b60006141496013836146b2565b91507f434c41494d3a494e56414c49442050524f4f46000000000000000000000000006000830152602082019050919050565b61418581614857565b82525050565b61419c61419782614857565b61494c565b82525050565b60006141ae828561383a565b6014820191506141be828461418b565b6020820191508190509392505050565b60006141da828561386f565b6020820191506141ea828461386f565b6020820191508190509392505050565b600061420682866138f8565b915061421282856138f8565b915061421e8284613929565b9150819050949350505050565b6000602082019050614240600083018461382b565b92915050565b600060808201905061425b600083018761382b565b614268602083018661382b565b614275604083018561417c565b81810360608301526142878184613886565b905095945050505050565b60006020820190506142a76000830184613851565b92915050565b60006020820190506142c26000830184613860565b92915050565b600060208201905081810360008301526142e281846138bf565b905092915050565b60006020820190508181036000830152614303816139a8565b9050919050565b6000602082019050818103600083015261432381613a0e565b9050919050565b6000602082019050818103600083015261434381613a74565b9050919050565b6000602082019050818103600083015261436381613ada565b9050919050565b6000602082019050818103600083015261438381613b1a565b9050919050565b600060208201905081810360008301526143a381613b5a565b9050919050565b600060208201905081810360008301526143c381613bc0565b9050919050565b600060208201905081810360008301526143e381613c00565b9050919050565b6000602082019050818103600083015261440381613c40565b9050919050565b6000602082019050818103600083015261442381613ca6565b9050919050565b6000602082019050818103600083015261444381613d0c565b9050919050565b6000602082019050818103600083015261446381613d72565b9050919050565b6000602082019050818103600083015261448381613dd8565b9050919050565b600060208201905081810360008301526144a381613e18565b9050919050565b600060208201905081810360008301526144c381613e7e565b9050919050565b600060208201905081810360008301526144e381613ebe565b9050919050565b6000602082019050818103600083015261450381613f24565b9050919050565b6000602082019050818103600083015261452381613f64565b9050919050565b6000602082019050818103600083015261454381613fca565b9050919050565b6000602082019050818103600083015261456381614030565b9050919050565b6000602082019050818103600083015261458381614096565b9050919050565b600060208201905081810360008301526145a3816140d6565b9050919050565b600060208201905081810360008301526145c38161413c565b9050919050565b60006020820190506145df600083018461417c565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561460c5761460b614a14565b5b8060405250919050565b600067ffffffffffffffff82111561463157614630614a14565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561466157614660614a14565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006146d982614857565b91506146e483614857565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561471957614718614987565b5b828201905092915050565b600061472f82614857565b915061473a83614857565b92508261474a576147496149b6565b5b828204905092915050565b600061476082614857565b915061476b83614857565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147a4576147a3614987565b5b828202905092915050565b60006147ba82614857565b91506147c583614857565b9250828210156147d8576147d7614987565b5b828203905092915050565b60006147ee82614837565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561488e578082015181840152602081019050614873565b8381111561489d576000848401525b50505050565b600060028204905060018216806148bb57607f821691505b602082108114156148cf576148ce6149e5565b5b50919050565b60006148e082614857565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561491357614912614987565b5b600182019050919050565b60006149298261493a565b9050919050565b6000819050919050565b600061494582614a54565b9050919050565b6000819050919050565b600061496182614857565b915061496c83614857565b92508261497c5761497b6149b6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614a6a816147e3565b8114614a7557600080fd5b50565b614a81816147f5565b8114614a8c57600080fd5b50565b614a9881614801565b8114614aa357600080fd5b50565b614aaf8161480b565b8114614aba57600080fd5b50565b614ac681614857565b8114614ad157600080fd5b5056fea2646970667358221220d818c05f3fd85b29df58b83eb934d5be6cb996f83cf7f659b4c653229c18dd3364736f6c634300080000330000000000000000000000000000000000000000000000000000000000002648000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c80635d08c1ae11610118578063a0712d68116100a0578063c884ef831161006f578063c884ef8314610752578063d52c57e01461078f578063e5225381146107b8578063e985e9c5146107cf578063f2fde38b1461080c5761020f565b8063a0712d68146106a7578063a22cb465146106c3578063b88d4fde146106ec578063c87b56dd146107155761020f565b80637cb64759116100e75780637cb64759146105d45780638da5cb5b146105fd57806391b7f5ed1461062857806395d89b4114610651578063a035b1fe1461067c5761020f565b80635d08c1ae146105185780636352211e1461054357806370a0823114610580578063715018a6146105bd5761020f565b80632f745c591161019b57806342842e0e1161016a57806342842e0e1461044757806342966c681461047057806348224f67146104995780634f6ccce7146104c457806355367ba9146105015761020f565b80632f745c59146103a157806339a0c6f9146103de5780633b439351146104075780633ccfd60b146104305761020f565b8063147c0718116101e2578063147c0718146102e257806318160ddd1461030b57806323b872dd14610336578063249380961461035f5780632eb4a7ab146103765761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b9575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906136ee565b610835565b6040516102489190614292565b60405180910390f35b34801561025d57600080fd5b50610266610847565b60405161027391906142c8565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e91906137c6565b6108d9565b6040516102b0919061422b565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613631565b61095e565b005b3480156102ee57600080fd5b5061030960048036038101906103049190613785565b610a76565b005b34801561031757600080fd5b50610320610b0c565b60405161032d91906145ca565b60405180910390f35b34801561034257600080fd5b5061035d6004803603810190610358919061352b565b610b19565b005b34801561036b57600080fd5b50610374610b79565b005b34801561038257600080fd5b5061038b610c12565b60405161039891906142ad565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c39190613631565b610c18565b6040516103d591906145ca565b60405180910390f35b3480156103ea57600080fd5b5061040560048036038101906104009190613740565b610cbd565b005b34801561041357600080fd5b5061042e6004803603810190610429919061366d565b610d4f565b005b34801561043c57600080fd5b50610445610f1e565b005b34801561045357600080fd5b5061046e6004803603810190610469919061352b565b610fea565b005b34801561047c57600080fd5b50610497600480360381019061049291906137c6565b61100a565b005b3480156104a557600080fd5b506104ae611066565b6040516104bb91906145ca565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e691906137c6565b61106c565b6040516104f891906145ca565b60405180910390f35b34801561050d57600080fd5b50610516611103565b005b34801561052457600080fd5b5061052d61119c565b60405161053a9190614292565b60405180910390f35b34801561054f57600080fd5b5061056a600480360381019061056591906137c6565b6111af565b604051610577919061422b565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a291906134c6565b611261565b6040516105b491906145ca565b60405180910390f35b3480156105c957600080fd5b506105d2611319565b005b3480156105e057600080fd5b506105fb60048036038101906105f691906136c5565b6113a1565b005b34801561060957600080fd5b50610612611427565b60405161061f919061422b565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a91906137c6565b611450565b005b34801561065d57600080fd5b506106666114d6565b60405161067391906142c8565b60405180910390f35b34801561068857600080fd5b50610691611568565b60405161069e91906145ca565b60405180910390f35b6106c160048036038101906106bc91906137c6565b61156e565b005b3480156106cf57600080fd5b506106ea60048036038101906106e591906135f5565b611697565b005b3480156106f857600080fd5b50610713600480360381019061070e919061357a565b611818565b005b34801561072157600080fd5b5061073c600480360381019061073791906137c6565b61187a565b60405161074991906142c8565b60405180910390f35b34801561075e57600080fd5b50610779600480360381019061077491906134c6565b6118b7565b6040516107869190614292565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b191906137ef565b6118d7565b005b3480156107c457600080fd5b506107cd6119de565b005b3480156107db57600080fd5b506107f660048036038101906107f191906134ef565b611b85565b6040516108039190614292565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e91906134c6565b611c19565b005b600061084082611d11565b9050919050565b606060018054610856906148a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610882906148a3565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b60006108e482611d8b565b610923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091a9061448a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610969826111af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d19061450a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109f9611df7565b73ffffffffffffffffffffffffffffffffffffffff161480610a285750610a2781610a22611df7565b611b85565b5b610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e9061440a565b60405180910390fd5b610a718383611dff565b505050565b610a7e611df7565b73ffffffffffffffffffffffffffffffffffffffff16610a9c611427565b73ffffffffffffffffffffffffffffffffffffffff1614610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae9906144aa565b60405180910390fd5b8060109080519060200190610b0892919061317b565b5050565b6000600980549050905090565b610b2a610b24611df7565b82611eb8565b610b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b609061452a565b60405180910390fd5b610b74838383611f96565b505050565b610b81611df7565b73ffffffffffffffffffffffffffffffffffffffff16610b9f611427565b73ffffffffffffffffffffffffffffffffffffffff1614610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906144aa565b60405180910390fd5b6000600f60006101000a81548160ff021916908315150217905550565b600e5481565b6000610c2383611261565b8210610c64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5b906142ea565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610cc5611df7565b73ffffffffffffffffffffffffffffffffffffffff16610ce3611427565b73ffffffffffffffffffffffffffffffffffffffff1614610d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d30906144aa565b60405180910390fd5b818160129190610d4a929190613201565b505050565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd3906143ca565b60405180910390fd5b610e52838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e543384604051602001610e379291906141a2565b604051602081830303815290604052805190602001206121f2565b610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e88906145aa565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060005b81811015610f1857610f0533610f00610b0c565b6122ce565b8080610f10906148d5565b915050610eec565b50505050565b610f26611df7565b73ffffffffffffffffffffffffffffffffffffffff16610f44611427565b73ffffffffffffffffffffffffffffffffffffffff1614610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f91906144aa565b60405180910390fd5b610fa2611427565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610fe7573d6000803e3d6000fd5b50565b61100583838360405180602001604052806000815250611818565b505050565b61101b611015611df7565b82611eb8565b61105a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110519061458a565b60405180910390fd5b6110638161249c565b50565b600c5481565b6000611076610b0c565b82106110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae9061454a565b60405180910390fd5b600982815481106110f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61110b611df7565b73ffffffffffffffffffffffffffffffffffffffff16611129611427565b73ffffffffffffffffffffffffffffffffffffffff161461117f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611176906144aa565b60405180910390fd5b6001600f60006101000a81548160ff021916908315150217905550565b600f60009054906101000a900460ff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f9061444a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c99061442a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611321611df7565b73ffffffffffffffffffffffffffffffffffffffff1661133f611427565b73ffffffffffffffffffffffffffffffffffffffff1614611395576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138c906144aa565b60405180910390fd5b61139f60006124a8565b565b6113a9611df7565b73ffffffffffffffffffffffffffffffffffffffff166113c7611427565b73ffffffffffffffffffffffffffffffffffffffff161461141d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611414906144aa565b60405180910390fd5b80600e8190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611458611df7565b73ffffffffffffffffffffffffffffffffffffffff16611476611427565b73ffffffffffffffffffffffffffffffffffffffff16146114cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c3906144aa565b60405180910390fd5b80600d8190555050565b6060600280546114e5906148a3565b80601f0160208091040260200160405190810160405280929190818152602001828054611511906148a3565b801561155e5780601f106115335761010080835404028352916020019161155e565b820191906000526020600020905b81548152906001019060200180831161154157829003601f168201915b5050505050905090565b600d5481565b600c548161157a610b0c565b61158491906146ce565b11156115c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bc906144ea565b60405180910390fd5b80600d546115d39190614755565b3414611614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160b9061456a565b60405180910390fd5b600f60009054906101000a900460ff1615611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b9061436a565b60405180910390fd5b60005b81811015611693576116803361167b610b0c565b61256c565b808061168b906148d5565b915050611667565b5050565b61169f611df7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561170d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611704906143aa565b60405180910390fd5b806006600061171a611df7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117c7611df7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161180c9190614292565b60405180910390a35050565b611829611823611df7565b83611eb8565b611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f9061452a565b60405180910390fd5b6118748484848461258a565b50505050565b60606118846125e6565b61188d83612678565b60106040516020016118a1939291906141fa565b6040516020818303038152906040529050919050565b60116020528060005260406000206000915054906101000a900460ff1681565b6118df611df7565b73ffffffffffffffffffffffffffffffffffffffff166118fd611427565b73ffffffffffffffffffffffffffffffffffffffff1614611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a906144aa565b60405180910390fd5b600c548261195f610b0c565b61196991906146ce565b11156119aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a1906144ea565b60405180910390fd5b60005b828110156119d9576119c6826119c1610b0c565b6122ce565b80806119d1906148d5565b9150506119ad565b505050565b6119e6611df7565b73ffffffffffffffffffffffffffffffffffffffff16611a04611427565b73ffffffffffffffffffffffffffffffffffffffff1614611a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a51906144aa565b60405180910390fd5b60004790506000600382611a6e9190614724565b90507378160a087f0714aa6d342760ef9a132afec4247673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611aca573d6000803e3d6000fd5b507342128a2f460fc79129b986bb9195a5d5d61d918473ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611b25573d6000803e3d6000fd5b50734ccec5c60607ab287a6f3bd0d581bffe6f30777973ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611b80573d6000803e3d6000fd5b505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c21611df7565b73ffffffffffffffffffffffffffffffffffffffff16611c3f611427565b73ffffffffffffffffffffffffffffffffffffffff1614611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c906144aa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc9061432a565b60405180910390fd5b611d0e816124a8565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d845750611d8382612825565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e72836111af565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ec382611d8b565b611f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef9906143ea565b60405180910390fd5b6000611f0d836111af565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f7c57508373ffffffffffffffffffffffffffffffffffffffff16611f64846108d9565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f8d5750611f8c8185611b85565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fb6826111af565b73ffffffffffffffffffffffffffffffffffffffff161461200c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612003906144ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561207c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120739061438a565b60405180910390fd5b612087838383612907565b612092600082611dff565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120e291906147af565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213991906146ce565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008082905060005b85518110156122c057600086828151811061223f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116122805782816040516020016122639291906141ce565b6040516020818303038152906040528051906020012092506122ac565b80836040516020016122939291906141ce565b6040516020818303038152906040528051906020012092505b5080806122b8906148d5565b9150506121fb565b508381149150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561233e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123359061446a565b60405180910390fd5b61234781611d8b565b15612387576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237e9061434a565b60405180910390fd5b61239360008383612907565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123e391906146ce565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6124a581612917565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61258682826040518060200160405280600081525061296a565b5050565b612595848484611f96565b6125a1848484846129c5565b6125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d79061430a565b60405180910390fd5b50505050565b6060601280546125f5906148a3565b80601f0160208091040260200160405190810160405280929190818152602001828054612621906148a3565b801561266e5780601f106126435761010080835404028352916020019161266e565b820191906000526020600020905b81548152906001019060200180831161265157829003601f168201915b5050505050905090565b606060008214156126c0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612820565b600082905060005b600082146126f25780806126db906148d5565b915050600a826126eb9190614724565b91506126c8565b60008167ffffffffffffffff811115612734577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127665781602001600182028036833780820191505090505b5090505b600085146128195760018261277f91906147af565b9150600a8561278e9190614956565b603061279a91906146ce565b60f81b8183815181106127d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128129190614724565b945061276a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128f057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061290057506128ff82612b5c565b5b9050919050565b612912838383612bc6565b505050565b61292081612cda565b6000600b60008381526020019081526020016000208054612940906148a3565b90501461296757600b600082815260200190815260200160002060006129669190613287565b5b50565b61297483836122ce565b61298160008484846129c5565b6129c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b79061430a565b60405180910390fd5b505050565b60006129e68473ffffffffffffffffffffffffffffffffffffffff16612deb565b15612b4f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a0f611df7565b8786866040518563ffffffff1660e01b8152600401612a319493929190614246565b602060405180830381600087803b158015612a4b57600080fd5b505af1925050508015612a7c57506040513d601f19601f82011682018060405250810190612a799190613717565b60015b612aff573d8060008114612aac576040519150601f19603f3d011682016040523d82523d6000602084013e612ab1565b606091505b50600081511415612af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aee9061430a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b54565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612bd1838383612dfe565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c1457612c0f81612e03565b612c53565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c5257612c518382612e4c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c9657612c9181612fb9565b612cd5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cd457612cd382826130fc565b5b5b505050565b6000612ce5826111af565b9050612cf381600084612907565b612cfe600083611dff565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d4e91906147af565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e5984611261565b612e6391906147af565b9050600060086000848152602001908152602001600020549050818114612f48576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612fcd91906147af565b90506000600a6000848152602001908152602001600020549050600060098381548110613023577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061306b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806130e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061310783611261565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613187906148a3565b90600052602060002090601f0160209004810192826131a957600085556131f0565b82601f106131c257805160ff19168380011785556131f0565b828001600101855582156131f0579182015b828111156131ef5782518255916020019190600101906131d4565b5b5090506131fd91906132c7565b5090565b82805461320d906148a3565b90600052602060002090601f01602090048101928261322f5760008555613276565b82601f1061324857803560ff1916838001178555613276565b82800160010185558215613276579182015b8281111561327557823582559160200191906001019061325a565b5b50905061328391906132c7565b5090565b508054613293906148a3565b6000825580601f106132a557506132c4565b601f0160209004906000526020600020908101906132c391906132c7565b5b50565b5b808211156132e05760008160009055506001016132c8565b5090565b60006132f76132f284614616565b6145e5565b90508281526020810184848401111561330f57600080fd5b61331a848285614861565b509392505050565b600061333561333084614646565b6145e5565b90508281526020810184848401111561334d57600080fd5b613358848285614861565b509392505050565b60008135905061336f81614a61565b92915050565b60008083601f84011261338757600080fd5b8235905067ffffffffffffffff8111156133a057600080fd5b6020830191508360208202830111156133b857600080fd5b9250929050565b6000813590506133ce81614a78565b92915050565b6000813590506133e381614a8f565b92915050565b6000813590506133f881614aa6565b92915050565b60008151905061340d81614aa6565b92915050565b600082601f83011261342457600080fd5b81356134348482602086016132e4565b91505092915050565b60008083601f84011261344f57600080fd5b8235905067ffffffffffffffff81111561346857600080fd5b60208301915083600182028301111561348057600080fd5b9250929050565b600082601f83011261349857600080fd5b81356134a8848260208601613322565b91505092915050565b6000813590506134c081614abd565b92915050565b6000602082840312156134d857600080fd5b60006134e684828501613360565b91505092915050565b6000806040838503121561350257600080fd5b600061351085828601613360565b925050602061352185828601613360565b9150509250929050565b60008060006060848603121561354057600080fd5b600061354e86828701613360565b935050602061355f86828701613360565b9250506040613570868287016134b1565b9150509250925092565b6000806000806080858703121561359057600080fd5b600061359e87828801613360565b94505060206135af87828801613360565b93505060406135c0878288016134b1565b925050606085013567ffffffffffffffff8111156135dd57600080fd5b6135e987828801613413565b91505092959194509250565b6000806040838503121561360857600080fd5b600061361685828601613360565b9250506020613627858286016133bf565b9150509250929050565b6000806040838503121561364457600080fd5b600061365285828601613360565b9250506020613663858286016134b1565b9150509250929050565b60008060006040848603121561368257600080fd5b600084013567ffffffffffffffff81111561369c57600080fd5b6136a886828701613375565b935093505060206136bb868287016134b1565b9150509250925092565b6000602082840312156136d757600080fd5b60006136e5848285016133d4565b91505092915050565b60006020828403121561370057600080fd5b600061370e848285016133e9565b91505092915050565b60006020828403121561372957600080fd5b6000613737848285016133fe565b91505092915050565b6000806020838503121561375357600080fd5b600083013567ffffffffffffffff81111561376d57600080fd5b6137798582860161343d565b92509250509250929050565b60006020828403121561379757600080fd5b600082013567ffffffffffffffff8111156137b157600080fd5b6137bd84828501613487565b91505092915050565b6000602082840312156137d857600080fd5b60006137e6848285016134b1565b91505092915050565b6000806040838503121561380257600080fd5b6000613810858286016134b1565b925050602061382185828601613360565b9150509250929050565b613834816147e3565b82525050565b61384b613846826147e3565b61491e565b82525050565b61385a816147f5565b82525050565b61386981614801565b82525050565b61388061387b82614801565b614930565b82525050565b60006138918261468b565b61389b81856146a1565b93506138ab818560208601614870565b6138b481614a43565b840191505092915050565b60006138ca82614696565b6138d481856146b2565b93506138e4818560208601614870565b6138ed81614a43565b840191505092915050565b600061390382614696565b61390d81856146c3565b935061391d818560208601614870565b80840191505092915050565b60008154613936816148a3565b61394081866146c3565b9450600182166000811461395b576001811461396c5761399f565b60ff1983168652818601935061399f565b61397585614676565b60005b8381101561399757815481890152600182019150602081019050613978565b838801955050505b50505092915050565b60006139b5602b836146b2565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613a1b6032836146b2565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613a816026836146b2565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ae7601c836146b2565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613b276010836146b2565b91507f4d494e543a53414c4520504155534544000000000000000000000000000000006000830152602082019050919050565b6000613b676024836146b2565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613bcd6019836146b2565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c0d6015836146b2565b91507f434c41494d3a414c524541445920434c41494d454400000000000000000000006000830152602082019050919050565b6000613c4d602c836146b2565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613cb36038836146b2565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613d19602a836146b2565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d7f6029836146b2565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613de56020836146b2565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613e25602c836146b2565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613e8b6020836146b2565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613ecb6029836146b2565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f31600d836146b2565b91507f4d494e543a534f4c44204f5554000000000000000000000000000000000000006000830152602082019050919050565b6000613f716021836146b2565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fd76031836146b2565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061403d602c836146b2565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006140a36018836146b2565b91507f4d494e543a4d53472e56414c554520494e434f525245435400000000000000006000830152602082019050919050565b60006140e36030836146b2565b91507f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f766564000000000000000000000000000000006020830152604082019050919050565b60006141496013836146b2565b91507f434c41494d3a494e56414c49442050524f4f46000000000000000000000000006000830152602082019050919050565b61418581614857565b82525050565b61419c61419782614857565b61494c565b82525050565b60006141ae828561383a565b6014820191506141be828461418b565b6020820191508190509392505050565b60006141da828561386f565b6020820191506141ea828461386f565b6020820191508190509392505050565b600061420682866138f8565b915061421282856138f8565b915061421e8284613929565b9150819050949350505050565b6000602082019050614240600083018461382b565b92915050565b600060808201905061425b600083018761382b565b614268602083018661382b565b614275604083018561417c565b81810360608301526142878184613886565b905095945050505050565b60006020820190506142a76000830184613851565b92915050565b60006020820190506142c26000830184613860565b92915050565b600060208201905081810360008301526142e281846138bf565b905092915050565b60006020820190508181036000830152614303816139a8565b9050919050565b6000602082019050818103600083015261432381613a0e565b9050919050565b6000602082019050818103600083015261434381613a74565b9050919050565b6000602082019050818103600083015261436381613ada565b9050919050565b6000602082019050818103600083015261438381613b1a565b9050919050565b600060208201905081810360008301526143a381613b5a565b9050919050565b600060208201905081810360008301526143c381613bc0565b9050919050565b600060208201905081810360008301526143e381613c00565b9050919050565b6000602082019050818103600083015261440381613c40565b9050919050565b6000602082019050818103600083015261442381613ca6565b9050919050565b6000602082019050818103600083015261444381613d0c565b9050919050565b6000602082019050818103600083015261446381613d72565b9050919050565b6000602082019050818103600083015261448381613dd8565b9050919050565b600060208201905081810360008301526144a381613e18565b9050919050565b600060208201905081810360008301526144c381613e7e565b9050919050565b600060208201905081810360008301526144e381613ebe565b9050919050565b6000602082019050818103600083015261450381613f24565b9050919050565b6000602082019050818103600083015261452381613f64565b9050919050565b6000602082019050818103600083015261454381613fca565b9050919050565b6000602082019050818103600083015261456381614030565b9050919050565b6000602082019050818103600083015261458381614096565b9050919050565b600060208201905081810360008301526145a3816140d6565b9050919050565b600060208201905081810360008301526145c38161413c565b9050919050565b60006020820190506145df600083018461417c565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561460c5761460b614a14565b5b8060405250919050565b600067ffffffffffffffff82111561463157614630614a14565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561466157614660614a14565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006146d982614857565b91506146e483614857565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561471957614718614987565b5b828201905092915050565b600061472f82614857565b915061473a83614857565b92508261474a576147496149b6565b5b828204905092915050565b600061476082614857565b915061476b83614857565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147a4576147a3614987565b5b828202905092915050565b60006147ba82614857565b91506147c583614857565b9250828210156147d8576147d7614987565b5b828203905092915050565b60006147ee82614837565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561488e578082015181840152602081019050614873565b8381111561489d576000848401525b50505050565b600060028204905060018216806148bb57607f821691505b602082108114156148cf576148ce6149e5565b5b50919050565b60006148e082614857565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561491357614912614987565b5b600182019050919050565b60006149298261493a565b9050919050565b6000819050919050565b600061494582614a54565b9050919050565b6000819050919050565b600061496182614857565b915061496c83614857565b92508261497c5761497b6149b6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614a6a816147e3565b8114614a7557600080fd5b50565b614a81816147f5565b8114614a8c57600080fd5b50565b614a9881614801565b8114614aa357600080fd5b50565b614aaf8161480b565b8114614aba57600080fd5b50565b614ac681614857565b8114614ad157600080fd5b5056fea2646970667358221220d818c05f3fd85b29df58b83eb934d5be6cb996f83cf7f659b4c653229c18dd3364736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000002648000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : supplyToSell (uint256): 9800
Arg [1] : initialPrice (uint256): 80000000000000000
Arg [2] : baseURI (string):

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002648
Arg [1] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000


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.