ETH Price: $3,610.97 (+6.21%)

Token

BlockMazing (MZE)
 

Overview

Max Total Supply

256 MZE

Holders

116

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
goblindeeeznuts.eth
Balance
1 MZE
0xb50dddabc967c5b82c1c110549570b31f46d8317
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:
Maze

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Maze.sol
// contracts/Maze.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// BlockMazing

// The genesis maze https://blockmazing.com/m/0/maze.txt
// +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
// |   |   |   |   |               |                       |   |   |   |   |   |   |
// +   +   +   +   +---+---+---+   +---+---+---+---+---+   +   +   +   +   +   +   +
// |   |           |   |   |   |   |               |   |   |   |   |               |
// +   +---+---+   +   +   +   +   +---+---+---+   +   +   +   +   +---+---+---+   +
// |       |   |               |               |   |           |   |       |       |
// +---+   +   +---+---+---+   +---+---+---+   +   +---+---+   +   +---+   +---+   +
// |                                   |   |                   |       |           |
// +---+---+---+---+---+---+---+---+   +   +---+---+---+---+   +---+   +---+---+   +
// |   |       |   |   |       |   |   |           |       |   |       |   |       |
// +   +---+   +   +   +---+   +   +   +---+---+   +---+   +   +---+   +   +---+   +
// |                               |   |   |       |       |           |   |       |
// +---+---+---+---+---+---+---+   +   +   +---+   +---+   +---+---+   +   +---+   +
// |   |           |   |   |   |       |   |           |   |       |   |       |   |
// +   +---+---+   +   +   +   +---+   +   +---+---+   +   +---+   +   +---+   +   +
// |       |   |                   |   |   |       |   |           |   |   |       |
// +---+   +   +---+---+---+---+   +   +   +---+   +   +---+---+   +   +   +---+   +
// |   |               |   |   |       |       |   |   |   |   |       |   |       |
// +   +---+---+---+   +   +   +---+   +---+   +   +   +   +   +---+   +   +---+   +
// |   |   |   |   |           |   |   |                           |   |           |
// +   +   +   +   +---+---+   +   +   +---+---+---+---+---+---+   +   +---+---+   +
// |   |   |   |           |   |   |   |   |   |       |       |               |   |
// +   +   +   +---+---+   +   +   +   +   +   +---+   +---+   +---+---+---+   +   +
// |   |                   |           |   |   |       |           |   |       |   |
// +   +---+---+---+---+   +---+---+   +   +   +---+   +---+---+   +   +---+   +   +
// |       |   |   |                       |           |   |   |           |   |   |
// +---+   +   +   +---+---+---+---+---+   +---+---+   +   +   +---+---+   +   +   +
// |   |           |           |       |       |   |                   |   |       |
// +   +---+---+   +---+---+   +---+   +---+   +   +---+---+---+---+   +   +---+   +
// |   |   |                               |       |       |       |       |   |   |
// +   +   +---+---+---+---+---+---+---+   +---+   +---+   +---+   +---+   +   +   +
// |       |   |       |   |   |               |   |       |   |   |   |   |   |   |
// +---+   +   +---+   +   +   +---+---+---+   +   +---+   +   +   +   +   +   +   +
// |                   |           |           |                                   |
// +---+---+---+---+   +---+---+   +---+---+   +---+---+---+---+---+---+---+---+   +
// |                   |       |   |   |   |   |                   |           |   |
// +---+---+---+---+   +---+   +   +   +   +   +---+---+---+---+   +---+---+   +   +
// |   |   |           |   |               |   |           |       |   |           |
// +   +   +---+---+   +   +---+---+---+   +   +---+---+   +---+   +   +---+---+   +
// |                                                                               |
// +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

// This is a basic project inspired by 0xd4e4078ca3495de5b1d4db434bebc5a986197782 (Autoglyphs) as well as Jamis Buck's Mazes for programmers. The goal is to have a unique maze represented on the blockchain.

// https://pragprog.com/titles/jbmaze/mazes-for-programmers/
// https://github.com/praetoriansentry/maze/
// https://blockmazing.com

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";


