ETH Price: $3,384.40 (+0.81%)

Token

AxoNinjas (AXN)
 

Overview

Max Total Supply

0 AXN

Holders

53

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
3fm.eth
Balance
1 AXN
0x3432B45B9ee95BD5C31a726B936CF2ec719A2153
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:
BubbleheadNinjas

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

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

contract BubbleheadNinjas is ERC721, Ownable
{
    using Strings for string;

    uint public constant MAX_TOKENS = 10000;
    uint public constant NUMBER_RESERVED_TOKENS = 35;
    uint256 public constant PRICE = 80000000000000000; //0.08 eth in wei

    bool public saleIsActive = false;

    uint public reservedTokensMinted = 0;
    uint public supply = 0;
    string private _baseTokenURI;

    constructor() ERC721("AxoNinjas", "AXN") {}

    function mintToken(uint256 amount) external payable
    {
        require(saleIsActive, "Sale must be active to mint");
        require(supply < MAX_TOKENS, "Sold out!");
        require(amount > 0 && amount <= 10, "Max 10 NFTs");
        require(supply + 1 <= MAX_TOKENS - (NUMBER_RESERVED_TOKENS - reservedTokensMinted), "Purchase would exceed max supply");
        require(msg.value >= PRICE, "Not enough ETH for transaction");

        _safeMint(msg.sender, supply);
        supply++;
    }

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

    function mintReservedTokens(uint256 amount) external onlyOwner
    {
        require(reservedTokensMinted + amount <= NUMBER_RESERVED_TOKENS, "This amount is more than max allowed");

        for (uint i = 0; i < amount; i++)
        {
            _safeMint(owner(), supply);
            supply++;
            reservedTokensMinted++;
        }
    }

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

    ////
    //URI management part
    ////

    function _setBaseURI(string memory baseURI) internal virtual {
        _baseTokenURI = baseURI;
    }

    function _baseURI() internal view override returns (string memory) {
        return _baseTokenURI;
    }

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

    function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
        string memory _tokenURI = super.tokenURI(tokenId);
        return bytes(_tokenURI).length > 0 ? string(abi.encodePacked(_tokenURI, ".json")) : "";
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 7 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUMBER_RESERVED_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint256","name":"amount","type":"uint256"}],"name":"mintReservedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedTokensMinted","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600660146101000a81548160ff021916908315150217905550600060075560006008553480156200003657600080fd5b506040518060400160405280600981526020017f41786f4e696e6a617300000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f41584e00000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb929190620001cb565b508060019080519060200190620000d4929190620001cb565b505050620000f7620000eb620000fd60201b60201c565b6200010560201b60201c565b620002e0565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001d9906200027b565b90600052602060002090601f016020900481019282620001fd576000855562000249565b82601f106200021857805160ff191683800117855562000249565b8280016001018555821562000249579182015b82811115620002485782518255916020019190600101906200022b565b5b5090506200025891906200025c565b5090565b5b80821115620002775760008160009055506001016200025d565b5090565b600060028204905060018216806200029457607f821691505b60208210811415620002ab57620002aa620002b1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61389280620002f06000396000f3fe60806040526004361061019c5760003560e01c80637d5cb4e5116100ec578063c634d0321161008a578063eb8d244411610064578063eb8d244414610591578063f2fde38b146105bc578063f3e38821146105e5578063f47c84c5146106105761019c565b8063c634d032146104fb578063c87b56dd14610517578063e985e9c5146105545761019c565b806395d89b41116100c657806395d89b4114610453578063a22cb4651461047e578063b22edfbc146104a7578063b88d4fde146104d25761019c565b80637d5cb4e5146103d45780638d859f3e146103fd5780638da5cb5b146104285761019c565b806334918dfd1161015957806355f804b31161013357806355f804b31461031a5780636352211e1461034357806370a0823114610380578063715018a6146103bd5761019c565b806334918dfd146102c35780633ccfd60b146102da57806342842e0e146102f15761019c565b806301ffc9a7146101a1578063047fc9aa146101de57806306fdde0314610209578063081812fc14610234578063095ea7b31461027157806323b872dd1461029a575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c391906125b1565b61063b565b6040516101d59190612b23565b60405180910390f35b3480156101ea57600080fd5b506101f361071d565b6040516102009190612e20565b60405180910390f35b34801561021557600080fd5b5061021e610723565b60405161022b9190612b3e565b60405180910390f35b34801561024057600080fd5b5061025b60048036038101906102569190612654565b6107b5565b6040516102689190612abc565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612571565b61083a565b005b3480156102a657600080fd5b506102c160048036038101906102bc919061245b565b610952565b005b3480156102cf57600080fd5b506102d86109b2565b005b3480156102e657600080fd5b506102ef610a5a565b005b3480156102fd57600080fd5b506103186004803603810190610313919061245b565b610b25565b005b34801561032657600080fd5b50610341600480360381019061033c919061260b565b610b45565b005b34801561034f57600080fd5b5061036a60048036038101906103659190612654565b610bcd565b6040516103779190612abc565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a291906123ee565b610c7f565b6040516103b49190612e20565b60405180910390f35b3480156103c957600080fd5b506103d2610d37565b005b3480156103e057600080fd5b506103fb60048036038101906103f69190612654565b610dbf565b005b34801561040957600080fd5b50610412610ef1565b60405161041f9190612e20565b60405180910390f35b34801561043457600080fd5b5061043d610efd565b60405161044a9190612abc565b60405180910390f35b34801561045f57600080fd5b50610468610f27565b6040516104759190612b3e565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a09190612531565b610fb9565b005b3480156104b357600080fd5b506104bc61113a565b6040516104c99190612e20565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f491906124ae565b61113f565b005b61051560048036038101906105109190612654565b6111a1565b005b34801561052357600080fd5b5061053e60048036038101906105399190612654565b611364565b60405161054b9190612b3e565b60405180910390f35b34801561056057600080fd5b5061057b6004803603810190610576919061241b565b6113ba565b6040516105889190612b23565b60405180910390f35b34801561059d57600080fd5b506105a661144e565b6040516105b39190612b23565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de91906123ee565b611461565b005b3480156105f157600080fd5b506105fa611559565b6040516106079190612e20565b60405180910390f35b34801561061c57600080fd5b5061062561155f565b6040516106329190612e20565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061070657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610716575061071582611565565b5b9050919050565b60085481565b60606000805461073290613076565b80601f016020809104026020016040519081016040528092919081815260200182805461075e90613076565b80156107ab5780601f10610780576101008083540402835291602001916107ab565b820191906000526020600020905b81548152906001019060200180831161078e57829003601f168201915b5050505050905090565b60006107c0826115cf565b6107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f690612d00565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084582610bcd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ad90612d80565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108d561163b565b73ffffffffffffffffffffffffffffffffffffffff1614806109045750610903816108fe61163b565b6113ba565b5b610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093a90612c60565b60405180910390fd5b61094d8383611643565b505050565b61096361095d61163b565b826116fc565b6109a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099990612dc0565b60405180910390fd5b6109ad8383836117da565b505050565b6109ba61163b565b73ffffffffffffffffffffffffffffffffffffffff166109d8610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2590612d20565b60405180910390fd5b600660149054906101000a900460ff1615600660146101000a81548160ff021916908315150217905550565b610a6261163b565b73ffffffffffffffffffffffffffffffffffffffff16610a80610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acd90612d20565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b21573d6000803e3d6000fd5b5050565b610b408383836040518060200160405280600081525061113f565b505050565b610b4d61163b565b73ffffffffffffffffffffffffffffffffffffffff16610b6b610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb890612d20565b60405180910390fd5b610bca81611a36565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6d90612ca0565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790612c80565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d3f61163b565b73ffffffffffffffffffffffffffffffffffffffff16610d5d610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daa90612d20565b60405180910390fd5b610dbd6000611a50565b565b610dc761163b565b73ffffffffffffffffffffffffffffffffffffffff16610de5610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290612d20565b60405180910390fd5b602381600754610e4b9190612f05565b1115610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8390612b60565b60405180910390fd5b60005b81811015610eed57610eaa610ea2610efd565b600854611b16565b60086000815480929190610ebd906130d9565b919050555060076000815480929190610ed5906130d9565b91905055508080610ee5906130d9565b915050610e8f565b5050565b67011c37937e08000081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f3690613076565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6290613076565b8015610faf5780601f10610f8457610100808354040283529160200191610faf565b820191906000526020600020905b815481529060010190602001808311610f9257829003601f168201915b5050505050905090565b610fc161163b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561102f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102690612c00565b60405180910390fd5b806005600061103c61163b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110e961163b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161112e9190612b23565b60405180910390a35050565b602381565b61115061114a61163b565b836116fc565b61118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690612dc0565b60405180910390fd5b61119b84848484611b34565b50505050565b600660149054906101000a900460ff166111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e790612c20565b60405180910390fd5b61271060085410611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90612e00565b60405180910390fd5b6000811180156112475750600a8111155b611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90612de0565b60405180910390fd5b60075460236112959190612f8c565b6127106112a29190612f8c565b60016008546112b19190612f05565b11156112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e990612cc0565b60405180910390fd5b67011c37937e08000034101561133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490612da0565b60405180910390fd5b61134933600854611b16565b6008600081548092919061135c906130d9565b919050555050565b6060600061137183611b90565b9050600081511161139157604051806020016040528060008152506113b2565b806040516020016113a29190612a9a565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660149054906101000a900460ff1681565b61146961163b565b73ffffffffffffffffffffffffffffffffffffffff16611487610efd565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490612d20565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490612ba0565b60405180910390fd5b61155681611a50565b50565b60075481565b61271081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116b683610bcd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611707826115cf565b611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90612c40565b60405180910390fd5b600061175183610bcd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117c057508373ffffffffffffffffffffffffffffffffffffffff166117a8846107b5565b73ffffffffffffffffffffffffffffffffffffffff16145b806117d157506117d081856113ba565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166117fa82610bcd565b73ffffffffffffffffffffffffffffffffffffffff1614611850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184790612d40565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b790612be0565b60405180910390fd5b6118cb838383611c37565b6118d6600082611643565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119269190612f8c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197d9190612f05565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8060099080519060200190611a4c929190612202565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b30828260405180602001604052806000815250611c3c565b5050565b611b3f8484846117da565b611b4b84848484611c97565b611b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8190612b80565b60405180910390fd5b50505050565b6060611b9b826115cf565b611bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd190612d60565b60405180910390fd5b6000611be4611e2e565b90506000815111611c045760405180602001604052806000815250611c2f565b80611c0e84611ec0565b604051602001611c1f929190612a76565b6040516020818303038152906040525b915050919050565b505050565b611c468383612021565b611c536000848484611c97565b611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990612b80565b60405180910390fd5b505050565b6000611cb88473ffffffffffffffffffffffffffffffffffffffff166121ef565b15611e21578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ce161163b565b8786866040518563ffffffff1660e01b8152600401611d039493929190612ad7565b602060405180830381600087803b158015611d1d57600080fd5b505af1925050508015611d4e57506040513d601f19601f82011682018060405250810190611d4b91906125de565b60015b611dd1573d8060008114611d7e576040519150601f19603f3d011682016040523d82523d6000602084013e611d83565b606091505b50600081511415611dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc090612b80565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611e26565b600190505b949350505050565b606060098054611e3d90613076565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6990613076565b8015611eb65780601f10611e8b57610100808354040283529160200191611eb6565b820191906000526020600020905b815481529060010190602001808311611e9957829003601f168201915b5050505050905090565b60606000821415611f08576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061201c565b600082905060005b60008214611f3a578080611f23906130d9565b915050600a82611f339190612f5b565b9150611f10565b60008167ffffffffffffffff811115611f5657611f5561320f565b5b6040519080825280601f01601f191660200182016040528015611f885781602001600182028036833780820191505090505b5090505b6000851461201557600182611fa19190612f8c565b9150600a85611fb09190613122565b6030611fbc9190612f05565b60f81b818381518110611fd257611fd16131e0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561200e9190612f5b565b9450611f8c565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890612ce0565b60405180910390fd5b61209a816115cf565b156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d190612bc0565b60405180910390fd5b6120e660008383611c37565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121369190612f05565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461220e90613076565b90600052602060002090601f0160209004810192826122305760008555612277565b82601f1061224957805160ff1916838001178555612277565b82800160010185558215612277579182015b8281111561227657825182559160200191906001019061225b565b5b5090506122849190612288565b5090565b5b808211156122a1576000816000905550600101612289565b5090565b60006122b86122b384612e60565b612e3b565b9050828152602081018484840111156122d4576122d3613243565b5b6122df848285613034565b509392505050565b60006122fa6122f584612e91565b612e3b565b90508281526020810184848401111561231657612315613243565b5b612321848285613034565b509392505050565b60008135905061233881613800565b92915050565b60008135905061234d81613817565b92915050565b6000813590506123628161382e565b92915050565b6000815190506123778161382e565b92915050565b600082601f8301126123925761239161323e565b5b81356123a28482602086016122a5565b91505092915050565b600082601f8301126123c0576123bf61323e565b5b81356123d08482602086016122e7565b91505092915050565b6000813590506123e881613845565b92915050565b6000602082840312156124045761240361324d565b5b600061241284828501612329565b91505092915050565b600080604083850312156124325761243161324d565b5b600061244085828601612329565b925050602061245185828601612329565b9150509250929050565b6000806000606084860312156124745761247361324d565b5b600061248286828701612329565b935050602061249386828701612329565b92505060406124a4868287016123d9565b9150509250925092565b600080600080608085870312156124c8576124c761324d565b5b60006124d687828801612329565b94505060206124e787828801612329565b93505060406124f8878288016123d9565b925050606085013567ffffffffffffffff81111561251957612518613248565b5b6125258782880161237d565b91505092959194509250565b600080604083850312156125485761254761324d565b5b600061255685828601612329565b92505060206125678582860161233e565b9150509250929050565b600080604083850312156125885761258761324d565b5b600061259685828601612329565b92505060206125a7858286016123d9565b9150509250929050565b6000602082840312156125c7576125c661324d565b5b60006125d584828501612353565b91505092915050565b6000602082840312156125f4576125f361324d565b5b600061260284828501612368565b91505092915050565b6000602082840312156126215761262061324d565b5b600082013567ffffffffffffffff81111561263f5761263e613248565b5b61264b848285016123ab565b91505092915050565b60006020828403121561266a5761266961324d565b5b6000612678848285016123d9565b91505092915050565b61268a81612fc0565b82525050565b61269981612fd2565b82525050565b60006126aa82612ec2565b6126b48185612ed8565b93506126c4818560208601613043565b6126cd81613252565b840191505092915050565b60006126e382612ecd565b6126ed8185612ee9565b93506126fd818560208601613043565b61270681613252565b840191505092915050565b600061271c82612ecd565b6127268185612efa565b9350612736818560208601613043565b80840191505092915050565b600061274f602483612ee9565b915061275a82613263565b604082019050919050565b6000612772603283612ee9565b915061277d826132b2565b604082019050919050565b6000612795602683612ee9565b91506127a082613301565b604082019050919050565b60006127b8601c83612ee9565b91506127c382613350565b602082019050919050565b60006127db602483612ee9565b91506127e682613379565b604082019050919050565b60006127fe601983612ee9565b9150612809826133c8565b602082019050919050565b6000612821601b83612ee9565b915061282c826133f1565b602082019050919050565b6000612844602c83612ee9565b915061284f8261341a565b604082019050919050565b6000612867603883612ee9565b915061287282613469565b604082019050919050565b600061288a602a83612ee9565b9150612895826134b8565b604082019050919050565b60006128ad602983612ee9565b91506128b882613507565b604082019050919050565b60006128d0602083612ee9565b91506128db82613556565b602082019050919050565b60006128f3602083612ee9565b91506128fe8261357f565b602082019050919050565b6000612916602c83612ee9565b9150612921826135a8565b604082019050919050565b6000612939600583612efa565b9150612944826135f7565b600582019050919050565b600061295c602083612ee9565b915061296782613620565b602082019050919050565b600061297f602983612ee9565b915061298a82613649565b604082019050919050565b60006129a2602f83612ee9565b91506129ad82613698565b604082019050919050565b60006129c5602183612ee9565b91506129d0826136e7565b604082019050919050565b60006129e8601e83612ee9565b91506129f382613736565b602082019050919050565b6000612a0b603183612ee9565b9150612a168261375f565b604082019050919050565b6000612a2e600b83612ee9565b9150612a39826137ae565b602082019050919050565b6000612a51600983612ee9565b9150612a5c826137d7565b602082019050919050565b612a708161302a565b82525050565b6000612a828285612711565b9150612a8e8284612711565b91508190509392505050565b6000612aa68284612711565b9150612ab18261292c565b915081905092915050565b6000602082019050612ad16000830184612681565b92915050565b6000608082019050612aec6000830187612681565b612af96020830186612681565b612b066040830185612a67565b8181036060830152612b18818461269f565b905095945050505050565b6000602082019050612b386000830184612690565b92915050565b60006020820190508181036000830152612b5881846126d8565b905092915050565b60006020820190508181036000830152612b7981612742565b9050919050565b60006020820190508181036000830152612b9981612765565b9050919050565b60006020820190508181036000830152612bb981612788565b9050919050565b60006020820190508181036000830152612bd9816127ab565b9050919050565b60006020820190508181036000830152612bf9816127ce565b9050919050565b60006020820190508181036000830152612c19816127f1565b9050919050565b60006020820190508181036000830152612c3981612814565b9050919050565b60006020820190508181036000830152612c5981612837565b9050919050565b60006020820190508181036000830152612c798161285a565b9050919050565b60006020820190508181036000830152612c998161287d565b9050919050565b60006020820190508181036000830152612cb9816128a0565b9050919050565b60006020820190508181036000830152612cd9816128c3565b9050919050565b60006020820190508181036000830152612cf9816128e6565b9050919050565b60006020820190508181036000830152612d1981612909565b9050919050565b60006020820190508181036000830152612d398161294f565b9050919050565b60006020820190508181036000830152612d5981612972565b9050919050565b60006020820190508181036000830152612d7981612995565b9050919050565b60006020820190508181036000830152612d99816129b8565b9050919050565b60006020820190508181036000830152612db9816129db565b9050919050565b60006020820190508181036000830152612dd9816129fe565b9050919050565b60006020820190508181036000830152612df981612a21565b9050919050565b60006020820190508181036000830152612e1981612a44565b9050919050565b6000602082019050612e356000830184612a67565b92915050565b6000612e45612e56565b9050612e5182826130a8565b919050565b6000604051905090565b600067ffffffffffffffff821115612e7b57612e7a61320f565b5b612e8482613252565b9050602081019050919050565b600067ffffffffffffffff821115612eac57612eab61320f565b5b612eb582613252565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612f108261302a565b9150612f1b8361302a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f5057612f4f613153565b5b828201905092915050565b6000612f668261302a565b9150612f718361302a565b925082612f8157612f80613182565b5b828204905092915050565b6000612f978261302a565b9150612fa28361302a565b925082821015612fb557612fb4613153565b5b828203905092915050565b6000612fcb8261300a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613061578082015181840152602081019050613046565b83811115613070576000848401525b50505050565b6000600282049050600182168061308e57607f821691505b602082108114156130a2576130a16131b1565b5b50919050565b6130b182613252565b810181811067ffffffffffffffff821117156130d0576130cf61320f565b5b80604052505050565b60006130e48261302a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561311757613116613153565b5b600182019050919050565b600061312d8261302a565b91506131388361302a565b92508261314857613147613182565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5468697320616d6f756e74206973206d6f7265207468616e206d617820616c6c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682045544820666f72207472616e73616374696f6e0000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d6178203130204e465473000000000000000000000000000000000000000000600082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b61380981612fc0565b811461381457600080fd5b50565b61382081612fd2565b811461382b57600080fd5b50565b61383781612fde565b811461384257600080fd5b50565b61384e8161302a565b811461385957600080fd5b5056fea2646970667358221220780e6c307e1009a5a2102173e523255eebb8fa20f15843164ed7bdda4eff303f64736f6c63430008070033

Deployed Bytecode

0x60806040526004361061019c5760003560e01c80637d5cb4e5116100ec578063c634d0321161008a578063eb8d244411610064578063eb8d244414610591578063f2fde38b146105bc578063f3e38821146105e5578063f47c84c5146106105761019c565b8063c634d032146104fb578063c87b56dd14610517578063e985e9c5146105545761019c565b806395d89b41116100c657806395d89b4114610453578063a22cb4651461047e578063b22edfbc146104a7578063b88d4fde146104d25761019c565b80637d5cb4e5146103d45780638d859f3e146103fd5780638da5cb5b146104285761019c565b806334918dfd1161015957806355f804b31161013357806355f804b31461031a5780636352211e1461034357806370a0823114610380578063715018a6146103bd5761019c565b806334918dfd146102c35780633ccfd60b146102da57806342842e0e146102f15761019c565b806301ffc9a7146101a1578063047fc9aa146101de57806306fdde0314610209578063081812fc14610234578063095ea7b31461027157806323b872dd1461029a575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c391906125b1565b61063b565b6040516101d59190612b23565b60405180910390f35b3480156101ea57600080fd5b506101f361071d565b6040516102009190612e20565b60405180910390f35b34801561021557600080fd5b5061021e610723565b60405161022b9190612b3e565b60405180910390f35b34801561024057600080fd5b5061025b60048036038101906102569190612654565b6107b5565b6040516102689190612abc565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190612571565b61083a565b005b3480156102a657600080fd5b506102c160048036038101906102bc919061245b565b610952565b005b3480156102cf57600080fd5b506102d86109b2565b005b3480156102e657600080fd5b506102ef610a5a565b005b3480156102fd57600080fd5b506103186004803603810190610313919061245b565b610b25565b005b34801561032657600080fd5b50610341600480360381019061033c919061260b565b610b45565b005b34801561034f57600080fd5b5061036a60048036038101906103659190612654565b610bcd565b6040516103779190612abc565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a291906123ee565b610c7f565b6040516103b49190612e20565b60405180910390f35b3480156103c957600080fd5b506103d2610d37565b005b3480156103e057600080fd5b506103fb60048036038101906103f69190612654565b610dbf565b005b34801561040957600080fd5b50610412610ef1565b60405161041f9190612e20565b60405180910390f35b34801561043457600080fd5b5061043d610efd565b60405161044a9190612abc565b60405180910390f35b34801561045f57600080fd5b50610468610f27565b6040516104759190612b3e565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a09190612531565b610fb9565b005b3480156104b357600080fd5b506104bc61113a565b6040516104c99190612e20565b60405180910390f35b3480156104de57600080fd5b506104f960048036038101906104f491906124ae565b61113f565b005b61051560048036038101906105109190612654565b6111a1565b005b34801561052357600080fd5b5061053e60048036038101906105399190612654565b611364565b60405161054b9190612b3e565b60405180910390f35b34801561056057600080fd5b5061057b6004803603810190610576919061241b565b6113ba565b6040516105889190612b23565b60405180910390f35b34801561059d57600080fd5b506105a661144e565b6040516105b39190612b23565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de91906123ee565b611461565b005b3480156105f157600080fd5b506105fa611559565b6040516106079190612e20565b60405180910390f35b34801561061c57600080fd5b5061062561155f565b6040516106329190612e20565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061070657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610716575061071582611565565b5b9050919050565b60085481565b60606000805461073290613076565b80601f016020809104026020016040519081016040528092919081815260200182805461075e90613076565b80156107ab5780601f10610780576101008083540402835291602001916107ab565b820191906000526020600020905b81548152906001019060200180831161078e57829003601f168201915b5050505050905090565b60006107c0826115cf565b6107ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f690612d00565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084582610bcd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ad90612d80565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108d561163b565b73ffffffffffffffffffffffffffffffffffffffff1614806109045750610903816108fe61163b565b6113ba565b5b610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093a90612c60565b60405180910390fd5b61094d8383611643565b505050565b61096361095d61163b565b826116fc565b6109a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099990612dc0565b60405180910390fd5b6109ad8383836117da565b505050565b6109ba61163b565b73ffffffffffffffffffffffffffffffffffffffff166109d8610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2590612d20565b60405180910390fd5b600660149054906101000a900460ff1615600660146101000a81548160ff021916908315150217905550565b610a6261163b565b73ffffffffffffffffffffffffffffffffffffffff16610a80610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acd90612d20565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b21573d6000803e3d6000fd5b5050565b610b408383836040518060200160405280600081525061113f565b505050565b610b4d61163b565b73ffffffffffffffffffffffffffffffffffffffff16610b6b610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb890612d20565b60405180910390fd5b610bca81611a36565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6d90612ca0565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce790612c80565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d3f61163b565b73ffffffffffffffffffffffffffffffffffffffff16610d5d610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daa90612d20565b60405180910390fd5b610dbd6000611a50565b565b610dc761163b565b73ffffffffffffffffffffffffffffffffffffffff16610de5610efd565b73ffffffffffffffffffffffffffffffffffffffff1614610e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3290612d20565b60405180910390fd5b602381600754610e4b9190612f05565b1115610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8390612b60565b60405180910390fd5b60005b81811015610eed57610eaa610ea2610efd565b600854611b16565b60086000815480929190610ebd906130d9565b919050555060076000815480929190610ed5906130d9565b91905055508080610ee5906130d9565b915050610e8f565b5050565b67011c37937e08000081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610f3690613076565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6290613076565b8015610faf5780601f10610f8457610100808354040283529160200191610faf565b820191906000526020600020905b815481529060010190602001808311610f9257829003601f168201915b5050505050905090565b610fc161163b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561102f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102690612c00565b60405180910390fd5b806005600061103c61163b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166110e961163b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161112e9190612b23565b60405180910390a35050565b602381565b61115061114a61163b565b836116fc565b61118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690612dc0565b60405180910390fd5b61119b84848484611b34565b50505050565b600660149054906101000a900460ff166111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e790612c20565b60405180910390fd5b61271060085410611236576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122d90612e00565b60405180910390fd5b6000811180156112475750600a8111155b611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90612de0565b60405180910390fd5b60075460236112959190612f8c565b6127106112a29190612f8c565b60016008546112b19190612f05565b11156112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e990612cc0565b60405180910390fd5b67011c37937e08000034101561133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490612da0565b60405180910390fd5b61134933600854611b16565b6008600081548092919061135c906130d9565b919050555050565b6060600061137183611b90565b9050600081511161139157604051806020016040528060008152506113b2565b806040516020016113a29190612a9a565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660149054906101000a900460ff1681565b61146961163b565b73ffffffffffffffffffffffffffffffffffffffff16611487610efd565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490612d20565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561154d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154490612ba0565b60405180910390fd5b61155681611a50565b50565b60075481565b61271081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116b683610bcd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611707826115cf565b611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90612c40565b60405180910390fd5b600061175183610bcd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117c057508373ffffffffffffffffffffffffffffffffffffffff166117a8846107b5565b73ffffffffffffffffffffffffffffffffffffffff16145b806117d157506117d081856113ba565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166117fa82610bcd565b73ffffffffffffffffffffffffffffffffffffffff1614611850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184790612d40565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b790612be0565b60405180910390fd5b6118cb838383611c37565b6118d6600082611643565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119269190612f8c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197d9190612f05565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8060099080519060200190611a4c929190612202565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b30828260405180602001604052806000815250611c3c565b5050565b611b3f8484846117da565b611b4b84848484611c97565b611b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8190612b80565b60405180910390fd5b50505050565b6060611b9b826115cf565b611bda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd190612d60565b60405180910390fd5b6000611be4611e2e565b90506000815111611c045760405180602001604052806000815250611c2f565b80611c0e84611ec0565b604051602001611c1f929190612a76565b6040516020818303038152906040525b915050919050565b505050565b611c468383612021565b611c536000848484611c97565b611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990612b80565b60405180910390fd5b505050565b6000611cb88473ffffffffffffffffffffffffffffffffffffffff166121ef565b15611e21578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ce161163b565b8786866040518563ffffffff1660e01b8152600401611d039493929190612ad7565b602060405180830381600087803b158015611d1d57600080fd5b505af1925050508015611d4e57506040513d601f19601f82011682018060405250810190611d4b91906125de565b60015b611dd1573d8060008114611d7e576040519150601f19603f3d011682016040523d82523d6000602084013e611d83565b606091505b50600081511415611dc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc090612b80565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611e26565b600190505b949350505050565b606060098054611e3d90613076565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6990613076565b8015611eb65780601f10611e8b57610100808354040283529160200191611eb6565b820191906000526020600020905b815481529060010190602001808311611e9957829003601f168201915b5050505050905090565b60606000821415611f08576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061201c565b600082905060005b60008214611f3a578080611f23906130d9565b915050600a82611f339190612f5b565b9150611f10565b60008167ffffffffffffffff811115611f5657611f5561320f565b5b6040519080825280601f01601f191660200182016040528015611f885781602001600182028036833780820191505090505b5090505b6000851461201557600182611fa19190612f8c565b9150600a85611fb09190613122565b6030611fbc9190612f05565b60f81b818381518110611fd257611fd16131e0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561200e9190612f5b565b9450611f8c565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890612ce0565b60405180910390fd5b61209a816115cf565b156120da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d190612bc0565b60405180910390fd5b6120e660008383611c37565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121369190612f05565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461220e90613076565b90600052602060002090601f0160209004810192826122305760008555612277565b82601f1061224957805160ff1916838001178555612277565b82800160010185558215612277579182015b8281111561227657825182559160200191906001019061225b565b5b5090506122849190612288565b5090565b5b808211156122a1576000816000905550600101612289565b5090565b60006122b86122b384612e60565b612e3b565b9050828152602081018484840111156122d4576122d3613243565b5b6122df848285613034565b509392505050565b60006122fa6122f584612e91565b612e3b565b90508281526020810184848401111561231657612315613243565b5b612321848285613034565b509392505050565b60008135905061233881613800565b92915050565b60008135905061234d81613817565b92915050565b6000813590506123628161382e565b92915050565b6000815190506123778161382e565b92915050565b600082601f8301126123925761239161323e565b5b81356123a28482602086016122a5565b91505092915050565b600082601f8301126123c0576123bf61323e565b5b81356123d08482602086016122e7565b91505092915050565b6000813590506123e881613845565b92915050565b6000602082840312156124045761240361324d565b5b600061241284828501612329565b91505092915050565b600080604083850312156124325761243161324d565b5b600061244085828601612329565b925050602061245185828601612329565b9150509250929050565b6000806000606084860312156124745761247361324d565b5b600061248286828701612329565b935050602061249386828701612329565b92505060406124a4868287016123d9565b9150509250925092565b600080600080608085870312156124c8576124c761324d565b5b60006124d687828801612329565b94505060206124e787828801612329565b93505060406124f8878288016123d9565b925050606085013567ffffffffffffffff81111561251957612518613248565b5b6125258782880161237d565b91505092959194509250565b600080604083850312156125485761254761324d565b5b600061255685828601612329565b92505060206125678582860161233e565b9150509250929050565b600080604083850312156125885761258761324d565b5b600061259685828601612329565b92505060206125a7858286016123d9565b9150509250929050565b6000602082840312156125c7576125c661324d565b5b60006125d584828501612353565b91505092915050565b6000602082840312156125f4576125f361324d565b5b600061260284828501612368565b91505092915050565b6000602082840312156126215761262061324d565b5b600082013567ffffffffffffffff81111561263f5761263e613248565b5b61264b848285016123ab565b91505092915050565b60006020828403121561266a5761266961324d565b5b6000612678848285016123d9565b91505092915050565b61268a81612fc0565b82525050565b61269981612fd2565b82525050565b60006126aa82612ec2565b6126b48185612ed8565b93506126c4818560208601613043565b6126cd81613252565b840191505092915050565b60006126e382612ecd565b6126ed8185612ee9565b93506126fd818560208601613043565b61270681613252565b840191505092915050565b600061271c82612ecd565b6127268185612efa565b9350612736818560208601613043565b80840191505092915050565b600061274f602483612ee9565b915061275a82613263565b604082019050919050565b6000612772603283612ee9565b915061277d826132b2565b604082019050919050565b6000612795602683612ee9565b91506127a082613301565b604082019050919050565b60006127b8601c83612ee9565b91506127c382613350565b602082019050919050565b60006127db602483612ee9565b91506127e682613379565b604082019050919050565b60006127fe601983612ee9565b9150612809826133c8565b602082019050919050565b6000612821601b83612ee9565b915061282c826133f1565b602082019050919050565b6000612844602c83612ee9565b915061284f8261341a565b604082019050919050565b6000612867603883612ee9565b915061287282613469565b604082019050919050565b600061288a602a83612ee9565b9150612895826134b8565b604082019050919050565b60006128ad602983612ee9565b91506128b882613507565b604082019050919050565b60006128d0602083612ee9565b91506128db82613556565b602082019050919050565b60006128f3602083612ee9565b91506128fe8261357f565b602082019050919050565b6000612916602c83612ee9565b9150612921826135a8565b604082019050919050565b6000612939600583612efa565b9150612944826135f7565b600582019050919050565b600061295c602083612ee9565b915061296782613620565b602082019050919050565b600061297f602983612ee9565b915061298a82613649565b604082019050919050565b60006129a2602f83612ee9565b91506129ad82613698565b604082019050919050565b60006129c5602183612ee9565b91506129d0826136e7565b604082019050919050565b60006129e8601e83612ee9565b91506129f382613736565b602082019050919050565b6000612a0b603183612ee9565b9150612a168261375f565b604082019050919050565b6000612a2e600b83612ee9565b9150612a39826137ae565b602082019050919050565b6000612a51600983612ee9565b9150612a5c826137d7565b602082019050919050565b612a708161302a565b82525050565b6000612a828285612711565b9150612a8e8284612711565b91508190509392505050565b6000612aa68284612711565b9150612ab18261292c565b915081905092915050565b6000602082019050612ad16000830184612681565b92915050565b6000608082019050612aec6000830187612681565b612af96020830186612681565b612b066040830185612a67565b8181036060830152612b18818461269f565b905095945050505050565b6000602082019050612b386000830184612690565b92915050565b60006020820190508181036000830152612b5881846126d8565b905092915050565b60006020820190508181036000830152612b7981612742565b9050919050565b60006020820190508181036000830152612b9981612765565b9050919050565b60006020820190508181036000830152612bb981612788565b9050919050565b60006020820190508181036000830152612bd9816127ab565b9050919050565b60006020820190508181036000830152612bf9816127ce565b9050919050565b60006020820190508181036000830152612c19816127f1565b9050919050565b60006020820190508181036000830152612c3981612814565b9050919050565b60006020820190508181036000830152612c5981612837565b9050919050565b60006020820190508181036000830152612c798161285a565b9050919050565b60006020820190508181036000830152612c998161287d565b9050919050565b60006020820190508181036000830152612cb9816128a0565b9050919050565b60006020820190508181036000830152612cd9816128c3565b9050919050565b60006020820190508181036000830152612cf9816128e6565b9050919050565b60006020820190508181036000830152612d1981612909565b9050919050565b60006020820190508181036000830152612d398161294f565b9050919050565b60006020820190508181036000830152612d5981612972565b9050919050565b60006020820190508181036000830152612d7981612995565b9050919050565b60006020820190508181036000830152612d99816129b8565b9050919050565b60006020820190508181036000830152612db9816129db565b9050919050565b60006020820190508181036000830152612dd9816129fe565b9050919050565b60006020820190508181036000830152612df981612a21565b9050919050565b60006020820190508181036000830152612e1981612a44565b9050919050565b6000602082019050612e356000830184612a67565b92915050565b6000612e45612e56565b9050612e5182826130a8565b919050565b6000604051905090565b600067ffffffffffffffff821115612e7b57612e7a61320f565b5b612e8482613252565b9050602081019050919050565b600067ffffffffffffffff821115612eac57612eab61320f565b5b612eb582613252565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612f108261302a565b9150612f1b8361302a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612f5057612f4f613153565b5b828201905092915050565b6000612f668261302a565b9150612f718361302a565b925082612f8157612f80613182565b5b828204905092915050565b6000612f978261302a565b9150612fa28361302a565b925082821015612fb557612fb4613153565b5b828203905092915050565b6000612fcb8261300a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613061578082015181840152602081019050613046565b83811115613070576000848401525b50505050565b6000600282049050600182168061308e57607f821691505b602082108114156130a2576130a16131b1565b5b50919050565b6130b182613252565b810181811067ffffffffffffffff821117156130d0576130cf61320f565b5b80604052505050565b60006130e48261302a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561311757613116613153565b5b600182019050919050565b600061312d8261302a565b91506131388361302a565b92508261314857613147613182565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5468697320616d6f756e74206973206d6f7265207468616e206d617820616c6c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682045544820666f72207472616e73616374696f6e0000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d6178203130204e465473000000000000000000000000000000000000000000600082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b61380981612fc0565b811461381457600080fd5b50565b61382081612fd2565b811461382b57600080fd5b50565b61383781612fde565b811461384257600080fd5b50565b61384e8161302a565b811461385957600080fd5b5056fea2646970667358221220780e6c307e1009a5a2102173e523255eebb8fa20f15843164ed7bdda4eff303f64736f6c63430008070033

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.