ETH Price: $3,352.43 (-1.08%)

Token

Petabytes (PETA)
 

Overview

Max Total Supply

2,022 PETA

Holders

1,201

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PETA
0x76f56c598ae3272a8bd27cac99bf2e4cd0fdca01
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Lukey McGarry is a UK-born, LA-based, award-winning cartoonist and animator. He's taken his love of animals, lifetime of pop-cultural references, filtered them through the lens of his instantly-recognizable illustration style, and created a universe of 2,022 pieces, each one hand-drawn and unique. From darlings dogs to freaky frogs, the Petabytes collection marks a new benchmark in NFT creation.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Petabytes

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Petabytes.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

import "./ERC721C.sol";

contract Petabytes is ERC721C {
    constructor()
        ERC721C(
            "Petabytes",
            "PETA",
            2022,
            140000000000000000,
            0,
            2,
            1
        )
    // solhint-disable-next-line no-empty-blocks
    {
        // hmm... 0C8584AD4F1AEE986F040FA1E28769E8617D85D7773C2D81373B7782C2019B26
    }
}

File 2 of 14 : ERC721C.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/**
 * @notice Extension of Chiru Labs ERC721 implementation, including
 * Merkle proof allowlist validation and a state machine.
 * See https://www.erc721a.org/.
 * @notice This contract inherits from Ownable, an access control contract
 * which grants this contract's owner exclusive access to certain functions.
 * Ownership may be transferred and/or renounced by this contract's owner.
 * Calling the `owner` function of this contract will return the address of the owner.
 * @author backuardo.eth
 */