contract Maze is ERC721, ERC721Enumerable, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    uint public constant MAZE_SIZE = 20;
    uint public constant MAX_TOKEN_COUNT = 256;
    uint constant FIELD_SIZE = MAZE_SIZE * MAZE_SIZE;
    uint256 public constant TOKEN_COST = 25000000000000000;

    // each maze will donate some money to EFF!
    address public constant EFF_ADDRESS = 0x095f1fD53A56C01c76A2a56B7273995Ce915d8C4;

    uint constant PRINTED_MAZE_COLS = (MAZE_SIZE * 4 + 2);
    uint constant PRINTED_MAZE_ROWS = (2 * MAZE_SIZE + 1);

    uint constant NORTH_WALL = 1;
    uint constant SOUTH_WALL = 2;
    uint constant EAST_WALL = 4;
    uint constant WEST_WALL = 8;
    uint constant VISITED = 16;

    bytes1 constant CHAR_PLUS = 0x2B;
    bytes1 constant CHAR_DASH = 0x2D;
    bytes1 constant CHAR_NEWLINE = 0x0A;
    bytes1 constant CHAR_PIPE = 0x7C;
    bytes1 constant CHAR_SPACE = 0x20;

    constructor() ERC721("BlockMazing", "MZE") {}

    function safeMint(address to) public payable {
        require(this.totalSupply() < MAX_TOKEN_COUNT, "The supply of mazes has been exhausted.");
        require(address(msg.sender).balance > TOKEN_COST, "Not enough ETH!");
        require(msg.value >= TOKEN_COST, "Value below price");
        address payable p = payable(EFF_ADDRESS);

        p.transfer(TOKEN_COST);
        _safeMint(to, _tokenIdCounter.current());
        _tokenIdCounter.increment();
    }

    function _baseURI() internal pure override returns (string memory) {
        return "https://blockmazing.com/m/";
    }

    function tokenDataURI(uint tokenId) public view returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return string(abi.encodePacked("data:text/plain;charset=UTF-8,", draw(tokenId)));
    }

    function tokenURI(uint tokenId) public view override(ERC721) returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory tokenIdString =  Strings.toString(tokenId);
        return string(abi.encodePacked(_baseURI(), tokenIdString, "/" , Strings.toString(tokenId), ".json"));
    }

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

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

    // Take a token id and draw the maze that's unique to that token.
    function draw(uint id) public pure returns (string memory) {
        uint[FIELD_SIZE] memory bitfield = getMazeData(id);
        uint cell;
        uint cellIndex;
        uint row;
        uint col;

        bytes memory mazeOutput = new bytes(PRINTED_MAZE_COLS * PRINTED_MAZE_ROWS);
        // For each row
        for (uint i = 0; i < PRINTED_MAZE_ROWS; i++) {
            uint j = 0;
            while (j < PRINTED_MAZE_COLS) {
                uint idx = i * PRINTED_MAZE_COLS + j;
                // END OF THE ROW
                if (j + 1 == PRINTED_MAZE_COLS) {
                    mazeOutput[idx] = CHAR_NEWLINE;
                    j = j + 1;
                    continue;
                }

                // START OF THE ROW
                if (j == 0 && i % 2 == 1) {
                    mazeOutput[idx] = CHAR_PIPE;
                    j = j + 1;
                    continue;
                } else if (j == 0 && i % 2 == 0) {
                    mazeOutput[idx] = CHAR_PLUS;
                    j = j + 1;
                    continue;
                }


                if (i == 0) {
                    cell = 31;
                } else {
                    row = (i - 1) / 2;
                    col = j / 4;
                    cellIndex = rowColToBitIndex(row, col);
                    if (cellIndex < FIELD_SIZE && cellIndex >= 0) {
                        cell = bitfield[cellIndex];
                    } else {
                        cell = 31;
                    }
                }

                // What cell are we in?
                if (i % 2 == 1) {// EAST WEST
                    mazeOutput[idx++] = CHAR_SPACE;
                    mazeOutput[idx++] = CHAR_SPACE;
                    mazeOutput[idx++] = CHAR_SPACE;
                    if ((cell & EAST_WALL) == EAST_WALL) {
                        mazeOutput[idx++] = CHAR_PIPE;
                    } else {
                        mazeOutput[idx++] = CHAR_SPACE;
                    }
                    j = j + 4;
                } else {// NORTH SOUTH
                    if ((cell & SOUTH_WALL) == SOUTH_WALL) {
                        mazeOutput[idx++] = CHAR_DASH;
                        mazeOutput[idx++] = CHAR_DASH;
                        mazeOutput[idx++] = CHAR_DASH;
                    } else {
                        mazeOutput[idx++] = CHAR_SPACE;
                        mazeOutput[idx++] = CHAR_SPACE;
                        mazeOutput[idx++] = CHAR_SPACE;
                    }
                    mazeOutput[idx++] = CHAR_PLUS;
                    j = j + 4;
                }
            }
        }

        string memory finalMaze = string(mazeOutput);
        return finalMaze;
    }

    // Implementing the fastest and most trivial algorithm I could find.
    // https://weblog.jamisbuck.org/2011/2/1/maze-generation-binary-tree-algorithm
    function getMazeData(uint id) public pure returns (uint[FIELD_SIZE] memory) {
        uint[FIELD_SIZE] memory bitfield;
        uint cell;
        uint randInt = semiRandomData(id);
        bool goSouth;
        // Initialize a bit field
        for (uint i = 0; i < FIELD_SIZE; i = i + 1) {
            cell = 31;
            randInt = semiRandomData(randInt);
            // coin filt to decide if I should go south or east
            goSouth = (randInt % 1000) >= 500;
            uint[2] memory rowCol = bitIndexToRowCol(i);
            if (goSouth) {
                if (rowCol[0] < (MAZE_SIZE - 1)) {
                    cell = cell & ~SOUTH_WALL;
                } else if (rowCol[1] < (MAZE_SIZE -1)) {
                    cell = cell & ~EAST_WALL;
                }
            } else {
                if (rowCol[1] < (MAZE_SIZE - 1)) {
                    cell = cell & ~EAST_WALL;
                } else if (rowCol[0] < (MAZE_SIZE) - 1){
                    cell = cell & ~SOUTH_WALL;
                }
            }
            bitfield[i] = cell;
        }
        return bitfield;

    }

    // take an index that stored the flat array and return an array corresponding to the row and column in question
    function bitIndexToRowCol(uint idx) private pure returns (uint[2] memory) {
        uint row = idx / MAZE_SIZE;
        uint col = idx % MAZE_SIZE;
        return [row, col];
    }

    // Given a row and column, at the index in the flat array.
    function rowColToBitIndex(uint row, uint col) private pure returns(uint) {
        return row * MAZE_SIZE + col;
    }

    // copying the paramters from glibc for creating a sequence of pseudo-random numbers. The idea is that each tokenid will have it's own sequence and therefor have it's own maze.
    // https://en.wikipedia.org/wiki/Linear_congruential_generator#Parameters_in_common_use
    function semiRandomData(uint seed) public pure returns (uint) {
        return ((seed * 1103515245) + 12345) % 2147483648;
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 8 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 11 of 14 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. 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;
        }
    }
}

