ETH Price: $3,129.14 (+1.65%)

Token

Sleepy Sniper Society (SSS)
 

Overview

Max Total Supply

2,000 SSS

Holders

1,034

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
meslaw.eth
Balance
2 SSS
0xff40ad3c852e4f18e65968388aae5e94fb1cba25
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:
SleepySniperSociety

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : SleepySniperSociety.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

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

contract SleepySniperSociety is Ownable, ERC721A {
    /// @notice baseURI, usually represents ipfs gateway link
    string _baseURIVal;
    string constant _prerevealUri = "https://gateway.pinata.cloud/ipfs/QmWVBkMEo9FoR5T9Bvc8BXB78MPsaA1KnuRHcdrdrmdc9n";
    bool _revealed = false;
    bytes32 _allowListMerkleRoot;
    mapping(address => uint) _personMinted;


    enum CurrentSalePhase { NotStarted, Phase1_AllowList2, Phase2_AllowList3, PublicSale, Paused, Stopped } // allowlist 2 tokens, allowlist 3 tokens, public sale
    CurrentSalePhase public currentPhase = CurrentSalePhase.NotStarted;

    uint public maxMintPerPerson = 3;

    uint public allowListPrice = 39000000000000000; // 0.039eth in wei
    uint public publicSalePrice = 39000000000000000; // 0.039eth in wei

    uint public constant TotalSupplyCap = 5000;

    constructor(string memory name, string memory symbol, bytes32 whiteListMerkleRoot, uint premintTokensNumber, address premintAddress) ERC721A(name, symbol){
        _allowListMerkleRoot = whiteListMerkleRoot;
        _safeMint(premintAddress, premintTokensNumber);
    }

    /// @notice sets current phase of sale (for now for simplicity and debugging)
    /// @param phase CurrentSalePhase  - current phase of sale
    function setCurrentPhase(CurrentSalePhase phase) external onlyOwner {
        require(!_revealed, "Can't change phase after reveal");
        currentPhase = phase;
    }

    /// @notice Sets allow list merkle root
    /// @param merkleRoot byte32
    function setAllowListMerkleRoot(bytes32 merkleRoot) external onlyOwner {
        _allowListMerkleRoot = merkleRoot;
    }

    /// @notice Sets allowListPrice
    /// @param allowListPriceParam uint of new public sale price
    function setAllowListSalePrice(uint allowListPriceParam) external onlyOwner {
        allowListPrice = allowListPriceParam;
    }

    /// @notice Sets publicSalePrice
    /// @param publicSalePriceParam uint of new public sale price
    function setPublicSalePrice(uint publicSalePriceParam) external onlyOwner {
        publicSalePrice = publicSalePriceParam;
    }

    /// @notice Sets maxMintPerPerson
    /// @param maxMintPerPersonParam uint of new public sale price
    function setMaxMintPerPerson(uint maxMintPerPersonParam) external onlyOwner {
        maxMintPerPerson = maxMintPerPersonParam;
    }

    /// @notice Sets baseURIParam
    /// @param baseURIParam uint of new public sale price
    function setBaseURI(string calldata baseURIParam) external onlyOwner {
        _baseURIVal = baseURIParam;
    }

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

    function baseURI() external view virtual returns (string memory) {
        return _baseURI();
    }

    /// @notice Reveal
    /// @param URI String of new baseURI
    function reveal(string calldata URI) external onlyOwner {
        require(!_revealed, "Can't reveal after reveal");
        _revealed = true;
        _baseURIVal = URI;
        currentPhase = CurrentSalePhase.Stopped;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if(_revealed) {
            return super.tokenURI(tokenId);
        } else {
            return _prerevealUri;
        }
    }

    function mintAllowlist(uint numberTokensToMint, bytes32[] calldata merkleProof) external payable {
        require(currentPhase == CurrentSalePhase.Phase1_AllowList2 || currentPhase == CurrentSalePhase.Phase2_AllowList3,  "AllowList mint are not allowed on this phase");
        require(numberTokensToMint <= maxMintPerPerson, "Too many tokens requested to be minted"); // instead of safemath
        require(_personMinted[msg.sender] + numberTokensToMint <= maxMintPerPerson, "Too many tokens requested to be minted");
        require(totalSupply() + numberTokensToMint <= TotalSupplyCap, "maximum number of tokens to mint is reached");
        require(msg.value >= numberTokensToMint*allowListPrice, "Insufficient funds provided");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, _allowListMerkleRoot, leaf), "invalid allowlist proof");

        _safeMint(msg.sender, numberTokensToMint);
        _personMinted[msg.sender] = _personMinted[msg.sender] + numberTokensToMint; // yep safemath is preferable here but we operate with 2-3 tokens so hopely don't need
    }

    function mint(uint numberTokensToMint) external payable {
        require(currentPhase == CurrentSalePhase.PublicSale,  "public mint is not allowed on this phase");
        require(_personMinted[msg.sender] + numberTokensToMint <= maxMintPerPerson, "Too many tokens requested to be minted");
        require(totalSupply() + numberTokensToMint <= TotalSupplyCap, "maximum number of tokens to mint is reached");
        require(msg.value >= numberTokensToMint*publicSalePrice, "Insufficient funds provided");

        _safeMint(msg.sender, numberTokensToMint);
        _personMinted[msg.sender] = _personMinted[msg.sender] + numberTokensToMint; // yep safemath is preferable here but we operate with 2-3 tokens so hopely don't need
    }

    function getCurrentBalance() public view returns(uint) {
        return address(this).balance;
    }

    function withdrawMoneyTo(address payable _to, uint amount) public  onlyOwner {
        require(amount <= getCurrentBalance(), "insufficient funds to withdraw");
        _to.transfer(amount);
    }

    function destroy() public  onlyOwner {
        address payable target_address = payable(owner());
        selfdestruct(target_address);
    }
}