contract ERC721C is ERC721A, Ownable, ReentrancyGuard {
    // Enum representing the state of the mint
    enum MintPhase {
        NONE,
        PAUSED,
        ALLOWLIST_SALE,
        PUBLIC_SALE,
        SOLD_OUT
    }

    uint256 public immutable collectionSize;
    // Public mint price per token, in wei
    uint256 public immutable mintPricePublic;
    // Allowlist mint price per token, in wei
    uint256 public immutable mintPriceAllowlist;
    uint256 public immutable maxPerWalletPublic;
    uint256 public immutable maxPerWalletAllowlist;

    string private baseURI;
    // Root hash for allowlist merkle tree (generated off-chain)
    bytes32 public merkleRoot;
    // Current state of the mint
    MintPhase public mintPhase = MintPhase.NONE;

    /**
     * @dev `_maxPerWalletPublic` and `_maxPerWalletAllowlist` should be restricted in size
     * to prevent overly expensive transfer fees for tokens minted in large batches. For excessively
     * large values, the `mint` and `allowlistMint` functions should be overridden to implement batching.
     * See https://chiru-labs.github.io/ERC721A/#/tips?id=batch-size
     */
    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _collectionSize,
        uint256 _mintPricePublic,
        uint256 _mintPriceAllowlist,
        uint256 _maxPerWalletPublic,
        uint256 _maxPerWalletAllowlist
    ) ERC721A(_name, _symbol) {
        collectionSize = _collectionSize;
        mintPricePublic = _mintPricePublic;
        mintPriceAllowlist = _mintPriceAllowlist;
        maxPerWalletPublic = _maxPerWalletPublic;
        maxPerWalletAllowlist = _maxPerWalletAllowlist;
    }

    ////////////////////////
    // MODIFIER FUNCTIONS //
    ////////////////////////

    /**
     * @notice Ensure function cannot be called outside of a given mint phase
     * @param _mintPhase Correct mint phase for function to execute
     */
    modifier inMintPhase(MintPhase _mintPhase) {
        require(mintPhase == _mintPhase, "ERC721C: incorrect mint phase");
        _;
    }

    ////////////////////
    // MINT FUNCTIONS //
    ////////////////////

    /**
     * @notice Mint a quantity of tokens during allowlist mint phase by providing a Merkle proof
     * @param _quantity Number of tokens to mint
     * @param _proof Merkle proof to verify msg.sender is part of the allowlist
     */
    function allowlistMint(uint256 _quantity, bytes32[] calldata _proof)
        external
        payable
        virtual
        nonReentrant
        inMintPhase(MintPhase.ALLOWLIST_SALE)
    {
        //// CHECKS ////
        require(
            MerkleProof.verify(
                _proof,
                merkleRoot,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "ERC721C: invalid proof"
        );
        require(
            msg.value == mintPriceAllowlist * _quantity,
            "ERC721C: incorrect payment"
        );
        require(
            totalSupply() + _quantity <= collectionSize,
            "ERC721C: insufficient supply"
        );
        require(
            getRedemptionsAllowlist() + _quantity <= maxPerWalletAllowlist,
            "ERC721C: exceeds allowlist max"
        );

        //// EFFECTS ////
        incrementRedemptionsAllowlist(_quantity);

        //// INTERACTIONS ////
        _safeMint(msg.sender, _quantity);
    }

    /**
     * @notice Mint a quantity of tokens during public mint phase
     * @param _quantity Number of tokens to mint
     */
    function mint(uint256 _quantity)
        external
        payable
        virtual
        nonReentrant
        inMintPhase(MintPhase.PUBLIC_SALE)
    {
        //// CHECKS ////
        require(
            msg.value == mintPricePublic * _quantity,
            "ERC721C: incorrect payment"
        );
        require(
            totalSupply() + _quantity <= collectionSize,
            "ERC721C: insufficient supply"
        );
        require(
            getRedemptionsPublic() + _quantity <= maxPerWalletPublic,
            "ERC721C: exceeds public max"
        );

        //// EFFECTS ////
        incrementRedemptionsPublic(_quantity);

        //// INTERACTIONS ////
        _safeMint(msg.sender, _quantity);
    }

    //////////////////////
    // SETTER FUNCTIONS //
    //////////////////////

    /**
     * @notice Set the allowlist Merkle root in contract storage
     * @notice Use restricted to contract owner
     * @param _merkleRoot New Merkle root hash
     */
    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    /**
     * @notice Set the state machine mint phase
     * @notice Use restricted to contract owner
     * @param _mintPhase New mint phase
     */
    function setMintPhase(MintPhase _mintPhase) external onlyOwner {
        mintPhase = _mintPhase;
    }

    /**
     * @notice Set the contract base token uri
     * @notice Use restricted to contract owner
     * @param _baseTokenURI New base token uri
     */
    function setBaseURI(string calldata _baseTokenURI) external onlyOwner {
        baseURI = _baseTokenURI;
    }

    /**
     * @notice Increment number of allowlist token mints redeemed by caller
     * @dev We cast the _numToIncrement argument into uint32, which will not be an issue as
     * mint quantity should never be greater than 2^32 - 1.
     * @dev Number of redemptions are stored in ERC721A auxillary storage, which can help
     * remove an extra cold SLOAD and SSTORE operation. Since we're storing two values
     * (public and allowlist redemptions) we need to pack and unpack two uint32s into a single uint64.
     * See https://chiru-labs.github.io/ERC721A/#/erc721a?id=addressdata
     */
    function incrementRedemptionsAllowlist(uint256 _numToIncrement) private {
        (
            uint32 allowlistMintRedemptions,
            uint32 publicMintRedemptions
        ) = unpackMintRedemptions(_getAux(msg.sender));
        allowlistMintRedemptions += uint32(_numToIncrement);
        _setAux(
            msg.sender,
            packMintRedemptions(allowlistMintRedemptions, publicMintRedemptions)
        );
    }

    /**
     * @notice Increment number of public token mints redeemed by caller
     * @dev We cast the _numToIncrement argument into uint32, which will not be an issue as
     * mint quantity should never be greater than 2^32 - 1.
     * @dev Number of redemptions are stored in ERC721A auxillary storage, which can help
     * remove an extra cold SLOAD and SSTORE operation. Since we're storing two values
     * (public and allowlist redemptions) we need to pack and unpack two uint32s into a single uint64.
     * See https://chiru-labs.github.io/ERC721A/#/erc721a?id=addressdata
     */
    function incrementRedemptionsPublic(uint256 _numToIncrement) private {
        (
            uint32 allowlistMintRedemptions,
            uint32 publicMintRedemptions
        ) = unpackMintRedemptions(_getAux(msg.sender));
        publicMintRedemptions += uint32(_numToIncrement);
        _setAux(
            msg.sender,
            packMintRedemptions(allowlistMintRedemptions, publicMintRedemptions)
        );
    }

    //////////////////////
    // GETTER FUNCTIONS //
    //////////////////////

    /**
     * @notice Unpack and get number of allowlist token mints redeemed by caller
     * @return number of allowlist redemptions used
     * @dev Number of redemptions are stored in ERC721A auxillary storage, which can help
     * remove an extra cold SLOAD and SSTORE operation. Since we're storing two values
     * (public and allowlist redemptions) we need to pack and unpack two uint32s into a single uint64.
     * See https://chiru-labs.github.io/ERC721A/#/erc721a?id=addressdata
     */
    function getRedemptionsAllowlist() public view returns (uint256) {
        (uint32 allowlistMintRedemptions, ) = unpackMintRedemptions(
            _getAux(msg.sender)
        );
        return allowlistMintRedemptions;
    }

    /**
     * @notice Unpack and get number of public token mints redeemed by caller
     * @return number of public redemptions used
     * @dev Number of redemptions are stored in ERC721A auxillary storage, which can help
     * remove an extra cold SLOAD and SSTORE operation. Since we're storing two values
     * (public and allowlist redemptions) we need to pack and unpack two uint32s into a single uint64.
     * See https://chiru-labs.github.io/ERC721A/#/erc721a?id=addressdata
     */
    function getRedemptionsPublic() public view returns (uint256) {
        (, uint32 publicMintRedemptions) = unpackMintRedemptions(
            _getAux(msg.sender)
        );
        return publicMintRedemptions;
    }

    /**
     * @return Current mint phase
     */
    function getMintPhase() public view returns (MintPhase) {
        return mintPhase;
    }

    /**
     * @return Current base token uri
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    //////////////////////
    // HELPER FUNCTIONS //
    //////////////////////

    /**
     * @notice Pack two uint32s (allowlist and public redemptions) into a single uint64 value
     * @return Packed value
     * @dev Performs shift and bit operations to pack two uint32s into a single uint64
     */
    function packMintRedemptions(
        uint32 _allowlistMintRedemptions,
        uint32 _publicMintRedemptions
    ) private pure returns (uint64) {
        return
            (uint64(_allowlistMintRedemptions) << 32) |
            uint64(_publicMintRedemptions);
    }

    /**
     * @notice Unpack a single uint64 value into two uint32s (allowlist and public redemptions)
     * @return allowlistMintRedemptions publicMintRedemptions Unpacked values
     * @dev Performs shift and bit operations to unpack a single uint64 into two uint32s
     */
    function unpackMintRedemptions(uint64 _mintRedemptionPack)
        private
        pure
        returns (uint32 allowlistMintRedemptions, uint32 publicMintRedemptions)
    {
        allowlistMintRedemptions = uint32(_mintRedemptionPack >> 32);
        publicMintRedemptions = uint32(_mintRedemptionPack);
    }

    /////////////////////
    // ADMIN FUNCTIONS //
    /////////////////////

    /**
     * @notice Mint a quantity of tokens to the contract owners address
     * @notice Use restricted to contract owner
     * @param _quantity Number of tokens to mint
     * @dev Must be executed in `MintPhase.NONE` (i.e., before allowlist or public mint begins)
     * @dev Minting in batches will not help prevent overly expensive transfer fees, since
     * token ids are sequential and dev minting occurs before allowlist and public minting.
     * See https://chiru-labs.github.io/ERC721A/#/tips?id=batch-size
     */
    function devMint(uint256 _quantity)
        external
        onlyOwner
        inMintPhase(MintPhase.NONE)
    {
        //// CHECKS ////
        require(
            totalSupply() + _quantity <= collectionSize,
            "ERC721C: insufficient supply"
        );

        //// INTERACTIONS ////
        _safeMint(owner(), _quantity);
    }

    /**
     * @notice Withdraw all funds to the contract owners address
     * @notice Use restricted to contract owner
     * @dev `transfer` and `send` assume constant gas prices. This function
     * is onlyOwner, so we accept the reentrancy risk that `.call.value` carries.
     */
    function withdraw() external onlyOwner {
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, ) = owner().call{value: address(this).balance}("");
        require(success, "ERC721C: transfer failed");
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    /**
     * @notice Prevent accidental ETH transfer
     */
    fallback() external payable {
        require(false, "ERC721C: not implemented");
    }

    /**
     * @notice Prevent accidental ETH transfer
     */
    receive() external payable {
        require(false, "ERC721C: not implemented");
    }
}

