ETH Price: $3,604.35 (+4.40%)
 

Overview

Max Total Supply

44 BFT

Holders

28

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
*māui.eth
Balance
6 BFT
0xcb58b8eb13ab3127f44c94c87a870944350b9ef0
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
BigFanMinter

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

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

import "../contracts/OpenZeppelin/contracts/token/ERC721/ERC721.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "../contracts/OpenZeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "../contracts/OpenZeppelin/contracts/access/AccessControl.sol";

contract BigFanMinter is ERC721Enumerable, ERC721URIStorage, AccessControl {

    bytes32 public constant WITHDRAW_ROLE = keccak256("WITHDRAW_ROLE");

    constructor() ERC721("BIG FAN GENESIS COLLECTION", "BFT") {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    bool public saleStarted = true;

    mapping(string => TokenUri) public approvedUris;

    mapping (string => Drop) public drops;

    struct TokenUri{
        bool approved;
        bool minted;
    }

    struct Drop {
        uint256 token_price;
        bool active;
    }

    modifier isApprovedTokenURI(string memory _tokenURI) {
        require(approvedUris[_tokenURI].approved == true, "The token is not approved");
        require(approvedUris[_tokenURI].minted == false, "The token has been minted");
        _;
    }

    function mint(address _buyer, string memory _tokenURI, string memory drop) public payable isApprovedTokenURI(_tokenURI) returns (uint256)
    {
        require(drops[drop].active == true, "The drop is not active or does not exist");
        require(drops[drop].token_price == msg.value, "The price is incorrect");
        require(saleStarted == true, "The sale is paused");

        uint256 newItemId = totalSupply() + 1;

        _safeMint(_buyer, newItemId);
        _setTokenURI(newItemId, _tokenURI);

        approvedUris[_tokenURI].minted = true;

        emit PermanentURI(_tokenURI, newItemId);

        emit TokenMinted(newItemId);

        return newItemId;
    }

    function burn(uint256 _tokenId) public onlyRole(DEFAULT_ADMIN_ROLE) returns (bool)
    {
        _burn(_tokenId);
        return true;
    }

    function approveTokenURI(string memory _tokenURI) public onlyRole(DEFAULT_ADMIN_ROLE)  returns(bool success) {
        approvedUris[_tokenURI].approved = true;
        approvedUris[_tokenURI].minted = false;
        return true;
    }

    function startDrop(string memory name, uint256 price) public onlyRole(DEFAULT_ADMIN_ROLE) returns(bool success) {
        drops[name].active = true;
        drops[name].token_price = price;
        return true;
    }

    function pauseDrop(string memory name) public onlyRole(DEFAULT_ADMIN_ROLE) returns(bool success) {
        drops[name].active = false;
        return true;
    }

    function startSale() public onlyRole(DEFAULT_ADMIN_ROLE) {
        saleStarted = true;
    }

    function pauseSale() public onlyRole(DEFAULT_ADMIN_ROLE) {
        saleStarted = false;
    }

    function withdraw() public payable onlyRole(WITHDRAW_ROLE) {
        require(payable(msg.sender).send(address(this).balance));
    }

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

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

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

    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
       return super.tokenURI(tokenId);
    }

    event PermanentURI(string _value, uint256 indexed _id);

    event TokenMinted(uint256 tokenId);

}

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 12 of 14 : 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 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenMinted","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAW_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"string","name":"_tokenURI","type":"string"}],"name":"approveTokenURI","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"approvedUris","outputs":[{"internalType":"bool","name":"approved","type":"bool"},{"internalType":"bool","name":"minted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"drops","outputs":[{"internalType":"uint256","name":"token_price","type":"uint256"},{"internalType":"bool","name":"active","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"_buyer","type":"address"},{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"string","name":"drop","type":"string"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"name","type":"string"}],"name":"pauseDrop","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"saleStarted","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":"name","type":"string"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"startDrop","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526001600c60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040518060400160405280601a81526020017f4249472046414e2047454e4553495320434f4c4c454354494f4e0000000000008152506040518060400160405280600381526020017f42465400000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000b192919062000263565b508060019080519060200190620000ca92919062000263565b505050620000e26000801b33620000e860201b60201c565b62000378565b620000fa8282620000fe60201b60201c565b5050565b620001108282620001f060201b60201c565b620001ec576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001916200025b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b828054620002719062000313565b90600052602060002090601f016020900481019282620002955760008555620002e1565b82601f10620002b057805160ff1916838001178555620002e1565b82800160010185558215620002e1579182015b82811115620002e0578251825591602001919060010190620002c3565b5b509050620002f09190620002f4565b5090565b5b808211156200030f576000816000905550600101620002f5565b5090565b600060028204905060018216806200032c57607f821691505b6020821081141562000343576200034262000349565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614d8980620003886000396000f3fe6080604052600436106101f95760003560e01c80635c474f9e1161010d578063a22cb465116100a0578063ce4a25491161006f578063ce4a254914610776578063d547741f146107b4578063e02023a1146107dd578063e985e9c514610808578063f38c798a14610845576101f9565b8063a22cb465146106d0578063b66a0e5d146106f9578063b88d4fde14610710578063c87b56dd14610739576101f9565b806391d14854116100dc57806391d148541461060d57806395d89b411461064a5780639907119014610675578063a217fddf146106a5576101f9565b80635c474f9e1461052a5780636352211e1461055557806370a082311461059257806373b96e2c146105cf576101f9565b80632f2ff15d1161019057806342842e0e1161015f57806342842e0e1461043357806342966c681461045c5780634f6ccce71461049957806355367ba9146104d65780635860f632146104ed576101f9565b80632f2ff15d1461039a5780632f745c59146103c357806336568abe146104005780633ccfd60b14610429576101f9565b806318160ddd116101cc57806318160ddd146102cc57806320d307ab146102f757806323b872dd14610334578063248a9ca31461035d576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b50610225600480360381019061022091906136a5565b610882565b6040516102329190613d3d565b60405180910390f35b34801561024757600080fd5b50610250610894565b60405161025d9190613d9c565b60405180910390f35b34801561027257600080fd5b5061028d600480360381019061028891906137a4565b610926565b60405161029a9190613cd6565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c591906135f8565b6109ab565b005b3480156102d857600080fd5b506102e1610ac3565b6040516102ee91906140de565b60405180910390f35b34801561030357600080fd5b5061031e600480360381019061031991906136ff565b610ad0565b60405161032b9190613d3d565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613457565b610b65565b005b34801561036957600080fd5b50610384600480360381019061037f9190613638565b610bc5565b6040516103919190613d81565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc9190613665565b610be5565b005b3480156103cf57600080fd5b506103ea60048036038101906103e591906135f8565b610c0e565b6040516103f791906140de565b60405180910390f35b34801561040c57600080fd5b5061042760048036038101906104229190613665565b610cb3565b005b610431610d36565b005b34801561043f57600080fd5b5061045a60048036038101906104559190613457565b610da9565b005b34801561046857600080fd5b50610483600480360381019061047e91906137a4565b610dc9565b6040516104909190613d3d565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb91906137a4565b610df3565b6040516104cd91906140de565b60405180910390f35b3480156104e257600080fd5b506104eb610e64565b005b3480156104f957600080fd5b50610514600480360381019061050f9190613748565b610e97565b6040516105219190613d3d565b60405180910390f35b34801561053657600080fd5b5061053f610f19565b60405161054c9190613d3d565b60405180910390f35b34801561056157600080fd5b5061057c600480360381019061057791906137a4565b610f2c565b6040516105899190613cd6565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906133ea565b610fde565b6040516105c691906140de565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f191906136ff565b611096565b6040516106049291906140f9565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f9190613665565b6110dd565b6040516106419190613d3d565b60405180910390f35b34801561065657600080fd5b5061065f611148565b60405161066c9190613d9c565b60405180910390f35b61068f600480360381019061068a919061356d565b6111da565b60405161069c91906140de565b60405180910390f35b3480156106b157600080fd5b506106ba6114d6565b6040516106c79190613d81565b60405180910390f35b3480156106dc57600080fd5b506106f760048036038101906106f2919061352d565b6114dd565b005b34801561070557600080fd5b5061070e61165e565b005b34801561071c57600080fd5b50610737600480360381019061073291906134aa565b611691565b005b34801561074557600080fd5b50610760600480360381019061075b91906137a4565b6116f3565b60405161076d9190613d9c565b60405180910390f35b34801561078257600080fd5b5061079d600480360381019061079891906136ff565b611705565b6040516107ab929190613d58565b60405180910390f35b3480156107c057600080fd5b506107db60048036038101906107d69190613665565b611759565b005b3480156107e957600080fd5b506107f2611782565b6040516107ff9190613d81565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a9190613417565b6117a6565b60405161083c9190613d3d565b60405180910390f35b34801561085157600080fd5b5061086c600480360381019061086791906136ff565b61183a565b6040516108799190613d3d565b60405180910390f35b600061088d82611895565b9050919050565b6060600080546108a3906143eb565b80601f01602080910402602001604051908101604052809291908181526020018280546108cf906143eb565b801561091c5780601f106108f15761010080835404028352916020019161091c565b820191906000526020600020905b8154815290600101906020018083116108ff57829003601f168201915b5050505050905090565b60006109318261190f565b610970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096790613f9e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b682610f2c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90613ffe565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a4661197b565b73ffffffffffffffffffffffffffffffffffffffff161480610a755750610a7481610a6f61197b565b6117a6565b5b610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab90613ebe565b60405180910390fd5b610abe8383611983565b505050565b6000600880549050905090565b60008060001b610ae781610ae261197b565b611a3c565b6001600d84604051610af99190613c61565b908152602001604051809103902060000160006101000a81548160ff0219169083151502179055506000600d84604051610b339190613c61565b908152602001604051809103902060000160016101000a81548160ff0219169083151502179055506001915050919050565b610b76610b7061197b565b82611ad9565b610bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bac9061401e565b60405180910390fd5b610bc0838383611bb7565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b610bee82610bc5565b610bff81610bfa61197b565b611a3c565b610c098383611e13565b505050565b6000610c1983610fde565b8210610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5190613dfe565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610cbb61197b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1f906140be565b60405180910390fd5b610d328282611ef4565b5050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec610d6881610d6361197b565b611a3c565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610da657600080fd5b50565b610dc483838360405180602001604052806000815250611691565b505050565b60008060001b610de081610ddb61197b565b611a3c565b610de983611fd6565b6001915050919050565b6000610dfd610ac3565b8210610e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e359061407e565b60405180910390fd5b60088281548110610e5257610e51614584565b5b90600052602060002001549050919050565b6000801b610e7981610e7461197b565b611a3c565b6000600c60006101000a81548160ff02191690831515021790555050565b60008060001b610eae81610ea961197b565b611a3c565b6001600e85604051610ec09190613c61565b908152602001604051809103902060010160006101000a81548160ff02191690831515021790555082600e85604051610ef99190613c61565b908152602001604051809103902060000181905550600191505092915050565b600c60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90613efe565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561104f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104690613ede565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600e818051602081018201805184825260208301602085012081835280955050505050506000915090508060000154908060010160009054906101000a900460ff16905082565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611157906143eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611183906143eb565b80156111d05780601f106111a5576101008083540402835291602001916111d0565b820191906000526020600020905b8154815290600101906020018083116111b357829003601f168201915b5050505050905090565b60008260011515600d826040516111f19190613c61565b908152602001604051809103902060000160009054906101000a900460ff16151514611252576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112499061403e565b60405180910390fd5b60001515600d826040516112669190613c61565b908152602001604051809103902060000160019054906101000a900460ff161515146112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be9061405e565b60405180910390fd5b60011515600e846040516112db9190613c61565b908152602001604051809103902060010160009054906101000a900460ff1615151461133c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113339061409e565b60405180910390fd5b34600e8460405161134d9190613c61565b9081526020016040518091039020600001541461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690613dde565b60405180910390fd5b60011515600c60009054906101000a900460ff161515146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613f3e565b60405180910390fd5b60006001611401610ac3565b61140b91906141ec565b90506114178682611fe2565b6114218186612000565b6001600d866040516114339190613c61565b908152602001604051809103902060000160016101000a81548160ff021916908315150217905550807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b556572078660405161148b9190613d9c565b60405180910390a27ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e816040516114c291906140de565b60405180910390a180925050509392505050565b6000801b81565b6114e561197b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a90613e7e565b60405180910390fd5b806005600061156061197b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661160d61197b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116529190613d3d565b60405180910390a35050565b6000801b6116738161166e61197b565b611a3c565b6001600c60006101000a81548160ff02191690831515021790555050565b6116a261169c61197b565b83611ad9565b6116e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d89061401e565b60405180910390fd5b6116ed84848484612074565b50505050565b60606116fe826120d0565b9050919050565b600d818051602081018201805184825260208301602085012081835280955050505050506000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16905082565b61176282610bc5565b6117738161176e61197b565b611a3c565b61177d8383611ef4565b505050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008060001b6118518161184c61197b565b611a3c565b6000600e846040516118639190613c61565b908152602001604051809103902060010160006101000a81548160ff0219169083151502179055506001915050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611908575061190782612222565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119f683610f2c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611a4682826110dd565b611ad557611a6b8173ffffffffffffffffffffffffffffffffffffffff16601461229c565b611a798360001c602061229c565b604051602001611a8a929190613c9c565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc9190613d9c565b60405180910390fd5b5050565b6000611ae48261190f565b611b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1a90613e9e565b60405180910390fd5b6000611b2e83610f2c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b9d57508373ffffffffffffffffffffffffffffffffffffffff16611b8584610926565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bae5750611bad81856117a6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bd782610f2c565b73ffffffffffffffffffffffffffffffffffffffff1614611c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2490613fbe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9490613e5e565b60405180910390fd5b611ca88383836124d8565b611cb3600082611983565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d0391906142cd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d5a91906141ec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611e1d82826110dd565b611ef0576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e9561197b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611efe82826110dd565b15611fd2576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f7761197b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611fdf816124e8565b50565b611ffc82826040518060200160405280600081525061253b565b5050565b6120098261190f565b612048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203f90613f1e565b60405180910390fd5b80600a6000848152602001908152602001600020908051906020019061206f9291906131a9565b505050565b61207f848484611bb7565b61208b84848484612596565b6120ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c190613e1e565b60405180910390fd5b50505050565b60606120db8261190f565b61211a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211190613f7e565b60405180910390fd5b6000600a6000848152602001908152602001600020805461213a906143eb565b80601f0160208091040260200160405190810160405280929190818152602001828054612166906143eb565b80156121b35780601f10612188576101008083540402835291602001916121b3565b820191906000526020600020905b81548152906001019060200180831161219657829003601f168201915b5050505050905060006121c461272d565b90506000815114156121da57819250505061221d565b60008251111561220f5780826040516020016121f7929190613c78565b6040516020818303038152906040529250505061221d565b61221884612744565b925050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122955750612294826127eb565b5b9050919050565b6060600060028360026122af9190614273565b6122b991906141ec565b67ffffffffffffffff8111156122d2576122d16145b3565b5b6040519080825280601f01601f1916602001820160405280156123045781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061233c5761233b614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106123a05761239f614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026123e09190614273565b6123ea91906141ec565b90505b600181111561248a577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061242c5761242b614584565b5b1a60f81b82828151811061244357612442614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612483906143c1565b90506123ed565b50600084146124ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c590613dbe565b60405180910390fd5b8091505092915050565b6124e38383836128cd565b505050565b6124f1816129e1565b6000600a60008381526020019081526020016000208054612511906143eb565b90501461253857600a60008281526020019081526020016000206000612537919061322f565b5b50565b6125458383612af2565b6125526000848484612596565b612591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258890613e1e565b60405180910390fd5b505050565b60006125b78473ffffffffffffffffffffffffffffffffffffffff16612cc0565b15612720578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125e061197b565b8786866040518563ffffffff1660e01b81526004016126029493929190613cf1565b602060405180830381600087803b15801561261c57600080fd5b505af192505050801561264d57506040513d601f19601f8201168201806040525081019061264a91906136d2565b60015b6126d0573d806000811461267d576040519150601f19603f3d011682016040523d82523d6000602084013e612682565b606091505b506000815114156126c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bf90613e1e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612725565b600190505b949350505050565b606060405180602001604052806000815250905090565b606061274f8261190f565b61278e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278590613fde565b60405180910390fd5b600061279861272d565b905060008151116127b857604051806020016040528060008152506127e3565b806127c284612cd3565b6040516020016127d3929190613c78565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128b657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128c657506128c582612e34565b5b9050919050565b6128d8838383612e9e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561291b5761291681612ea3565b61295a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612959576129588382612eec565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561299d5761299881613059565b6129dc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129db576129da828261312a565b5b5b505050565b60006129ec82610f2c565b90506129fa816000846124d8565b612a05600083611983565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a5591906142cd565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5990613f5e565b60405180910390fd5b612b6b8161190f565b15612bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba290613e3e565b60405180910390fd5b612bb7600083836124d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c0791906141ec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415612d1b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e2f565b600082905060005b60008214612d4d578080612d369061444e565b915050600a82612d469190614242565b9150612d23565b60008167ffffffffffffffff811115612d6957612d686145b3565b5b6040519080825280601f01601f191660200182016040528015612d9b5781602001600182028036833780820191505090505b5090505b60008514612e2857600182612db491906142cd565b9150600a85612dc39190614497565b6030612dcf91906141ec565b60f81b818381518110612de557612de4614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e219190614242565b9450612d9f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ef984610fde565b612f0391906142cd565b9050600060076000848152602001908152602001600020549050818114612fe8576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061306d91906142cd565b905060006009600084815260200190815260200160002054905060006008838154811061309d5761309c614584565b5b9060005260206000200154905080600883815481106130bf576130be614584565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061310e5761310d614555565b5b6001900381819060005260206000200160009055905550505050565b600061313583610fde565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546131b5906143eb565b90600052602060002090601f0160209004810192826131d7576000855561321e565b82601f106131f057805160ff191683800117855561321e565b8280016001018555821561321e579182015b8281111561321d578251825591602001919060010190613202565b5b50905061322b919061326f565b5090565b50805461323b906143eb565b6000825580601f1061324d575061326c565b601f01602090049060005260206000209081019061326b919061326f565b5b50565b5b80821115613288576000816000905550600101613270565b5090565b600061329f61329a84614147565b614122565b9050828152602081018484840111156132bb576132ba6145e7565b5b6132c684828561437f565b509392505050565b60006132e16132dc84614178565b614122565b9050828152602081018484840111156132fd576132fc6145e7565b5b61330884828561437f565b509392505050565b60008135905061331f81614ce0565b92915050565b60008135905061333481614cf7565b92915050565b60008135905061334981614d0e565b92915050565b60008135905061335e81614d25565b92915050565b60008151905061337381614d25565b92915050565b600082601f83011261338e5761338d6145e2565b5b813561339e84826020860161328c565b91505092915050565b600082601f8301126133bc576133bb6145e2565b5b81356133cc8482602086016132ce565b91505092915050565b6000813590506133e481614d3c565b92915050565b600060208284031215613400576133ff6145f1565b5b600061340e84828501613310565b91505092915050565b6000806040838503121561342e5761342d6145f1565b5b600061343c85828601613310565b925050602061344d85828601613310565b9150509250929050565b6000806000606084860312156134705761346f6145f1565b5b600061347e86828701613310565b935050602061348f86828701613310565b92505060406134a0868287016133d5565b9150509250925092565b600080600080608085870312156134c4576134c36145f1565b5b60006134d287828801613310565b94505060206134e387828801613310565b93505060406134f4878288016133d5565b925050606085013567ffffffffffffffff811115613515576135146145ec565b5b61352187828801613379565b91505092959194509250565b60008060408385031215613544576135436145f1565b5b600061355285828601613310565b925050602061356385828601613325565b9150509250929050565b600080600060608486031215613586576135856145f1565b5b600061359486828701613310565b935050602084013567ffffffffffffffff8111156135b5576135b46145ec565b5b6135c1868287016133a7565b925050604084013567ffffffffffffffff8111156135e2576135e16145ec565b5b6135ee868287016133a7565b9150509250925092565b6000806040838503121561360f5761360e6145f1565b5b600061361d85828601613310565b925050602061362e858286016133d5565b9150509250929050565b60006020828403121561364e5761364d6145f1565b5b600061365c8482850161333a565b91505092915050565b6000806040838503121561367c5761367b6145f1565b5b600061368a8582860161333a565b925050602061369b85828601613310565b9150509250929050565b6000602082840312156136bb576136ba6145f1565b5b60006136c98482850161334f565b91505092915050565b6000602082840312156136e8576136e76145f1565b5b60006136f684828501613364565b91505092915050565b600060208284031215613715576137146145f1565b5b600082013567ffffffffffffffff811115613733576137326145ec565b5b61373f848285016133a7565b91505092915050565b6000806040838503121561375f5761375e6145f1565b5b600083013567ffffffffffffffff81111561377d5761377c6145ec565b5b613789858286016133a7565b925050602061379a858286016133d5565b9150509250929050565b6000602082840312156137ba576137b96145f1565b5b60006137c8848285016133d5565b91505092915050565b6137da81614301565b82525050565b6137e981614313565b82525050565b6137f88161431f565b82525050565b6000613809826141a9565b61381381856141bf565b935061382381856020860161438e565b61382c816145f6565b840191505092915050565b6000613842826141b4565b61384c81856141d0565b935061385c81856020860161438e565b613865816145f6565b840191505092915050565b600061387b826141b4565b61388581856141e1565b935061389581856020860161438e565b80840191505092915050565b60006138ae6020836141d0565b91506138b982614607565b602082019050919050565b60006138d16016836141d0565b91506138dc82614630565b602082019050919050565b60006138f4602b836141d0565b91506138ff82614659565b604082019050919050565b60006139176032836141d0565b9150613922826146a8565b604082019050919050565b600061393a601c836141d0565b9150613945826146f7565b602082019050919050565b600061395d6024836141d0565b915061396882614720565b604082019050919050565b60006139806019836141d0565b915061398b8261476f565b602082019050919050565b60006139a3602c836141d0565b91506139ae82614798565b604082019050919050565b60006139c66038836141d0565b91506139d1826147e7565b604082019050919050565b60006139e9602a836141d0565b91506139f482614836565b604082019050919050565b6000613a0c6029836141d0565b9150613a1782614885565b604082019050919050565b6000613a2f602e836141d0565b9150613a3a826148d4565b604082019050919050565b6000613a526012836141d0565b9150613a5d82614923565b602082019050919050565b6000613a756020836141d0565b9150613a808261494c565b602082019050919050565b6000613a986031836141d0565b9150613aa382614975565b604082019050919050565b6000613abb602c836141d0565b9150613ac6826149c4565b604082019050919050565b6000613ade6029836141d0565b9150613ae982614a13565b604082019050919050565b6000613b01602f836141d0565b9150613b0c82614a62565b604082019050919050565b6000613b246021836141d0565b9150613b2f82614ab1565b604082019050919050565b6000613b476031836141d0565b9150613b5282614b00565b604082019050919050565b6000613b6a6019836141d0565b9150613b7582614b4f565b602082019050919050565b6000613b8d6019836141d0565b9150613b9882614b78565b602082019050919050565b6000613bb0602c836141d0565b9150613bbb82614ba1565b604082019050919050565b6000613bd36017836141e1565b9150613bde82614bf0565b601782019050919050565b6000613bf66028836141d0565b9150613c0182614c19565b604082019050919050565b6000613c196011836141e1565b9150613c2482614c68565b601182019050919050565b6000613c3c602f836141d0565b9150613c4782614c91565b604082019050919050565b613c5b81614375565b82525050565b6000613c6d8284613870565b915081905092915050565b6000613c848285613870565b9150613c908284613870565b91508190509392505050565b6000613ca782613bc6565b9150613cb38285613870565b9150613cbe82613c0c565b9150613cca8284613870565b91508190509392505050565b6000602082019050613ceb60008301846137d1565b92915050565b6000608082019050613d0660008301876137d1565b613d1360208301866137d1565b613d206040830185613c52565b8181036060830152613d3281846137fe565b905095945050505050565b6000602082019050613d5260008301846137e0565b92915050565b6000604082019050613d6d60008301856137e0565b613d7a60208301846137e0565b9392505050565b6000602082019050613d9660008301846137ef565b92915050565b60006020820190508181036000830152613db68184613837565b905092915050565b60006020820190508181036000830152613dd7816138a1565b9050919050565b60006020820190508181036000830152613df7816138c4565b9050919050565b60006020820190508181036000830152613e17816138e7565b9050919050565b60006020820190508181036000830152613e378161390a565b9050919050565b60006020820190508181036000830152613e578161392d565b9050919050565b60006020820190508181036000830152613e7781613950565b9050919050565b60006020820190508181036000830152613e9781613973565b9050919050565b60006020820190508181036000830152613eb781613996565b9050919050565b60006020820190508181036000830152613ed7816139b9565b9050919050565b60006020820190508181036000830152613ef7816139dc565b9050919050565b60006020820190508181036000830152613f17816139ff565b9050919050565b60006020820190508181036000830152613f3781613a22565b9050919050565b60006020820190508181036000830152613f5781613a45565b9050919050565b60006020820190508181036000830152613f7781613a68565b9050919050565b60006020820190508181036000830152613f9781613a8b565b9050919050565b60006020820190508181036000830152613fb781613aae565b9050919050565b60006020820190508181036000830152613fd781613ad1565b9050919050565b60006020820190508181036000830152613ff781613af4565b9050919050565b6000602082019050818103600083015261401781613b17565b9050919050565b6000602082019050818103600083015261403781613b3a565b9050919050565b6000602082019050818103600083015261405781613b5d565b9050919050565b6000602082019050818103600083015261407781613b80565b9050919050565b6000602082019050818103600083015261409781613ba3565b9050919050565b600060208201905081810360008301526140b781613be9565b9050919050565b600060208201905081810360008301526140d781613c2f565b9050919050565b60006020820190506140f36000830184613c52565b92915050565b600060408201905061410e6000830185613c52565b61411b60208301846137e0565b9392505050565b600061412c61413d565b9050614138828261441d565b919050565b6000604051905090565b600067ffffffffffffffff821115614162576141616145b3565b5b61416b826145f6565b9050602081019050919050565b600067ffffffffffffffff821115614193576141926145b3565b5b61419c826145f6565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006141f782614375565b915061420283614375565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614237576142366144c8565b5b828201905092915050565b600061424d82614375565b915061425883614375565b925082614268576142676144f7565b5b828204905092915050565b600061427e82614375565b915061428983614375565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142c2576142c16144c8565b5b828202905092915050565b60006142d882614375565b91506142e383614375565b9250828210156142f6576142f56144c8565b5b828203905092915050565b600061430c82614355565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156143ac578082015181840152602081019050614391565b838111156143bb576000848401525b50505050565b60006143cc82614375565b915060008214156143e0576143df6144c8565b5b600182039050919050565b6000600282049050600182168061440357607f821691505b6020821081141561441757614416614526565b5b50919050565b614426826145f6565b810181811067ffffffffffffffff82111715614445576144446145b3565b5b80604052505050565b600061445982614375565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561448c5761448b6144c8565b5b600182019050919050565b60006144a282614375565b91506144ad83614375565b9250826144bd576144bc6144f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f54686520707269636520697320696e636f727265637400000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f5468652073616c65206973207061757365640000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f54686520746f6b656e206973206e6f7420617070726f76656400000000000000600082015250565b7f54686520746f6b656e20686173206265656e206d696e74656400000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5468652064726f70206973206e6f7420616374697665206f7220646f6573206e60008201527f6f74206578697374000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b614ce981614301565b8114614cf457600080fd5b50565b614d0081614313565b8114614d0b57600080fd5b50565b614d178161431f565b8114614d2257600080fd5b50565b614d2e81614329565b8114614d3957600080fd5b50565b614d4581614375565b8114614d5057600080fd5b5056fea26469706673582212207258463eeb27207a59981ede33946ea8850d8d5432c331de507c74bdf81651c864736f6c63430008060033

Deployed Bytecode

0x6080604052600436106101f95760003560e01c80635c474f9e1161010d578063a22cb465116100a0578063ce4a25491161006f578063ce4a254914610776578063d547741f146107b4578063e02023a1146107dd578063e985e9c514610808578063f38c798a14610845576101f9565b8063a22cb465146106d0578063b66a0e5d146106f9578063b88d4fde14610710578063c87b56dd14610739576101f9565b806391d14854116100dc57806391d148541461060d57806395d89b411461064a5780639907119014610675578063a217fddf146106a5576101f9565b80635c474f9e1461052a5780636352211e1461055557806370a082311461059257806373b96e2c146105cf576101f9565b80632f2ff15d1161019057806342842e0e1161015f57806342842e0e1461043357806342966c681461045c5780634f6ccce71461049957806355367ba9146104d65780635860f632146104ed576101f9565b80632f2ff15d1461039a5780632f745c59146103c357806336568abe146104005780633ccfd60b14610429576101f9565b806318160ddd116101cc57806318160ddd146102cc57806320d307ab146102f757806323b872dd14610334578063248a9ca31461035d576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b50610225600480360381019061022091906136a5565b610882565b6040516102329190613d3d565b60405180910390f35b34801561024757600080fd5b50610250610894565b60405161025d9190613d9c565b60405180910390f35b34801561027257600080fd5b5061028d600480360381019061028891906137a4565b610926565b60405161029a9190613cd6565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c591906135f8565b6109ab565b005b3480156102d857600080fd5b506102e1610ac3565b6040516102ee91906140de565b60405180910390f35b34801561030357600080fd5b5061031e600480360381019061031991906136ff565b610ad0565b60405161032b9190613d3d565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613457565b610b65565b005b34801561036957600080fd5b50610384600480360381019061037f9190613638565b610bc5565b6040516103919190613d81565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc9190613665565b610be5565b005b3480156103cf57600080fd5b506103ea60048036038101906103e591906135f8565b610c0e565b6040516103f791906140de565b60405180910390f35b34801561040c57600080fd5b5061042760048036038101906104229190613665565b610cb3565b005b610431610d36565b005b34801561043f57600080fd5b5061045a60048036038101906104559190613457565b610da9565b005b34801561046857600080fd5b50610483600480360381019061047e91906137a4565b610dc9565b6040516104909190613d3d565b60405180910390f35b3480156104a557600080fd5b506104c060048036038101906104bb91906137a4565b610df3565b6040516104cd91906140de565b60405180910390f35b3480156104e257600080fd5b506104eb610e64565b005b3480156104f957600080fd5b50610514600480360381019061050f9190613748565b610e97565b6040516105219190613d3d565b60405180910390f35b34801561053657600080fd5b5061053f610f19565b60405161054c9190613d3d565b60405180910390f35b34801561056157600080fd5b5061057c600480360381019061057791906137a4565b610f2c565b6040516105899190613cd6565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b491906133ea565b610fde565b6040516105c691906140de565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f191906136ff565b611096565b6040516106049291906140f9565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f9190613665565b6110dd565b6040516106419190613d3d565b60405180910390f35b34801561065657600080fd5b5061065f611148565b60405161066c9190613d9c565b60405180910390f35b61068f600480360381019061068a919061356d565b6111da565b60405161069c91906140de565b60405180910390f35b3480156106b157600080fd5b506106ba6114d6565b6040516106c79190613d81565b60405180910390f35b3480156106dc57600080fd5b506106f760048036038101906106f2919061352d565b6114dd565b005b34801561070557600080fd5b5061070e61165e565b005b34801561071c57600080fd5b50610737600480360381019061073291906134aa565b611691565b005b34801561074557600080fd5b50610760600480360381019061075b91906137a4565b6116f3565b60405161076d9190613d9c565b60405180910390f35b34801561078257600080fd5b5061079d600480360381019061079891906136ff565b611705565b6040516107ab929190613d58565b60405180910390f35b3480156107c057600080fd5b506107db60048036038101906107d69190613665565b611759565b005b3480156107e957600080fd5b506107f2611782565b6040516107ff9190613d81565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a9190613417565b6117a6565b60405161083c9190613d3d565b60405180910390f35b34801561085157600080fd5b5061086c600480360381019061086791906136ff565b61183a565b6040516108799190613d3d565b60405180910390f35b600061088d82611895565b9050919050565b6060600080546108a3906143eb565b80601f01602080910402602001604051908101604052809291908181526020018280546108cf906143eb565b801561091c5780601f106108f15761010080835404028352916020019161091c565b820191906000526020600020905b8154815290600101906020018083116108ff57829003601f168201915b5050505050905090565b60006109318261190f565b610970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096790613f9e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b682610f2c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90613ffe565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a4661197b565b73ffffffffffffffffffffffffffffffffffffffff161480610a755750610a7481610a6f61197b565b6117a6565b5b610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab90613ebe565b60405180910390fd5b610abe8383611983565b505050565b6000600880549050905090565b60008060001b610ae781610ae261197b565b611a3c565b6001600d84604051610af99190613c61565b908152602001604051809103902060000160006101000a81548160ff0219169083151502179055506000600d84604051610b339190613c61565b908152602001604051809103902060000160016101000a81548160ff0219169083151502179055506001915050919050565b610b76610b7061197b565b82611ad9565b610bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bac9061401e565b60405180910390fd5b610bc0838383611bb7565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b610bee82610bc5565b610bff81610bfa61197b565b611a3c565b610c098383611e13565b505050565b6000610c1983610fde565b8210610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5190613dfe565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610cbb61197b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1f906140be565b60405180910390fd5b610d328282611ef4565b5050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec610d6881610d6361197b565b611a3c565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610da657600080fd5b50565b610dc483838360405180602001604052806000815250611691565b505050565b60008060001b610de081610ddb61197b565b611a3c565b610de983611fd6565b6001915050919050565b6000610dfd610ac3565b8210610e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e359061407e565b60405180910390fd5b60088281548110610e5257610e51614584565b5b90600052602060002001549050919050565b6000801b610e7981610e7461197b565b611a3c565b6000600c60006101000a81548160ff02191690831515021790555050565b60008060001b610eae81610ea961197b565b611a3c565b6001600e85604051610ec09190613c61565b908152602001604051809103902060010160006101000a81548160ff02191690831515021790555082600e85604051610ef99190613c61565b908152602001604051809103902060000181905550600191505092915050565b600c60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc90613efe565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561104f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104690613ede565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600e818051602081018201805184825260208301602085012081835280955050505050506000915090508060000154908060010160009054906101000a900460ff16905082565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611157906143eb565b80601f0160208091040260200160405190810160405280929190818152602001828054611183906143eb565b80156111d05780601f106111a5576101008083540402835291602001916111d0565b820191906000526020600020905b8154815290600101906020018083116111b357829003601f168201915b5050505050905090565b60008260011515600d826040516111f19190613c61565b908152602001604051809103902060000160009054906101000a900460ff16151514611252576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112499061403e565b60405180910390fd5b60001515600d826040516112669190613c61565b908152602001604051809103902060000160019054906101000a900460ff161515146112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be9061405e565b60405180910390fd5b60011515600e846040516112db9190613c61565b908152602001604051809103902060010160009054906101000a900460ff1615151461133c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113339061409e565b60405180910390fd5b34600e8460405161134d9190613c61565b9081526020016040518091039020600001541461139f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139690613dde565b60405180910390fd5b60011515600c60009054906101000a900460ff161515146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613f3e565b60405180910390fd5b60006001611401610ac3565b61140b91906141ec565b90506114178682611fe2565b6114218186612000565b6001600d866040516114339190613c61565b908152602001604051809103902060000160016101000a81548160ff021916908315150217905550807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b556572078660405161148b9190613d9c565b60405180910390a27ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e816040516114c291906140de565b60405180910390a180925050509392505050565b6000801b81565b6114e561197b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a90613e7e565b60405180910390fd5b806005600061156061197b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661160d61197b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116529190613d3d565b60405180910390a35050565b6000801b6116738161166e61197b565b611a3c565b6001600c60006101000a81548160ff02191690831515021790555050565b6116a261169c61197b565b83611ad9565b6116e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d89061401e565b60405180910390fd5b6116ed84848484612074565b50505050565b60606116fe826120d0565b9050919050565b600d818051602081018201805184825260208301602085012081835280955050505050506000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff16905082565b61176282610bc5565b6117738161176e61197b565b611a3c565b61177d8383611ef4565b505050565b7f5d8e12c39142ff96d79d04d15d1ba1269e4fe57bb9d26f43523628b34ba108ec81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008060001b6118518161184c61197b565b611a3c565b6000600e846040516118639190613c61565b908152602001604051809103902060010160006101000a81548160ff0219169083151502179055506001915050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611908575061190782612222565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119f683610f2c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611a4682826110dd565b611ad557611a6b8173ffffffffffffffffffffffffffffffffffffffff16601461229c565b611a798360001c602061229c565b604051602001611a8a929190613c9c565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc9190613d9c565b60405180910390fd5b5050565b6000611ae48261190f565b611b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1a90613e9e565b60405180910390fd5b6000611b2e83610f2c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b9d57508373ffffffffffffffffffffffffffffffffffffffff16611b8584610926565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bae5750611bad81856117a6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bd782610f2c565b73ffffffffffffffffffffffffffffffffffffffff1614611c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2490613fbe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9490613e5e565b60405180910390fd5b611ca88383836124d8565b611cb3600082611983565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d0391906142cd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d5a91906141ec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611e1d82826110dd565b611ef0576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e9561197b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611efe82826110dd565b15611fd2576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611f7761197b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611fdf816124e8565b50565b611ffc82826040518060200160405280600081525061253b565b5050565b6120098261190f565b612048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203f90613f1e565b60405180910390fd5b80600a6000848152602001908152602001600020908051906020019061206f9291906131a9565b505050565b61207f848484611bb7565b61208b84848484612596565b6120ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c190613e1e565b60405180910390fd5b50505050565b60606120db8261190f565b61211a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211190613f7e565b60405180910390fd5b6000600a6000848152602001908152602001600020805461213a906143eb565b80601f0160208091040260200160405190810160405280929190818152602001828054612166906143eb565b80156121b35780601f10612188576101008083540402835291602001916121b3565b820191906000526020600020905b81548152906001019060200180831161219657829003601f168201915b5050505050905060006121c461272d565b90506000815114156121da57819250505061221d565b60008251111561220f5780826040516020016121f7929190613c78565b6040516020818303038152906040529250505061221d565b61221884612744565b925050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122955750612294826127eb565b5b9050919050565b6060600060028360026122af9190614273565b6122b991906141ec565b67ffffffffffffffff8111156122d2576122d16145b3565b5b6040519080825280601f01601f1916602001820160405280156123045781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061233c5761233b614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106123a05761239f614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026123e09190614273565b6123ea91906141ec565b90505b600181111561248a577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061242c5761242b614584565b5b1a60f81b82828151811061244357612442614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612483906143c1565b90506123ed565b50600084146124ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c590613dbe565b60405180910390fd5b8091505092915050565b6124e38383836128cd565b505050565b6124f1816129e1565b6000600a60008381526020019081526020016000208054612511906143eb565b90501461253857600a60008281526020019081526020016000206000612537919061322f565b5b50565b6125458383612af2565b6125526000848484612596565b612591576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258890613e1e565b60405180910390fd5b505050565b60006125b78473ffffffffffffffffffffffffffffffffffffffff16612cc0565b15612720578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125e061197b565b8786866040518563ffffffff1660e01b81526004016126029493929190613cf1565b602060405180830381600087803b15801561261c57600080fd5b505af192505050801561264d57506040513d601f19601f8201168201806040525081019061264a91906136d2565b60015b6126d0573d806000811461267d576040519150601f19603f3d011682016040523d82523d6000602084013e612682565b606091505b506000815114156126c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bf90613e1e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612725565b600190505b949350505050565b606060405180602001604052806000815250905090565b606061274f8261190f565b61278e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278590613fde565b60405180910390fd5b600061279861272d565b905060008151116127b857604051806020016040528060008152506127e3565b806127c284612cd3565b6040516020016127d3929190613c78565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128b657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128c657506128c582612e34565b5b9050919050565b6128d8838383612e9e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561291b5761291681612ea3565b61295a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612959576129588382612eec565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561299d5761299881613059565b6129dc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129db576129da828261312a565b5b5b505050565b60006129ec82610f2c565b90506129fa816000846124d8565b612a05600083611983565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a5591906142cd565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5990613f5e565b60405180910390fd5b612b6b8161190f565b15612bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba290613e3e565b60405180910390fd5b612bb7600083836124d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c0791906141ec565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415612d1b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e2f565b600082905060005b60008214612d4d578080612d369061444e565b915050600a82612d469190614242565b9150612d23565b60008167ffffffffffffffff811115612d6957612d686145b3565b5b6040519080825280601f01601f191660200182016040528015612d9b5781602001600182028036833780820191505090505b5090505b60008514612e2857600182612db491906142cd565b9150600a85612dc39190614497565b6030612dcf91906141ec565b60f81b818381518110612de557612de4614584565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e219190614242565b9450612d9f565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ef984610fde565b612f0391906142cd565b9050600060076000848152602001908152602001600020549050818114612fe8576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061306d91906142cd565b905060006009600084815260200190815260200160002054905060006008838154811061309d5761309c614584565b5b9060005260206000200154905080600883815481106130bf576130be614584565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061310e5761310d614555565b5b6001900381819060005260206000200160009055905550505050565b600061313583610fde565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546131b5906143eb565b90600052602060002090601f0160209004810192826131d7576000855561321e565b82601f106131f057805160ff191683800117855561321e565b8280016001018555821561321e579182015b8281111561321d578251825591602001919060010190613202565b5b50905061322b919061326f565b5090565b50805461323b906143eb565b6000825580601f1061324d575061326c565b601f01602090049060005260206000209081019061326b919061326f565b5b50565b5b80821115613288576000816000905550600101613270565b5090565b600061329f61329a84614147565b614122565b9050828152602081018484840111156132bb576132ba6145e7565b5b6132c684828561437f565b509392505050565b60006132e16132dc84614178565b614122565b9050828152602081018484840111156132fd576132fc6145e7565b5b61330884828561437f565b509392505050565b60008135905061331f81614ce0565b92915050565b60008135905061333481614cf7565b92915050565b60008135905061334981614d0e565b92915050565b60008135905061335e81614d25565b92915050565b60008151905061337381614d25565b92915050565b600082601f83011261338e5761338d6145e2565b5b813561339e84826020860161328c565b91505092915050565b600082601f8301126133bc576133bb6145e2565b5b81356133cc8482602086016132ce565b91505092915050565b6000813590506133e481614d3c565b92915050565b600060208284031215613400576133ff6145f1565b5b600061340e84828501613310565b91505092915050565b6000806040838503121561342e5761342d6145f1565b5b600061343c85828601613310565b925050602061344d85828601613310565b9150509250929050565b6000806000606084860312156134705761346f6145f1565b5b600061347e86828701613310565b935050602061348f86828701613310565b92505060406134a0868287016133d5565b9150509250925092565b600080600080608085870312156134c4576134c36145f1565b5b60006134d287828801613310565b94505060206134e387828801613310565b93505060406134f4878288016133d5565b925050606085013567ffffffffffffffff811115613515576135146145ec565b5b61352187828801613379565b91505092959194509250565b60008060408385031215613544576135436145f1565b5b600061355285828601613310565b925050602061356385828601613325565b9150509250929050565b600080600060608486031215613586576135856145f1565b5b600061359486828701613310565b935050602084013567ffffffffffffffff8111156135b5576135b46145ec565b5b6135c1868287016133a7565b925050604084013567ffffffffffffffff8111156135e2576135e16145ec565b5b6135ee868287016133a7565b9150509250925092565b6000806040838503121561360f5761360e6145f1565b5b600061361d85828601613310565b925050602061362e858286016133d5565b9150509250929050565b60006020828403121561364e5761364d6145f1565b5b600061365c8482850161333a565b91505092915050565b6000806040838503121561367c5761367b6145f1565b5b600061368a8582860161333a565b925050602061369b85828601613310565b9150509250929050565b6000602082840312156136bb576136ba6145f1565b5b60006136c98482850161334f565b91505092915050565b6000602082840312156136e8576136e76145f1565b5b60006136f684828501613364565b91505092915050565b600060208284031215613715576137146145f1565b5b600082013567ffffffffffffffff811115613733576137326145ec565b5b61373f848285016133a7565b91505092915050565b6000806040838503121561375f5761375e6145f1565b5b600083013567ffffffffffffffff81111561377d5761377c6145ec565b5b613789858286016133a7565b925050602061379a858286016133d5565b9150509250929050565b6000602082840312156137ba576137b96145f1565b5b60006137c8848285016133d5565b91505092915050565b6137da81614301565b82525050565b6137e981614313565b82525050565b6137f88161431f565b82525050565b6000613809826141a9565b61381381856141bf565b935061382381856020860161438e565b61382c816145f6565b840191505092915050565b6000613842826141b4565b61384c81856141d0565b935061385c81856020860161438e565b613865816145f6565b840191505092915050565b600061387b826141b4565b61388581856141e1565b935061389581856020860161438e565b80840191505092915050565b60006138ae6020836141d0565b91506138b982614607565b602082019050919050565b60006138d16016836141d0565b91506138dc82614630565b602082019050919050565b60006138f4602b836141d0565b91506138ff82614659565b604082019050919050565b60006139176032836141d0565b9150613922826146a8565b604082019050919050565b600061393a601c836141d0565b9150613945826146f7565b602082019050919050565b600061395d6024836141d0565b915061396882614720565b604082019050919050565b60006139806019836141d0565b915061398b8261476f565b602082019050919050565b60006139a3602c836141d0565b91506139ae82614798565b604082019050919050565b60006139c66038836141d0565b91506139d1826147e7565b604082019050919050565b60006139e9602a836141d0565b91506139f482614836565b604082019050919050565b6000613a0c6029836141d0565b9150613a1782614885565b604082019050919050565b6000613a2f602e836141d0565b9150613a3a826148d4565b604082019050919050565b6000613a526012836141d0565b9150613a5d82614923565b602082019050919050565b6000613a756020836141d0565b9150613a808261494c565b602082019050919050565b6000613a986031836141d0565b9150613aa382614975565b604082019050919050565b6000613abb602c836141d0565b9150613ac6826149c4565b604082019050919050565b6000613ade6029836141d0565b9150613ae982614a13565b604082019050919050565b6000613b01602f836141d0565b9150613b0c82614a62565b604082019050919050565b6000613b246021836141d0565b9150613b2f82614ab1565b604082019050919050565b6000613b476031836141d0565b9150613b5282614b00565b604082019050919050565b6000613b6a6019836141d0565b9150613b7582614b4f565b602082019050919050565b6000613b8d6019836141d0565b9150613b9882614b78565b602082019050919050565b6000613bb0602c836141d0565b9150613bbb82614ba1565b604082019050919050565b6000613bd36017836141e1565b9150613bde82614bf0565b601782019050919050565b6000613bf66028836141d0565b9150613c0182614c19565b604082019050919050565b6000613c196011836141e1565b9150613c2482614c68565b601182019050919050565b6000613c3c602f836141d0565b9150613c4782614c91565b604082019050919050565b613c5b81614375565b82525050565b6000613c6d8284613870565b915081905092915050565b6000613c848285613870565b9150613c908284613870565b91508190509392505050565b6000613ca782613bc6565b9150613cb38285613870565b9150613cbe82613c0c565b9150613cca8284613870565b91508190509392505050565b6000602082019050613ceb60008301846137d1565b92915050565b6000608082019050613d0660008301876137d1565b613d1360208301866137d1565b613d206040830185613c52565b8181036060830152613d3281846137fe565b905095945050505050565b6000602082019050613d5260008301846137e0565b92915050565b6000604082019050613d6d60008301856137e0565b613d7a60208301846137e0565b9392505050565b6000602082019050613d9660008301846137ef565b92915050565b60006020820190508181036000830152613db68184613837565b905092915050565b60006020820190508181036000830152613dd7816138a1565b9050919050565b60006020820190508181036000830152613df7816138c4565b9050919050565b60006020820190508181036000830152613e17816138e7565b9050919050565b60006020820190508181036000830152613e378161390a565b9050919050565b60006020820190508181036000830152613e578161392d565b9050919050565b60006020820190508181036000830152613e7781613950565b9050919050565b60006020820190508181036000830152613e9781613973565b9050919050565b60006020820190508181036000830152613eb781613996565b9050919050565b60006020820190508181036000830152613ed7816139b9565b9050919050565b60006020820190508181036000830152613ef7816139dc565b9050919050565b60006020820190508181036000830152613f17816139ff565b9050919050565b60006020820190508181036000830152613f3781613a22565b9050919050565b60006020820190508181036000830152613f5781613a45565b9050919050565b60006020820190508181036000830152613f7781613a68565b9050919050565b60006020820190508181036000830152613f9781613a8b565b9050919050565b60006020820190508181036000830152613fb781613aae565b9050919050565b60006020820190508181036000830152613fd781613ad1565b9050919050565b60006020820190508181036000830152613ff781613af4565b9050919050565b6000602082019050818103600083015261401781613b17565b9050919050565b6000602082019050818103600083015261403781613b3a565b9050919050565b6000602082019050818103600083015261405781613b5d565b9050919050565b6000602082019050818103600083015261407781613b80565b9050919050565b6000602082019050818103600083015261409781613ba3565b9050919050565b600060208201905081810360008301526140b781613be9565b9050919050565b600060208201905081810360008301526140d781613c2f565b9050919050565b60006020820190506140f36000830184613c52565b92915050565b600060408201905061410e6000830185613c52565b61411b60208301846137e0565b9392505050565b600061412c61413d565b9050614138828261441d565b919050565b6000604051905090565b600067ffffffffffffffff821115614162576141616145b3565b5b61416b826145f6565b9050602081019050919050565b600067ffffffffffffffff821115614193576141926145b3565b5b61419c826145f6565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006141f782614375565b915061420283614375565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614237576142366144c8565b5b828201905092915050565b600061424d82614375565b915061425883614375565b925082614268576142676144f7565b5b828204905092915050565b600061427e82614375565b915061428983614375565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142c2576142c16144c8565b5b828202905092915050565b60006142d882614375565b91506142e383614375565b9250828210156142f6576142f56144c8565b5b828203905092915050565b600061430c82614355565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156143ac578082015181840152602081019050614391565b838111156143bb576000848401525b50505050565b60006143cc82614375565b915060008214156143e0576143df6144c8565b5b600182039050919050565b6000600282049050600182168061440357607f821691505b6020821081141561441757614416614526565b5b50919050565b614426826145f6565b810181811067ffffffffffffffff82111715614445576144446145b3565b5b80604052505050565b600061445982614375565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561448c5761448b6144c8565b5b600182019050919050565b60006144a282614375565b91506144ad83614375565b9250826144bd576144bc6144f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f54686520707269636520697320696e636f727265637400000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f5468652073616c65206973207061757365640000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f54686520746f6b656e206973206e6f7420617070726f76656400000000000000600082015250565b7f54686520746f6b656e20686173206265656e206d696e74656400000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f5468652064726f70206973206e6f7420616374697665206f7220646f6573206e60008201527f6f74206578697374000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b614ce981614301565b8114614cf457600080fd5b50565b614d0081614313565b8114614d0b57600080fd5b50565b614d178161431f565b8114614d2257600080fd5b50565b614d2e81614329565b8114614d3957600080fd5b50565b614d4581614375565b8114614d5057600080fd5b5056fea26469706673582212207258463eeb27207a59981ede33946ea8850d8d5432c331de507c74bdf81651c864736f6c63430008060033

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.