File 2 of 6 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.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 bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // 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`
    // - [232..255] `extraData`
    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 (owner == address(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 auxiliary 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 auxiliary 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;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            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;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

    /**
     * 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 Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

        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-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 {
        transferFrom(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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _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] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _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] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // 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 Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @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 3 of 6 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 5 of 6 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.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();

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"bytes32","name":"whiteListMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"premintTokensNumber","type":"uint256"},{"internalType":"address","name":"premintAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"TotalSupplyCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPhase","outputs":[{"internalType":"enum SleepySniperSociety.CurrentSalePhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"destroy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerPerson","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberTokensToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberTokensToMint","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintAllowlist","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":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setAllowListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"allowListPriceParam","type":"uint256"}],"name":"setAllowListSalePrice","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":"baseURIParam","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum SleepySniperSociety.CurrentSalePhase","name":"phase","type":"uint8"}],"name":"setCurrentPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintPerPersonParam","type":"uint256"}],"name":"setMaxMintPerPerson","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSalePriceParam","type":"uint256"}],"name":"setPublicSalePrice","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":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawMoneyTo","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600a60006101000a81548160ff0219169083151502179055506000600d60006101000a81548160ff02191690836005811115620000485762000047620006ad565b5b02179055506003600e55668a8e4b1a3d8000600f55668a8e4b1a3d80006010553480156200007557600080fd5b50604051620048693803806200486983398181016040528101906200009b919062000954565b8484620000bd620000b16200011d60201b60201c565b6200012560201b60201c565b8160039081620000ce919062000c5b565b508060049081620000e0919062000c5b565b50620000f1620001e960201b60201c565b600181905550505082600b81905550620001128183620001ee60201b60201c565b505050505062000ea4565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b620002108282604051806020016040528060008152506200021460201b60201c565b5050565b620002268383620002c660201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14620002c15760006001549050600083820390505b620002706000868380600101945086620004c460201b60201c565b620002a7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811062000255578160015414620002be57600080fd5b50505b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000334576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082036200036f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200038460008483856200062560201b60201c565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200041383620003f560008660006200062b60201b60201c565b62000406856200065b60201b60201c565b176200066b60201b60201c565b60056000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106200043757806001819055505050620004bf60008483856200069660201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620004f26200069c60201b60201c565b8786866040518563ffffffff1660e01b815260040162000516949392919062000dc1565b6020604051808303816000875af19250505080156200055557506040513d601f19601f8201168201806040525081019062000552919062000e72565b60015b620005d2573d806000811462000588576040519150601f19603f3d011682016040523d82523d6000602084013e6200058d565b606091505b506000815103620005ca576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e86200064a868684620006a460201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200074582620006fa565b810181811067ffffffffffffffff821117156200076757620007666200070b565b5b80604052505050565b60006200077c620006dc565b90506200078a82826200073a565b919050565b600067ffffffffffffffff821115620007ad57620007ac6200070b565b5b620007b882620006fa565b9050602081019050919050565b60005b83811015620007e5578082015181840152602081019050620007c8565b83811115620007f5576000848401525b50505050565b6000620008126200080c846200078f565b62000770565b905082815260208101848484011115620008315762000830620006f5565b5b6200083e848285620007c5565b509392505050565b600082601f8301126200085e576200085d620006f0565b5b815162000870848260208601620007fb565b91505092915050565b6000819050919050565b6200088e8162000879565b81146200089a57600080fd5b50565b600081519050620008ae8162000883565b92915050565b6000819050919050565b620008c981620008b4565b8114620008d557600080fd5b50565b600081519050620008e981620008be565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200091c82620008ef565b9050919050565b6200092e816200090f565b81146200093a57600080fd5b50565b6000815190506200094e8162000923565b92915050565b600080600080600060a08688031215620009735762000972620006e6565b5b600086015167ffffffffffffffff811115620009945762000993620006eb565b5b620009a28882890162000846565b955050602086015167ffffffffffffffff811115620009c657620009c5620006eb565b5b620009d48882890162000846565b9450506040620009e7888289016200089d565b9350506060620009fa88828901620008d8565b925050608062000a0d888289016200093d565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a6d57607f821691505b60208210810362000a835762000a8262000a25565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000aed7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000aae565b62000af9868362000aae565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000b3c62000b3662000b3084620008b4565b62000b11565b620008b4565b9050919050565b6000819050919050565b62000b588362000b1b565b62000b7062000b678262000b43565b84845462000abb565b825550505050565b600090565b62000b8762000b78565b62000b9481848462000b4d565b505050565b5b8181101562000bbc5762000bb060008262000b7d565b60018101905062000b9a565b5050565b601f82111562000c0b5762000bd58162000a89565b62000be08462000a9e565b8101602085101562000bf0578190505b62000c0862000bff8562000a9e565b83018262000b99565b50505b505050565b600082821c905092915050565b600062000c306000198460080262000c10565b1980831691505092915050565b600062000c4b838362000c1d565b9150826002028217905092915050565b62000c668262000a1a565b67ffffffffffffffff81111562000c825762000c816200070b565b5b62000c8e825462000a54565b62000c9b82828562000bc0565b600060209050601f83116001811462000cd3576000841562000cbe578287015190505b62000cca858262000c3d565b86555062000d3a565b601f19841662000ce38662000a89565b60005b8281101562000d0d5784890151825560018201915060208501945060208101905062000ce6565b8683101562000d2d578489015162000d29601f89168262000c1d565b8355505b6001600288020188555050505b505050505050565b62000d4d816200090f565b82525050565b62000d5e81620008b4565b82525050565b600081519050919050565b600082825260208201905092915050565b600062000d8d8262000d64565b62000d99818562000d6f565b935062000dab818560208601620007c5565b62000db681620006fa565b840191505092915050565b600060808201905062000dd8600083018762000d42565b62000de7602083018662000d42565b62000df6604083018562000d53565b818103606083015262000e0a818462000d80565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000e4c8162000e15565b811462000e5857600080fd5b50565b60008151905062000e6c8162000e41565b92915050565b60006020828403121562000e8b5762000e8a620006e6565b5b600062000e9b8482850162000e5b565b91505092915050565b6139b58062000eb46000396000f3fe6080604052600436106102045760003560e01c80637f4637f811610118578063a5749710116100a0578063c87b56dd1161006f578063c87b56dd146106ff578063cd3f29101461073c578063e985e9c514610765578063ea7a42e4146107a2578063f2fde38b146107cb57610204565b8063a574971014610657578063b2d852cf14610682578063b88d4fde146106ad578063c476c8db146106d657610204565b806395d89b41116100e757806395d89b41146105915780639b6860c8146105bc578063a0712d68146105e7578063a22cb46514610603578063a24e51531461062c57610204565b80637f4637f8146104fb57806383197ef0146105265780638da5cb5b1461053d57806395bd19c21461056857610204565b806342842e0e1161019b5780636352211e1161016a5780636352211e146104165780636c0360eb1461045357806370a082311461047e578063715018a6146104bb578063791a2519146104d257610204565b806342842e0e146103725780634c2612471461039b57806355f804b3146103c457806361b49c21146103ed57610204565b8063095ea7b3116101d7578063095ea7b3146102d957806318160ddd1461030257806323b872dd1461032d5780633671f8cf1461035657610204565b806301ffc9a714610209578063055ad42e1461024657806306fdde0314610271578063081812fc1461029c575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b919061256b565b6107f4565b60405161023d91906125b3565b60405180910390f35b34801561025257600080fd5b5061025b610886565b6040516102689190612645565b60405180910390f35b34801561027d57600080fd5b50610286610899565b60405161029391906126f9565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190612751565b61092b565b6040516102d091906127bf565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190612806565b6109a7565b005b34801561030e57600080fd5b50610317610ae8565b6040516103249190612855565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190612870565b610aff565b005b610370600480360381019061036b9190612928565b610e21565b005b34801561037e57600080fd5b5061039960048036038101906103949190612870565b6111a6565b005b3480156103a757600080fd5b506103c260048036038101906103bd91906129de565b6111c6565b005b3480156103d057600080fd5b506103eb60048036038101906103e691906129de565b61127a565b005b3480156103f957600080fd5b50610414600480360381019061040f9190612a69565b611298565b005b34801561042257600080fd5b5061043d60048036038101906104389190612751565b611335565b60405161044a91906127bf565b60405180910390f35b34801561045f57600080fd5b50610468611347565b60405161047591906126f9565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a09190612aa9565b611356565b6040516104b29190612855565b60405180910390f35b3480156104c757600080fd5b506104d061140e565b005b3480156104de57600080fd5b506104f960048036038101906104f49190612751565b611422565b005b34801561050757600080fd5b50610510611434565b60405161051d9190612855565b60405180910390f35b34801561053257600080fd5b5061053b61143a565b005b34801561054957600080fd5b50610552611467565b60405161055f91906127bf565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190612751565b611490565b005b34801561059d57600080fd5b506105a66114a2565b6040516105b391906126f9565b60405180910390f35b3480156105c857600080fd5b506105d1611534565b6040516105de9190612855565b60405180910390f35b61060160048036038101906105fc9190612751565b61153a565b005b34801561060f57600080fd5b5061062a60048036038101906106259190612b02565b611781565b005b34801561063857600080fd5b506106416118f8565b60405161064e9190612855565b60405180910390f35b34801561066357600080fd5b5061066c6118fe565b6040516106799190612855565b60405180910390f35b34801561068e57600080fd5b50610697611906565b6040516106a49190612855565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf9190612c72565b61190c565b005b3480156106e257600080fd5b506106fd60048036038101906106f89190612751565b61197f565b005b34801561070b57600080fd5b5061072660048036038101906107219190612751565b611991565b60405161073391906126f9565b60405180910390f35b34801561074857600080fd5b50610763600480360381019061075e9190612d1a565b6119d9565b005b34801561077157600080fd5b5061078c60048036038101906107879190612d47565b611a5e565b60405161079991906125b3565b60405180910390f35b3480156107ae57600080fd5b506107c960048036038101906107c49190612dbd565b611af2565b005b3480156107d757600080fd5b506107f260048036038101906107ed9190612aa9565b611b04565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061087f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600d60009054906101000a900460ff1681565b6060600380546108a890612e19565b80601f01602080910402602001604051908101604052809291908181526020018280546108d490612e19565b80156109215780601f106108f657610100808354040283529160200191610921565b820191906000526020600020905b81548152906001019060200180831161090457829003601f168201915b5050505050905090565b600061093682611b87565b61096c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b282611335565b90508073ffffffffffffffffffffffffffffffffffffffff166109d3611be6565b73ffffffffffffffffffffffffffffffffffffffff1614610a36576109ff816109fa611be6565b611a5e565b610a35576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610af2611bee565b6002546001540303905090565b6000610b0a82611bf3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b71576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610b7d84611cbf565b91509150610b938187610b8e611be6565b611ce1565b610bdf57610ba886610ba3611be6565b611a5e565b610bde576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610c45576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c528686866001611d25565b8015610c5d57600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d2b85610d07888887611d2b565b7c020000000000000000000000000000000000000000000000000000000017611d53565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610db15760006001850190506000600560008381526020019081526020016000205403610daf576001548114610dae578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e198686866001611d7e565b505050505050565b60016005811115610e3557610e346125ce565b5b600d60009054906101000a900460ff166005811115610e5757610e566125ce565b5b1480610e96575060026005811115610e7257610e716125ce565b5b600d60009054906101000a900460ff166005811115610e9457610e936125ce565b5b145b610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90612ebc565b60405180910390fd5b600e54831115610f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1190612f4e565b60405180910390fd5b600e5483600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f689190612f9d565b1115610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090612f4e565b60405180910390fd5b61138883610fb5610ae8565b610fbf9190612f9d565b1115611000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff790613065565b60405180910390fd5b600f548361100e9190613085565b341015611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061312b565b60405180910390fd5b6000336040516020016110639190613193565b6040516020818303038152906040528051906020012090506110c9838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483611d84565b611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff906131fa565b60405180910390fd5b6111123385611d9b565b83600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461115d9190612f9d565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6111c18383836040518060200160405280600081525061190c565b505050565b6111ce611db9565b600a60009054906101000a900460ff161561121e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121590613266565b60405180910390fd5b6001600a60006101000a81548160ff02191690831515021790555081816009918261124a92919061343d565b506005600d60006101000a81548160ff02191690836005811115611271576112706125ce565b5b02179055505050565b611282611db9565b81816009918261129392919061343d565b505050565b6112a0611db9565b6112a86118fe565b8111156112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190613559565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611330573d6000803e3d6000fd5b505050565b600061134082611bf3565b9050919050565b6060611351611e37565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113bd576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611416611db9565b6114206000611ec9565b565b61142a611db9565b8060108190555050565b61138881565b611442611db9565b600061144c611467565b90508073ffffffffffffffffffffffffffffffffffffffff16ff5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611498611db9565b80600e8190555050565b6060600480546114b190612e19565b80601f01602080910402602001604051908101604052809291908181526020018280546114dd90612e19565b801561152a5780601f106114ff5761010080835404028352916020019161152a565b820191906000526020600020905b81548152906001019060200180831161150d57829003601f168201915b5050505050905090565b60105481565b6003600581111561154e5761154d6125ce565b5b600d60009054906101000a900460ff1660058111156115705761156f6125ce565b5b146115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a7906135eb565b60405180910390fd5b600e5481600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115fe9190612f9d565b111561163f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163690612f4e565b60405180910390fd5b6113888161164b610ae8565b6116559190612f9d565b1115611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d90613065565b60405180910390fd5b601054816116a49190613085565b3410156116e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dd9061312b565b60405180910390fd5b6116f03382611d9b565b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461173b9190612f9d565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611789611be6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117ed576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006117fa611be6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118a7611be6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118ec91906125b3565b60405180910390a35050565b600f5481565b600047905090565b600e5481565b611917848484610aff565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119795761194284848484611f8d565b611978576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611987611db9565b80600f8190555050565b6060600a60009054906101000a900460ff16156119b8576119b1826120dd565b90506119d4565b6040518060800160405280605081526020016139306050913990505b919050565b6119e1611db9565b600a60009054906101000a900460ff1615611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2890613657565b60405180910390fd5b80600d60006101000a81548160ff02191690836005811115611a5657611a556125ce565b5b021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611afa611db9565b80600b8190555050565b611b0c611db9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b72906136e9565b60405180910390fd5b611b8481611ec9565b50565b600081611b92611bee565b11158015611ba1575060015482105b8015611bdf575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611c02611bee565b11611c8857600154811015611c875760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611c85575b60008103611c7b576005600083600190039350838152602001908152602001600020549050611c51565b8092505050611cba565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600790508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611d4286868461217b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600082611d918584612184565b1490509392505050565b611db58282604051806020016040528060008152506121da565b5050565b611dc1612278565b73ffffffffffffffffffffffffffffffffffffffff16611ddf611467565b73ffffffffffffffffffffffffffffffffffffffff1614611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c90613755565b60405180910390fd5b565b606060098054611e4690612e19565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7290612e19565b8015611ebf5780601f10611e9457610100808354040283529160200191611ebf565b820191906000526020600020905b815481529060010190602001808311611ea257829003601f168201915b5050505050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fb3611be6565b8786866040518563ffffffff1660e01b8152600401611fd594939291906137ca565b6020604051808303816000875af192505050801561201157506040513d601f19601f8201168201806040525081019061200e919061382b565b60015b61208a573d8060008114612041576040519150601f19603f3d011682016040523d82523d6000602084013e612046565b606091505b506000815103612082576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606120e882611b87565b61211e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612128611e37565b905060008151036121485760405180602001604052806000815250612173565b8061215284612280565b604051602001612163929190613894565b6040516020818303038152906040525b915050919050565b60009392505050565b60008082905060005b84518110156121cf576121ba828683815181106121ad576121ac6138b8565b5b60200260200101516122da565b915080806121c7906138e7565b91505061218d565b508091505092915050565b6121e48383612305565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122735760006001549050600083820390505b6122256000868380600101945086611f8d565b61225b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061221257816001541461227057600080fd5b50505b505050565b600033905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156122c657600183039250600a81066030018353600a810490506122a6565b508181036020830392508083525050919050565b60008183106122f2576122ed82846124d8565b6122fd565b6122fc83836124d8565b5b905092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612372576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082036123ac576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123b96000848385611d25565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612430836124216000866000611d2b565b61242a856124ef565b17611d53565b60056000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612454578060018190555050506124d36000848385611d7e565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61254881612513565b811461255357600080fd5b50565b6000813590506125658161253f565b92915050565b60006020828403121561258157612580612509565b5b600061258f84828501612556565b91505092915050565b60008115159050919050565b6125ad81612598565b82525050565b60006020820190506125c860008301846125a4565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6006811061260e5761260d6125ce565b5b50565b600081905061261f826125fd565b919050565b600061262f82612611565b9050919050565b61263f81612624565b82525050565b600060208201905061265a6000830184612636565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561269a57808201518184015260208101905061267f565b838111156126a9576000848401525b50505050565b6000601f19601f8301169050919050565b60006126cb82612660565b6126d5818561266b565b93506126e581856020860161267c565b6126ee816126af565b840191505092915050565b6000602082019050818103600083015261271381846126c0565b905092915050565b6000819050919050565b61272e8161271b565b811461273957600080fd5b50565b60008135905061274b81612725565b92915050565b60006020828403121561276757612766612509565b5b60006127758482850161273c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127a98261277e565b9050919050565b6127b98161279e565b82525050565b60006020820190506127d460008301846127b0565b92915050565b6127e38161279e565b81146127ee57600080fd5b50565b600081359050612800816127da565b92915050565b6000806040838503121561281d5761281c612509565b5b600061282b858286016127f1565b925050602061283c8582860161273c565b9150509250929050565b61284f8161271b565b82525050565b600060208201905061286a6000830184612846565b92915050565b60008060006060848603121561288957612888612509565b5b6000612897868287016127f1565b93505060206128a8868287016127f1565b92505060406128b98682870161273c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126128e8576128e76128c3565b5b8235905067ffffffffffffffff811115612905576129046128c8565b5b602083019150836020820283011115612921576129206128cd565b5b9250929050565b60008060006040848603121561294157612940612509565b5b600061294f8682870161273c565b935050602084013567ffffffffffffffff8111156129705761296f61250e565b5b61297c868287016128d2565b92509250509250925092565b60008083601f84011261299e5761299d6128c3565b5b8235905067ffffffffffffffff8111156129bb576129ba6128c8565b5b6020830191508360018202830111156129d7576129d66128cd565b5b9250929050565b600080602083850312156129f5576129f4612509565b5b600083013567ffffffffffffffff811115612a1357612a1261250e565b5b612a1f85828601612988565b92509250509250929050565b6000612a368261277e565b9050919050565b612a4681612a2b565b8114612a5157600080fd5b50565b600081359050612a6381612a3d565b92915050565b60008060408385031215612a8057612a7f612509565b5b6000612a8e85828601612a54565b9250506020612a9f8582860161273c565b9150509250929050565b600060208284031215612abf57612abe612509565b5b6000612acd848285016127f1565b91505092915050565b612adf81612598565b8114612aea57600080fd5b50565b600081359050612afc81612ad6565b92915050565b60008060408385031215612b1957612b18612509565b5b6000612b27858286016127f1565b9250506020612b3885828601612aed565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b7f826126af565b810181811067ffffffffffffffff82111715612b9e57612b9d612b47565b5b80604052505050565b6000612bb16124ff565b9050612bbd8282612b76565b919050565b600067ffffffffffffffff821115612bdd57612bdc612b47565b5b612be6826126af565b9050602081019050919050565b82818337600083830152505050565b6000612c15612c1084612bc2565b612ba7565b905082815260208101848484011115612c3157612c30612b42565b5b612c3c848285612bf3565b509392505050565b600082601f830112612c5957612c586128c3565b5b8135612c69848260208601612c02565b91505092915050565b60008060008060808587031215612c8c57612c8b612509565b5b6000612c9a878288016127f1565b9450506020612cab878288016127f1565b9350506040612cbc8782880161273c565b925050606085013567ffffffffffffffff811115612cdd57612cdc61250e565b5b612ce987828801612c44565b91505092959194509250565b60068110612d0257600080fd5b50565b600081359050612d1481612cf5565b92915050565b600060208284031215612d3057612d2f612509565b5b6000612d3e84828501612d05565b91505092915050565b60008060408385031215612d5e57612d5d612509565b5b6000612d6c858286016127f1565b9250506020612d7d858286016127f1565b9150509250929050565b6000819050919050565b612d9a81612d87565b8114612da557600080fd5b50565b600081359050612db781612d91565b92915050565b600060208284031215612dd357612dd2612509565b5b6000612de184828501612da8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e3157607f821691505b602082108103612e4457612e43612dea565b5b50919050565b7f416c6c6f774c697374206d696e7420617265206e6f7420616c6c6f776564206f60008201527f6e20746869732070686173650000000000000000000000000000000000000000602082015250565b6000612ea6602c8361266b565b9150612eb182612e4a565b604082019050919050565b60006020820190508181036000830152612ed581612e99565b9050919050565b7f546f6f206d616e7920746f6b656e732072657175657374656420746f2062652060008201527f6d696e7465640000000000000000000000000000000000000000000000000000602082015250565b6000612f3860268361266b565b9150612f4382612edc565b604082019050919050565b60006020820190508181036000830152612f6781612f2b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612fa88261271b565b9150612fb38361271b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612fe857612fe7612f6e565b5b828201905092915050565b7f6d6178696d756d206e756d626572206f6620746f6b656e7320746f206d696e7460008201527f2069732072656163686564000000000000000000000000000000000000000000602082015250565b600061304f602b8361266b565b915061305a82612ff3565b604082019050919050565b6000602082019050818103600083015261307e81613042565b9050919050565b60006130908261271b565b915061309b8361271b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156130d4576130d3612f6e565b5b828202905092915050565b7f496e73756666696369656e742066756e64732070726f76696465640000000000600082015250565b6000613115601b8361266b565b9150613120826130df565b602082019050919050565b6000602082019050818103600083015261314481613108565b9050919050565b60008160601b9050919050565b60006131638261314b565b9050919050565b600061317582613158565b9050919050565b61318d6131888261279e565b61316a565b82525050565b600061319f828461317c565b60148201915081905092915050565b7f696e76616c696420616c6c6f776c6973742070726f6f66000000000000000000600082015250565b60006131e460178361266b565b91506131ef826131ae565b602082019050919050565b60006020820190508181036000830152613213816131d7565b9050919050565b7f43616e27742072657665616c2061667465722072657665616c00000000000000600082015250565b600061325060198361266b565b915061325b8261321a565b602082019050919050565b6000602082019050818103600083015261327f81613243565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026132f37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826132b6565b6132fd86836132b6565b95508019841693508086168417925050509392505050565b6000819050919050565b600061333a6133356133308461271b565b613315565b61271b565b9050919050565b6000819050919050565b6133548361331f565b61336861336082613341565b8484546132c3565b825550505050565b600090565b61337d613370565b61338881848461334b565b505050565b5b818110156133ac576133a1600082613375565b60018101905061338e565b5050565b601f8211156133f1576133c281613291565b6133cb846132a6565b810160208510156133da578190505b6133ee6133e6856132a6565b83018261338d565b50505b505050565b600082821c905092915050565b6000613414600019846008026133f6565b1980831691505092915050565b600061342d8383613403565b9150826002028217905092915050565b6134478383613286565b67ffffffffffffffff8111156134605761345f612b47565b5b61346a8254612e19565b6134758282856133b0565b6000601f8311600181146134a45760008415613492578287013590505b61349c8582613421565b865550613504565b601f1984166134b286613291565b60005b828110156134da578489013582556001820191506020850194506020810190506134b5565b868310156134f757848901356134f3601f891682613403565b8355505b6001600288020188555050505b50505050505050565b7f696e73756666696369656e742066756e647320746f2077697468647261770000600082015250565b6000613543601e8361266b565b915061354e8261350d565b602082019050919050565b6000602082019050818103600083015261357281613536565b9050919050565b7f7075626c6963206d696e74206973206e6f7420616c6c6f776564206f6e20746860008201527f6973207068617365000000000000000000000000000000000000000000000000602082015250565b60006135d560288361266b565b91506135e082613579565b604082019050919050565b60006020820190508181036000830152613604816135c8565b9050919050565b7f43616e2774206368616e67652070686173652061667465722072657665616c00600082015250565b6000613641601f8361266b565b915061364c8261360b565b602082019050919050565b6000602082019050818103600083015261367081613634565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006136d360268361266b565b91506136de82613677565b604082019050919050565b60006020820190508181036000830152613702816136c6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061373f60208361266b565b915061374a82613709565b602082019050919050565b6000602082019050818103600083015261376e81613732565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061379c82613775565b6137a68185613780565b93506137b681856020860161267c565b6137bf816126af565b840191505092915050565b60006080820190506137df60008301876127b0565b6137ec60208301866127b0565b6137f96040830185612846565b818103606083015261380b8184613791565b905095945050505050565b6000815190506138258161253f565b92915050565b60006020828403121561384157613840612509565b5b600061384f84828501613816565b91505092915050565b600081905092915050565b600061386e82612660565b6138788185613858565b935061388881856020860161267c565b80840191505092915050565b60006138a08285613863565b91506138ac8284613863565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006138f28261271b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361392457613923612f6e565b5b60018201905091905056fe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5756426b4d456f39466f523554394276633842584237384d50736141314b6e75524863647264726d6463396ea264697066735822122002ab24d7b90cde74b0022e009379372c608572806f1dc1d3842c640c1195dab464736f6c634300080f003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0721782c1d592aa7dddbb6250c132f21185c062ed76979db72d7d4e4c5bb44a2100000000000000000000000000000000000000000000000000000000000000d70000000000000000000000003ada1269ba8dd0349f047e5407d6d867b09c7b0b0000000000000000000000000000000000000000000000000000000000000015536c6565707920536e6970657220536f6369657479000000000000000000000000000000000000000000000000000000000000000000000000000000000000035353530000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c80637f4637f811610118578063a5749710116100a0578063c87b56dd1161006f578063c87b56dd146106ff578063cd3f29101461073c578063e985e9c514610765578063ea7a42e4146107a2578063f2fde38b146107cb57610204565b8063a574971014610657578063b2d852cf14610682578063b88d4fde146106ad578063c476c8db146106d657610204565b806395d89b41116100e757806395d89b41146105915780639b6860c8146105bc578063a0712d68146105e7578063a22cb46514610603578063a24e51531461062c57610204565b80637f4637f8146104fb57806383197ef0146105265780638da5cb5b1461053d57806395bd19c21461056857610204565b806342842e0e1161019b5780636352211e1161016a5780636352211e146104165780636c0360eb1461045357806370a082311461047e578063715018a6146104bb578063791a2519146104d257610204565b806342842e0e146103725780634c2612471461039b57806355f804b3146103c457806361b49c21146103ed57610204565b8063095ea7b3116101d7578063095ea7b3146102d957806318160ddd1461030257806323b872dd1461032d5780633671f8cf1461035657610204565b806301ffc9a714610209578063055ad42e1461024657806306fdde0314610271578063081812fc1461029c575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b919061256b565b6107f4565b60405161023d91906125b3565b60405180910390f35b34801561025257600080fd5b5061025b610886565b6040516102689190612645565b60405180910390f35b34801561027d57600080fd5b50610286610899565b60405161029391906126f9565b60405180910390f35b3480156102a857600080fd5b506102c360048036038101906102be9190612751565b61092b565b6040516102d091906127bf565b60405180910390f35b3480156102e557600080fd5b5061030060048036038101906102fb9190612806565b6109a7565b005b34801561030e57600080fd5b50610317610ae8565b6040516103249190612855565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190612870565b610aff565b005b610370600480360381019061036b9190612928565b610e21565b005b34801561037e57600080fd5b5061039960048036038101906103949190612870565b6111a6565b005b3480156103a757600080fd5b506103c260048036038101906103bd91906129de565b6111c6565b005b3480156103d057600080fd5b506103eb60048036038101906103e691906129de565b61127a565b005b3480156103f957600080fd5b50610414600480360381019061040f9190612a69565b611298565b005b34801561042257600080fd5b5061043d60048036038101906104389190612751565b611335565b60405161044a91906127bf565b60405180910390f35b34801561045f57600080fd5b50610468611347565b60405161047591906126f9565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a09190612aa9565b611356565b6040516104b29190612855565b60405180910390f35b3480156104c757600080fd5b506104d061140e565b005b3480156104de57600080fd5b506104f960048036038101906104f49190612751565b611422565b005b34801561050757600080fd5b50610510611434565b60405161051d9190612855565b60405180910390f35b34801561053257600080fd5b5061053b61143a565b005b34801561054957600080fd5b50610552611467565b60405161055f91906127bf565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a9190612751565b611490565b005b34801561059d57600080fd5b506105a66114a2565b6040516105b391906126f9565b60405180910390f35b3480156105c857600080fd5b506105d1611534565b6040516105de9190612855565b60405180910390f35b61060160048036038101906105fc9190612751565b61153a565b005b34801561060f57600080fd5b5061062a60048036038101906106259190612b02565b611781565b005b34801561063857600080fd5b506106416118f8565b60405161064e9190612855565b60405180910390f35b34801561066357600080fd5b5061066c6118fe565b6040516106799190612855565b60405180910390f35b34801561068e57600080fd5b50610697611906565b6040516106a49190612855565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf9190612c72565b61190c565b005b3480156106e257600080fd5b506106fd60048036038101906106f89190612751565b61197f565b005b34801561070b57600080fd5b5061072660048036038101906107219190612751565b611991565b60405161073391906126f9565b60405180910390f35b34801561074857600080fd5b50610763600480360381019061075e9190612d1a565b6119d9565b005b34801561077157600080fd5b5061078c60048036038101906107879190612d47565b611a5e565b60405161079991906125b3565b60405180910390f35b3480156107ae57600080fd5b506107c960048036038101906107c49190612dbd565b611af2565b005b3480156107d757600080fd5b506107f260048036038101906107ed9190612aa9565b611b04565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061087f5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600d60009054906101000a900460ff1681565b6060600380546108a890612e19565b80601f01602080910402602001604051908101604052809291908181526020018280546108d490612e19565b80156109215780601f106108f657610100808354040283529160200191610921565b820191906000526020600020905b81548152906001019060200180831161090457829003601f168201915b5050505050905090565b600061093682611b87565b61096c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b282611335565b90508073ffffffffffffffffffffffffffffffffffffffff166109d3611be6565b73ffffffffffffffffffffffffffffffffffffffff1614610a36576109ff816109fa611be6565b611a5e565b610a35576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610af2611bee565b6002546001540303905090565b6000610b0a82611bf3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b71576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610b7d84611cbf565b91509150610b938187610b8e611be6565b611ce1565b610bdf57610ba886610ba3611be6565b611a5e565b610bde576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610c45576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c528686866001611d25565b8015610c5d57600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d2b85610d07888887611d2b565b7c020000000000000000000000000000000000000000000000000000000017611d53565b600560008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610db15760006001850190506000600560008381526020019081526020016000205403610daf576001548114610dae578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e198686866001611d7e565b505050505050565b60016005811115610e3557610e346125ce565b5b600d60009054906101000a900460ff166005811115610e5757610e566125ce565b5b1480610e96575060026005811115610e7257610e716125ce565b5b600d60009054906101000a900460ff166005811115610e9457610e936125ce565b5b145b610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc90612ebc565b60405180910390fd5b600e54831115610f1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1190612f4e565b60405180910390fd5b600e5483600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f689190612f9d565b1115610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090612f4e565b60405180910390fd5b61138883610fb5610ae8565b610fbf9190612f9d565b1115611000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff790613065565b60405180910390fd5b600f548361100e9190613085565b341015611050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110479061312b565b60405180910390fd5b6000336040516020016110639190613193565b6040516020818303038152906040528051906020012090506110c9838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5483611d84565b611108576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ff906131fa565b60405180910390fd5b6111123385611d9b565b83600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461115d9190612f9d565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6111c18383836040518060200160405280600081525061190c565b505050565b6111ce611db9565b600a60009054906101000a900460ff161561121e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121590613266565b60405180910390fd5b6001600a60006101000a81548160ff02191690831515021790555081816009918261124a92919061343d565b506005600d60006101000a81548160ff02191690836005811115611271576112706125ce565b5b02179055505050565b611282611db9565b81816009918261129392919061343d565b505050565b6112a0611db9565b6112a86118fe565b8111156112ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e190613559565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611330573d6000803e3d6000fd5b505050565b600061134082611bf3565b9050919050565b6060611351611e37565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113bd576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611416611db9565b6114206000611ec9565b565b61142a611db9565b8060108190555050565b61138881565b611442611db9565b600061144c611467565b90508073ffffffffffffffffffffffffffffffffffffffff16ff5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611498611db9565b80600e8190555050565b6060600480546114b190612e19565b80601f01602080910402602001604051908101604052809291908181526020018280546114dd90612e19565b801561152a5780601f106114ff5761010080835404028352916020019161152a565b820191906000526020600020905b81548152906001019060200180831161150d57829003601f168201915b5050505050905090565b60105481565b6003600581111561154e5761154d6125ce565b5b600d60009054906101000a900460ff1660058111156115705761156f6125ce565b5b146115b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a7906135eb565b60405180910390fd5b600e5481600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546115fe9190612f9d565b111561163f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163690612f4e565b60405180910390fd5b6113888161164b610ae8565b6116559190612f9d565b1115611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d90613065565b60405180910390fd5b601054816116a49190613085565b3410156116e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dd9061312b565b60405180910390fd5b6116f03382611d9b565b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461173b9190612f9d565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611789611be6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117ed576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006117fa611be6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118a7611be6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118ec91906125b3565b60405180910390a35050565b600f5481565b600047905090565b600e5481565b611917848484610aff565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119795761194284848484611f8d565b611978576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611987611db9565b80600f8190555050565b6060600a60009054906101000a900460ff16156119b8576119b1826120dd565b90506119d4565b6040518060800160405280605081526020016139306050913990505b919050565b6119e1611db9565b600a60009054906101000a900460ff1615611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2890613657565b60405180910390fd5b80600d60006101000a81548160ff02191690836005811115611a5657611a556125ce565b5b021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611afa611db9565b80600b8190555050565b611b0c611db9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b72906136e9565b60405180910390fd5b611b8481611ec9565b50565b600081611b92611bee565b11158015611ba1575060015482105b8015611bdf575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611c02611bee565b11611c8857600154811015611c875760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611c85575b60008103611c7b576005600083600190039350838152602001908152602001600020549050611c51565b8092505050611cba565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600790508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611d4286868461217b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600082611d918584612184565b1490509392505050565b611db58282604051806020016040528060008152506121da565b5050565b611dc1612278565b73ffffffffffffffffffffffffffffffffffffffff16611ddf611467565b73ffffffffffffffffffffffffffffffffffffffff1614611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c90613755565b60405180910390fd5b565b606060098054611e4690612e19565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7290612e19565b8015611ebf5780601f10611e9457610100808354040283529160200191611ebf565b820191906000526020600020905b815481529060010190602001808311611ea257829003601f168201915b5050505050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fb3611be6565b8786866040518563ffffffff1660e01b8152600401611fd594939291906137ca565b6020604051808303816000875af192505050801561201157506040513d601f19601f8201168201806040525081019061200e919061382b565b60015b61208a573d8060008114612041576040519150601f19603f3d011682016040523d82523d6000602084013e612046565b606091505b506000815103612082576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606120e882611b87565b61211e576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612128611e37565b905060008151036121485760405180602001604052806000815250612173565b8061215284612280565b604051602001612163929190613894565b6040516020818303038152906040525b915050919050565b60009392505050565b60008082905060005b84518110156121cf576121ba828683815181106121ad576121ac6138b8565b5b60200260200101516122da565b915080806121c7906138e7565b91505061218d565b508091505092915050565b6121e48383612305565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122735760006001549050600083820390505b6122256000868380600101945086611f8d565b61225b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061221257816001541461227057600080fd5b50505b505050565b600033905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156122c657600183039250600a81066030018353600a810490506122a6565b508181036020830392508083525050919050565b60008183106122f2576122ed82846124d8565b6122fd565b6122fc83836124d8565b5b905092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612372576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082036123ac576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123b96000848385611d25565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612430836124216000866000611d2b565b61242a856124ef565b17611d53565b60056000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612454578060018190555050506124d36000848385611d7e565b505050565b600082600052816020526040600020905092915050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61254881612513565b811461255357600080fd5b50565b6000813590506125658161253f565b92915050565b60006020828403121561258157612580612509565b5b600061258f84828501612556565b91505092915050565b60008115159050919050565b6125ad81612598565b82525050565b60006020820190506125c860008301846125a4565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6006811061260e5761260d6125ce565b5b50565b600081905061261f826125fd565b919050565b600061262f82612611565b9050919050565b61263f81612624565b82525050565b600060208201905061265a6000830184612636565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561269a57808201518184015260208101905061267f565b838111156126a9576000848401525b50505050565b6000601f19601f8301169050919050565b60006126cb82612660565b6126d5818561266b565b93506126e581856020860161267c565b6126ee816126af565b840191505092915050565b6000602082019050818103600083015261271381846126c0565b905092915050565b6000819050919050565b61272e8161271b565b811461273957600080fd5b50565b60008135905061274b81612725565b92915050565b60006020828403121561276757612766612509565b5b60006127758482850161273c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127a98261277e565b9050919050565b6127b98161279e565b82525050565b60006020820190506127d460008301846127b0565b92915050565b6127e38161279e565b81146127ee57600080fd5b50565b600081359050612800816127da565b92915050565b6000806040838503121561281d5761281c612509565b5b600061282b858286016127f1565b925050602061283c8582860161273c565b9150509250929050565b61284f8161271b565b82525050565b600060208201905061286a6000830184612846565b92915050565b60008060006060848603121561288957612888612509565b5b6000612897868287016127f1565b93505060206128a8868287016127f1565b92505060406128b98682870161273c565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126128e8576128e76128c3565b5b8235905067ffffffffffffffff811115612905576129046128c8565b5b602083019150836020820283011115612921576129206128cd565b5b9250929050565b60008060006040848603121561294157612940612509565b5b600061294f8682870161273c565b935050602084013567ffffffffffffffff8111156129705761296f61250e565b5b61297c868287016128d2565b92509250509250925092565b60008083601f84011261299e5761299d6128c3565b5b8235905067ffffffffffffffff8111156129bb576129ba6128c8565b5b6020830191508360018202830111156129d7576129d66128cd565b5b9250929050565b600080602083850312156129f5576129f4612509565b5b600083013567ffffffffffffffff811115612a1357612a1261250e565b5b612a1f85828601612988565b92509250509250929050565b6000612a368261277e565b9050919050565b612a4681612a2b565b8114612a5157600080fd5b50565b600081359050612a6381612a3d565b92915050565b60008060408385031215612a8057612a7f612509565b5b6000612a8e85828601612a54565b9250506020612a9f8582860161273c565b9150509250929050565b600060208284031215612abf57612abe612509565b5b6000612acd848285016127f1565b91505092915050565b612adf81612598565b8114612aea57600080fd5b50565b600081359050612afc81612ad6565b92915050565b60008060408385031215612b1957612b18612509565b5b6000612b27858286016127f1565b9250506020612b3885828601612aed565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b7f826126af565b810181811067ffffffffffffffff82111715612b9e57612b9d612b47565b5b80604052505050565b6000612bb16124ff565b9050612bbd8282612b76565b919050565b600067ffffffffffffffff821115612bdd57612bdc612b47565b5b612be6826126af565b9050602081019050919050565b82818337600083830152505050565b6000612c15612c1084612bc2565b612ba7565b905082815260208101848484011115612c3157612c30612b42565b5b612c3c848285612bf3565b509392505050565b600082601f830112612c5957612c586128c3565b5b8135612c69848260208601612c02565b91505092915050565b60008060008060808587031215612c8c57612c8b612509565b5b6000612c9a878288016127f1565b9450506020612cab878288016127f1565b9350506040612cbc8782880161273c565b925050606085013567ffffffffffffffff811115612cdd57612cdc61250e565b5b612ce987828801612c44565b91505092959194509250565b60068110612d0257600080fd5b50565b600081359050612d1481612cf5565b92915050565b600060208284031215612d3057612d2f612509565b5b6000612d3e84828501612d05565b91505092915050565b60008060408385031215612d5e57612d5d612509565b5b6000612d6c858286016127f1565b9250506020612d7d858286016127f1565b9150509250929050565b6000819050919050565b612d9a81612d87565b8114612da557600080fd5b50565b600081359050612db781612d91565b92915050565b600060208284031215612dd357612dd2612509565b5b6000612de184828501612da8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e3157607f821691505b602082108103612e4457612e43612dea565b5b50919050565b7f416c6c6f774c697374206d696e7420617265206e6f7420616c6c6f776564206f60008201527f6e20746869732070686173650000000000000000000000000000000000000000602082015250565b6000612ea6602c8361266b565b9150612eb182612e4a565b604082019050919050565b60006020820190508181036000830152612ed581612e99565b9050919050565b7f546f6f206d616e7920746f6b656e732072657175657374656420746f2062652060008201527f6d696e7465640000000000000000000000000000000000000000000000000000602082015250565b6000612f3860268361266b565b9150612f4382612edc565b604082019050919050565b60006020820190508181036000830152612f6781612f2b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612fa88261271b565b9150612fb38361271b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612fe857612fe7612f6e565b5b828201905092915050565b7f6d6178696d756d206e756d626572206f6620746f6b656e7320746f206d696e7460008201527f2069732072656163686564000000000000000000000000000000000000000000602082015250565b600061304f602b8361266b565b915061305a82612ff3565b604082019050919050565b6000602082019050818103600083015261307e81613042565b9050919050565b60006130908261271b565b915061309b8361271b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156130d4576130d3612f6e565b5b828202905092915050565b7f496e73756666696369656e742066756e64732070726f76696465640000000000600082015250565b6000613115601b8361266b565b9150613120826130df565b602082019050919050565b6000602082019050818103600083015261314481613108565b9050919050565b60008160601b9050919050565b60006131638261314b565b9050919050565b600061317582613158565b9050919050565b61318d6131888261279e565b61316a565b82525050565b600061319f828461317c565b60148201915081905092915050565b7f696e76616c696420616c6c6f776c6973742070726f6f66000000000000000000600082015250565b60006131e460178361266b565b91506131ef826131ae565b602082019050919050565b60006020820190508181036000830152613213816131d7565b9050919050565b7f43616e27742072657665616c2061667465722072657665616c00000000000000600082015250565b600061325060198361266b565b915061325b8261321a565b602082019050919050565b6000602082019050818103600083015261327f81613243565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026132f37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826132b6565b6132fd86836132b6565b95508019841693508086168417925050509392505050565b6000819050919050565b600061333a6133356133308461271b565b613315565b61271b565b9050919050565b6000819050919050565b6133548361331f565b61336861336082613341565b8484546132c3565b825550505050565b600090565b61337d613370565b61338881848461334b565b505050565b5b818110156133ac576133a1600082613375565b60018101905061338e565b5050565b601f8211156133f1576133c281613291565b6133cb846132a6565b810160208510156133da578190505b6133ee6133e6856132a6565b83018261338d565b50505b505050565b600082821c905092915050565b6000613414600019846008026133f6565b1980831691505092915050565b600061342d8383613403565b9150826002028217905092915050565b6134478383613286565b67ffffffffffffffff8111156134605761345f612b47565b5b61346a8254612e19565b6134758282856133b0565b6000601f8311600181146134a45760008415613492578287013590505b61349c8582613421565b865550613504565b601f1984166134b286613291565b60005b828110156134da578489013582556001820191506020850194506020810190506134b5565b868310156134f757848901356134f3601f891682613403565b8355505b6001600288020188555050505b50505050505050565b7f696e73756666696369656e742066756e647320746f2077697468647261770000600082015250565b6000613543601e8361266b565b915061354e8261350d565b602082019050919050565b6000602082019050818103600083015261357281613536565b9050919050565b7f7075626c6963206d696e74206973206e6f7420616c6c6f776564206f6e20746860008201527f6973207068617365000000000000000000000000000000000000000000000000602082015250565b60006135d560288361266b565b91506135e082613579565b604082019050919050565b60006020820190508181036000830152613604816135c8565b9050919050565b7f43616e2774206368616e67652070686173652061667465722072657665616c00600082015250565b6000613641601f8361266b565b915061364c8261360b565b602082019050919050565b6000602082019050818103600083015261367081613634565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006136d360268361266b565b91506136de82613677565b604082019050919050565b60006020820190508181036000830152613702816136c6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061373f60208361266b565b915061374a82613709565b602082019050919050565b6000602082019050818103600083015261376e81613732565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061379c82613775565b6137a68185613780565b93506137b681856020860161267c565b6137bf816126af565b840191505092915050565b60006080820190506137df60008301876127b0565b6137ec60208301866127b0565b6137f96040830185612846565b818103606083015261380b8184613791565b905095945050505050565b6000815190506138258161253f565b92915050565b60006020828403121561384157613840612509565b5b600061384f84828501613816565b91505092915050565b600081905092915050565b600061386e82612660565b6138788185613858565b935061388881856020860161267c565b80840191505092915050565b60006138a08285613863565b91506138ac8284613863565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006138f28261271b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361392457613923612f6e565b5b60018201905091905056fe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5756426b4d456f39466f523554394276633842584237384d50736141314b6e75524863647264726d6463396ea264697066735822122002ab24d7b90cde74b0022e009379372c608572806f1dc1d3842c640c1195dab464736f6c634300080f0033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0721782c1d592aa7dddbb6250c132f21185c062ed76979db72d7d4e4c5bb44a2100000000000000000000000000000000000000000000000000000000000000d70000000000000000000000003ada1269ba8dd0349f047e5407d6d867b09c7b0b0000000000000000000000000000000000000000000000000000000000000015536c6565707920536e6970657220536f6369657479000000000000000000000000000000000000000000000000000000000000000000000000000000000000035353530000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Sleepy Sniper Society
Arg [1] : symbol (string): SSS
Arg [2] : whiteListMerkleRoot (bytes32): 0x721782c1d592aa7dddbb6250c132f21185c062ed76979db72d7d4e4c5bb44a21
Arg [3] : premintTokensNumber (uint256): 215
Arg [4] : premintAddress (address): 0x3aDA1269BA8DD0349F047E5407D6D867B09c7b0B

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 721782c1d592aa7dddbb6250c132f21185c062ed76979db72d7d4e4c5bb44a21
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000d7
Arg [4] : 0000000000000000000000003ada1269ba8dd0349f047e5407d6d867b09c7b0b
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [6] : 536c6565707920536e6970657220536f63696574790000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 5353530000000000000000000000000000000000000000000000000000000000


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.