ETH Price: $3,487.20 (+5.34%)

Token

Goblincatz (GCATZ)
 

Overview

Max Total Supply

9,999 GCATZ

Holders

3,066

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
isittoolate.eth
Balance
2 GCATZ
0x0a9c52dcce024dd72aafeb43c1c253b93ab6ee2c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Goblincatz

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Goblincatz.sol
/**  
 SPDX-License-Identifier: GPL-3.0
*/
pragma solidity ^0.8.13;

import "./Ownable.sol";
import "./Signature.sol";
import "./ERC721A.sol";

error CallerIsContract();
error SaleNotActive();
error SoldOut();
error ExceedsMaxMintPerWallet();
error InvalidQuantity();


contract OwnableDelegateProxy {}


contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}


contract Goblincatz is
    ERC721A,
    Ownable,
    Signature
{
    // Proxy registery Address
    address public proxyAddress;

    /** VARIABLES **/
    uint public maxSupply = 9999;
    uint constant public MAX_MINT_COUNT_PER_TXN = 30;
    uint private maxMintsPerWallet = 2;
    string private customBaseURI;
    address private dev = 0x215De00630F5E89C3A219D2771e55dc49F28489f;
    enum SaleState {
        CLOSED,
        PRESALE,
        PUBLIC
    }
    SaleState public saleState = SaleState.CLOSED;
    
    constructor(bool isPaying, uint256 deploymentPrice) ERC721A("Goblincatz", "GCATZ") payable {
        if(isPaying){
            require(msg.value >= deploymentPrice);
            payable(dev).transfer(address(this).balance);
        }
    }

    /** MINTING **/
    function mint(uint64 count) external payable {
        if (saleState != SaleState.PUBLIC) revert SaleNotActive();
        if (tx.origin != msg.sender) revert CallerIsContract();
        if (count > MAX_MINT_COUNT_PER_TXN) revert InvalidQuantity();
        if (_nextTokenId() + (count - 1) > maxSupply) revert SoldOut();

        uint64 numPublicMints = _getAux(msg.sender) + count;
        if (numPublicMints > maxMintsPerWallet) revert ExceedsMaxMintPerWallet();
        _mint(msg.sender, count);
        _setAux(msg.sender, numPublicMints); 
    }

    function mintPresale(uint64 count, bytes calldata signature)
        external
        payable
        requiresAllowlist(signature)
    {
        if (saleState != SaleState.PRESALE) revert SaleNotActive();
        if (tx.origin != msg.sender) revert CallerIsContract();
        if (count > MAX_MINT_COUNT_PER_TXN) revert InvalidQuantity();
        if (_nextTokenId() + (count - 1) > maxSupply) revert SoldOut();

        uint64 numPresaleMints = _getAux(msg.sender) + count;
        if (numPresaleMints > maxMintsPerWallet) revert ExceedsMaxMintPerWallet();
        _mint(msg.sender, count);
        _setAux(msg.sender, numPresaleMints); 
    }

    function freeMintToAddress(address account, uint256 count) external onlyOwner {
        if (count > MAX_MINT_COUNT_PER_TXN) revert InvalidQuantity();
        if (_nextTokenId() + (count - 1) > maxSupply) revert SoldOut();
        _mint(account, count);
    }

    /** ALLOWLIST **/
    function checkAllowlist(bytes calldata signature)
        public
        view
        requiresAllowlist(signature)
        returns (bool)
    {
        return true;
    }

    /** ADMIN FUNCTIONS **/
    /**
     * @dev Sets sale state to CLOSED (0), PRESALE (1), PUBLIC (2).
     */
    function setSaleState(uint8 state) external onlyOwner {
        saleState = SaleState(state);
    }

    /**
     * @dev Set IPFS folder link
     */
    function setBaseURI(string calldata newBaseURI) external onlyOwner {
        customBaseURI = newBaseURI;
    }

    /**
     * @dev Set Max Mints per wallet
     */
    function setMaxMintsPerWallet(uint256 newMaxMint) external onlyOwner {
        maxMintsPerWallet = newMaxMint;
    }

    /**
     * @dev Set the proxyAddress
     */
    function setProxyAddress(address newProxyAddress) external onlyOwner {
        proxyAddress = newProxyAddress;
    }
    
    /**
     * @dev Set new dev wallet
     */
    function setDev(address newDev) external {
        require(msg.sender == dev, "Only dev can call");
        require(newDev != address(0));
        dev = newDev;
    }

    function getSaleSlotsUsed(address wallet) external view returns (uint64) {
        return _getAux(wallet);
    }

    /** OVERRIDES **/
    function _baseURI() internal view virtual override returns (string memory) {
        return customBaseURI;
    }

    /**
     * @dev minting starts at token ID #1
     */
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    /**
     * @dev Override isApprovedForAll
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /** RELEASE PAYOUT **/
    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
}

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

pragma solidity ^0.8.0;

import "./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 3 of 8 : Signature.sol
/**  
 SPDX-License-Identifier: GPL-3.0
*/
pragma solidity ^0.8.13;

import "./ECDSA.sol";
import "./Ownable.sol";

error AllowlistNotEnabled();
error InvalidSignature();

contract Signature is Ownable {
    using ECDSA for bytes32;

    address allowlistSigningKey = address(0);
    bytes32 private immutable DOMAIN_SEPARATOR;
    bytes32 private immutable EIP712_Domain = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
    bytes32 private immutable NAME = keccak256("Goblincatz");
    bytes32 private immutable NUMBER = keccak256("1");

    
    bytes32 private immutable MINTER_TYPEHASH =
        keccak256("Minter(address wallet)");

    constructor() {
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                EIP712_Domain, 
                NAME, 
                NUMBER,
                block.chainid,
                address(this)
            )
        );
    }

    /**
     * @dev set allowlist signing address to enable allowlist
     */
    function setAllowlistSigningAddress(address newSigningKey) public onlyOwner {
        allowlistSigningKey = newSigningKey;
    }

    modifier requiresAllowlist(bytes calldata signature) {
        if(allowlistSigningKey == address(0)) revert AllowlistNotEnabled();
        
        bytes32 DIGEST = keccak256(
            abi.encodePacked(
                "\x19\x01",
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(MINTER_TYPEHASH, msg.sender))
            )
        );

        address recoveredAddress = DIGEST.recover(signature);
        if(recoveredAddress != allowlistSigningKey) revert InvalidSignature();
        _;
    }
}