File 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"EFF_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKEN_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAZE_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_COST","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":"id","type":"uint256"}],"name":"draw","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getMazeData","outputs":[{"internalType":"uint256[400]","name":"","type":"uint256[400]"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"safeMint","outputs":[],"stateMutability":"payable","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":"uint256","name":"seed","type":"uint256"}],"name":"semiRandomData","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenDataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600b81526020017f426c6f636b4d617a696e670000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d5a45000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009692919062000171565b508060019080519060200190620000af92919062000171565b5050506000620000c46200016960201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35062000286565b600033905090565b8280546200017f9062000221565b90600052602060002090601f016020900481019282620001a35760008555620001ef565b82601f10620001be57805160ff1916838001178555620001ef565b82800160010185558215620001ef579182015b82811115620001ee578251825591602001919060010190620001d1565b5b509050620001fe919062000202565b5090565b5b808211156200021d57600081600090555060010162000203565b5090565b600060028204905060018216806200023a57607f821691505b6020821081141562000251576200025062000257565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61476480620002966000396000f3fe6080604052600436106101b75760003560e01c806370a08231116100ec578063a94071511161008a578063cb44d60311610064578063cb44d6031461065d578063d0bbb0d714610688578063e985e9c5146106b3578063f2fde38b146106f0576101b7565b8063a9407151146105ba578063b88d4fde146105f7578063c87b56dd14610620576101b7565b80638da5cb5b116100c65780638da5cb5b146104fe57806395d89b4114610529578063991b79bc14610554578063a22cb46514610591576101b7565b806370a082311461046d578063715018a6146104aa578063860f1164146104c1576101b7565b80632f745c591161015957806340d097c31161013357806340d097c3146103ae57806342842e0e146103ca5780634f6ccce7146103f35780636352211e14610430576101b7565b80632f745c59146103095780633aa35ee0146103465780633b30414714610371576101b7565b8063095ea7b311610195578063095ea7b31461026157806318160ddd1461028a5780631de83ea0146102b557806323b872dd146102e0576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de91906132e4565b610719565b6040516101f0919061391a565b60405180910390f35b34801561020557600080fd5b5061020e61072b565b60405161021b9190613935565b60405180910390f35b34801561023057600080fd5b5061024b6004803603810190610246919061333e565b6107bd565b6040516102589190613897565b60405180910390f35b34801561026d57600080fd5b50610288600480360381019061028391906132a4565b610842565b005b34801561029657600080fd5b5061029f61095a565b6040516102ac9190613bf7565b60405180910390f35b3480156102c157600080fd5b506102ca610967565b6040516102d79190613897565b60405180910390f35b3480156102ec57600080fd5b506103076004803603810190610302919061318e565b61097f565b005b34801561031557600080fd5b50610330600480360381019061032b91906132a4565b6109df565b60405161033d9190613bf7565b60405180910390f35b34801561035257600080fd5b5061035b610a84565b6040516103689190613bf7565b60405180910390f35b34801561037d57600080fd5b506103986004803603810190610393919061333e565b610a8f565b6040516103a59190613935565b60405180910390f35b6103c860048036038101906103c39190613121565b61122e565b005b3480156103d657600080fd5b506103f160048036038101906103ec919061318e565b611421565b005b3480156103ff57600080fd5b5061041a6004803603810190610415919061333e565b611441565b6040516104279190613bf7565b60405180910390f35b34801561043c57600080fd5b506104576004803603810190610452919061333e565b6114b2565b6040516104649190613897565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f9190613121565b611564565b6040516104a19190613bf7565b60405180910390f35b3480156104b657600080fd5b506104bf61161c565b005b3480156104cd57600080fd5b506104e860048036038101906104e3919061333e565b611759565b6040516104f591906138fe565b60405180910390f35b34801561050a57600080fd5b506105136118ee565b6040516105209190613897565b60405180910390f35b34801561053557600080fd5b5061053e611918565b60405161054b9190613935565b60405180910390f35b34801561056057600080fd5b5061057b6004803603810190610576919061333e565b6119aa565b6040516105889190613bf7565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613264565b6119df565b005b3480156105c657600080fd5b506105e160048036038101906105dc919061333e565b611b60565b6040516105ee9190613935565b60405180910390f35b34801561060357600080fd5b5061061e600480360381019061061991906131e1565b611bd9565b005b34801561062c57600080fd5b506106476004803603810190610642919061333e565b611c3b565b6040516106549190613935565b60405180910390f35b34801561066957600080fd5b50610672611ccd565b60405161067f9190613bf7565b60405180910390f35b34801561069457600080fd5b5061069d611cd2565b6040516106aa9190613bf7565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d5919061314e565b611cd8565b6040516106e7919061391a565b60405180910390f35b3480156106fc57600080fd5b5061071760048036038101906107129190613121565b611d6c565b005b600061072482611f18565b9050919050565b60606000805461073a90613ea4565b80601f016020809104026020016040519081016040528092919081815260200182805461076690613ea4565b80156107b35780601f10610788576101008083540402835291602001916107b3565b820191906000526020600020905b81548152906001019060200180831161079657829003601f168201915b5050505050905090565b60006107c882611f92565b610807576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fe90613ad7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084d826114b2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b590613b97565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108dd611ffe565b73ffffffffffffffffffffffffffffffffffffffff16148061090c575061090b81610906611ffe565b611cd8565b5b61094b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094290613a57565b60405180910390fd5b6109558383612006565b505050565b6000600880549050905090565b73095f1fd53a56c01c76a2a56b7273995ce915d8c481565b61099061098a611ffe565b826120bf565b6109cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c690613bb7565b60405180910390fd5b6109da83838361219d565b505050565b60006109ea83611564565b8210610a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2290613977565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6658d15e1762800081565b60606000610a9c83611759565b90506000806000806000600160146002610ab69190613d60565b610ac09190613cd9565b600260046014610ad09190613d60565b610ada9190613cd9565b610ae49190613d60565b67ffffffffffffffff811115610afd57610afc61406c565b5b6040519080825280601f01601f191660200182016040528015610b2f5781602001600182028036833780820191505090505b50905060005b600160146002610b459190613d60565b610b4f9190613cd9565b8110156112195760005b600260046014610b699190613d60565b610b739190613cd9565b81101561120557600081600260046014610b8d9190613d60565b610b979190613cd9565b84610ba29190613d60565b610bac9190613cd9565b9050600260046014610bbe9190613d60565b610bc89190613cd9565b600183610bd59190613cd9565b1415610c3757600a60f81b848281518110610bf357610bf261403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600182610c2f9190613cd9565b915050610b59565b600082148015610c5357506001600284610c519190613f50565b145b15610cb457607c60f81b848281518110610c7057610c6f61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600182610cac9190613cd9565b915050610b59565b600082148015610cd057506000600284610cce9190613f50565b145b15610d3157602b60f81b848281518110610ced57610cec61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600182610d299190613cd9565b915050610b59565b6000831415610d4357601f9750610dc0565b6002600184610d529190613dba565b610d5c9190613d2f565b9550600482610d6b9190613d2f565b9450610d7786866123f9565b9650601480610d869190613d60565b87108015610d95575060008710155b15610dba5788876101908110610dae57610dad61403d565b5b60200201519750610dbf565b601f97505b5b6001600284610dcf9190613f50565b1415610f9957602060f81b848280610de690613f07565b935081518110610df957610df861403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b848280610e3990613f07565b935081518110610e4c57610e4b61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b848280610e8c90613f07565b935081518110610e9f57610e9e61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060048089161415610f3157607c60f81b848280610eea90613f07565b935081518110610efd57610efc61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350610f85565b602060f81b848280610f4290613f07565b935081518110610f5557610f5461403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b600482610f929190613cd9565b91506111ff565b600280891614156110a257602d60f81b848280610fb590613f07565b935081518110610fc857610fc761403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602d60f81b84828061100890613f07565b93508151811061101b5761101a61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602d60f81b84828061105b90613f07565b93508151811061106e5761106d61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061119c565b602060f81b8482806110b390613f07565b9350815181106110c6576110c561403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b84828061110690613f07565b9350815181106111195761111861403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b84828061115990613f07565b93508151811061116c5761116b61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b602b60f81b8482806111ad90613f07565b9350815181106111c0576111bf61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506004826111fc9190613cd9565b91505b50610b59565b50808061121190613f07565b915050610b35565b50600081905080975050505050505050919050565b6101003073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561127757600080fd5b505afa15801561128b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112af919061336b565b106112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e690613b77565b60405180910390fd5b6658d15e176280003373ffffffffffffffffffffffffffffffffffffffff16311161134f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134690613957565b60405180910390fd5b6658d15e17628000341015611399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139090613b57565b60405180910390fd5b600073095f1fd53a56c01c76a2a56b7273995ce915d8c490508073ffffffffffffffffffffffffffffffffffffffff166108fc6658d15e176280009081150290604051600060405180830381858888f193505050501580156113ff573d6000803e3d6000fd5b506114138261140e600b61241b565b612429565b61141d600b612447565b5050565b61143c83838360405180602001604052806000815250611bd9565b505050565b600061144b61095a565b821061148c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148390613bd7565b60405180910390fd5b600882815481106114a05761149f61403d565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290613a97565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc90613a77565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611624611ffe565b73ffffffffffffffffffffffffffffffffffffffff166116426118ee565b73ffffffffffffffffffffffffffffffffffffffff1614611698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168f90613af7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611761612fed565b611769612fed565b600080611775856119aa565b9050600080600090505b60148061178c9190613d60565b8110156118e157601f93506117a0836119aa565b92506101f46103e8846117b39190613f50565b1015915060006117c28261245d565b9050821561183e57600160146117d89190613dba565b816000600281106117ec576117eb61403d565b5b602002015110156118035760021985169450611839565b600160146118119190613dba565b816001600281106118255761182461403d565b5b6020020151101561183857600419851694505b5b6118ae565b6001601461184c9190613dba565b816001600281106118605761185f61403d565b5b6020020151101561187757600419851694506118ad565b600160146118859190613dba565b816000600281106118995761189861403d565b5b602002015110156118ac57600219851694505b5b5b84868361019081106118c3576118c261403d565b5b602002018181525050506001816118da9190613cd9565b905061177f565b5083945050505050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461192790613ea4565b80601f016020809104026020016040519081016040528092919081815260200182805461195390613ea4565b80156119a05780601f10611975576101008083540402835291602001916119a0565b820191906000526020600020905b81548152906001019060200180831161198357829003601f168201915b5050505050905090565b600063800000006130396341c64e6d846119c49190613d60565b6119ce9190613cd9565b6119d89190613f50565b9050919050565b6119e7611ffe565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4c90613a17565b60405180910390fd5b8060056000611a62611ffe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b0f611ffe565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b54919061391a565b60405180910390a35050565b6060611b6b82611f92565b611baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba190613b37565b60405180910390fd5b611bb382610a8f565b604051602001611bc39190613875565b6040516020818303038152906040529050919050565b611bea611be4611ffe565b836120bf565b611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2090613bb7565b60405180910390fd5b611c35848484846124a5565b50505050565b6060611c4682611f92565b611c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7c90613b37565b60405180910390fd5b6000611c9083612501565b9050611c9a612662565b81611ca485612501565b604051602001611cb69392919061382e565b604051602081830303815290604052915050919050565b601481565b61010081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d74611ffe565b73ffffffffffffffffffffffffffffffffffffffff16611d926118ee565b73ffffffffffffffffffffffffffffffffffffffff1614611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613af7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4f906139b7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f8b5750611f8a8261269f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612079836114b2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120ca82611f92565b612109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210090613a37565b60405180910390fd5b6000612114836114b2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218357508373ffffffffffffffffffffffffffffffffffffffff1661216b846107bd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061219457506121938185611cd8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121bd826114b2565b73ffffffffffffffffffffffffffffffffffffffff1614612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220a90613b17565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227a906139f7565b60405180910390fd5b61228e838383612781565b612299600082612006565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e99190613dba565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123409190613cd9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000816014846124099190613d60565b6124139190613cd9565b905092915050565b600081600001549050919050565b612443828260405180602001604052806000815250612791565b5050565b6001816000016000828254019250508190555050565b612465613011565b60006014836124749190613d2f565b905060006014846124859190613f50565b905060405180604001604052808381526020018281525092505050919050565b6124b084848461219d565b6124bc848484846127ec565b6124fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f290613997565b60405180910390fd5b50505050565b60606000821415612549576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061265d565b600082905060005b6000821461257b57808061256490613f07565b915050600a826125749190613d2f565b9150612551565b60008167ffffffffffffffff8111156125975761259661406c565b5b6040519080825280601f01601f1916602001820160405280156125c95781602001600182028036833780820191505090505b5090505b60008514612656576001826125e29190613dba565b9150600a856125f19190613f50565b60306125fd9190613cd9565b60f81b8183815181106126135761261261403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561264f9190613d2f565b94506125cd565b8093505050505b919050565b60606040518060400160405280601a81526020017f68747470733a2f2f626c6f636b6d617a696e672e636f6d2f6d2f000000000000815250905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061276a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061277a575061277982612983565b5b9050919050565b61278c8383836129ed565b505050565b61279b8383612b01565b6127a860008484846127ec565b6127e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127de90613997565b60405180910390fd5b505050565b600061280d8473ffffffffffffffffffffffffffffffffffffffff16612ccf565b15612976578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612836611ffe565b8786866040518563ffffffff1660e01b815260040161285894939291906138b2565b602060405180830381600087803b15801561287257600080fd5b505af19250505080156128a357506040513d601f19601f820116820180604052508101906128a09190613311565b60015b612926573d80600081146128d3576040519150601f19603f3d011682016040523d82523d6000602084013e6128d8565b606091505b5060008151141561291e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291590613997565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061297b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6129f8838383612ce2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a3b57612a3681612ce7565b612a7a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a7957612a788382612d30565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612abd57612ab881612e9d565b612afc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612afb57612afa8282612f6e565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6890613ab7565b60405180910390fd5b612b7a81611f92565b15612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb1906139d7565b60405180910390fd5b612bc660008383612781565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c169190613cd9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d3d84611564565b612d479190613dba565b9050600060076000848152602001908152602001600020549050818114612e2c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612eb19190613dba565b9050600060096000848152602001908152602001600020549050600060088381548110612ee157612ee061403d565b5b906000526020600020015490508060088381548110612f0357612f0261403d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612f5257612f5161400e565b5b6001900381819060005260206000200160009055905550505050565b6000612f7983611564565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60405180613200016040528061019090602082028036833780820191505090505090565b6040518060400160405280600290602082028036833780820191505090505090565b600061304661304184613c37565b613c12565b905082815260208101848484011115613062576130616140a0565b5b61306d848285613e62565b509392505050565b600081359050613084816146d2565b92915050565b600081359050613099816146e9565b92915050565b6000813590506130ae81614700565b92915050565b6000815190506130c381614700565b92915050565b600082601f8301126130de576130dd61409b565b5b81356130ee848260208601613033565b91505092915050565b60008135905061310681614717565b92915050565b60008151905061311b81614717565b92915050565b600060208284031215613137576131366140aa565b5b600061314584828501613075565b91505092915050565b60008060408385031215613165576131646140aa565b5b600061317385828601613075565b925050602061318485828601613075565b9150509250929050565b6000806000606084860312156131a7576131a66140aa565b5b60006131b586828701613075565b93505060206131c686828701613075565b92505060406131d7868287016130f7565b9150509250925092565b600080600080608085870312156131fb576131fa6140aa565b5b600061320987828801613075565b945050602061321a87828801613075565b935050604061322b878288016130f7565b925050606085013567ffffffffffffffff81111561324c5761324b6140a5565b5b613258878288016130c9565b91505092959194509250565b6000806040838503121561327b5761327a6140aa565b5b600061328985828601613075565b925050602061329a8582860161308a565b9150509250929050565b600080604083850312156132bb576132ba6140aa565b5b60006132c985828601613075565b92505060206132da858286016130f7565b9150509250929050565b6000602082840312156132fa576132f96140aa565b5b60006133088482850161309f565b91505092915050565b600060208284031215613327576133266140aa565b5b6000613335848285016130b4565b91505092915050565b600060208284031215613354576133536140aa565b5b6000613362848285016130f7565b91505092915050565b600060208284031215613381576133806140aa565b5b600061338f8482850161310c565b91505092915050565b60006133a48383613810565b60208301905092915050565b6133b981613dee565b82525050565b6133c881613c72565b6133d28184613ca1565b92506133dd82613c68565b8060005b8381101561340e5781516133f58782613398565b965061340083613c94565b9250506001810190506133e1565b505050505050565b61341f81613e00565b82525050565b600061343082613c7e565b61343a8185613cac565b935061344a818560208601613e71565b613453816140af565b840191505092915050565b600061346982613c89565b6134738185613cbd565b9350613483818560208601613e71565b61348c816140af565b840191505092915050565b60006134a282613c89565b6134ac8185613cce565b93506134bc818560208601613e71565b80840191505092915050565b60006134d5600f83613cbd565b91506134e0826140c0565b602082019050919050565b60006134f8602b83613cbd565b9150613503826140e9565b604082019050919050565b600061351b603283613cbd565b915061352682614138565b604082019050919050565b600061353e602683613cbd565b915061354982614187565b604082019050919050565b6000613561601c83613cbd565b915061356c826141d6565b602082019050919050565b6000613584602483613cbd565b915061358f826141ff565b604082019050919050565b60006135a7601983613cbd565b91506135b28261424e565b602082019050919050565b60006135ca602c83613cbd565b91506135d582614277565b604082019050919050565b60006135ed603883613cbd565b91506135f8826142c6565b604082019050919050565b6000613610602a83613cbd565b915061361b82614315565b604082019050919050565b6000613633602983613cbd565b915061363e82614364565b604082019050919050565b6000613656602083613cbd565b9150613661826143b3565b602082019050919050565b6000613679602c83613cbd565b9150613684826143dc565b604082019050919050565b600061369c600583613cce565b91506136a78261442b565b600582019050919050565b60006136bf602083613cbd565b91506136ca82614454565b602082019050919050565b60006136e2602983613cbd565b91506136ed8261447d565b604082019050919050565b6000613705602f83613cbd565b9150613710826144cc565b604082019050919050565b6000613728601183613cbd565b91506137338261451b565b602082019050919050565b600061374b602783613cbd565b915061375682614544565b604082019050919050565b600061376e602183613cbd565b915061377982614593565b604082019050919050565b6000613791603183613cbd565b915061379c826145e2565b604082019050919050565b60006137b4602c83613cbd565b91506137bf82614631565b604082019050919050565b60006137d7601e83613cce565b91506137e282614680565b601e82019050919050565b60006137fa600183613cce565b9150613805826146a9565b600182019050919050565b61381981613e58565b82525050565b61382881613e58565b82525050565b600061383a8286613497565b91506138468285613497565b9150613851826137ed565b915061385d8284613497565b91506138688261368f565b9150819050949350505050565b6000613880826137ca565b915061388c8284613497565b915081905092915050565b60006020820190506138ac60008301846133b0565b92915050565b60006080820190506138c760008301876133b0565b6138d460208301866133b0565b6138e1604083018561381f565b81810360608301526138f38184613425565b905095945050505050565b60006132008201905061391460008301846133bf565b92915050565b600060208201905061392f6000830184613416565b92915050565b6000602082019050818103600083015261394f818461345e565b905092915050565b60006020820190508181036000830152613970816134c8565b9050919050565b60006020820190508181036000830152613990816134eb565b9050919050565b600060208201905081810360008301526139b08161350e565b9050919050565b600060208201905081810360008301526139d081613531565b9050919050565b600060208201905081810360008301526139f081613554565b9050919050565b60006020820190508181036000830152613a1081613577565b9050919050565b60006020820190508181036000830152613a308161359a565b9050919050565b60006020820190508181036000830152613a50816135bd565b9050919050565b60006020820190508181036000830152613a70816135e0565b9050919050565b60006020820190508181036000830152613a9081613603565b9050919050565b60006020820190508181036000830152613ab081613626565b9050919050565b60006020820190508181036000830152613ad081613649565b9050919050565b60006020820190508181036000830152613af08161366c565b9050919050565b60006020820190508181036000830152613b10816136b2565b9050919050565b60006020820190508181036000830152613b30816136d5565b9050919050565b60006020820190508181036000830152613b50816136f8565b9050919050565b60006020820190508181036000830152613b708161371b565b9050919050565b60006020820190508181036000830152613b908161373e565b9050919050565b60006020820190508181036000830152613bb081613761565b9050919050565b60006020820190508181036000830152613bd081613784565b9050919050565b60006020820190508181036000830152613bf0816137a7565b9050919050565b6000602082019050613c0c600083018461381f565b92915050565b6000613c1c613c2d565b9050613c288282613ed6565b919050565b6000604051905090565b600067ffffffffffffffff821115613c5257613c5161406c565b5b613c5b826140af565b9050602081019050919050565b6000819050919050565b60006101909050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ce482613e58565b9150613cef83613e58565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d2457613d23613f81565b5b828201905092915050565b6000613d3a82613e58565b9150613d4583613e58565b925082613d5557613d54613fb0565b5b828204905092915050565b6000613d6b82613e58565b9150613d7683613e58565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613daf57613dae613f81565b5b828202905092915050565b6000613dc582613e58565b9150613dd083613e58565b925082821015613de357613de2613f81565b5b828203905092915050565b6000613df982613e38565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e8f578082015181840152602081019050613e74565b83811115613e9e576000848401525b50505050565b60006002820490506001821680613ebc57607f821691505b60208210811415613ed057613ecf613fdf565b5b50919050565b613edf826140af565b810181811067ffffffffffffffff82111715613efe57613efd61406c565b5b80604052505050565b6000613f1282613e58565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f4557613f44613f81565b5b600182019050919050565b6000613f5b82613e58565b9150613f6683613e58565b925082613f7657613f75613fb0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f75676820455448210000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f54686520737570706c79206f66206d617a657320686173206265656e2065786860008201527f6175737465642e00000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f646174613a746578742f706c61696e3b636861727365743d5554462d382c0000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6146db81613dee565b81146146e657600080fd5b50565b6146f281613e00565b81146146fd57600080fd5b50565b61470981613e0c565b811461471457600080fd5b50565b61472081613e58565b811461472b57600080fd5b5056fea2646970667358221220e7c090f3cebf2438792cd719ba5084129cb9e584c1ed10a855695835c826e53964736f6c63430008060033

