ETH Price: $2,656.08 (+1.32%)
Gas: 1.8 Gwei

Token

Grailer (GRL)
 

Overview

Max Total Supply

909 GRL

Holders

99

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GRL
0x0481ac68cc3cb70f71c537c9cc14a6ddc29881b1
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Grailers is a collection of 999 NFTs. Your Grailer NFT represents your membership in the Grailers community, which aims to support generative artists and the broader generative art ecosystem.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Grailer

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : Grailer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721Tradable.sol";

contract Grailer is ERC721Tradable {
    bool public saleIsActive;
    uint256 public maxByMint;
    uint256 public maxSupply;
    uint256 public maxPublicSupply;
    uint256 public maxReservedSupply;
    uint256 public totalPublicSupply;
    uint256 public totalReservedSupply;
    uint256 public fixedPrice;
    address public daoAddress;
    string internal baseTokenURI;
    
    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721Tradable(_name, _symbol, _proxyRegistryAddress) {
        maxByMint = 10;
        maxSupply = 999;
        maxReservedSupply = 30;
        fixedPrice = 0.6 ether;
        maxPublicSupply = maxSupply - maxReservedSupply;
        daoAddress = 0x63fE60e3373De8480eBe56Db5B153baB1A431E38;
        baseTokenURI = 'https://www.grailers.io/api/meta/1/';
    }

    function contractURI() public pure returns (string memory) {
        return "https://www.grailers.io/api/contract/1";
    }

    function tokenURI(uint256 _tokenId) override public view returns (string memory) {
        return string(abi.encodePacked(baseTokenURI, Strings.toString(_tokenId)));
    }

    function mintPublic(uint numberOfTokens) external payable {
        require(saleIsActive, "Sale not active");
        require(numberOfTokens <= maxByMint, "Max mint exceeded");
        require(totalPublicSupply + numberOfTokens <= maxPublicSupply, "Max supply reached");
        require(fixedPrice * numberOfTokens <= msg.value, "Eth val incorrect");
        for(uint i = 0; i < numberOfTokens; i++) {
            _mint(msg.sender, totalPublicSupply + 1);
            totalPublicSupply++;
        }
    }

    function mintReserved(address _to) external onlyOwner {
        _mint(_to, maxPublicSupply + totalReservedSupply + 1);
        totalReservedSupply++;
    }

    function flipSaleStatus() external onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function setDaoAddress(address _daoAddress) external onlyOwner {
        daoAddress = _daoAddress;
    }

    function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        require(balance > 0);
        _withdraw(daoAddress, balance);
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Tx failed");
    }

}

File 2 of 19 : ERC721Tradable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC721Tradable
 */