File 4 of 8 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev 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 Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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, _toString(tokenId))) : '';
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0)
            if (!_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 && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            if (to.code.length != 0) {
                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 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) internal {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev 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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));
        address approvedAddress = _tokenApprovals[tokenId];

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        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 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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 5 of 8 : 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 6 of 8 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "./Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 7 of 8 : 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 8 of 8 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

    // ==============================
    //        IERC721Metadata
    // ==============================

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bool","name":"isPaying","type":"bool"},{"internalType":"uint256","name":"deploymentPrice","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"AllowlistNotEnabled","type":"error"},{"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":"CallerIsContract","type":"error"},{"inputs":[],"name":"ExceedsMaxMintPerWallet","type":"error"},{"inputs":[],"name":"InvalidQuantity","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"SoldOut","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"},{"inputs":[],"name":"MAX_MINT_COUNT_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"checkAllowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"freeMintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getSaleSlotsUsed","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"count","type":"uint64"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint64","name":"count","type":"uint64"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyAddress","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":[],"name":"saleState","outputs":[{"internalType":"enum Goblincatz.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newSigningKey","type":"address"}],"name":"setAllowlistSigningAddress","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDev","type":"address"}],"name":"setDev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxMint","type":"uint256"}],"name":"setMaxMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newProxyAddress","type":"address"}],"name":"setProxyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"state","type":"uint8"}],"name":"setSaleState","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"}]

