ETH Price: $2,530.57 (+2.94%)

Token

GDrake (GD)
 

Overview

Max Total Supply

3,333 GD

Holders

846

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
goblindaddy.eth
Balance
2 GD
0xc3743f58823E352f27B2DD0465f36AD71a83662A
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:
GDrake

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : GDrake.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Strings.sol";
import "erc721a/contracts/ERC721A.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; // OZ: MerkleProof

contract GDrake is ERC721A {
    using Strings for uint256;
    bytes32 public merkleRoot;

    address private _owner;
    bool public _isSaleActive = false;
    bool public _revealed = false;

    // Gduck basic info
    uint256 public maxSupply;
    uint256 public mintPrice = 0.005 ether;
    uint256 public maxBalance = 10;
    uint256 public wlMintAmount = 1;
    uint256 public normalFreeMint = 1;

    address private teamHolder;

    uint256 public wlStartTime;
    uint256 public wlEndTime;
    string public baseURI = "";
    string public notRevealedUri;
    string public baseExtension = ".json";

    mapping(uint256 => string) private _tokenURIs;
    mapping(address => uint256) public wlMintedAddress;

    mapping(address=>bool) private adminAddressList;

    modifier onlyOwner() {
        require(adminAddressList[msg.sender], "only owner");
        _;
    }

    constructor(
        uint256 _startTime,
        uint256 _endTime,
        bytes32 _merkleTreeRoot,
        address _teamHolder,
        string memory _notRevealedUri,
        uint256 _maxSupply
    ) ERC721A("GDrake", "GD") {
        adminAddressList[msg.sender] = true;
        wlStartTime = _startTime;
        wlEndTime = _endTime;
        merkleRoot = _merkleTreeRoot;
        teamHolder = _teamHolder;
        notRevealedUri = _notRevealedUri;
        maxSupply = _maxSupply;
        setSaleActive(true);
    }

    function mint(uint256 tokenQuantity) public payable {
        require(_isSaleActive, "Not Active");
        require(block.timestamp > wlEndTime, "Public Sale Not Start");
        require(tokenQuantity > 0, "Quantity must bigger than zero");
        require(totalSupply() + tokenQuantity <= maxSupply, "Exceed Max");
        uint256 normalMintAmount = balanceOf(msg.sender) - wlMintedAddress[msg.sender];
        require(
            normalMintAmount + tokenQuantity <= maxBalance,
            "Exceed Max Balance"
        );
        uint256 amount = tokenQuantity;
        if (normalMintAmount == 0) {
            amount = tokenQuantity - normalFreeMint;
        }
        uint256 price = amount * mintPrice;
        require(msg.value >= price, "NotEnoughETH");
        _mint(msg.sender, tokenQuantity);
    }

    function wlMint(
        uint256 tokenQuantity,
        address to,
        bytes32[] calldata proof
    ) external {
        require(_isSaleActive, "Not Active");
        require(tokenQuantity > 0, "Quantity must bigger than zero");
        require(block.timestamp > wlStartTime, "Whitelist Sale not start");
        require(block.timestamp <= wlEndTime, "Whitelist Sale was over");

        require(totalSupply() + tokenQuantity <= maxSupply, "Exceed Max");
        require(
            balanceOf(to) + tokenQuantity <= wlMintAmount,
            "Exceed WL Balance"
        );
        bytes32 leaf = keccak256(abi.encodePacked(to, tokenQuantity));
        bool isValidLeaf = MerkleProof.verify(proof, merkleRoot, leaf);
        require(isValidLeaf, "Not in whitelist");
        wlMintedAddress[to] += tokenQuantity;

        _mint(to, tokenQuantity);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "Not Exist");
        if (_revealed == false) {
            return notRevealedUri;
        }
        string memory _tokenURI = _tokenURIs[tokenId];
        if (bytes(_tokenURI).length > 0) {
            return _tokenURI;
        }
        return
            string(
                abi.encodePacked(
                    baseURI,
                    "/",
                    tokenId.toString(),
                    baseExtension
                )
            );
    }

    function openBox(string memory _newBaseURI) external onlyOwner {
        uint256 amount = maxSupply - totalSupply();
        _mint(teamHolder, amount);
        setReveal(true);
        setBaseURI(_newBaseURI);
    }

    //Setting functions

    //if something wrong ,solve it
    function setTokenURI(string memory uri, uint256 tokenId)
        external
        onlyOwner
    {
        _tokenURIs[tokenId] = uri;
    }

    function setSaleActive(bool _activeType) public onlyOwner {
        _isSaleActive = _activeType;
    }

    function setReveal(bool _revealedType) public onlyOwner {
        _revealed = _revealedType;
    }

    function setMintPrice(uint256 _mintPrice) public onlyOwner {
        mintPrice = _mintPrice;
    }

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setMaxBalance(uint256 _maxBalance) public onlyOwner {
        maxBalance = _maxBalance;
    }

    function withdraw(address to) public onlyOwner {
        uint256 balance = address(this).balance;
        payable(to).transfer(balance);
    }

    function setwlEndTime(uint256 _endTime) external onlyOwner {
        wlEndTime = _endTime;
    }
    
    function setWlStartTime(uint256 _startTime) external onlyOwner{
        require(_startTime<wlEndTime,"start time mast be early than endTime");
        wlStartTime = _startTime;
    }

    //MerkelTree
    function setMerkleTreeRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }


    //admin
    function setAdminInfo(address _addr,bool _bool) external onlyOwner{
        adminAddressList[_addr] = _bool;
    }

    function setTeamHolder(address _addr) external onlyOwner{
        teamHolder = _addr;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 3 of 5 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // 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 `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID 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 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual 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 virtual {
        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;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    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: [ERC165](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.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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 '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

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

    /**
     * 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 initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns 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))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 virtual {
        uint256 startTokenId = _currentIndex;
        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 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _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 virtual {
        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 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 virtual {
        _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 Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @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) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(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++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        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 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 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;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @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 virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 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: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

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

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

pragma solidity ^0.8.0;

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

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

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

File 5 of 5 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
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();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores 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 via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @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() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 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`,
     * 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,
        bytes calldata data
    ) external;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` 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](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"bytes32","name":"_merkleTreeRoot","type":"bytes32"},{"internalType":"address","name":"_teamHolder","type":"address"},{"internalType":"string","name":"_notRevealedUri","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"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":"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":"_isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"normalFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"openBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_bool","type":"bool"}],"name":"setAdminInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBalance","type":"uint256"}],"name":"setMaxBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleTreeRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealedType","type":"bool"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_activeType","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setTeamHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"setWlStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endTime","type":"uint256"}],"name":"setwlEndTime","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":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"wlMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlMintedAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526000600960146101000a81548160ff0219169083151502179055506000600960156101000a81548160ff0219169083151502179055506611c37937e08000600b55600a600c556001600d556001600e5560405180602001604052806000815250601290805190602001906200007b92919062000350565b506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060149080519060200190620000c992919062000350565b50348015620000d757600080fd5b5060405162004ad938038062004ad98339818101604052810190620000fd9190620004b7565b6040518060400160405280600681526020017f474472616b6500000000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f474400000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200018192919062000350565b5080600390805190602001906200019a92919062000350565b50620001ab6200029f60201b60201c565b60008190555050506001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555085601081905550846011819055508360088190555082600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601390805190602001906200027992919062000350565b5080600a81905550620002936001620002a460201b60201c565b505050505050620007ef565b600090565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1662000333576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200032a906200058d565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b8280546200035e906200069d565b90600052602060002090601f016020900481019282620003825760008555620003ce565b82601f106200039d57805160ff1916838001178555620003ce565b82800160010185558215620003ce579182015b82811115620003cd578251825591602001919060010190620003b0565b5b509050620003dd9190620003e1565b5090565b5b80821115620003fc576000816000905550600101620003e2565b5090565b6000620004176200041184620005d8565b620005af565b9050828152602081018484840111156200043057600080fd5b6200043d84828562000667565b509392505050565b6000815190506200045681620007a1565b92915050565b6000815190506200046d81620007bb565b92915050565b600082601f8301126200048557600080fd5b81516200049784826020860162000400565b91505092915050565b600081519050620004b181620007d5565b92915050565b60008060008060008060c08789031215620004d157600080fd5b6000620004e189828a01620004a0565b9650506020620004f489828a01620004a0565b95505060406200050789828a016200045c565b94505060606200051a89828a0162000445565b935050608087015167ffffffffffffffff8111156200053857600080fd5b6200054689828a0162000473565b92505060a06200055989828a01620004a0565b9150509295509295509295565b600062000575600a836200060e565b9150620005828262000778565b602082019050919050565b60006020820190508181036000830152620005a88162000566565b9050919050565b6000620005bb620005ce565b9050620005c98282620006d3565b919050565b6000604051905090565b600067ffffffffffffffff821115620005f657620005f562000738565b5b620006018262000767565b9050602081019050919050565b600082825260208201905092915050565b60006200062c826200063d565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620006875780820151818401526020810190506200066a565b8381111562000697576000848401525b50505050565b60006002820490506001821680620006b657607f821691505b60208210811415620006cd57620006cc62000709565b5b50919050565b620006de8262000767565b810181811067ffffffffffffffff821117156200070057620006ff62000738565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6f6e6c79206f776e657200000000000000000000000000000000000000000000600082015250565b620007ac816200061f565b8114620007b857600080fd5b50565b620007c68162000633565b8114620007d257600080fd5b50565b620007e0816200065d565b8114620007ec57600080fd5b50565b6142da80620007ff6000396000f3fe6080604052600436106102675760003560e01c80636817c76c11610144578063ae86fc75116100b6578063c87b56dd1161007a578063c87b56dd146108f5578063d5abeb0114610932578063ddefaea71461095d578063e985e9c514610988578063f2c4ce1e146109c5578063f4a0a528146109ee57610267565b8063ae86fc7514610810578063b37623971461084d578063b88d4fde14610876578063be9feb301461089f578063c6682862146108ca57610267565b806373ad468a1161010857806373ad468a14610723578063841718a61461074e57806395d89b41146107775780639d51d9b7146107a2578063a0712d68146107cb578063a22cb465146107e757610267565b80636817c76c1461063a5780636c0360eb146106655780636ebeac85146106905780637080d6fc146106bb57806370a08231146106e657610267565b80632752be3a116101dd57806347a54148116101a157806347a541481461052e57806350dc46561461055957806351cff8d91461058257806355f804b3146105ab5780636352211e146105d4578063646475c81461061157610267565b80632752be3a1461045f5780632a3f300c146104885780632eb4a7ab146104b157806334698852146104dc57806342842e0e1461050557610267565b80630931f97a1161022f5780630931f97a14610365578063095ea7b31461038e57806309a3beef146103b75780630cc90460146103e057806318160ddd1461040b57806323b872dd1461043657610267565b806301ffc9a71461026c57806306fdde03146102a957806307f1891e146102d4578063081812fc146102fd578063081c8c441461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613360565b610a17565b6040516102a09190613921565b60405180910390f35b3480156102b557600080fd5b506102be610aa9565b6040516102cb9190613957565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613447565b610b3b565b005b34801561030957600080fd5b50610324600480360381019061031f9190613447565b610c15565b60405161033191906138ba565b60405180910390f35b34801561034657600080fd5b5061034f610c94565b60405161035c9190613957565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613296565b610d22565b005b34801561039a57600080fd5b506103b560048036038101906103b091906132d2565b610e09565b005b3480156103c357600080fd5b506103de60048036038101906103d991906133f3565b610f4d565b005b3480156103ec57600080fd5b506103f5611005565b6040516104029190613b19565b60405180910390f35b34801561041757600080fd5b5061042061100b565b60405161042d9190613b19565b60405180910390f35b34801561044257600080fd5b5061045d600480360381019061045891906131cc565b611022565b005b34801561046b57600080fd5b50610486600480360381019061048191906133b2565b611347565b005b34801561049457600080fd5b506104af60048036038101906104aa919061330e565b61142f565b005b3480156104bd57600080fd5b506104c66114d8565b6040516104d3919061393c565b60405180910390f35b3480156104e857600080fd5b5061050360048036038101906104fe9190613470565b6114de565b005b34801561051157600080fd5b5061052c600480360381019061052791906131cc565b6117cf565b005b34801561053a57600080fd5b506105436117ef565b6040516105509190613b19565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b9190613337565b6117f5565b005b34801561058e57600080fd5b506105a960048036038101906105a49190613167565b61188b565b005b3480156105b757600080fd5b506105d260048036038101906105cd91906133b2565b611967565b005b3480156105e057600080fd5b506105fb60048036038101906105f69190613447565b611a0d565b60405161060891906138ba565b60405180910390f35b34801561061d57600080fd5b5061063860048036038101906106339190613447565b611a1f565b005b34801561064657600080fd5b5061064f611ab5565b60405161065c9190613b19565b60405180910390f35b34801561067157600080fd5b5061067a611abb565b6040516106879190613957565b60405180910390f35b34801561069c57600080fd5b506106a5611b49565b6040516106b29190613921565b60405180910390f35b3480156106c757600080fd5b506106d0611b5c565b6040516106dd9190613921565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190613167565b611b6f565b60405161071a9190613b19565b60405180910390f35b34801561072f57600080fd5b50610738611c28565b6040516107459190613b19565b60405180910390f35b34801561075a57600080fd5b506107756004803603810190610770919061330e565b611c2e565b005b34801561078357600080fd5b5061078c611cd7565b6040516107999190613957565b60405180910390f35b3480156107ae57600080fd5b506107c960048036038101906107c49190613447565b611d69565b005b6107e560048036038101906107e09190613447565b611dff565b005b3480156107f357600080fd5b5061080e60048036038101906108099190613296565b612057565b005b34801561081c57600080fd5b5061083760048036038101906108329190613167565b6121cf565b6040516108449190613b19565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f9190613167565b6121e7565b005b34801561088257600080fd5b5061089d6004803603810190610898919061321b565b6122b7565b005b3480156108ab57600080fd5b506108b461232a565b6040516108c19190613b19565b60405180910390f35b3480156108d657600080fd5b506108df612330565b6040516108ec9190613957565b60405180910390f35b34801561090157600080fd5b5061091c60048036038101906109179190613447565b6123be565b6040516109299190613957565b60405180910390f35b34801561093e57600080fd5b506109476125a0565b6040516109549190613b19565b60405180910390f35b34801561096957600080fd5b506109726125a6565b60405161097f9190613b19565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa9190613190565b6125ac565b6040516109bc9190613921565b60405180910390f35b3480156109d157600080fd5b506109ec60048036038101906109e791906133b2565b612640565b005b3480156109fa57600080fd5b50610a156004803603810190610a109190613447565b6126e6565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610ab890613de8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae490613de8565b8015610b315780601f10610b0657610100808354040283529160200191610b31565b820191906000526020600020905b815481529060010190602001808311610b1457829003601f168201915b5050505050905090565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe90613a99565b60405180910390fd5b6011548110610c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0290613af9565b60405180910390fd5b8060108190555050565b6000610c208261277c565b610c56576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60138054610ca190613de8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ccd90613de8565b8015610d1a5780601f10610cef57610100808354040283529160200191610d1a565b820191906000526020600020905b815481529060010190602001808311610cfd57829003601f168201915b505050505081565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590613a99565b60405180910390fd5b80601760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000610e1482611a0d565b90508073ffffffffffffffffffffffffffffffffffffffff16610e356127db565b73ffffffffffffffffffffffffffffffffffffffff1614610e9857610e6181610e5c6127db565b6125ac565b610e97576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090613a99565b60405180910390fd5b81601560008381526020019081526020016000209080519060200190611000929190612f2c565b505050565b600e5481565b60006110156127e3565b6001546000540303905090565b600061102d826127e8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611094576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110a0846128b6565b915091506110b681876110b16127db565b6128dd565b611102576110cb866110c66127db565b6125ac565b611101576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611169576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111768686866001612921565b801561118157600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061124f8561122b888887612927565b7c02000000000000000000000000000000000000000000000000000000001761294f565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156112d75760006001850190506000600460008381526020019081526020016000205414156112d55760005481146112d4578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461133f868686600161297a565b505050505050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166113d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ca90613a99565b60405180910390fd5b60006113dd61100b565b600a546113ea9190613cf4565b9050611418600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612980565b611422600161142f565b61142b82611967565b5050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b290613a99565b60405180910390fd5b80600960156101000a81548160ff02191690831515021790555050565b60085481565b600960149054906101000a900460ff1661152d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611524906139f9565b60405180910390fd5b60008411611570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156790613ab9565b60405180910390fd5b60105442116115b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ab90613999565b60405180910390fd5b6011544211156115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f090613a79565b60405180910390fd5b600a548461160561100b565b61160f9190613c13565b1115611650576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611647906139b9565b60405180910390fd5b600d548461165d85611b6f565b6116679190613c13565b11156116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613a59565b60405180910390fd5b600083856040516020016116bd929190613852565b6040516020818303038152906040528051906020012090506000611725848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060085484612b3d565b905080611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90613a19565b60405180910390fd5b85601660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117b69190613c13565b925050819055506117c78587612980565b505050505050565b6117ea838383604051806020016040528060008152506122b7565b505050565b60115481565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890613a99565b60405180910390fd5b8060088190555050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190e90613a99565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611962573d6000803e3d6000fd5b505050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ea90613a99565b60405180910390fd5b8060129080519060200190611a09929190612f2c565b5050565b6000611a18826127e8565b9050919050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa290613a99565b60405180910390fd5b8060118190555050565b600b5481565b60128054611ac890613de8565b80601f0160208091040260200160405190810160405280929190818152602001828054611af490613de8565b8015611b415780601f10611b1657610100808354040283529160200191611b41565b820191906000526020600020905b815481529060010190602001808311611b2457829003601f168201915b505050505081565b600960159054906101000a900460ff1681565b600960149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bd7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b600c5481565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb190613a99565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b606060038054611ce690613de8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1290613de8565b8015611d5f5780601f10611d3457610100808354040283529160200191611d5f565b820191906000526020600020905b815481529060010190602001808311611d4257829003601f168201915b5050505050905090565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec90613a99565b60405180910390fd5b80600c8190555050565b600960149054906101000a900460ff16611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e45906139f9565b60405180910390fd5b6011544211611e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8990613a39565b60405180910390fd5b60008111611ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecc90613ab9565b60405180910390fd5b600a5481611ee161100b565b611eeb9190613c13565b1115611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f23906139b9565b60405180910390fd5b6000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f7733611b6f565b611f819190613cf4565b9050600c548282611f929190613c13565b1115611fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fca90613ad9565b60405180910390fd5b60008290506000821415611ff257600e5483611fef9190613cf4565b90505b6000600b54826120029190613c9a565b905080341015612047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203e906139d9565b60405180910390fd5b6120513385612980565b50505050565b61205f6127db565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120c4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006120d16127db565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661217e6127db565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121c39190613921565b60405180910390a35050565b60166020528060005260406000206000915090505481565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226a90613a99565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6122c2848484611022565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612324576122ed84848484612b54565b612323576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60105481565b6014805461233d90613de8565b80601f016020809104026020016040519081016040528092919081815260200182805461236990613de8565b80156123b65780601f1061238b576101008083540402835291602001916123b6565b820191906000526020600020905b81548152906001019060200180831161239957829003601f168201915b505050505081565b60606123c98261277c565b612408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ff90613979565b60405180910390fd5b60001515600960159054906101000a900460ff16151514156124b6576013805461243190613de8565b80601f016020809104026020016040519081016040528092919081815260200182805461245d90613de8565b80156124aa5780601f1061247f576101008083540402835291602001916124aa565b820191906000526020600020905b81548152906001019060200180831161248d57829003601f168201915b5050505050905061259b565b60006015600084815260200190815260200160002080546124d690613de8565b80601f016020809104026020016040519081016040528092919081815260200182805461250290613de8565b801561254f5780601f106125245761010080835404028352916020019161254f565b820191906000526020600020905b81548152906001019060200180831161253257829003601f168201915b50505050509050600081511115612569578091505061259b565b601261257484612cb4565b60146040516020016125889392919061387e565b6040516020818303038152906040529150505b919050565b600a5481565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166126cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c390613a99565b60405180910390fd5b80601390805190602001906126e2929190612f2c565b5050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276990613a99565b60405180910390fd5b80600b8190555050565b6000816127876127e3565b11158015612796575060005482105b80156127d4575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806127f76127e3565b1161287f5760005481101561287e5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561287c575b6000811415612872576004600083600190039350838152602001908152602001600020549050612847565b80925050506128b1565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861293e868684612e61565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008054905060008214156129c1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129ce6000848385612921565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612a4583612a366000866000612927565b612a3f85612e6a565b1761294f565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612ae657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612aab565b506000821415612b22576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612b38600084838561297a565b505050565b600082612b4a8584612e7a565b1490509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b7a6127db565b8786866040518563ffffffff1660e01b8152600401612b9c94939291906138d5565b602060405180830381600087803b158015612bb657600080fd5b505af1925050508015612be757506040513d601f19601f82011682018060405250810190612be49190613389565b60015b612c61573d8060008114612c17576040519150601f19603f3d011682016040523d82523d6000602084013e612c1c565b606091505b50600081511415612c59576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612cfc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e5c565b600082905060005b60008214612d2e578080612d1790613e4b565b915050600a82612d279190613c69565b9150612d04565b60008167ffffffffffffffff811115612d70577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612da25781602001600182028036833780820191505090505b5090505b60008514612e5557600182612dbb9190613cf4565b9150600a85612dca9190613ec2565b6030612dd69190613c13565b60f81b818381518110612e12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e4e9190613c69565b9450612da6565b8093505050505b919050565b60009392505050565b60006001821460e11b9050919050565b60008082905060005b8451811015612f0a576000858281518110612ec7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612ee957612ee28382612f15565b9250612ef6565b612ef38184612f15565b92505b508080612f0290613e4b565b915050612e83565b508091505092915050565b600082600052816020526040600020905092915050565b828054612f3890613de8565b90600052602060002090601f016020900481019282612f5a5760008555612fa1565b82601f10612f7357805160ff1916838001178555612fa1565b82800160010185558215612fa1579182015b82811115612fa0578251825591602001919060010190612f85565b5b509050612fae9190612fb2565b5090565b5b80821115612fcb576000816000905550600101612fb3565b5090565b6000612fe2612fdd84613b59565b613b34565b905082815260208101848484011115612ffa57600080fd5b613005848285613da6565b509392505050565b600061302061301b84613b8a565b613b34565b90508281526020810184848401111561303857600080fd5b613043848285613da6565b509392505050565b60008135905061305a81614231565b92915050565b60008083601f84011261307257600080fd5b8235905067ffffffffffffffff81111561308b57600080fd5b6020830191508360208202830111156130a357600080fd5b9250929050565b6000813590506130b981614248565b92915050565b6000813590506130ce8161425f565b92915050565b6000813590506130e381614276565b92915050565b6000815190506130f881614276565b92915050565b600082601f83011261310f57600080fd5b813561311f848260208601612fcf565b91505092915050565b600082601f83011261313957600080fd5b813561314984826020860161300d565b91505092915050565b6000813590506131618161428d565b92915050565b60006020828403121561317957600080fd5b60006131878482850161304b565b91505092915050565b600080604083850312156131a357600080fd5b60006131b18582860161304b565b92505060206131c28582860161304b565b9150509250929050565b6000806000606084860312156131e157600080fd5b60006131ef8682870161304b565b93505060206132008682870161304b565b925050604061321186828701613152565b9150509250925092565b6000806000806080858703121561323157600080fd5b600061323f8782880161304b565b94505060206132508782880161304b565b935050604061326187828801613152565b925050606085013567ffffffffffffffff81111561327e57600080fd5b61328a878288016130fe565b91505092959194509250565b600080604083850312156132a957600080fd5b60006132b78582860161304b565b92505060206132c8858286016130aa565b9150509250929050565b600080604083850312156132e557600080fd5b60006132f38582860161304b565b925050602061330485828601613152565b9150509250929050565b60006020828403121561332057600080fd5b600061332e848285016130aa565b91505092915050565b60006020828403121561334957600080fd5b6000613357848285016130bf565b91505092915050565b60006020828403121561337257600080fd5b6000613380848285016130d4565b91505092915050565b60006020828403121561339b57600080fd5b60006133a9848285016130e9565b91505092915050565b6000602082840312156133c457600080fd5b600082013567ffffffffffffffff8111156133de57600080fd5b6133ea84828501613128565b91505092915050565b6000806040838503121561340657600080fd5b600083013567ffffffffffffffff81111561342057600080fd5b61342c85828601613128565b925050602061343d85828601613152565b9150509250929050565b60006020828403121561345957600080fd5b600061346784828501613152565b91505092915050565b6000806000806060858703121561348657600080fd5b600061349487828801613152565b94505060206134a58782880161304b565b935050604085013567ffffffffffffffff8111156134c257600080fd5b6134ce87828801613060565b925092505092959194509250565b6134e581613d28565b82525050565b6134fc6134f782613d28565b613e94565b82525050565b61350b81613d3a565b82525050565b61351a81613d46565b82525050565b600061352b82613bd0565b6135358185613be6565b9350613545818560208601613db5565b61354e81613faf565b840191505092915050565b600061356482613bdb565b61356e8185613bf7565b935061357e818560208601613db5565b61358781613faf565b840191505092915050565b600061359d82613bdb565b6135a78185613c08565b93506135b7818560208601613db5565b80840191505092915050565b600081546135d081613de8565b6135da8186613c08565b945060018216600081146135f5576001811461360657613639565b60ff19831686528186019350613639565b61360f85613bbb565b60005b8381101561363157815481890152600182019150602081019050613612565b838801955050505b50505092915050565b600061364f600983613bf7565b915061365a82613fcd565b602082019050919050565b6000613672601883613bf7565b915061367d82613ff6565b602082019050919050565b6000613695600a83613bf7565b91506136a08261401f565b602082019050919050565b60006136b8600c83613bf7565b91506136c382614048565b602082019050919050565b60006136db600a83613bf7565b91506136e682614071565b602082019050919050565b60006136fe601083613bf7565b91506137098261409a565b602082019050919050565b6000613721601583613bf7565b915061372c826140c3565b602082019050919050565b6000613744601183613bf7565b915061374f826140ec565b602082019050919050565b6000613767601783613bf7565b915061377282614115565b602082019050919050565b600061378a600a83613bf7565b91506137958261413e565b602082019050919050565b60006137ad601e83613bf7565b91506137b882614167565b602082019050919050565b60006137d0601283613bf7565b91506137db82614190565b602082019050919050565b60006137f3600183613c08565b91506137fe826141b9565b600182019050919050565b6000613816602583613bf7565b9150613821826141e2565b604082019050919050565b61383581613d9c565b82525050565b61384c61384782613d9c565b613eb8565b82525050565b600061385e82856134eb565b60148201915061386e828461383b565b6020820191508190509392505050565b600061388a82866135c3565b9150613895826137e6565b91506138a18285613592565b91506138ad82846135c3565b9150819050949350505050565b60006020820190506138cf60008301846134dc565b92915050565b60006080820190506138ea60008301876134dc565b6138f760208301866134dc565b613904604083018561382c565b81810360608301526139168184613520565b905095945050505050565b60006020820190506139366000830184613502565b92915050565b60006020820190506139516000830184613511565b92915050565b600060208201905081810360008301526139718184613559565b905092915050565b6000602082019050818103600083015261399281613642565b9050919050565b600060208201905081810360008301526139b281613665565b9050919050565b600060208201905081810360008301526139d281613688565b9050919050565b600060208201905081810360008301526139f2816136ab565b9050919050565b60006020820190508181036000830152613a12816136ce565b9050919050565b60006020820190508181036000830152613a32816136f1565b9050919050565b60006020820190508181036000830152613a5281613714565b9050919050565b60006020820190508181036000830152613a7281613737565b9050919050565b60006020820190508181036000830152613a928161375a565b9050919050565b60006020820190508181036000830152613ab28161377d565b9050919050565b60006020820190508181036000830152613ad2816137a0565b9050919050565b60006020820190508181036000830152613af2816137c3565b9050919050565b60006020820190508181036000830152613b1281613809565b9050919050565b6000602082019050613b2e600083018461382c565b92915050565b6000613b3e613b4f565b9050613b4a8282613e1a565b919050565b6000604051905090565b600067ffffffffffffffff821115613b7457613b73613f80565b5b613b7d82613faf565b9050602081019050919050565b600067ffffffffffffffff821115613ba557613ba4613f80565b5b613bae82613faf565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c1e82613d9c565b9150613c2983613d9c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c5e57613c5d613ef3565b5b828201905092915050565b6000613c7482613d9c565b9150613c7f83613d9c565b925082613c8f57613c8e613f22565b5b828204905092915050565b6000613ca582613d9c565b9150613cb083613d9c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ce957613ce8613ef3565b5b828202905092915050565b6000613cff82613d9c565b9150613d0a83613d9c565b925082821015613d1d57613d1c613ef3565b5b828203905092915050565b6000613d3382613d7c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613dd3578082015181840152602081019050613db8565b83811115613de2576000848401525b50505050565b60006002820490506001821680613e0057607f821691505b60208210811415613e1457613e13613f51565b5b50919050565b613e2382613faf565b810181811067ffffffffffffffff82111715613e4257613e41613f80565b5b80604052505050565b6000613e5682613d9c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e8957613e88613ef3565b5b600182019050919050565b6000613e9f82613ea6565b9050919050565b6000613eb182613fc0565b9050919050565b6000819050919050565b6000613ecd82613d9c565b9150613ed883613d9c565b925082613ee857613ee7613f22565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e6f742045786973740000000000000000000000000000000000000000000000600082015250565b7f57686974656c6973742053616c65206e6f742073746172740000000000000000600082015250565b7f457863656564204d617800000000000000000000000000000000000000000000600082015250565b7f4e6f74456e6f7567684554480000000000000000000000000000000000000000600082015250565b7f4e6f742041637469766500000000000000000000000000000000000000000000600082015250565b7f4e6f7420696e2077686974656c69737400000000000000000000000000000000600082015250565b7f5075626c69632053616c65204e6f742053746172740000000000000000000000600082015250565b7f45786365656420574c2042616c616e6365000000000000000000000000000000600082015250565b7f57686974656c6973742053616c6520776173206f766572000000000000000000600082015250565b7f6f6e6c79206f776e657200000000000000000000000000000000000000000000600082015250565b7f5175616e74697479206d75737420626967676572207468616e207a65726f0000600082015250565b7f457863656564204d61782042616c616e63650000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f73746172742074696d65206d617374206265206561726c79207468616e20656e60008201527f6454696d65000000000000000000000000000000000000000000000000000000602082015250565b61423a81613d28565b811461424557600080fd5b50565b61425181613d3a565b811461425c57600080fd5b50565b61426881613d46565b811461427357600080fd5b50565b61427f81613d50565b811461428a57600080fd5b50565b61429681613d9c565b81146142a157600080fd5b5056fea264697066735822122019048629a12936b1324323e7ee4de18352328c81ee3696c147e879be58f4fcfe64736f6c63430008040033000000000000000000000000000000000000000000000000000000006336bc9c00000000000000000000000000000000000000000000000000000000633b06ffc71dd1bc43df433d803590db37751b9c2e150464bb8281233585d9b9f16f800d000000000000000000000000cd65819554b77dad76ef0698167e487930e09ae800000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000d050000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569687a6b6e657a6a6c77336d66616c786f6e6e666c7064377233726e623376377876363632636a7470757371377a37757569783669000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102675760003560e01c80636817c76c11610144578063ae86fc75116100b6578063c87b56dd1161007a578063c87b56dd146108f5578063d5abeb0114610932578063ddefaea71461095d578063e985e9c514610988578063f2c4ce1e146109c5578063f4a0a528146109ee57610267565b8063ae86fc7514610810578063b37623971461084d578063b88d4fde14610876578063be9feb301461089f578063c6682862146108ca57610267565b806373ad468a1161010857806373ad468a14610723578063841718a61461074e57806395d89b41146107775780639d51d9b7146107a2578063a0712d68146107cb578063a22cb465146107e757610267565b80636817c76c1461063a5780636c0360eb146106655780636ebeac85146106905780637080d6fc146106bb57806370a08231146106e657610267565b80632752be3a116101dd57806347a54148116101a157806347a541481461052e57806350dc46561461055957806351cff8d91461058257806355f804b3146105ab5780636352211e146105d4578063646475c81461061157610267565b80632752be3a1461045f5780632a3f300c146104885780632eb4a7ab146104b157806334698852146104dc57806342842e0e1461050557610267565b80630931f97a1161022f5780630931f97a14610365578063095ea7b31461038e57806309a3beef146103b75780630cc90460146103e057806318160ddd1461040b57806323b872dd1461043657610267565b806301ffc9a71461026c57806306fdde03146102a957806307f1891e146102d4578063081812fc146102fd578063081c8c441461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613360565b610a17565b6040516102a09190613921565b60405180910390f35b3480156102b557600080fd5b506102be610aa9565b6040516102cb9190613957565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613447565b610b3b565b005b34801561030957600080fd5b50610324600480360381019061031f9190613447565b610c15565b60405161033191906138ba565b60405180910390f35b34801561034657600080fd5b5061034f610c94565b60405161035c9190613957565b60405180910390f35b34801561037157600080fd5b5061038c60048036038101906103879190613296565b610d22565b005b34801561039a57600080fd5b506103b560048036038101906103b091906132d2565b610e09565b005b3480156103c357600080fd5b506103de60048036038101906103d991906133f3565b610f4d565b005b3480156103ec57600080fd5b506103f5611005565b6040516104029190613b19565b60405180910390f35b34801561041757600080fd5b5061042061100b565b60405161042d9190613b19565b60405180910390f35b34801561044257600080fd5b5061045d600480360381019061045891906131cc565b611022565b005b34801561046b57600080fd5b50610486600480360381019061048191906133b2565b611347565b005b34801561049457600080fd5b506104af60048036038101906104aa919061330e565b61142f565b005b3480156104bd57600080fd5b506104c66114d8565b6040516104d3919061393c565b60405180910390f35b3480156104e857600080fd5b5061050360048036038101906104fe9190613470565b6114de565b005b34801561051157600080fd5b5061052c600480360381019061052791906131cc565b6117cf565b005b34801561053a57600080fd5b506105436117ef565b6040516105509190613b19565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b9190613337565b6117f5565b005b34801561058e57600080fd5b506105a960048036038101906105a49190613167565b61188b565b005b3480156105b757600080fd5b506105d260048036038101906105cd91906133b2565b611967565b005b3480156105e057600080fd5b506105fb60048036038101906105f69190613447565b611a0d565b60405161060891906138ba565b60405180910390f35b34801561061d57600080fd5b5061063860048036038101906106339190613447565b611a1f565b005b34801561064657600080fd5b5061064f611ab5565b60405161065c9190613b19565b60405180910390f35b34801561067157600080fd5b5061067a611abb565b6040516106879190613957565b60405180910390f35b34801561069c57600080fd5b506106a5611b49565b6040516106b29190613921565b60405180910390f35b3480156106c757600080fd5b506106d0611b5c565b6040516106dd9190613921565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190613167565b611b6f565b60405161071a9190613b19565b60405180910390f35b34801561072f57600080fd5b50610738611c28565b6040516107459190613b19565b60405180910390f35b34801561075a57600080fd5b506107756004803603810190610770919061330e565b611c2e565b005b34801561078357600080fd5b5061078c611cd7565b6040516107999190613957565b60405180910390f35b3480156107ae57600080fd5b506107c960048036038101906107c49190613447565b611d69565b005b6107e560048036038101906107e09190613447565b611dff565b005b3480156107f357600080fd5b5061080e60048036038101906108099190613296565b612057565b005b34801561081c57600080fd5b5061083760048036038101906108329190613167565b6121cf565b6040516108449190613b19565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f9190613167565b6121e7565b005b34801561088257600080fd5b5061089d6004803603810190610898919061321b565b6122b7565b005b3480156108ab57600080fd5b506108b461232a565b6040516108c19190613b19565b60405180910390f35b3480156108d657600080fd5b506108df612330565b6040516108ec9190613957565b60405180910390f35b34801561090157600080fd5b5061091c60048036038101906109179190613447565b6123be565b6040516109299190613957565b60405180910390f35b34801561093e57600080fd5b506109476125a0565b6040516109549190613b19565b60405180910390f35b34801561096957600080fd5b506109726125a6565b60405161097f9190613b19565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa9190613190565b6125ac565b6040516109bc9190613921565b60405180910390f35b3480156109d157600080fd5b506109ec60048036038101906109e791906133b2565b612640565b005b3480156109fa57600080fd5b50610a156004803603810190610a109190613447565b6126e6565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aa25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610ab890613de8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae490613de8565b8015610b315780601f10610b0657610100808354040283529160200191610b31565b820191906000526020600020905b815481529060010190602001808311610b1457829003601f168201915b5050505050905090565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe90613a99565b60405180910390fd5b6011548110610c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0290613af9565b60405180910390fd5b8060108190555050565b6000610c208261277c565b610c56576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60138054610ca190613de8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ccd90613de8565b8015610d1a5780601f10610cef57610100808354040283529160200191610d1a565b820191906000526020600020905b815481529060010190602001808311610cfd57829003601f168201915b505050505081565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590613a99565b60405180910390fd5b80601760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000610e1482611a0d565b90508073ffffffffffffffffffffffffffffffffffffffff16610e356127db565b73ffffffffffffffffffffffffffffffffffffffff1614610e9857610e6181610e5c6127db565b6125ac565b610e97576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd090613a99565b60405180910390fd5b81601560008381526020019081526020016000209080519060200190611000929190612f2c565b505050565b600e5481565b60006110156127e3565b6001546000540303905090565b600061102d826127e8565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611094576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806110a0846128b6565b915091506110b681876110b16127db565b6128dd565b611102576110cb866110c66127db565b6125ac565b611101576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611169576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6111768686866001612921565b801561118157600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061124f8561122b888887612927565b7c02000000000000000000000000000000000000000000000000000000001761294f565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156112d75760006001850190506000600460008381526020019081526020016000205414156112d55760005481146112d4578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461133f868686600161297a565b505050505050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166113d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ca90613a99565b60405180910390fd5b60006113dd61100b565b600a546113ea9190613cf4565b9050611418600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612980565b611422600161142f565b61142b82611967565b5050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166114bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b290613a99565b60405180910390fd5b80600960156101000a81548160ff02191690831515021790555050565b60085481565b600960149054906101000a900460ff1661152d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611524906139f9565b60405180910390fd5b60008411611570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156790613ab9565b60405180910390fd5b60105442116115b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ab90613999565b60405180910390fd5b6011544211156115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f090613a79565b60405180910390fd5b600a548461160561100b565b61160f9190613c13565b1115611650576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611647906139b9565b60405180910390fd5b600d548461165d85611b6f565b6116679190613c13565b11156116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613a59565b60405180910390fd5b600083856040516020016116bd929190613852565b6040516020818303038152906040528051906020012090506000611725848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060085484612b3d565b905080611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90613a19565b60405180910390fd5b85601660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117b69190613c13565b925050819055506117c78587612980565b505050505050565b6117ea838383604051806020016040528060008152506122b7565b505050565b60115481565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890613a99565b60405180910390fd5b8060088190555050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190e90613a99565b60405180910390fd5b60004790508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611962573d6000803e3d6000fd5b505050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ea90613a99565b60405180910390fd5b8060129080519060200190611a09929190612f2c565b5050565b6000611a18826127e8565b9050919050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa290613a99565b60405180910390fd5b8060118190555050565b600b5481565b60128054611ac890613de8565b80601f0160208091040260200160405190810160405280929190818152602001828054611af490613de8565b8015611b415780601f10611b1657610100808354040283529160200191611b41565b820191906000526020600020905b815481529060010190602001808311611b2457829003601f168201915b505050505081565b600960159054906101000a900460ff1681565b600960149054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bd7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b600c5481565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb190613a99565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b606060038054611ce690613de8565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1290613de8565b8015611d5f5780601f10611d3457610100808354040283529160200191611d5f565b820191906000526020600020905b815481529060010190602001808311611d4257829003601f168201915b5050505050905090565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec90613a99565b60405180910390fd5b80600c8190555050565b600960149054906101000a900460ff16611e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e45906139f9565b60405180910390fd5b6011544211611e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8990613a39565b60405180910390fd5b60008111611ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecc90613ab9565b60405180910390fd5b600a5481611ee161100b565b611eeb9190613c13565b1115611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f23906139b9565b60405180910390fd5b6000601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f7733611b6f565b611f819190613cf4565b9050600c548282611f929190613c13565b1115611fd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fca90613ad9565b60405180910390fd5b60008290506000821415611ff257600e5483611fef9190613cf4565b90505b6000600b54826120029190613c9a565b905080341015612047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203e906139d9565b60405180910390fd5b6120513385612980565b50505050565b61205f6127db565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120c4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006120d16127db565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661217e6127db565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121c39190613921565b60405180910390a35050565b60166020528060005260406000206000915090505481565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226a90613a99565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6122c2848484611022565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612324576122ed84848484612b54565b612323576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60105481565b6014805461233d90613de8565b80601f016020809104026020016040519081016040528092919081815260200182805461236990613de8565b80156123b65780601f1061238b576101008083540402835291602001916123b6565b820191906000526020600020905b81548152906001019060200180831161239957829003601f168201915b505050505081565b60606123c98261277c565b612408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ff90613979565b60405180910390fd5b60001515600960159054906101000a900460ff16151514156124b6576013805461243190613de8565b80601f016020809104026020016040519081016040528092919081815260200182805461245d90613de8565b80156124aa5780601f1061247f576101008083540402835291602001916124aa565b820191906000526020600020905b81548152906001019060200180831161248d57829003601f168201915b5050505050905061259b565b60006015600084815260200190815260200160002080546124d690613de8565b80601f016020809104026020016040519081016040528092919081815260200182805461250290613de8565b801561254f5780601f106125245761010080835404028352916020019161254f565b820191906000526020600020905b81548152906001019060200180831161253257829003601f168201915b50505050509050600081511115612569578091505061259b565b601261257484612cb4565b60146040516020016125889392919061387e565b6040516020818303038152906040529150505b919050565b600a5481565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166126cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c390613a99565b60405180910390fd5b80601390805190602001906126e2929190612f2c565b5050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276990613a99565b60405180910390fd5b80600b8190555050565b6000816127876127e3565b11158015612796575060005482105b80156127d4575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806127f76127e3565b1161287f5760005481101561287e5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561287c575b6000811415612872576004600083600190039350838152602001908152602001600020549050612847565b80925050506128b1565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861293e868684612e61565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008054905060008214156129c1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129ce6000848385612921565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612a4583612a366000866000612927565b612a3f85612e6a565b1761294f565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612ae657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612aab565b506000821415612b22576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612b38600084838561297a565b505050565b600082612b4a8584612e7a565b1490509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b7a6127db565b8786866040518563ffffffff1660e01b8152600401612b9c94939291906138d5565b602060405180830381600087803b158015612bb657600080fd5b505af1925050508015612be757506040513d601f19601f82011682018060405250810190612be49190613389565b60015b612c61573d8060008114612c17576040519150601f19603f3d011682016040523d82523d6000602084013e612c1c565b606091505b50600081511415612c59576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612cfc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e5c565b600082905060005b60008214612d2e578080612d1790613e4b565b915050600a82612d279190613c69565b9150612d04565b60008167ffffffffffffffff811115612d70577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612da25781602001600182028036833780820191505090505b5090505b60008514612e5557600182612dbb9190613cf4565b9150600a85612dca9190613ec2565b6030612dd69190613c13565b60f81b818381518110612e12577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e4e9190613c69565b9450612da6565b8093505050505b919050565b60009392505050565b60006001821460e11b9050919050565b60008082905060005b8451811015612f0a576000858281518110612ec7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612ee957612ee28382612f15565b9250612ef6565b612ef38184612f15565b92505b508080612f0290613e4b565b915050612e83565b508091505092915050565b600082600052816020526040600020905092915050565b828054612f3890613de8565b90600052602060002090601f016020900481019282612f5a5760008555612fa1565b82601f10612f7357805160ff1916838001178555612fa1565b82800160010185558215612fa1579182015b82811115612fa0578251825591602001919060010190612f85565b5b509050612fae9190612fb2565b5090565b5b80821115612fcb576000816000905550600101612fb3565b5090565b6000612fe2612fdd84613b59565b613b34565b905082815260208101848484011115612ffa57600080fd5b613005848285613da6565b509392505050565b600061302061301b84613b8a565b613b34565b90508281526020810184848401111561303857600080fd5b613043848285613da6565b509392505050565b60008135905061305a81614231565b92915050565b60008083601f84011261307257600080fd5b8235905067ffffffffffffffff81111561308b57600080fd5b6020830191508360208202830111156130a357600080fd5b9250929050565b6000813590506130b981614248565b92915050565b6000813590506130ce8161425f565b92915050565b6000813590506130e381614276565b92915050565b6000815190506130f881614276565b92915050565b600082601f83011261310f57600080fd5b813561311f848260208601612fcf565b91505092915050565b600082601f83011261313957600080fd5b813561314984826020860161300d565b91505092915050565b6000813590506131618161428d565b92915050565b60006020828403121561317957600080fd5b60006131878482850161304b565b91505092915050565b600080604083850312156131a357600080fd5b60006131b18582860161304b565b92505060206131c28582860161304b565b9150509250929050565b6000806000606084860312156131e157600080fd5b60006131ef8682870161304b565b93505060206132008682870161304b565b925050604061321186828701613152565b9150509250925092565b6000806000806080858703121561323157600080fd5b600061323f8782880161304b565b94505060206132508782880161304b565b935050604061326187828801613152565b925050606085013567ffffffffffffffff81111561327e57600080fd5b61328a878288016130fe565b91505092959194509250565b600080604083850312156132a957600080fd5b60006132b78582860161304b565b92505060206132c8858286016130aa565b9150509250929050565b600080604083850312156132e557600080fd5b60006132f38582860161304b565b925050602061330485828601613152565b9150509250929050565b60006020828403121561332057600080fd5b600061332e848285016130aa565b91505092915050565b60006020828403121561334957600080fd5b6000613357848285016130bf565b91505092915050565b60006020828403121561337257600080fd5b6000613380848285016130d4565b91505092915050565b60006020828403121561339b57600080fd5b60006133a9848285016130e9565b91505092915050565b6000602082840312156133c457600080fd5b600082013567ffffffffffffffff8111156133de57600080fd5b6133ea84828501613128565b91505092915050565b6000806040838503121561340657600080fd5b600083013567ffffffffffffffff81111561342057600080fd5b61342c85828601613128565b925050602061343d85828601613152565b9150509250929050565b60006020828403121561345957600080fd5b600061346784828501613152565b91505092915050565b6000806000806060858703121561348657600080fd5b600061349487828801613152565b94505060206134a58782880161304b565b935050604085013567ffffffffffffffff8111156134c257600080fd5b6134ce87828801613060565b925092505092959194509250565b6134e581613d28565b82525050565b6134fc6134f782613d28565b613e94565b82525050565b61350b81613d3a565b82525050565b61351a81613d46565b82525050565b600061352b82613bd0565b6135358185613be6565b9350613545818560208601613db5565b61354e81613faf565b840191505092915050565b600061356482613bdb565b61356e8185613bf7565b935061357e818560208601613db5565b61358781613faf565b840191505092915050565b600061359d82613bdb565b6135a78185613c08565b93506135b7818560208601613db5565b80840191505092915050565b600081546135d081613de8565b6135da8186613c08565b945060018216600081146135f5576001811461360657613639565b60ff19831686528186019350613639565b61360f85613bbb565b60005b8381101561363157815481890152600182019150602081019050613612565b838801955050505b50505092915050565b600061364f600983613bf7565b915061365a82613fcd565b602082019050919050565b6000613672601883613bf7565b915061367d82613ff6565b602082019050919050565b6000613695600a83613bf7565b91506136a08261401f565b602082019050919050565b60006136b8600c83613bf7565b91506136c382614048565b602082019050919050565b60006136db600a83613bf7565b91506136e682614071565b602082019050919050565b60006136fe601083613bf7565b91506137098261409a565b602082019050919050565b6000613721601583613bf7565b915061372c826140c3565b602082019050919050565b6000613744601183613bf7565b915061374f826140ec565b602082019050919050565b6000613767601783613bf7565b915061377282614115565b602082019050919050565b600061378a600a83613bf7565b91506137958261413e565b602082019050919050565b60006137ad601e83613bf7565b91506137b882614167565b602082019050919050565b60006137d0601283613bf7565b91506137db82614190565b602082019050919050565b60006137f3600183613c08565b91506137fe826141b9565b600182019050919050565b6000613816602583613bf7565b9150613821826141e2565b604082019050919050565b61383581613d9c565b82525050565b61384c61384782613d9c565b613eb8565b82525050565b600061385e82856134eb565b60148201915061386e828461383b565b6020820191508190509392505050565b600061388a82866135c3565b9150613895826137e6565b91506138a18285613592565b91506138ad82846135c3565b9150819050949350505050565b60006020820190506138cf60008301846134dc565b92915050565b60006080820190506138ea60008301876134dc565b6138f760208301866134dc565b613904604083018561382c565b81810360608301526139168184613520565b905095945050505050565b60006020820190506139366000830184613502565b92915050565b60006020820190506139516000830184613511565b92915050565b600060208201905081810360008301526139718184613559565b905092915050565b6000602082019050818103600083015261399281613642565b9050919050565b600060208201905081810360008301526139b281613665565b9050919050565b600060208201905081810360008301526139d281613688565b9050919050565b600060208201905081810360008301526139f2816136ab565b9050919050565b60006020820190508181036000830152613a12816136ce565b9050919050565b60006020820190508181036000830152613a32816136f1565b9050919050565b60006020820190508181036000830152613a5281613714565b9050919050565b60006020820190508181036000830152613a7281613737565b9050919050565b60006020820190508181036000830152613a928161375a565b9050919050565b60006020820190508181036000830152613ab28161377d565b9050919050565b60006020820190508181036000830152613ad2816137a0565b9050919050565b60006020820190508181036000830152613af2816137c3565b9050919050565b60006020820190508181036000830152613b1281613809565b9050919050565b6000602082019050613b2e600083018461382c565b92915050565b6000613b3e613b4f565b9050613b4a8282613e1a565b919050565b6000604051905090565b600067ffffffffffffffff821115613b7457613b73613f80565b5b613b7d82613faf565b9050602081019050919050565b600067ffffffffffffffff821115613ba557613ba4613f80565b5b613bae82613faf565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c1e82613d9c565b9150613c2983613d9c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c5e57613c5d613ef3565b5b828201905092915050565b6000613c7482613d9c565b9150613c7f83613d9c565b925082613c8f57613c8e613f22565b5b828204905092915050565b6000613ca582613d9c565b9150613cb083613d9c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ce957613ce8613ef3565b5b828202905092915050565b6000613cff82613d9c565b9150613d0a83613d9c565b925082821015613d1d57613d1c613ef3565b5b828203905092915050565b6000613d3382613d7c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613dd3578082015181840152602081019050613db8565b83811115613de2576000848401525b50505050565b60006002820490506001821680613e0057607f821691505b60208210811415613e1457613e13613f51565b5b50919050565b613e2382613faf565b810181811067ffffffffffffffff82111715613e4257613e41613f80565b5b80604052505050565b6000613e5682613d9c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e8957613e88613ef3565b5b600182019050919050565b6000613e9f82613ea6565b9050919050565b6000613eb182613fc0565b9050919050565b6000819050919050565b6000613ecd82613d9c565b9150613ed883613d9c565b925082613ee857613ee7613f22565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e6f742045786973740000000000000000000000000000000000000000000000600082015250565b7f57686974656c6973742053616c65206e6f742073746172740000000000000000600082015250565b7f457863656564204d617800000000000000000000000000000000000000000000600082015250565b7f4e6f74456e6f7567684554480000000000000000000000000000000000000000600082015250565b7f4e6f742041637469766500000000000000000000000000000000000000000000600082015250565b7f4e6f7420696e2077686974656c69737400000000000000000000000000000000600082015250565b7f5075626c69632053616c65204e6f742053746172740000000000000000000000600082015250565b7f45786365656420574c2042616c616e6365000000000000000000000000000000600082015250565b7f57686974656c6973742053616c6520776173206f766572000000000000000000600082015250565b7f6f6e6c79206f776e657200000000000000000000000000000000000000000000600082015250565b7f5175616e74697479206d75737420626967676572207468616e207a65726f0000600082015250565b7f457863656564204d61782042616c616e63650000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f73746172742074696d65206d617374206265206561726c79207468616e20656e60008201527f6454696d65000000000000000000000000000000000000000000000000000000602082015250565b61423a81613d28565b811461424557600080fd5b50565b61425181613d3a565b811461425c57600080fd5b50565b61426881613d46565b811461427357600080fd5b50565b61427f81613d50565b811461428a57600080fd5b50565b61429681613d9c565b81146142a157600080fd5b5056fea264697066735822122019048629a12936b1324323e7ee4de18352328c81ee3696c147e879be58f4fcfe64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000006336bc9c00000000000000000000000000000000000000000000000000000000633b06ffc71dd1bc43df433d803590db37751b9c2e150464bb8281233585d9b9f16f800d000000000000000000000000cd65819554b77dad76ef0698167e487930e09ae800000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000d050000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569687a6b6e657a6a6c77336d66616c786f6e6e666c7064377233726e623376377876363632636a7470757371377a37757569783669000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _startTime (uint256): 1664531612
Arg [1] : _endTime (uint256): 1664812799
Arg [2] : _merkleTreeRoot (bytes32): 0xc71dd1bc43df433d803590db37751b9c2e150464bb8281233585d9b9f16f800d
Arg [3] : _teamHolder (address): 0xcd65819554B77dAd76eF0698167e487930E09aE8
Arg [4] : _notRevealedUri (string): ipfs://bafkreihzknezjlw3mfalxonnflpd7r3rnb3v7xv662cjtpusq7z7uuix6i
Arg [5] : _maxSupply (uint256): 3333

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000006336bc9c
Arg [1] : 00000000000000000000000000000000000000000000000000000000633b06ff
Arg [2] : c71dd1bc43df433d803590db37751b9c2e150464bb8281233585d9b9f16f800d
Arg [3] : 000000000000000000000000cd65819554b77dad76ef0698167e487930e09ae8
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000d05
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [7] : 697066733a2f2f6261666b726569687a6b6e657a6a6c77336d66616c786f6e6e
Arg [8] : 666c7064377233726e623376377876363632636a7470757371377a3775756978
Arg [9] : 3669000000000000000000000000000000000000000000000000000000000000


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.