ETH Price: $3,309.43 (-1.10%)
 

Overview

Max Total Supply

0 FLIPGRID01

Holders

57

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 FLIPGRID01
0xF2150e96ad95593Aba23551b52D3fca376423af5
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Flipgrid

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

/*
                                                                       .:::::=. 
                                                                     =+=::::-:  
                 :=    .--=::--:-=::+-:=-:--                       .=      =    
                .:== :=-:+:.-+..*::+-:-*:-*:::::::::::.           :=:::::-*     
                --:::-+.        :=        --          .--.      .=+::::::+      
   ..     .:::-:      :-         .=        .=            :---::-.       .-      
  .=-*-:::.    :-+*=-  -:         :-        .=             .+:::::::::::*.      
   +.:+=       .-=+--   --.....::::*          +::::::::::::-+:::::::::::*       
   =: ==                =:..      :=         -:            :+:::        :=      
  =..=:......         --         --        --            --     -*:::::::+      
   -=:.   ...:::--  .=.         =.       :=           .--        .*::::::-+     
                  -:+::::::::=:+=::::::--+--:=:=:=-==:.           .=      :=    
                             =  --         =:+===-+:+               +=:::::-=   
                              =. .=.                                 .::::::-:  
                               :-: -:                                           
                                  ::-                                           
                                                                              

 ######   ##        ####    #####              ####    #####     ####    ####    
 ##       ##         ##     ##  ##            ##  ##   ##  ##     ##     ## ##   
 ##       ##         ##     ##  ##            ##       ##  ##     ##     ##  ##  
 ####     ##         ##     #####             ## ###   #####      ##     ##  ##  
 ##       ##         ##     ##                ##  ##   ####       ##     ##  ##  
 ##       ##         ##     ##                ##  ##   ## ##      ##     ## ##   
 ##       ######    ####    ##                 ####    ##  ##    ####    ####        
*/

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";


interface InfiniteGrid {
    function balanceOf(address owner) external view returns (uint256 balance);
}