6101206040526000600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60a0908152507f464c938dad7bf8686b421c5629e526fedae71089b26772986f6da8bcc76d40bc60c0908152507fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660e0908152507f68e83002b91b0fd96d4df3566b5122221117e3ec6c2468fda594f6491f89b1c96101009081525061270f600b556002600c5573215de00630f5e89c3a219d2771e55dc49f28489f600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600e60146101000a81548160ff021916908360028111156200016d576200016c620004ba565b5b02179055506040516200486b3803806200486b833981810160405281019062000197919062000566565b6040518060400160405280600a81526020017f476f626c696e6361747a000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f474341545a00000000000000000000000000000000000000000000000000000081525081600290805190602001906200021b9291906200040a565b508060039080519060200190620002349291906200040a565b50620002456200033360201b60201c565b60008190555050506200026d620002616200033c60201b60201c565b6200034460201b60201c565b60a05160c05160e05146306040516020016200028e9594939291906200061e565b604051602081830303815290604052805190602001206080818152505081156200032b5780341015620002c057600080fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801562000329573d6000803e3d6000fd5b505b5050620006df565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200041890620006aa565b90600052602060002090601f0160209004810192826200043c576000855562000488565b82601f106200045757805160ff191683800117855562000488565b8280016001018555821562000488579182015b82811115620004875782518255916020019190600101906200046a565b5b5090506200049791906200049b565b5090565b5b80821115620004b65760008160009055506001016200049c565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600080fd5b60008115159050919050565b6200050581620004ee565b81146200051157600080fd5b50565b6000815190506200052581620004fa565b92915050565b6000819050919050565b62000540816200052b565b81146200054c57600080fd5b50565b600081519050620005608162000535565b92915050565b6000806040838503121562000580576200057f620004e9565b5b6000620005908582860162000514565b9250506020620005a3858286016200054f565b9150509250929050565b6000819050919050565b620005c281620005ad565b82525050565b620005d3816200052b565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200060682620005d9565b9050919050565b6200061881620005f9565b82525050565b600060a082019050620006356000830188620005b7565b620006446020830187620005b7565b620006536040830186620005b7565b620006626060830185620005c8565b6200067160808301846200060d565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006c357607f821691505b602082108103620006d957620006d86200067b565b5b50919050565b60805160a05160c05160e0516101005161414262000729600039600081816108f101526110cc0152600050506000505060005050600081816108d001526110ab01526141426000f3fe6080604052600436106101ee5760003560e01c80636352211e1161010d578063b884ce7f116100a0578063d477f05f1161006f578063d477f05f146106d8578063d5abeb0114610701578063e985e9c51461072c578063f2fde38b14610769578063fb9d09c814610792576101ee565b8063b884ce7f1461060c578063b88d4fde14610649578063be00df4a14610672578063c87b56dd1461069b576101ee565b806395d89b41116100dc57806395d89b4114610564578063963c35461461058f578063a22cb465146105b8578063b4356e89146105e1576101ee565b80636352211e146104a857806370a08231146104e5578063715018a6146105225780638da5cb5b14610539576101ee565b80632e9576b3116101855780635265d55b116101545780635265d55b1461040f57806355f804b31461042b5780635a67de0714610454578063603f4d521461047d576101ee565b80632e9576b31461037d5780633ccfd60b146103a657806342842e0e146103bd57806346a7dadc146103e6576101ee565b8063095ea7b3116101c1578063095ea7b3146102d557806318160ddd146102fe57806323b872dd1461032957806323f5c02d14610352576101ee565b806301ffc9a7146101f3578063051730631461023057806306fdde031461026d578063081812fc14610298575b600080fd5b3480156101ff57600080fd5b5061021a6004803603810190610215919061309d565b6107ae565b60405161022791906130e5565b60405180910390f35b34801561023c57600080fd5b5061025760048036038101906102529190613165565b610840565b60405161026491906130e5565b60405180910390f35b34801561027957600080fd5b50610282610a51565b60405161028f919061324b565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba91906132a3565b610ae3565b6040516102cc9190613311565b60405180910390f35b3480156102e157600080fd5b506102fc60048036038101906102f79190613358565b610b5f565b005b34801561030a57600080fd5b50610313610d05565b60405161032091906133a7565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b91906133c2565b610d1c565b005b34801561035e57600080fd5b50610367610d2c565b6040516103749190613311565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f9190613358565b610d52565b005b3480156103b257600080fd5b506103bb610e71565b005b3480156103c957600080fd5b506103e460048036038101906103df91906133c2565b610f3d565b005b3480156103f257600080fd5b5061040d60048036038101906104089190613415565b610f5d565b005b61042960048036038101906104249190613482565b61101d565b005b34801561043757600080fd5b50610452600480360381019061044d9190613538565b61141f565b005b34801561046057600080fd5b5061047b600480360381019061047691906135be565b6114b1565b005b34801561048957600080fd5b5061049261156f565b60405161049f9190613662565b60405180910390f35b3480156104b457600080fd5b506104cf60048036038101906104ca91906132a3565b611582565b6040516104dc9190613311565b60405180910390f35b3480156104f157600080fd5b5061050c60048036038101906105079190613415565b611594565b60405161051991906133a7565b60405180910390f35b34801561052e57600080fd5b50610537611628565b005b34801561054557600080fd5b5061054e6116b0565b60405161055b9190613311565b60405180910390f35b34801561057057600080fd5b506105796116da565b604051610586919061324b565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b191906132a3565b61176c565b005b3480156105c457600080fd5b506105df60048036038101906105da91906136a9565b6117f2565b005b3480156105ed57600080fd5b506105f6611969565b60405161060391906133a7565b60405180910390f35b34801561061857600080fd5b50610633600480360381019061062e9190613415565b61196e565b60405161064091906136f8565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b9190613843565b611980565b005b34801561067e57600080fd5b5061069960048036038101906106949190613415565b6119f3565b005b3480156106a757600080fd5b506106c260048036038101906106bd91906132a3565b611ab3565b6040516106cf919061324b565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613415565b611b51565b005b34801561070d57600080fd5b50610716611c5e565b60405161072391906133a7565b60405180910390f35b34801561073857600080fd5b50610753600480360381019061074e91906138c6565b611c64565b60405161076091906130e5565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190613415565b611d56565b005b6107ac60048036038101906107a79190613906565b611e4d565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108395750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60008282600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036108cc576040517fd4b80f9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000003360405160200161092292919061394c565b604051602081830303815290604052805190602001206040516020016109499291906139ed565b60405160208183030381529060405280519060200120905060006109ba84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508361204790919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a43576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600194505050505092915050565b606060028054610a6090613a53565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8c90613a53565b8015610ad95780601f10610aae57610100808354040283529160200191610ad9565b820191906000526020600020905b815481529060010190602001808311610abc57829003601f168201915b5050505050905090565b6000610aee8261206e565b610b24576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b6a826120cd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bd1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bf0612199565b73ffffffffffffffffffffffffffffffffffffffff1614610c5357610c1c81610c17612199565b611c64565b610c52576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610d0f6121a1565b6001546000540303905090565b610d278383836121aa565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d5a61256f565b73ffffffffffffffffffffffffffffffffffffffff16610d786116b0565b73ffffffffffffffffffffffffffffffffffffffff1614610dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc590613ad0565b60405180910390fd5b601e811115610e09576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54600182610e199190613b1f565b610e21612577565b610e2b9190613b53565b1115610e63576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e6d8282612580565b5050565b610e7961256f565b73ffffffffffffffffffffffffffffffffffffffff16610e976116b0565b73ffffffffffffffffffffffffffffffffffffffff1614610eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee490613ad0565b60405180910390fd5b610ef56116b0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f3a573d6000803e3d6000fd5b50565b610f5883838360405180602001604052806000815250611980565b505050565b610f6561256f565b73ffffffffffffffffffffffffffffffffffffffff16610f836116b0565b73ffffffffffffffffffffffffffffffffffffffff1614610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090613ad0565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8181600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036110a7576040517fd4b80f9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000336040516020016110fd92919061394c565b604051602081830303815290604052805190602001206040516020016111249291906139ed565b604051602081830303815290604052805190602001209050600061119584848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508361204790919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461121e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016002811115611232576112316135eb565b5b600e60149054906101000a900460ff166002811115611254576112536135eb565b5b1461128b576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146112f0576040517f7df1f81700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601e8767ffffffffffffffff161115611335576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b546001886113459190613ba9565b67ffffffffffffffff16611357612577565b6113619190613b53565b1115611399576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000876113a53361272e565b6113af9190613bdd565b9050600c548167ffffffffffffffff1611156113f7576040517f67eec83300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61140b338967ffffffffffffffff16612580565b611415338261277b565b5050505050505050565b61142761256f565b73ffffffffffffffffffffffffffffffffffffffff166114456116b0565b73ffffffffffffffffffffffffffffffffffffffff161461149b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149290613ad0565b60405180910390fd5b8181600d91906114ac929190612f8e565b505050565b6114b961256f565b73ffffffffffffffffffffffffffffffffffffffff166114d76116b0565b73ffffffffffffffffffffffffffffffffffffffff161461152d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152490613ad0565b60405180910390fd5b8060ff166002811115611543576115426135eb565b5b600e60146101000a81548160ff02191690836002811115611567576115666135eb565b5b021790555050565b600e60149054906101000a900460ff1681565b600061158d826120cd565b9050919050565b6000806115a083612831565b036115d7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61163061256f565b73ffffffffffffffffffffffffffffffffffffffff1661164e6116b0565b73ffffffffffffffffffffffffffffffffffffffff16146116a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169b90613ad0565b60405180910390fd5b6116ae600061283b565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546116e990613a53565b80601f016020809104026020016040519081016040528092919081815260200182805461171590613a53565b80156117625780601f1061173757610100808354040283529160200191611762565b820191906000526020600020905b81548152906001019060200180831161174557829003601f168201915b5050505050905090565b61177461256f565b73ffffffffffffffffffffffffffffffffffffffff166117926116b0565b73ffffffffffffffffffffffffffffffffffffffff16146117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90613ad0565b60405180910390fd5b80600c8190555050565b6117fa612199565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361185e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061186b612199565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611918612199565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161195d91906130e5565b60405180910390a35050565b601e81565b60006119798261272e565b9050919050565b61198b8484846121aa565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119ed576119b684848484612901565b6119ec576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6119fb61256f565b73ffffffffffffffffffffffffffffffffffffffff16611a196116b0565b73ffffffffffffffffffffffffffffffffffffffff1614611a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6690613ad0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611abe8261206e565b611af4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611afe612a51565b90506000815103611b1e5760405180602001604052806000815250611b49565b80611b2884612ae3565b604051602001611b39929190613c4c565b6040516020818303038152906040525b915050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd890613cbc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c1a57600080fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611cdc9190613311565b602060405180830381865afa158015611cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1d9190613d1a565b73ffffffffffffffffffffffffffffffffffffffff1603611d42576001915050611d50565b611d4c8484612b3d565b9150505b92915050565b611d5e61256f565b73ffffffffffffffffffffffffffffffffffffffff16611d7c6116b0565b73ffffffffffffffffffffffffffffffffffffffff1614611dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc990613ad0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3890613db9565b60405180910390fd5b611e4a8161283b565b50565b600280811115611e6057611e5f6135eb565b5b600e60149054906101000a900460ff166002811115611e8257611e816135eb565b5b14611eb9576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611f1e576040517f7df1f81700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601e8167ffffffffffffffff161115611f63576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54600182611f739190613ba9565b67ffffffffffffffff16611f85612577565b611f8f9190613b53565b1115611fc7576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081611fd33361272e565b611fdd9190613bdd565b9050600c548167ffffffffffffffff161115612025576040517f67eec83300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612039338367ffffffffffffffff16612580565b612043338261277b565b5050565b60008060006120568585612bd1565b9150915061206381612c52565b819250505092915050565b6000816120796121a1565b11158015612088575060005482105b80156120c6575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806120dc6121a1565b11612162576000548110156121615760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361215f575b6000810361215557600460008360019003935083815260200190815260200160002054905061212b565b8092505050612194565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b60006121b5826120cd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461221c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16612275612199565b73ffffffffffffffffffffffffffffffffffffffff1614806122a457506122a38661229e612199565b611c64565b5b806122e157506122b2612199565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b90508061231a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061232586612831565b0361235c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123698686866001612e1e565b600061237483612831565b146123b0576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61247787612831565b1717600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036124ff57600060018501905060006004600083815260200190815260200160002054036124fd5760005481146124fc578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125678686866001612e24565b505050505050565b600033905090565b60008054905090565b600080549050600061259184612831565b036125c8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612602576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61260f6000848385612e1e565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161267460018414612e2a565b901b60a042901b61268485612831565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106126aa578160008190555050506127296000848385612e24565b505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612927612199565b8786866040518563ffffffff1660e01b81526004016129499493929190613e2e565b6020604051808303816000875af192505050801561298557506040513d601f19601f820116820180604052508101906129829190613e8f565b60015b6129fe573d80600081146129b5576040519150601f19603f3d011682016040523d82523d6000602084013e6129ba565b606091505b5060008151036129f6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d8054612a6090613a53565b80601f0160208091040260200160405190810160405280929190818152602001828054612a8c90613a53565b8015612ad95780601f10612aae57610100808354040283529160200191612ad9565b820191906000526020600020905b815481529060010190602001808311612abc57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612b2957600183039250600a81066030018353600a81049050612b09565b508181036020830392508083525050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806041835103612c125760008060006020860151925060408601519150606086015160001a9050612c0687828585612e34565b94509450505050612c4b565b6040835103612c42576000806020850151915060408501519050612c37868383612f40565b935093505050612c4b565b60006002915091505b9250929050565b60006004811115612c6657612c656135eb565b5b816004811115612c7957612c786135eb565b5b0315612e1b5760016004811115612c9357612c926135eb565b5b816004811115612ca657612ca56135eb565b5b03612ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdd90613f08565b60405180910390fd5b60026004811115612cfa57612cf96135eb565b5b816004811115612d0d57612d0c6135eb565b5b03612d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4490613f74565b60405180910390fd5b60036004811115612d6157612d606135eb565b5b816004811115612d7457612d736135eb565b5b03612db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dab90614006565b60405180910390fd5b600480811115612dc757612dc66135eb565b5b816004811115612dda57612dd96135eb565b5b03612e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1190614098565b60405180910390fd5b5b50565b50505050565b50505050565b6000819050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612e6f576000600391509150612f37565b601b8560ff1614158015612e875750601c8560ff1614155b15612e99576000600491509150612f37565b600060018787878760405160008152602001604052604051612ebe94939291906140c7565b6020604051602081039080840390855afa158015612ee0573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f2e57600060019250925050612f37565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612f8087828885612e34565b935093505050935093915050565b828054612f9a90613a53565b90600052602060002090601f016020900481019282612fbc5760008555613003565b82601f10612fd557803560ff1916838001178555613003565b82800160010185558215613003579182015b82811115613002578235825591602001919060010190612fe7565b5b5090506130109190613014565b5090565b5b8082111561302d576000816000905550600101613015565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61307a81613045565b811461308557600080fd5b50565b60008135905061309781613071565b92915050565b6000602082840312156130b3576130b261303b565b5b60006130c184828501613088565b91505092915050565b60008115159050919050565b6130df816130ca565b82525050565b60006020820190506130fa60008301846130d6565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261312557613124613100565b5b8235905067ffffffffffffffff81111561314257613141613105565b5b60208301915083600182028301111561315e5761315d61310a565b5b9250929050565b6000806020838503121561317c5761317b61303b565b5b600083013567ffffffffffffffff81111561319a57613199613040565b5b6131a68582860161310f565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131ec5780820151818401526020810190506131d1565b838111156131fb576000848401525b50505050565b6000601f19601f8301169050919050565b600061321d826131b2565b61322781856131bd565b93506132378185602086016131ce565b61324081613201565b840191505092915050565b600060208201905081810360008301526132658184613212565b905092915050565b6000819050919050565b6132808161326d565b811461328b57600080fd5b50565b60008135905061329d81613277565b92915050565b6000602082840312156132b9576132b861303b565b5b60006132c78482850161328e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132fb826132d0565b9050919050565b61330b816132f0565b82525050565b60006020820190506133266000830184613302565b92915050565b613335816132f0565b811461334057600080fd5b50565b6000813590506133528161332c565b92915050565b6000806040838503121561336f5761336e61303b565b5b600061337d85828601613343565b925050602061338e8582860161328e565b9150509250929050565b6133a18161326d565b82525050565b60006020820190506133bc6000830184613398565b92915050565b6000806000606084860312156133db576133da61303b565b5b60006133e986828701613343565b93505060206133fa86828701613343565b925050604061340b8682870161328e565b9150509250925092565b60006020828403121561342b5761342a61303b565b5b600061343984828501613343565b91505092915050565b600067ffffffffffffffff82169050919050565b61345f81613442565b811461346a57600080fd5b50565b60008135905061347c81613456565b92915050565b60008060006040848603121561349b5761349a61303b565b5b60006134a98682870161346d565b935050602084013567ffffffffffffffff8111156134ca576134c9613040565b5b6134d68682870161310f565b92509250509250925092565b60008083601f8401126134f8576134f7613100565b5b8235905067ffffffffffffffff81111561351557613514613105565b5b6020830191508360018202830111156135315761353061310a565b5b9250929050565b6000806020838503121561354f5761354e61303b565b5b600083013567ffffffffffffffff81111561356d5761356c613040565b5b613579858286016134e2565b92509250509250929050565b600060ff82169050919050565b61359b81613585565b81146135a657600080fd5b50565b6000813590506135b881613592565b92915050565b6000602082840312156135d4576135d361303b565b5b60006135e2848285016135a9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061362b5761362a6135eb565b5b50565b600081905061363c8261361a565b919050565b600061364c8261362e565b9050919050565b61365c81613641565b82525050565b60006020820190506136776000830184613653565b92915050565b613686816130ca565b811461369157600080fd5b50565b6000813590506136a38161367d565b92915050565b600080604083850312156136c0576136bf61303b565b5b60006136ce85828601613343565b92505060206136df85828601613694565b9150509250929050565b6136f281613442565b82525050565b600060208201905061370d60008301846136e9565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61375082613201565b810181811067ffffffffffffffff8211171561376f5761376e613718565b5b80604052505050565b6000613782613031565b905061378e8282613747565b919050565b600067ffffffffffffffff8211156137ae576137ad613718565b5b6137b782613201565b9050602081019050919050565b82818337600083830152505050565b60006137e66137e184613793565b613778565b90508281526020810184848401111561380257613801613713565b5b61380d8482856137c4565b509392505050565b600082601f83011261382a57613829613100565b5b813561383a8482602086016137d3565b91505092915050565b6000806000806080858703121561385d5761385c61303b565b5b600061386b87828801613343565b945050602061387c87828801613343565b935050604061388d8782880161328e565b925050606085013567ffffffffffffffff8111156138ae576138ad613040565b5b6138ba87828801613815565b91505092959194509250565b600080604083850312156138dd576138dc61303b565b5b60006138eb85828601613343565b92505060206138fc85828601613343565b9150509250929050565b60006020828403121561391c5761391b61303b565b5b600061392a8482850161346d565b91505092915050565b6000819050919050565b61394681613933565b82525050565b6000604082019050613961600083018561393d565b61396e6020830184613302565b9392505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006139b6600283613975565b91506139c182613980565b600282019050919050565b6000819050919050565b6139e76139e282613933565b6139cc565b82525050565b60006139f8826139a9565b9150613a0482856139d6565b602082019150613a1482846139d6565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a6b57607f821691505b602082108103613a7e57613a7d613a24565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613aba6020836131bd565b9150613ac582613a84565b602082019050919050565b60006020820190508181036000830152613ae981613aad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b2a8261326d565b9150613b358361326d565b925082821015613b4857613b47613af0565b5b828203905092915050565b6000613b5e8261326d565b9150613b698361326d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b9e57613b9d613af0565b5b828201905092915050565b6000613bb482613442565b9150613bbf83613442565b925082821015613bd257613bd1613af0565b5b828203905092915050565b6000613be882613442565b9150613bf383613442565b92508267ffffffffffffffff03821115613c1057613c0f613af0565b5b828201905092915050565b6000613c26826131b2565b613c308185613975565b9350613c408185602086016131ce565b80840191505092915050565b6000613c588285613c1b565b9150613c648284613c1b565b91508190509392505050565b7f4f6e6c79206465762063616e2063616c6c000000000000000000000000000000600082015250565b6000613ca66011836131bd565b9150613cb182613c70565b602082019050919050565b60006020820190508181036000830152613cd581613c99565b9050919050565b6000613ce7826132f0565b9050919050565b613cf781613cdc565b8114613d0257600080fd5b50565b600081519050613d1481613cee565b92915050565b600060208284031215613d3057613d2f61303b565b5b6000613d3e84828501613d05565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613da36026836131bd565b9150613dae82613d47565b604082019050919050565b60006020820190508181036000830152613dd281613d96565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613e0082613dd9565b613e0a8185613de4565b9350613e1a8185602086016131ce565b613e2381613201565b840191505092915050565b6000608082019050613e436000830187613302565b613e506020830186613302565b613e5d6040830185613398565b8181036060830152613e6f8184613df5565b905095945050505050565b600081519050613e8981613071565b92915050565b600060208284031215613ea557613ea461303b565b5b6000613eb384828501613e7a565b91505092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613ef26018836131bd565b9150613efd82613ebc565b602082019050919050565b60006020820190508181036000830152613f2181613ee5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613f5e601f836131bd565b9150613f6982613f28565b602082019050919050565b60006020820190508181036000830152613f8d81613f51565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ff06022836131bd565b9150613ffb82613f94565b604082019050919050565b6000602082019050818103600083015261401f81613fe3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006140826022836131bd565b915061408d82614026565b604082019050919050565b600060208201905081810360008301526140b181614075565b9050919050565b6140c181613585565b82525050565b60006080820190506140dc600083018761393d565b6140e960208301866140b8565b6140f6604083018561393d565b614103606083018461393d565b9594505050505056fea2646970667358221220b02d94f1c7b0a9767db20797afb7d619bef64fa8b082fdc48c9b63bb724973ce64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c80636352211e1161010d578063b884ce7f116100a0578063d477f05f1161006f578063d477f05f146106d8578063d5abeb0114610701578063e985e9c51461072c578063f2fde38b14610769578063fb9d09c814610792576101ee565b8063b884ce7f1461060c578063b88d4fde14610649578063be00df4a14610672578063c87b56dd1461069b576101ee565b806395d89b41116100dc57806395d89b4114610564578063963c35461461058f578063a22cb465146105b8578063b4356e89146105e1576101ee565b80636352211e146104a857806370a08231146104e5578063715018a6146105225780638da5cb5b14610539576101ee565b80632e9576b3116101855780635265d55b116101545780635265d55b1461040f57806355f804b31461042b5780635a67de0714610454578063603f4d521461047d576101ee565b80632e9576b31461037d5780633ccfd60b146103a657806342842e0e146103bd57806346a7dadc146103e6576101ee565b8063095ea7b3116101c1578063095ea7b3146102d557806318160ddd146102fe57806323b872dd1461032957806323f5c02d14610352576101ee565b806301ffc9a7146101f3578063051730631461023057806306fdde031461026d578063081812fc14610298575b600080fd5b3480156101ff57600080fd5b5061021a6004803603810190610215919061309d565b6107ae565b60405161022791906130e5565b60405180910390f35b34801561023c57600080fd5b5061025760048036038101906102529190613165565b610840565b60405161026491906130e5565b60405180910390f35b34801561027957600080fd5b50610282610a51565b60405161028f919061324b565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba91906132a3565b610ae3565b6040516102cc9190613311565b60405180910390f35b3480156102e157600080fd5b506102fc60048036038101906102f79190613358565b610b5f565b005b34801561030a57600080fd5b50610313610d05565b60405161032091906133a7565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b91906133c2565b610d1c565b005b34801561035e57600080fd5b50610367610d2c565b6040516103749190613311565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f9190613358565b610d52565b005b3480156103b257600080fd5b506103bb610e71565b005b3480156103c957600080fd5b506103e460048036038101906103df91906133c2565b610f3d565b005b3480156103f257600080fd5b5061040d60048036038101906104089190613415565b610f5d565b005b61042960048036038101906104249190613482565b61101d565b005b34801561043757600080fd5b50610452600480360381019061044d9190613538565b61141f565b005b34801561046057600080fd5b5061047b600480360381019061047691906135be565b6114b1565b005b34801561048957600080fd5b5061049261156f565b60405161049f9190613662565b60405180910390f35b3480156104b457600080fd5b506104cf60048036038101906104ca91906132a3565b611582565b6040516104dc9190613311565b60405180910390f35b3480156104f157600080fd5b5061050c60048036038101906105079190613415565b611594565b60405161051991906133a7565b60405180910390f35b34801561052e57600080fd5b50610537611628565b005b34801561054557600080fd5b5061054e6116b0565b60405161055b9190613311565b60405180910390f35b34801561057057600080fd5b506105796116da565b604051610586919061324b565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b191906132a3565b61176c565b005b3480156105c457600080fd5b506105df60048036038101906105da91906136a9565b6117f2565b005b3480156105ed57600080fd5b506105f6611969565b60405161060391906133a7565b60405180910390f35b34801561061857600080fd5b50610633600480360381019061062e9190613415565b61196e565b60405161064091906136f8565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b9190613843565b611980565b005b34801561067e57600080fd5b5061069960048036038101906106949190613415565b6119f3565b005b3480156106a757600080fd5b506106c260048036038101906106bd91906132a3565b611ab3565b6040516106cf919061324b565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613415565b611b51565b005b34801561070d57600080fd5b50610716611c5e565b60405161072391906133a7565b60405180910390f35b34801561073857600080fd5b50610753600480360381019061074e91906138c6565b611c64565b60405161076091906130e5565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190613415565b611d56565b005b6107ac60048036038101906107a79190613906565b611e4d565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108395750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60008282600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036108cc576040517fd4b80f9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f579f22caa978bc0e0094127d1e3a11610e66ed11f179a42a72d771031bc8ffd87f68e83002b91b0fd96d4df3566b5122221117e3ec6c2468fda594f6491f89b1c93360405160200161092292919061394c565b604051602081830303815290604052805190602001206040516020016109499291906139ed565b60405160208183030381529060405280519060200120905060006109ba84848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508361204790919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a43576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600194505050505092915050565b606060028054610a6090613a53565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8c90613a53565b8015610ad95780601f10610aae57610100808354040283529160200191610ad9565b820191906000526020600020905b815481529060010190602001808311610abc57829003601f168201915b5050505050905090565b6000610aee8261206e565b610b24576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b6a826120cd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610bd1576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bf0612199565b73ffffffffffffffffffffffffffffffffffffffff1614610c5357610c1c81610c17612199565b611c64565b610c52576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610d0f6121a1565b6001546000540303905090565b610d278383836121aa565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d5a61256f565b73ffffffffffffffffffffffffffffffffffffffff16610d786116b0565b73ffffffffffffffffffffffffffffffffffffffff1614610dce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc590613ad0565b60405180910390fd5b601e811115610e09576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54600182610e199190613b1f565b610e21612577565b610e2b9190613b53565b1115610e63576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e6d8282612580565b5050565b610e7961256f565b73ffffffffffffffffffffffffffffffffffffffff16610e976116b0565b73ffffffffffffffffffffffffffffffffffffffff1614610eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee490613ad0565b60405180910390fd5b610ef56116b0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f3a573d6000803e3d6000fd5b50565b610f5883838360405180602001604052806000815250611980565b505050565b610f6561256f565b73ffffffffffffffffffffffffffffffffffffffff16610f836116b0565b73ffffffffffffffffffffffffffffffffffffffff1614610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090613ad0565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8181600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036110a7576040517fd4b80f9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007f579f22caa978bc0e0094127d1e3a11610e66ed11f179a42a72d771031bc8ffd87f68e83002b91b0fd96d4df3566b5122221117e3ec6c2468fda594f6491f89b1c9336040516020016110fd92919061394c565b604051602081830303815290604052805190602001206040516020016111249291906139ed565b604051602081830303815290604052805190602001209050600061119584848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508361204790919063ffffffff16565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461121e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60016002811115611232576112316135eb565b5b600e60149054906101000a900460ff166002811115611254576112536135eb565b5b1461128b576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146112f0576040517f7df1f81700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601e8767ffffffffffffffff161115611335576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b546001886113459190613ba9565b67ffffffffffffffff16611357612577565b6113619190613b53565b1115611399576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000876113a53361272e565b6113af9190613bdd565b9050600c548167ffffffffffffffff1611156113f7576040517f67eec83300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61140b338967ffffffffffffffff16612580565b611415338261277b565b5050505050505050565b61142761256f565b73ffffffffffffffffffffffffffffffffffffffff166114456116b0565b73ffffffffffffffffffffffffffffffffffffffff161461149b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149290613ad0565b60405180910390fd5b8181600d91906114ac929190612f8e565b505050565b6114b961256f565b73ffffffffffffffffffffffffffffffffffffffff166114d76116b0565b73ffffffffffffffffffffffffffffffffffffffff161461152d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152490613ad0565b60405180910390fd5b8060ff166002811115611543576115426135eb565b5b600e60146101000a81548160ff02191690836002811115611567576115666135eb565b5b021790555050565b600e60149054906101000a900460ff1681565b600061158d826120cd565b9050919050565b6000806115a083612831565b036115d7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61163061256f565b73ffffffffffffffffffffffffffffffffffffffff1661164e6116b0565b73ffffffffffffffffffffffffffffffffffffffff16146116a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169b90613ad0565b60405180910390fd5b6116ae600061283b565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546116e990613a53565b80601f016020809104026020016040519081016040528092919081815260200182805461171590613a53565b80156117625780601f1061173757610100808354040283529160200191611762565b820191906000526020600020905b81548152906001019060200180831161174557829003601f168201915b5050505050905090565b61177461256f565b73ffffffffffffffffffffffffffffffffffffffff166117926116b0565b73ffffffffffffffffffffffffffffffffffffffff16146117e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117df90613ad0565b60405180910390fd5b80600c8190555050565b6117fa612199565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361185e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061186b612199565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611918612199565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161195d91906130e5565b60405180910390a35050565b601e81565b60006119798261272e565b9050919050565b61198b8484846121aa565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119ed576119b684848484612901565b6119ec576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6119fb61256f565b73ffffffffffffffffffffffffffffffffffffffff16611a196116b0565b73ffffffffffffffffffffffffffffffffffffffff1614611a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6690613ad0565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060611abe8261206e565b611af4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611afe612a51565b90506000815103611b1e5760405180602001604052806000815250611b49565b80611b2884612ae3565b604051602001611b39929190613c4c565b6040516020818303038152906040525b915050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd890613cbc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c1a57600080fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611cdc9190613311565b602060405180830381865afa158015611cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1d9190613d1a565b73ffffffffffffffffffffffffffffffffffffffff1603611d42576001915050611d50565b611d4c8484612b3d565b9150505b92915050565b611d5e61256f565b73ffffffffffffffffffffffffffffffffffffffff16611d7c6116b0565b73ffffffffffffffffffffffffffffffffffffffff1614611dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc990613ad0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3890613db9565b60405180910390fd5b611e4a8161283b565b50565b600280811115611e6057611e5f6135eb565b5b600e60149054906101000a900460ff166002811115611e8257611e816135eb565b5b14611eb9576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611f1e576040517f7df1f81700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601e8167ffffffffffffffff161115611f63576040517f524f409b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b54600182611f739190613ba9565b67ffffffffffffffff16611f85612577565b611f8f9190613b53565b1115611fc7576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081611fd33361272e565b611fdd9190613bdd565b9050600c548167ffffffffffffffff161115612025576040517f67eec83300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612039338367ffffffffffffffff16612580565b612043338261277b565b5050565b60008060006120568585612bd1565b9150915061206381612c52565b819250505092915050565b6000816120796121a1565b11158015612088575060005482105b80156120c6575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806120dc6121a1565b11612162576000548110156121615760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361215f575b6000810361215557600460008360019003935083815260200190815260200160002054905061212b565b8092505050612194565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b60006121b5826120cd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461221c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16612275612199565b73ffffffffffffffffffffffffffffffffffffffff1614806122a457506122a38661229e612199565b611c64565b5b806122e157506122b2612199565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b90508061231a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061232586612831565b0361235c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123698686866001612e1e565b600061237483612831565b146123b0576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61247787612831565b1717600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036124ff57600060018501905060006004600083815260200190815260200160002054036124fd5760005481146124fc578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125678686866001612e24565b505050505050565b600033905090565b60008054905090565b600080549050600061259184612831565b036125c8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612602576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61260f6000848385612e1e565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e161267460018414612e2a565b901b60a042901b61268485612831565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106126aa578160008190555050506127296000848385612e24565b505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612927612199565b8786866040518563ffffffff1660e01b81526004016129499493929190613e2e565b6020604051808303816000875af192505050801561298557506040513d601f19601f820116820180604052508101906129829190613e8f565b60015b6129fe573d80600081146129b5576040519150601f19603f3d011682016040523d82523d6000602084013e6129ba565b606091505b5060008151036129f6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600d8054612a6090613a53565b80601f0160208091040260200160405190810160405280929190818152602001828054612a8c90613a53565b8015612ad95780601f10612aae57610100808354040283529160200191612ad9565b820191906000526020600020905b815481529060010190602001808311612abc57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015612b2957600183039250600a81066030018353600a81049050612b09565b508181036020830392508083525050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806041835103612c125760008060006020860151925060408601519150606086015160001a9050612c0687828585612e34565b94509450505050612c4b565b6040835103612c42576000806020850151915060408501519050612c37868383612f40565b935093505050612c4b565b60006002915091505b9250929050565b60006004811115612c6657612c656135eb565b5b816004811115612c7957612c786135eb565b5b0315612e1b5760016004811115612c9357612c926135eb565b5b816004811115612ca657612ca56135eb565b5b03612ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdd90613f08565b60405180910390fd5b60026004811115612cfa57612cf96135eb565b5b816004811115612d0d57612d0c6135eb565b5b03612d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4490613f74565b60405180910390fd5b60036004811115612d6157612d606135eb565b5b816004811115612d7457612d736135eb565b5b03612db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dab90614006565b60405180910390fd5b600480811115612dc757612dc66135eb565b5b816004811115612dda57612dd96135eb565b5b03612e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1190614098565b60405180910390fd5b5b50565b50505050565b50505050565b6000819050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612e6f576000600391509150612f37565b601b8560ff1614158015612e875750601c8560ff1614155b15612e99576000600491509150612f37565b600060018787878760405160008152602001604052604051612ebe94939291906140c7565b6020604051602081039080840390855afa158015612ee0573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f2e57600060019250925050612f37565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050612f8087828885612e34565b935093505050935093915050565b828054612f9a90613a53565b90600052602060002090601f016020900481019282612fbc5760008555613003565b82601f10612fd557803560ff1916838001178555613003565b82800160010185558215613003579182015b82811115613002578235825591602001919060010190612fe7565b5b5090506130109190613014565b5090565b5b8082111561302d576000816000905550600101613015565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61307a81613045565b811461308557600080fd5b50565b60008135905061309781613071565b92915050565b6000602082840312156130b3576130b261303b565b5b60006130c184828501613088565b91505092915050565b60008115159050919050565b6130df816130ca565b82525050565b60006020820190506130fa60008301846130d6565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261312557613124613100565b5b8235905067ffffffffffffffff81111561314257613141613105565b5b60208301915083600182028301111561315e5761315d61310a565b5b9250929050565b6000806020838503121561317c5761317b61303b565b5b600083013567ffffffffffffffff81111561319a57613199613040565b5b6131a68582860161310f565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131ec5780820151818401526020810190506131d1565b838111156131fb576000848401525b50505050565b6000601f19601f8301169050919050565b600061321d826131b2565b61322781856131bd565b93506132378185602086016131ce565b61324081613201565b840191505092915050565b600060208201905081810360008301526132658184613212565b905092915050565b6000819050919050565b6132808161326d565b811461328b57600080fd5b50565b60008135905061329d81613277565b92915050565b6000602082840312156132b9576132b861303b565b5b60006132c78482850161328e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132fb826132d0565b9050919050565b61330b816132f0565b82525050565b60006020820190506133266000830184613302565b92915050565b613335816132f0565b811461334057600080fd5b50565b6000813590506133528161332c565b92915050565b6000806040838503121561336f5761336e61303b565b5b600061337d85828601613343565b925050602061338e8582860161328e565b9150509250929050565b6133a18161326d565b82525050565b60006020820190506133bc6000830184613398565b92915050565b6000806000606084860312156133db576133da61303b565b5b60006133e986828701613343565b93505060206133fa86828701613343565b925050604061340b8682870161328e565b9150509250925092565b60006020828403121561342b5761342a61303b565b5b600061343984828501613343565b91505092915050565b600067ffffffffffffffff82169050919050565b61345f81613442565b811461346a57600080fd5b50565b60008135905061347c81613456565b92915050565b60008060006040848603121561349b5761349a61303b565b5b60006134a98682870161346d565b935050602084013567ffffffffffffffff8111156134ca576134c9613040565b5b6134d68682870161310f565b92509250509250925092565b60008083601f8401126134f8576134f7613100565b5b8235905067ffffffffffffffff81111561351557613514613105565b5b6020830191508360018202830111156135315761353061310a565b5b9250929050565b6000806020838503121561354f5761354e61303b565b5b600083013567ffffffffffffffff81111561356d5761356c613040565b5b613579858286016134e2565b92509250509250929050565b600060ff82169050919050565b61359b81613585565b81146135a657600080fd5b50565b6000813590506135b881613592565b92915050565b6000602082840312156135d4576135d361303b565b5b60006135e2848285016135a9565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061362b5761362a6135eb565b5b50565b600081905061363c8261361a565b919050565b600061364c8261362e565b9050919050565b61365c81613641565b82525050565b60006020820190506136776000830184613653565b92915050565b613686816130ca565b811461369157600080fd5b50565b6000813590506136a38161367d565b92915050565b600080604083850312156136c0576136bf61303b565b5b60006136ce85828601613343565b92505060206136df85828601613694565b9150509250929050565b6136f281613442565b82525050565b600060208201905061370d60008301846136e9565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61375082613201565b810181811067ffffffffffffffff8211171561376f5761376e613718565b5b80604052505050565b6000613782613031565b905061378e8282613747565b919050565b600067ffffffffffffffff8211156137ae576137ad613718565b5b6137b782613201565b9050602081019050919050565b82818337600083830152505050565b60006137e66137e184613793565b613778565b90508281526020810184848401111561380257613801613713565b5b61380d8482856137c4565b509392505050565b600082601f83011261382a57613829613100565b5b813561383a8482602086016137d3565b91505092915050565b6000806000806080858703121561385d5761385c61303b565b5b600061386b87828801613343565b945050602061387c87828801613343565b935050604061388d8782880161328e565b925050606085013567ffffffffffffffff8111156138ae576138ad613040565b5b6138ba87828801613815565b91505092959194509250565b600080604083850312156138dd576138dc61303b565b5b60006138eb85828601613343565b92505060206138fc85828601613343565b9150509250929050565b60006020828403121561391c5761391b61303b565b5b600061392a8482850161346d565b91505092915050565b6000819050919050565b61394681613933565b82525050565b6000604082019050613961600083018561393d565b61396e6020830184613302565b9392505050565b600081905092915050565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b60006139b6600283613975565b91506139c182613980565b600282019050919050565b6000819050919050565b6139e76139e282613933565b6139cc565b82525050565b60006139f8826139a9565b9150613a0482856139d6565b602082019150613a1482846139d6565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a6b57607f821691505b602082108103613a7e57613a7d613a24565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613aba6020836131bd565b9150613ac582613a84565b602082019050919050565b60006020820190508181036000830152613ae981613aad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b2a8261326d565b9150613b358361326d565b925082821015613b4857613b47613af0565b5b828203905092915050565b6000613b5e8261326d565b9150613b698361326d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b9e57613b9d613af0565b5b828201905092915050565b6000613bb482613442565b9150613bbf83613442565b925082821015613bd257613bd1613af0565b5b828203905092915050565b6000613be882613442565b9150613bf383613442565b92508267ffffffffffffffff03821115613c1057613c0f613af0565b5b828201905092915050565b6000613c26826131b2565b613c308185613975565b9350613c408185602086016131ce565b80840191505092915050565b6000613c588285613c1b565b9150613c648284613c1b565b91508190509392505050565b7f4f6e6c79206465762063616e2063616c6c000000000000000000000000000000600082015250565b6000613ca66011836131bd565b9150613cb182613c70565b602082019050919050565b60006020820190508181036000830152613cd581613c99565b9050919050565b6000613ce7826132f0565b9050919050565b613cf781613cdc565b8114613d0257600080fd5b50565b600081519050613d1481613cee565b92915050565b600060208284031215613d3057613d2f61303b565b5b6000613d3e84828501613d05565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613da36026836131bd565b9150613dae82613d47565b604082019050919050565b60006020820190508181036000830152613dd281613d96565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613e0082613dd9565b613e0a8185613de4565b9350613e1a8185602086016131ce565b613e2381613201565b840191505092915050565b6000608082019050613e436000830187613302565b613e506020830186613302565b613e5d6040830185613398565b8181036060830152613e6f8184613df5565b905095945050505050565b600081519050613e8981613071565b92915050565b600060208284031215613ea557613ea461303b565b5b6000613eb384828501613e7a565b91505092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613ef26018836131bd565b9150613efd82613ebc565b602082019050919050565b60006020820190508181036000830152613f2181613ee5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613f5e601f836131bd565b9150613f6982613f28565b602082019050919050565b60006020820190508181036000830152613f8d81613f51565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ff06022836131bd565b9150613ffb82613f94565b604082019050919050565b6000602082019050818103600083015261401f81613fe3565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006140826022836131bd565b915061408d82614026565b604082019050919050565b600060208201905081810360008301526140b181614075565b9050919050565b6140c181613585565b82525050565b60006080820190506140dc600083018761393d565b6140e960208301866140b8565b6140f6604083018561393d565b614103606083018461393d565b9594505050505056fea2646970667358221220b02d94f1c7b0a9767db20797afb7d619bef64fa8b082fdc48c9b63bb724973ce64736f6c634300080d0033

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

00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : isPaying (bool): False
Arg [1] : deploymentPrice (uint256): 0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


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.