Deployed Bytecode

0x6080604052600436106101b75760003560e01c806370a08231116100ec578063a94071511161008a578063cb44d60311610064578063cb44d6031461065d578063d0bbb0d714610688578063e985e9c5146106b3578063f2fde38b146106f0576101b7565b8063a9407151146105ba578063b88d4fde146105f7578063c87b56dd14610620576101b7565b80638da5cb5b116100c65780638da5cb5b146104fe57806395d89b4114610529578063991b79bc14610554578063a22cb46514610591576101b7565b806370a082311461046d578063715018a6146104aa578063860f1164146104c1576101b7565b80632f745c591161015957806340d097c31161013357806340d097c3146103ae57806342842e0e146103ca5780634f6ccce7146103f35780636352211e14610430576101b7565b80632f745c59146103095780633aa35ee0146103465780633b30414714610371576101b7565b8063095ea7b311610195578063095ea7b31461026157806318160ddd1461028a5780631de83ea0146102b557806323b872dd146102e0576101b7565b806301ffc9a7146101bc57806306fdde03146101f9578063081812fc14610224575b600080fd5b3480156101c857600080fd5b506101e360048036038101906101de91906132e4565b610719565b6040516101f0919061391a565b60405180910390f35b34801561020557600080fd5b5061020e61072b565b60405161021b9190613935565b60405180910390f35b34801561023057600080fd5b5061024b6004803603810190610246919061333e565b6107bd565b6040516102589190613897565b60405180910390f35b34801561026d57600080fd5b50610288600480360381019061028391906132a4565b610842565b005b34801561029657600080fd5b5061029f61095a565b6040516102ac9190613bf7565b60405180910390f35b3480156102c157600080fd5b506102ca610967565b6040516102d79190613897565b60405180910390f35b3480156102ec57600080fd5b506103076004803603810190610302919061318e565b61097f565b005b34801561031557600080fd5b50610330600480360381019061032b91906132a4565b6109df565b60405161033d9190613bf7565b60405180910390f35b34801561035257600080fd5b5061035b610a84565b6040516103689190613bf7565b60405180910390f35b34801561037d57600080fd5b506103986004803603810190610393919061333e565b610a8f565b6040516103a59190613935565b60405180910390f35b6103c860048036038101906103c39190613121565b61122e565b005b3480156103d657600080fd5b506103f160048036038101906103ec919061318e565b611421565b005b3480156103ff57600080fd5b5061041a6004803603810190610415919061333e565b611441565b6040516104279190613bf7565b60405180910390f35b34801561043c57600080fd5b506104576004803603810190610452919061333e565b6114b2565b6040516104649190613897565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f9190613121565b611564565b6040516104a19190613bf7565b60405180910390f35b3480156104b657600080fd5b506104bf61161c565b005b3480156104cd57600080fd5b506104e860048036038101906104e3919061333e565b611759565b6040516104f591906138fe565b60405180910390f35b34801561050a57600080fd5b506105136118ee565b6040516105209190613897565b60405180910390f35b34801561053557600080fd5b5061053e611918565b60405161054b9190613935565b60405180910390f35b34801561056057600080fd5b5061057b6004803603810190610576919061333e565b6119aa565b6040516105889190613bf7565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613264565b6119df565b005b3480156105c657600080fd5b506105e160048036038101906105dc919061333e565b611b60565b6040516105ee9190613935565b60405180910390f35b34801561060357600080fd5b5061061e600480360381019061061991906131e1565b611bd9565b005b34801561062c57600080fd5b506106476004803603810190610642919061333e565b611c3b565b6040516106549190613935565b60405180910390f35b34801561066957600080fd5b50610672611ccd565b60405161067f9190613bf7565b60405180910390f35b34801561069457600080fd5b5061069d611cd2565b6040516106aa9190613bf7565b60405180910390f35b3480156106bf57600080fd5b506106da60048036038101906106d5919061314e565b611cd8565b6040516106e7919061391a565b60405180910390f35b3480156106fc57600080fd5b5061071760048036038101906107129190613121565b611d6c565b005b600061072482611f18565b9050919050565b60606000805461073a90613ea4565b80601f016020809104026020016040519081016040528092919081815260200182805461076690613ea4565b80156107b35780601f10610788576101008083540402835291602001916107b3565b820191906000526020600020905b81548152906001019060200180831161079657829003601f168201915b5050505050905090565b60006107c882611f92565b610807576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fe90613ad7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084d826114b2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b590613b97565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108dd611ffe565b73ffffffffffffffffffffffffffffffffffffffff16148061090c575061090b81610906611ffe565b611cd8565b5b61094b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094290613a57565b60405180910390fd5b6109558383612006565b505050565b6000600880549050905090565b73095f1fd53a56c01c76a2a56b7273995ce915d8c481565b61099061098a611ffe565b826120bf565b6109cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c690613bb7565b60405180910390fd5b6109da83838361219d565b505050565b60006109ea83611564565b8210610a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2290613977565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6658d15e1762800081565b60606000610a9c83611759565b90506000806000806000600160146002610ab69190613d60565b610ac09190613cd9565b600260046014610ad09190613d60565b610ada9190613cd9565b610ae49190613d60565b67ffffffffffffffff811115610afd57610afc61406c565b5b6040519080825280601f01601f191660200182016040528015610b2f5781602001600182028036833780820191505090505b50905060005b600160146002610b459190613d60565b610b4f9190613cd9565b8110156112195760005b600260046014610b699190613d60565b610b739190613cd9565b81101561120557600081600260046014610b8d9190613d60565b610b979190613cd9565b84610ba29190613d60565b610bac9190613cd9565b9050600260046014610bbe9190613d60565b610bc89190613cd9565b600183610bd59190613cd9565b1415610c3757600a60f81b848281518110610bf357610bf261403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600182610c2f9190613cd9565b915050610b59565b600082148015610c5357506001600284610c519190613f50565b145b15610cb457607c60f81b848281518110610c7057610c6f61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600182610cac9190613cd9565b915050610b59565b600082148015610cd057506000600284610cce9190613f50565b145b15610d3157602b60f81b848281518110610ced57610cec61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600182610d299190613cd9565b915050610b59565b6000831415610d4357601f9750610dc0565b6002600184610d529190613dba565b610d5c9190613d2f565b9550600482610d6b9190613d2f565b9450610d7786866123f9565b9650601480610d869190613d60565b87108015610d95575060008710155b15610dba5788876101908110610dae57610dad61403d565b5b60200201519750610dbf565b601f97505b5b6001600284610dcf9190613f50565b1415610f9957602060f81b848280610de690613f07565b935081518110610df957610df861403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b848280610e3990613f07565b935081518110610e4c57610e4b61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b848280610e8c90613f07565b935081518110610e9f57610e9e61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060048089161415610f3157607c60f81b848280610eea90613f07565b935081518110610efd57610efc61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350610f85565b602060f81b848280610f4290613f07565b935081518110610f5557610f5461403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b600482610f929190613cd9565b91506111ff565b600280891614156110a257602d60f81b848280610fb590613f07565b935081518110610fc857610fc761403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602d60f81b84828061100890613f07565b93508151811061101b5761101a61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602d60f81b84828061105b90613f07565b93508151811061106e5761106d61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061119c565b602060f81b8482806110b390613f07565b9350815181106110c6576110c561403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b84828061110690613f07565b9350815181106111195761111861403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350602060f81b84828061115990613f07565b93508151811061116c5761116b61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b602b60f81b8482806111ad90613f07565b9350815181106111c0576111bf61403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506004826111fc9190613cd9565b91505b50610b59565b50808061121190613f07565b915050610b35565b50600081905080975050505050505050919050565b6101003073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561127757600080fd5b505afa15801561128b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112af919061336b565b106112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e690613b77565b60405180910390fd5b6658d15e176280003373ffffffffffffffffffffffffffffffffffffffff16311161134f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134690613957565b60405180910390fd5b6658d15e17628000341015611399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139090613b57565b60405180910390fd5b600073095f1fd53a56c01c76a2a56b7273995ce915d8c490508073ffffffffffffffffffffffffffffffffffffffff166108fc6658d15e176280009081150290604051600060405180830381858888f193505050501580156113ff573d6000803e3d6000fd5b506114138261140e600b61241b565b612429565b61141d600b612447565b5050565b61143c83838360405180602001604052806000815250611bd9565b505050565b600061144b61095a565b821061148c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148390613bd7565b60405180910390fd5b600882815481106114a05761149f61403d565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561155b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155290613a97565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc90613a77565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611624611ffe565b73ffffffffffffffffffffffffffffffffffffffff166116426118ee565b73ffffffffffffffffffffffffffffffffffffffff1614611698576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168f90613af7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611761612fed565b611769612fed565b600080611775856119aa565b9050600080600090505b60148061178c9190613d60565b8110156118e157601f93506117a0836119aa565b92506101f46103e8846117b39190613f50565b1015915060006117c28261245d565b9050821561183e57600160146117d89190613dba565b816000600281106117ec576117eb61403d565b5b602002015110156118035760021985169450611839565b600160146118119190613dba565b816001600281106118255761182461403d565b5b6020020151101561183857600419851694505b5b6118ae565b6001601461184c9190613dba565b816001600281106118605761185f61403d565b5b6020020151101561187757600419851694506118ad565b600160146118859190613dba565b816000600281106118995761189861403d565b5b602002015110156118ac57600219851694505b5b5b84868361019081106118c3576118c261403d565b5b602002018181525050506001816118da9190613cd9565b905061177f565b5083945050505050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461192790613ea4565b80601f016020809104026020016040519081016040528092919081815260200182805461195390613ea4565b80156119a05780601f10611975576101008083540402835291602001916119a0565b820191906000526020600020905b81548152906001019060200180831161198357829003601f168201915b5050505050905090565b600063800000006130396341c64e6d846119c49190613d60565b6119ce9190613cd9565b6119d89190613f50565b9050919050565b6119e7611ffe565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4c90613a17565b60405180910390fd5b8060056000611a62611ffe565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b0f611ffe565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b54919061391a565b60405180910390a35050565b6060611b6b82611f92565b611baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba190613b37565b60405180910390fd5b611bb382610a8f565b604051602001611bc39190613875565b6040516020818303038152906040529050919050565b611bea611be4611ffe565b836120bf565b611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2090613bb7565b60405180910390fd5b611c35848484846124a5565b50505050565b6060611c4682611f92565b611c85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7c90613b37565b60405180910390fd5b6000611c9083612501565b9050611c9a612662565b81611ca485612501565b604051602001611cb69392919061382e565b604051602081830303815290604052915050919050565b601481565b61010081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d74611ffe565b73ffffffffffffffffffffffffffffffffffffffff16611d926118ee565b73ffffffffffffffffffffffffffffffffffffffff1614611de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddf90613af7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4f906139b7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f8b5750611f8a8261269f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612079836114b2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120ca82611f92565b612109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210090613a37565b60405180910390fd5b6000612114836114b2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061218357508373ffffffffffffffffffffffffffffffffffffffff1661216b846107bd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061219457506121938185611cd8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121bd826114b2565b73ffffffffffffffffffffffffffffffffffffffff1614612213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220a90613b17565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227a906139f7565b60405180910390fd5b61228e838383612781565b612299600082612006565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122e99190613dba565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123409190613cd9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000816014846124099190613d60565b6124139190613cd9565b905092915050565b600081600001549050919050565b612443828260405180602001604052806000815250612791565b5050565b6001816000016000828254019250508190555050565b612465613011565b60006014836124749190613d2f565b905060006014846124859190613f50565b905060405180604001604052808381526020018281525092505050919050565b6124b084848461219d565b6124bc848484846127ec565b6124fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f290613997565b60405180910390fd5b50505050565b60606000821415612549576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061265d565b600082905060005b6000821461257b57808061256490613f07565b915050600a826125749190613d2f565b9150612551565b60008167ffffffffffffffff8111156125975761259661406c565b5b6040519080825280601f01601f1916602001820160405280156125c95781602001600182028036833780820191505090505b5090505b60008514612656576001826125e29190613dba565b9150600a856125f19190613f50565b60306125fd9190613cd9565b60f81b8183815181106126135761261261403d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561264f9190613d2f565b94506125cd565b8093505050505b919050565b60606040518060400160405280601a81526020017f68747470733a2f2f626c6f636b6d617a696e672e636f6d2f6d2f000000000000815250905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061276a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061277a575061277982612983565b5b9050919050565b61278c8383836129ed565b505050565b61279b8383612b01565b6127a860008484846127ec565b6127e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127de90613997565b60405180910390fd5b505050565b600061280d8473ffffffffffffffffffffffffffffffffffffffff16612ccf565b15612976578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612836611ffe565b8786866040518563ffffffff1660e01b815260040161285894939291906138b2565b602060405180830381600087803b15801561287257600080fd5b505af19250505080156128a357506040513d601f19601f820116820180604052508101906128a09190613311565b60015b612926573d80600081146128d3576040519150601f19603f3d011682016040523d82523d6000602084013e6128d8565b606091505b5060008151141561291e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291590613997565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061297b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6129f8838383612ce2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a3b57612a3681612ce7565b612a7a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a7957612a788382612d30565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612abd57612ab881612e9d565b612afc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612afb57612afa8282612f6e565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6890613ab7565b60405180910390fd5b612b7a81611f92565b15612bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb1906139d7565b60405180910390fd5b612bc660008383612781565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c169190613cd9565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d3d84611564565b612d479190613dba565b9050600060076000848152602001908152602001600020549050818114612e2c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612eb19190613dba565b9050600060096000848152602001908152602001600020549050600060088381548110612ee157612ee061403d565b5b906000526020600020015490508060088381548110612f0357612f0261403d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612f5257612f5161400e565b5b6001900381819060005260206000200160009055905550505050565b6000612f7983611564565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60405180613200016040528061019090602082028036833780820191505090505090565b6040518060400160405280600290602082028036833780820191505090505090565b600061304661304184613c37565b613c12565b905082815260208101848484011115613062576130616140a0565b5b61306d848285613e62565b509392505050565b600081359050613084816146d2565b92915050565b600081359050613099816146e9565b92915050565b6000813590506130ae81614700565b92915050565b6000815190506130c381614700565b92915050565b600082601f8301126130de576130dd61409b565b5b81356130ee848260208601613033565b91505092915050565b60008135905061310681614717565b92915050565b60008151905061311b81614717565b92915050565b600060208284031215613137576131366140aa565b5b600061314584828501613075565b91505092915050565b60008060408385031215613165576131646140aa565b5b600061317385828601613075565b925050602061318485828601613075565b9150509250929050565b6000806000606084860312156131a7576131a66140aa565b5b60006131b586828701613075565b93505060206131c686828701613075565b92505060406131d7868287016130f7565b9150509250925092565b600080600080608085870312156131fb576131fa6140aa565b5b600061320987828801613075565b945050602061321a87828801613075565b935050604061322b878288016130f7565b925050606085013567ffffffffffffffff81111561324c5761324b6140a5565b5b613258878288016130c9565b91505092959194509250565b6000806040838503121561327b5761327a6140aa565b5b600061328985828601613075565b925050602061329a8582860161308a565b9150509250929050565b600080604083850312156132bb576132ba6140aa565b5b60006132c985828601613075565b92505060206132da858286016130f7565b9150509250929050565b6000602082840312156132fa576132f96140aa565b5b60006133088482850161309f565b91505092915050565b600060208284031215613327576133266140aa565b5b6000613335848285016130b4565b91505092915050565b600060208284031215613354576133536140aa565b5b6000613362848285016130f7565b91505092915050565b600060208284031215613381576133806140aa565b5b600061338f8482850161310c565b91505092915050565b60006133a48383613810565b60208301905092915050565b6133b981613dee565b82525050565b6133c881613c72565b6133d28184613ca1565b92506133dd82613c68565b8060005b8381101561340e5781516133f58782613398565b965061340083613c94565b9250506001810190506133e1565b505050505050565b61341f81613e00565b82525050565b600061343082613c7e565b61343a8185613cac565b935061344a818560208601613e71565b613453816140af565b840191505092915050565b600061346982613c89565b6134738185613cbd565b9350613483818560208601613e71565b61348c816140af565b840191505092915050565b60006134a282613c89565b6134ac8185613cce565b93506134bc818560208601613e71565b80840191505092915050565b60006134d5600f83613cbd565b91506134e0826140c0565b602082019050919050565b60006134f8602b83613cbd565b9150613503826140e9565b604082019050919050565b600061351b603283613cbd565b915061352682614138565b604082019050919050565b600061353e602683613cbd565b915061354982614187565b604082019050919050565b6000613561601c83613cbd565b915061356c826141d6565b602082019050919050565b6000613584602483613cbd565b915061358f826141ff565b604082019050919050565b60006135a7601983613cbd565b91506135b28261424e565b602082019050919050565b60006135ca602c83613cbd565b91506135d582614277565b604082019050919050565b60006135ed603883613cbd565b91506135f8826142c6565b604082019050919050565b6000613610602a83613cbd565b915061361b82614315565b604082019050919050565b6000613633602983613cbd565b915061363e82614364565b604082019050919050565b6000613656602083613cbd565b9150613661826143b3565b602082019050919050565b6000613679602c83613cbd565b9150613684826143dc565b604082019050919050565b600061369c600583613cce565b91506136a78261442b565b600582019050919050565b60006136bf602083613cbd565b91506136ca82614454565b602082019050919050565b60006136e2602983613cbd565b91506136ed8261447d565b604082019050919050565b6000613705602f83613cbd565b9150613710826144cc565b604082019050919050565b6000613728601183613cbd565b91506137338261451b565b602082019050919050565b600061374b602783613cbd565b915061375682614544565b604082019050919050565b600061376e602183613cbd565b915061377982614593565b604082019050919050565b6000613791603183613cbd565b915061379c826145e2565b604082019050919050565b60006137b4602c83613cbd565b91506137bf82614631565b604082019050919050565b60006137d7601e83613cce565b91506137e282614680565b601e82019050919050565b60006137fa600183613cce565b9150613805826146a9565b600182019050919050565b61381981613e58565b82525050565b61382881613e58565b82525050565b600061383a8286613497565b91506138468285613497565b9150613851826137ed565b915061385d8284613497565b91506138688261368f565b9150819050949350505050565b6000613880826137ca565b915061388c8284613497565b915081905092915050565b60006020820190506138ac60008301846133b0565b92915050565b60006080820190506138c760008301876133b0565b6138d460208301866133b0565b6138e1604083018561381f565b81810360608301526138f38184613425565b905095945050505050565b60006132008201905061391460008301846133bf565b92915050565b600060208201905061392f6000830184613416565b92915050565b6000602082019050818103600083015261394f818461345e565b905092915050565b60006020820190508181036000830152613970816134c8565b9050919050565b60006020820190508181036000830152613990816134eb565b9050919050565b600060208201905081810360008301526139b08161350e565b9050919050565b600060208201905081810360008301526139d081613531565b9050919050565b600060208201905081810360008301526139f081613554565b9050919050565b60006020820190508181036000830152613a1081613577565b9050919050565b60006020820190508181036000830152613a308161359a565b9050919050565b60006020820190508181036000830152613a50816135bd565b9050919050565b60006020820190508181036000830152613a70816135e0565b9050919050565b60006020820190508181036000830152613a9081613603565b9050919050565b60006020820190508181036000830152613ab081613626565b9050919050565b60006020820190508181036000830152613ad081613649565b9050919050565b60006020820190508181036000830152613af08161366c565b9050919050565b60006020820190508181036000830152613b10816136b2565b9050919050565b60006020820190508181036000830152613b30816136d5565b9050919050565b60006020820190508181036000830152613b50816136f8565b9050919050565b60006020820190508181036000830152613b708161371b565b9050919050565b60006020820190508181036000830152613b908161373e565b9050919050565b60006020820190508181036000830152613bb081613761565b9050919050565b60006020820190508181036000830152613bd081613784565b9050919050565b60006020820190508181036000830152613bf0816137a7565b9050919050565b6000602082019050613c0c600083018461381f565b92915050565b6000613c1c613c2d565b9050613c288282613ed6565b919050565b6000604051905090565b600067ffffffffffffffff821115613c5257613c5161406c565b5b613c5b826140af565b9050602081019050919050565b6000819050919050565b60006101909050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ce482613e58565b9150613cef83613e58565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d2457613d23613f81565b5b828201905092915050565b6000613d3a82613e58565b9150613d4583613e58565b925082613d5557613d54613fb0565b5b828204905092915050565b6000613d6b82613e58565b9150613d7683613e58565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613daf57613dae613f81565b5b828202905092915050565b6000613dc582613e58565b9150613dd083613e58565b925082821015613de357613de2613f81565b5b828203905092915050565b6000613df982613e38565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e8f578082015181840152602081019050613e74565b83811115613e9e576000848401525b50505050565b60006002820490506001821680613ebc57607f821691505b60208210811415613ed057613ecf613fdf565b5b50919050565b613edf826140af565b810181811067ffffffffffffffff82111715613efe57613efd61406c565b5b80604052505050565b6000613f1282613e58565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f4557613f44613f81565b5b600182019050919050565b6000613f5b82613e58565b9150613f6683613e58565b925082613f7657613f75613fb0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f75676820455448210000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f56616c75652062656c6f77207072696365000000000000000000000000000000600082015250565b7f54686520737570706c79206f66206d617a657320686173206265656e2065786860008201527f6175737465642e00000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f646174613a746578742f706c61696e3b636861727365743d5554462d382c0000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6146db81613dee565b81146146e657600080fd5b50565b6146f281613e00565b81146146fd57600080fd5b50565b61470981613e0c565b811461471457600080fd5b50565b61472081613e58565b811461472b57600080fd5b5056fea2646970667358221220e7c090f3cebf2438792cd719ba5084129cb9e584c1ed10a855695835c826e53964736f6c63430008060033

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.