ETH Price: $3,270.44 (+0.32%)
Gas: 3 Gwei

Token

HNFT (HNFT)
 

Overview

Max Total Supply

172 HNFT

Holders

146

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
obiwankenobi.eth
Balance
1 HNFT
0x5A8681cA9efDDa2739A84e84a46FDf3DED1148CA
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:
MegoTicketsCustom

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : MegoTicketsCustom.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./Base64.sol";

/**
 * @title MegoTickets
 * Ticketing contract with on-chain metadata
 * https://mego.cx
 * Created by: YOMI <https://yomi.digital>
 */
 
contract MegoTicketsCustom is ERC721, Ownable, Pausable {
    struct Ticket {
        bool exists;
        bool active;
        string name;
        string description;
        string image;
        uint16 numMinted;
        uint16 maxSupply;
    }

    uint256 private _tokenIdCounter;

    mapping(string => Ticket) public _tickets;
    mapping(uint256 => string) public _idToTier;
    mapping(uint256 => string) public _idToSerial;
    mapping(address => bool) public _proxies;

    bool isPaused = false;

    event Minted(uint256 indexed tokenId);
    event Claimed(uint256 indexed tokenId);

    constructor(string memory _name, string memory _ticker)
        ERC721(_name, _ticker)
    {}

    function totalSupply() public view returns (uint256) {
        return _tokenIdCounter;
    }

    function tokensOfOwner(address _owner)
        external
        view
        returns (uint256[] memory ownerTokens)
    {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 totalTkns = totalSupply();
            uint256 resultIndex = 0;
            uint256 tnkId;

            for (tnkId = 1; tnkId <= totalTkns; tnkId++) {
                if (ownerOf(tnkId) == _owner) {
                    result[resultIndex] = tnkId;
                    resultIndex++;
                }
            }

            return result;
        }
    }

    function setProxyAddress(address proxy, bool state) external onlyOwner {
        _proxies[proxy] = state;
    }

    function manageTickets(
        string memory tier,
        string memory name,
        string memory description,
        string memory image,
        uint16 maxSupply,
        bool active
    ) external onlyOwner {
        require(
            !_tickets[tier].exists,
            "Can't manage this tier."
        );
        _tickets[tier].exists = true;
        _tickets[tier].name = name;
        _tickets[tier].description = description;
        _tickets[tier].image = image;
        _tickets[tier].maxSupply = maxSupply;
        _tickets[tier].active = active;
    }

    function returnMinted(string memory tier) external view returns (uint16) {
        Ticket memory ticket = _tickets[tier];
        return ticket.numMinted;
    }

    function returnActive(string memory tier) external view returns (bool) {
        Ticket memory ticket = _tickets[tier];
        return ticket.active;
    }

    function tokenURI(uint256 id) public view override returns (string memory) {
        string memory tier = _idToTier[id];
        Ticket memory ticket = _tickets[tier];
        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "',
                        ticket.name,
                        " #",
                        _idToSerial[id],
                        '", "description": "',
                        ticket.description,
                        '", "image": "',
                        ticket.image,
                        '", "attributes": [',
                        '{"trait_type": "TIER", "value": "',
                        tier,
                        '"}',
                        "]}"
                    )
                )
            )
        );
        string memory output = string(
            abi.encodePacked("data:application/json;base64,", json)
        );
        return output;
    }

    function mint(
        address receiver,
        string memory tier,
        uint256 amount
    ) external {
        require(_proxies[msg.sender], "MegoTickets: Only proxy can mint");
        require(
            _tickets[tier].exists,
            "MegoTickets: Minting a non-existent tier"
        );
        require(_tickets[tier].active, "MegoTickets: Tier is not active");
        require(
            _tickets[tier].numMinted + amount <= _tickets[tier].maxSupply,
            "MegoTickets: Max supply reached"
        );

        Ticket storage ticket = _tickets[tier];

        for (uint256 k = 0; k < amount; k++) {
            _tokenIdCounter += 1;
            uint256 tokenId = _tokenIdCounter;
            ticket.numMinted++;
            _idToSerial[tokenId] = Strings.toString(ticket.numMinted);
            _idToTier[tokenId] = tier;
            _safeMint(receiver, tokenId);
            emit Minted(tokenId);
        }
    }

    function pause() public onlyOwner {
        _pause();
        isPaused = true;
    }

    function unpause() public onlyOwner {
        _unpause();
        isPaused = false;
    }

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 13 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)
                )
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 7 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_ticker","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_idToSerial","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_idToTier","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_proxies","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"_tickets","outputs":[{"internalType":"bool","name":"exists","type":"bool"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"uint16","name":"numMinted","type":"uint16"},{"internalType":"uint16","name":"maxSupply","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"string","name":"tier","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"bool","name":"active","type":"bool"}],"name":"manageTickets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"string","name":"tier","type":"string"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tier","type":"string"}],"name":"returnActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"tier","type":"string"}],"name":"returnMinted","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxy","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setProxyAddress","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":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600c60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162005667380380620056678339818101604052810190620000529190620002c7565b818181600090805190602001906200006c92919062000199565b5080600190805190602001906200008592919062000199565b505050620000a86200009c620000cb60201b60201c565b620000d360201b60201c565b6000600660146101000a81548160ff0219169083151502179055505050620004d0565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001a790620003e1565b90600052602060002090601f016020900481019282620001cb576000855562000217565b82601f10620001e657805160ff191683800117855562000217565b8280016001018555821562000217579182015b8281111562000216578251825591602001919060010190620001f9565b5b5090506200022691906200022a565b5090565b5b80821115620002455760008160009055506001016200022b565b5090565b6000620002606200025a8462000375565b6200034c565b9050828152602081018484840111156200027f576200027e620004b0565b5b6200028c848285620003ab565b509392505050565b600082601f830112620002ac57620002ab620004ab565b5b8151620002be84826020860162000249565b91505092915050565b60008060408385031215620002e157620002e0620004ba565b5b600083015167ffffffffffffffff811115620003025762000301620004b5565b5b620003108582860162000294565b925050602083015167ffffffffffffffff811115620003345762000333620004b5565b5b620003428582860162000294565b9150509250929050565b6000620003586200036b565b905062000366828262000417565b919050565b6000604051905090565b600067ffffffffffffffff8211156200039357620003926200047c565b5b6200039e82620004bf565b9050602081019050919050565b60005b83811015620003cb578082015181840152602081019050620003ae565b83811115620003db576000848401525b50505050565b60006002820490506001821680620003fa57607f821691505b602082108114156200041157620004106200044d565b5b50919050565b6200042282620004bf565b810181811067ffffffffffffffff821117156200044457620004436200047c565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61518780620004e06000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd14610559578063e985e9c514610589578063f2fde38b146105b9578063f3f4962b146105d5576101da565b8063a22cb465146104cf578063b88d4fde146104eb578063ba7aef4314610507578063c2b07a3814610523576101da565b80638456cb59116100de5780638456cb59146104595780638462151c146104635780638da5cb5b1461049357806395d89b41146104b1576101da565b806370a0823114610403578063715018a61461043357806380a1a47d1461043d576101da565b8063234438941161017c57806342842e0e1161014b57806342842e0e1461037d5780635ae7a082146103995780635c975abb146103b55780636352211e146103d3576101da565b806323443894146102f757806323b872dd146103275780633641f592146103435780633f4ba83a14610373576101da565b8063095ea7b3116101b8578063095ea7b31461025d57806310062e101461027957806318160ddd146102a957806322a7de71146102c7576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f491906137a7565b610605565b60405161020691906140f9565b60405180910390f35b6102176106e7565b6040516102249190614198565b60405180910390f35b61024760048036038101906102429190613947565b610779565b6040516102549190614070565b60405180910390f35b61027760048036038101906102729190613767565b6107fe565b005b610293600480360381019061028e9190613575565b610916565b6040516102a091906140f9565b60405180910390f35b6102b1610936565b6040516102be9190614495565b60405180910390f35b6102e160048036038101906102dc9190613947565b610940565b6040516102ee9190614198565b60405180910390f35b610311600480360381019061030c9190613801565b6109e0565b60405161031e919061447a565b60405180910390f35b610341600480360381019061033c91906135e2565b610c47565b005b61035d60048036038101906103589190613801565b610ca7565b60405161036a91906140f9565b60405180910390f35b61037b610f0e565b005b610397600480360381019061039291906135e2565b610faf565b005b6103b360048036038101906103ae919061384a565b610fcf565b005b6103bd611213565b6040516103ca91906140f9565b60405180910390f35b6103ed60048036038101906103e89190613947565b61122a565b6040516103fa9190614070565b60405180910390f35b61041d60048036038101906104189190613575565b6112dc565b60405161042a9190614495565b60405180910390f35b61043b611394565b005b610457600480360381019061045291906136b8565b61141c565b005b6104616114f3565b005b61047d60048036038101906104789190613575565b611594565b60405161048a91906140d7565b60405180910390f35b61049b6116f2565b6040516104a89190614070565b60405180910390f35b6104b961171c565b6040516104c69190614198565b60405180910390f35b6104e960048036038101906104e491906136b8565b6117ae565b005b61050560048036038101906105009190613635565b6117c4565b005b610521600480360381019061051c91906136f8565b611826565b005b61053d60048036038101906105389190613801565b611b8d565b6040516105509796959493929190614114565b60405180910390f35b610573600480360381019061056e9190613947565b611db3565b6040516105809190614198565b60405180910390f35b6105a3600480360381019061059e91906135a2565b612130565b6040516105b091906140f9565b60405180910390f35b6105d360048036038101906105ce9190613575565b6121c4565b005b6105ef60048036038101906105ea9190613947565b6122bc565b6040516105fc9190614198565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e057506106df8261235c565b5b9050919050565b6060600080546106f6906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610722906147a1565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b5050505050905090565b6000610784826123c6565b6107c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ba9061437a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108098261122a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561087a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610871906143fa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610899612432565b73ffffffffffffffffffffffffffffffffffffffff1614806108c857506108c7816108c2612432565b612130565b5b610907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fe906142fa565b60405180910390fd5b610911838361243a565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000600754905090565b6009602052806000526040600020600091509050805461095f906147a1565b80601f016020809104026020016040519081016040528092919081815260200182805461098b906147a1565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b505050505081565b6000806008836040516109f39190613f94565b90815260200160405180910390206040518060e00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff16151515158152602001600182018054610a52906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7e906147a1565b8015610acb5780601f10610aa057610100808354040283529160200191610acb565b820191906000526020600020905b815481529060010190602001808311610aae57829003601f168201915b50505050508152602001600282018054610ae4906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610b10906147a1565b8015610b5d5780601f10610b3257610100808354040283529160200191610b5d565b820191906000526020600020905b815481529060010190602001808311610b4057829003601f168201915b50505050508152602001600382018054610b76906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba2906147a1565b8015610bef5780601f10610bc457610100808354040283529160200191610bef565b820191906000526020600020905b815481529060010190602001808311610bd257829003601f168201915b505050505081526020016004820160009054906101000a900461ffff1661ffff1661ffff1681526020016004820160029054906101000a900461ffff1661ffff1661ffff168152505090508060a00151915050919050565b610c58610c52612432565b826124f3565b610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e9061441a565b60405180910390fd5b610ca28383836125d1565b505050565b600080600883604051610cba9190613f94565b90815260200160405180910390206040518060e00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff16151515158152602001600182018054610d19906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d45906147a1565b8015610d925780601f10610d6757610100808354040283529160200191610d92565b820191906000526020600020905b815481529060010190602001808311610d7557829003601f168201915b50505050508152602001600282018054610dab906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd7906147a1565b8015610e245780601f10610df957610100808354040283529160200191610e24565b820191906000526020600020905b815481529060010190602001808311610e0757829003601f168201915b50505050508152602001600382018054610e3d906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610e69906147a1565b8015610eb65780601f10610e8b57610100808354040283529160200191610eb6565b820191906000526020600020905b815481529060010190602001808311610e9957829003601f168201915b505050505081526020016004820160009054906101000a900461ffff1661ffff1661ffff1681526020016004820160029054906101000a900461ffff1661ffff1661ffff168152505090508060200151915050919050565b610f16612432565b73ffffffffffffffffffffffffffffffffffffffff16610f346116f2565b73ffffffffffffffffffffffffffffffffffffffff1614610f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f81906143ba565b60405180910390fd5b610f92612838565b6000600c60006101000a81548160ff021916908315150217905550565b610fca838383604051806020016040528060008152506117c4565b505050565b610fd7612432565b73ffffffffffffffffffffffffffffffffffffffff16610ff56116f2565b73ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611042906143ba565b60405180910390fd5b60088660405161105b9190613f94565b908152602001604051809103902060000160009054906101000a900460ff16156110ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b19061445a565b60405180910390fd5b60016008876040516110cc9190613f94565b908152602001604051809103902060000160006101000a81548160ff021916908315150217905550846008876040516111059190613f94565b90815260200160405180910390206001019080519060200190611129929190613374565b508360088760405161113b9190613f94565b9081526020016040518091039020600201908051906020019061115f929190613374565b50826008876040516111719190613f94565b90815260200160405180910390206003019080519060200190611195929190613374565b50816008876040516111a79190613f94565b908152602001604051809103902060040160026101000a81548161ffff021916908361ffff160217905550806008876040516111e39190613f94565b908152602001604051809103902060000160016101000a81548160ff021916908315150217905550505050505050565b6000600660149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca9061433a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561134d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113449061431a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61139c612432565b73ffffffffffffffffffffffffffffffffffffffff166113ba6116f2565b73ffffffffffffffffffffffffffffffffffffffff1614611410576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611407906143ba565b60405180910390fd5b61141a60006128da565b565b611424612432565b73ffffffffffffffffffffffffffffffffffffffff166114426116f2565b73ffffffffffffffffffffffffffffffffffffffff1614611498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148f906143ba565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6114fb612432565b73ffffffffffffffffffffffffffffffffffffffff166115196116f2565b73ffffffffffffffffffffffffffffffffffffffff161461156f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611566906143ba565b60405180910390fd5b6115776129a0565b6001600c60006101000a81548160ff021916908315150217905550565b606060006115a1836112dc565b905060008114156115fe57600067ffffffffffffffff8111156115c7576115c6614965565b5b6040519080825280602002602001820160405280156115f55781602001602082028036833780820191505090505b509150506116ed565b60008167ffffffffffffffff81111561161a57611619614965565b5b6040519080825280602002602001820160405280156116485781602001602082028036833780820191505090505b5090506000611655610936565b9050600080600190505b8281116116e4578673ffffffffffffffffffffffffffffffffffffffff166116868261122a565b73ffffffffffffffffffffffffffffffffffffffff1614156116d157808483815181106116b6576116b5614936565b5b60200260200101818152505081806116cd9061482f565b9250505b80806116dc9061482f565b91505061165f565b83955050505050505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461172b906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611757906147a1565b80156117a45780601f10611779576101008083540402835291602001916117a4565b820191906000526020600020905b81548152906001019060200180831161178757829003601f168201915b5050505050905090565b6117c06117b9612432565b8383612a43565b5050565b6117d56117cf612432565b836124f3565b611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b9061441a565b60405180910390fd5b61182084848484612bb0565b50505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a9906143da565b60405180910390fd5b6008826040516118c29190613f94565b908152602001604051809103902060000160009054906101000a900460ff16611920576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611917906141ba565b60405180910390fd5b6008826040516119309190613f94565b908152602001604051809103902060000160019054906101000a900460ff1661198e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119859061443a565b60405180910390fd5b60088260405161199e9190613f94565b908152602001604051809103902060040160029054906101000a900461ffff1661ffff16816008846040516119d39190613f94565b908152602001604051809103902060040160009054906101000a900461ffff1661ffff16611a0191906145c8565b1115611a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a399061439a565b60405180910390fd5b6000600883604051611a549190613f94565b9081526020016040518091039020905060005b82811015611b8657600160076000828254611a8291906145c8565b925050819055506000600754905082600401600081819054906101000a900461ffff1680929190611ab290614804565b91906101000a81548161ffff021916908361ffff16021790555050611aec8360040160009054906101000a900461ffff1661ffff16612c0c565b600a60008381526020019081526020016000209080519060200190611b12929190613374565b5084600960008381526020019081526020016000209080519060200190611b3a929190613374565b50611b458682612d6d565b807f176b02bb2d12439ff7a20b59f402cca16c76f50508b13ef3166a600eb719354a60405160405180910390a2508080611b7e9061482f565b915050611a67565b5050505050565b6008818051602081018201805184825260208301602085012081835280955050505050506000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff1690806001018054611bec906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611c18906147a1565b8015611c655780601f10611c3a57610100808354040283529160200191611c65565b820191906000526020600020905b815481529060010190602001808311611c4857829003601f168201915b505050505090806002018054611c7a906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611ca6906147a1565b8015611cf35780601f10611cc857610100808354040283529160200191611cf3565b820191906000526020600020905b815481529060010190602001808311611cd657829003601f168201915b505050505090806003018054611d08906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611d34906147a1565b8015611d815780601f10611d5657610100808354040283529160200191611d81565b820191906000526020600020905b815481529060010190602001808311611d6457829003601f168201915b5050505050908060040160009054906101000a900461ffff16908060040160029054906101000a900461ffff16905087565b60606000600960008481526020019081526020016000208054611dd5906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611e01906147a1565b8015611e4e5780601f10611e2357610100808354040283529160200191611e4e565b820191906000526020600020905b815481529060010190602001808311611e3157829003601f168201915b505050505090506000600882604051611e679190613f94565b90815260200160405180910390206040518060e00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff16151515158152602001600182018054611ec6906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611ef2906147a1565b8015611f3f5780601f10611f1457610100808354040283529160200191611f3f565b820191906000526020600020905b815481529060010190602001808311611f2257829003601f168201915b50505050508152602001600282018054611f58906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611f84906147a1565b8015611fd15780601f10611fa657610100808354040283529160200191611fd1565b820191906000526020600020905b815481529060010190602001808311611fb457829003601f168201915b50505050508152602001600382018054611fea906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054612016906147a1565b80156120635780601f1061203857610100808354040283529160200191612063565b820191906000526020600020905b81548152906001019060200180831161204657829003601f168201915b505050505081526020016004820160009054906101000a900461ffff1661ffff1661ffff1681526020016004820160029054906101000a900461ffff1661ffff1661ffff1681525050905060006120fe8260400151600a600088815260200190815260200160002084606001518560800151876040516020016120ea959493929190613fab565b604051602081830303815290604052612d8b565b9050600081604051602001612113919061404e565b604051602081830303815290604052905080945050505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121cc612432565b73ffffffffffffffffffffffffffffffffffffffff166121ea6116f2565b73ffffffffffffffffffffffffffffffffffffffff1614612240576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612237906143ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a79061421a565b60405180910390fd5b6122b9816128da565b50565b600a60205280600052604060002060009150905080546122db906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054612307906147a1565b80156123545780601f1061232957610100808354040283529160200191612354565b820191906000526020600020905b81548152906001019060200180831161233757829003601f168201915b505050505081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124ad8361122a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124fe826123c6565b61253d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612534906142ba565b60405180910390fd5b60006125488361122a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061258a57506125898185612130565b5b806125c857508373ffffffffffffffffffffffffffffffffffffffff166125b084610779565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125f18261122a565b73ffffffffffffffffffffffffffffffffffffffff1614612647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263e9061423a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ae9061427a565b60405180910390fd5b6126c2838383612f23565b6126cd60008261243a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461271d91906146a9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461277491906145c8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612833838383612f7b565b505050565b612840611213565b61287f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612876906141da565b60405180910390fd5b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6128c3612432565b6040516128d09190614070565b60405180910390a1565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129a8611213565b156129e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129df906142da565b60405180910390fd5b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612a2c612432565b604051612a399190614070565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa99061429a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ba391906140f9565b60405180910390a3505050565b612bbb8484846125d1565b612bc784848484612f80565b612c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfd906141fa565b60405180910390fd5b50505050565b60606000821415612c54576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d68565b600082905060005b60008214612c86578080612c6f9061482f565b915050600a82612c7f919061461e565b9150612c5c565b60008167ffffffffffffffff811115612ca257612ca1614965565b5b6040519080825280601f01601f191660200182016040528015612cd45781602001600182028036833780820191505090505b5090505b60008514612d6157600182612ced91906146a9565b9150600a85612cfc9190614878565b6030612d0891906145c8565b60f81b818381518110612d1e57612d1d614936565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d5a919061461e565b9450612cd8565b8093505050505b919050565b612d87828260405180602001604052806000815250613117565b5050565b60606000825190506000811415612db45760405180602001604052806000815250915050612f1e565b60006003600283612dc591906145c8565b612dcf919061461e565b6004612ddb919061464f565b90506000602082612dec91906145c8565b67ffffffffffffffff811115612e0557612e04614965565b5b6040519080825280601f01601f191660200182016040528015612e375781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615112604091399050600181016020830160005b86811015612edb5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612e62565b506003860660018114612ef55760028114612f0557612f10565b613d3d60f01b6002830352612f10565b603d60f81b60018303525b508484525050819450505050505b919050565b612f2b611213565b15612f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f62906142da565b60405180910390fd5b612f76838383613172565b505050565b505050565b6000612fa18473ffffffffffffffffffffffffffffffffffffffff16613177565b1561310a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fca612432565b8786866040518563ffffffff1660e01b8152600401612fec949392919061408b565b602060405180830381600087803b15801561300657600080fd5b505af192505050801561303757506040513d601f19601f8201168201806040525081019061303491906137d4565b60015b6130ba573d8060008114613067576040519150601f19603f3d011682016040523d82523d6000602084013e61306c565b606091505b506000815114156130b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a9906141fa565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061310f565b600190505b949350505050565b613121838361319a565b61312e6000848484612f80565b61316d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613164906141fa565b60405180910390fd5b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561320a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132019061435a565b60405180910390fd5b613213816123c6565b15613253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324a9061425a565b60405180910390fd5b61325f60008383612f23565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132af91906145c8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461337060008383612f7b565b5050565b828054613380906147a1565b90600052602060002090601f0160209004810192826133a257600085556133e9565b82601f106133bb57805160ff19168380011785556133e9565b828001600101855582156133e9579182015b828111156133e85782518255916020019190600101906133cd565b5b5090506133f691906133fa565b5090565b5b808211156134135760008160009055506001016133fb565b5090565b600061342a613425846144d5565b6144b0565b90508281526020810184848401111561344657613445614999565b5b61345184828561475f565b509392505050565b600061346c61346784614506565b6144b0565b90508281526020810184848401111561348857613487614999565b5b61349384828561475f565b509392505050565b6000813590506134aa8161509e565b92915050565b6000813590506134bf816150b5565b92915050565b6000813590506134d4816150cc565b92915050565b6000815190506134e9816150cc565b92915050565b600082601f83011261350457613503614994565b5b8135613514848260208601613417565b91505092915050565b600082601f83011261353257613531614994565b5b8135613542848260208601613459565b91505092915050565b60008135905061355a816150e3565b92915050565b60008135905061356f816150fa565b92915050565b60006020828403121561358b5761358a6149a3565b5b60006135998482850161349b565b91505092915050565b600080604083850312156135b9576135b86149a3565b5b60006135c78582860161349b565b92505060206135d88582860161349b565b9150509250929050565b6000806000606084860312156135fb576135fa6149a3565b5b60006136098682870161349b565b935050602061361a8682870161349b565b925050604061362b86828701613560565b9150509250925092565b6000806000806080858703121561364f5761364e6149a3565b5b600061365d8782880161349b565b945050602061366e8782880161349b565b935050604061367f87828801613560565b925050606085013567ffffffffffffffff8111156136a05761369f61499e565b5b6136ac878288016134ef565b91505092959194509250565b600080604083850312156136cf576136ce6149a3565b5b60006136dd8582860161349b565b92505060206136ee858286016134b0565b9150509250929050565b600080600060608486031215613711576137106149a3565b5b600061371f8682870161349b565b935050602084013567ffffffffffffffff8111156137405761373f61499e565b5b61374c8682870161351d565b925050604061375d86828701613560565b9150509250925092565b6000806040838503121561377e5761377d6149a3565b5b600061378c8582860161349b565b925050602061379d85828601613560565b9150509250929050565b6000602082840312156137bd576137bc6149a3565b5b60006137cb848285016134c5565b91505092915050565b6000602082840312156137ea576137e96149a3565b5b60006137f8848285016134da565b91505092915050565b600060208284031215613817576138166149a3565b5b600082013567ffffffffffffffff8111156138355761383461499e565b5b6138418482850161351d565b91505092915050565b60008060008060008060c08789031215613867576138666149a3565b5b600087013567ffffffffffffffff8111156138855761388461499e565b5b61389189828a0161351d565b965050602087013567ffffffffffffffff8111156138b2576138b161499e565b5b6138be89828a0161351d565b955050604087013567ffffffffffffffff8111156138df576138de61499e565b5b6138eb89828a0161351d565b945050606087013567ffffffffffffffff81111561390c5761390b61499e565b5b61391889828a0161351d565b935050608061392989828a0161354b565b92505060a061393a89828a016134b0565b9150509295509295509295565b60006020828403121561395d5761395c6149a3565b5b600061396b84828501613560565b91505092915050565b60006139808383613f76565b60208301905092915050565b613995816146dd565b82525050565b60006139a68261455c565b6139b0818561458a565b93506139bb83614537565b8060005b838110156139ec5781516139d38882613974565b97506139de8361457d565b9250506001810190506139bf565b5085935050505092915050565b613a02816146ef565b82525050565b6000613a1382614567565b613a1d818561459b565b9350613a2d81856020860161476e565b613a36816149a8565b840191505092915050565b6000613a4c82614572565b613a5681856145ac565b9350613a6681856020860161476e565b613a6f816149a8565b840191505092915050565b6000613a8582614572565b613a8f81856145bd565b9350613a9f81856020860161476e565b80840191505092915050565b60008154613ab8816147a1565b613ac281866145bd565b94506001821660008114613add5760018114613aee57613b21565b60ff19831686528186019350613b21565b613af785614547565b60005b83811015613b1957815481890152600182019150602081019050613afa565b838801955050505b50505092915050565b6000613b376028836145ac565b9150613b42826149b9565b604082019050919050565b6000613b5a6014836145ac565b9150613b6582614a08565b602082019050919050565b6000613b7d6013836145bd565b9150613b8882614a31565b601382019050919050565b6000613ba06012836145bd565b9150613bab82614a5a565b601282019050919050565b6000613bc36032836145ac565b9150613bce82614a83565b604082019050919050565b6000613be66002836145bd565b9150613bf182614ad2565b600282019050919050565b6000613c096026836145ac565b9150613c1482614afb565b604082019050919050565b6000613c2c6025836145ac565b9150613c3782614b4a565b604082019050919050565b6000613c4f601c836145ac565b9150613c5a82614b99565b602082019050919050565b6000613c726024836145ac565b9150613c7d82614bc2565b604082019050919050565b6000613c956019836145ac565b9150613ca082614c11565b602082019050919050565b6000613cb8602c836145ac565b9150613cc382614c3a565b604082019050919050565b6000613cdb6010836145ac565b9150613ce682614c89565b602082019050919050565b6000613cfe6038836145ac565b9150613d0982614cb2565b604082019050919050565b6000613d21602a836145ac565b9150613d2c82614d01565b604082019050919050565b6000613d446029836145ac565b9150613d4f82614d50565b604082019050919050565b6000613d676002836145bd565b9150613d7282614d9f565b600282019050919050565b6000613d8a6020836145ac565b9150613d9582614dc8565b602082019050919050565b6000613dad600d836145bd565b9150613db882614df1565b600d82019050919050565b6000613dd0602c836145ac565b9150613ddb82614e1a565b604082019050919050565b6000613df3601f836145ac565b9150613dfe82614e69565b602082019050919050565b6000613e166020836145ac565b9150613e2182614e92565b602082019050919050565b6000613e396020836145ac565b9150613e4482614ebb565b602082019050919050565b6000613e5c6021836145bd565b9150613e6782614ee4565b602182019050919050565b6000613e7f600a836145bd565b9150613e8a82614f33565b600a82019050919050565b6000613ea26002836145bd565b9150613ead82614f5c565b600282019050919050565b6000613ec56021836145ac565b9150613ed082614f85565b604082019050919050565b6000613ee8601d836145bd565b9150613ef382614fd4565b601d82019050919050565b6000613f0b6031836145ac565b9150613f1682614ffd565b604082019050919050565b6000613f2e601f836145ac565b9150613f398261504c565b602082019050919050565b6000613f516017836145ac565b9150613f5c82615075565b602082019050919050565b613f7081614727565b82525050565b613f7f81614755565b82525050565b613f8e81614755565b82525050565b6000613fa08284613a7a565b915081905092915050565b6000613fb682613e72565b9150613fc28288613a7a565b9150613fcd82613bd9565b9150613fd98287613aab565b9150613fe482613b70565b9150613ff08286613a7a565b9150613ffb82613da0565b91506140078285613a7a565b915061401282613b93565b915061401d82613e4f565b91506140298284613a7a565b915061403482613d5a565b915061403f82613e95565b91508190509695505050505050565b600061405982613edb565b91506140658284613a7a565b915081905092915050565b6000602082019050614085600083018461398c565b92915050565b60006080820190506140a0600083018761398c565b6140ad602083018661398c565b6140ba6040830185613f85565b81810360608301526140cc8184613a08565b905095945050505050565b600060208201905081810360008301526140f1818461399b565b905092915050565b600060208201905061410e60008301846139f9565b92915050565b600060e082019050614129600083018a6139f9565b61413660208301896139f9565b81810360408301526141488188613a41565b9050818103606083015261415c8187613a41565b905081810360808301526141708186613a41565b905061417f60a0830185613f67565b61418c60c0830184613f67565b98975050505050505050565b600060208201905081810360008301526141b28184613a41565b905092915050565b600060208201905081810360008301526141d381613b2a565b9050919050565b600060208201905081810360008301526141f381613b4d565b9050919050565b6000602082019050818103600083015261421381613bb6565b9050919050565b6000602082019050818103600083015261423381613bfc565b9050919050565b6000602082019050818103600083015261425381613c1f565b9050919050565b6000602082019050818103600083015261427381613c42565b9050919050565b6000602082019050818103600083015261429381613c65565b9050919050565b600060208201905081810360008301526142b381613c88565b9050919050565b600060208201905081810360008301526142d381613cab565b9050919050565b600060208201905081810360008301526142f381613cce565b9050919050565b6000602082019050818103600083015261431381613cf1565b9050919050565b6000602082019050818103600083015261433381613d14565b9050919050565b6000602082019050818103600083015261435381613d37565b9050919050565b6000602082019050818103600083015261437381613d7d565b9050919050565b6000602082019050818103600083015261439381613dc3565b9050919050565b600060208201905081810360008301526143b381613de6565b9050919050565b600060208201905081810360008301526143d381613e09565b9050919050565b600060208201905081810360008301526143f381613e2c565b9050919050565b6000602082019050818103600083015261441381613eb8565b9050919050565b6000602082019050818103600083015261443381613efe565b9050919050565b6000602082019050818103600083015261445381613f21565b9050919050565b6000602082019050818103600083015261447381613f44565b9050919050565b600060208201905061448f6000830184613f67565b92915050565b60006020820190506144aa6000830184613f85565b92915050565b60006144ba6144cb565b90506144c682826147d3565b919050565b6000604051905090565b600067ffffffffffffffff8211156144f0576144ef614965565b5b6144f9826149a8565b9050602081019050919050565b600067ffffffffffffffff82111561452157614520614965565b5b61452a826149a8565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006145d382614755565b91506145de83614755565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614613576146126148a9565b5b828201905092915050565b600061462982614755565b915061463483614755565b925082614644576146436148d8565b5b828204905092915050565b600061465a82614755565b915061466583614755565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561469e5761469d6148a9565b5b828202905092915050565b60006146b482614755565b91506146bf83614755565b9250828210156146d2576146d16148a9565b5b828203905092915050565b60006146e882614735565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561478c578082015181840152602081019050614771565b8381111561479b576000848401525b50505050565b600060028204905060018216806147b957607f821691505b602082108114156147cd576147cc614907565b5b50919050565b6147dc826149a8565b810181811067ffffffffffffffff821117156147fb576147fa614965565b5b80604052505050565b600061480f82614727565b915061ffff821415614824576148236148a9565b5b600182019050919050565b600061483a82614755565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561486d5761486c6148a9565b5b600182019050919050565b600061488382614755565b915061488e83614755565b92508261489e5761489d6148d8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d65676f5469636b6574733a204d696e74696e672061206e6f6e2d657869737460008201527f656e742074696572000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600082015250565b7f222c202261747472696275746573223a205b0000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d65676f5469636b6574733a204d617820737570706c79207265616368656400600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d65676f5469636b6574733a204f6e6c792070726f78792063616e206d696e74600082015250565b7f7b2274726169745f74797065223a202254494552222c202276616c7565223a2060008201527f2200000000000000000000000000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b7f5d7d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d65676f5469636b6574733a2054696572206973206e6f742061637469766500600082015250565b7f43616e2774206d616e616765207468697320746965722e000000000000000000600082015250565b6150a7816146dd565b81146150b257600080fd5b50565b6150be816146ef565b81146150c957600080fd5b50565b6150d5816146fb565b81146150e057600080fd5b50565b6150ec81614727565b81146150f757600080fd5b50565b61510381614755565b811461510e57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220886f48c4a65b287a112c9205326934741c4d696a7abb79d249ca7b565b79f0b364736f6c63430008060033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000004484e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004484e465400000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd14610559578063e985e9c514610589578063f2fde38b146105b9578063f3f4962b146105d5576101da565b8063a22cb465146104cf578063b88d4fde146104eb578063ba7aef4314610507578063c2b07a3814610523576101da565b80638456cb59116100de5780638456cb59146104595780638462151c146104635780638da5cb5b1461049357806395d89b41146104b1576101da565b806370a0823114610403578063715018a61461043357806380a1a47d1461043d576101da565b8063234438941161017c57806342842e0e1161014b57806342842e0e1461037d5780635ae7a082146103995780635c975abb146103b55780636352211e146103d3576101da565b806323443894146102f757806323b872dd146103275780633641f592146103435780633f4ba83a14610373576101da565b8063095ea7b3116101b8578063095ea7b31461025d57806310062e101461027957806318160ddd146102a957806322a7de71146102c7576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f491906137a7565b610605565b60405161020691906140f9565b60405180910390f35b6102176106e7565b6040516102249190614198565b60405180910390f35b61024760048036038101906102429190613947565b610779565b6040516102549190614070565b60405180910390f35b61027760048036038101906102729190613767565b6107fe565b005b610293600480360381019061028e9190613575565b610916565b6040516102a091906140f9565b60405180910390f35b6102b1610936565b6040516102be9190614495565b60405180910390f35b6102e160048036038101906102dc9190613947565b610940565b6040516102ee9190614198565b60405180910390f35b610311600480360381019061030c9190613801565b6109e0565b60405161031e919061447a565b60405180910390f35b610341600480360381019061033c91906135e2565b610c47565b005b61035d60048036038101906103589190613801565b610ca7565b60405161036a91906140f9565b60405180910390f35b61037b610f0e565b005b610397600480360381019061039291906135e2565b610faf565b005b6103b360048036038101906103ae919061384a565b610fcf565b005b6103bd611213565b6040516103ca91906140f9565b60405180910390f35b6103ed60048036038101906103e89190613947565b61122a565b6040516103fa9190614070565b60405180910390f35b61041d60048036038101906104189190613575565b6112dc565b60405161042a9190614495565b60405180910390f35b61043b611394565b005b610457600480360381019061045291906136b8565b61141c565b005b6104616114f3565b005b61047d60048036038101906104789190613575565b611594565b60405161048a91906140d7565b60405180910390f35b61049b6116f2565b6040516104a89190614070565b60405180910390f35b6104b961171c565b6040516104c69190614198565b60405180910390f35b6104e960048036038101906104e491906136b8565b6117ae565b005b61050560048036038101906105009190613635565b6117c4565b005b610521600480360381019061051c91906136f8565b611826565b005b61053d60048036038101906105389190613801565b611b8d565b6040516105509796959493929190614114565b60405180910390f35b610573600480360381019061056e9190613947565b611db3565b6040516105809190614198565b60405180910390f35b6105a3600480360381019061059e91906135a2565b612130565b6040516105b091906140f9565b60405180910390f35b6105d360048036038101906105ce9190613575565b6121c4565b005b6105ef60048036038101906105ea9190613947565b6122bc565b6040516105fc9190614198565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e057506106df8261235c565b5b9050919050565b6060600080546106f6906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610722906147a1565b801561076f5780601f106107445761010080835404028352916020019161076f565b820191906000526020600020905b81548152906001019060200180831161075257829003601f168201915b5050505050905090565b6000610784826123c6565b6107c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ba9061437a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108098261122a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561087a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610871906143fa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610899612432565b73ffffffffffffffffffffffffffffffffffffffff1614806108c857506108c7816108c2612432565b612130565b5b610907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fe906142fa565b60405180910390fd5b610911838361243a565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000600754905090565b6009602052806000526040600020600091509050805461095f906147a1565b80601f016020809104026020016040519081016040528092919081815260200182805461098b906147a1565b80156109d85780601f106109ad576101008083540402835291602001916109d8565b820191906000526020600020905b8154815290600101906020018083116109bb57829003601f168201915b505050505081565b6000806008836040516109f39190613f94565b90815260200160405180910390206040518060e00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff16151515158152602001600182018054610a52906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7e906147a1565b8015610acb5780601f10610aa057610100808354040283529160200191610acb565b820191906000526020600020905b815481529060010190602001808311610aae57829003601f168201915b50505050508152602001600282018054610ae4906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610b10906147a1565b8015610b5d5780601f10610b3257610100808354040283529160200191610b5d565b820191906000526020600020905b815481529060010190602001808311610b4057829003601f168201915b50505050508152602001600382018054610b76906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba2906147a1565b8015610bef5780601f10610bc457610100808354040283529160200191610bef565b820191906000526020600020905b815481529060010190602001808311610bd257829003601f168201915b505050505081526020016004820160009054906101000a900461ffff1661ffff1661ffff1681526020016004820160029054906101000a900461ffff1661ffff1661ffff168152505090508060a00151915050919050565b610c58610c52612432565b826124f3565b610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e9061441a565b60405180910390fd5b610ca28383836125d1565b505050565b600080600883604051610cba9190613f94565b90815260200160405180910390206040518060e00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff16151515158152602001600182018054610d19906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610d45906147a1565b8015610d925780601f10610d6757610100808354040283529160200191610d92565b820191906000526020600020905b815481529060010190602001808311610d7557829003601f168201915b50505050508152602001600282018054610dab906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd7906147a1565b8015610e245780601f10610df957610100808354040283529160200191610e24565b820191906000526020600020905b815481529060010190602001808311610e0757829003601f168201915b50505050508152602001600382018054610e3d906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610e69906147a1565b8015610eb65780601f10610e8b57610100808354040283529160200191610eb6565b820191906000526020600020905b815481529060010190602001808311610e9957829003601f168201915b505050505081526020016004820160009054906101000a900461ffff1661ffff1661ffff1681526020016004820160029054906101000a900461ffff1661ffff1661ffff168152505090508060200151915050919050565b610f16612432565b73ffffffffffffffffffffffffffffffffffffffff16610f346116f2565b73ffffffffffffffffffffffffffffffffffffffff1614610f8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f81906143ba565b60405180910390fd5b610f92612838565b6000600c60006101000a81548160ff021916908315150217905550565b610fca838383604051806020016040528060008152506117c4565b505050565b610fd7612432565b73ffffffffffffffffffffffffffffffffffffffff16610ff56116f2565b73ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611042906143ba565b60405180910390fd5b60088660405161105b9190613f94565b908152602001604051809103902060000160009054906101000a900460ff16156110ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b19061445a565b60405180910390fd5b60016008876040516110cc9190613f94565b908152602001604051809103902060000160006101000a81548160ff021916908315150217905550846008876040516111059190613f94565b90815260200160405180910390206001019080519060200190611129929190613374565b508360088760405161113b9190613f94565b9081526020016040518091039020600201908051906020019061115f929190613374565b50826008876040516111719190613f94565b90815260200160405180910390206003019080519060200190611195929190613374565b50816008876040516111a79190613f94565b908152602001604051809103902060040160026101000a81548161ffff021916908361ffff160217905550806008876040516111e39190613f94565b908152602001604051809103902060000160016101000a81548160ff021916908315150217905550505050505050565b6000600660149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ca9061433a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561134d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113449061431a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61139c612432565b73ffffffffffffffffffffffffffffffffffffffff166113ba6116f2565b73ffffffffffffffffffffffffffffffffffffffff1614611410576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611407906143ba565b60405180910390fd5b61141a60006128da565b565b611424612432565b73ffffffffffffffffffffffffffffffffffffffff166114426116f2565b73ffffffffffffffffffffffffffffffffffffffff1614611498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148f906143ba565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6114fb612432565b73ffffffffffffffffffffffffffffffffffffffff166115196116f2565b73ffffffffffffffffffffffffffffffffffffffff161461156f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611566906143ba565b60405180910390fd5b6115776129a0565b6001600c60006101000a81548160ff021916908315150217905550565b606060006115a1836112dc565b905060008114156115fe57600067ffffffffffffffff8111156115c7576115c6614965565b5b6040519080825280602002602001820160405280156115f55781602001602082028036833780820191505090505b509150506116ed565b60008167ffffffffffffffff81111561161a57611619614965565b5b6040519080825280602002602001820160405280156116485781602001602082028036833780820191505090505b5090506000611655610936565b9050600080600190505b8281116116e4578673ffffffffffffffffffffffffffffffffffffffff166116868261122a565b73ffffffffffffffffffffffffffffffffffffffff1614156116d157808483815181106116b6576116b5614936565b5b60200260200101818152505081806116cd9061482f565b9250505b80806116dc9061482f565b91505061165f565b83955050505050505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461172b906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611757906147a1565b80156117a45780601f10611779576101008083540402835291602001916117a4565b820191906000526020600020905b81548152906001019060200180831161178757829003601f168201915b5050505050905090565b6117c06117b9612432565b8383612a43565b5050565b6117d56117cf612432565b836124f3565b611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b9061441a565b60405180910390fd5b61182084848484612bb0565b50505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166118b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a9906143da565b60405180910390fd5b6008826040516118c29190613f94565b908152602001604051809103902060000160009054906101000a900460ff16611920576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611917906141ba565b60405180910390fd5b6008826040516119309190613f94565b908152602001604051809103902060000160019054906101000a900460ff1661198e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119859061443a565b60405180910390fd5b60088260405161199e9190613f94565b908152602001604051809103902060040160029054906101000a900461ffff1661ffff16816008846040516119d39190613f94565b908152602001604051809103902060040160009054906101000a900461ffff1661ffff16611a0191906145c8565b1115611a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a399061439a565b60405180910390fd5b6000600883604051611a549190613f94565b9081526020016040518091039020905060005b82811015611b8657600160076000828254611a8291906145c8565b925050819055506000600754905082600401600081819054906101000a900461ffff1680929190611ab290614804565b91906101000a81548161ffff021916908361ffff16021790555050611aec8360040160009054906101000a900461ffff1661ffff16612c0c565b600a60008381526020019081526020016000209080519060200190611b12929190613374565b5084600960008381526020019081526020016000209080519060200190611b3a929190613374565b50611b458682612d6d565b807f176b02bb2d12439ff7a20b59f402cca16c76f50508b13ef3166a600eb719354a60405160405180910390a2508080611b7e9061482f565b915050611a67565b5050505050565b6008818051602081018201805184825260208301602085012081835280955050505050506000915090508060000160009054906101000a900460ff16908060000160019054906101000a900460ff1690806001018054611bec906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611c18906147a1565b8015611c655780601f10611c3a57610100808354040283529160200191611c65565b820191906000526020600020905b815481529060010190602001808311611c4857829003601f168201915b505050505090806002018054611c7a906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611ca6906147a1565b8015611cf35780601f10611cc857610100808354040283529160200191611cf3565b820191906000526020600020905b815481529060010190602001808311611cd657829003601f168201915b505050505090806003018054611d08906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611d34906147a1565b8015611d815780601f10611d5657610100808354040283529160200191611d81565b820191906000526020600020905b815481529060010190602001808311611d6457829003601f168201915b5050505050908060040160009054906101000a900461ffff16908060040160029054906101000a900461ffff16905087565b60606000600960008481526020019081526020016000208054611dd5906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611e01906147a1565b8015611e4e5780601f10611e2357610100808354040283529160200191611e4e565b820191906000526020600020905b815481529060010190602001808311611e3157829003601f168201915b505050505090506000600882604051611e679190613f94565b90815260200160405180910390206040518060e00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff16151515158152602001600182018054611ec6906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611ef2906147a1565b8015611f3f5780601f10611f1457610100808354040283529160200191611f3f565b820191906000526020600020905b815481529060010190602001808311611f2257829003601f168201915b50505050508152602001600282018054611f58906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611f84906147a1565b8015611fd15780601f10611fa657610100808354040283529160200191611fd1565b820191906000526020600020905b815481529060010190602001808311611fb457829003601f168201915b50505050508152602001600382018054611fea906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054612016906147a1565b80156120635780601f1061203857610100808354040283529160200191612063565b820191906000526020600020905b81548152906001019060200180831161204657829003601f168201915b505050505081526020016004820160009054906101000a900461ffff1661ffff1661ffff1681526020016004820160029054906101000a900461ffff1661ffff1661ffff1681525050905060006120fe8260400151600a600088815260200190815260200160002084606001518560800151876040516020016120ea959493929190613fab565b604051602081830303815290604052612d8b565b9050600081604051602001612113919061404e565b604051602081830303815290604052905080945050505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121cc612432565b73ffffffffffffffffffffffffffffffffffffffff166121ea6116f2565b73ffffffffffffffffffffffffffffffffffffffff1614612240576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612237906143ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a79061421a565b60405180910390fd5b6122b9816128da565b50565b600a60205280600052604060002060009150905080546122db906147a1565b80601f0160208091040260200160405190810160405280929190818152602001828054612307906147a1565b80156123545780601f1061232957610100808354040283529160200191612354565b820191906000526020600020905b81548152906001019060200180831161233757829003601f168201915b505050505081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124ad8361122a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006124fe826123c6565b61253d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612534906142ba565b60405180910390fd5b60006125488361122a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061258a57506125898185612130565b5b806125c857508373ffffffffffffffffffffffffffffffffffffffff166125b084610779565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125f18261122a565b73ffffffffffffffffffffffffffffffffffffffff1614612647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263e9061423a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ae9061427a565b60405180910390fd5b6126c2838383612f23565b6126cd60008261243a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461271d91906146a9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461277491906145c8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612833838383612f7b565b505050565b612840611213565b61287f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612876906141da565b60405180910390fd5b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6128c3612432565b6040516128d09190614070565b60405180910390a1565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129a8611213565b156129e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129df906142da565b60405180910390fd5b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612a2c612432565b604051612a399190614070565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa99061429a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ba391906140f9565b60405180910390a3505050565b612bbb8484846125d1565b612bc784848484612f80565b612c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfd906141fa565b60405180910390fd5b50505050565b60606000821415612c54576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d68565b600082905060005b60008214612c86578080612c6f9061482f565b915050600a82612c7f919061461e565b9150612c5c565b60008167ffffffffffffffff811115612ca257612ca1614965565b5b6040519080825280601f01601f191660200182016040528015612cd45781602001600182028036833780820191505090505b5090505b60008514612d6157600182612ced91906146a9565b9150600a85612cfc9190614878565b6030612d0891906145c8565b60f81b818381518110612d1e57612d1d614936565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d5a919061461e565b9450612cd8565b8093505050505b919050565b612d87828260405180602001604052806000815250613117565b5050565b60606000825190506000811415612db45760405180602001604052806000815250915050612f1e565b60006003600283612dc591906145c8565b612dcf919061461e565b6004612ddb919061464f565b90506000602082612dec91906145c8565b67ffffffffffffffff811115612e0557612e04614965565b5b6040519080825280601f01601f191660200182016040528015612e375781602001600182028036833780820191505090505b5090506000604051806060016040528060408152602001615112604091399050600181016020830160005b86811015612edb5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612e62565b506003860660018114612ef55760028114612f0557612f10565b613d3d60f01b6002830352612f10565b603d60f81b60018303525b508484525050819450505050505b919050565b612f2b611213565b15612f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f62906142da565b60405180910390fd5b612f76838383613172565b505050565b505050565b6000612fa18473ffffffffffffffffffffffffffffffffffffffff16613177565b1561310a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fca612432565b8786866040518563ffffffff1660e01b8152600401612fec949392919061408b565b602060405180830381600087803b15801561300657600080fd5b505af192505050801561303757506040513d601f19601f8201168201806040525081019061303491906137d4565b60015b6130ba573d8060008114613067576040519150601f19603f3d011682016040523d82523d6000602084013e61306c565b606091505b506000815114156130b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a9906141fa565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061310f565b600190505b949350505050565b613121838361319a565b61312e6000848484612f80565b61316d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613164906141fa565b60405180910390fd5b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561320a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132019061435a565b60405180910390fd5b613213816123c6565b15613253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324a9061425a565b60405180910390fd5b61325f60008383612f23565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132af91906145c8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461337060008383612f7b565b5050565b828054613380906147a1565b90600052602060002090601f0160209004810192826133a257600085556133e9565b82601f106133bb57805160ff19168380011785556133e9565b828001600101855582156133e9579182015b828111156133e85782518255916020019190600101906133cd565b5b5090506133f691906133fa565b5090565b5b808211156134135760008160009055506001016133fb565b5090565b600061342a613425846144d5565b6144b0565b90508281526020810184848401111561344657613445614999565b5b61345184828561475f565b509392505050565b600061346c61346784614506565b6144b0565b90508281526020810184848401111561348857613487614999565b5b61349384828561475f565b509392505050565b6000813590506134aa8161509e565b92915050565b6000813590506134bf816150b5565b92915050565b6000813590506134d4816150cc565b92915050565b6000815190506134e9816150cc565b92915050565b600082601f83011261350457613503614994565b5b8135613514848260208601613417565b91505092915050565b600082601f83011261353257613531614994565b5b8135613542848260208601613459565b91505092915050565b60008135905061355a816150e3565b92915050565b60008135905061356f816150fa565b92915050565b60006020828403121561358b5761358a6149a3565b5b60006135998482850161349b565b91505092915050565b600080604083850312156135b9576135b86149a3565b5b60006135c78582860161349b565b92505060206135d88582860161349b565b9150509250929050565b6000806000606084860312156135fb576135fa6149a3565b5b60006136098682870161349b565b935050602061361a8682870161349b565b925050604061362b86828701613560565b9150509250925092565b6000806000806080858703121561364f5761364e6149a3565b5b600061365d8782880161349b565b945050602061366e8782880161349b565b935050604061367f87828801613560565b925050606085013567ffffffffffffffff8111156136a05761369f61499e565b5b6136ac878288016134ef565b91505092959194509250565b600080604083850312156136cf576136ce6149a3565b5b60006136dd8582860161349b565b92505060206136ee858286016134b0565b9150509250929050565b600080600060608486031215613711576137106149a3565b5b600061371f8682870161349b565b935050602084013567ffffffffffffffff8111156137405761373f61499e565b5b61374c8682870161351d565b925050604061375d86828701613560565b9150509250925092565b6000806040838503121561377e5761377d6149a3565b5b600061378c8582860161349b565b925050602061379d85828601613560565b9150509250929050565b6000602082840312156137bd576137bc6149a3565b5b60006137cb848285016134c5565b91505092915050565b6000602082840312156137ea576137e96149a3565b5b60006137f8848285016134da565b91505092915050565b600060208284031215613817576138166149a3565b5b600082013567ffffffffffffffff8111156138355761383461499e565b5b6138418482850161351d565b91505092915050565b60008060008060008060c08789031215613867576138666149a3565b5b600087013567ffffffffffffffff8111156138855761388461499e565b5b61389189828a0161351d565b965050602087013567ffffffffffffffff8111156138b2576138b161499e565b5b6138be89828a0161351d565b955050604087013567ffffffffffffffff8111156138df576138de61499e565b5b6138eb89828a0161351d565b945050606087013567ffffffffffffffff81111561390c5761390b61499e565b5b61391889828a0161351d565b935050608061392989828a0161354b565b92505060a061393a89828a016134b0565b9150509295509295509295565b60006020828403121561395d5761395c6149a3565b5b600061396b84828501613560565b91505092915050565b60006139808383613f76565b60208301905092915050565b613995816146dd565b82525050565b60006139a68261455c565b6139b0818561458a565b93506139bb83614537565b8060005b838110156139ec5781516139d38882613974565b97506139de8361457d565b9250506001810190506139bf565b5085935050505092915050565b613a02816146ef565b82525050565b6000613a1382614567565b613a1d818561459b565b9350613a2d81856020860161476e565b613a36816149a8565b840191505092915050565b6000613a4c82614572565b613a5681856145ac565b9350613a6681856020860161476e565b613a6f816149a8565b840191505092915050565b6000613a8582614572565b613a8f81856145bd565b9350613a9f81856020860161476e565b80840191505092915050565b60008154613ab8816147a1565b613ac281866145bd565b94506001821660008114613add5760018114613aee57613b21565b60ff19831686528186019350613b21565b613af785614547565b60005b83811015613b1957815481890152600182019150602081019050613afa565b838801955050505b50505092915050565b6000613b376028836145ac565b9150613b42826149b9565b604082019050919050565b6000613b5a6014836145ac565b9150613b6582614a08565b602082019050919050565b6000613b7d6013836145bd565b9150613b8882614a31565b601382019050919050565b6000613ba06012836145bd565b9150613bab82614a5a565b601282019050919050565b6000613bc36032836145ac565b9150613bce82614a83565b604082019050919050565b6000613be66002836145bd565b9150613bf182614ad2565b600282019050919050565b6000613c096026836145ac565b9150613c1482614afb565b604082019050919050565b6000613c2c6025836145ac565b9150613c3782614b4a565b604082019050919050565b6000613c4f601c836145ac565b9150613c5a82614b99565b602082019050919050565b6000613c726024836145ac565b9150613c7d82614bc2565b604082019050919050565b6000613c956019836145ac565b9150613ca082614c11565b602082019050919050565b6000613cb8602c836145ac565b9150613cc382614c3a565b604082019050919050565b6000613cdb6010836145ac565b9150613ce682614c89565b602082019050919050565b6000613cfe6038836145ac565b9150613d0982614cb2565b604082019050919050565b6000613d21602a836145ac565b9150613d2c82614d01565b604082019050919050565b6000613d446029836145ac565b9150613d4f82614d50565b604082019050919050565b6000613d676002836145bd565b9150613d7282614d9f565b600282019050919050565b6000613d8a6020836145ac565b9150613d9582614dc8565b602082019050919050565b6000613dad600d836145bd565b9150613db882614df1565b600d82019050919050565b6000613dd0602c836145ac565b9150613ddb82614e1a565b604082019050919050565b6000613df3601f836145ac565b9150613dfe82614e69565b602082019050919050565b6000613e166020836145ac565b9150613e2182614e92565b602082019050919050565b6000613e396020836145ac565b9150613e4482614ebb565b602082019050919050565b6000613e5c6021836145bd565b9150613e6782614ee4565b602182019050919050565b6000613e7f600a836145bd565b9150613e8a82614f33565b600a82019050919050565b6000613ea26002836145bd565b9150613ead82614f5c565b600282019050919050565b6000613ec56021836145ac565b9150613ed082614f85565b604082019050919050565b6000613ee8601d836145bd565b9150613ef382614fd4565b601d82019050919050565b6000613f0b6031836145ac565b9150613f1682614ffd565b604082019050919050565b6000613f2e601f836145ac565b9150613f398261504c565b602082019050919050565b6000613f516017836145ac565b9150613f5c82615075565b602082019050919050565b613f7081614727565b82525050565b613f7f81614755565b82525050565b613f8e81614755565b82525050565b6000613fa08284613a7a565b915081905092915050565b6000613fb682613e72565b9150613fc28288613a7a565b9150613fcd82613bd9565b9150613fd98287613aab565b9150613fe482613b70565b9150613ff08286613a7a565b9150613ffb82613da0565b91506140078285613a7a565b915061401282613b93565b915061401d82613e4f565b91506140298284613a7a565b915061403482613d5a565b915061403f82613e95565b91508190509695505050505050565b600061405982613edb565b91506140658284613a7a565b915081905092915050565b6000602082019050614085600083018461398c565b92915050565b60006080820190506140a0600083018761398c565b6140ad602083018661398c565b6140ba6040830185613f85565b81810360608301526140cc8184613a08565b905095945050505050565b600060208201905081810360008301526140f1818461399b565b905092915050565b600060208201905061410e60008301846139f9565b92915050565b600060e082019050614129600083018a6139f9565b61413660208301896139f9565b81810360408301526141488188613a41565b9050818103606083015261415c8187613a41565b905081810360808301526141708186613a41565b905061417f60a0830185613f67565b61418c60c0830184613f67565b98975050505050505050565b600060208201905081810360008301526141b28184613a41565b905092915050565b600060208201905081810360008301526141d381613b2a565b9050919050565b600060208201905081810360008301526141f381613b4d565b9050919050565b6000602082019050818103600083015261421381613bb6565b9050919050565b6000602082019050818103600083015261423381613bfc565b9050919050565b6000602082019050818103600083015261425381613c1f565b9050919050565b6000602082019050818103600083015261427381613c42565b9050919050565b6000602082019050818103600083015261429381613c65565b9050919050565b600060208201905081810360008301526142b381613c88565b9050919050565b600060208201905081810360008301526142d381613cab565b9050919050565b600060208201905081810360008301526142f381613cce565b9050919050565b6000602082019050818103600083015261431381613cf1565b9050919050565b6000602082019050818103600083015261433381613d14565b9050919050565b6000602082019050818103600083015261435381613d37565b9050919050565b6000602082019050818103600083015261437381613d7d565b9050919050565b6000602082019050818103600083015261439381613dc3565b9050919050565b600060208201905081810360008301526143b381613de6565b9050919050565b600060208201905081810360008301526143d381613e09565b9050919050565b600060208201905081810360008301526143f381613e2c565b9050919050565b6000602082019050818103600083015261441381613eb8565b9050919050565b6000602082019050818103600083015261443381613efe565b9050919050565b6000602082019050818103600083015261445381613f21565b9050919050565b6000602082019050818103600083015261447381613f44565b9050919050565b600060208201905061448f6000830184613f67565b92915050565b60006020820190506144aa6000830184613f85565b92915050565b60006144ba6144cb565b90506144c682826147d3565b919050565b6000604051905090565b600067ffffffffffffffff8211156144f0576144ef614965565b5b6144f9826149a8565b9050602081019050919050565b600067ffffffffffffffff82111561452157614520614965565b5b61452a826149a8565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006145d382614755565b91506145de83614755565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614613576146126148a9565b5b828201905092915050565b600061462982614755565b915061463483614755565b925082614644576146436148d8565b5b828204905092915050565b600061465a82614755565b915061466583614755565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561469e5761469d6148a9565b5b828202905092915050565b60006146b482614755565b91506146bf83614755565b9250828210156146d2576146d16148a9565b5b828203905092915050565b60006146e882614735565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561478c578082015181840152602081019050614771565b8381111561479b576000848401525b50505050565b600060028204905060018216806147b957607f821691505b602082108114156147cd576147cc614907565b5b50919050565b6147dc826149a8565b810181811067ffffffffffffffff821117156147fb576147fa614965565b5b80604052505050565b600061480f82614727565b915061ffff821415614824576148236148a9565b5b600182019050919050565b600061483a82614755565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561486d5761486c6148a9565b5b600182019050919050565b600061488382614755565b915061488e83614755565b92508261489e5761489d6148d8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d65676f5469636b6574733a204d696e74696e672061206e6f6e2d657869737460008201527f656e742074696572000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600082015250565b7f222c202261747472696275746573223a205b0000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f2023000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d65676f5469636b6574733a204d617820737570706c79207265616368656400600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d65676f5469636b6574733a204f6e6c792070726f78792063616e206d696e74600082015250565b7f7b2274726169745f74797065223a202254494552222c202276616c7565223a2060008201527f2200000000000000000000000000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b7f5d7d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d65676f5469636b6574733a2054696572206973206e6f742061637469766500600082015250565b7f43616e2774206d616e616765207468697320746965722e000000000000000000600082015250565b6150a7816146dd565b81146150b257600080fd5b50565b6150be816146ef565b81146150c957600080fd5b50565b6150d5816146fb565b81146150e057600080fd5b50565b6150ec81614727565b81146150f757600080fd5b50565b61510381614755565b811461510e57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220886f48c4a65b287a112c9205326934741c4d696a7abb79d249ca7b565b79f0b364736f6c63430008060033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000004484e4654000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004484e465400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): HNFT
Arg [1] : _ticker (string): HNFT

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 484e465400000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 484e465400000000000000000000000000000000000000000000000000000000


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.