File 3 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPhase","outputs":[{"internalType":"enum ERC721C.MintPhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRedemptionsAllowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRedemptionsPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletAllowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPhase","outputs":[{"internalType":"enum ERC721C.MintPhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceAllowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ERC721C.MintPhase","name":"_mintPhase","type":"uint8"}],"name":"setMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101206040526000600c60006101000a81548160ff021916908360048111156200002e576200002d620002f0565b5b02179055503480156200004057600080fd5b506040518060400160405280600981526020017f50657461627974657300000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f50455441000000000000000000000000000000000000000000000000000000008152506107e66701f161421c8e000060006002600186868160029080519060200190620000d992919062000240565b508060039080519060200190620000f292919062000240565b50620001036200016960201b60201c565b60008190555050506200012b6200011f6200017260201b60201c565b6200017a60201b60201c565b600160098190555084608081815250508360a081815250508260c081815250508160e081815250508061010081815250505050505050505062000384565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024e906200034e565b90600052602060002090601f016020900481019282620002725760008555620002be565b82601f106200028d57805160ff1916838001178555620002be565b82800160010185558215620002be579182015b82811115620002bd578251825591602001919060010190620002a0565b5b509050620002cd9190620002d1565b5090565b5b80821115620002ec576000816000905550600101620002d2565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200036757607f821691505b602082108114156200037e576200037d6200031f565b5b50919050565b60805160a05160c05160e051610100516142f8620003fa6000396000818161093401526113cb01526000818161174a01526119560152600081816112ea01526119f6015260008181610b9b0152611669015260008181610d7101528181610f4d0152818161135601526116d501526142f86000f3fe6080604052600436106101fd5760003560e01c806370a082311161010d578063b029a514116100a0578063c87b56dd1161006f578063c87b56dd14610757578063d8ec555f14610794578063e87570bf146107bf578063e985e9c5146107ea578063f2fde38b1461082757610245565b8063b029a514146106ad578063b88d4fde146106d8578063bf17cd4514610701578063c52766c61461072c57610245565b80638da5cb5b116100dc5780638da5cb5b1461061257806395d89b411461063d578063a0712d6814610668578063a22cb4651461068457610245565b806370a0823114610579578063715018a6146105b65780637bc9200e146105cd5780637cb64759146105e957610245565b806323b872dd116101905780633ccfd60b1161015f5780633ccfd60b146104a857806342842e0e146104bf57806345c0f533146104e857806355f804b3146105135780636352211e1461053c57610245565b806323b872dd146104025780632eb4a7ab1461042b57806331c07bbf14610456578063375a069a1461047f57610245565b8063095ea7b3116101cc578063095ea7b31461035857806317881cbf1461038157806318160ddd146103ac5780631c18a062146103d757610245565b806301ffc9a714610288578063031ee82b146102c557806306fdde03146102f0578063081812fc1461031b57610245565b36610245576000610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023a9061310b565b60405180910390fd5b005b6000610286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027d9061310b565b60405180910390fd5b005b34801561029457600080fd5b506102af60048036038101906102aa9190613197565b610850565b6040516102bc91906131df565b60405180910390f35b3480156102d157600080fd5b506102da610932565b6040516102e79190613213565b60405180910390f35b3480156102fc57600080fd5b50610305610956565b60405161031291906132b6565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613304565b6109e8565b60405161034f9190613372565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a91906133b9565b610a64565b005b34801561038d57600080fd5b50610396610b6f565b6040516103a39190613470565b60405180910390f35b3480156103b857600080fd5b506103c1610b82565b6040516103ce9190613213565b60405180910390f35b3480156103e357600080fd5b506103ec610b99565b6040516103f99190613213565b60405180910390f35b34801561040e57600080fd5b506104296004803603810190610424919061348b565b610bbd565b005b34801561043757600080fd5b50610440610bcd565b60405161044d91906134f7565b60405180910390f35b34801561046257600080fd5b5061047d60048036038101906104789190613537565b610bd3565b005b34801561048b57600080fd5b506104a660048036038101906104a19190613304565b610c7c565b005b3480156104b457600080fd5b506104bd610df9565b005b3480156104cb57600080fd5b506104e660048036038101906104e1919061348b565b610f2b565b005b3480156104f457600080fd5b506104fd610f4b565b60405161050a9190613213565b60405180910390f35b34801561051f57600080fd5b5061053a600480360381019061053591906135c9565b610f6f565b005b34801561054857600080fd5b50610563600480360381019061055e9190613304565b611001565b6040516105709190613372565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613616565b611017565b6040516105ad9190613213565b60405180910390f35b3480156105c257600080fd5b506105cb6110e7565b005b6105e760048036038101906105e29190613699565b61116f565b005b3480156105f557600080fd5b50610610600480360381019061060b9190613725565b61145f565b005b34801561061e57600080fd5b506106276114e5565b6040516106349190613372565b60405180910390f35b34801561064957600080fd5b5061065261150f565b60405161065f91906132b6565b60405180910390f35b610682600480360381019061067d9190613304565b6115a1565b005b34801561069057600080fd5b506106ab60048036038101906106a6919061377e565b6117dc565b005b3480156106b957600080fd5b506106c2611954565b6040516106cf9190613213565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa91906138ee565b611978565b005b34801561070d57600080fd5b506107166119f4565b6040516107239190613213565b60405180910390f35b34801561073857600080fd5b50610741611a18565b60405161074e9190613470565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190613304565b611a2f565b60405161078b91906132b6565b60405180910390f35b3480156107a057600080fd5b506107a9611ace565b6040516107b69190613213565b60405180910390f35b3480156107cb57600080fd5b506107d4611af2565b6040516107e19190613213565b60405180910390f35b3480156107f657600080fd5b50610811600480360381019061080c9190613971565b611b16565b60405161081e91906131df565b60405180910390f35b34801561083357600080fd5b5061084e60048036038101906108499190613616565b611baa565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092b575061092a82611ca2565b5b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b606060028054610965906139e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610991906139e0565b80156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b5050505050905090565b60006109f382611d0c565b610a29576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6f82611001565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ad7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af6611d5a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b285750610b2681610b21611d5a565b611b16565b155b15610b5f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b6a838383611d62565b505050565b600c60009054906101000a900460ff1681565b6000610b8c611e14565b6001546000540303905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b610bc8838383611e1d565b505050565b600b5481565b610bdb611d5a565b73ffffffffffffffffffffffffffffffffffffffff16610bf96114e5565b73ffffffffffffffffffffffffffffffffffffffff1614610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690613a5e565b60405180910390fd5b80600c60006101000a81548160ff02191690836004811115610c7457610c736133f9565b5b021790555050565b610c84611d5a565b73ffffffffffffffffffffffffffffffffffffffff16610ca26114e5565b73ffffffffffffffffffffffffffffffffffffffff1614610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef90613a5e565b60405180910390fd5b6000806004811115610d0d57610d0c6133f9565b5b600c60009054906101000a900460ff166004811115610d2f57610d2e6133f9565b5b14610d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6690613aca565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082610d99610b82565b610da39190613b19565b1115610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb90613bbb565b60405180910390fd5b610df5610def6114e5565b836122d3565b5050565b610e01611d5a565b73ffffffffffffffffffffffffffffffffffffffff16610e1f6114e5565b73ffffffffffffffffffffffffffffffffffffffff1614610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613a5e565b60405180910390fd5b6000610e7f6114e5565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ea290613c0c565b60006040518083038185875af1925050503d8060008114610edf576040519150601f19603f3d011682016040523d82523d6000602084013e610ee4565b606091505b5050905080610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90613c6d565b60405180910390fd5b50565b610f4683838360405180602001604052806000815250611978565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610f77611d5a565b73ffffffffffffffffffffffffffffffffffffffff16610f956114e5565b73ffffffffffffffffffffffffffffffffffffffff1614610feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe290613a5e565b60405180910390fd5b8181600a9190610ffc929190612fc8565b505050565b600061100c826122f1565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561107f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6110ef611d5a565b73ffffffffffffffffffffffffffffffffffffffff1661110d6114e5565b73ffffffffffffffffffffffffffffffffffffffff1614611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a90613a5e565b60405180910390fd5b61116d6000612580565b565b600260095414156111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac90613cd9565b60405180910390fd5b600260098190555060028060048111156111d2576111d16133f9565b5b600c60009054906101000a900460ff1660048111156111f4576111f36133f9565b5b14611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b90613aca565b60405180910390fd5b6112a8838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b543360405160200161128d9190613d41565b60405160208183030381529060405280519060200120612646565b6112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90613da8565b60405180910390fd5b837f00000000000000000000000000000000000000000000000000000000000000006113139190613dc8565b3414611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90613e6e565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008461137e610b82565b6113889190613b19565b11156113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c090613bbb565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000846113f3611af2565b6113fd9190613b19565b111561143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590613eda565b60405180910390fd5b6114478461265d565b61145133856122d3565b506001600981905550505050565b611467611d5a565b73ffffffffffffffffffffffffffffffffffffffff166114856114e5565b73ffffffffffffffffffffffffffffffffffffffff16146114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290613a5e565b60405180910390fd5b80600b8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461151e906139e0565b80601f016020809104026020016040519081016040528092919081815260200182805461154a906139e0565b80156115975780601f1061156c57610100808354040283529160200191611597565b820191906000526020600020905b81548152906001019060200180831161157a57829003601f168201915b5050505050905090565b600260095414156115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de90613cd9565b60405180910390fd5b60026009819055506003806004811115611604576116036133f9565b5b600c60009054906101000a900460ff166004811115611626576116256133f9565b5b14611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90613aca565b60405180910390fd5b817f00000000000000000000000000000000000000000000000000000000000000006116929190613dc8565b34146116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca90613e6e565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000826116fd610b82565b6117079190613b19565b1115611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90613bbb565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082611772611ace565b61177c9190613b19565b11156117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b490613f46565b60405180910390fd5b6117c68261269b565b6117d033836122d3565b50600160098190555050565b6117e4611d5a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611849576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611856611d5a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611903611d5a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161194891906131df565b60405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000081565b611983848484611e1d565b6119a28373ffffffffffffffffffffffffffffffffffffffff166126d9565b80156119b757506119b5848484846126fc565b155b156119ee576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600c60009054906101000a900460ff16905090565b6060611a3a82611d0c565b611a70576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a7a61284d565b9050600081511415611a9b5760405180602001604052806000815250611ac6565b80611aa5846128df565b604051602001611ab6929190613fa2565b6040516020818303038152906040525b915050919050565b600080611ae2611add33612a40565b612aa0565b9150508063ffffffff1691505090565b600080611b06611b0133612a40565b612aa0565b5090508063ffffffff1691505090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bb2611d5a565b73ffffffffffffffffffffffffffffffffffffffff16611bd06114e5565b73ffffffffffffffffffffffffffffffffffffffff1614611c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1d90613a5e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8d90614038565b60405180910390fd5b611c9f81612580565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611d17611e14565b11158015611d26575060005482105b8015611d53575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000611e28826122f1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e93576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611eb4611d5a565b73ffffffffffffffffffffffffffffffffffffffff161480611ee35750611ee285611edd611d5a565b611b16565b5b80611f285750611ef1611d5a565b73ffffffffffffffffffffffffffffffffffffffff16611f10846109e8565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f61576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fc8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fd58585856001612abc565b611fe160008487611d62565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561226157600054821461226057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122cc8585856001612ac2565b5050505050565b6122ed828260405180602001604052806000815250612ac8565b5050565b6122f961304e565b600082905080612307611e14565b11158015612316575060005481105b15612549576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161254757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461242b57809250505061257b565b5b60011561254657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461254157809250505061257b565b61242c565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826126538584612ada565b1490509392505050565b60008061267161266c33612a40565b612aa0565b9150915082826126819190614068565b9150612696336126918484612b4f565b612b76565b505050565b6000806126af6126aa33612a40565b612aa0565b9150915082816126bf9190614068565b90506126d4336126cf8484612b4f565b612b76565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612722611d5a565b8786866040518563ffffffff1660e01b815260040161274494939291906140f7565b6020604051808303816000875af192505050801561278057506040513d601f19601f8201168201806040525081019061277d9190614158565b60015b6127fa573d80600081146127b0576040519150601f19603f3d011682016040523d82523d6000602084013e6127b5565b606091505b506000815114156127f2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461285c906139e0565b80601f0160208091040260200160405190810160405280929190818152602001828054612888906139e0565b80156128d55780601f106128aa576101008083540402835291602001916128d5565b820191906000526020600020905b8154815290600101906020018083116128b857829003601f168201915b5050505050905090565b60606000821415612927576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a3b565b600082905060005b6000821461295957808061294290614185565b915050600a8261295291906141fd565b915061292f565b60008167ffffffffffffffff811115612975576129746137c3565b5b6040519080825280601f01601f1916602001820160405280156129a75781602001600182028036833780820191505090505b5090505b60008514612a34576001826129c0919061422e565b9150600a856129cf9190614262565b60306129db9190613b19565b60f81b8183815181106129f1576129f0614293565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a2d91906141fd565b94506129ab565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160189054906101000a900467ffffffffffffffff169050919050565b60008060208367ffffffffffffffff16901c9150829050915091565b50505050565b50505050565b612ad58383836001612be3565b505050565b60008082905060005b8451811015612b44576000858281518110612b0157612b00614293565b5b60200260200101519050808311612b2357612b1c8382612fb1565b9250612b30565b612b2d8184612fb1565b92505b508080612b3c90614185565b915050612ae3565b508091505092915050565b60008163ffffffff1660208463ffffffff1667ffffffffffffffff16901b17905092915050565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612c50576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612c8b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c986000868387612abc565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612e625750612e618773ffffffffffffffffffffffffffffffffffffffff166126d9565b5b15612f28575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ed760008884806001019550886126fc565b612f0d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612e68578260005414612f2357600080fd5b612f94565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612f29575b816000819055505050612faa6000868387612ac2565b5050505050565b600082600052816020526040600020905092915050565b828054612fd4906139e0565b90600052602060002090601f016020900481019282612ff6576000855561303d565b82601f1061300f57803560ff191683800117855561303d565b8280016001018555821561303d579182015b8281111561303c578235825591602001919060010190613021565b5b50905061304a9190613091565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156130aa576000816000905550600101613092565b5090565b600082825260208201905092915050565b7f455243373231433a206e6f7420696d706c656d656e7465640000000000000000600082015250565b60006130f56018836130ae565b9150613100826130bf565b602082019050919050565b60006020820190508181036000830152613124816130e8565b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131748161313f565b811461317f57600080fd5b50565b6000813590506131918161316b565b92915050565b6000602082840312156131ad576131ac613135565b5b60006131bb84828501613182565b91505092915050565b60008115159050919050565b6131d9816131c4565b82525050565b60006020820190506131f460008301846131d0565b92915050565b6000819050919050565b61320d816131fa565b82525050565b60006020820190506132286000830184613204565b92915050565b600081519050919050565b60005b8381101561325757808201518184015260208101905061323c565b83811115613266576000848401525b50505050565b6000601f19601f8301169050919050565b60006132888261322e565b61329281856130ae565b93506132a2818560208601613239565b6132ab8161326c565b840191505092915050565b600060208201905081810360008301526132d0818461327d565b905092915050565b6132e1816131fa565b81146132ec57600080fd5b50565b6000813590506132fe816132d8565b92915050565b60006020828403121561331a57613319613135565b5b6000613328848285016132ef565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061335c82613331565b9050919050565b61336c81613351565b82525050565b60006020820190506133876000830184613363565b92915050565b61339681613351565b81146133a157600080fd5b50565b6000813590506133b38161338d565b92915050565b600080604083850312156133d0576133cf613135565b5b60006133de858286016133a4565b92505060206133ef858286016132ef565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110613439576134386133f9565b5b50565b600081905061344a82613428565b919050565b600061345a8261343c565b9050919050565b61346a8161344f565b82525050565b60006020820190506134856000830184613461565b92915050565b6000806000606084860312156134a4576134a3613135565b5b60006134b2868287016133a4565b93505060206134c3868287016133a4565b92505060406134d4868287016132ef565b9150509250925092565b6000819050919050565b6134f1816134de565b82525050565b600060208201905061350c60008301846134e8565b92915050565b6005811061351f57600080fd5b50565b60008135905061353181613512565b92915050565b60006020828403121561354d5761354c613135565b5b600061355b84828501613522565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261358957613588613564565b5b8235905067ffffffffffffffff8111156135a6576135a5613569565b5b6020830191508360018202830111156135c2576135c161356e565b5b9250929050565b600080602083850312156135e0576135df613135565b5b600083013567ffffffffffffffff8111156135fe576135fd61313a565b5b61360a85828601613573565b92509250509250929050565b60006020828403121561362c5761362b613135565b5b600061363a848285016133a4565b91505092915050565b60008083601f84011261365957613658613564565b5b8235905067ffffffffffffffff81111561367657613675613569565b5b6020830191508360208202830111156136925761369161356e565b5b9250929050565b6000806000604084860312156136b2576136b1613135565b5b60006136c0868287016132ef565b935050602084013567ffffffffffffffff8111156136e1576136e061313a565b5b6136ed86828701613643565b92509250509250925092565b613702816134de565b811461370d57600080fd5b50565b60008135905061371f816136f9565b92915050565b60006020828403121561373b5761373a613135565b5b600061374984828501613710565b91505092915050565b61375b816131c4565b811461376657600080fd5b50565b60008135905061377881613752565b92915050565b6000806040838503121561379557613794613135565b5b60006137a3858286016133a4565b92505060206137b485828601613769565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137fb8261326c565b810181811067ffffffffffffffff8211171561381a576138196137c3565b5b80604052505050565b600061382d61312b565b905061383982826137f2565b919050565b600067ffffffffffffffff821115613859576138586137c3565b5b6138628261326c565b9050602081019050919050565b82818337600083830152505050565b600061389161388c8461383e565b613823565b9050828152602081018484840111156138ad576138ac6137be565b5b6138b884828561386f565b509392505050565b600082601f8301126138d5576138d4613564565b5b81356138e584826020860161387e565b91505092915050565b6000806000806080858703121561390857613907613135565b5b6000613916878288016133a4565b9450506020613927878288016133a4565b9350506040613938878288016132ef565b925050606085013567ffffffffffffffff8111156139595761395861313a565b5b613965878288016138c0565b91505092959194509250565b6000806040838503121561398857613987613135565b5b6000613996858286016133a4565b92505060206139a7858286016133a4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139f857607f821691505b60208210811415613a0c57613a0b6139b1565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a486020836130ae565b9150613a5382613a12565b602082019050919050565b60006020820190508181036000830152613a7781613a3b565b9050919050565b7f455243373231433a20696e636f7272656374206d696e74207068617365000000600082015250565b6000613ab4601d836130ae565b9150613abf82613a7e565b602082019050919050565b60006020820190508181036000830152613ae381613aa7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b24826131fa565b9150613b2f836131fa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b6457613b63613aea565b5b828201905092915050565b7f455243373231433a20696e73756666696369656e7420737570706c7900000000600082015250565b6000613ba5601c836130ae565b9150613bb082613b6f565b602082019050919050565b60006020820190508181036000830152613bd481613b98565b9050919050565b600081905092915050565b50565b6000613bf6600083613bdb565b9150613c0182613be6565b600082019050919050565b6000613c1782613be9565b9150819050919050565b7f455243373231433a207472616e73666572206661696c65640000000000000000600082015250565b6000613c576018836130ae565b9150613c6282613c21565b602082019050919050565b60006020820190508181036000830152613c8681613c4a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613cc3601f836130ae565b9150613cce82613c8d565b602082019050919050565b60006020820190508181036000830152613cf281613cb6565b9050919050565b60008160601b9050919050565b6000613d1182613cf9565b9050919050565b6000613d2382613d06565b9050919050565b613d3b613d3682613351565b613d18565b82525050565b6000613d4d8284613d2a565b60148201915081905092915050565b7f455243373231433a20696e76616c69642070726f6f6600000000000000000000600082015250565b6000613d926016836130ae565b9150613d9d82613d5c565b602082019050919050565b60006020820190508181036000830152613dc181613d85565b9050919050565b6000613dd3826131fa565b9150613dde836131fa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e1757613e16613aea565b5b828202905092915050565b7f455243373231433a20696e636f7272656374207061796d656e74000000000000600082015250565b6000613e58601a836130ae565b9150613e6382613e22565b602082019050919050565b60006020820190508181036000830152613e8781613e4b565b9050919050565b7f455243373231433a206578636565647320616c6c6f776c697374206d61780000600082015250565b6000613ec4601e836130ae565b9150613ecf82613e8e565b602082019050919050565b60006020820190508181036000830152613ef381613eb7565b9050919050565b7f455243373231433a2065786365656473207075626c6963206d61780000000000600082015250565b6000613f30601b836130ae565b9150613f3b82613efa565b602082019050919050565b60006020820190508181036000830152613f5f81613f23565b9050919050565b600081905092915050565b6000613f7c8261322e565b613f868185613f66565b9350613f96818560208601613239565b80840191505092915050565b6000613fae8285613f71565b9150613fba8284613f71565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140226026836130ae565b915061402d82613fc6565b604082019050919050565b6000602082019050818103600083015261405181614015565b9050919050565b600063ffffffff82169050919050565b600061407382614058565b915061407e83614058565b92508263ffffffff0382111561409757614096613aea565b5b828201905092915050565b600081519050919050565b600082825260208201905092915050565b60006140c9826140a2565b6140d381856140ad565b93506140e3818560208601613239565b6140ec8161326c565b840191505092915050565b600060808201905061410c6000830187613363565b6141196020830186613363565b6141266040830185613204565b818103606083015261413881846140be565b905095945050505050565b6000815190506141528161316b565b92915050565b60006020828403121561416e5761416d613135565b5b600061417c84828501614143565b91505092915050565b6000614190826131fa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141c3576141c2613aea565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614208826131fa565b9150614213836131fa565b925082614223576142226141ce565b5b828204905092915050565b6000614239826131fa565b9150614244836131fa565b92508282101561425757614256613aea565b5b828203905092915050565b600061426d826131fa565b9150614278836131fa565b925082614288576142876141ce565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220063d3d9b1e877e0a998a9dae58081fff63b53b7bf53226a11fd4d5f0963c5f4964736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106101fd5760003560e01c806370a082311161010d578063b029a514116100a0578063c87b56dd1161006f578063c87b56dd14610757578063d8ec555f14610794578063e87570bf146107bf578063e985e9c5146107ea578063f2fde38b1461082757610245565b8063b029a514146106ad578063b88d4fde146106d8578063bf17cd4514610701578063c52766c61461072c57610245565b80638da5cb5b116100dc5780638da5cb5b1461061257806395d89b411461063d578063a0712d6814610668578063a22cb4651461068457610245565b806370a0823114610579578063715018a6146105b65780637bc9200e146105cd5780637cb64759146105e957610245565b806323b872dd116101905780633ccfd60b1161015f5780633ccfd60b146104a857806342842e0e146104bf57806345c0f533146104e857806355f804b3146105135780636352211e1461053c57610245565b806323b872dd146104025780632eb4a7ab1461042b57806331c07bbf14610456578063375a069a1461047f57610245565b8063095ea7b3116101cc578063095ea7b31461035857806317881cbf1461038157806318160ddd146103ac5780631c18a062146103d757610245565b806301ffc9a714610288578063031ee82b146102c557806306fdde03146102f0578063081812fc1461031b57610245565b36610245576000610243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161023a9061310b565b60405180910390fd5b005b6000610286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027d9061310b565b60405180910390fd5b005b34801561029457600080fd5b506102af60048036038101906102aa9190613197565b610850565b6040516102bc91906131df565b60405180910390f35b3480156102d157600080fd5b506102da610932565b6040516102e79190613213565b60405180910390f35b3480156102fc57600080fd5b50610305610956565b60405161031291906132b6565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613304565b6109e8565b60405161034f9190613372565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a91906133b9565b610a64565b005b34801561038d57600080fd5b50610396610b6f565b6040516103a39190613470565b60405180910390f35b3480156103b857600080fd5b506103c1610b82565b6040516103ce9190613213565b60405180910390f35b3480156103e357600080fd5b506103ec610b99565b6040516103f99190613213565b60405180910390f35b34801561040e57600080fd5b506104296004803603810190610424919061348b565b610bbd565b005b34801561043757600080fd5b50610440610bcd565b60405161044d91906134f7565b60405180910390f35b34801561046257600080fd5b5061047d60048036038101906104789190613537565b610bd3565b005b34801561048b57600080fd5b506104a660048036038101906104a19190613304565b610c7c565b005b3480156104b457600080fd5b506104bd610df9565b005b3480156104cb57600080fd5b506104e660048036038101906104e1919061348b565b610f2b565b005b3480156104f457600080fd5b506104fd610f4b565b60405161050a9190613213565b60405180910390f35b34801561051f57600080fd5b5061053a600480360381019061053591906135c9565b610f6f565b005b34801561054857600080fd5b50610563600480360381019061055e9190613304565b611001565b6040516105709190613372565b60405180910390f35b34801561058557600080fd5b506105a0600480360381019061059b9190613616565b611017565b6040516105ad9190613213565b60405180910390f35b3480156105c257600080fd5b506105cb6110e7565b005b6105e760048036038101906105e29190613699565b61116f565b005b3480156105f557600080fd5b50610610600480360381019061060b9190613725565b61145f565b005b34801561061e57600080fd5b506106276114e5565b6040516106349190613372565b60405180910390f35b34801561064957600080fd5b5061065261150f565b60405161065f91906132b6565b60405180910390f35b610682600480360381019061067d9190613304565b6115a1565b005b34801561069057600080fd5b506106ab60048036038101906106a6919061377e565b6117dc565b005b3480156106b957600080fd5b506106c2611954565b6040516106cf9190613213565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa91906138ee565b611978565b005b34801561070d57600080fd5b506107166119f4565b6040516107239190613213565b60405180910390f35b34801561073857600080fd5b50610741611a18565b60405161074e9190613470565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190613304565b611a2f565b60405161078b91906132b6565b60405180910390f35b3480156107a057600080fd5b506107a9611ace565b6040516107b69190613213565b60405180910390f35b3480156107cb57600080fd5b506107d4611af2565b6040516107e19190613213565b60405180910390f35b3480156107f657600080fd5b50610811600480360381019061080c9190613971565b611b16565b60405161081e91906131df565b60405180910390f35b34801561083357600080fd5b5061084e60048036038101906108499190613616565b611baa565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061092b575061092a82611ca2565b5b9050919050565b7f000000000000000000000000000000000000000000000000000000000000000181565b606060028054610965906139e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610991906139e0565b80156109de5780601f106109b3576101008083540402835291602001916109de565b820191906000526020600020905b8154815290600101906020018083116109c157829003601f168201915b5050505050905090565b60006109f382611d0c565b610a29576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a6f82611001565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ad7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610af6611d5a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b285750610b2681610b21611d5a565b611b16565b155b15610b5f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b6a838383611d62565b505050565b600c60009054906101000a900460ff1681565b6000610b8c611e14565b6001546000540303905090565b7f00000000000000000000000000000000000000000000000001f161421c8e000081565b610bc8838383611e1d565b505050565b600b5481565b610bdb611d5a565b73ffffffffffffffffffffffffffffffffffffffff16610bf96114e5565b73ffffffffffffffffffffffffffffffffffffffff1614610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4690613a5e565b60405180910390fd5b80600c60006101000a81548160ff02191690836004811115610c7457610c736133f9565b5b021790555050565b610c84611d5a565b73ffffffffffffffffffffffffffffffffffffffff16610ca26114e5565b73ffffffffffffffffffffffffffffffffffffffff1614610cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cef90613a5e565b60405180910390fd5b6000806004811115610d0d57610d0c6133f9565b5b600c60009054906101000a900460ff166004811115610d2f57610d2e6133f9565b5b14610d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6690613aca565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000007e682610d99610b82565b610da39190613b19565b1115610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb90613bbb565b60405180910390fd5b610df5610def6114e5565b836122d3565b5050565b610e01611d5a565b73ffffffffffffffffffffffffffffffffffffffff16610e1f6114e5565b73ffffffffffffffffffffffffffffffffffffffff1614610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613a5e565b60405180910390fd5b6000610e7f6114e5565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ea290613c0c565b60006040518083038185875af1925050503d8060008114610edf576040519150601f19603f3d011682016040523d82523d6000602084013e610ee4565b606091505b5050905080610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90613c6d565b60405180910390fd5b50565b610f4683838360405180602001604052806000815250611978565b505050565b7f00000000000000000000000000000000000000000000000000000000000007e681565b610f77611d5a565b73ffffffffffffffffffffffffffffffffffffffff16610f956114e5565b73ffffffffffffffffffffffffffffffffffffffff1614610feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe290613a5e565b60405180910390fd5b8181600a9190610ffc929190612fc8565b505050565b600061100c826122f1565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561107f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6110ef611d5a565b73ffffffffffffffffffffffffffffffffffffffff1661110d6114e5565b73ffffffffffffffffffffffffffffffffffffffff1614611163576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115a90613a5e565b60405180910390fd5b61116d6000612580565b565b600260095414156111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac90613cd9565b60405180910390fd5b600260098190555060028060048111156111d2576111d16133f9565b5b600c60009054906101000a900460ff1660048111156111f4576111f36133f9565b5b14611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b90613aca565b60405180910390fd5b6112a8838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b543360405160200161128d9190613d41565b60405160208183030381529060405280519060200120612646565b6112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90613da8565b60405180910390fd5b837f00000000000000000000000000000000000000000000000000000000000000006113139190613dc8565b3414611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90613e6e565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000007e68461137e610b82565b6113889190613b19565b11156113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c090613bbb565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000001846113f3611af2565b6113fd9190613b19565b111561143e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143590613eda565b60405180910390fd5b6114478461265d565b61145133856122d3565b506001600981905550505050565b611467611d5a565b73ffffffffffffffffffffffffffffffffffffffff166114856114e5565b73ffffffffffffffffffffffffffffffffffffffff16146114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290613a5e565b60405180910390fd5b80600b8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461151e906139e0565b80601f016020809104026020016040519081016040528092919081815260200182805461154a906139e0565b80156115975780601f1061156c57610100808354040283529160200191611597565b820191906000526020600020905b81548152906001019060200180831161157a57829003601f168201915b5050505050905090565b600260095414156115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de90613cd9565b60405180910390fd5b60026009819055506003806004811115611604576116036133f9565b5b600c60009054906101000a900460ff166004811115611626576116256133f9565b5b14611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90613aca565b60405180910390fd5b817f00000000000000000000000000000000000000000000000001f161421c8e00006116929190613dc8565b34146116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca90613e6e565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000007e6826116fd610b82565b6117079190613b19565b1115611748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173f90613bbb565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000282611772611ace565b61177c9190613b19565b11156117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b490613f46565b60405180910390fd5b6117c68261269b565b6117d033836122d3565b50600160098190555050565b6117e4611d5a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611849576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611856611d5a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611903611d5a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161194891906131df565b60405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000281565b611983848484611e1d565b6119a28373ffffffffffffffffffffffffffffffffffffffff166126d9565b80156119b757506119b5848484846126fc565b155b156119ee576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600c60009054906101000a900460ff16905090565b6060611a3a82611d0c565b611a70576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a7a61284d565b9050600081511415611a9b5760405180602001604052806000815250611ac6565b80611aa5846128df565b604051602001611ab6929190613fa2565b6040516020818303038152906040525b915050919050565b600080611ae2611add33612a40565b612aa0565b9150508063ffffffff1691505090565b600080611b06611b0133612a40565b612aa0565b5090508063ffffffff1691505090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bb2611d5a565b73ffffffffffffffffffffffffffffffffffffffff16611bd06114e5565b73ffffffffffffffffffffffffffffffffffffffff1614611c26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1d90613a5e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8d90614038565b60405180910390fd5b611c9f81612580565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611d17611e14565b11158015611d26575060005482105b8015611d53575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000611e28826122f1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e93576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611eb4611d5a565b73ffffffffffffffffffffffffffffffffffffffff161480611ee35750611ee285611edd611d5a565b611b16565b5b80611f285750611ef1611d5a565b73ffffffffffffffffffffffffffffffffffffffff16611f10846109e8565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611f61576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fc8576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fd58585856001612abc565b611fe160008487611d62565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561226157600054821461226057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122cc8585856001612ac2565b5050505050565b6122ed828260405180602001604052806000815250612ac8565b5050565b6122f961304e565b600082905080612307611e14565b11158015612316575060005481105b15612549576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161254757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461242b57809250505061257b565b5b60011561254657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461254157809250505061257b565b61242c565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826126538584612ada565b1490509392505050565b60008061267161266c33612a40565b612aa0565b9150915082826126819190614068565b9150612696336126918484612b4f565b612b76565b505050565b6000806126af6126aa33612a40565b612aa0565b9150915082816126bf9190614068565b90506126d4336126cf8484612b4f565b612b76565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612722611d5a565b8786866040518563ffffffff1660e01b815260040161274494939291906140f7565b6020604051808303816000875af192505050801561278057506040513d601f19601f8201168201806040525081019061277d9190614158565b60015b6127fa573d80600081146127b0576040519150601f19603f3d011682016040523d82523d6000602084013e6127b5565b606091505b506000815114156127f2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461285c906139e0565b80601f0160208091040260200160405190810160405280929190818152602001828054612888906139e0565b80156128d55780601f106128aa576101008083540402835291602001916128d5565b820191906000526020600020905b8154815290600101906020018083116128b857829003601f168201915b5050505050905090565b60606000821415612927576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a3b565b600082905060005b6000821461295957808061294290614185565b915050600a8261295291906141fd565b915061292f565b60008167ffffffffffffffff811115612975576129746137c3565b5b6040519080825280601f01601f1916602001820160405280156129a75781602001600182028036833780820191505090505b5090505b60008514612a34576001826129c0919061422e565b9150600a856129cf9190614262565b60306129db9190613b19565b60f81b8183815181106129f1576129f0614293565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a2d91906141fd565b94506129ab565b8093505050505b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160189054906101000a900467ffffffffffffffff169050919050565b60008060208367ffffffffffffffff16901c9150829050915091565b50505050565b50505050565b612ad58383836001612be3565b505050565b60008082905060005b8451811015612b44576000858281518110612b0157612b00614293565b5b60200260200101519050808311612b2357612b1c8382612fb1565b9250612b30565b612b2d8184612fb1565b92505b508080612b3c90614185565b915050612ae3565b508091505092915050565b60008163ffffffff1660208463ffffffff1667ffffffffffffffff16901b17905092915050565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612c50576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612c8b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c986000868387612abc565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612e625750612e618773ffffffffffffffffffffffffffffffffffffffff166126d9565b5b15612f28575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ed760008884806001019550886126fc565b612f0d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612e68578260005414612f2357600080fd5b612f94565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612f29575b816000819055505050612faa6000868387612ac2565b5050505050565b600082600052816020526040600020905092915050565b828054612fd4906139e0565b90600052602060002090601f016020900481019282612ff6576000855561303d565b82601f1061300f57803560ff191683800117855561303d565b8280016001018555821561303d579182015b8281111561303c578235825591602001919060010190613021565b5b50905061304a9190613091565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156130aa576000816000905550600101613092565b5090565b600082825260208201905092915050565b7f455243373231433a206e6f7420696d706c656d656e7465640000000000000000600082015250565b60006130f56018836130ae565b9150613100826130bf565b602082019050919050565b60006020820190508181036000830152613124816130e8565b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131748161313f565b811461317f57600080fd5b50565b6000813590506131918161316b565b92915050565b6000602082840312156131ad576131ac613135565b5b60006131bb84828501613182565b91505092915050565b60008115159050919050565b6131d9816131c4565b82525050565b60006020820190506131f460008301846131d0565b92915050565b6000819050919050565b61320d816131fa565b82525050565b60006020820190506132286000830184613204565b92915050565b600081519050919050565b60005b8381101561325757808201518184015260208101905061323c565b83811115613266576000848401525b50505050565b6000601f19601f8301169050919050565b60006132888261322e565b61329281856130ae565b93506132a2818560208601613239565b6132ab8161326c565b840191505092915050565b600060208201905081810360008301526132d0818461327d565b905092915050565b6132e1816131fa565b81146132ec57600080fd5b50565b6000813590506132fe816132d8565b92915050565b60006020828403121561331a57613319613135565b5b6000613328848285016132ef565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061335c82613331565b9050919050565b61336c81613351565b82525050565b60006020820190506133876000830184613363565b92915050565b61339681613351565b81146133a157600080fd5b50565b6000813590506133b38161338d565b92915050565b600080604083850312156133d0576133cf613135565b5b60006133de858286016133a4565b92505060206133ef858286016132ef565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110613439576134386133f9565b5b50565b600081905061344a82613428565b919050565b600061345a8261343c565b9050919050565b61346a8161344f565b82525050565b60006020820190506134856000830184613461565b92915050565b6000806000606084860312156134a4576134a3613135565b5b60006134b2868287016133a4565b93505060206134c3868287016133a4565b92505060406134d4868287016132ef565b9150509250925092565b6000819050919050565b6134f1816134de565b82525050565b600060208201905061350c60008301846134e8565b92915050565b6005811061351f57600080fd5b50565b60008135905061353181613512565b92915050565b60006020828403121561354d5761354c613135565b5b600061355b84828501613522565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261358957613588613564565b5b8235905067ffffffffffffffff8111156135a6576135a5613569565b5b6020830191508360018202830111156135c2576135c161356e565b5b9250929050565b600080602083850312156135e0576135df613135565b5b600083013567ffffffffffffffff8111156135fe576135fd61313a565b5b61360a85828601613573565b92509250509250929050565b60006020828403121561362c5761362b613135565b5b600061363a848285016133a4565b91505092915050565b60008083601f84011261365957613658613564565b5b8235905067ffffffffffffffff81111561367657613675613569565b5b6020830191508360208202830111156136925761369161356e565b5b9250929050565b6000806000604084860312156136b2576136b1613135565b5b60006136c0868287016132ef565b935050602084013567ffffffffffffffff8111156136e1576136e061313a565b5b6136ed86828701613643565b92509250509250925092565b613702816134de565b811461370d57600080fd5b50565b60008135905061371f816136f9565b92915050565b60006020828403121561373b5761373a613135565b5b600061374984828501613710565b91505092915050565b61375b816131c4565b811461376657600080fd5b50565b60008135905061377881613752565b92915050565b6000806040838503121561379557613794613135565b5b60006137a3858286016133a4565b92505060206137b485828601613769565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6137fb8261326c565b810181811067ffffffffffffffff8211171561381a576138196137c3565b5b80604052505050565b600061382d61312b565b905061383982826137f2565b919050565b600067ffffffffffffffff821115613859576138586137c3565b5b6138628261326c565b9050602081019050919050565b82818337600083830152505050565b600061389161388c8461383e565b613823565b9050828152602081018484840111156138ad576138ac6137be565b5b6138b884828561386f565b509392505050565b600082601f8301126138d5576138d4613564565b5b81356138e584826020860161387e565b91505092915050565b6000806000806080858703121561390857613907613135565b5b6000613916878288016133a4565b9450506020613927878288016133a4565b9350506040613938878288016132ef565b925050606085013567ffffffffffffffff8111156139595761395861313a565b5b613965878288016138c0565b91505092959194509250565b6000806040838503121561398857613987613135565b5b6000613996858286016133a4565b92505060206139a7858286016133a4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139f857607f821691505b60208210811415613a0c57613a0b6139b1565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a486020836130ae565b9150613a5382613a12565b602082019050919050565b60006020820190508181036000830152613a7781613a3b565b9050919050565b7f455243373231433a20696e636f7272656374206d696e74207068617365000000600082015250565b6000613ab4601d836130ae565b9150613abf82613a7e565b602082019050919050565b60006020820190508181036000830152613ae381613aa7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b24826131fa565b9150613b2f836131fa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b6457613b63613aea565b5b828201905092915050565b7f455243373231433a20696e73756666696369656e7420737570706c7900000000600082015250565b6000613ba5601c836130ae565b9150613bb082613b6f565b602082019050919050565b60006020820190508181036000830152613bd481613b98565b9050919050565b600081905092915050565b50565b6000613bf6600083613bdb565b9150613c0182613be6565b600082019050919050565b6000613c1782613be9565b9150819050919050565b7f455243373231433a207472616e73666572206661696c65640000000000000000600082015250565b6000613c576018836130ae565b9150613c6282613c21565b602082019050919050565b60006020820190508181036000830152613c8681613c4a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613cc3601f836130ae565b9150613cce82613c8d565b602082019050919050565b60006020820190508181036000830152613cf281613cb6565b9050919050565b60008160601b9050919050565b6000613d1182613cf9565b9050919050565b6000613d2382613d06565b9050919050565b613d3b613d3682613351565b613d18565b82525050565b6000613d4d8284613d2a565b60148201915081905092915050565b7f455243373231433a20696e76616c69642070726f6f6600000000000000000000600082015250565b6000613d926016836130ae565b9150613d9d82613d5c565b602082019050919050565b60006020820190508181036000830152613dc181613d85565b9050919050565b6000613dd3826131fa565b9150613dde836131fa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e1757613e16613aea565b5b828202905092915050565b7f455243373231433a20696e636f7272656374207061796d656e74000000000000600082015250565b6000613e58601a836130ae565b9150613e6382613e22565b602082019050919050565b60006020820190508181036000830152613e8781613e4b565b9050919050565b7f455243373231433a206578636565647320616c6c6f776c697374206d61780000600082015250565b6000613ec4601e836130ae565b9150613ecf82613e8e565b602082019050919050565b60006020820190508181036000830152613ef381613eb7565b9050919050565b7f455243373231433a2065786365656473207075626c6963206d61780000000000600082015250565b6000613f30601b836130ae565b9150613f3b82613efa565b602082019050919050565b60006020820190508181036000830152613f5f81613f23565b9050919050565b600081905092915050565b6000613f7c8261322e565b613f868185613f66565b9350613f96818560208601613239565b80840191505092915050565b6000613fae8285613f71565b9150613fba8284613f71565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140226026836130ae565b915061402d82613fc6565b604082019050919050565b6000602082019050818103600083015261405181614015565b9050919050565b600063ffffffff82169050919050565b600061407382614058565b915061407e83614058565b92508263ffffffff0382111561409757614096613aea565b5b828201905092915050565b600081519050919050565b600082825260208201905092915050565b60006140c9826140a2565b6140d381856140ad565b93506140e3818560208601613239565b6140ec8161326c565b840191505092915050565b600060808201905061410c6000830187613363565b6141196020830186613363565b6141266040830185613204565b818103606083015261413881846140be565b905095945050505050565b6000815190506141528161316b565b92915050565b60006020828403121561416e5761416d613135565b5b600061417c84828501614143565b91505092915050565b6000614190826131fa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141c3576141c2613aea565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614208826131fa565b9150614213836131fa565b925082614223576142226141ce565b5b828204905092915050565b6000614239826131fa565b9150614244836131fa565b92508282101561425757614256613aea565b5b828203905092915050565b600061426d826131fa565b9150614278836131fa565b925082614288576142876141ce565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220063d3d9b1e877e0a998a9dae58081fff63b53b7bf53226a11fd4d5f0963c5f4964736f6c634300080c0033

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.