ETH Price: $3,177.81 (+2.37%)

Token

HAPE PRIME (HAPE)
 

Overview

Max Total Supply

8,192 HAPE

Holders

3,821

Market

Volume (24H)

0.242 ETH

Min Price (24H)

$769.03 @ 0.242000 ETH

Max Price (24H)

$769.03 @ 0.242000 ETH
Filtered by Token Holder
ajehrenberg.eth
Balance
1 HAPE
0x9F2880427F86a15DAEdC4C6f3185e8AfFE2Ba761
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

8K next-generation, high fashion hapes. Unique, fully 3D and built to unite the ape multiverse. Designed and styled by Digimental.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HapebeastToken

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

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

// @title:  HAPE PRIME
// @desc:   NEXT-GEN, HIGH FASHION HAPES
// @artist: https://twitter.com/DigimentalLDN
// @team:   https://twitter.com/TheCarlbrutal
// @team:   https://twitter.com/_trouvelot
// @author: https://twitter.com/rickeccak
// @url:    https://www.hapeprime.com/

/*
* ██╗░░██╗░█████╗░██████╗░███████╗
* ██║░░██║██╔══██╗██╔══██╗██╔════╝
* ███████║███████║██████╔╝█████╗░░
* ██╔══██║██╔══██║██╔═══╝░██╔══╝░░
* ██║░░██║██║░░██║██║░░░░░███████╗
* ╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░░░░╚══════╝
*/

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "./IHapebeastToken.sol";
import "./IHapebeastMetadata.sol";

contract HapebeastToken is IHapebeastToken, IERC2981, Ownable {

    // ======== Supply =========
    uint256 public tokenSupply;

    // ======== Provenance =========
    string public provenanceHash;
    uint256 public startingIndex;
    bool public isStartingIndexLocked;

    // ======== Metadata =========
    // Seperate contract to allow eventual move to on-chain metadata. "The Future".
    IHapebeastMetadata public metadata;
    bool public isMetadataLocked = false;

    // ======== Minter =========
    address public minter;
    bool public isMinterLocked = false;

    // ======== Burning =========
    bool public isBurningActive = false;

    // ======== Royalties =========
    address public royaltyAddress;
    uint256 public royaltyPercent;

    modifier onlyMinter() {
        require(msg.sender == minter, "Only minter");
        _;
    }
    
    // ======== Constructor =========
    constructor(address metadataAddress) ERC721("HAPE PRIME", "HAPE") {
        metadata = IHapebeastMetadata(metadataAddress);
        royaltyAddress = owner();
        royaltyPercent = 5;
    }

    // ======== Minting =========
    function mint(uint256 _count, address _recipient) public override onlyMinter {
        uint256 supply = totalSupply();
        for (uint i = 1; i <= _count; i++) {
            tokenSupply++;
            _safeMint(_recipient, supply + i);
        }
    }

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

    // ======== Minter =========
    function updateMinter(address _minter) external override onlyOwner {
        require(!isMinterLocked, "Minter ownership renounced");
        minter = _minter;
    }

    function lockMinter() external override onlyOwner {
        isMinterLocked = true;
    }

    // ======== Metadata =========
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "URI query for nonexistent token");
        return metadata.tokenURI(tokenId);
    }

    function updateMetadata(address _metadata) external onlyOwner {
        require(!isMetadataLocked, "Metadata ownership renounced");
        metadata = IHapebeastMetadata(_metadata);
    }

    function lockMetadata() public onlyOwner {
        isMetadataLocked = true;
    }

    // ======== Provenance =========
    function setProvenanceHash(string memory _provenanceHash) public override onlyOwner {
        provenanceHash = _provenanceHash;
    }

    /**
    * Set a random starting index for the collection. We could have included something with user provided entropy, but that doesn't
    * make it any more random in practice. There's still nothing exclusively on-chain we can use for completely undeterminstic randomness 
    * - only VRF. But with a provenance hash this should provide the basis for verifiable and transparent random metadata assignment. 
    *
    * NOTE: Ahead of time an agreed date/timestamp will be selected with the community for when the transaction for `setStartingIndex`
    * is submitted, this is to avoid scenarios such as waiting for a favourable blockhash + submitting a high gas tx.
    */
    function setStartingIndex() public override onlyOwner {
        require(!isStartingIndexLocked, "Starting index set");
        isStartingIndexLocked = true;
        startingIndex = uint(blockhash(block.number - 1)) % totalSupply();
    }

    // ======== Burning =========
    function burn(uint256 tokenId) public {
        require(isBurningActive, "Burning not active");
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Caller not owner or approved");
        _burn(tokenId);
    }
    
    function toggleBurningActive() public onlyOwner {
        isBurningActive = !isBurningActive;
    }

    // ======== Royalties =========
    function setRoyaltyReceiver(address royaltyReceiver) public onlyOwner {
        royaltyAddress = royaltyReceiver;
    }

    function setRoyaltyPercentage(uint256 royaltyPercentage) public onlyOwner {
        royaltyPercent = royaltyPercentage;
    }

    function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) {
        require(_exists(tokenId), "Non-existent token");
        return (royaltyAddress, salePrice * royaltyPercent / 100);
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721, IERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    // ======== Withdraw =========
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        (bool success, ) = owner().call{value: balance}("");
        require(success, "Withdraw failed");
    }
}

File 2 of 15 : 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 15 : IERC2981.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 15 : IHapebeastToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

abstract contract IHapebeastToken is ERC721 {
    function setProvenanceHash(string memory _provenanceHash) virtual external;
    function setStartingIndex() virtual external;
    function mint(uint256 _count, address _recipient) virtual external;
    function totalSupply() virtual external returns (uint256);
    function updateMinter(address _minter) virtual external;
    function lockMinter() virtual external;
}

File 5 of 15 : IHapebeastMetadata.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

abstract contract IHapebeastMetadata {
    function tokenURI(uint256 tokenId) public virtual view returns (string memory);
}

File 6 of 15 : 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 7 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

