ETH Price: $3,610.44 (+1.25%)

Token

ERC-20: Samurices (SAMURICES)
 

Overview

Max Total Supply

1,721 SAMURICES

Holders

684

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 SAMURICES
0x4f467cb48146fD108Aa78266462dF9a43fCB5F0b
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:
Samurices

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Samurices.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

contract Samurices is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;

    string public baseURI = "";
    string public baseURIExtension = "";
    string public hiddenMetadataURI = "";

    uint256 public constant MAX_SUPPLY = 7777;
    uint256 public constant VAULT_SUPPLY = 77;
    uint256 public constant MINT_PRICE_PRESALE = 0.033 ether;
    uint256 public constant MINT_PRICE_PUBLIC = 0.05 ether;
    uint256 public constant MAX_MINT_PRESALE = 3;
    uint256 public MAX_MINT_PUBLIC = 3;

    bytes32 public merkleRoot;

    bool public isPresaleActive = false;
    bool public isPublicSaleActive = false;
    bool public revealed = false;

    mapping(address => uint256) public reservationList;

    constructor(
        string memory _hiddenMetadataURI,
        string memory _initBaseURI,
        string memory _initBaseURIExtension
    ) ERC721A("Samurices", "SAMURICES") {
        setHiddenMetadataURI(_hiddenMetadataURI);
        setBaseURI(_initBaseURI);
        setBaseExtension(_initBaseURIExtension);
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    function publicMint(uint256 _quantity) external payable nonReentrant callerIsUser {
        uint256 price = MINT_PRICE_PUBLIC;
        require(isPublicSaleActive, "Public sale is not active");
        require(_quantity > 0, "Invalid quantity");
        require(
            _numberMinted(msg.sender) - reservationList[msg.sender] + _quantity <= MAX_MINT_PUBLIC,
            "Max mint reached"
        );
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Max supply reached");
        require(msg.value == price * _quantity, "Wrong ETH amount");
        _safeMint(msg.sender, _quantity);
    }

    // Reservation list

    function reservedMint(uint256 _quantity, bytes32[] calldata _proof) external payable nonReentrant callerIsUser {
        uint256 price = MINT_PRICE_PRESALE;
        require(isPresaleActive, "Presale is not active");
        require(hasReservedSpot(msg.sender, _proof), "Not in the reservation list");
        require(_quantity > 0, "Invalid quantity");
        require(reservationList[msg.sender] + _quantity <= MAX_MINT_PRESALE, "Max mint reached");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Max supply reached");
        require(msg.value == price * _quantity, "Wrong ETH amount");
        reservationList[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    function hasReservedSpot(address _account, bytes32[] calldata _proof) internal view returns (bool) {
        return _verify(leaf(_account), _proof);
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function leaf(address _account) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(_account));
    }

    function _verify(bytes32 _leaf, bytes32[] memory _proof) internal view returns (bool) {
        return MerkleProof.verify(_proof, merkleRoot, _leaf);
    }

    // Metadata

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "URI query for nonexistent token");

        if (!revealed) {
            return hiddenMetadataURI;
        }

        string memory currentBaseURI = _baseURI();
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), baseURIExtension))
                : "";
    }

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

    function setHiddenMetadataURI(string memory _newURI) public onlyOwner {
        hiddenMetadataURI = _newURI;
    }

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

    function setBaseExtension(string memory _newBaseURIExtension) public onlyOwner {
        baseURIExtension = _newBaseURIExtension;
    }

    // Admin

    function togglePresale() external onlyOwner {
        isPresaleActive = !isPresaleActive;
    }

    function togglePublicSale() external onlyOwner {
        isPublicSaleActive = !isPublicSaleActive;
    }

    function toggleReveal() external onlyOwner {
        revealed = !revealed;
    }

    function setMaxMintPublic(uint256 _newMaxMints) external onlyOwner {
        MAX_MINT_PUBLIC = _newMaxMints;
    }

    function adminMint() external onlyOwner {
        require(totalSupply() + VAULT_SUPPLY <= MAX_SUPPLY, "Max supply reached");
        _safeMint(owner(), VAULT_SUPPLY);
    }

    function withdraw() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }
}