contract Flipgrid is ERC721, IERC2981, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenCounter;

    string private baseURI = 'https://infinitegrid.art/api/flipgrid';
    
    bool public isPublicSaleActive = false;
    bool public isGridSaleActive = false;

    uint256 public MAX_SUPPLY = 60; 
    uint256 public MAX_PER_WALLET = 1;
    uint256 public PUBLIC_SALE_PRICE = 0.1 ether;
    uint256 public ROYALTY = 5; // 10% - don't resell friends
    uint256 public GRID_THRESHOLD = 1; // 1 Grid
    address public GRID_ADDRESS = 0x78898ffA059D170F887555d8Fd6443D2ABe4E548; // Infinite Grid

    // Modifiers

    modifier publicSaleActive() {
        require(isPublicSaleActive, "Public sale is not open");
        _;
    }

    modifier gridSaleActive() {
        require(isGridSaleActive, "Grid sale is not open");
        _;
    }

    modifier canMintToken() {
        require(
            tokenCounter.current() <=
                MAX_SUPPLY,
            "Not enough tickets remaining to mint"
        );
        _;
    }

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

    modifier hasGrid() {
        require(
            InfiniteGrid(GRID_ADDRESS).balanceOf(msg.sender) >= GRID_THRESHOLD,
            "You must hold an Infinte Grid to purchase a Flipgrid."
        );
        _;
    }

    modifier hasMinted() {
        require(
            balanceOf(msg.sender) < MAX_PER_WALLET,
            "This address has already minted."
        );
        _;
    }

    constructor() ERC721("Flip Grid 01", "FLIPGRID01") {
    }

    function mint()
        external
        payable
        nonReentrant
        isCorrectPayment(PUBLIC_SALE_PRICE)
        gridSaleActive
        hasGrid
        canMintToken
        hasMinted
    {
        _safeMint(msg.sender, nextTokenId());
    }

    function mintPublic()
        external
        payable
        nonReentrant
        isCorrectPayment(PUBLIC_SALE_PRICE)
        publicSaleActive
        canMintToken
    {
        _safeMint(msg.sender, nextTokenId());
    }


    function mintOwner(uint256 numberOfTokens) public onlyOwner {
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(msg.sender, nextTokenId());
        }
    }

    // Public

    function getBaseURI() external view returns (string memory) {
        return baseURI;
    }

    function getLastTokenId() external view returns (uint256) {
        return tokenCounter.current();
    }

    // Admin

    function setBaseURI(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function setGridAddress(address _address) external onlyOwner {
        GRID_ADDRESS = _address;
    }

    function setThreshold(uint256 _num) external onlyOwner {
        GRID_THRESHOLD = _num;
    }

    function setMaxPerWallet(uint256 _max) external onlyOwner {
        MAX_PER_WALLET = _max;
    }

    function setRoyalty(uint256 _royalty) external onlyOwner {
        ROYALTY = _royalty;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function setIsPublicSaleActive(bool _isPublicSaleActive)
        external
        onlyOwner
    {
        isPublicSaleActive = _isPublicSaleActive;
    }

    function setIsGridSaleActive(bool _isGridSaleActive)
        external
        onlyOwner
    {
        isGridSaleActive = _isGridSaleActive;
    }

    // Counter stuff

    function nextTokenId() private returns (uint256) {
        tokenCounter.increment();
        return tokenCounter.current();
    }

    // Royalties

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


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

        return
            string(abi.encodePacked(baseURI, "/", tokenId.toString()));
    }

    /**
     * @dev See {IERC165-royaltyInfo}.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(tokenId), "Nonexistent token");

        return (address(this), SafeMath.div(SafeMath.mul(salePrice, ROYALTY), 100));
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 3 of 16 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GRID_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GRID_THRESHOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isGridSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setGridAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isGridSaleActive","type":"bool"}],"name":"setIsGridSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royalty","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060600160405280602581526020016200464a6025913960099080519060200190620000359291906200028b565b506000600a60006101000a81548160ff0219169083151502179055506000600a60016101000a81548160ff021916908315150217905550603c600b556001600c5567016345785d8a0000600d556005600e556001600f557378898ffa059d170f887555d8fd6443d2abe4e548601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000ee57600080fd5b506040518060400160405280600c81526020017f466c6970204772696420303100000000000000000000000000000000000000008152506040518060400160405280600a81526020017f464c4950475249443031000000000000000000000000000000000000000000008152508160009080519060200190620001739291906200028b565b5080600190805190602001906200018c9291906200028b565b505050620001af620001a3620001bd60201b60201c565b620001c560201b60201c565b6001600781905550620003a0565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000299906200036a565b90600052602060002090601f016020900481019282620002bd576000855562000309565b82601f10620002d857805160ff191683800117855562000309565b8280016001018555821562000309579182015b8281111562000308578251825591602001919060010190620002eb565b5b5090506200031891906200031c565b5090565b5b80821115620003375760008160009055506001016200031d565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200038357607f821691505b602082108114156200039a57620003996200033b565b5b50919050565b61429a80620003b06000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063960bfe04116100ab578063c87b56dd1161006f578063c87b56dd1461078e578063e268e4d3146107cb578063e985e9c5146107f4578063f19551f314610831578063f2fde38b1461085c57610225565b8063960bfe04146106bf578063a202d4e2146106e8578063a22cb46514610713578063b88d4fde1461073c578063bf51fdac1461076557610225565b806383c4c00d116100f257806383c4c00d146106095780638704a208146106345780638c874ebd1461065f5780638da5cb5b1461066957806395d89b411461069457610225565b806370a0823114610561578063714c53981461059e578063715018a6146105c95780637e68658a146105e057610225565b806328cad13d116101b15780634209a2e1116101755780634209a2e11461047e57806342842e0e146104a757806355f804b3146104d05780636352211e146104f95780636a2358401461053657610225565b806328cad13d146103ac5780632a55205a146103d557806332cb6b0c1461041357806333f88d221461043e5780633ccfd60b1461046757610225565b8063095ea7b3116101f8578063095ea7b3146102fa5780630f2cdd6c146103235780631249c58b1461034e5780631e84c4131461035857806323b872dd1461038357610225565b806301ffc9a71461022a57806306fdde031461026757806307e89ec014610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612afe565b610885565b60405161025e9190612b46565b60405180910390f35b34801561027357600080fd5b5061027c6108ff565b6040516102899190612bfa565b60405180910390f35b34801561029e57600080fd5b506102a7610991565b6040516102b49190612c35565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190612c7c565b610997565b6040516102f19190612cea565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c9190612d31565b610a1c565b005b34801561032f57600080fd5b50610338610b34565b6040516103459190612c35565b60405180910390f35b610356610b3a565b005b34801561036457600080fd5b5061036d610dc2565b60405161037a9190612b46565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190612d71565b610dd5565b005b3480156103b857600080fd5b506103d360048036038101906103ce9190612df0565b610e35565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190612e1d565b610ece565b60405161040a929190612e5d565b60405180910390f35b34801561041f57600080fd5b50610428610f3b565b6040516104359190612c35565b60405180910390f35b34801561044a57600080fd5b5061046560048036038101906104609190612c7c565b610f41565b005b34801561047357600080fd5b5061047c610ff0565b005b34801561048a57600080fd5b506104a560048036038101906104a09190612c7c565b6110bb565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190612d71565b611141565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190612fbb565b611161565b005b34801561050557600080fd5b50610520600480360381019061051b9190612c7c565b6111f7565b60405161052d9190612cea565b60405180910390f35b34801561054257600080fd5b5061054b6112a9565b6040516105589190612c35565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613004565b6112af565b6040516105959190612c35565b60405180910390f35b3480156105aa57600080fd5b506105b3611367565b6040516105c09190612bfa565b60405180910390f35b3480156105d557600080fd5b506105de6113f9565b005b3480156105ec57600080fd5b5061060760048036038101906106029190613004565b611481565b005b34801561061557600080fd5b5061061e611541565b60405161062b9190612c35565b60405180910390f35b34801561064057600080fd5b50610649611552565b6040516106569190612c35565b60405180910390f35b610667611558565b005b34801561067557600080fd5b5061067e6116a5565b60405161068b9190612cea565b60405180910390f35b3480156106a057600080fd5b506106a96116cf565b6040516106b69190612bfa565b60405180910390f35b3480156106cb57600080fd5b506106e660048036038101906106e19190612c7c565b611761565b005b3480156106f457600080fd5b506106fd6117e7565b60405161070a9190612b46565b60405180910390f35b34801561071f57600080fd5b5061073a60048036038101906107359190613031565b6117fa565b005b34801561074857600080fd5b50610763600480360381019061075e9190613112565b611810565b005b34801561077157600080fd5b5061078c60048036038101906107879190612df0565b611872565b005b34801561079a57600080fd5b506107b560048036038101906107b09190612c7c565b61190b565b6040516107c29190612bfa565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed9190612c7c565b611987565b005b34801561080057600080fd5b5061081b60048036038101906108169190613195565b611a0d565b6040516108289190612b46565b60405180910390f35b34801561083d57600080fd5b50610846611aa1565b6040516108539190612cea565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190613004565b611ac7565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f857506108f782611bbf565b5b9050919050565b60606000805461090e90613204565b80601f016020809104026020016040519081016040528092919081815260200182805461093a90613204565b80156109875780601f1061095c57610100808354040283529160200191610987565b820191906000526020600020905b81548152906001019060200180831161096a57829003601f168201915b5050505050905090565b600d5481565b60006109a282611ca1565b6109e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d8906132a8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a27826111f7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f9061333a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab7611d0d565b73ffffffffffffffffffffffffffffffffffffffff161480610ae65750610ae581610ae0611d0d565b611a0d565b5b610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c906133cc565b60405180910390fd5b610b2f8383611d15565b505050565b600c5481565b60026007541415610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790613438565b60405180910390fd5b6002600781905550600d5434811115610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc5906134a4565b60405180910390fd5b600a60019054906101000a900460ff16610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1490613510565b60405180910390fd5b600f54601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610c7b9190612cea565b60206040518083038186803b158015610c9357600080fd5b505afa158015610ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccb9190613545565b1015610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d03906135e4565b60405180910390fd5b600b54610d196008611dce565b1115610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5190613676565b60405180910390fd5b600c54610d66336112af565b10610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d906136e2565b60405180910390fd5b610db733610db2611ddc565b611df7565b506001600781905550565b600a60009054906101000a900460ff1681565b610de6610de0611d0d565b82611e15565b610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c90613774565b60405180910390fd5b610e30838383611ef3565b505050565b610e3d611d0d565b73ffffffffffffffffffffffffffffffffffffffff16610e5b6116a5565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea8906137e0565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b600080610eda84611ca1565b610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f109061384c565b60405180910390fd5b30610f30610f2985600e5461215a565b6064612170565b915091509250929050565b600b5481565b610f49611d0d565b73ffffffffffffffffffffffffffffffffffffffff16610f676116a5565b73ffffffffffffffffffffffffffffffffffffffff1614610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb4906137e0565b60405180910390fd5b60005b81811015610fec57610fd933610fd4611ddc565b611df7565b8080610fe49061389b565b915050610fc0565b5050565b610ff8611d0d565b73ffffffffffffffffffffffffffffffffffffffff166110166116a5565b73ffffffffffffffffffffffffffffffffffffffff161461106c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611063906137e0565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156110b7573d6000803e3d6000fd5b5050565b6110c3611d0d565b73ffffffffffffffffffffffffffffffffffffffff166110e16116a5565b73ffffffffffffffffffffffffffffffffffffffff1614611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e906137e0565b60405180910390fd5b80600e8190555050565b61115c83838360405180602001604052806000815250611810565b505050565b611169611d0d565b73ffffffffffffffffffffffffffffffffffffffff166111876116a5565b73ffffffffffffffffffffffffffffffffffffffff16146111dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d4906137e0565b60405180910390fd5b80600990805190602001906111f39291906129ef565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129790613956565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611317906139e8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606009805461137690613204565b80601f01602080910402602001604051908101604052809291908181526020018280546113a290613204565b80156113ef5780601f106113c4576101008083540402835291602001916113ef565b820191906000526020600020905b8154815290600101906020018083116113d257829003601f168201915b5050505050905090565b611401611d0d565b73ffffffffffffffffffffffffffffffffffffffff1661141f6116a5565b73ffffffffffffffffffffffffffffffffffffffff1614611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c906137e0565b60405180910390fd5b61147f6000612186565b565b611489611d0d565b73ffffffffffffffffffffffffffffffffffffffff166114a76116a5565b73ffffffffffffffffffffffffffffffffffffffff16146114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f4906137e0565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061154d6008611dce565b905090565b600e5481565b6002600754141561159e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159590613438565b60405180910390fd5b6002600781905550600d54348111156115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e3906134a4565b60405180910390fd5b600a60009054906101000a900460ff1661163b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163290613a54565b60405180910390fd5b600b546116486008611dce565b1115611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168090613676565b60405180910390fd5b61169a33611695611ddc565b611df7565b506001600781905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546116de90613204565b80601f016020809104026020016040519081016040528092919081815260200182805461170a90613204565b80156117575780601f1061172c57610100808354040283529160200191611757565b820191906000526020600020905b81548152906001019060200180831161173a57829003601f168201915b5050505050905090565b611769611d0d565b73ffffffffffffffffffffffffffffffffffffffff166117876116a5565b73ffffffffffffffffffffffffffffffffffffffff16146117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d4906137e0565b60405180910390fd5b80600f8190555050565b600a60019054906101000a900460ff1681565b61180c611805611d0d565b838361224c565b5050565b61182161181b611d0d565b83611e15565b611860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185790613774565b60405180910390fd5b61186c848484846123b9565b50505050565b61187a611d0d565b73ffffffffffffffffffffffffffffffffffffffff166118986116a5565b73ffffffffffffffffffffffffffffffffffffffff16146118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e5906137e0565b60405180910390fd5b80600a60016101000a81548160ff02191690831515021790555050565b606061191682611ca1565b611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c9061384c565b60405180910390fd5b600961196083612415565b604051602001611971929190613b90565b6040516020818303038152906040529050919050565b61198f611d0d565b73ffffffffffffffffffffffffffffffffffffffff166119ad6116a5565b73ffffffffffffffffffffffffffffffffffffffff1614611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa906137e0565b60405180910390fd5b80600c8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611acf611d0d565b73ffffffffffffffffffffffffffffffffffffffff16611aed6116a5565b73ffffffffffffffffffffffffffffffffffffffff1614611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a906137e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa90613c31565b60405180910390fd5b611bbc81612186565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c8a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c9a5750611c9982612576565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d88836111f7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611de860086125e0565b611df26008611dce565b905090565b611e118282604051806020016040528060008152506125f6565b5050565b6000611e2082611ca1565b611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5690613cc3565b60405180910390fd5b6000611e6a836111f7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ed957508373ffffffffffffffffffffffffffffffffffffffff16611ec184610997565b73ffffffffffffffffffffffffffffffffffffffff16145b80611eea5750611ee98185611a0d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f13826111f7565b73ffffffffffffffffffffffffffffffffffffffff1614611f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6090613d55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090613de7565b60405180910390fd5b611fe4838383612651565b611fef600082611d15565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461203f9190613e07565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120969190613e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612155838383612656565b505050565b600081836121689190613e91565b905092915050565b6000818361217e9190613f1a565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b290613f97565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123ac9190612b46565b60405180910390a3505050565b6123c4848484611ef3565b6123d08484848461265b565b61240f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240690614029565b60405180910390fd5b50505050565b6060600082141561245d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612571565b600082905060005b6000821461248f5780806124789061389b565b915050600a826124889190613f1a565b9150612465565b60008167ffffffffffffffff8111156124ab576124aa612e90565b5b6040519080825280601f01601f1916602001820160405280156124dd5781602001600182028036833780820191505090505b5090505b6000851461256a576001826124f69190613e07565b9150600a856125059190614049565b60306125119190613e3b565b60f81b8183815181106125275761252661407a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125639190613f1a565b94506124e1565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6001816000016000828254019250508190555050565b61260083836127f2565b61260d600084848461265b565b61264c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264390614029565b60405180910390fd5b505050565b505050565b505050565b600061267c8473ffffffffffffffffffffffffffffffffffffffff166129cc565b156127e5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126a5611d0d565b8786866040518563ffffffff1660e01b81526004016126c794939291906140fe565b602060405180830381600087803b1580156126e157600080fd5b505af192505050801561271257506040513d601f19601f8201168201806040525081019061270f919061415f565b60015b612795573d8060008114612742576040519150601f19603f3d011682016040523d82523d6000602084013e612747565b606091505b5060008151141561278d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278490614029565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127ea565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612862576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612859906141d8565b60405180910390fd5b61286b81611ca1565b156128ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a290614244565b60405180910390fd5b6128b760008383612651565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129079190613e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129c860008383612656565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546129fb90613204565b90600052602060002090601f016020900481019282612a1d5760008555612a64565b82601f10612a3657805160ff1916838001178555612a64565b82800160010185558215612a64579182015b82811115612a63578251825591602001919060010190612a48565b5b509050612a719190612a75565b5090565b5b80821115612a8e576000816000905550600101612a76565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612adb81612aa6565b8114612ae657600080fd5b50565b600081359050612af881612ad2565b92915050565b600060208284031215612b1457612b13612a9c565b5b6000612b2284828501612ae9565b91505092915050565b60008115159050919050565b612b4081612b2b565b82525050565b6000602082019050612b5b6000830184612b37565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b9b578082015181840152602081019050612b80565b83811115612baa576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bcc82612b61565b612bd68185612b6c565b9350612be6818560208601612b7d565b612bef81612bb0565b840191505092915050565b60006020820190508181036000830152612c148184612bc1565b905092915050565b6000819050919050565b612c2f81612c1c565b82525050565b6000602082019050612c4a6000830184612c26565b92915050565b612c5981612c1c565b8114612c6457600080fd5b50565b600081359050612c7681612c50565b92915050565b600060208284031215612c9257612c91612a9c565b5b6000612ca084828501612c67565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cd482612ca9565b9050919050565b612ce481612cc9565b82525050565b6000602082019050612cff6000830184612cdb565b92915050565b612d0e81612cc9565b8114612d1957600080fd5b50565b600081359050612d2b81612d05565b92915050565b60008060408385031215612d4857612d47612a9c565b5b6000612d5685828601612d1c565b9250506020612d6785828601612c67565b9150509250929050565b600080600060608486031215612d8a57612d89612a9c565b5b6000612d9886828701612d1c565b9350506020612da986828701612d1c565b9250506040612dba86828701612c67565b9150509250925092565b612dcd81612b2b565b8114612dd857600080fd5b50565b600081359050612dea81612dc4565b92915050565b600060208284031215612e0657612e05612a9c565b5b6000612e1484828501612ddb565b91505092915050565b60008060408385031215612e3457612e33612a9c565b5b6000612e4285828601612c67565b9250506020612e5385828601612c67565b9150509250929050565b6000604082019050612e726000830185612cdb565b612e7f6020830184612c26565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ec882612bb0565b810181811067ffffffffffffffff82111715612ee757612ee6612e90565b5b80604052505050565b6000612efa612a92565b9050612f068282612ebf565b919050565b600067ffffffffffffffff821115612f2657612f25612e90565b5b612f2f82612bb0565b9050602081019050919050565b82818337600083830152505050565b6000612f5e612f5984612f0b565b612ef0565b905082815260208101848484011115612f7a57612f79612e8b565b5b612f85848285612f3c565b509392505050565b600082601f830112612fa257612fa1612e86565b5b8135612fb2848260208601612f4b565b91505092915050565b600060208284031215612fd157612fd0612a9c565b5b600082013567ffffffffffffffff811115612fef57612fee612aa1565b5b612ffb84828501612f8d565b91505092915050565b60006020828403121561301a57613019612a9c565b5b600061302884828501612d1c565b91505092915050565b6000806040838503121561304857613047612a9c565b5b600061305685828601612d1c565b925050602061306785828601612ddb565b9150509250929050565b600067ffffffffffffffff82111561308c5761308b612e90565b5b61309582612bb0565b9050602081019050919050565b60006130b56130b084613071565b612ef0565b9050828152602081018484840111156130d1576130d0612e8b565b5b6130dc848285612f3c565b509392505050565b600082601f8301126130f9576130f8612e86565b5b81356131098482602086016130a2565b91505092915050565b6000806000806080858703121561312c5761312b612a9c565b5b600061313a87828801612d1c565b945050602061314b87828801612d1c565b935050604061315c87828801612c67565b925050606085013567ffffffffffffffff81111561317d5761317c612aa1565b5b613189878288016130e4565b91505092959194509250565b600080604083850312156131ac576131ab612a9c565b5b60006131ba85828601612d1c565b92505060206131cb85828601612d1c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061321c57607f821691505b602082108114156132305761322f6131d5565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613292602c83612b6c565b915061329d82613236565b604082019050919050565b600060208201905081810360008301526132c181613285565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613324602183612b6c565b915061332f826132c8565b604082019050919050565b6000602082019050818103600083015261335381613317565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006133b6603883612b6c565b91506133c18261335a565b604082019050919050565b600060208201905081810360008301526133e5816133a9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613422601f83612b6c565b915061342d826133ec565b602082019050919050565b6000602082019050818103600083015261345181613415565b9050919050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b600061348e601883612b6c565b915061349982613458565b602082019050919050565b600060208201905081810360008301526134bd81613481565b9050919050565b7f477269642073616c65206973206e6f74206f70656e0000000000000000000000600082015250565b60006134fa601583612b6c565b9150613505826134c4565b602082019050919050565b60006020820190508181036000830152613529816134ed565b9050919050565b60008151905061353f81612c50565b92915050565b60006020828403121561355b5761355a612a9c565b5b600061356984828501613530565b91505092915050565b7f596f75206d75737420686f6c6420616e20496e66696e7465204772696420746f60008201527f207075726368617365206120466c6970677269642e0000000000000000000000602082015250565b60006135ce603583612b6c565b91506135d982613572565b604082019050919050565b600060208201905081810360008301526135fd816135c1565b9050919050565b7f4e6f7420656e6f756768207469636b6574732072656d61696e696e6720746f2060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b6000613660602483612b6c565b915061366b82613604565b604082019050919050565b6000602082019050818103600083015261368f81613653565b9050919050565b7f5468697320616464726573732068617320616c7265616479206d696e7465642e600082015250565b60006136cc602083612b6c565b91506136d782613696565b602082019050919050565b600060208201905081810360008301526136fb816136bf565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061375e603183612b6c565b915061376982613702565b604082019050919050565b6000602082019050818103600083015261378d81613751565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006137ca602083612b6c565b91506137d582613794565b602082019050919050565b600060208201905081810360008301526137f9816137bd565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000613836601183612b6c565b915061384182613800565b602082019050919050565b6000602082019050818103600083015261386581613829565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138a682612c1c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138d9576138d861386c565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613940602983612b6c565b915061394b826138e4565b604082019050919050565b6000602082019050818103600083015261396f81613933565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006139d2602a83612b6c565b91506139dd82613976565b604082019050919050565b60006020820190508181036000830152613a01816139c5565b9050919050565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b6000613a3e601783612b6c565b9150613a4982613a08565b602082019050919050565b60006020820190508181036000830152613a6d81613a31565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613aa181613204565b613aab8186613a74565b94506001821660008114613ac65760018114613ad757613b0a565b60ff19831686528186019350613b0a565b613ae085613a7f565b60005b83811015613b0257815481890152600182019150602081019050613ae3565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613b49600183613a74565b9150613b5482613b13565b600182019050919050565b6000613b6a82612b61565b613b748185613a74565b9350613b84818560208601612b7d565b80840191505092915050565b6000613b9c8285613a94565b9150613ba782613b3c565b9150613bb38284613b5f565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613c1b602683612b6c565b9150613c2682613bbf565b604082019050919050565b60006020820190508181036000830152613c4a81613c0e565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613cad602c83612b6c565b9150613cb882613c51565b604082019050919050565b60006020820190508181036000830152613cdc81613ca0565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613d3f602583612b6c565b9150613d4a82613ce3565b604082019050919050565b60006020820190508181036000830152613d6e81613d32565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613dd1602483612b6c565b9150613ddc82613d75565b604082019050919050565b60006020820190508181036000830152613e0081613dc4565b9050919050565b6000613e1282612c1c565b9150613e1d83612c1c565b925082821015613e3057613e2f61386c565b5b828203905092915050565b6000613e4682612c1c565b9150613e5183612c1c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e8657613e8561386c565b5b828201905092915050565b6000613e9c82612c1c565b9150613ea783612c1c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ee057613edf61386c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f2582612c1c565b9150613f3083612c1c565b925082613f4057613f3f613eeb565b5b828204905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613f81601983612b6c565b9150613f8c82613f4b565b602082019050919050565b60006020820190508181036000830152613fb081613f74565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614013603283612b6c565b915061401e82613fb7565b604082019050919050565b6000602082019050818103600083015261404281614006565b9050919050565b600061405482612c1c565b915061405f83612c1c565b92508261406f5761406e613eeb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006140d0826140a9565b6140da81856140b4565b93506140ea818560208601612b7d565b6140f381612bb0565b840191505092915050565b60006080820190506141136000830187612cdb565b6141206020830186612cdb565b61412d6040830185612c26565b818103606083015261413f81846140c5565b905095945050505050565b60008151905061415981612ad2565b92915050565b60006020828403121561417557614174612a9c565b5b60006141838482850161414a565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006141c2602083612b6c565b91506141cd8261418c565b602082019050919050565b600060208201905081810360008301526141f1816141b5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061422e601c83612b6c565b9150614239826141f8565b602082019050919050565b6000602082019050818103600083015261425d81614221565b905091905056fea26469706673582212200fbc3edf9b56dc9c7592bfa38a9e73df57d075365080c59fe19b46c790f2f99264736f6c6343000809003368747470733a2f2f696e66696e697465677269642e6172742f6170692f666c697067726964

Deployed Bytecode

0x6080604052600436106102255760003560e01c806370a0823111610123578063960bfe04116100ab578063c87b56dd1161006f578063c87b56dd1461078e578063e268e4d3146107cb578063e985e9c5146107f4578063f19551f314610831578063f2fde38b1461085c57610225565b8063960bfe04146106bf578063a202d4e2146106e8578063a22cb46514610713578063b88d4fde1461073c578063bf51fdac1461076557610225565b806383c4c00d116100f257806383c4c00d146106095780638704a208146106345780638c874ebd1461065f5780638da5cb5b1461066957806395d89b411461069457610225565b806370a0823114610561578063714c53981461059e578063715018a6146105c95780637e68658a146105e057610225565b806328cad13d116101b15780634209a2e1116101755780634209a2e11461047e57806342842e0e146104a757806355f804b3146104d05780636352211e146104f95780636a2358401461053657610225565b806328cad13d146103ac5780632a55205a146103d557806332cb6b0c1461041357806333f88d221461043e5780633ccfd60b1461046757610225565b8063095ea7b3116101f8578063095ea7b3146102fa5780630f2cdd6c146103235780631249c58b1461034e5780631e84c4131461035857806323b872dd1461038357610225565b806301ffc9a71461022a57806306fdde031461026757806307e89ec014610292578063081812fc146102bd575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612afe565b610885565b60405161025e9190612b46565b60405180910390f35b34801561027357600080fd5b5061027c6108ff565b6040516102899190612bfa565b60405180910390f35b34801561029e57600080fd5b506102a7610991565b6040516102b49190612c35565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190612c7c565b610997565b6040516102f19190612cea565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c9190612d31565b610a1c565b005b34801561032f57600080fd5b50610338610b34565b6040516103459190612c35565b60405180910390f35b610356610b3a565b005b34801561036457600080fd5b5061036d610dc2565b60405161037a9190612b46565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190612d71565b610dd5565b005b3480156103b857600080fd5b506103d360048036038101906103ce9190612df0565b610e35565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190612e1d565b610ece565b60405161040a929190612e5d565b60405180910390f35b34801561041f57600080fd5b50610428610f3b565b6040516104359190612c35565b60405180910390f35b34801561044a57600080fd5b5061046560048036038101906104609190612c7c565b610f41565b005b34801561047357600080fd5b5061047c610ff0565b005b34801561048a57600080fd5b506104a560048036038101906104a09190612c7c565b6110bb565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190612d71565b611141565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190612fbb565b611161565b005b34801561050557600080fd5b50610520600480360381019061051b9190612c7c565b6111f7565b60405161052d9190612cea565b60405180910390f35b34801561054257600080fd5b5061054b6112a9565b6040516105589190612c35565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613004565b6112af565b6040516105959190612c35565b60405180910390f35b3480156105aa57600080fd5b506105b3611367565b6040516105c09190612bfa565b60405180910390f35b3480156105d557600080fd5b506105de6113f9565b005b3480156105ec57600080fd5b5061060760048036038101906106029190613004565b611481565b005b34801561061557600080fd5b5061061e611541565b60405161062b9190612c35565b60405180910390f35b34801561064057600080fd5b50610649611552565b6040516106569190612c35565b60405180910390f35b610667611558565b005b34801561067557600080fd5b5061067e6116a5565b60405161068b9190612cea565b60405180910390f35b3480156106a057600080fd5b506106a96116cf565b6040516106b69190612bfa565b60405180910390f35b3480156106cb57600080fd5b506106e660048036038101906106e19190612c7c565b611761565b005b3480156106f457600080fd5b506106fd6117e7565b60405161070a9190612b46565b60405180910390f35b34801561071f57600080fd5b5061073a60048036038101906107359190613031565b6117fa565b005b34801561074857600080fd5b50610763600480360381019061075e9190613112565b611810565b005b34801561077157600080fd5b5061078c60048036038101906107879190612df0565b611872565b005b34801561079a57600080fd5b506107b560048036038101906107b09190612c7c565b61190b565b6040516107c29190612bfa565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed9190612c7c565b611987565b005b34801561080057600080fd5b5061081b60048036038101906108169190613195565b611a0d565b6040516108289190612b46565b60405180910390f35b34801561083d57600080fd5b50610846611aa1565b6040516108539190612cea565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190613004565b611ac7565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108f857506108f782611bbf565b5b9050919050565b60606000805461090e90613204565b80601f016020809104026020016040519081016040528092919081815260200182805461093a90613204565b80156109875780601f1061095c57610100808354040283529160200191610987565b820191906000526020600020905b81548152906001019060200180831161096a57829003601f168201915b5050505050905090565b600d5481565b60006109a282611ca1565b6109e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d8906132a8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a27826111f7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f9061333a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ab7611d0d565b73ffffffffffffffffffffffffffffffffffffffff161480610ae65750610ae581610ae0611d0d565b611a0d565b5b610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c906133cc565b60405180910390fd5b610b2f8383611d15565b505050565b600c5481565b60026007541415610b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7790613438565b60405180910390fd5b6002600781905550600d5434811115610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc5906134a4565b60405180910390fd5b600a60019054906101000a900460ff16610c1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1490613510565b60405180910390fd5b600f54601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610c7b9190612cea565b60206040518083038186803b158015610c9357600080fd5b505afa158015610ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccb9190613545565b1015610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d03906135e4565b60405180910390fd5b600b54610d196008611dce565b1115610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5190613676565b60405180910390fd5b600c54610d66336112af565b10610da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9d906136e2565b60405180910390fd5b610db733610db2611ddc565b611df7565b506001600781905550565b600a60009054906101000a900460ff1681565b610de6610de0611d0d565b82611e15565b610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c90613774565b60405180910390fd5b610e30838383611ef3565b505050565b610e3d611d0d565b73ffffffffffffffffffffffffffffffffffffffff16610e5b6116a5565b73ffffffffffffffffffffffffffffffffffffffff1614610eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea8906137e0565b60405180910390fd5b80600a60006101000a81548160ff02191690831515021790555050565b600080610eda84611ca1565b610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f109061384c565b60405180910390fd5b30610f30610f2985600e5461215a565b6064612170565b915091509250929050565b600b5481565b610f49611d0d565b73ffffffffffffffffffffffffffffffffffffffff16610f676116a5565b73ffffffffffffffffffffffffffffffffffffffff1614610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb4906137e0565b60405180910390fd5b60005b81811015610fec57610fd933610fd4611ddc565b611df7565b8080610fe49061389b565b915050610fc0565b5050565b610ff8611d0d565b73ffffffffffffffffffffffffffffffffffffffff166110166116a5565b73ffffffffffffffffffffffffffffffffffffffff161461106c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611063906137e0565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156110b7573d6000803e3d6000fd5b5050565b6110c3611d0d565b73ffffffffffffffffffffffffffffffffffffffff166110e16116a5565b73ffffffffffffffffffffffffffffffffffffffff1614611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e906137e0565b60405180910390fd5b80600e8190555050565b61115c83838360405180602001604052806000815250611810565b505050565b611169611d0d565b73ffffffffffffffffffffffffffffffffffffffff166111876116a5565b73ffffffffffffffffffffffffffffffffffffffff16146111dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d4906137e0565b60405180910390fd5b80600990805190602001906111f39291906129ef565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129790613956565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611317906139e8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606009805461137690613204565b80601f01602080910402602001604051908101604052809291908181526020018280546113a290613204565b80156113ef5780601f106113c4576101008083540402835291602001916113ef565b820191906000526020600020905b8154815290600101906020018083116113d257829003601f168201915b5050505050905090565b611401611d0d565b73ffffffffffffffffffffffffffffffffffffffff1661141f6116a5565b73ffffffffffffffffffffffffffffffffffffffff1614611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c906137e0565b60405180910390fd5b61147f6000612186565b565b611489611d0d565b73ffffffffffffffffffffffffffffffffffffffff166114a76116a5565b73ffffffffffffffffffffffffffffffffffffffff16146114fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f4906137e0565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061154d6008611dce565b905090565b600e5481565b6002600754141561159e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159590613438565b60405180910390fd5b6002600781905550600d54348111156115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e3906134a4565b60405180910390fd5b600a60009054906101000a900460ff1661163b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163290613a54565b60405180910390fd5b600b546116486008611dce565b1115611689576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168090613676565b60405180910390fd5b61169a33611695611ddc565b611df7565b506001600781905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546116de90613204565b80601f016020809104026020016040519081016040528092919081815260200182805461170a90613204565b80156117575780601f1061172c57610100808354040283529160200191611757565b820191906000526020600020905b81548152906001019060200180831161173a57829003601f168201915b5050505050905090565b611769611d0d565b73ffffffffffffffffffffffffffffffffffffffff166117876116a5565b73ffffffffffffffffffffffffffffffffffffffff16146117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d4906137e0565b60405180910390fd5b80600f8190555050565b600a60019054906101000a900460ff1681565b61180c611805611d0d565b838361224c565b5050565b61182161181b611d0d565b83611e15565b611860576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185790613774565b60405180910390fd5b61186c848484846123b9565b50505050565b61187a611d0d565b73ffffffffffffffffffffffffffffffffffffffff166118986116a5565b73ffffffffffffffffffffffffffffffffffffffff16146118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e5906137e0565b60405180910390fd5b80600a60016101000a81548160ff02191690831515021790555050565b606061191682611ca1565b611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c9061384c565b60405180910390fd5b600961196083612415565b604051602001611971929190613b90565b6040516020818303038152906040529050919050565b61198f611d0d565b73ffffffffffffffffffffffffffffffffffffffff166119ad6116a5565b73ffffffffffffffffffffffffffffffffffffffff1614611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa906137e0565b60405180910390fd5b80600c8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611acf611d0d565b73ffffffffffffffffffffffffffffffffffffffff16611aed6116a5565b73ffffffffffffffffffffffffffffffffffffffff1614611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a906137e0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611baa90613c31565b60405180910390fd5b611bbc81612186565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c8a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c9a5750611c9982612576565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d88836111f7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611de860086125e0565b611df26008611dce565b905090565b611e118282604051806020016040528060008152506125f6565b5050565b6000611e2082611ca1565b611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5690613cc3565b60405180910390fd5b6000611e6a836111f7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ed957508373ffffffffffffffffffffffffffffffffffffffff16611ec184610997565b73ffffffffffffffffffffffffffffffffffffffff16145b80611eea5750611ee98185611a0d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f13826111f7565b73ffffffffffffffffffffffffffffffffffffffff1614611f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6090613d55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090613de7565b60405180910390fd5b611fe4838383612651565b611fef600082611d15565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461203f9190613e07565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120969190613e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612155838383612656565b505050565b600081836121689190613e91565b905092915050565b6000818361217e9190613f1a565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b290613f97565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123ac9190612b46565b60405180910390a3505050565b6123c4848484611ef3565b6123d08484848461265b565b61240f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240690614029565b60405180910390fd5b50505050565b6060600082141561245d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612571565b600082905060005b6000821461248f5780806124789061389b565b915050600a826124889190613f1a565b9150612465565b60008167ffffffffffffffff8111156124ab576124aa612e90565b5b6040519080825280601f01601f1916602001820160405280156124dd5781602001600182028036833780820191505090505b5090505b6000851461256a576001826124f69190613e07565b9150600a856125059190614049565b60306125119190613e3b565b60f81b8183815181106125275761252661407a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125639190613f1a565b94506124e1565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6001816000016000828254019250508190555050565b61260083836127f2565b61260d600084848461265b565b61264c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264390614029565b60405180910390fd5b505050565b505050565b505050565b600061267c8473ffffffffffffffffffffffffffffffffffffffff166129cc565b156127e5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026126a5611d0d565b8786866040518563ffffffff1660e01b81526004016126c794939291906140fe565b602060405180830381600087803b1580156126e157600080fd5b505af192505050801561271257506040513d601f19601f8201168201806040525081019061270f919061415f565b60015b612795573d8060008114612742576040519150601f19603f3d011682016040523d82523d6000602084013e612747565b606091505b5060008151141561278d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278490614029565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127ea565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612862576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612859906141d8565b60405180910390fd5b61286b81611ca1565b156128ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a290614244565b60405180910390fd5b6128b760008383612651565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129079190613e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129c860008383612656565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546129fb90613204565b90600052602060002090601f016020900481019282612a1d5760008555612a64565b82601f10612a3657805160ff1916838001178555612a64565b82800160010185558215612a64579182015b82811115612a63578251825591602001919060010190612a48565b5b509050612a719190612a75565b5090565b5b80821115612a8e576000816000905550600101612a76565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612adb81612aa6565b8114612ae657600080fd5b50565b600081359050612af881612ad2565b92915050565b600060208284031215612b1457612b13612a9c565b5b6000612b2284828501612ae9565b91505092915050565b60008115159050919050565b612b4081612b2b565b82525050565b6000602082019050612b5b6000830184612b37565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b9b578082015181840152602081019050612b80565b83811115612baa576000848401525b50505050565b6000601f19601f8301169050919050565b6000612bcc82612b61565b612bd68185612b6c565b9350612be6818560208601612b7d565b612bef81612bb0565b840191505092915050565b60006020820190508181036000830152612c148184612bc1565b905092915050565b6000819050919050565b612c2f81612c1c565b82525050565b6000602082019050612c4a6000830184612c26565b92915050565b612c5981612c1c565b8114612c6457600080fd5b50565b600081359050612c7681612c50565b92915050565b600060208284031215612c9257612c91612a9c565b5b6000612ca084828501612c67565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cd482612ca9565b9050919050565b612ce481612cc9565b82525050565b6000602082019050612cff6000830184612cdb565b92915050565b612d0e81612cc9565b8114612d1957600080fd5b50565b600081359050612d2b81612d05565b92915050565b60008060408385031215612d4857612d47612a9c565b5b6000612d5685828601612d1c565b9250506020612d6785828601612c67565b9150509250929050565b600080600060608486031215612d8a57612d89612a9c565b5b6000612d9886828701612d1c565b9350506020612da986828701612d1c565b9250506040612dba86828701612c67565b9150509250925092565b612dcd81612b2b565b8114612dd857600080fd5b50565b600081359050612dea81612dc4565b92915050565b600060208284031215612e0657612e05612a9c565b5b6000612e1484828501612ddb565b91505092915050565b60008060408385031215612e3457612e33612a9c565b5b6000612e4285828601612c67565b9250506020612e5385828601612c67565b9150509250929050565b6000604082019050612e726000830185612cdb565b612e7f6020830184612c26565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ec882612bb0565b810181811067ffffffffffffffff82111715612ee757612ee6612e90565b5b80604052505050565b6000612efa612a92565b9050612f068282612ebf565b919050565b600067ffffffffffffffff821115612f2657612f25612e90565b5b612f2f82612bb0565b9050602081019050919050565b82818337600083830152505050565b6000612f5e612f5984612f0b565b612ef0565b905082815260208101848484011115612f7a57612f79612e8b565b5b612f85848285612f3c565b509392505050565b600082601f830112612fa257612fa1612e86565b5b8135612fb2848260208601612f4b565b91505092915050565b600060208284031215612fd157612fd0612a9c565b5b600082013567ffffffffffffffff811115612fef57612fee612aa1565b5b612ffb84828501612f8d565b91505092915050565b60006020828403121561301a57613019612a9c565b5b600061302884828501612d1c565b91505092915050565b6000806040838503121561304857613047612a9c565b5b600061305685828601612d1c565b925050602061306785828601612ddb565b9150509250929050565b600067ffffffffffffffff82111561308c5761308b612e90565b5b61309582612bb0565b9050602081019050919050565b60006130b56130b084613071565b612ef0565b9050828152602081018484840111156130d1576130d0612e8b565b5b6130dc848285612f3c565b509392505050565b600082601f8301126130f9576130f8612e86565b5b81356131098482602086016130a2565b91505092915050565b6000806000806080858703121561312c5761312b612a9c565b5b600061313a87828801612d1c565b945050602061314b87828801612d1c565b935050604061315c87828801612c67565b925050606085013567ffffffffffffffff81111561317d5761317c612aa1565b5b613189878288016130e4565b91505092959194509250565b600080604083850312156131ac576131ab612a9c565b5b60006131ba85828601612d1c565b92505060206131cb85828601612d1c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061321c57607f821691505b602082108114156132305761322f6131d5565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613292602c83612b6c565b915061329d82613236565b604082019050919050565b600060208201905081810360008301526132c181613285565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613324602183612b6c565b915061332f826132c8565b604082019050919050565b6000602082019050818103600083015261335381613317565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006133b6603883612b6c565b91506133c18261335a565b604082019050919050565b600060208201905081810360008301526133e5816133a9565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613422601f83612b6c565b915061342d826133ec565b602082019050919050565b6000602082019050818103600083015261345181613415565b9050919050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b600061348e601883612b6c565b915061349982613458565b602082019050919050565b600060208201905081810360008301526134bd81613481565b9050919050565b7f477269642073616c65206973206e6f74206f70656e0000000000000000000000600082015250565b60006134fa601583612b6c565b9150613505826134c4565b602082019050919050565b60006020820190508181036000830152613529816134ed565b9050919050565b60008151905061353f81612c50565b92915050565b60006020828403121561355b5761355a612a9c565b5b600061356984828501613530565b91505092915050565b7f596f75206d75737420686f6c6420616e20496e66696e7465204772696420746f60008201527f207075726368617365206120466c6970677269642e0000000000000000000000602082015250565b60006135ce603583612b6c565b91506135d982613572565b604082019050919050565b600060208201905081810360008301526135fd816135c1565b9050919050565b7f4e6f7420656e6f756768207469636b6574732072656d61696e696e6720746f2060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b6000613660602483612b6c565b915061366b82613604565b604082019050919050565b6000602082019050818103600083015261368f81613653565b9050919050565b7f5468697320616464726573732068617320616c7265616479206d696e7465642e600082015250565b60006136cc602083612b6c565b91506136d782613696565b602082019050919050565b600060208201905081810360008301526136fb816136bf565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061375e603183612b6c565b915061376982613702565b604082019050919050565b6000602082019050818103600083015261378d81613751565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006137ca602083612b6c565b91506137d582613794565b602082019050919050565b600060208201905081810360008301526137f9816137bd565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000613836601183612b6c565b915061384182613800565b602082019050919050565b6000602082019050818103600083015261386581613829565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138a682612c1c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138d9576138d861386c565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613940602983612b6c565b915061394b826138e4565b604082019050919050565b6000602082019050818103600083015261396f81613933565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006139d2602a83612b6c565b91506139dd82613976565b604082019050919050565b60006020820190508181036000830152613a01816139c5565b9050919050565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b6000613a3e601783612b6c565b9150613a4982613a08565b602082019050919050565b60006020820190508181036000830152613a6d81613a31565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613aa181613204565b613aab8186613a74565b94506001821660008114613ac65760018114613ad757613b0a565b60ff19831686528186019350613b0a565b613ae085613a7f565b60005b83811015613b0257815481890152600182019150602081019050613ae3565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000613b49600183613a74565b9150613b5482613b13565b600182019050919050565b6000613b6a82612b61565b613b748185613a74565b9350613b84818560208601612b7d565b80840191505092915050565b6000613b9c8285613a94565b9150613ba782613b3c565b9150613bb38284613b5f565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613c1b602683612b6c565b9150613c2682613bbf565b604082019050919050565b60006020820190508181036000830152613c4a81613c0e565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613cad602c83612b6c565b9150613cb882613c51565b604082019050919050565b60006020820190508181036000830152613cdc81613ca0565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613d3f602583612b6c565b9150613d4a82613ce3565b604082019050919050565b60006020820190508181036000830152613d6e81613d32565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613dd1602483612b6c565b9150613ddc82613d75565b604082019050919050565b60006020820190508181036000830152613e0081613dc4565b9050919050565b6000613e1282612c1c565b9150613e1d83612c1c565b925082821015613e3057613e2f61386c565b5b828203905092915050565b6000613e4682612c1c565b9150613e5183612c1c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e8657613e8561386c565b5b828201905092915050565b6000613e9c82612c1c565b9150613ea783612c1c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ee057613edf61386c565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f2582612c1c565b9150613f3083612c1c565b925082613f4057613f3f613eeb565b5b828204905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613f81601983612b6c565b9150613f8c82613f4b565b602082019050919050565b60006020820190508181036000830152613fb081613f74565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614013603283612b6c565b915061401e82613fb7565b604082019050919050565b6000602082019050818103600083015261404281614006565b9050919050565b600061405482612c1c565b915061405f83612c1c565b92508261406f5761406e613eeb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006140d0826140a9565b6140da81856140b4565b93506140ea818560208601612b7d565b6140f381612bb0565b840191505092915050565b60006080820190506141136000830187612cdb565b6141206020830186612cdb565b61412d6040830185612c26565b818103606083015261413f81846140c5565b905095945050505050565b60008151905061415981612ad2565b92915050565b60006020828403121561417557614174612a9c565b5b60006141838482850161414a565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006141c2602083612b6c565b91506141cd8261418c565b602082019050919050565b600060208201905081810360008301526141f1816141b5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061422e601c83612b6c565b9150614239826141f8565b602082019050919050565b6000602082019050818103600083015261425d81614221565b905091905056fea26469706673582212200fbc3edf9b56dc9c7592bfa38a9e73df57d075365080c59fe19b46c790f2f99264736f6c63430008090033

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.