File 9 of 15 : 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 10 of 15 : 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 11 of 15 : 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 15 : 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 13 of 15 : 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 14 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 15 of 15 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"metadataAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","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":[],"name":"isBurningActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMetadataLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMinterLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isStartingIndexLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"metadata","outputs":[{"internalType":"contract IHapebeastMetadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercent","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyPercentage","type":"uint256"}],"name":"setRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","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":[],"name":"toggleBurningActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_metadata","type":"address"}],"name":"updateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"updateMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600a60156101000a81548160ff0219169083151502179055506000600b60146101000a81548160ff0219169083151502179055506000600b60156101000a81548160ff0219169083151502179055503480156200006257600080fd5b50604051620045fc380380620045fc8339818101604052810190620000889190620003a7565b6040518060400160405280600a81526020017f48415045205052494d45000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f484150450000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010c929190620002e0565b50806001908051906020019062000125929190620002e0565b505050620001486200013c620001e860201b60201c565b620001f060201b60201c565b80600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000199620002b660201b60201c565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506005600d819055505062000491565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002ee906200040d565b90600052602060002090601f0160209004810192826200031257600085556200035e565b82601f106200032d57805160ff19168380011785556200035e565b828001600101855582156200035e579182015b828111156200035d57825182559160200191906001019062000340565b5b5090506200036d919062000371565b5090565b5b808211156200038c57600081600090555060010162000372565b5090565b600081519050620003a18162000477565b92915050565b600060208284031215620003c057620003bf62000472565b5b6000620003d08482850162000390565b91505092915050565b6000620003e682620003ed565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200042657607f821691505b602082108114156200043d576200043c62000443565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6200048281620003d9565b81146200048e57600080fd5b50565b61415b80620004a16000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c806376daebe111610146578063af6c8b4f116100c3578063cb774d4711610087578063cb774d4714610677578063d7e45cd714610695578063d7f01693146106b3578063e985e9c5146106bd578063e9866550146106ed578063f2fde38b146106f757610253565b8063af6c8b4f146105d3578063b88d4fde146105f1578063c5e2a7db1461060d578063c6ab67a314610629578063c87b56dd1461064757610253565b806395d89b411161010a57806395d89b4114610553578063989bdbb6146105715780639f67756d1461057b578063a22cb46514610599578063ad2f852a146105b557610253565b806376daebe1146104d55780637824407f146104df5780638da5cb5b146104fd5780638dc251e31461051b57806394bf804d1461053757610253565b8063392f37e9116101d45780635712724711610198578063571272471461043157806361ba27da1461044f5780636352211e1461046b57806370a082311461049b578063715018a6146104cb57610253565b8063392f37e9146103b55780633ccfd60b146103d357806342842e0e146103dd57806342966c68146103f95780634eb03f6e1461041557610253565b8063109695231161021b578063109695231461031057806318160ddd1461032c5780631e688e101461034a57806323b872dd146103685780632a55205a1461038457610253565b806301ffc9a71461025857806306fdde031461028857806307546172146102a6578063081812fc146102c4578063095ea7b3146102f4575b600080fd5b610272600480360381019061026d9190612d0b565b610713565b60405161027f9190613362565b60405180910390f35b61029061078d565b60405161029d9190613398565b60405180910390f35b6102ae61081f565b6040516102bb91906132d2565b60405180910390f35b6102de60048036038101906102d99190612df7565b610845565b6040516102eb91906132d2565b60405180910390f35b61030e60048036038101906103099190612ccb565b6108ca565b005b61032a60048036038101906103259190612d65565b6109e2565b005b610334610a78565b60405161034191906136ba565b60405180910390f35b610352610a82565b60405161035f9190613362565b60405180910390f35b610382600480360381019061037d9190612bb5565b610a95565b005b61039e60048036038101906103999190612e64565b610af5565b6040516103ac929190613339565b60405180910390f35b6103bd610b88565b6040516103ca919061337d565b60405180910390f35b6103db610bae565b005b6103f760048036038101906103f29190612bb5565b610ce6565b005b610413600480360381019061040e9190612df7565b610d06565b005b61042f600480360381019061042a9190612b48565b610db1565b005b610439610ec1565b6040516104469190613362565b60405180910390f35b61046960048036038101906104649190612df7565b610ed4565b005b61048560048036038101906104809190612df7565b610f5a565b60405161049291906132d2565b60405180910390f35b6104b560048036038101906104b09190612b48565b61100c565b6040516104c291906136ba565b60405180910390f35b6104d36110c4565b005b6104dd61114c565b005b6104e76111e5565b6040516104f491906136ba565b60405180910390f35b6105056111eb565b60405161051291906132d2565b60405180910390f35b61053560048036038101906105309190612b48565b611215565b005b610551600480360381019061054c9190612e24565b6112d5565b005b61055b6113c5565b6040516105689190613398565b60405180910390f35b610579611457565b005b6105836114f0565b60405161059091906136ba565b60405180910390f35b6105b360048036038101906105ae9190612c8b565b6114f6565b005b6105bd611677565b6040516105ca91906132d2565b60405180910390f35b6105db61169d565b6040516105e89190613362565b60405180910390f35b61060b60048036038101906106069190612c08565b6116b0565b005b61062760048036038101906106229190612b48565b611712565b005b610631611822565b60405161063e9190613398565b60405180910390f35b610661600480360381019061065c9190612df7565b6118b0565b60405161066e9190613398565b60405180910390f35b61067f6119b1565b60405161068c91906136ba565b60405180910390f35b61069d6119b7565b6040516106aa9190613362565b60405180910390f35b6106bb6119ca565b005b6106d760048036038101906106d29190612b75565b611a72565b6040516106e49190613362565b60405180910390f35b6106f5611b06565b005b610711600480360381019061070c9190612b48565b611c18565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610786575061078582611d10565b5b9050919050565b60606000805461079c9061398e565b80601f01602080910402602001604051908101604052809291908181526020018280546107c89061398e565b80156108155780601f106107ea57610100808354040283529160200191610815565b820191906000526020600020905b8154815290600101906020018083116107f857829003601f168201915b5050505050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061085082611df2565b61088f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610886906135da565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d582610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093d9061365a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610965611e5e565b73ffffffffffffffffffffffffffffffffffffffff16148061099457506109938161098e611e5e565b611a72565b5b6109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca906134fa565b60405180910390fd5b6109dd8383611e66565b505050565b6109ea611e5e565b73ffffffffffffffffffffffffffffffffffffffff16610a086111eb565b73ffffffffffffffffffffffffffffffffffffffff1614610a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a55906135fa565b60405180910390fd5b8060089080519060200190610a749291906128ec565b5050565b6000600754905090565b600b60149054906101000a900460ff1681565b610aa6610aa0611e5e565b82611f1f565b610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc9061369a565b60405180910390fd5b610af0838383611ffd565b505050565b600080610b0184611df2565b610b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b379061355a565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600d5485610b739190613826565b610b7d91906137f5565b915091509250929050565b600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610bb6611e5e565b73ffffffffffffffffffffffffffffffffffffffff16610bd46111eb565b73ffffffffffffffffffffffffffffffffffffffff1614610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c21906135fa565b60405180910390fd5b60004790506000610c396111eb565b73ffffffffffffffffffffffffffffffffffffffff1682604051610c5c906132bd565b60006040518083038185875af1925050503d8060008114610c99576040519150601f19603f3d011682016040523d82523d6000602084013e610c9e565b606091505b5050905080610ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd99061343a565b60405180910390fd5b5050565b610d01838383604051806020016040528060008152506116b0565b505050565b600b60159054906101000a900460ff16610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c9061359a565b60405180910390fd5b610d66610d60611e5e565b82611f1f565b610da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9c9061357a565b60405180910390fd5b610dae81612259565b50565b610db9611e5e565b73ffffffffffffffffffffffffffffffffffffffff16610dd76111eb565b73ffffffffffffffffffffffffffffffffffffffff1614610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e24906135fa565b60405180910390fd5b600b60149054906101000a900460ff1615610e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e749061363a565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b60159054906101000a900460ff1681565b610edc611e5e565b73ffffffffffffffffffffffffffffffffffffffff16610efa6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f47906135fa565b60405180910390fd5b80600d8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa9061353a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561107d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110749061351a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110cc611e5e565b73ffffffffffffffffffffffffffffffffffffffff166110ea6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611140576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611137906135fa565b60405180910390fd5b61114a600061236a565b565b611154611e5e565b73ffffffffffffffffffffffffffffffffffffffff166111726111eb565b73ffffffffffffffffffffffffffffffffffffffff16146111c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bf906135fa565b60405180910390fd5b6001600b60146101000a81548160ff021916908315150217905550565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61121d611e5e565b73ffffffffffffffffffffffffffffffffffffffff1661123b6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611291576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611288906135fa565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135c906134ba565b60405180910390fd5b600061136f610a78565b90506000600190505b8381116113bf5760076000815480929190611392906139f1565b91905055506113ac8382846113a7919061379f565b612430565b80806113b7906139f1565b915050611378565b50505050565b6060600180546113d49061398e565b80601f01602080910402602001604051908101604052809291908181526020018280546114009061398e565b801561144d5780601f106114225761010080835404028352916020019161144d565b820191906000526020600020905b81548152906001019060200180831161143057829003601f168201915b5050505050905090565b61145f611e5e565b73ffffffffffffffffffffffffffffffffffffffff1661147d6111eb565b73ffffffffffffffffffffffffffffffffffffffff16146114d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ca906135fa565b60405180910390fd5b6001600a60156101000a81548160ff021916908315150217905550565b600d5481565b6114fe611e5e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561156c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115639061347a565b60405180910390fd5b8060056000611579611e5e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611626611e5e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161166b9190613362565b60405180910390a35050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900460ff1681565b6116c16116bb611e5e565b83611f1f565b611700576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f79061369a565b60405180910390fd5b61170c8484848461244e565b50505050565b61171a611e5e565b73ffffffffffffffffffffffffffffffffffffffff166117386111eb565b73ffffffffffffffffffffffffffffffffffffffff161461178e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611785906135fa565b60405180910390fd5b600a60159054906101000a900460ff16156117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d59061349a565b60405180910390fd5b80600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6008805461182f9061398e565b80601f016020809104026020016040519081016040528092919081815260200182805461185b9061398e565b80156118a85780601f1061187d576101008083540402835291602001916118a8565b820191906000526020600020905b81548152906001019060200180831161188b57829003601f168201915b505050505081565b60606118bb82611df2565b6118fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f1906133ba565b60405180910390fd5b600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b815260040161195591906136ba565b60006040518083038186803b15801561196d57600080fd5b505afa158015611981573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906119aa9190612dae565b9050919050565b60095481565b600a60159054906101000a900460ff1681565b6119d2611e5e565b73ffffffffffffffffffffffffffffffffffffffff166119f06111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3d906135fa565b60405180910390fd5b600b60159054906101000a900460ff1615600b60156101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b0e611e5e565b73ffffffffffffffffffffffffffffffffffffffff16611b2c6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b79906135fa565b60405180910390fd5b600a60009054906101000a900460ff1615611bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc99061367a565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550611bf5610a78565b600143611c029190613880565b4060001c611c109190613a3a565b600981905550565b611c20611e5e565b73ffffffffffffffffffffffffffffffffffffffff16611c3e6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8b906135fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb906133fa565b60405180910390fd5b611d0d8161236a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ddb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611deb5750611dea826124aa565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ed983610f5a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f2a82611df2565b611f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f60906134da565b60405180910390fd5b6000611f7483610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fe357508373ffffffffffffffffffffffffffffffffffffffff16611fcb84610845565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ff45750611ff38185611a72565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661201d82610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614612073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206a9061361a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120da9061345a565b60405180910390fd5b6120ee838383612514565b6120f9600082611e66565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121499190613880565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a0919061379f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061226482610f5a565b905061227281600084612514565b61227d600083611e66565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122cd9190613880565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61244a828260405180602001604052806000815250612519565b5050565b612459848484611ffd565b61246584848484612574565b6124a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249b906133da565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b612523838361270b565b6125306000848484612574565b61256f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612566906133da565b60405180910390fd5b505050565b60006125958473ffffffffffffffffffffffffffffffffffffffff166128d9565b156126fe578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125be611e5e565b8786866040518563ffffffff1660e01b81526004016125e094939291906132ed565b602060405180830381600087803b1580156125fa57600080fd5b505af192505050801561262b57506040513d601f19601f820116820180604052508101906126289190612d38565b60015b6126ae573d806000811461265b576040519150601f19603f3d011682016040523d82523d6000602084013e612660565b606091505b506000815114156126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d906133da565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612703565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561277b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612772906135ba565b60405180910390fd5b61278481611df2565b156127c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bb9061341a565b60405180910390fd5b6127d060008383612514565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612820919061379f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546128f89061398e565b90600052602060002090601f01602090048101928261291a5760008555612961565b82601f1061293357805160ff1916838001178555612961565b82800160010185558215612961579182015b82811115612960578251825591602001919060010190612945565b5b50905061296e9190612972565b5090565b5b8082111561298b576000816000905550600101612973565b5090565b60006129a261299d846136fa565b6136d5565b9050828152602081018484840111156129be576129bd613b2c565b5b6129c984828561394c565b509392505050565b60006129e46129df8461372b565b6136d5565b905082815260208101848484011115612a00576129ff613b2c565b5b612a0b84828561394c565b509392505050565b6000612a26612a218461372b565b6136d5565b905082815260208101848484011115612a4257612a41613b2c565b5b612a4d84828561395b565b509392505050565b600081359050612a64816140c9565b92915050565b600081359050612a79816140e0565b92915050565b600081359050612a8e816140f7565b92915050565b600081519050612aa3816140f7565b92915050565b600082601f830112612abe57612abd613b27565b5b8135612ace84826020860161298f565b91505092915050565b600082601f830112612aec57612aeb613b27565b5b8135612afc8482602086016129d1565b91505092915050565b600082601f830112612b1a57612b19613b27565b5b8151612b2a848260208601612a13565b91505092915050565b600081359050612b428161410e565b92915050565b600060208284031215612b5e57612b5d613b36565b5b6000612b6c84828501612a55565b91505092915050565b60008060408385031215612b8c57612b8b613b36565b5b6000612b9a85828601612a55565b9250506020612bab85828601612a55565b9150509250929050565b600080600060608486031215612bce57612bcd613b36565b5b6000612bdc86828701612a55565b9350506020612bed86828701612a55565b9250506040612bfe86828701612b33565b9150509250925092565b60008060008060808587031215612c2257612c21613b36565b5b6000612c3087828801612a55565b9450506020612c4187828801612a55565b9350506040612c5287828801612b33565b925050606085013567ffffffffffffffff811115612c7357612c72613b31565b5b612c7f87828801612aa9565b91505092959194509250565b60008060408385031215612ca257612ca1613b36565b5b6000612cb085828601612a55565b9250506020612cc185828601612a6a565b9150509250929050565b60008060408385031215612ce257612ce1613b36565b5b6000612cf085828601612a55565b9250506020612d0185828601612b33565b9150509250929050565b600060208284031215612d2157612d20613b36565b5b6000612d2f84828501612a7f565b91505092915050565b600060208284031215612d4e57612d4d613b36565b5b6000612d5c84828501612a94565b91505092915050565b600060208284031215612d7b57612d7a613b36565b5b600082013567ffffffffffffffff811115612d9957612d98613b31565b5b612da584828501612ad7565b91505092915050565b600060208284031215612dc457612dc3613b36565b5b600082015167ffffffffffffffff811115612de257612de1613b31565b5b612dee84828501612b05565b91505092915050565b600060208284031215612e0d57612e0c613b36565b5b6000612e1b84828501612b33565b91505092915050565b60008060408385031215612e3b57612e3a613b36565b5b6000612e4985828601612b33565b9250506020612e5a85828601612a55565b9150509250929050565b60008060408385031215612e7b57612e7a613b36565b5b6000612e8985828601612b33565b9250506020612e9a85828601612b33565b9150509250929050565b612ead816138b4565b82525050565b612ebc816138c6565b82525050565b6000612ecd8261375c565b612ed78185613772565b9350612ee781856020860161395b565b612ef081613b3b565b840191505092915050565b612f0481613928565b82525050565b6000612f1582613767565b612f1f818561378e565b9350612f2f81856020860161395b565b612f3881613b3b565b840191505092915050565b6000612f50601f8361378e565b9150612f5b82613b4c565b602082019050919050565b6000612f7360328361378e565b9150612f7e82613b75565b604082019050919050565b6000612f9660268361378e565b9150612fa182613bc4565b604082019050919050565b6000612fb9601c8361378e565b9150612fc482613c13565b602082019050919050565b6000612fdc600f8361378e565b9150612fe782613c3c565b602082019050919050565b6000612fff60248361378e565b915061300a82613c65565b604082019050919050565b600061302260198361378e565b915061302d82613cb4565b602082019050919050565b6000613045601c8361378e565b915061305082613cdd565b602082019050919050565b6000613068600b8361378e565b915061307382613d06565b602082019050919050565b600061308b602c8361378e565b915061309682613d2f565b604082019050919050565b60006130ae60388361378e565b91506130b982613d7e565b604082019050919050565b60006130d1602a8361378e565b91506130dc82613dcd565b604082019050919050565b60006130f460298361378e565b91506130ff82613e1c565b604082019050919050565b600061311760128361378e565b915061312282613e6b565b602082019050919050565b600061313a601c8361378e565b915061314582613e94565b602082019050919050565b600061315d60128361378e565b915061316882613ebd565b602082019050919050565b600061318060208361378e565b915061318b82613ee6565b602082019050919050565b60006131a3602c8361378e565b91506131ae82613f0f565b604082019050919050565b60006131c660208361378e565b91506131d182613f5e565b602082019050919050565b60006131e960298361378e565b91506131f482613f87565b604082019050919050565b600061320c601a8361378e565b915061321782613fd6565b602082019050919050565b600061322f60218361378e565b915061323a82613fff565b604082019050919050565b600061325260128361378e565b915061325d8261404e565b602082019050919050565b6000613275600083613783565b915061328082614077565b600082019050919050565b600061329860318361378e565b91506132a38261407a565b604082019050919050565b6132b78161391e565b82525050565b60006132c882613268565b9150819050919050565b60006020820190506132e76000830184612ea4565b92915050565b60006080820190506133026000830187612ea4565b61330f6020830186612ea4565b61331c60408301856132ae565b818103606083015261332e8184612ec2565b905095945050505050565b600060408201905061334e6000830185612ea4565b61335b60208301846132ae565b9392505050565b60006020820190506133776000830184612eb3565b92915050565b60006020820190506133926000830184612efb565b92915050565b600060208201905081810360008301526133b28184612f0a565b905092915050565b600060208201905081810360008301526133d381612f43565b9050919050565b600060208201905081810360008301526133f381612f66565b9050919050565b6000602082019050818103600083015261341381612f89565b9050919050565b6000602082019050818103600083015261343381612fac565b9050919050565b6000602082019050818103600083015261345381612fcf565b9050919050565b6000602082019050818103600083015261347381612ff2565b9050919050565b6000602082019050818103600083015261349381613015565b9050919050565b600060208201905081810360008301526134b381613038565b9050919050565b600060208201905081810360008301526134d38161305b565b9050919050565b600060208201905081810360008301526134f38161307e565b9050919050565b60006020820190508181036000830152613513816130a1565b9050919050565b60006020820190508181036000830152613533816130c4565b9050919050565b60006020820190508181036000830152613553816130e7565b9050919050565b600060208201905081810360008301526135738161310a565b9050919050565b600060208201905081810360008301526135938161312d565b9050919050565b600060208201905081810360008301526135b381613150565b9050919050565b600060208201905081810360008301526135d381613173565b9050919050565b600060208201905081810360008301526135f381613196565b9050919050565b60006020820190508181036000830152613613816131b9565b9050919050565b60006020820190508181036000830152613633816131dc565b9050919050565b60006020820190508181036000830152613653816131ff565b9050919050565b6000602082019050818103600083015261367381613222565b9050919050565b6000602082019050818103600083015261369381613245565b9050919050565b600060208201905081810360008301526136b38161328b565b9050919050565b60006020820190506136cf60008301846132ae565b92915050565b60006136df6136f0565b90506136eb82826139c0565b919050565b6000604051905090565b600067ffffffffffffffff82111561371557613714613af8565b5b61371e82613b3b565b9050602081019050919050565b600067ffffffffffffffff82111561374657613745613af8565b5b61374f82613b3b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b60006137aa8261391e565b91506137b58361391e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137ea576137e9613a6b565b5b828201905092915050565b60006138008261391e565b915061380b8361391e565b92508261381b5761381a613a9a565b5b828204905092915050565b60006138318261391e565b915061383c8361391e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561387557613874613a6b565b5b828202905092915050565b600061388b8261391e565b91506138968361391e565b9250828210156138a9576138a8613a6b565b5b828203905092915050565b60006138bf826138fe565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006139338261393a565b9050919050565b6000613945826138fe565b9050919050565b82818337600083830152505050565b60005b8381101561397957808201518184015260208101905061395e565b83811115613988576000848401525b50505050565b600060028204905060018216806139a657607f821691505b602082108114156139ba576139b9613ac9565b5b50919050565b6139c982613b3b565b810181811067ffffffffffffffff821117156139e8576139e7613af8565b5b80604052505050565b60006139fc8261391e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a2f57613a2e613a6b565b5b600182019050919050565b6000613a458261391e565b9150613a508361391e565b925082613a6057613a5f613a9a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d65746164617461206f776e6572736869702072656e6f756e63656400000000600082015250565b7f4f6e6c79206d696e746572000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f6e2d6578697374656e7420746f6b656e0000000000000000000000000000600082015250565b7f43616c6c6572206e6f74206f776e6572206f7220617070726f76656400000000600082015250565b7f4275726e696e67206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d696e746572206f776e6572736869702072656e6f756e636564000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e646578207365740000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6140d2816138b4565b81146140dd57600080fd5b50565b6140e9816138c6565b81146140f457600080fd5b50565b614100816138d2565b811461410b57600080fd5b50565b6141178161391e565b811461412257600080fd5b5056fea26469706673582212200a443c2aa0230e73efa7251b7de47c799561050a7e81160fd5a0c9fb151a99fb64736f6c63430008060033000000000000000000000000609dfe72eef3ccb069bc2682b3114763e6f25b8f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102535760003560e01c806376daebe111610146578063af6c8b4f116100c3578063cb774d4711610087578063cb774d4714610677578063d7e45cd714610695578063d7f01693146106b3578063e985e9c5146106bd578063e9866550146106ed578063f2fde38b146106f757610253565b8063af6c8b4f146105d3578063b88d4fde146105f1578063c5e2a7db1461060d578063c6ab67a314610629578063c87b56dd1461064757610253565b806395d89b411161010a57806395d89b4114610553578063989bdbb6146105715780639f67756d1461057b578063a22cb46514610599578063ad2f852a146105b557610253565b806376daebe1146104d55780637824407f146104df5780638da5cb5b146104fd5780638dc251e31461051b57806394bf804d1461053757610253565b8063392f37e9116101d45780635712724711610198578063571272471461043157806361ba27da1461044f5780636352211e1461046b57806370a082311461049b578063715018a6146104cb57610253565b8063392f37e9146103b55780633ccfd60b146103d357806342842e0e146103dd57806342966c68146103f95780634eb03f6e1461041557610253565b8063109695231161021b578063109695231461031057806318160ddd1461032c5780631e688e101461034a57806323b872dd146103685780632a55205a1461038457610253565b806301ffc9a71461025857806306fdde031461028857806307546172146102a6578063081812fc146102c4578063095ea7b3146102f4575b600080fd5b610272600480360381019061026d9190612d0b565b610713565b60405161027f9190613362565b60405180910390f35b61029061078d565b60405161029d9190613398565b60405180910390f35b6102ae61081f565b6040516102bb91906132d2565b60405180910390f35b6102de60048036038101906102d99190612df7565b610845565b6040516102eb91906132d2565b60405180910390f35b61030e60048036038101906103099190612ccb565b6108ca565b005b61032a60048036038101906103259190612d65565b6109e2565b005b610334610a78565b60405161034191906136ba565b60405180910390f35b610352610a82565b60405161035f9190613362565b60405180910390f35b610382600480360381019061037d9190612bb5565b610a95565b005b61039e60048036038101906103999190612e64565b610af5565b6040516103ac929190613339565b60405180910390f35b6103bd610b88565b6040516103ca919061337d565b60405180910390f35b6103db610bae565b005b6103f760048036038101906103f29190612bb5565b610ce6565b005b610413600480360381019061040e9190612df7565b610d06565b005b61042f600480360381019061042a9190612b48565b610db1565b005b610439610ec1565b6040516104469190613362565b60405180910390f35b61046960048036038101906104649190612df7565b610ed4565b005b61048560048036038101906104809190612df7565b610f5a565b60405161049291906132d2565b60405180910390f35b6104b560048036038101906104b09190612b48565b61100c565b6040516104c291906136ba565b60405180910390f35b6104d36110c4565b005b6104dd61114c565b005b6104e76111e5565b6040516104f491906136ba565b60405180910390f35b6105056111eb565b60405161051291906132d2565b60405180910390f35b61053560048036038101906105309190612b48565b611215565b005b610551600480360381019061054c9190612e24565b6112d5565b005b61055b6113c5565b6040516105689190613398565b60405180910390f35b610579611457565b005b6105836114f0565b60405161059091906136ba565b60405180910390f35b6105b360048036038101906105ae9190612c8b565b6114f6565b005b6105bd611677565b6040516105ca91906132d2565b60405180910390f35b6105db61169d565b6040516105e89190613362565b60405180910390f35b61060b60048036038101906106069190612c08565b6116b0565b005b61062760048036038101906106229190612b48565b611712565b005b610631611822565b60405161063e9190613398565b60405180910390f35b610661600480360381019061065c9190612df7565b6118b0565b60405161066e9190613398565b60405180910390f35b61067f6119b1565b60405161068c91906136ba565b60405180910390f35b61069d6119b7565b6040516106aa9190613362565b60405180910390f35b6106bb6119ca565b005b6106d760048036038101906106d29190612b75565b611a72565b6040516106e49190613362565b60405180910390f35b6106f5611b06565b005b610711600480360381019061070c9190612b48565b611c18565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610786575061078582611d10565b5b9050919050565b60606000805461079c9061398e565b80601f01602080910402602001604051908101604052809291908181526020018280546107c89061398e565b80156108155780601f106107ea57610100808354040283529160200191610815565b820191906000526020600020905b8154815290600101906020018083116107f857829003601f168201915b5050505050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061085082611df2565b61088f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610886906135da565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d582610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093d9061365a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610965611e5e565b73ffffffffffffffffffffffffffffffffffffffff16148061099457506109938161098e611e5e565b611a72565b5b6109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca906134fa565b60405180910390fd5b6109dd8383611e66565b505050565b6109ea611e5e565b73ffffffffffffffffffffffffffffffffffffffff16610a086111eb565b73ffffffffffffffffffffffffffffffffffffffff1614610a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a55906135fa565b60405180910390fd5b8060089080519060200190610a749291906128ec565b5050565b6000600754905090565b600b60149054906101000a900460ff1681565b610aa6610aa0611e5e565b82611f1f565b610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc9061369a565b60405180910390fd5b610af0838383611ffd565b505050565b600080610b0184611df2565b610b40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b379061355a565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600d5485610b739190613826565b610b7d91906137f5565b915091509250929050565b600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610bb6611e5e565b73ffffffffffffffffffffffffffffffffffffffff16610bd46111eb565b73ffffffffffffffffffffffffffffffffffffffff1614610c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c21906135fa565b60405180910390fd5b60004790506000610c396111eb565b73ffffffffffffffffffffffffffffffffffffffff1682604051610c5c906132bd565b60006040518083038185875af1925050503d8060008114610c99576040519150601f19603f3d011682016040523d82523d6000602084013e610c9e565b606091505b5050905080610ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd99061343a565b60405180910390fd5b5050565b610d01838383604051806020016040528060008152506116b0565b505050565b600b60159054906101000a900460ff16610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c9061359a565b60405180910390fd5b610d66610d60611e5e565b82611f1f565b610da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9c9061357a565b60405180910390fd5b610dae81612259565b50565b610db9611e5e565b73ffffffffffffffffffffffffffffffffffffffff16610dd76111eb565b73ffffffffffffffffffffffffffffffffffffffff1614610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e24906135fa565b60405180910390fd5b600b60149054906101000a900460ff1615610e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e749061363a565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b60159054906101000a900460ff1681565b610edc611e5e565b73ffffffffffffffffffffffffffffffffffffffff16610efa6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f47906135fa565b60405180910390fd5b80600d8190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa9061353a565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561107d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110749061351a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110cc611e5e565b73ffffffffffffffffffffffffffffffffffffffff166110ea6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611140576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611137906135fa565b60405180910390fd5b61114a600061236a565b565b611154611e5e565b73ffffffffffffffffffffffffffffffffffffffff166111726111eb565b73ffffffffffffffffffffffffffffffffffffffff16146111c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bf906135fa565b60405180910390fd5b6001600b60146101000a81548160ff021916908315150217905550565b60075481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61121d611e5e565b73ffffffffffffffffffffffffffffffffffffffff1661123b6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611291576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611288906135fa565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135c906134ba565b60405180910390fd5b600061136f610a78565b90506000600190505b8381116113bf5760076000815480929190611392906139f1565b91905055506113ac8382846113a7919061379f565b612430565b80806113b7906139f1565b915050611378565b50505050565b6060600180546113d49061398e565b80601f01602080910402602001604051908101604052809291908181526020018280546114009061398e565b801561144d5780601f106114225761010080835404028352916020019161144d565b820191906000526020600020905b81548152906001019060200180831161143057829003601f168201915b5050505050905090565b61145f611e5e565b73ffffffffffffffffffffffffffffffffffffffff1661147d6111eb565b73ffffffffffffffffffffffffffffffffffffffff16146114d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ca906135fa565b60405180910390fd5b6001600a60156101000a81548160ff021916908315150217905550565b600d5481565b6114fe611e5e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561156c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115639061347a565b60405180910390fd5b8060056000611579611e5e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611626611e5e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161166b9190613362565b60405180910390a35050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900460ff1681565b6116c16116bb611e5e565b83611f1f565b611700576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f79061369a565b60405180910390fd5b61170c8484848461244e565b50505050565b61171a611e5e565b73ffffffffffffffffffffffffffffffffffffffff166117386111eb565b73ffffffffffffffffffffffffffffffffffffffff161461178e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611785906135fa565b60405180910390fd5b600a60159054906101000a900460ff16156117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d59061349a565b60405180910390fd5b80600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6008805461182f9061398e565b80601f016020809104026020016040519081016040528092919081815260200182805461185b9061398e565b80156118a85780601f1061187d576101008083540402835291602001916118a8565b820191906000526020600020905b81548152906001019060200180831161188b57829003601f168201915b505050505081565b60606118bb82611df2565b6118fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f1906133ba565b60405180910390fd5b600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b815260040161195591906136ba565b60006040518083038186803b15801561196d57600080fd5b505afa158015611981573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906119aa9190612dae565b9050919050565b60095481565b600a60159054906101000a900460ff1681565b6119d2611e5e565b73ffffffffffffffffffffffffffffffffffffffff166119f06111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3d906135fa565b60405180910390fd5b600b60159054906101000a900460ff1615600b60156101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b0e611e5e565b73ffffffffffffffffffffffffffffffffffffffff16611b2c6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b79906135fa565b60405180910390fd5b600a60009054906101000a900460ff1615611bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc99061367a565b60405180910390fd5b6001600a60006101000a81548160ff021916908315150217905550611bf5610a78565b600143611c029190613880565b4060001c611c109190613a3a565b600981905550565b611c20611e5e565b73ffffffffffffffffffffffffffffffffffffffff16611c3e6111eb565b73ffffffffffffffffffffffffffffffffffffffff1614611c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8b906135fa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb906133fa565b60405180910390fd5b611d0d8161236a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ddb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611deb5750611dea826124aa565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ed983610f5a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f2a82611df2565b611f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f60906134da565b60405180910390fd5b6000611f7483610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611fe357508373ffffffffffffffffffffffffffffffffffffffff16611fcb84610845565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ff45750611ff38185611a72565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661201d82610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614612073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206a9061361a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120da9061345a565b60405180910390fd5b6120ee838383612514565b6120f9600082611e66565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121499190613880565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a0919061379f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061226482610f5a565b905061227281600084612514565b61227d600083611e66565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122cd9190613880565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61244a828260405180602001604052806000815250612519565b5050565b612459848484611ffd565b61246584848484612574565b6124a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249b906133da565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b612523838361270b565b6125306000848484612574565b61256f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612566906133da565b60405180910390fd5b505050565b60006125958473ffffffffffffffffffffffffffffffffffffffff166128d9565b156126fe578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125be611e5e565b8786866040518563ffffffff1660e01b81526004016125e094939291906132ed565b602060405180830381600087803b1580156125fa57600080fd5b505af192505050801561262b57506040513d601f19601f820116820180604052508101906126289190612d38565b60015b6126ae573d806000811461265b576040519150601f19603f3d011682016040523d82523d6000602084013e612660565b606091505b506000815114156126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d906133da565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612703565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561277b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612772906135ba565b60405180910390fd5b61278481611df2565b156127c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bb9061341a565b60405180910390fd5b6127d060008383612514565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612820919061379f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546128f89061398e565b90600052602060002090601f01602090048101928261291a5760008555612961565b82601f1061293357805160ff1916838001178555612961565b82800160010185558215612961579182015b82811115612960578251825591602001919060010190612945565b5b50905061296e9190612972565b5090565b5b8082111561298b576000816000905550600101612973565b5090565b60006129a261299d846136fa565b6136d5565b9050828152602081018484840111156129be576129bd613b2c565b5b6129c984828561394c565b509392505050565b60006129e46129df8461372b565b6136d5565b905082815260208101848484011115612a00576129ff613b2c565b5b612a0b84828561394c565b509392505050565b6000612a26612a218461372b565b6136d5565b905082815260208101848484011115612a4257612a41613b2c565b5b612a4d84828561395b565b509392505050565b600081359050612a64816140c9565b92915050565b600081359050612a79816140e0565b92915050565b600081359050612a8e816140f7565b92915050565b600081519050612aa3816140f7565b92915050565b600082601f830112612abe57612abd613b27565b5b8135612ace84826020860161298f565b91505092915050565b600082601f830112612aec57612aeb613b27565b5b8135612afc8482602086016129d1565b91505092915050565b600082601f830112612b1a57612b19613b27565b5b8151612b2a848260208601612a13565b91505092915050565b600081359050612b428161410e565b92915050565b600060208284031215612b5e57612b5d613b36565b5b6000612b6c84828501612a55565b91505092915050565b60008060408385031215612b8c57612b8b613b36565b5b6000612b9a85828601612a55565b9250506020612bab85828601612a55565b9150509250929050565b600080600060608486031215612bce57612bcd613b36565b5b6000612bdc86828701612a55565b9350506020612bed86828701612a55565b9250506040612bfe86828701612b33565b9150509250925092565b60008060008060808587031215612c2257612c21613b36565b5b6000612c3087828801612a55565b9450506020612c4187828801612a55565b9350506040612c5287828801612b33565b925050606085013567ffffffffffffffff811115612c7357612c72613b31565b5b612c7f87828801612aa9565b91505092959194509250565b60008060408385031215612ca257612ca1613b36565b5b6000612cb085828601612a55565b9250506020612cc185828601612a6a565b9150509250929050565b60008060408385031215612ce257612ce1613b36565b5b6000612cf085828601612a55565b9250506020612d0185828601612b33565b9150509250929050565b600060208284031215612d2157612d20613b36565b5b6000612d2f84828501612a7f565b91505092915050565b600060208284031215612d4e57612d4d613b36565b5b6000612d5c84828501612a94565b91505092915050565b600060208284031215612d7b57612d7a613b36565b5b600082013567ffffffffffffffff811115612d9957612d98613b31565b5b612da584828501612ad7565b91505092915050565b600060208284031215612dc457612dc3613b36565b5b600082015167ffffffffffffffff811115612de257612de1613b31565b5b612dee84828501612b05565b91505092915050565b600060208284031215612e0d57612e0c613b36565b5b6000612e1b84828501612b33565b91505092915050565b60008060408385031215612e3b57612e3a613b36565b5b6000612e4985828601612b33565b9250506020612e5a85828601612a55565b9150509250929050565b60008060408385031215612e7b57612e7a613b36565b5b6000612e8985828601612b33565b9250506020612e9a85828601612b33565b9150509250929050565b612ead816138b4565b82525050565b612ebc816138c6565b82525050565b6000612ecd8261375c565b612ed78185613772565b9350612ee781856020860161395b565b612ef081613b3b565b840191505092915050565b612f0481613928565b82525050565b6000612f1582613767565b612f1f818561378e565b9350612f2f81856020860161395b565b612f3881613b3b565b840191505092915050565b6000612f50601f8361378e565b9150612f5b82613b4c565b602082019050919050565b6000612f7360328361378e565b9150612f7e82613b75565b604082019050919050565b6000612f9660268361378e565b9150612fa182613bc4565b604082019050919050565b6000612fb9601c8361378e565b9150612fc482613c13565b602082019050919050565b6000612fdc600f8361378e565b9150612fe782613c3c565b602082019050919050565b6000612fff60248361378e565b915061300a82613c65565b604082019050919050565b600061302260198361378e565b915061302d82613cb4565b602082019050919050565b6000613045601c8361378e565b915061305082613cdd565b602082019050919050565b6000613068600b8361378e565b915061307382613d06565b602082019050919050565b600061308b602c8361378e565b915061309682613d2f565b604082019050919050565b60006130ae60388361378e565b91506130b982613d7e565b604082019050919050565b60006130d1602a8361378e565b91506130dc82613dcd565b604082019050919050565b60006130f460298361378e565b91506130ff82613e1c565b604082019050919050565b600061311760128361378e565b915061312282613e6b565b602082019050919050565b600061313a601c8361378e565b915061314582613e94565b602082019050919050565b600061315d60128361378e565b915061316882613ebd565b602082019050919050565b600061318060208361378e565b915061318b82613ee6565b602082019050919050565b60006131a3602c8361378e565b91506131ae82613f0f565b604082019050919050565b60006131c660208361378e565b91506131d182613f5e565b602082019050919050565b60006131e960298361378e565b91506131f482613f87565b604082019050919050565b600061320c601a8361378e565b915061321782613fd6565b602082019050919050565b600061322f60218361378e565b915061323a82613fff565b604082019050919050565b600061325260128361378e565b915061325d8261404e565b602082019050919050565b6000613275600083613783565b915061328082614077565b600082019050919050565b600061329860318361378e565b91506132a38261407a565b604082019050919050565b6132b78161391e565b82525050565b60006132c882613268565b9150819050919050565b60006020820190506132e76000830184612ea4565b92915050565b60006080820190506133026000830187612ea4565b61330f6020830186612ea4565b61331c60408301856132ae565b818103606083015261332e8184612ec2565b905095945050505050565b600060408201905061334e6000830185612ea4565b61335b60208301846132ae565b9392505050565b60006020820190506133776000830184612eb3565b92915050565b60006020820190506133926000830184612efb565b92915050565b600060208201905081810360008301526133b28184612f0a565b905092915050565b600060208201905081810360008301526133d381612f43565b9050919050565b600060208201905081810360008301526133f381612f66565b9050919050565b6000602082019050818103600083015261341381612f89565b9050919050565b6000602082019050818103600083015261343381612fac565b9050919050565b6000602082019050818103600083015261345381612fcf565b9050919050565b6000602082019050818103600083015261347381612ff2565b9050919050565b6000602082019050818103600083015261349381613015565b9050919050565b600060208201905081810360008301526134b381613038565b9050919050565b600060208201905081810360008301526134d38161305b565b9050919050565b600060208201905081810360008301526134f38161307e565b9050919050565b60006020820190508181036000830152613513816130a1565b9050919050565b60006020820190508181036000830152613533816130c4565b9050919050565b60006020820190508181036000830152613553816130e7565b9050919050565b600060208201905081810360008301526135738161310a565b9050919050565b600060208201905081810360008301526135938161312d565b9050919050565b600060208201905081810360008301526135b381613150565b9050919050565b600060208201905081810360008301526135d381613173565b9050919050565b600060208201905081810360008301526135f381613196565b9050919050565b60006020820190508181036000830152613613816131b9565b9050919050565b60006020820190508181036000830152613633816131dc565b9050919050565b60006020820190508181036000830152613653816131ff565b9050919050565b6000602082019050818103600083015261367381613222565b9050919050565b6000602082019050818103600083015261369381613245565b9050919050565b600060208201905081810360008301526136b38161328b565b9050919050565b60006020820190506136cf60008301846132ae565b92915050565b60006136df6136f0565b90506136eb82826139c0565b919050565b6000604051905090565b600067ffffffffffffffff82111561371557613714613af8565b5b61371e82613b3b565b9050602081019050919050565b600067ffffffffffffffff82111561374657613745613af8565b5b61374f82613b3b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b60006137aa8261391e565b91506137b58361391e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137ea576137e9613a6b565b5b828201905092915050565b60006138008261391e565b915061380b8361391e565b92508261381b5761381a613a9a565b5b828204905092915050565b60006138318261391e565b915061383c8361391e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561387557613874613a6b565b5b828202905092915050565b600061388b8261391e565b91506138968361391e565b9250828210156138a9576138a8613a6b565b5b828203905092915050565b60006138bf826138fe565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006139338261393a565b9050919050565b6000613945826138fe565b9050919050565b82818337600083830152505050565b60005b8381101561397957808201518184015260208101905061395e565b83811115613988576000848401525b50505050565b600060028204905060018216806139a657607f821691505b602082108114156139ba576139b9613ac9565b5b50919050565b6139c982613b3b565b810181811067ffffffffffffffff821117156139e8576139e7613af8565b5b80604052505050565b60006139fc8261391e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a2f57613a2e613a6b565b5b600182019050919050565b6000613a458261391e565b9150613a508361391e565b925082613a6057613a5f613a9a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d65746164617461206f776e6572736869702072656e6f756e63656400000000600082015250565b7f4f6e6c79206d696e746572000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f6e2d6578697374656e7420746f6b656e0000000000000000000000000000600082015250565b7f43616c6c6572206e6f74206f776e6572206f7220617070726f76656400000000600082015250565b7f4275726e696e67206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d696e746572206f776e6572736869702072656e6f756e636564000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e646578207365740000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6140d2816138b4565b81146140dd57600080fd5b50565b6140e9816138c6565b81146140f457600080fd5b50565b614100816138d2565b811461410b57600080fd5b50565b6141178161391e565b811461412257600080fd5b5056fea26469706673582212200a443c2aa0230e73efa7251b7de47c799561050a7e81160fd5a0c9fb151a99fb64736f6c63430008060033

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

000000000000000000000000609dfe72eef3ccb069bc2682b3114763e6f25b8f

-----Decoded View---------------
Arg [0] : metadataAddress (address): 0x609DfE72eEf3CCB069bC2682B3114763E6f25B8f

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000609dfe72eef3ccb069bc2682b3114763e6f25b8f


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.