abstract contract ERC721Tradable is ERC721Enumerable, ContextMixin, NativeMetaTransaction, Ownable {
    address internal proxyRegistryAddress;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721(_name, _symbol) {
        proxyRegistryAddress = _proxyRegistryAddress;
        _initializeEIP712(_name);
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }
        return super.isApprovedForAll(owner, operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 19 : ContentMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 6 of 19 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import { SafeMathUpgradeable as SafeMath } from "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

File 7 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 8 of 19 : 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 9 of 19 : 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 10 of 19 : 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 11 of 19 : 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 12 of 19 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 19 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 18 of 19 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

File 19 of 19 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"daoAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"fixedPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxByMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoAddress","type":"address"}],"name":"setDaoAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620058bc380380620058bc833981810160405281019062000037919062000635565b8282828282816000908051906020019062000054929190620004fc565b5080600190805190602001906200006d929190620004fc565b5050506200009062000084620001b560201b60201c565b620001d160201b60201c565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620000e2836200029760201b60201c565b505050600a600f819055506103e7601081905550601e601281905550670853a0d2313c00006015819055506012546010546200011f9190620007f5565b6011819055507363fe60e3373de8480ebe56db5b153bab1a431e38601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060600160405280602381526020016200584a6023913960179080519060200190620001ab929190620004fc565b5050505062000a21565b6000620001cc6200038d60201b62001d001760201c565b905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a60019054906101000a900460ff1680620002c05750600a60009054906101000a900460ff16155b62000302576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f99062000763565b60405180910390fd5b6000600a60019054906101000a900460ff16159050801562000355576001600a60016101000a81548160ff0219169083151502179055506001600a60006101000a81548160ff0219169083151502179055505b62000366826200044060201b60201c565b801562000389576000600a60016101000a81548160ff0219169083151502179055505b5050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200043957600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506200043d565b3390505b90565b6040518060800160405280604f81526020016200586d604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620004b7620004ef60201b60201c565b60001b604051602001620004d095949392919062000706565b60405160208183030381529060405280519060200120600b8190555050565b6000804690508091505090565b8280546200050a90620008ae565b90600052602060002090601f0160209004810192826200052e57600085556200057a565b82601f106200054957805160ff19168380011785556200057a565b828001600101855582156200057a579182015b82811115620005795782518255916020019190600101906200055c565b5b5090506200058991906200058d565b5090565b5b80821115620005a85760008160009055506001016200058e565b5090565b6000620005c3620005bd84620007ae565b62000785565b905082815260208101848484011115620005dc57600080fd5b620005e984828562000878565b509392505050565b600081519050620006028162000a07565b92915050565b600082601f8301126200061a57600080fd5b81516200062c848260208601620005ac565b91505092915050565b6000806000606084860312156200064b57600080fd5b600084015167ffffffffffffffff8111156200066657600080fd5b620006748682870162000608565b935050602084015167ffffffffffffffff8111156200069257600080fd5b620006a08682870162000608565b9250506040620006b386828701620005f1565b9150509250925092565b620006c88162000830565b82525050565b620006d98162000844565b82525050565b6000620006ee602e83620007e4565b9150620006fb82620009b8565b604082019050919050565b600060a0820190506200071d6000830188620006ce565b6200072c6020830187620006ce565b6200073b6040830186620006ce565b6200074a6060830185620006bd565b620007596080830184620006ce565b9695505050505050565b600060208201905081810360008301526200077e81620006df565b9050919050565b600062000791620007a4565b90506200079f8282620008e4565b919050565b6000604051905090565b600067ffffffffffffffff821115620007cc57620007cb62000978565b5b620007d782620009a7565b9050602081019050919050565b600082825260208201905092915050565b600062000802826200086e565b91506200080f836200086e565b9250828210156200082557620008246200091a565b5b828203905092915050565b60006200083d826200084e565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620008985780820151818401526020810190506200087b565b83811115620008a8576000848401525b50505050565b60006002820490506001821680620008c757607f821691505b60208210811415620008de57620008dd62000949565b5b50919050565b620008ef82620009a7565b810181811067ffffffffffffffff8211171562000911576200091062000978565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b62000a128162000830565b811462000a1e57600080fd5b50565b614e198062000a316000396000f3fe60806040526004361061023b5760003560e01c80636352211e1161012e578063c1fad42c116100ab578063e8a3d4851161006f578063e8a3d4851461086a578063e985e9c514610895578063eb8d2444146108d2578063efd0cbf9146108fd578063f2fde38b146109195761023b565b8063c1fad42c14610795578063c87b56dd146107c0578063ce03ec93146107fd578063d5abeb0114610814578063e6a5931e1461083f5761023b565b80638da5cb5b116100f25780638da5cb5b146106c457806395d89b41146106ef5780639a3cac6a1461071a578063a22cb46514610743578063b88d4fde1461076c5761023b565b80636352211e146105df578063674d13c81461061c57806370a0823114610647578063715018a6146106845780638b11c97b1461069b5761023b565b80632131c68c116101bc57806330176e131161018057806330176e131461050e5780633408e470146105375780633ccfd60b1461056257806342842e0e146105795780634f6ccce7146105a25761023b565b80632131c68c1461041557806323b872dd1461044057806326a74d8e146104695780632d0335ab146104945780632f745c59146104d15761023b565b80630f7e5970116102035780630f7e59701461033e578063138a4e011461036957806318160ddd146103945780631efba6c2146103bf57806320379ee5146103ea5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55780630c53c51c1461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613599565b610942565b6040516102749190613d5e565b60405180910390f35b34801561028957600080fd5b506102926109bc565b60405161029f9190613e40565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613655565b610a4e565b6040516102dc9190613cb9565b60405180910390f35b3480156102f157600080fd5b5061030c6004803603810190610307919061355d565b610ad3565b005b610328600480360381019061032391906134ce565b610beb565b6040516103359190613e1e565b60405180910390f35b34801561034a57600080fd5b50610353610e5d565b6040516103609190613e40565b60405180910390f35b34801561037557600080fd5b5061037e610e96565b60405161038b9190614182565b60405180910390f35b3480156103a057600080fd5b506103a9610e9c565b6040516103b69190614182565b60405180910390f35b3480156103cb57600080fd5b506103d4610ea9565b6040516103e19190614182565b60405180910390f35b3480156103f657600080fd5b506103ff610eaf565b60405161040c9190613d79565b60405180910390f35b34801561042157600080fd5b5061042a610eb9565b6040516104379190613cb9565b60405180910390f35b34801561044c57600080fd5b50610467600480360381019061046291906133c8565b610edf565b005b34801561047557600080fd5b5061047e610f3f565b60405161048b9190614182565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b69190613363565b610f45565b6040516104c89190614182565b60405180910390f35b3480156104dd57600080fd5b506104f860048036038101906104f3919061355d565b610f8e565b6040516105059190614182565b60405180910390f35b34801561051a57600080fd5b5061053560048036038101906105309190613614565b611033565b005b34801561054357600080fd5b5061054c6110c9565b6040516105599190614182565b60405180910390f35b34801561056e57600080fd5b506105776110d6565b005b34801561058557600080fd5b506105a0600480360381019061059b91906133c8565b611193565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190613655565b6111b3565b6040516105d69190614182565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190613655565b61124a565b6040516106139190613cb9565b60405180910390f35b34801561062857600080fd5b506106316112fc565b60405161063e9190614182565b60405180910390f35b34801561065357600080fd5b5061066e60048036038101906106699190613363565b611302565b60405161067b9190614182565b60405180910390f35b34801561069057600080fd5b506106996113ba565b005b3480156106a757600080fd5b506106c260048036038101906106bd9190613363565b611442565b005b3480156106d057600080fd5b506106d96114fe565b6040516106e69190613cb9565b60405180910390f35b3480156106fb57600080fd5b50610704611528565b6040516107119190613e40565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190613363565b6115ba565b005b34801561074f57600080fd5b5061076a60048036038101906107659190613492565b61167a565b005b34801561077857600080fd5b50610793600480360381019061078e9190613417565b6117fb565b005b3480156107a157600080fd5b506107aa61185d565b6040516107b79190614182565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e29190613655565b611863565b6040516107f49190613e40565b60405180910390f35b34801561080957600080fd5b50610812611897565b005b34801561082057600080fd5b5061082961193f565b6040516108369190614182565b60405180910390f35b34801561084b57600080fd5b50610854611945565b6040516108619190614182565b60405180910390f35b34801561087657600080fd5b5061087f61194b565b60405161088c9190613e40565b60405180910390f35b3480156108a157600080fd5b506108bc60048036038101906108b7919061338c565b61196b565b6040516108c99190613d5e565b60405180910390f35b3480156108de57600080fd5b506108e7611a6d565b6040516108f49190613d5e565b60405180910390f35b61091760048036038101906109129190613655565b611a80565b005b34801561092557600080fd5b50610940600480360381019061093b9190613363565b611c08565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b557506109b482611db1565b5b9050919050565b6060600080546109cb9061448d565b80601f01602080910402602001604051908101604052809291908181526020018280546109f79061448d565b8015610a445780601f10610a1957610100808354040283529160200191610a44565b820191906000526020600020905b815481529060010190602001808311610a2757829003601f168201915b5050505050905090565b6000610a5982611e93565b610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90614062565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ade8261124a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b46906140e2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6e611eff565b73ffffffffffffffffffffffffffffffffffffffff161480610b9d5750610b9c81610b97611eff565b61196b565b5b610bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd390613fc2565b60405180910390fd5b610be68383611f0e565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c6e8782878787611fc7565b610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca4906140c2565b60405180910390fd5b610d006001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120d090919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d7693929190613cd4565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610dab929190613c21565b604051602081830303815290604052604051610dc79190613c0a565b6000604051808303816000865af19150503d8060008114610e04576040519150601f19603f3d011682016040523d82523d6000602084013e610e09565b606091505b509150915081610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590613ec2565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b600f5481565b6000600880549050905090565b60155481565b6000600b54905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ef0610eea611eff565b826120e6565b610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690614122565b60405180910390fd5b610f3a8383836121c4565b505050565b60115481565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f9983611302565b8210610fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd190613e62565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61103b611eff565b73ffffffffffffffffffffffffffffffffffffffff166110596114fe565b73ffffffffffffffffffffffffffffffffffffffff16146110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a690614082565b60405180910390fd5b80601790805190602001906110c5929190613148565b5050565b6000804690508091505090565b6110de611eff565b73ffffffffffffffffffffffffffffffffffffffff166110fc6114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614082565b60405180910390fd5b60004790506000811161116457600080fd5b611190601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612420565b50565b6111ae838383604051806020016040528060008152506117fb565b505050565b60006111bd610e9c565b82106111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590614162565b60405180910390fd5b60088281548110611238577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ea90614002565b60405180910390fd5b80915050919050565b60145481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90613fe2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113c2611eff565b73ffffffffffffffffffffffffffffffffffffffff166113e06114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d90614082565b60405180910390fd5b61144060006124d1565b565b61144a611eff565b73ffffffffffffffffffffffffffffffffffffffff166114686114fe565b73ffffffffffffffffffffffffffffffffffffffff16146114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590614082565b60405180910390fd5b6114e38160016014546011546114d49190614287565b6114de9190614287565b612597565b601460008154809291906114f6906144f0565b919050555050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115379061448d565b80601f01602080910402602001604051908101604052809291908181526020018280546115639061448d565b80156115b05780601f10611585576101008083540402835291602001916115b0565b820191906000526020600020905b81548152906001019060200180831161159357829003601f168201915b5050505050905090565b6115c2611eff565b73ffffffffffffffffffffffffffffffffffffffff166115e06114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162d90614082565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611682611eff565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e790613f42565b60405180910390fd5b80600560006116fd611eff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117aa611eff565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117ef9190613d5e565b60405180910390a35050565b61180c611806611eff565b836120e6565b61184b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184290614122565b60405180910390fd5b61185784848484612765565b50505050565b60125481565b60606017611870836127c1565b604051602001611881929190613c49565b6040516020818303038152906040529050919050565b61189f611eff565b73ffffffffffffffffffffffffffffffffffffffff166118bd6114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190a90614082565b60405180910390fd5b600e60149054906101000a900460ff1615600e60146101000a81548160ff021916908315150217905550565b60105481565b60135481565b6060604051806060016040528060268152602001614dbe60269139905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016119e39190613cb9565b60206040518083038186803b1580156119fb57600080fd5b505afa158015611a0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3391906135eb565b73ffffffffffffffffffffffffffffffffffffffff161415611a59576001915050611a67565b611a63848461296e565b9150505b92915050565b600e60149054906101000a900460ff1681565b600e60149054906101000a900460ff16611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac690613f82565b60405180910390fd5b600f54811115611b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0b90613f02565b60405180910390fd5b60115481601354611b259190614287565b1115611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90614142565b60405180910390fd5b3481601554611b75919061430e565b1115611bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bad90614102565b60405180910390fd5b60005b81811015611c0457611bd9336001601354611bd49190614287565b612597565b60136000815480929190611bec906144f0565b91905055508080611bfc906144f0565b915050611bb9565b5050565b611c10611eff565b73ffffffffffffffffffffffffffffffffffffffff16611c2e6114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b90614082565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613ea2565b60405180910390fd5b611cfd816124d1565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611daa57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050611dae565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e7c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e8c5750611e8b82612a02565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000611f09611d00565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f818361124a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202f90613fa2565b60405180910390fd5b600161204b61204687612a6c565b612ad4565b8386866040516000815260200160405260405161206b9493929190613dd9565b6020604051602081039080840390855afa15801561208d573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836120de9190614287565b905092915050565b60006120f182611e93565b612130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212790613f62565b60405180910390fd5b600061213b8361124a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121aa57508373ffffffffffffffffffffffffffffffffffffffff1661219284610a4e565b73ffffffffffffffffffffffffffffffffffffffff16145b806121bb57506121ba818561196b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121e48261124a565b73ffffffffffffffffffffffffffffffffffffffff161461223a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612231906140a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a190613f22565b60405180910390fd5b6122b5838383612b0d565b6122c0600082611f0e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123109190614368565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123679190614287565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161244690613ca4565b60006040518083038185875af1925050503d8060008114612483576040519150601f19603f3d011682016040523d82523d6000602084013e612488565b606091505b50509050806124cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c390614022565b60405180910390fd5b505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe90614042565b60405180910390fd5b61261081611e93565b15612650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264790613ee2565b60405180910390fd5b61265c60008383612b0d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126ac9190614287565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6127708484846121c4565b61277c84848484612c21565b6127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b290613e82565b60405180910390fd5b50505050565b60606000821415612809576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612969565b600082905060005b6000821461283b578080612824906144f0565b915050600a8261283491906142dd565b9150612811565b60008167ffffffffffffffff81111561287d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128af5781602001600182028036833780820191505090505b5090505b60008514612962576001826128c89190614368565b9150600a856128d79190614567565b60306128e39190614287565b60f81b81838151811061291f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561295b91906142dd565b94506128b3565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051806080016040528060438152602001614d7b604391398051906020012082600001518360200151846040015180519060200120604051602001612ab79493929190613d94565b604051602081830303815290604052805190602001209050919050565b6000612ade610eaf565b82604051602001612af0929190613c6d565b604051602081830303815290604052805190602001209050919050565b612b18838383612db8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b5b57612b5681612dbd565b612b9a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b9957612b988382612e06565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bdd57612bd881612f73565b612c1c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c1b57612c1a82826130b6565b5b5b505050565b6000612c428473ffffffffffffffffffffffffffffffffffffffff16613135565b15612dab578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c6b611eff565b8786866040518563ffffffff1660e01b8152600401612c8d9493929190613d12565b602060405180830381600087803b158015612ca757600080fd5b505af1925050508015612cd857506040513d601f19601f82011682018060405250810190612cd591906135c2565b60015b612d5b573d8060008114612d08576040519150601f19603f3d011682016040523d82523d6000602084013e612d0d565b606091505b50600081511415612d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4a90613e82565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612db0565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e1384611302565b612e1d9190614368565b9050600060076000848152602001908152602001600020549050818114612f02576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f879190614368565b9050600060096000848152602001908152602001600020549050600060088381548110612fdd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613025577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061309a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130c183611302565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546131549061448d565b90600052602060002090601f01602090048101928261317657600085556131bd565b82601f1061318f57805160ff19168380011785556131bd565b828001600101855582156131bd579182015b828111156131bc5782518255916020019190600101906131a1565b5b5090506131ca91906131ce565b5090565b5b808211156131e75760008160009055506001016131cf565b5090565b60006131fe6131f9846141c2565b61419d565b90508281526020810184848401111561321657600080fd5b61322184828561444b565b509392505050565b600061323c613237846141f3565b61419d565b90508281526020810184848401111561325457600080fd5b61325f84828561444b565b509392505050565b60008135905061327681614cd9565b92915050565b60008135905061328b81614cf0565b92915050565b6000813590506132a081614d07565b92915050565b6000813590506132b581614d1e565b92915050565b6000815190506132ca81614d1e565b92915050565b600082601f8301126132e157600080fd5b81356132f18482602086016131eb565b91505092915050565b60008151905061330981614d35565b92915050565b600082601f83011261332057600080fd5b8135613330848260208601613229565b91505092915050565b60008135905061334881614d4c565b92915050565b60008135905061335d81614d63565b92915050565b60006020828403121561337557600080fd5b600061338384828501613267565b91505092915050565b6000806040838503121561339f57600080fd5b60006133ad85828601613267565b92505060206133be85828601613267565b9150509250929050565b6000806000606084860312156133dd57600080fd5b60006133eb86828701613267565b93505060206133fc86828701613267565b925050604061340d86828701613339565b9150509250925092565b6000806000806080858703121561342d57600080fd5b600061343b87828801613267565b945050602061344c87828801613267565b935050604061345d87828801613339565b925050606085013567ffffffffffffffff81111561347a57600080fd5b613486878288016132d0565b91505092959194509250565b600080604083850312156134a557600080fd5b60006134b385828601613267565b92505060206134c48582860161327c565b9150509250929050565b600080600080600060a086880312156134e657600080fd5b60006134f488828901613267565b955050602086013567ffffffffffffffff81111561351157600080fd5b61351d888289016132d0565b945050604061352e88828901613291565b935050606061353f88828901613291565b92505060806135508882890161334e565b9150509295509295909350565b6000806040838503121561357057600080fd5b600061357e85828601613267565b925050602061358f85828601613339565b9150509250929050565b6000602082840312156135ab57600080fd5b60006135b9848285016132a6565b91505092915050565b6000602082840312156135d457600080fd5b60006135e2848285016132bb565b91505092915050565b6000602082840312156135fd57600080fd5b600061360b848285016132fa565b91505092915050565b60006020828403121561362657600080fd5b600082013567ffffffffffffffff81111561364057600080fd5b61364c8482850161330f565b91505092915050565b60006020828403121561366757600080fd5b600061367584828501613339565b91505092915050565b613687816143ae565b82525050565b6136968161439c565b82525050565b6136ad6136a88261439c565b614539565b82525050565b6136bc816143c0565b82525050565b6136cb816143cc565b82525050565b6136e26136dd826143cc565b61454b565b82525050565b60006136f382614239565b6136fd818561424f565b935061370d81856020860161445a565b61371681614654565b840191505092915050565b600061372c82614239565b6137368185614260565b935061374681856020860161445a565b80840191505092915050565b600061375d82614244565b613767818561426b565b935061377781856020860161445a565b61378081614654565b840191505092915050565b600061379682614244565b6137a0818561427c565b93506137b081856020860161445a565b80840191505092915050565b600081546137c98161448d565b6137d3818661427c565b945060018216600081146137ee57600181146137ff57613832565b60ff19831686528186019350613832565b61380885614224565b60005b8381101561382a5781548189015260018201915060208101905061380b565b838801955050505b50505092915050565b6000613848602b8361426b565b915061385382614672565b604082019050919050565b600061386b60328361426b565b9150613876826146c1565b604082019050919050565b600061388e60268361426b565b915061389982614710565b604082019050919050565b60006138b1601c8361426b565b91506138bc8261475f565b602082019050919050565b60006138d4601c8361426b565b91506138df82614788565b602082019050919050565b60006138f760028361427c565b9150613902826147b1565b600282019050919050565b600061391a60118361426b565b9150613925826147da565b602082019050919050565b600061393d60248361426b565b915061394882614803565b604082019050919050565b600061396060198361426b565b915061396b82614852565b602082019050919050565b6000613983602c8361426b565b915061398e8261487b565b604082019050919050565b60006139a6600f8361426b565b91506139b1826148ca565b602082019050919050565b60006139c960258361426b565b91506139d4826148f3565b604082019050919050565b60006139ec60388361426b565b91506139f782614942565b604082019050919050565b6000613a0f602a8361426b565b9150613a1a82614991565b604082019050919050565b6000613a3260298361426b565b9150613a3d826149e0565b604082019050919050565b6000613a5560098361426b565b9150613a6082614a2f565b602082019050919050565b6000613a7860208361426b565b9150613a8382614a58565b602082019050919050565b6000613a9b602c8361426b565b9150613aa682614a81565b604082019050919050565b6000613abe60208361426b565b9150613ac982614ad0565b602082019050919050565b6000613ae160298361426b565b9150613aec82614af9565b604082019050919050565b6000613b0460218361426b565b9150613b0f82614b48565b604082019050919050565b6000613b2760218361426b565b9150613b3282614b97565b604082019050919050565b6000613b4a60118361426b565b9150613b5582614be6565b602082019050919050565b6000613b6d600083614260565b9150613b7882614c0f565b600082019050919050565b6000613b9060318361426b565b9150613b9b82614c12565b604082019050919050565b6000613bb360128361426b565b9150613bbe82614c61565b602082019050919050565b6000613bd6602c8361426b565b9150613be182614c8a565b604082019050919050565b613bf581614434565b82525050565b613c048161443e565b82525050565b6000613c168284613721565b915081905092915050565b6000613c2d8285613721565b9150613c39828461369c565b6014820191508190509392505050565b6000613c5582856137bc565b9150613c61828461378b565b91508190509392505050565b6000613c78826138ea565b9150613c8482856136d1565b602082019150613c9482846136d1565b6020820191508190509392505050565b6000613caf82613b60565b9150819050919050565b6000602082019050613cce600083018461368d565b92915050565b6000606082019050613ce9600083018661368d565b613cf6602083018561367e565b8181036040830152613d0881846136e8565b9050949350505050565b6000608082019050613d27600083018761368d565b613d34602083018661368d565b613d416040830185613bec565b8181036060830152613d5381846136e8565b905095945050505050565b6000602082019050613d7360008301846136b3565b92915050565b6000602082019050613d8e60008301846136c2565b92915050565b6000608082019050613da960008301876136c2565b613db66020830186613bec565b613dc3604083018561368d565b613dd060608301846136c2565b95945050505050565b6000608082019050613dee60008301876136c2565b613dfb6020830186613bfb565b613e0860408301856136c2565b613e1560608301846136c2565b95945050505050565b60006020820190508181036000830152613e3881846136e8565b905092915050565b60006020820190508181036000830152613e5a8184613752565b905092915050565b60006020820190508181036000830152613e7b8161383b565b9050919050565b60006020820190508181036000830152613e9b8161385e565b9050919050565b60006020820190508181036000830152613ebb81613881565b9050919050565b60006020820190508181036000830152613edb816138a4565b9050919050565b60006020820190508181036000830152613efb816138c7565b9050919050565b60006020820190508181036000830152613f1b8161390d565b9050919050565b60006020820190508181036000830152613f3b81613930565b9050919050565b60006020820190508181036000830152613f5b81613953565b9050919050565b60006020820190508181036000830152613f7b81613976565b9050919050565b60006020820190508181036000830152613f9b81613999565b9050919050565b60006020820190508181036000830152613fbb816139bc565b9050919050565b60006020820190508181036000830152613fdb816139df565b9050919050565b60006020820190508181036000830152613ffb81613a02565b9050919050565b6000602082019050818103600083015261401b81613a25565b9050919050565b6000602082019050818103600083015261403b81613a48565b9050919050565b6000602082019050818103600083015261405b81613a6b565b9050919050565b6000602082019050818103600083015261407b81613a8e565b9050919050565b6000602082019050818103600083015261409b81613ab1565b9050919050565b600060208201905081810360008301526140bb81613ad4565b9050919050565b600060208201905081810360008301526140db81613af7565b9050919050565b600060208201905081810360008301526140fb81613b1a565b9050919050565b6000602082019050818103600083015261411b81613b3d565b9050919050565b6000602082019050818103600083015261413b81613b83565b9050919050565b6000602082019050818103600083015261415b81613ba6565b9050919050565b6000602082019050818103600083015261417b81613bc9565b9050919050565b60006020820190506141976000830184613bec565b92915050565b60006141a76141b8565b90506141b382826144bf565b919050565b6000604051905090565b600067ffffffffffffffff8211156141dd576141dc614625565b5b6141e682614654565b9050602081019050919050565b600067ffffffffffffffff82111561420e5761420d614625565b5b61421782614654565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061429282614434565b915061429d83614434565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142d2576142d1614598565b5b828201905092915050565b60006142e882614434565b91506142f383614434565b925082614303576143026145c7565b5b828204905092915050565b600061431982614434565b915061432483614434565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561435d5761435c614598565b5b828202905092915050565b600061437382614434565b915061437e83614434565b92508282101561439157614390614598565b5b828203905092915050565b60006143a782614414565b9050919050565b60006143b982614414565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061440d8261439c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561447857808201518184015260208101905061445d565b83811115614487576000848401525b50505050565b600060028204905060018216806144a557607f821691505b602082108114156144b9576144b86145f6565b5b50919050565b6144c882614654565b810181811067ffffffffffffffff821117156144e7576144e6614625565b5b80604052505050565b60006144fb82614434565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561452e5761452d614598565b5b600182019050919050565b600061454482614555565b9050919050565b6000819050919050565b600061456082614665565b9050919050565b600061457282614434565b915061457d83614434565b92508261458d5761458c6145c7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d6178206d696e74206578636565646564000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5478206661696c65640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4574682076616c20696e636f7272656374000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b614ce28161439c565b8114614ced57600080fd5b50565b614cf9816143c0565b8114614d0457600080fd5b50565b614d10816143cc565b8114614d1b57600080fd5b50565b614d27816143d6565b8114614d3257600080fd5b50565b614d3e81614402565b8114614d4957600080fd5b50565b614d5581614434565b8114614d6057600080fd5b50565b614d6c8161443e565b8114614d7757600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f7777772e677261696c6572732e696f2f6170692f636f6e74726163742f31a2646970667358221220ff8b25644078b82bf3d5df1b2452dcadb2a943eedb1ee5c1d441bb7c29bbc68764736f6c6343000802003368747470733a2f2f7777772e677261696c6572732e696f2f6170692f6d6574612f312f454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000096ef223e40167d26e809c2b2089e54af01ef3ef90000000000000000000000000000000000000000000000000000000000000007477261696c657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000347524c0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80636352211e1161012e578063c1fad42c116100ab578063e8a3d4851161006f578063e8a3d4851461086a578063e985e9c514610895578063eb8d2444146108d2578063efd0cbf9146108fd578063f2fde38b146109195761023b565b8063c1fad42c14610795578063c87b56dd146107c0578063ce03ec93146107fd578063d5abeb0114610814578063e6a5931e1461083f5761023b565b80638da5cb5b116100f25780638da5cb5b146106c457806395d89b41146106ef5780639a3cac6a1461071a578063a22cb46514610743578063b88d4fde1461076c5761023b565b80636352211e146105df578063674d13c81461061c57806370a0823114610647578063715018a6146106845780638b11c97b1461069b5761023b565b80632131c68c116101bc57806330176e131161018057806330176e131461050e5780633408e470146105375780633ccfd60b1461056257806342842e0e146105795780634f6ccce7146105a25761023b565b80632131c68c1461041557806323b872dd1461044057806326a74d8e146104695780632d0335ab146104945780632f745c59146104d15761023b565b80630f7e5970116102035780630f7e59701461033e578063138a4e011461036957806318160ddd146103945780631efba6c2146103bf57806320379ee5146103ea5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55780630c53c51c1461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613599565b610942565b6040516102749190613d5e565b60405180910390f35b34801561028957600080fd5b506102926109bc565b60405161029f9190613e40565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca9190613655565b610a4e565b6040516102dc9190613cb9565b60405180910390f35b3480156102f157600080fd5b5061030c6004803603810190610307919061355d565b610ad3565b005b610328600480360381019061032391906134ce565b610beb565b6040516103359190613e1e565b60405180910390f35b34801561034a57600080fd5b50610353610e5d565b6040516103609190613e40565b60405180910390f35b34801561037557600080fd5b5061037e610e96565b60405161038b9190614182565b60405180910390f35b3480156103a057600080fd5b506103a9610e9c565b6040516103b69190614182565b60405180910390f35b3480156103cb57600080fd5b506103d4610ea9565b6040516103e19190614182565b60405180910390f35b3480156103f657600080fd5b506103ff610eaf565b60405161040c9190613d79565b60405180910390f35b34801561042157600080fd5b5061042a610eb9565b6040516104379190613cb9565b60405180910390f35b34801561044c57600080fd5b50610467600480360381019061046291906133c8565b610edf565b005b34801561047557600080fd5b5061047e610f3f565b60405161048b9190614182565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b69190613363565b610f45565b6040516104c89190614182565b60405180910390f35b3480156104dd57600080fd5b506104f860048036038101906104f3919061355d565b610f8e565b6040516105059190614182565b60405180910390f35b34801561051a57600080fd5b5061053560048036038101906105309190613614565b611033565b005b34801561054357600080fd5b5061054c6110c9565b6040516105599190614182565b60405180910390f35b34801561056e57600080fd5b506105776110d6565b005b34801561058557600080fd5b506105a0600480360381019061059b91906133c8565b611193565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190613655565b6111b3565b6040516105d69190614182565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190613655565b61124a565b6040516106139190613cb9565b60405180910390f35b34801561062857600080fd5b506106316112fc565b60405161063e9190614182565b60405180910390f35b34801561065357600080fd5b5061066e60048036038101906106699190613363565b611302565b60405161067b9190614182565b60405180910390f35b34801561069057600080fd5b506106996113ba565b005b3480156106a757600080fd5b506106c260048036038101906106bd9190613363565b611442565b005b3480156106d057600080fd5b506106d96114fe565b6040516106e69190613cb9565b60405180910390f35b3480156106fb57600080fd5b50610704611528565b6040516107119190613e40565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190613363565b6115ba565b005b34801561074f57600080fd5b5061076a60048036038101906107659190613492565b61167a565b005b34801561077857600080fd5b50610793600480360381019061078e9190613417565b6117fb565b005b3480156107a157600080fd5b506107aa61185d565b6040516107b79190614182565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e29190613655565b611863565b6040516107f49190613e40565b60405180910390f35b34801561080957600080fd5b50610812611897565b005b34801561082057600080fd5b5061082961193f565b6040516108369190614182565b60405180910390f35b34801561084b57600080fd5b50610854611945565b6040516108619190614182565b60405180910390f35b34801561087657600080fd5b5061087f61194b565b60405161088c9190613e40565b60405180910390f35b3480156108a157600080fd5b506108bc60048036038101906108b7919061338c565b61196b565b6040516108c99190613d5e565b60405180910390f35b3480156108de57600080fd5b506108e7611a6d565b6040516108f49190613d5e565b60405180910390f35b61091760048036038101906109129190613655565b611a80565b005b34801561092557600080fd5b50610940600480360381019061093b9190613363565b611c08565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b557506109b482611db1565b5b9050919050565b6060600080546109cb9061448d565b80601f01602080910402602001604051908101604052809291908181526020018280546109f79061448d565b8015610a445780601f10610a1957610100808354040283529160200191610a44565b820191906000526020600020905b815481529060010190602001808311610a2757829003601f168201915b5050505050905090565b6000610a5982611e93565b610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f90614062565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ade8261124a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b46906140e2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6e611eff565b73ffffffffffffffffffffffffffffffffffffffff161480610b9d5750610b9c81610b97611eff565b61196b565b5b610bdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd390613fc2565b60405180910390fd5b610be68383611f0e565b505050565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610c6e8782878787611fc7565b610cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca4906140c2565b60405180910390fd5b610d006001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120d090919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610d7693929190613cd4565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610dab929190613c21565b604051602081830303815290604052604051610dc79190613c0a565b6000604051808303816000865af19150503d8060008114610e04576040519150601f19603f3d011682016040523d82523d6000602084013e610e09565b606091505b509150915081610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4590613ec2565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b600f5481565b6000600880549050905090565b60155481565b6000600b54905090565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ef0610eea611eff565b826120e6565b610f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2690614122565b60405180910390fd5b610f3a8383836121c4565b505050565b60115481565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610f9983611302565b8210610fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd190613e62565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61103b611eff565b73ffffffffffffffffffffffffffffffffffffffff166110596114fe565b73ffffffffffffffffffffffffffffffffffffffff16146110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a690614082565b60405180910390fd5b80601790805190602001906110c5929190613148565b5050565b6000804690508091505090565b6110de611eff565b73ffffffffffffffffffffffffffffffffffffffff166110fc6114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114990614082565b60405180910390fd5b60004790506000811161116457600080fd5b611190601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612420565b50565b6111ae838383604051806020016040528060008152506117fb565b505050565b60006111bd610e9c565b82106111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590614162565b60405180910390fd5b60088281548110611238577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ea90614002565b60405180910390fd5b80915050919050565b60145481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136a90613fe2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113c2611eff565b73ffffffffffffffffffffffffffffffffffffffff166113e06114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d90614082565b60405180910390fd5b61144060006124d1565b565b61144a611eff565b73ffffffffffffffffffffffffffffffffffffffff166114686114fe565b73ffffffffffffffffffffffffffffffffffffffff16146114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590614082565b60405180910390fd5b6114e38160016014546011546114d49190614287565b6114de9190614287565b612597565b601460008154809291906114f6906144f0565b919050555050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115379061448d565b80601f01602080910402602001604051908101604052809291908181526020018280546115639061448d565b80156115b05780601f10611585576101008083540402835291602001916115b0565b820191906000526020600020905b81548152906001019060200180831161159357829003601f168201915b5050505050905090565b6115c2611eff565b73ffffffffffffffffffffffffffffffffffffffff166115e06114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162d90614082565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611682611eff565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e790613f42565b60405180910390fd5b80600560006116fd611eff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117aa611eff565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117ef9190613d5e565b60405180910390a35050565b61180c611806611eff565b836120e6565b61184b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184290614122565b60405180910390fd5b61185784848484612765565b50505050565b60125481565b60606017611870836127c1565b604051602001611881929190613c49565b6040516020818303038152906040529050919050565b61189f611eff565b73ffffffffffffffffffffffffffffffffffffffff166118bd6114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190a90614082565b60405180910390fd5b600e60149054906101000a900460ff1615600e60146101000a81548160ff021916908315150217905550565b60105481565b60135481565b6060604051806060016040528060268152602001614dbe60269139905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016119e39190613cb9565b60206040518083038186803b1580156119fb57600080fd5b505afa158015611a0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3391906135eb565b73ffffffffffffffffffffffffffffffffffffffff161415611a59576001915050611a67565b611a63848461296e565b9150505b92915050565b600e60149054906101000a900460ff1681565b600e60149054906101000a900460ff16611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac690613f82565b60405180910390fd5b600f54811115611b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0b90613f02565b60405180910390fd5b60115481601354611b259190614287565b1115611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90614142565b60405180910390fd5b3481601554611b75919061430e565b1115611bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bad90614102565b60405180910390fd5b60005b81811015611c0457611bd9336001601354611bd49190614287565b612597565b60136000815480929190611bec906144f0565b91905055508080611bfc906144f0565b915050611bb9565b5050565b611c10611eff565b73ffffffffffffffffffffffffffffffffffffffff16611c2e6114fe565b73ffffffffffffffffffffffffffffffffffffffff1614611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b90614082565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613ea2565b60405180910390fd5b611cfd816124d1565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611daa57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050611dae565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e7c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e8c5750611e8b82612a02565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000611f09611d00565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f818361124a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202f90613fa2565b60405180910390fd5b600161204b61204687612a6c565b612ad4565b8386866040516000815260200160405260405161206b9493929190613dd9565b6020604051602081039080840390855afa15801561208d573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b600081836120de9190614287565b905092915050565b60006120f182611e93565b612130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212790613f62565b60405180910390fd5b600061213b8361124a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121aa57508373ffffffffffffffffffffffffffffffffffffffff1661219284610a4e565b73ffffffffffffffffffffffffffffffffffffffff16145b806121bb57506121ba818561196b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121e48261124a565b73ffffffffffffffffffffffffffffffffffffffff161461223a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612231906140a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a190613f22565b60405180910390fd5b6122b5838383612b0d565b6122c0600082611f0e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123109190614368565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123679190614287565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff168260405161244690613ca4565b60006040518083038185875af1925050503d8060008114612483576040519150601f19603f3d011682016040523d82523d6000602084013e612488565b606091505b50509050806124cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c390614022565b60405180910390fd5b505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe90614042565b60405180910390fd5b61261081611e93565b15612650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264790613ee2565b60405180910390fd5b61265c60008383612b0d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126ac9190614287565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6127708484846121c4565b61277c84848484612c21565b6127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b290613e82565b60405180910390fd5b50505050565b60606000821415612809576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612969565b600082905060005b6000821461283b578080612824906144f0565b915050600a8261283491906142dd565b9150612811565b60008167ffffffffffffffff81111561287d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128af5781602001600182028036833780820191505090505b5090505b60008514612962576001826128c89190614368565b9150600a856128d79190614567565b60306128e39190614287565b60f81b81838151811061291f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561295b91906142dd565b94506128b3565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051806080016040528060438152602001614d7b604391398051906020012082600001518360200151846040015180519060200120604051602001612ab79493929190613d94565b604051602081830303815290604052805190602001209050919050565b6000612ade610eaf565b82604051602001612af0929190613c6d565b604051602081830303815290604052805190602001209050919050565b612b18838383612db8565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b5b57612b5681612dbd565b612b9a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b9957612b988382612e06565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bdd57612bd881612f73565b612c1c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c1b57612c1a82826130b6565b5b5b505050565b6000612c428473ffffffffffffffffffffffffffffffffffffffff16613135565b15612dab578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c6b611eff565b8786866040518563ffffffff1660e01b8152600401612c8d9493929190613d12565b602060405180830381600087803b158015612ca757600080fd5b505af1925050508015612cd857506040513d601f19601f82011682018060405250810190612cd591906135c2565b60015b612d5b573d8060008114612d08576040519150601f19603f3d011682016040523d82523d6000602084013e612d0d565b606091505b50600081511415612d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4a90613e82565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612db0565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e1384611302565b612e1d9190614368565b9050600060076000848152602001908152602001600020549050818114612f02576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f879190614368565b9050600060096000848152602001908152602001600020549050600060088381548110612fdd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613025577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061309a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130c183611302565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546131549061448d565b90600052602060002090601f01602090048101928261317657600085556131bd565b82601f1061318f57805160ff19168380011785556131bd565b828001600101855582156131bd579182015b828111156131bc5782518255916020019190600101906131a1565b5b5090506131ca91906131ce565b5090565b5b808211156131e75760008160009055506001016131cf565b5090565b60006131fe6131f9846141c2565b61419d565b90508281526020810184848401111561321657600080fd5b61322184828561444b565b509392505050565b600061323c613237846141f3565b61419d565b90508281526020810184848401111561325457600080fd5b61325f84828561444b565b509392505050565b60008135905061327681614cd9565b92915050565b60008135905061328b81614cf0565b92915050565b6000813590506132a081614d07565b92915050565b6000813590506132b581614d1e565b92915050565b6000815190506132ca81614d1e565b92915050565b600082601f8301126132e157600080fd5b81356132f18482602086016131eb565b91505092915050565b60008151905061330981614d35565b92915050565b600082601f83011261332057600080fd5b8135613330848260208601613229565b91505092915050565b60008135905061334881614d4c565b92915050565b60008135905061335d81614d63565b92915050565b60006020828403121561337557600080fd5b600061338384828501613267565b91505092915050565b6000806040838503121561339f57600080fd5b60006133ad85828601613267565b92505060206133be85828601613267565b9150509250929050565b6000806000606084860312156133dd57600080fd5b60006133eb86828701613267565b93505060206133fc86828701613267565b925050604061340d86828701613339565b9150509250925092565b6000806000806080858703121561342d57600080fd5b600061343b87828801613267565b945050602061344c87828801613267565b935050604061345d87828801613339565b925050606085013567ffffffffffffffff81111561347a57600080fd5b613486878288016132d0565b91505092959194509250565b600080604083850312156134a557600080fd5b60006134b385828601613267565b92505060206134c48582860161327c565b9150509250929050565b600080600080600060a086880312156134e657600080fd5b60006134f488828901613267565b955050602086013567ffffffffffffffff81111561351157600080fd5b61351d888289016132d0565b945050604061352e88828901613291565b935050606061353f88828901613291565b92505060806135508882890161334e565b9150509295509295909350565b6000806040838503121561357057600080fd5b600061357e85828601613267565b925050602061358f85828601613339565b9150509250929050565b6000602082840312156135ab57600080fd5b60006135b9848285016132a6565b91505092915050565b6000602082840312156135d457600080fd5b60006135e2848285016132bb565b91505092915050565b6000602082840312156135fd57600080fd5b600061360b848285016132fa565b91505092915050565b60006020828403121561362657600080fd5b600082013567ffffffffffffffff81111561364057600080fd5b61364c8482850161330f565b91505092915050565b60006020828403121561366757600080fd5b600061367584828501613339565b91505092915050565b613687816143ae565b82525050565b6136968161439c565b82525050565b6136ad6136a88261439c565b614539565b82525050565b6136bc816143c0565b82525050565b6136cb816143cc565b82525050565b6136e26136dd826143cc565b61454b565b82525050565b60006136f382614239565b6136fd818561424f565b935061370d81856020860161445a565b61371681614654565b840191505092915050565b600061372c82614239565b6137368185614260565b935061374681856020860161445a565b80840191505092915050565b600061375d82614244565b613767818561426b565b935061377781856020860161445a565b61378081614654565b840191505092915050565b600061379682614244565b6137a0818561427c565b93506137b081856020860161445a565b80840191505092915050565b600081546137c98161448d565b6137d3818661427c565b945060018216600081146137ee57600181146137ff57613832565b60ff19831686528186019350613832565b61380885614224565b60005b8381101561382a5781548189015260018201915060208101905061380b565b838801955050505b50505092915050565b6000613848602b8361426b565b915061385382614672565b604082019050919050565b600061386b60328361426b565b9150613876826146c1565b604082019050919050565b600061388e60268361426b565b915061389982614710565b604082019050919050565b60006138b1601c8361426b565b91506138bc8261475f565b602082019050919050565b60006138d4601c8361426b565b91506138df82614788565b602082019050919050565b60006138f760028361427c565b9150613902826147b1565b600282019050919050565b600061391a60118361426b565b9150613925826147da565b602082019050919050565b600061393d60248361426b565b915061394882614803565b604082019050919050565b600061396060198361426b565b915061396b82614852565b602082019050919050565b6000613983602c8361426b565b915061398e8261487b565b604082019050919050565b60006139a6600f8361426b565b91506139b1826148ca565b602082019050919050565b60006139c960258361426b565b91506139d4826148f3565b604082019050919050565b60006139ec60388361426b565b91506139f782614942565b604082019050919050565b6000613a0f602a8361426b565b9150613a1a82614991565b604082019050919050565b6000613a3260298361426b565b9150613a3d826149e0565b604082019050919050565b6000613a5560098361426b565b9150613a6082614a2f565b602082019050919050565b6000613a7860208361426b565b9150613a8382614a58565b602082019050919050565b6000613a9b602c8361426b565b9150613aa682614a81565b604082019050919050565b6000613abe60208361426b565b9150613ac982614ad0565b602082019050919050565b6000613ae160298361426b565b9150613aec82614af9565b604082019050919050565b6000613b0460218361426b565b9150613b0f82614b48565b604082019050919050565b6000613b2760218361426b565b9150613b3282614b97565b604082019050919050565b6000613b4a60118361426b565b9150613b5582614be6565b602082019050919050565b6000613b6d600083614260565b9150613b7882614c0f565b600082019050919050565b6000613b9060318361426b565b9150613b9b82614c12565b604082019050919050565b6000613bb360128361426b565b9150613bbe82614c61565b602082019050919050565b6000613bd6602c8361426b565b9150613be182614c8a565b604082019050919050565b613bf581614434565b82525050565b613c048161443e565b82525050565b6000613c168284613721565b915081905092915050565b6000613c2d8285613721565b9150613c39828461369c565b6014820191508190509392505050565b6000613c5582856137bc565b9150613c61828461378b565b91508190509392505050565b6000613c78826138ea565b9150613c8482856136d1565b602082019150613c9482846136d1565b6020820191508190509392505050565b6000613caf82613b60565b9150819050919050565b6000602082019050613cce600083018461368d565b92915050565b6000606082019050613ce9600083018661368d565b613cf6602083018561367e565b8181036040830152613d0881846136e8565b9050949350505050565b6000608082019050613d27600083018761368d565b613d34602083018661368d565b613d416040830185613bec565b8181036060830152613d5381846136e8565b905095945050505050565b6000602082019050613d7360008301846136b3565b92915050565b6000602082019050613d8e60008301846136c2565b92915050565b6000608082019050613da960008301876136c2565b613db66020830186613bec565b613dc3604083018561368d565b613dd060608301846136c2565b95945050505050565b6000608082019050613dee60008301876136c2565b613dfb6020830186613bfb565b613e0860408301856136c2565b613e1560608301846136c2565b95945050505050565b60006020820190508181036000830152613e3881846136e8565b905092915050565b60006020820190508181036000830152613e5a8184613752565b905092915050565b60006020820190508181036000830152613e7b8161383b565b9050919050565b60006020820190508181036000830152613e9b8161385e565b9050919050565b60006020820190508181036000830152613ebb81613881565b9050919050565b60006020820190508181036000830152613edb816138a4565b9050919050565b60006020820190508181036000830152613efb816138c7565b9050919050565b60006020820190508181036000830152613f1b8161390d565b9050919050565b60006020820190508181036000830152613f3b81613930565b9050919050565b60006020820190508181036000830152613f5b81613953565b9050919050565b60006020820190508181036000830152613f7b81613976565b9050919050565b60006020820190508181036000830152613f9b81613999565b9050919050565b60006020820190508181036000830152613fbb816139bc565b9050919050565b60006020820190508181036000830152613fdb816139df565b9050919050565b60006020820190508181036000830152613ffb81613a02565b9050919050565b6000602082019050818103600083015261401b81613a25565b9050919050565b6000602082019050818103600083015261403b81613a48565b9050919050565b6000602082019050818103600083015261405b81613a6b565b9050919050565b6000602082019050818103600083015261407b81613a8e565b9050919050565b6000602082019050818103600083015261409b81613ab1565b9050919050565b600060208201905081810360008301526140bb81613ad4565b9050919050565b600060208201905081810360008301526140db81613af7565b9050919050565b600060208201905081810360008301526140fb81613b1a565b9050919050565b6000602082019050818103600083015261411b81613b3d565b9050919050565b6000602082019050818103600083015261413b81613b83565b9050919050565b6000602082019050818103600083015261415b81613ba6565b9050919050565b6000602082019050818103600083015261417b81613bc9565b9050919050565b60006020820190506141976000830184613bec565b92915050565b60006141a76141b8565b90506141b382826144bf565b919050565b6000604051905090565b600067ffffffffffffffff8211156141dd576141dc614625565b5b6141e682614654565b9050602081019050919050565b600067ffffffffffffffff82111561420e5761420d614625565b5b61421782614654565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061429282614434565b915061429d83614434565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142d2576142d1614598565b5b828201905092915050565b60006142e882614434565b91506142f383614434565b925082614303576143026145c7565b5b828204905092915050565b600061431982614434565b915061432483614434565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561435d5761435c614598565b5b828202905092915050565b600061437382614434565b915061437e83614434565b92508282101561439157614390614598565b5b828203905092915050565b60006143a782614414565b9050919050565b60006143b982614414565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061440d8261439c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561447857808201518184015260208101905061445d565b83811115614487576000848401525b50505050565b600060028204905060018216806144a557607f821691505b602082108114156144b9576144b86145f6565b5b50919050565b6144c882614654565b810181811067ffffffffffffffff821117156144e7576144e6614625565b5b80604052505050565b60006144fb82614434565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561452e5761452d614598565b5b600182019050919050565b600061454482614555565b9050919050565b6000819050919050565b600061456082614665565b9050919050565b600061457282614434565b915061457d83614434565b92508261458d5761458c6145c7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d6178206d696e74206578636565646564000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5478206661696c65640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4574682076616c20696e636f7272656374000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b614ce28161439c565b8114614ced57600080fd5b50565b614cf9816143c0565b8114614d0457600080fd5b50565b614d10816143cc565b8114614d1b57600080fd5b50565b614d27816143d6565b8114614d3257600080fd5b50565b614d3e81614402565b8114614d4957600080fd5b50565b614d5581614434565b8114614d6057600080fd5b50565b614d6c8161443e565b8114614d7757600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f7777772e677261696c6572732e696f2f6170692f636f6e74726163742f31a2646970667358221220ff8b25644078b82bf3d5df1b2452dcadb2a943eedb1ee5c1d441bb7c29bbc68764736f6c63430008020033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000096ef223e40167d26e809c2b2089e54af01ef3ef90000000000000000000000000000000000000000000000000000000000000007477261696c657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000347524c0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Grailer
Arg [1] : _symbol (string): GRL
Arg [2] : _proxyRegistryAddress (address): 0x96ef223e40167D26e809C2b2089E54Af01EF3Ef9

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000096ef223e40167d26e809c2b2089e54af01ef3ef9
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 477261696c657200000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 47524c0000000000000000000000000000000000000000000000000000000000


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.