File 2 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 13 : 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 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 13 : 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 7 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_hiddenMetadataURI","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initBaseURIExtension","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VAULT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIExtension","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":[],"name":"hiddenMetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reservationList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"reservedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURIExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setHiddenMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMints","type":"uint256"}],"name":"setMaxMintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","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":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600a90805190602001906200002b9291906200051d565b5060405180602001604052806000815250600b9080519060200190620000539291906200051d565b5060405180602001604052806000815250600c90805190602001906200007b9291906200051d565b506003600d556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff021916908315150217905550348015620000df57600080fd5b50604051620052323803806200523283398181016040528101906200010591906200063f565b6040518060400160405280600981526020017f53616d75726963657300000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f53414d55524943455300000000000000000000000000000000000000000000008152508160029080519060200190620001899291906200051d565b508060039080519060200190620001a29291906200051d565b50620001b36200021f60201b60201c565b6000819055505050620001db620001cf6200022460201b60201c565b6200022c60201b60201c565b6001600981905550620001f483620002f260201b60201c565b62000205826200039d60201b60201c565b62000216816200044860201b60201c565b505050620008d3565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003026200022460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000328620004f360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000381576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003789062000707565b60405180910390fd5b80600c9080519060200190620003999291906200051d565b5050565b620003ad6200022460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003d3620004f360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200042c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004239062000707565b60405180910390fd5b80600a9080519060200190620004449291906200051d565b5050565b620004586200022460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200047e620004f360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ce9062000707565b60405180910390fd5b80600b9080519060200190620004ef9291906200051d565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200052b90620007cf565b90600052602060002090601f0160209004810192826200054f57600085556200059b565b82601f106200056a57805160ff19168380011785556200059b565b828001600101855582156200059b579182015b828111156200059a5782518255916020019190600101906200057d565b5b509050620005aa9190620005ae565b5090565b5b80821115620005c9576000816000905550600101620005af565b5090565b6000620005e4620005de8462000752565b62000729565b905082815260208101848484011115620005fd57600080fd5b6200060a84828562000799565b509392505050565b600082601f8301126200062457600080fd5b815162000636848260208601620005cd565b91505092915050565b6000806000606084860312156200065557600080fd5b600084015167ffffffffffffffff8111156200067057600080fd5b6200067e8682870162000612565b935050602084015167ffffffffffffffff8111156200069c57600080fd5b620006aa8682870162000612565b925050604084015167ffffffffffffffff811115620006c857600080fd5b620006d68682870162000612565b9150509250925092565b6000620006ef60208362000788565b9150620006fc82620008aa565b602082019050919050565b600060208201905081810360008301526200072281620006e0565b9050919050565b60006200073562000748565b905062000743828262000805565b919050565b6000604051905090565b600067ffffffffffffffff82111562000770576200076f6200086a565b5b6200077b8262000899565b9050602081019050919050565b600082825260208201905092915050565b60005b83811015620007b95780820151818401526020810190506200079c565b83811115620007c9576000848401525b50505050565b60006002820490506001821680620007e857607f821691505b60208210811415620007ff57620007fe6200083b565b5b50919050565b620008108262000899565b810181811067ffffffffffffffff821117156200083257620008316200086a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61494f80620008e36000396000f3fe60806040526004361061025c5760003560e01c80636c0360eb11610144578063a22cb465116100b6578063d7f7a7421161007a578063d7f7a74214610870578063da3ef23f1461089b578063ddab315e146108c4578063e222c7f9146108ef578063e985e9c514610906578063f2fde38b146109435761025c565b8063a22cb4651461078b578063b88d4fde146107b4578063ba9e12f7146107dd578063c3151fed14610808578063c87b56dd146108335761025c565b80637cb64759116101085780637cb647591461068d5780637d0c152e146106b65780637e95eac4146106f3578063895fc7881461071e5780638da5cb5b1461073557806395d89b41146107605761025c565b80636c0360eb146105c95780636dc5f1ce146105f457806370a082311461061d578063710821d01461065a578063715018a6146106765761025c565b806332cb6b0c116101dd57806351830227116101a157806351830227146104cb57806355f804b3146104f65780635b8ad4291461051f57806360d938dc1461053657806363172ac1146105615780636352211e1461058c5761025c565b806332cb6b0c14610420578063343937431461044b5780633ccfd60b1461046257806342842e0e14610479578063512507c6146104a25761025c565b806318160ddd1161022457806318160ddd1461035a5780631e84c4131461038557806323b872dd146103b05780632db11544146103d95780632eb4a7ab146103f55761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630d34ea581461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613a80565b61096c565b6040516102959190613fbb565b60405180910390f35b3480156102aa57600080fd5b506102b3610a4e565b6040516102c09190613ff1565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613b13565b610ae0565b6040516102fd9190613f54565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613a1b565b610b5c565b005b34801561033b57600080fd5b50610344610c67565b6040516103519190613ff1565b60405180910390f35b34801561036657600080fd5b5061036f610cf5565b60405161037c91906141b3565b60405180910390f35b34801561039157600080fd5b5061039a610d0c565b6040516103a79190613fbb565b60405180910390f35b3480156103bc57600080fd5b506103d760048036038101906103d29190613915565b610d1f565b005b6103f360048036038101906103ee9190613b13565b610d2f565b005b34801561040157600080fd5b5061040a610fe5565b6040516104179190613fd6565b60405180910390f35b34801561042c57600080fd5b50610435610feb565b60405161044291906141b3565b60405180910390f35b34801561045757600080fd5b50610460610ff1565b005b34801561046e57600080fd5b50610477611099565b005b34801561048557600080fd5b506104a0600480360381019061049b9190613915565b61121a565b005b3480156104ae57600080fd5b506104c960048036038101906104c49190613ad2565b61123a565b005b3480156104d757600080fd5b506104e06112d0565b6040516104ed9190613fbb565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190613ad2565b6112e3565b005b34801561052b57600080fd5b50610534611379565b005b34801561054257600080fd5b5061054b611421565b6040516105589190613fbb565b60405180910390f35b34801561056d57600080fd5b50610576611434565b60405161058391906141b3565b60405180910390f35b34801561059857600080fd5b506105b360048036038101906105ae9190613b13565b61143a565b6040516105c09190613f54565b60405180910390f35b3480156105d557600080fd5b506105de611450565b6040516105eb9190613ff1565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613b13565b6114de565b005b34801561062957600080fd5b50610644600480360381019061063f91906138b0565b611564565b60405161065191906141b3565b60405180910390f35b610674600480360381019061066f9190613b3c565b611634565b005b34801561068257600080fd5b5061068b611978565b005b34801561069957600080fd5b506106b460048036038101906106af9190613a57565b611a00565b005b3480156106c257600080fd5b506106dd60048036038101906106d891906138b0565b611a86565b6040516106ea91906141b3565b60405180910390f35b3480156106ff57600080fd5b50610708611a9e565b60405161071591906141b3565b60405180910390f35b34801561072a57600080fd5b50610733611aa3565b005b34801561074157600080fd5b5061074a611b8b565b6040516107579190613f54565b60405180910390f35b34801561076c57600080fd5b50610775611bb5565b6040516107829190613ff1565b60405180910390f35b34801561079757600080fd5b506107b260048036038101906107ad91906139df565b611c47565b005b3480156107c057600080fd5b506107db60048036038101906107d69190613964565b611dbf565b005b3480156107e957600080fd5b506107f2611e3b565b6040516107ff9190613ff1565b60405180910390f35b34801561081457600080fd5b5061081d611ec9565b60405161082a91906141b3565b60405180910390f35b34801561083f57600080fd5b5061085a60048036038101906108559190613b13565b611ed4565b6040516108679190613ff1565b60405180910390f35b34801561087c57600080fd5b50610885612032565b60405161089291906141b3565b60405180910390f35b3480156108a757600080fd5b506108c260048036038101906108bd9190613ad2565b612037565b005b3480156108d057600080fd5b506108d96120cd565b6040516108e691906141b3565b60405180910390f35b3480156108fb57600080fd5b506109046120d8565b005b34801561091257600080fd5b5061092d600480360381019061092891906138d9565b612180565b60405161093a9190613fbb565b60405180910390f35b34801561094f57600080fd5b5061096a600480360381019061096591906138b0565b612214565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a475750610a468261230c565b5b9050919050565b606060028054610a5d9061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a899061448d565b8015610ad65780601f10610aab57610100808354040283529160200191610ad6565b820191906000526020600020905b815481529060010190602001808311610ab957829003601f168201915b5050505050905090565b6000610aeb82612376565b610b21576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b678261143a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bcf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bee6123c4565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c205750610c1e81610c196123c4565b612180565b155b15610c57576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c628383836123cc565b505050565b600b8054610c749061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca09061448d565b8015610ced5780601f10610cc257610100808354040283529160200191610ced565b820191906000526020600020905b815481529060010190602001808311610cd057829003601f168201915b505050505081565b6000610cff61247e565b6001546000540303905090565b600f60019054906101000a900460ff1681565b610d2a838383612483565b505050565b60026009541415610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90614193565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de290614073565b60405180910390fd5b600066b1a2bc2ec500009050600f60019054906101000a900460ff16610e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3d906140b3565b60405180910390fd5b60008211610e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8090614093565b60405180910390fd5b600d5482601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ed633612939565b610ee09190614399565b610eea91906142b8565b1115610f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f22906140f3565b60405180910390fd5b611e6182610f37610cf5565b610f4191906142b8565b1115610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7990614133565b60405180910390fd5b8181610f8e919061433f565b3414610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc690614173565b60405180910390fd5b610fd933836129a3565b50600160098190555050565b600e5481565b611e6181565b610ff96123c4565b73ffffffffffffffffffffffffffffffffffffffff16611017611b8b565b73ffffffffffffffffffffffffffffffffffffffff161461106d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611064906140d3565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6110a16123c4565b73ffffffffffffffffffffffffffffffffffffffff166110bf611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c906140d3565b60405180910390fd5b6002600954141561115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115290614193565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff164760405161118990613f3f565b60006040518083038185875af1925050503d80600081146111c6576040519150601f19603f3d011682016040523d82523d6000602084013e6111cb565b606091505b505090508061120f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120690614113565b60405180910390fd5b506001600981905550565b61123583838360405180602001604052806000815250611dbf565b505050565b6112426123c4565b73ffffffffffffffffffffffffffffffffffffffff16611260611b8b565b73ffffffffffffffffffffffffffffffffffffffff16146112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad906140d3565b60405180910390fd5b80600c90805190602001906112cc929190613632565b5050565b600f60029054906101000a900460ff1681565b6112eb6123c4565b73ffffffffffffffffffffffffffffffffffffffff16611309611b8b565b73ffffffffffffffffffffffffffffffffffffffff161461135f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611356906140d3565b60405180910390fd5b80600a9080519060200190611375929190613632565b5050565b6113816123c4565b73ffffffffffffffffffffffffffffffffffffffff1661139f611b8b565b73ffffffffffffffffffffffffffffffffffffffff16146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec906140d3565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b600f60009054906101000a900460ff1681565b600d5481565b6000611445826129c1565b600001519050919050565b600a805461145d9061448d565b80601f01602080910402602001604051908101604052809291908181526020018280546114899061448d565b80156114d65780601f106114ab576101008083540402835291602001916114d6565b820191906000526020600020905b8154815290600101906020018083116114b957829003601f168201915b505050505081565b6114e66123c4565b73ffffffffffffffffffffffffffffffffffffffff16611504611b8b565b73ffffffffffffffffffffffffffffffffffffffff161461155a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611551906140d3565b60405180910390fd5b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115cc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6002600954141561167a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167190614193565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e790614073565b60405180910390fd5b600066753d533d9680009050600f60009054906101000a900460ff1661174b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174290614153565b60405180910390fd5b611756338484612c50565b611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90614013565b60405180910390fd5b600084116117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf90614093565b60405180910390fd5b600384601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182591906142b8565b1115611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d906140f3565b60405180910390fd5b611e6184611872610cf5565b61187c91906142b8565b11156118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490614133565b60405180910390fd5b83816118c9919061433f565b341461190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190614173565b60405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461195991906142b8565b9250508190555061196a33856129a3565b506001600981905550505050565b6119806123c4565b73ffffffffffffffffffffffffffffffffffffffff1661199e611b8b565b73ffffffffffffffffffffffffffffffffffffffff16146119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb906140d3565b60405180910390fd5b6119fe6000612cae565b565b611a086123c4565b73ffffffffffffffffffffffffffffffffffffffff16611a26611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614611a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a73906140d3565b60405180910390fd5b80600e8190555050565b60106020528060005260406000206000915090505481565b600381565b611aab6123c4565b73ffffffffffffffffffffffffffffffffffffffff16611ac9611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b16906140d3565b60405180910390fd5b611e61604d611b2c610cf5565b611b3691906142b8565b1115611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e90614133565b60405180910390fd5b611b89611b82611b8b565b604d6129a3565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611bc49061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf09061448d565b8015611c3d5780601f10611c1257610100808354040283529160200191611c3d565b820191906000526020600020905b815481529060010190602001808311611c2057829003601f168201915b5050505050905090565b611c4f6123c4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611cc16123c4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d6e6123c4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db39190613fbb565b60405180910390a35050565b611dca848484612483565b611de98373ffffffffffffffffffffffffffffffffffffffff16612d74565b8015611dfe5750611dfc84848484612d97565b155b15611e35576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600c8054611e489061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054611e749061448d565b8015611ec15780601f10611e9657610100808354040283529160200191611ec1565b820191906000526020600020905b815481529060010190602001808311611ea457829003601f168201915b505050505081565b66b1a2bc2ec5000081565b6060611edf82612376565b611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1590614033565b60405180910390fd5b600f60029054906101000a900460ff16611fc457600c8054611f3f9061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6b9061448d565b8015611fb85780601f10611f8d57610100808354040283529160200191611fb8565b820191906000526020600020905b815481529060010190602001808311611f9b57829003601f168201915b5050505050905061202d565b6000611fce612ef7565b90506000600a8054611fdf9061448d565b905011611ffb5760405180602001604052806000815250612029565b8061200584612f89565b600b60405160200161201993929190613f0e565b6040516020818303038152906040525b9150505b919050565b604d81565b61203f6123c4565b73ffffffffffffffffffffffffffffffffffffffff1661205d611b8b565b73ffffffffffffffffffffffffffffffffffffffff16146120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa906140d3565b60405180910390fd5b80600b90805190602001906120c9929190613632565b5050565b66753d533d96800081565b6120e06123c4565b73ffffffffffffffffffffffffffffffffffffffff166120fe611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614612154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214b906140d3565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61221c6123c4565b73ffffffffffffffffffffffffffffffffffffffff1661223a611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614612290576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612287906140d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f790614053565b60405180910390fd5b61230981612cae565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161238161247e565b11158015612390575060005482105b80156123bd575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061248e826129c1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124f9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661251a6123c4565b73ffffffffffffffffffffffffffffffffffffffff1614806125495750612548856125436123c4565b612180565b5b8061258e57506125576123c4565b73ffffffffffffffffffffffffffffffffffffffff1661257684610ae0565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806125c7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561262e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61263b8585856001613136565b612647600084876123cc565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128c75760005482146128c657878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612932858585600161313c565b5050505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6129bd828260405180602001604052806000815250613142565b5050565b6129c96136b8565b6000829050806129d761247e565b111580156129e6575060005481105b15612c19576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612c1757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612afb578092505050612c4b565b5b600115612c1657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c11578092505050612c4b565b612afc565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000612ca5612c5e85613154565b848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050613184565b90509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dbd6123c4565b8786866040518563ffffffff1660e01b8152600401612ddf9493929190613f6f565b602060405180830381600087803b158015612df957600080fd5b505af1925050508015612e2a57506040513d601f19601f82011682018060405250810190612e279190613aa9565b60015b612ea4573d8060008114612e5a576040519150601f19603f3d011682016040523d82523d6000602084013e612e5f565b606091505b50600081511415612e9c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612f069061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054612f329061448d565b8015612f7f5780601f10612f5457610100808354040283529160200191612f7f565b820191906000526020600020905b815481529060010190602001808311612f6257829003601f168201915b5050505050905090565b60606000821415612fd1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613131565b600082905060005b60008214613003578080612fec906144f0565b915050600a82612ffc919061430e565b9150612fd9565b60008167ffffffffffffffff811115613045577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130775781602001600182028036833780820191505090505b5090505b6000851461312a576001826130909190614399565b9150600a8561309f919061455d565b60306130ab91906142b8565b60f81b8183815181106130e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613123919061430e565b945061307b565b8093505050505b919050565b50505050565b50505050565b61314f838383600161319b565b505050565b6000816040516020016131679190613ef3565b604051602081830303815290604052805190602001209050919050565b600061319382600e5485613569565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613208576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613243576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132506000868387613136565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561341a57506134198773ffffffffffffffffffffffffffffffffffffffff16612d74565b5b156134e0575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461348f6000888480600101955088612d97565b6134c5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156134205782600054146134db57600080fd5b61354c565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156134e1575b816000819055505050613562600086838761313c565b5050505050565b6000826135768584613580565b1490509392505050565b60008082905060005b84518110156136105760008582815181106135cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116135ef576135e8838261361b565b92506135fc565b6135f9818461361b565b92505b508080613608906144f0565b915050613589565b508091505092915050565b600082600052816020526040600020905092915050565b82805461363e9061448d565b90600052602060002090601f01602090048101928261366057600085556136a7565b82601f1061367957805160ff19168380011785556136a7565b828001600101855582156136a7579182015b828111156136a657825182559160200191906001019061368b565b5b5090506136b491906136fb565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156137145760008160009055506001016136fc565b5090565b600061372b613726846141f3565b6141ce565b90508281526020810184848401111561374357600080fd5b61374e84828561444b565b509392505050565b600061376961376484614224565b6141ce565b90508281526020810184848401111561378157600080fd5b61378c84828561444b565b509392505050565b6000813590506137a3816148a6565b92915050565b60008083601f8401126137bb57600080fd5b8235905067ffffffffffffffff8111156137d457600080fd5b6020830191508360208202830111156137ec57600080fd5b9250929050565b600081359050613802816148bd565b92915050565b600081359050613817816148d4565b92915050565b60008135905061382c816148eb565b92915050565b600081519050613841816148eb565b92915050565b600082601f83011261385857600080fd5b8135613868848260208601613718565b91505092915050565b600082601f83011261388257600080fd5b8135613892848260208601613756565b91505092915050565b6000813590506138aa81614902565b92915050565b6000602082840312156138c257600080fd5b60006138d084828501613794565b91505092915050565b600080604083850312156138ec57600080fd5b60006138fa85828601613794565b925050602061390b85828601613794565b9150509250929050565b60008060006060848603121561392a57600080fd5b600061393886828701613794565b935050602061394986828701613794565b925050604061395a8682870161389b565b9150509250925092565b6000806000806080858703121561397a57600080fd5b600061398887828801613794565b945050602061399987828801613794565b93505060406139aa8782880161389b565b925050606085013567ffffffffffffffff8111156139c757600080fd5b6139d387828801613847565b91505092959194509250565b600080604083850312156139f257600080fd5b6000613a0085828601613794565b9250506020613a11858286016137f3565b9150509250929050565b60008060408385031215613a2e57600080fd5b6000613a3c85828601613794565b9250506020613a4d8582860161389b565b9150509250929050565b600060208284031215613a6957600080fd5b6000613a7784828501613808565b91505092915050565b600060208284031215613a9257600080fd5b6000613aa08482850161381d565b91505092915050565b600060208284031215613abb57600080fd5b6000613ac984828501613832565b91505092915050565b600060208284031215613ae457600080fd5b600082013567ffffffffffffffff811115613afe57600080fd5b613b0a84828501613871565b91505092915050565b600060208284031215613b2557600080fd5b6000613b338482850161389b565b91505092915050565b600080600060408486031215613b5157600080fd5b6000613b5f8682870161389b565b935050602084013567ffffffffffffffff811115613b7c57600080fd5b613b88868287016137a9565b92509250509250925092565b613b9d816143cd565b82525050565b613bb4613baf826143cd565b614539565b82525050565b613bc3816143df565b82525050565b613bd2816143eb565b82525050565b6000613be38261426a565b613bed8185614280565b9350613bfd81856020860161445a565b613c068161464a565b840191505092915050565b6000613c1c82614275565b613c26818561429c565b9350613c3681856020860161445a565b613c3f8161464a565b840191505092915050565b6000613c5582614275565b613c5f81856142ad565b9350613c6f81856020860161445a565b80840191505092915050565b60008154613c888161448d565b613c9281866142ad565b94506001821660008114613cad5760018114613cbe57613cf1565b60ff19831686528186019350613cf1565b613cc785614255565b60005b83811015613ce957815481890152600182019150602081019050613cca565b838801955050505b50505092915050565b6000613d07601b8361429c565b9150613d1282614668565b602082019050919050565b6000613d2a601f8361429c565b9150613d3582614691565b602082019050919050565b6000613d4d60268361429c565b9150613d58826146ba565b604082019050919050565b6000613d70601e8361429c565b9150613d7b82614709565b602082019050919050565b6000613d9360108361429c565b9150613d9e82614732565b602082019050919050565b6000613db660198361429c565b9150613dc18261475b565b602082019050919050565b6000613dd960208361429c565b9150613de482614784565b602082019050919050565b6000613dfc60108361429c565b9150613e07826147ad565b602082019050919050565b6000613e1f600083614291565b9150613e2a826147d6565b600082019050919050565b6000613e4260108361429c565b9150613e4d826147d9565b602082019050919050565b6000613e6560128361429c565b9150613e7082614802565b602082019050919050565b6000613e8860158361429c565b9150613e938261482b565b602082019050919050565b6000613eab60108361429c565b9150613eb682614854565b602082019050919050565b6000613ece601f8361429c565b9150613ed98261487d565b602082019050919050565b613eed81614441565b82525050565b6000613eff8284613ba3565b60148201915081905092915050565b6000613f1a8286613c4a565b9150613f268285613c4a565b9150613f328284613c7b565b9150819050949350505050565b6000613f4a82613e12565b9150819050919050565b6000602082019050613f696000830184613b94565b92915050565b6000608082019050613f846000830187613b94565b613f916020830186613b94565b613f9e6040830185613ee4565b8181036060830152613fb08184613bd8565b905095945050505050565b6000602082019050613fd06000830184613bba565b92915050565b6000602082019050613feb6000830184613bc9565b92915050565b6000602082019050818103600083015261400b8184613c11565b905092915050565b6000602082019050818103600083015261402c81613cfa565b9050919050565b6000602082019050818103600083015261404c81613d1d565b9050919050565b6000602082019050818103600083015261406c81613d40565b9050919050565b6000602082019050818103600083015261408c81613d63565b9050919050565b600060208201905081810360008301526140ac81613d86565b9050919050565b600060208201905081810360008301526140cc81613da9565b9050919050565b600060208201905081810360008301526140ec81613dcc565b9050919050565b6000602082019050818103600083015261410c81613def565b9050919050565b6000602082019050818103600083015261412c81613e35565b9050919050565b6000602082019050818103600083015261414c81613e58565b9050919050565b6000602082019050818103600083015261416c81613e7b565b9050919050565b6000602082019050818103600083015261418c81613e9e565b9050919050565b600060208201905081810360008301526141ac81613ec1565b9050919050565b60006020820190506141c86000830184613ee4565b92915050565b60006141d86141e9565b90506141e482826144bf565b919050565b6000604051905090565b600067ffffffffffffffff82111561420e5761420d61461b565b5b6142178261464a565b9050602081019050919050565b600067ffffffffffffffff82111561423f5761423e61461b565b5b6142488261464a565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006142c382614441565b91506142ce83614441565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143035761430261458e565b5b828201905092915050565b600061431982614441565b915061432483614441565b925082614334576143336145bd565b5b828204905092915050565b600061434a82614441565b915061435583614441565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561438e5761438d61458e565b5b828202905092915050565b60006143a482614441565b91506143af83614441565b9250828210156143c2576143c161458e565b5b828203905092915050565b60006143d882614421565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561447857808201518184015260208101905061445d565b83811115614487576000848401525b50505050565b600060028204905060018216806144a557607f821691505b602082108114156144b9576144b86145ec565b5b50919050565b6144c88261464a565b810181811067ffffffffffffffff821117156144e7576144e661461b565b5b80604052505050565b60006144fb82614441565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561452e5761452d61458e565b5b600182019050919050565b60006145448261454b565b9050919050565b60006145568261465b565b9050919050565b600061456882614441565b915061457383614441565b925082614583576145826145bd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e6f7420696e20746865207265736572766174696f6e206c6973740000000000600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6178206d696e74207265616368656400000000000000000000000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f57726f6e672045544820616d6f756e7400000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6148af816143cd565b81146148ba57600080fd5b50565b6148c6816143df565b81146148d157600080fd5b50565b6148dd816143eb565b81146148e857600080fd5b50565b6148f4816143f5565b81146148ff57600080fd5b50565b61490b81614441565b811461491657600080fd5b5056fea264697066735822122024e3fe9cc1008fdb1da6663d6b041382d463b2e51130d528e978ec65da90dc1764736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e73616d7572696365732e78797a2f6d657461646174612f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c80636c0360eb11610144578063a22cb465116100b6578063d7f7a7421161007a578063d7f7a74214610870578063da3ef23f1461089b578063ddab315e146108c4578063e222c7f9146108ef578063e985e9c514610906578063f2fde38b146109435761025c565b8063a22cb4651461078b578063b88d4fde146107b4578063ba9e12f7146107dd578063c3151fed14610808578063c87b56dd146108335761025c565b80637cb64759116101085780637cb647591461068d5780637d0c152e146106b65780637e95eac4146106f3578063895fc7881461071e5780638da5cb5b1461073557806395d89b41146107605761025c565b80636c0360eb146105c95780636dc5f1ce146105f457806370a082311461061d578063710821d01461065a578063715018a6146106765761025c565b806332cb6b0c116101dd57806351830227116101a157806351830227146104cb57806355f804b3146104f65780635b8ad4291461051f57806360d938dc1461053657806363172ac1146105615780636352211e1461058c5761025c565b806332cb6b0c14610420578063343937431461044b5780633ccfd60b1461046257806342842e0e14610479578063512507c6146104a25761025c565b806318160ddd1161022457806318160ddd1461035a5780631e84c4131461038557806323b872dd146103b05780632db11544146103d95780632eb4a7ab146103f55761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630d34ea581461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613a80565b61096c565b6040516102959190613fbb565b60405180910390f35b3480156102aa57600080fd5b506102b3610a4e565b6040516102c09190613ff1565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613b13565b610ae0565b6040516102fd9190613f54565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613a1b565b610b5c565b005b34801561033b57600080fd5b50610344610c67565b6040516103519190613ff1565b60405180910390f35b34801561036657600080fd5b5061036f610cf5565b60405161037c91906141b3565b60405180910390f35b34801561039157600080fd5b5061039a610d0c565b6040516103a79190613fbb565b60405180910390f35b3480156103bc57600080fd5b506103d760048036038101906103d29190613915565b610d1f565b005b6103f360048036038101906103ee9190613b13565b610d2f565b005b34801561040157600080fd5b5061040a610fe5565b6040516104179190613fd6565b60405180910390f35b34801561042c57600080fd5b50610435610feb565b60405161044291906141b3565b60405180910390f35b34801561045757600080fd5b50610460610ff1565b005b34801561046e57600080fd5b50610477611099565b005b34801561048557600080fd5b506104a0600480360381019061049b9190613915565b61121a565b005b3480156104ae57600080fd5b506104c960048036038101906104c49190613ad2565b61123a565b005b3480156104d757600080fd5b506104e06112d0565b6040516104ed9190613fbb565b60405180910390f35b34801561050257600080fd5b5061051d60048036038101906105189190613ad2565b6112e3565b005b34801561052b57600080fd5b50610534611379565b005b34801561054257600080fd5b5061054b611421565b6040516105589190613fbb565b60405180910390f35b34801561056d57600080fd5b50610576611434565b60405161058391906141b3565b60405180910390f35b34801561059857600080fd5b506105b360048036038101906105ae9190613b13565b61143a565b6040516105c09190613f54565b60405180910390f35b3480156105d557600080fd5b506105de611450565b6040516105eb9190613ff1565b60405180910390f35b34801561060057600080fd5b5061061b60048036038101906106169190613b13565b6114de565b005b34801561062957600080fd5b50610644600480360381019061063f91906138b0565b611564565b60405161065191906141b3565b60405180910390f35b610674600480360381019061066f9190613b3c565b611634565b005b34801561068257600080fd5b5061068b611978565b005b34801561069957600080fd5b506106b460048036038101906106af9190613a57565b611a00565b005b3480156106c257600080fd5b506106dd60048036038101906106d891906138b0565b611a86565b6040516106ea91906141b3565b60405180910390f35b3480156106ff57600080fd5b50610708611a9e565b60405161071591906141b3565b60405180910390f35b34801561072a57600080fd5b50610733611aa3565b005b34801561074157600080fd5b5061074a611b8b565b6040516107579190613f54565b60405180910390f35b34801561076c57600080fd5b50610775611bb5565b6040516107829190613ff1565b60405180910390f35b34801561079757600080fd5b506107b260048036038101906107ad91906139df565b611c47565b005b3480156107c057600080fd5b506107db60048036038101906107d69190613964565b611dbf565b005b3480156107e957600080fd5b506107f2611e3b565b6040516107ff9190613ff1565b60405180910390f35b34801561081457600080fd5b5061081d611ec9565b60405161082a91906141b3565b60405180910390f35b34801561083f57600080fd5b5061085a60048036038101906108559190613b13565b611ed4565b6040516108679190613ff1565b60405180910390f35b34801561087c57600080fd5b50610885612032565b60405161089291906141b3565b60405180910390f35b3480156108a757600080fd5b506108c260048036038101906108bd9190613ad2565b612037565b005b3480156108d057600080fd5b506108d96120cd565b6040516108e691906141b3565b60405180910390f35b3480156108fb57600080fd5b506109046120d8565b005b34801561091257600080fd5b5061092d600480360381019061092891906138d9565b612180565b60405161093a9190613fbb565b60405180910390f35b34801561094f57600080fd5b5061096a600480360381019061096591906138b0565b612214565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a3757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a475750610a468261230c565b5b9050919050565b606060028054610a5d9061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a899061448d565b8015610ad65780601f10610aab57610100808354040283529160200191610ad6565b820191906000526020600020905b815481529060010190602001808311610ab957829003601f168201915b5050505050905090565b6000610aeb82612376565b610b21576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b678261143a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bcf576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bee6123c4565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c205750610c1e81610c196123c4565b612180565b155b15610c57576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c628383836123cc565b505050565b600b8054610c749061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca09061448d565b8015610ced5780601f10610cc257610100808354040283529160200191610ced565b820191906000526020600020905b815481529060010190602001808311610cd057829003601f168201915b505050505081565b6000610cff61247e565b6001546000540303905090565b600f60019054906101000a900460ff1681565b610d2a838383612483565b505050565b60026009541415610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90614193565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610deb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de290614073565b60405180910390fd5b600066b1a2bc2ec500009050600f60019054906101000a900460ff16610e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3d906140b3565b60405180910390fd5b60008211610e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8090614093565b60405180910390fd5b600d5482601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ed633612939565b610ee09190614399565b610eea91906142b8565b1115610f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f22906140f3565b60405180910390fd5b611e6182610f37610cf5565b610f4191906142b8565b1115610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7990614133565b60405180910390fd5b8181610f8e919061433f565b3414610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc690614173565b60405180910390fd5b610fd933836129a3565b50600160098190555050565b600e5481565b611e6181565b610ff96123c4565b73ffffffffffffffffffffffffffffffffffffffff16611017611b8b565b73ffffffffffffffffffffffffffffffffffffffff161461106d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611064906140d3565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6110a16123c4565b73ffffffffffffffffffffffffffffffffffffffff166110bf611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c906140d3565b60405180910390fd5b6002600954141561115b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115290614193565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff164760405161118990613f3f565b60006040518083038185875af1925050503d80600081146111c6576040519150601f19603f3d011682016040523d82523d6000602084013e6111cb565b606091505b505090508061120f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120690614113565b60405180910390fd5b506001600981905550565b61123583838360405180602001604052806000815250611dbf565b505050565b6112426123c4565b73ffffffffffffffffffffffffffffffffffffffff16611260611b8b565b73ffffffffffffffffffffffffffffffffffffffff16146112b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ad906140d3565b60405180910390fd5b80600c90805190602001906112cc929190613632565b5050565b600f60029054906101000a900460ff1681565b6112eb6123c4565b73ffffffffffffffffffffffffffffffffffffffff16611309611b8b565b73ffffffffffffffffffffffffffffffffffffffff161461135f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611356906140d3565b60405180910390fd5b80600a9080519060200190611375929190613632565b5050565b6113816123c4565b73ffffffffffffffffffffffffffffffffffffffff1661139f611b8b565b73ffffffffffffffffffffffffffffffffffffffff16146113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec906140d3565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b600f60009054906101000a900460ff1681565b600d5481565b6000611445826129c1565b600001519050919050565b600a805461145d9061448d565b80601f01602080910402602001604051908101604052809291908181526020018280546114899061448d565b80156114d65780601f106114ab576101008083540402835291602001916114d6565b820191906000526020600020905b8154815290600101906020018083116114b957829003601f168201915b505050505081565b6114e66123c4565b73ffffffffffffffffffffffffffffffffffffffff16611504611b8b565b73ffffffffffffffffffffffffffffffffffffffff161461155a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611551906140d3565b60405180910390fd5b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115cc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6002600954141561167a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167190614193565b60405180910390fd5b60026009819055503373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e790614073565b60405180910390fd5b600066753d533d9680009050600f60009054906101000a900460ff1661174b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174290614153565b60405180910390fd5b611756338484612c50565b611795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178c90614013565b60405180910390fd5b600084116117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf90614093565b60405180910390fd5b600384601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182591906142b8565b1115611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d906140f3565b60405180910390fd5b611e6184611872610cf5565b61187c91906142b8565b11156118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490614133565b60405180910390fd5b83816118c9919061433f565b341461190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190614173565b60405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461195991906142b8565b9250508190555061196a33856129a3565b506001600981905550505050565b6119806123c4565b73ffffffffffffffffffffffffffffffffffffffff1661199e611b8b565b73ffffffffffffffffffffffffffffffffffffffff16146119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb906140d3565b60405180910390fd5b6119fe6000612cae565b565b611a086123c4565b73ffffffffffffffffffffffffffffffffffffffff16611a26611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614611a7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a73906140d3565b60405180910390fd5b80600e8190555050565b60106020528060005260406000206000915090505481565b600381565b611aab6123c4565b73ffffffffffffffffffffffffffffffffffffffff16611ac9611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b16906140d3565b60405180910390fd5b611e61604d611b2c610cf5565b611b3691906142b8565b1115611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e90614133565b60405180910390fd5b611b89611b82611b8b565b604d6129a3565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611bc49061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054611bf09061448d565b8015611c3d5780601f10611c1257610100808354040283529160200191611c3d565b820191906000526020600020905b815481529060010190602001808311611c2057829003601f168201915b5050505050905090565b611c4f6123c4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb4576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611cc16123c4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d6e6123c4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db39190613fbb565b60405180910390a35050565b611dca848484612483565b611de98373ffffffffffffffffffffffffffffffffffffffff16612d74565b8015611dfe5750611dfc84848484612d97565b155b15611e35576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600c8054611e489061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054611e749061448d565b8015611ec15780601f10611e9657610100808354040283529160200191611ec1565b820191906000526020600020905b815481529060010190602001808311611ea457829003601f168201915b505050505081565b66b1a2bc2ec5000081565b6060611edf82612376565b611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1590614033565b60405180910390fd5b600f60029054906101000a900460ff16611fc457600c8054611f3f9061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6b9061448d565b8015611fb85780601f10611f8d57610100808354040283529160200191611fb8565b820191906000526020600020905b815481529060010190602001808311611f9b57829003601f168201915b5050505050905061202d565b6000611fce612ef7565b90506000600a8054611fdf9061448d565b905011611ffb5760405180602001604052806000815250612029565b8061200584612f89565b600b60405160200161201993929190613f0e565b6040516020818303038152906040525b9150505b919050565b604d81565b61203f6123c4565b73ffffffffffffffffffffffffffffffffffffffff1661205d611b8b565b73ffffffffffffffffffffffffffffffffffffffff16146120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa906140d3565b60405180910390fd5b80600b90805190602001906120c9929190613632565b5050565b66753d533d96800081565b6120e06123c4565b73ffffffffffffffffffffffffffffffffffffffff166120fe611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614612154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214b906140d3565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61221c6123c4565b73ffffffffffffffffffffffffffffffffffffffff1661223a611b8b565b73ffffffffffffffffffffffffffffffffffffffff1614612290576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612287906140d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612300576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f790614053565b60405180910390fd5b61230981612cae565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161238161247e565b11158015612390575060005482105b80156123bd575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061248e826129c1565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124f9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661251a6123c4565b73ffffffffffffffffffffffffffffffffffffffff1614806125495750612548856125436123c4565b612180565b5b8061258e57506125576123c4565b73ffffffffffffffffffffffffffffffffffffffff1661257684610ae0565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806125c7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561262e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61263b8585856001613136565b612647600084876123cc565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128c75760005482146128c657878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612932858585600161313c565b5050505050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6129bd828260405180602001604052806000815250613142565b5050565b6129c96136b8565b6000829050806129d761247e565b111580156129e6575060005481105b15612c19576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612c1757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612afb578092505050612c4b565b5b600115612c1657818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c11578092505050612c4b565b612afc565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000612ca5612c5e85613154565b848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050613184565b90509392505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dbd6123c4565b8786866040518563ffffffff1660e01b8152600401612ddf9493929190613f6f565b602060405180830381600087803b158015612df957600080fd5b505af1925050508015612e2a57506040513d601f19601f82011682018060405250810190612e279190613aa9565b60015b612ea4573d8060008114612e5a576040519150601f19603f3d011682016040523d82523d6000602084013e612e5f565b606091505b50600081511415612e9c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612f069061448d565b80601f0160208091040260200160405190810160405280929190818152602001828054612f329061448d565b8015612f7f5780601f10612f5457610100808354040283529160200191612f7f565b820191906000526020600020905b815481529060010190602001808311612f6257829003601f168201915b5050505050905090565b60606000821415612fd1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613131565b600082905060005b60008214613003578080612fec906144f0565b915050600a82612ffc919061430e565b9150612fd9565b60008167ffffffffffffffff811115613045577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130775781602001600182028036833780820191505090505b5090505b6000851461312a576001826130909190614399565b9150600a8561309f919061455d565b60306130ab91906142b8565b60f81b8183815181106130e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613123919061430e565b945061307b565b8093505050505b919050565b50505050565b50505050565b61314f838383600161319b565b505050565b6000816040516020016131679190613ef3565b604051602081830303815290604052805190602001209050919050565b600061319382600e5485613569565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613208576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613243576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132506000868387613136565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561341a57506134198773ffffffffffffffffffffffffffffffffffffffff16612d74565b5b156134e0575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461348f6000888480600101955088612d97565b6134c5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156134205782600054146134db57600080fd5b61354c565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156134e1575b816000819055505050613562600086838761313c565b5050505050565b6000826135768584613580565b1490509392505050565b60008082905060005b84518110156136105760008582815181106135cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116135ef576135e8838261361b565b92506135fc565b6135f9818461361b565b92505b508080613608906144f0565b915050613589565b508091505092915050565b600082600052816020526040600020905092915050565b82805461363e9061448d565b90600052602060002090601f01602090048101928261366057600085556136a7565b82601f1061367957805160ff19168380011785556136a7565b828001600101855582156136a7579182015b828111156136a657825182559160200191906001019061368b565b5b5090506136b491906136fb565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156137145760008160009055506001016136fc565b5090565b600061372b613726846141f3565b6141ce565b90508281526020810184848401111561374357600080fd5b61374e84828561444b565b509392505050565b600061376961376484614224565b6141ce565b90508281526020810184848401111561378157600080fd5b61378c84828561444b565b509392505050565b6000813590506137a3816148a6565b92915050565b60008083601f8401126137bb57600080fd5b8235905067ffffffffffffffff8111156137d457600080fd5b6020830191508360208202830111156137ec57600080fd5b9250929050565b600081359050613802816148bd565b92915050565b600081359050613817816148d4565b92915050565b60008135905061382c816148eb565b92915050565b600081519050613841816148eb565b92915050565b600082601f83011261385857600080fd5b8135613868848260208601613718565b91505092915050565b600082601f83011261388257600080fd5b8135613892848260208601613756565b91505092915050565b6000813590506138aa81614902565b92915050565b6000602082840312156138c257600080fd5b60006138d084828501613794565b91505092915050565b600080604083850312156138ec57600080fd5b60006138fa85828601613794565b925050602061390b85828601613794565b9150509250929050565b60008060006060848603121561392a57600080fd5b600061393886828701613794565b935050602061394986828701613794565b925050604061395a8682870161389b565b9150509250925092565b6000806000806080858703121561397a57600080fd5b600061398887828801613794565b945050602061399987828801613794565b93505060406139aa8782880161389b565b925050606085013567ffffffffffffffff8111156139c757600080fd5b6139d387828801613847565b91505092959194509250565b600080604083850312156139f257600080fd5b6000613a0085828601613794565b9250506020613a11858286016137f3565b9150509250929050565b60008060408385031215613a2e57600080fd5b6000613a3c85828601613794565b9250506020613a4d8582860161389b565b9150509250929050565b600060208284031215613a6957600080fd5b6000613a7784828501613808565b91505092915050565b600060208284031215613a9257600080fd5b6000613aa08482850161381d565b91505092915050565b600060208284031215613abb57600080fd5b6000613ac984828501613832565b91505092915050565b600060208284031215613ae457600080fd5b600082013567ffffffffffffffff811115613afe57600080fd5b613b0a84828501613871565b91505092915050565b600060208284031215613b2557600080fd5b6000613b338482850161389b565b91505092915050565b600080600060408486031215613b5157600080fd5b6000613b5f8682870161389b565b935050602084013567ffffffffffffffff811115613b7c57600080fd5b613b88868287016137a9565b92509250509250925092565b613b9d816143cd565b82525050565b613bb4613baf826143cd565b614539565b82525050565b613bc3816143df565b82525050565b613bd2816143eb565b82525050565b6000613be38261426a565b613bed8185614280565b9350613bfd81856020860161445a565b613c068161464a565b840191505092915050565b6000613c1c82614275565b613c26818561429c565b9350613c3681856020860161445a565b613c3f8161464a565b840191505092915050565b6000613c5582614275565b613c5f81856142ad565b9350613c6f81856020860161445a565b80840191505092915050565b60008154613c888161448d565b613c9281866142ad565b94506001821660008114613cad5760018114613cbe57613cf1565b60ff19831686528186019350613cf1565b613cc785614255565b60005b83811015613ce957815481890152600182019150602081019050613cca565b838801955050505b50505092915050565b6000613d07601b8361429c565b9150613d1282614668565b602082019050919050565b6000613d2a601f8361429c565b9150613d3582614691565b602082019050919050565b6000613d4d60268361429c565b9150613d58826146ba565b604082019050919050565b6000613d70601e8361429c565b9150613d7b82614709565b602082019050919050565b6000613d9360108361429c565b9150613d9e82614732565b602082019050919050565b6000613db660198361429c565b9150613dc18261475b565b602082019050919050565b6000613dd960208361429c565b9150613de482614784565b602082019050919050565b6000613dfc60108361429c565b9150613e07826147ad565b602082019050919050565b6000613e1f600083614291565b9150613e2a826147d6565b600082019050919050565b6000613e4260108361429c565b9150613e4d826147d9565b602082019050919050565b6000613e6560128361429c565b9150613e7082614802565b602082019050919050565b6000613e8860158361429c565b9150613e938261482b565b602082019050919050565b6000613eab60108361429c565b9150613eb682614854565b602082019050919050565b6000613ece601f8361429c565b9150613ed98261487d565b602082019050919050565b613eed81614441565b82525050565b6000613eff8284613ba3565b60148201915081905092915050565b6000613f1a8286613c4a565b9150613f268285613c4a565b9150613f328284613c7b565b9150819050949350505050565b6000613f4a82613e12565b9150819050919050565b6000602082019050613f696000830184613b94565b92915050565b6000608082019050613f846000830187613b94565b613f916020830186613b94565b613f9e6040830185613ee4565b8181036060830152613fb08184613bd8565b905095945050505050565b6000602082019050613fd06000830184613bba565b92915050565b6000602082019050613feb6000830184613bc9565b92915050565b6000602082019050818103600083015261400b8184613c11565b905092915050565b6000602082019050818103600083015261402c81613cfa565b9050919050565b6000602082019050818103600083015261404c81613d1d565b9050919050565b6000602082019050818103600083015261406c81613d40565b9050919050565b6000602082019050818103600083015261408c81613d63565b9050919050565b600060208201905081810360008301526140ac81613d86565b9050919050565b600060208201905081810360008301526140cc81613da9565b9050919050565b600060208201905081810360008301526140ec81613dcc565b9050919050565b6000602082019050818103600083015261410c81613def565b9050919050565b6000602082019050818103600083015261412c81613e35565b9050919050565b6000602082019050818103600083015261414c81613e58565b9050919050565b6000602082019050818103600083015261416c81613e7b565b9050919050565b6000602082019050818103600083015261418c81613e9e565b9050919050565b600060208201905081810360008301526141ac81613ec1565b9050919050565b60006020820190506141c86000830184613ee4565b92915050565b60006141d86141e9565b90506141e482826144bf565b919050565b6000604051905090565b600067ffffffffffffffff82111561420e5761420d61461b565b5b6142178261464a565b9050602081019050919050565b600067ffffffffffffffff82111561423f5761423e61461b565b5b6142488261464a565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006142c382614441565b91506142ce83614441565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156143035761430261458e565b5b828201905092915050565b600061431982614441565b915061432483614441565b925082614334576143336145bd565b5b828204905092915050565b600061434a82614441565b915061435583614441565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561438e5761438d61458e565b5b828202905092915050565b60006143a482614441565b91506143af83614441565b9250828210156143c2576143c161458e565b5b828203905092915050565b60006143d882614421565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561447857808201518184015260208101905061445d565b83811115614487576000848401525b50505050565b600060028204905060018216806144a557607f821691505b602082108114156144b9576144b86145ec565b5b50919050565b6144c88261464a565b810181811067ffffffffffffffff821117156144e7576144e661461b565b5b80604052505050565b60006144fb82614441565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561452e5761452d61458e565b5b600182019050919050565b60006145448261454b565b9050919050565b60006145568261465b565b9050919050565b600061456882614441565b915061457383614441565b925082614583576145826145bd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4e6f7420696e20746865207265736572766174696f6e206c6973740000000000600082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d6178206d696e74207265616368656400000000000000000000000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f57726f6e672045544820616d6f756e7400000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6148af816143cd565b81146148ba57600080fd5b50565b6148c6816143df565b81146148d157600080fd5b50565b6148dd816143eb565b81146148e857600080fd5b50565b6148f4816143f5565b81146148ff57600080fd5b50565b61490b81614441565b811461491657600080fd5b5056fea264697066735822122024e3fe9cc1008fdb1da6663d6b041382d463b2e51130d528e978ec65da90dc1764736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e73616d7572696365732e78797a2f6d657461646174612f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _hiddenMetadataURI (string): https://api.samurices.xyz/metadata/hidden.json
Arg [1] : _initBaseURI (string):
Arg [2] : _initBaseURIExtension (string): .json

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [4] : 68747470733a2f2f6170692e73616d7572696365732e78797a2f6d6574616461
Arg [5] : 74612f68696464656e2e6a736f6e000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 2e6a736f6e000000000000000000000000000000000000000000000000000000


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.