ETH Price: $2,512.85 (+0.51%)

Token

UpsideDownerz (UPDOWN)
 

Overview

Max Total Supply

6,081 UPDOWN

Holders

1,243

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 UPDOWN
0x701a546c63b5476144c03197c22187fa0d48dbd6
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:
UpsideDownerz

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

//                        _     __         __
//      __  ______  _____(_)___/ /__  ____/ /___ _      ______  ___  _________
//     / / / / __ \/ ___/ / __  / _ \/ __  / __ \ | /| / / __ \/ _ \/ ___/_  /
//    / /_/ / /_/ (__  ) / /_/ /  __/ /_/ / /_/ / |/ |/ / / / /  __/ /    / /_
//    \__,_/ .___/____/_/\__,_/\___/\__,_/\____/|__/|__/_/ /_/\___/_/    /___/
//        /_/
//
//      https://upsidedownerz.xyz

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

contract UpsideDownerz is ERC721A, Ownable {
    using Strings for uint256;

    uint256 public price = 0.01 ether;
    uint8 public mintsPerWallet;
    uint256 public freeSupply;
    uint256 public maxSupply;
    uint256 public reservedSupply;
    bytes32 public merkleRoot;

    bool public paused = true;
    bool public reserved = true;
    bool public revealed = false;

    string public hiddenMetadataUri;
    string public baseURI;

    constructor(
        uint256 _maxSupply,
        uint256 _freeSupply,
        uint8 _mintsPerWallet
    ) ERC721A("UpsideDownerz", "UPDOWN") {
        maxSupply = _maxSupply;
        freeSupply = _freeSupply;
        mintsPerWallet = _mintsPerWallet;
    }

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

    function mint(uint8 _mintAmount) public payable {
        require(msg.value >= price * _mintAmount, "Insufficent payment");
        require(!paused, "Paused");
        require(
            _mintAmount + _numberMinted(msg.sender) <= mintsPerWallet,
            "Allowance exceeded"
        );
        require(_totalMinted() + _mintAmount <= maxSupply, "No more remain");
        require(
            (price == 0 && reserved == false) ||
                (price == 0 &&
                    reserved == true &&
                    _totalMinted() + _mintAmount <=
                    maxSupply - reservedSupply) ||
                (price > 0 &&
                    _totalMinted() + _mintAmount <= maxSupply - freeSupply),
            "No supply available"
        );
        _safeMint(msg.sender, _mintAmount);
    }

    function mintReserved(bytes32[] calldata proof) public {
        require(!paused, "Paused");
        require(reserved == true && price == 0, "Invalid claim period");
        require(
            mintsPerWallet + _numberMinted(msg.sender) <= mintsPerWallet,
            "Allowance exceeded"
        );
        require(_totalMinted() + mintsPerWallet <= maxSupply, "No more remain");
        require(
            MerkleProof.verify(
                proof,
                merkleRoot,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "Invalid proof"
        );

        _safeMint(msg.sender, mintsPerWallet);
    }

    function setPaused(bool _state) public onlyOwner {
        paused = _state;
    }

    function remainingMints(address userAddress) public view returns (uint256) {
        return mintsPerWallet - _numberMinted(userAddress);
    }

    function freeMint() public onlyOwner {
        price = 0 ether;
    }

    function setReservedList(bytes32 _merkleRoot, uint256 _reservedSupply)
        external
        onlyOwner
    {
        merkleRoot = _merkleRoot;
        reservedSupply = _reservedSupply;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(_tokenId), "Token does not exist");

        if (revealed == false) {
            return hiddenMetadataUri;
        }

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

    function setRevealed(bool _revealed) public onlyOwner {
        revealed = _revealed;
    }

    function setReserved(bool _reserved) public onlyOwner {
        reserved = _reserved;
    }

    function setHiddenMetadataUri(string memory _hiddenMetadataUri)
        public
        onlyOwner
    {
        hiddenMetadataUri = _hiddenMetadataUri;
    }

    function setBaseUri(string memory uri) public onlyOwner {
        baseURI = uri;
    }

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

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
    }
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.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';

/**
 * @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, IERC721A {
    using Address for address;
    using Strings for uint256;

    // 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 override 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) if (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) if(!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()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (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 (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 Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (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;

            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 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.6.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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            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 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 7 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 8 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 9 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 10 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 11 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

File 12 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 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":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_freeSupply","type":"uint256"},{"internalType":"uint8","name":"_mintsPerWallet","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintAmount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintsPerWallet","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"remainingMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_reserved","type":"bool"}],"name":"setReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_reservedSupply","type":"uint256"}],"name":"setReservedList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052662386f26fc100006009556001600f60006101000a81548160ff0219169083151502179055506001600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055503480156200006d57600080fd5b50604051620047a9380380620047a98339818101604052810190620000939190620003a0565b6040518060400160405280600d81526020017f557073696465446f776e65727a000000000000000000000000000000000000008152506040518060400160405280600681526020017f5550444f574e000000000000000000000000000000000000000000000000000081525081600290805190602001906200011792919062000272565b5080600390805190602001906200013092919062000272565b50620001416200019b60201b60201c565b6000819055505050620001696200015d620001a460201b60201c565b620001ac60201b60201c565b82600c8190555081600b8190555080600a60006101000a81548160ff021916908360ff16021790555050505062000461565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000280906200042b565b90600052602060002090601f016020900481019282620002a45760008555620002f0565b82601f10620002bf57805160ff1916838001178555620002f0565b82800160010185558215620002f0579182015b82811115620002ef578251825591602001919060010190620002d2565b5b509050620002ff919062000303565b5090565b5b808211156200031e57600081600090555060010162000304565b5090565b600080fd5b6000819050919050565b6200033c8162000327565b81146200034857600080fd5b50565b6000815190506200035c8162000331565b92915050565b600060ff82169050919050565b6200037a8162000362565b81146200038657600080fd5b50565b6000815190506200039a816200036f565b92915050565b600080600060608486031215620003bc57620003bb62000322565b5b6000620003cc868287016200034b565b9350506020620003df868287016200034b565b9250506040620003f28682870162000389565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200044457607f821691505b602082108114156200045b576200045a620003fc565b5b50919050565b61433880620004716000396000f3fe6080604052600436106102305760003560e01c806364d0764e1161012e578063a22cb465116100ab578063d5abeb011161006f578063d5abeb01146107e9578063e0a8085314610814578063e985e9c51461083d578063f2fde38b1461087a578063fe60d12c146108a357610230565b8063a22cb46514610706578063a45ba8e71461072f578063b88d4fde1461075a578063be2b8a0014610783578063c87b56dd146107ac57610230565b80638da5cb5b116100f25780638da5cb5b1461063357806395d89b411461065e5780639d85b44e14610689578063a035b1fe146106b2578063a0bcfc7f146106dd57610230565b806364d0764e1461055b5780636c0360eb146105985780636ecd2306146105c357806370a08231146105df578063715018a61461061c57610230565b80632eb7c7e3116101bc5780634fdd43cb116101805780634fdd43cb1461048857806351830227146104b15780635b70ea9f146104dc5780635c975abb146104f35780636352211e1461051e57610230565b80632eb7c7e3146103d65780633ccfd60b146103ff57806340221e201461040957806342842e0e1461043457806344d19d2b1461045d57610230565b806316c38b3c1161020357806316c38b3c1461030357806318160ddd1461032c57806323b872dd1461035757806324a6ab0c146103805780632eb4a7ab146103ab57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c600480360381019061025791906131f0565b6108ce565b6040516102699190613238565b60405180910390f35b34801561027e57600080fd5b506102876109b0565b60405161029491906132ec565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613344565b610a42565b6040516102d191906133b2565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc91906133f9565b610abe565b005b34801561030f57600080fd5b5061032a60048036038101906103259190613465565b610bc3565b005b34801561033857600080fd5b50610341610c5c565b60405161034e91906134a1565b60405180910390f35b34801561036357600080fd5b5061037e600480360381019061037991906134bc565b610c73565b005b34801561038c57600080fd5b50610395610c83565b6040516103a291906134a1565b60405180910390f35b3480156103b757600080fd5b506103c0610c89565b6040516103cd9190613528565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190613465565b610c8f565b005b610407610d28565b005b34801561041557600080fd5b5061041e610e1d565b60405161042b919061355f565b60405180910390f35b34801561044057600080fd5b5061045b600480360381019061045691906134bc565b610e30565b005b34801561046957600080fd5b50610472610e50565b60405161047f91906134a1565b60405180910390f35b34801561049457600080fd5b506104af60048036038101906104aa91906136af565b610e56565b005b3480156104bd57600080fd5b506104c6610eec565b6040516104d39190613238565b60405180910390f35b3480156104e857600080fd5b506104f1610eff565b005b3480156104ff57600080fd5b50610508610f85565b6040516105159190613238565b60405180910390f35b34801561052a57600080fd5b5061054560048036038101906105409190613344565b610f98565b60405161055291906133b2565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d91906136f8565b610fae565b60405161058f91906134a1565b60405180910390f35b3480156105a457600080fd5b506105ad610fdd565b6040516105ba91906132ec565b60405180910390f35b6105dd60048036038101906105d89190613751565b61106b565b005b3480156105eb57600080fd5b50610606600480360381019061060191906136f8565b6112e0565b60405161061391906134a1565b60405180910390f35b34801561062857600080fd5b506106316113b0565b005b34801561063f57600080fd5b50610648611438565b60405161065591906133b2565b60405180910390f35b34801561066a57600080fd5b50610673611462565b60405161068091906132ec565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab91906137de565b6114f4565b005b3480156106be57600080fd5b506106c761175e565b6040516106d491906134a1565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff91906136af565b611764565b005b34801561071257600080fd5b5061072d6004803603810190610728919061382b565b6117fa565b005b34801561073b57600080fd5b50610744611972565b60405161075191906132ec565b60405180910390f35b34801561076657600080fd5b50610781600480360381019061077c919061390c565b611a00565b005b34801561078f57600080fd5b506107aa60048036038101906107a591906139bb565b611a78565b005b3480156107b857600080fd5b506107d360048036038101906107ce9190613344565b611b06565b6040516107e091906132ec565b60405180910390f35b3480156107f557600080fd5b506107fe611c5c565b60405161080b91906134a1565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190613465565b611c62565b005b34801561084957600080fd5b50610864600480360381019061085f91906139fb565b611cfb565b6040516108719190613238565b60405180910390f35b34801561088657600080fd5b506108a1600480360381019061089c91906136f8565b611d8f565b005b3480156108af57600080fd5b506108b8611e87565b6040516108c59190613238565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a957506109a882611e9a565b5b9050919050565b6060600280546109bf90613a6a565b80601f01602080910402602001604051908101604052809291908181526020018280546109eb90613a6a565b8015610a385780601f10610a0d57610100808354040283529160200191610a38565b820191906000526020600020905b815481529060010190602001808311610a1b57829003601f168201915b5050505050905090565b6000610a4d82611f04565b610a83576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac982610f98565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b31576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b50611f52565b73ffffffffffffffffffffffffffffffffffffffff1614610bb357610b7c81610b77611f52565b611cfb565b610bb2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610bbe838383611f5a565b505050565b610bcb611f52565b73ffffffffffffffffffffffffffffffffffffffff16610be9611438565b73ffffffffffffffffffffffffffffffffffffffff1614610c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3690613ae8565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000610c6661200c565b6001546000540303905090565b610c7e838383612015565b505050565b600b5481565b600e5481565b610c97611f52565b73ffffffffffffffffffffffffffffffffffffffff16610cb5611438565b73ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0290613ae8565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b610d30611f52565b73ffffffffffffffffffffffffffffffffffffffff16610d4e611438565b73ffffffffffffffffffffffffffffffffffffffff1614610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b90613ae8565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610dca90613b39565b60006040518083038185875af1925050503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b5050905080610e1a57600080fd5b50565b600a60009054906101000a900460ff1681565b610e4b83838360405180602001604052806000815250611a00565b505050565b600d5481565b610e5e611f52565b73ffffffffffffffffffffffffffffffffffffffff16610e7c611438565b73ffffffffffffffffffffffffffffffffffffffff1614610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec990613ae8565b60405180910390fd5b8060109080519060200190610ee892919061309e565b5050565b600f60029054906101000a900460ff1681565b610f07611f52565b73ffffffffffffffffffffffffffffffffffffffff16610f25611438565b73ffffffffffffffffffffffffffffffffffffffff1614610f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7290613ae8565b60405180910390fd5b6000600981905550565b600f60009054906101000a900460ff1681565b6000610fa3826124cb565b600001519050919050565b6000610fb982612756565b600a60009054906101000a900460ff1660ff16610fd69190613b7d565b9050919050565b60118054610fea90613a6a565b80601f016020809104026020016040519081016040528092919081815260200182805461101690613a6a565b80156110635780601f1061103857610100808354040283529160200191611063565b820191906000526020600020905b81548152906001019060200180831161104657829003601f168201915b505050505081565b8060ff1660095461107c9190613bb1565b3410156110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b590613c57565b60405180910390fd5b600f60009054906101000a900460ff161561110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590613cc3565b60405180910390fd5b600a60009054906101000a900460ff1660ff1661112a33612756565b8260ff166111389190613ce3565b1115611179576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117090613d85565b60405180910390fd5b600c548160ff166111886127c0565b6111929190613ce3565b11156111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90613df1565b60405180910390fd5b60006009541480156111f8575060001515600f60019054906101000a900460ff161515145b8061125457506000600954148015611223575060011515600f60019054906101000a900460ff161515145b80156112535750600d54600c5461123a9190613b7d565b8160ff166112466127c0565b6112509190613ce3565b11155b5b80611291575060006009541180156112905750600b54600c546112779190613b7d565b8160ff166112836127c0565b61128d9190613ce3565b11155b5b6112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790613e5d565b60405180910390fd5b6112dd338260ff166127d3565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611348576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113b8611f52565b73ffffffffffffffffffffffffffffffffffffffff166113d6611438565b73ffffffffffffffffffffffffffffffffffffffff161461142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390613ae8565b60405180910390fd5b61143660006127f1565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461147190613a6a565b80601f016020809104026020016040519081016040528092919081815260200182805461149d90613a6a565b80156114ea5780601f106114bf576101008083540402835291602001916114ea565b820191906000526020600020905b8154815290600101906020018083116114cd57829003601f168201915b5050505050905090565b600f60009054906101000a900460ff1615611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90613cc3565b60405180910390fd5b60011515600f60019054906101000a900460ff16151514801561156957506000600954145b6115a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159f90613ec9565b60405180910390fd5b600a60009054906101000a900460ff1660ff166115c433612756565b600a60009054906101000a900460ff1660ff166115e19190613ce3565b1115611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990613d85565b60405180910390fd5b600c54600a60009054906101000a900460ff1660ff166116406127c0565b61164a9190613ce3565b111561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613df1565b60405180910390fd5b6116ff828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54336040516020016116e49190613f31565b604051602081830303815290604052805190602001206128b7565b61173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590613f98565b60405180910390fd5b61175a33600a60009054906101000a900460ff1660ff166127d3565b5050565b60095481565b61176c611f52565b73ffffffffffffffffffffffffffffffffffffffff1661178a611438565b73ffffffffffffffffffffffffffffffffffffffff16146117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d790613ae8565b60405180910390fd5b80601190805190602001906117f692919061309e565b5050565b611802611f52565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611867576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611874611f52565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611921611f52565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119669190613238565b60405180910390a35050565b6010805461197f90613a6a565b80601f01602080910402602001604051908101604052809291908181526020018280546119ab90613a6a565b80156119f85780601f106119cd576101008083540402835291602001916119f8565b820191906000526020600020905b8154815290600101906020018083116119db57829003601f168201915b505050505081565b611a0b848484612015565b611a2a8373ffffffffffffffffffffffffffffffffffffffff166128ce565b15611a7257611a3b848484846128f1565b611a71576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611a80611f52565b73ffffffffffffffffffffffffffffffffffffffff16611a9e611438565b73ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb90613ae8565b60405180910390fd5b81600e8190555080600d819055505050565b6060611b1182611f04565b611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4790614004565b60405180910390fd5b60001515600f60029054906101000a900460ff1615151415611bfe5760108054611b7990613a6a565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba590613a6a565b8015611bf25780601f10611bc757610100808354040283529160200191611bf2565b820191906000526020600020905b815481529060010190602001808311611bd557829003601f168201915b50505050509050611c57565b6000611c08612a51565b90506000815111611c285760405180602001604052806000815250611c53565b80611c3284612ae3565b604051602001611c43929190614060565b6040516020818303038152906040525b9150505b919050565b600c5481565b611c6a611f52565b73ffffffffffffffffffffffffffffffffffffffff16611c88611438565b73ffffffffffffffffffffffffffffffffffffffff1614611cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd590613ae8565b60405180910390fd5b80600f60026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d97611f52565b73ffffffffffffffffffffffffffffffffffffffff16611db5611438565b73ffffffffffffffffffffffffffffffffffffffff1614611e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0290613ae8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e72906140f6565b60405180910390fd5b611e84816127f1565b50565b600f60019054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611f0f61200c565b11158015611f1e575060005482105b8015611f4b575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612020826124cb565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461208b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166120ac611f52565b73ffffffffffffffffffffffffffffffffffffffff1614806120db57506120da856120d5611f52565b611cfb565b5b8061212057506120e9611f52565b73ffffffffffffffffffffffffffffffffffffffff1661210884610a42565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612159576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121c0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121cd8585856001612c44565b6121d960008487611f5a565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561245957600054821461245857878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124c48585856001612c4a565b5050505050565b6124d3613124565b6000829050806124e161200c565b1161271f5760005481101561271e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161271c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612600578092505050612751565b5b60011561271b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612716578092505050612751565b612601565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60006127ca61200c565b60005403905090565b6127ed828260405180602001604052806000815250612c50565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826128c48584613012565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612917611f52565b8786866040518563ffffffff1660e01b8152600401612939949392919061416b565b602060405180830381600087803b15801561295357600080fd5b505af192505050801561298457506040513d601f19601f8201168201806040525081019061298191906141cc565b60015b6129fe573d80600081146129b4576040519150601f19603f3d011682016040523d82523d6000602084013e6129b9565b606091505b506000815114156129f6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060118054612a6090613a6a565b80601f0160208091040260200160405190810160405280929190818152602001828054612a8c90613a6a565b8015612ad95780601f10612aae57610100808354040283529160200191612ad9565b820191906000526020600020905b815481529060010190602001808311612abc57829003601f168201915b5050505050905090565b60606000821415612b2b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c3f565b600082905060005b60008214612b5d578080612b46906141f9565b915050600a82612b569190614271565b9150612b33565b60008167ffffffffffffffff811115612b7957612b78613584565b5b6040519080825280601f01601f191660200182016040528015612bab5781602001600182028036833780820191505090505b5090505b60008514612c3857600182612bc49190613b7d565b9150600a85612bd391906142a2565b6030612bdf9190613ce3565b60f81b818381518110612bf557612bf46142d3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c319190614271565b9450612baf565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612cbd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612cf8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d056000858386612c44565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612ec68673ffffffffffffffffffffffffffffffffffffffff166128ce565b15612f8b575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f3b60008784806001019550876128f1565b612f71576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612ecc578260005414612f8657600080fd5b612ff6565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f8c575b81600081905550505061300c6000858386612c4a565b50505050565b60008082905060005b845181101561307c576000858281518110613039576130386142d3565b5b6020026020010151905080831161305b576130548382613087565b9250613068565b6130658184613087565b92505b508080613074906141f9565b91505061301b565b508091505092915050565b600082600052816020526040600020905092915050565b8280546130aa90613a6a565b90600052602060002090601f0160209004810192826130cc5760008555613113565b82601f106130e557805160ff1916838001178555613113565b82800160010185558215613113579182015b828111156131125782518255916020019190600101906130f7565b5b5090506131209190613167565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613180576000816000905550600101613168565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131cd81613198565b81146131d857600080fd5b50565b6000813590506131ea816131c4565b92915050565b6000602082840312156132065761320561318e565b5b6000613214848285016131db565b91505092915050565b60008115159050919050565b6132328161321d565b82525050565b600060208201905061324d6000830184613229565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561328d578082015181840152602081019050613272565b8381111561329c576000848401525b50505050565b6000601f19601f8301169050919050565b60006132be82613253565b6132c8818561325e565b93506132d881856020860161326f565b6132e1816132a2565b840191505092915050565b6000602082019050818103600083015261330681846132b3565b905092915050565b6000819050919050565b6133218161330e565b811461332c57600080fd5b50565b60008135905061333e81613318565b92915050565b60006020828403121561335a5761335961318e565b5b60006133688482850161332f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061339c82613371565b9050919050565b6133ac81613391565b82525050565b60006020820190506133c760008301846133a3565b92915050565b6133d681613391565b81146133e157600080fd5b50565b6000813590506133f3816133cd565b92915050565b600080604083850312156134105761340f61318e565b5b600061341e858286016133e4565b925050602061342f8582860161332f565b9150509250929050565b6134428161321d565b811461344d57600080fd5b50565b60008135905061345f81613439565b92915050565b60006020828403121561347b5761347a61318e565b5b600061348984828501613450565b91505092915050565b61349b8161330e565b82525050565b60006020820190506134b66000830184613492565b92915050565b6000806000606084860312156134d5576134d461318e565b5b60006134e3868287016133e4565b93505060206134f4868287016133e4565b92505060406135058682870161332f565b9150509250925092565b6000819050919050565b6135228161350f565b82525050565b600060208201905061353d6000830184613519565b92915050565b600060ff82169050919050565b61355981613543565b82525050565b60006020820190506135746000830184613550565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135bc826132a2565b810181811067ffffffffffffffff821117156135db576135da613584565b5b80604052505050565b60006135ee613184565b90506135fa82826135b3565b919050565b600067ffffffffffffffff82111561361a57613619613584565b5b613623826132a2565b9050602081019050919050565b82818337600083830152505050565b600061365261364d846135ff565b6135e4565b90508281526020810184848401111561366e5761366d61357f565b5b613679848285613630565b509392505050565b600082601f8301126136965761369561357a565b5b81356136a684826020860161363f565b91505092915050565b6000602082840312156136c5576136c461318e565b5b600082013567ffffffffffffffff8111156136e3576136e2613193565b5b6136ef84828501613681565b91505092915050565b60006020828403121561370e5761370d61318e565b5b600061371c848285016133e4565b91505092915050565b61372e81613543565b811461373957600080fd5b50565b60008135905061374b81613725565b92915050565b6000602082840312156137675761376661318e565b5b60006137758482850161373c565b91505092915050565b600080fd5b600080fd5b60008083601f84011261379e5761379d61357a565b5b8235905067ffffffffffffffff8111156137bb576137ba61377e565b5b6020830191508360208202830111156137d7576137d6613783565b5b9250929050565b600080602083850312156137f5576137f461318e565b5b600083013567ffffffffffffffff81111561381357613812613193565b5b61381f85828601613788565b92509250509250929050565b600080604083850312156138425761384161318e565b5b6000613850858286016133e4565b925050602061386185828601613450565b9150509250929050565b600067ffffffffffffffff82111561388657613885613584565b5b61388f826132a2565b9050602081019050919050565b60006138af6138aa8461386b565b6135e4565b9050828152602081018484840111156138cb576138ca61357f565b5b6138d6848285613630565b509392505050565b600082601f8301126138f3576138f261357a565b5b813561390384826020860161389c565b91505092915050565b600080600080608085870312156139265761392561318e565b5b6000613934878288016133e4565b9450506020613945878288016133e4565b93505060406139568782880161332f565b925050606085013567ffffffffffffffff81111561397757613976613193565b5b613983878288016138de565b91505092959194509250565b6139988161350f565b81146139a357600080fd5b50565b6000813590506139b58161398f565b92915050565b600080604083850312156139d2576139d161318e565b5b60006139e0858286016139a6565b92505060206139f18582860161332f565b9150509250929050565b60008060408385031215613a1257613a1161318e565b5b6000613a20858286016133e4565b9250506020613a31858286016133e4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a8257607f821691505b60208210811415613a9657613a95613a3b565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ad260208361325e565b9150613add82613a9c565b602082019050919050565b60006020820190508181036000830152613b0181613ac5565b9050919050565b600081905092915050565b50565b6000613b23600083613b08565b9150613b2e82613b13565b600082019050919050565b6000613b4482613b16565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b888261330e565b9150613b938361330e565b925082821015613ba657613ba5613b4e565b5b828203905092915050565b6000613bbc8261330e565b9150613bc78361330e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c0057613bff613b4e565b5b828202905092915050565b7f496e737566666963656e74207061796d656e7400000000000000000000000000600082015250565b6000613c4160138361325e565b9150613c4c82613c0b565b602082019050919050565b60006020820190508181036000830152613c7081613c34565b9050919050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b6000613cad60068361325e565b9150613cb882613c77565b602082019050919050565b60006020820190508181036000830152613cdc81613ca0565b9050919050565b6000613cee8261330e565b9150613cf98361330e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d2e57613d2d613b4e565b5b828201905092915050565b7f416c6c6f77616e63652065786365656465640000000000000000000000000000600082015250565b6000613d6f60128361325e565b9150613d7a82613d39565b602082019050919050565b60006020820190508181036000830152613d9e81613d62565b9050919050565b7f4e6f206d6f72652072656d61696e000000000000000000000000000000000000600082015250565b6000613ddb600e8361325e565b9150613de682613da5565b602082019050919050565b60006020820190508181036000830152613e0a81613dce565b9050919050565b7f4e6f20737570706c7920617661696c61626c6500000000000000000000000000600082015250565b6000613e4760138361325e565b9150613e5282613e11565b602082019050919050565b60006020820190508181036000830152613e7681613e3a565b9050919050565b7f496e76616c696420636c61696d20706572696f64000000000000000000000000600082015250565b6000613eb360148361325e565b9150613ebe82613e7d565b602082019050919050565b60006020820190508181036000830152613ee281613ea6565b9050919050565b60008160601b9050919050565b6000613f0182613ee9565b9050919050565b6000613f1382613ef6565b9050919050565b613f2b613f2682613391565b613f08565b82525050565b6000613f3d8284613f1a565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613f82600d8361325e565b9150613f8d82613f4c565b602082019050919050565b60006020820190508181036000830152613fb181613f75565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b6000613fee60148361325e565b9150613ff982613fb8565b602082019050919050565b6000602082019050818103600083015261401d81613fe1565b9050919050565b600081905092915050565b600061403a82613253565b6140448185614024565b935061405481856020860161326f565b80840191505092915050565b600061406c828561402f565b9150614078828461402f565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140e060268361325e565b91506140eb82614084565b604082019050919050565b6000602082019050818103600083015261410f816140d3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061413d82614116565b6141478185614121565b935061415781856020860161326f565b614160816132a2565b840191505092915050565b600060808201905061418060008301876133a3565b61418d60208301866133a3565b61419a6040830185613492565b81810360608301526141ac8184614132565b905095945050505050565b6000815190506141c6816131c4565b92915050565b6000602082840312156141e2576141e161318e565b5b60006141f0848285016141b7565b91505092915050565b60006142048261330e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561423757614236613b4e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061427c8261330e565b91506142878361330e565b92508261429757614296614242565b5b828204905092915050565b60006142ad8261330e565b91506142b88361330e565b9250826142c8576142c7614242565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220690824d2aeda86b95e34fe6967fa958c62f85a26114cbaf479e3d1d19fd1db5464736f6c63430008090033000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000000005

Deployed Bytecode

0x6080604052600436106102305760003560e01c806364d0764e1161012e578063a22cb465116100ab578063d5abeb011161006f578063d5abeb01146107e9578063e0a8085314610814578063e985e9c51461083d578063f2fde38b1461087a578063fe60d12c146108a357610230565b8063a22cb46514610706578063a45ba8e71461072f578063b88d4fde1461075a578063be2b8a0014610783578063c87b56dd146107ac57610230565b80638da5cb5b116100f25780638da5cb5b1461063357806395d89b411461065e5780639d85b44e14610689578063a035b1fe146106b2578063a0bcfc7f146106dd57610230565b806364d0764e1461055b5780636c0360eb146105985780636ecd2306146105c357806370a08231146105df578063715018a61461061c57610230565b80632eb7c7e3116101bc5780634fdd43cb116101805780634fdd43cb1461048857806351830227146104b15780635b70ea9f146104dc5780635c975abb146104f35780636352211e1461051e57610230565b80632eb7c7e3146103d65780633ccfd60b146103ff57806340221e201461040957806342842e0e1461043457806344d19d2b1461045d57610230565b806316c38b3c1161020357806316c38b3c1461030357806318160ddd1461032c57806323b872dd1461035757806324a6ab0c146103805780632eb4a7ab146103ab57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c600480360381019061025791906131f0565b6108ce565b6040516102699190613238565b60405180910390f35b34801561027e57600080fd5b506102876109b0565b60405161029491906132ec565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613344565b610a42565b6040516102d191906133b2565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc91906133f9565b610abe565b005b34801561030f57600080fd5b5061032a60048036038101906103259190613465565b610bc3565b005b34801561033857600080fd5b50610341610c5c565b60405161034e91906134a1565b60405180910390f35b34801561036357600080fd5b5061037e600480360381019061037991906134bc565b610c73565b005b34801561038c57600080fd5b50610395610c83565b6040516103a291906134a1565b60405180910390f35b3480156103b757600080fd5b506103c0610c89565b6040516103cd9190613528565b60405180910390f35b3480156103e257600080fd5b506103fd60048036038101906103f89190613465565b610c8f565b005b610407610d28565b005b34801561041557600080fd5b5061041e610e1d565b60405161042b919061355f565b60405180910390f35b34801561044057600080fd5b5061045b600480360381019061045691906134bc565b610e30565b005b34801561046957600080fd5b50610472610e50565b60405161047f91906134a1565b60405180910390f35b34801561049457600080fd5b506104af60048036038101906104aa91906136af565b610e56565b005b3480156104bd57600080fd5b506104c6610eec565b6040516104d39190613238565b60405180910390f35b3480156104e857600080fd5b506104f1610eff565b005b3480156104ff57600080fd5b50610508610f85565b6040516105159190613238565b60405180910390f35b34801561052a57600080fd5b5061054560048036038101906105409190613344565b610f98565b60405161055291906133b2565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d91906136f8565b610fae565b60405161058f91906134a1565b60405180910390f35b3480156105a457600080fd5b506105ad610fdd565b6040516105ba91906132ec565b60405180910390f35b6105dd60048036038101906105d89190613751565b61106b565b005b3480156105eb57600080fd5b50610606600480360381019061060191906136f8565b6112e0565b60405161061391906134a1565b60405180910390f35b34801561062857600080fd5b506106316113b0565b005b34801561063f57600080fd5b50610648611438565b60405161065591906133b2565b60405180910390f35b34801561066a57600080fd5b50610673611462565b60405161068091906132ec565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab91906137de565b6114f4565b005b3480156106be57600080fd5b506106c761175e565b6040516106d491906134a1565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff91906136af565b611764565b005b34801561071257600080fd5b5061072d6004803603810190610728919061382b565b6117fa565b005b34801561073b57600080fd5b50610744611972565b60405161075191906132ec565b60405180910390f35b34801561076657600080fd5b50610781600480360381019061077c919061390c565b611a00565b005b34801561078f57600080fd5b506107aa60048036038101906107a591906139bb565b611a78565b005b3480156107b857600080fd5b506107d360048036038101906107ce9190613344565b611b06565b6040516107e091906132ec565b60405180910390f35b3480156107f557600080fd5b506107fe611c5c565b60405161080b91906134a1565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190613465565b611c62565b005b34801561084957600080fd5b50610864600480360381019061085f91906139fb565b611cfb565b6040516108719190613238565b60405180910390f35b34801561088657600080fd5b506108a1600480360381019061089c91906136f8565b611d8f565b005b3480156108af57600080fd5b506108b8611e87565b6040516108c59190613238565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a957506109a882611e9a565b5b9050919050565b6060600280546109bf90613a6a565b80601f01602080910402602001604051908101604052809291908181526020018280546109eb90613a6a565b8015610a385780601f10610a0d57610100808354040283529160200191610a38565b820191906000526020600020905b815481529060010190602001808311610a1b57829003601f168201915b5050505050905090565b6000610a4d82611f04565b610a83576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac982610f98565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b31576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b50611f52565b73ffffffffffffffffffffffffffffffffffffffff1614610bb357610b7c81610b77611f52565b611cfb565b610bb2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610bbe838383611f5a565b505050565b610bcb611f52565b73ffffffffffffffffffffffffffffffffffffffff16610be9611438565b73ffffffffffffffffffffffffffffffffffffffff1614610c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3690613ae8565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000610c6661200c565b6001546000540303905090565b610c7e838383612015565b505050565b600b5481565b600e5481565b610c97611f52565b73ffffffffffffffffffffffffffffffffffffffff16610cb5611438565b73ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0290613ae8565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b610d30611f52565b73ffffffffffffffffffffffffffffffffffffffff16610d4e611438565b73ffffffffffffffffffffffffffffffffffffffff1614610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b90613ae8565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610dca90613b39565b60006040518083038185875af1925050503d8060008114610e07576040519150601f19603f3d011682016040523d82523d6000602084013e610e0c565b606091505b5050905080610e1a57600080fd5b50565b600a60009054906101000a900460ff1681565b610e4b83838360405180602001604052806000815250611a00565b505050565b600d5481565b610e5e611f52565b73ffffffffffffffffffffffffffffffffffffffff16610e7c611438565b73ffffffffffffffffffffffffffffffffffffffff1614610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec990613ae8565b60405180910390fd5b8060109080519060200190610ee892919061309e565b5050565b600f60029054906101000a900460ff1681565b610f07611f52565b73ffffffffffffffffffffffffffffffffffffffff16610f25611438565b73ffffffffffffffffffffffffffffffffffffffff1614610f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7290613ae8565b60405180910390fd5b6000600981905550565b600f60009054906101000a900460ff1681565b6000610fa3826124cb565b600001519050919050565b6000610fb982612756565b600a60009054906101000a900460ff1660ff16610fd69190613b7d565b9050919050565b60118054610fea90613a6a565b80601f016020809104026020016040519081016040528092919081815260200182805461101690613a6a565b80156110635780601f1061103857610100808354040283529160200191611063565b820191906000526020600020905b81548152906001019060200180831161104657829003601f168201915b505050505081565b8060ff1660095461107c9190613bb1565b3410156110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b590613c57565b60405180910390fd5b600f60009054906101000a900460ff161561110e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110590613cc3565b60405180910390fd5b600a60009054906101000a900460ff1660ff1661112a33612756565b8260ff166111389190613ce3565b1115611179576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117090613d85565b60405180910390fd5b600c548160ff166111886127c0565b6111929190613ce3565b11156111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90613df1565b60405180910390fd5b60006009541480156111f8575060001515600f60019054906101000a900460ff161515145b8061125457506000600954148015611223575060011515600f60019054906101000a900460ff161515145b80156112535750600d54600c5461123a9190613b7d565b8160ff166112466127c0565b6112509190613ce3565b11155b5b80611291575060006009541180156112905750600b54600c546112779190613b7d565b8160ff166112836127c0565b61128d9190613ce3565b11155b5b6112d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c790613e5d565b60405180910390fd5b6112dd338260ff166127d3565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611348576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113b8611f52565b73ffffffffffffffffffffffffffffffffffffffff166113d6611438565b73ffffffffffffffffffffffffffffffffffffffff161461142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390613ae8565b60405180910390fd5b61143660006127f1565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461147190613a6a565b80601f016020809104026020016040519081016040528092919081815260200182805461149d90613a6a565b80156114ea5780601f106114bf576101008083540402835291602001916114ea565b820191906000526020600020905b8154815290600101906020018083116114cd57829003601f168201915b5050505050905090565b600f60009054906101000a900460ff1615611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90613cc3565b60405180910390fd5b60011515600f60019054906101000a900460ff16151514801561156957506000600954145b6115a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159f90613ec9565b60405180910390fd5b600a60009054906101000a900460ff1660ff166115c433612756565b600a60009054906101000a900460ff1660ff166115e19190613ce3565b1115611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990613d85565b60405180910390fd5b600c54600a60009054906101000a900460ff1660ff166116406127c0565b61164a9190613ce3565b111561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290613df1565b60405180910390fd5b6116ff828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54336040516020016116e49190613f31565b604051602081830303815290604052805190602001206128b7565b61173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590613f98565b60405180910390fd5b61175a33600a60009054906101000a900460ff1660ff166127d3565b5050565b60095481565b61176c611f52565b73ffffffffffffffffffffffffffffffffffffffff1661178a611438565b73ffffffffffffffffffffffffffffffffffffffff16146117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d790613ae8565b60405180910390fd5b80601190805190602001906117f692919061309e565b5050565b611802611f52565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611867576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611874611f52565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611921611f52565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119669190613238565b60405180910390a35050565b6010805461197f90613a6a565b80601f01602080910402602001604051908101604052809291908181526020018280546119ab90613a6a565b80156119f85780601f106119cd576101008083540402835291602001916119f8565b820191906000526020600020905b8154815290600101906020018083116119db57829003601f168201915b505050505081565b611a0b848484612015565b611a2a8373ffffffffffffffffffffffffffffffffffffffff166128ce565b15611a7257611a3b848484846128f1565b611a71576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611a80611f52565b73ffffffffffffffffffffffffffffffffffffffff16611a9e611438565b73ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb90613ae8565b60405180910390fd5b81600e8190555080600d819055505050565b6060611b1182611f04565b611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4790614004565b60405180910390fd5b60001515600f60029054906101000a900460ff1615151415611bfe5760108054611b7990613a6a565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba590613a6a565b8015611bf25780601f10611bc757610100808354040283529160200191611bf2565b820191906000526020600020905b815481529060010190602001808311611bd557829003601f168201915b50505050509050611c57565b6000611c08612a51565b90506000815111611c285760405180602001604052806000815250611c53565b80611c3284612ae3565b604051602001611c43929190614060565b6040516020818303038152906040525b9150505b919050565b600c5481565b611c6a611f52565b73ffffffffffffffffffffffffffffffffffffffff16611c88611438565b73ffffffffffffffffffffffffffffffffffffffff1614611cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd590613ae8565b60405180910390fd5b80600f60026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d97611f52565b73ffffffffffffffffffffffffffffffffffffffff16611db5611438565b73ffffffffffffffffffffffffffffffffffffffff1614611e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0290613ae8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e72906140f6565b60405180910390fd5b611e84816127f1565b50565b600f60019054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611f0f61200c565b11158015611f1e575060005482105b8015611f4b575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612020826124cb565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461208b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166120ac611f52565b73ffffffffffffffffffffffffffffffffffffffff1614806120db57506120da856120d5611f52565b611cfb565b5b8061212057506120e9611f52565b73ffffffffffffffffffffffffffffffffffffffff1661210884610a42565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612159576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121c0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121cd8585856001612c44565b6121d960008487611f5a565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561245957600054821461245857878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124c48585856001612c4a565b5050505050565b6124d3613124565b6000829050806124e161200c565b1161271f5760005481101561271e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161271c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612600578092505050612751565b5b60011561271b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612716578092505050612751565b612601565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b60006127ca61200c565b60005403905090565b6127ed828260405180602001604052806000815250612c50565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826128c48584613012565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612917611f52565b8786866040518563ffffffff1660e01b8152600401612939949392919061416b565b602060405180830381600087803b15801561295357600080fd5b505af192505050801561298457506040513d601f19601f8201168201806040525081019061298191906141cc565b60015b6129fe573d80600081146129b4576040519150601f19603f3d011682016040523d82523d6000602084013e6129b9565b606091505b506000815114156129f6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060118054612a6090613a6a565b80601f0160208091040260200160405190810160405280929190818152602001828054612a8c90613a6a565b8015612ad95780601f10612aae57610100808354040283529160200191612ad9565b820191906000526020600020905b815481529060010190602001808311612abc57829003601f168201915b5050505050905090565b60606000821415612b2b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c3f565b600082905060005b60008214612b5d578080612b46906141f9565b915050600a82612b569190614271565b9150612b33565b60008167ffffffffffffffff811115612b7957612b78613584565b5b6040519080825280601f01601f191660200182016040528015612bab5781602001600182028036833780820191505090505b5090505b60008514612c3857600182612bc49190613b7d565b9150600a85612bd391906142a2565b6030612bdf9190613ce3565b60f81b818381518110612bf557612bf46142d3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c319190614271565b9450612baf565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612cbd576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415612cf8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d056000858386612c44565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612ec68673ffffffffffffffffffffffffffffffffffffffff166128ce565b15612f8b575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f3b60008784806001019550876128f1565b612f71576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612ecc578260005414612f8657600080fd5b612ff6565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f8c575b81600081905550505061300c6000858386612c4a565b50505050565b60008082905060005b845181101561307c576000858281518110613039576130386142d3565b5b6020026020010151905080831161305b576130548382613087565b9250613068565b6130658184613087565b92505b508080613074906141f9565b91505061301b565b508091505092915050565b600082600052816020526040600020905092915050565b8280546130aa90613a6a565b90600052602060002090601f0160209004810192826130cc5760008555613113565b82601f106130e557805160ff1916838001178555613113565b82800160010185558215613113579182015b828111156131125782518255916020019190600101906130f7565b5b5090506131209190613167565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613180576000816000905550600101613168565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131cd81613198565b81146131d857600080fd5b50565b6000813590506131ea816131c4565b92915050565b6000602082840312156132065761320561318e565b5b6000613214848285016131db565b91505092915050565b60008115159050919050565b6132328161321d565b82525050565b600060208201905061324d6000830184613229565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561328d578082015181840152602081019050613272565b8381111561329c576000848401525b50505050565b6000601f19601f8301169050919050565b60006132be82613253565b6132c8818561325e565b93506132d881856020860161326f565b6132e1816132a2565b840191505092915050565b6000602082019050818103600083015261330681846132b3565b905092915050565b6000819050919050565b6133218161330e565b811461332c57600080fd5b50565b60008135905061333e81613318565b92915050565b60006020828403121561335a5761335961318e565b5b60006133688482850161332f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061339c82613371565b9050919050565b6133ac81613391565b82525050565b60006020820190506133c760008301846133a3565b92915050565b6133d681613391565b81146133e157600080fd5b50565b6000813590506133f3816133cd565b92915050565b600080604083850312156134105761340f61318e565b5b600061341e858286016133e4565b925050602061342f8582860161332f565b9150509250929050565b6134428161321d565b811461344d57600080fd5b50565b60008135905061345f81613439565b92915050565b60006020828403121561347b5761347a61318e565b5b600061348984828501613450565b91505092915050565b61349b8161330e565b82525050565b60006020820190506134b66000830184613492565b92915050565b6000806000606084860312156134d5576134d461318e565b5b60006134e3868287016133e4565b93505060206134f4868287016133e4565b92505060406135058682870161332f565b9150509250925092565b6000819050919050565b6135228161350f565b82525050565b600060208201905061353d6000830184613519565b92915050565b600060ff82169050919050565b61355981613543565b82525050565b60006020820190506135746000830184613550565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135bc826132a2565b810181811067ffffffffffffffff821117156135db576135da613584565b5b80604052505050565b60006135ee613184565b90506135fa82826135b3565b919050565b600067ffffffffffffffff82111561361a57613619613584565b5b613623826132a2565b9050602081019050919050565b82818337600083830152505050565b600061365261364d846135ff565b6135e4565b90508281526020810184848401111561366e5761366d61357f565b5b613679848285613630565b509392505050565b600082601f8301126136965761369561357a565b5b81356136a684826020860161363f565b91505092915050565b6000602082840312156136c5576136c461318e565b5b600082013567ffffffffffffffff8111156136e3576136e2613193565b5b6136ef84828501613681565b91505092915050565b60006020828403121561370e5761370d61318e565b5b600061371c848285016133e4565b91505092915050565b61372e81613543565b811461373957600080fd5b50565b60008135905061374b81613725565b92915050565b6000602082840312156137675761376661318e565b5b60006137758482850161373c565b91505092915050565b600080fd5b600080fd5b60008083601f84011261379e5761379d61357a565b5b8235905067ffffffffffffffff8111156137bb576137ba61377e565b5b6020830191508360208202830111156137d7576137d6613783565b5b9250929050565b600080602083850312156137f5576137f461318e565b5b600083013567ffffffffffffffff81111561381357613812613193565b5b61381f85828601613788565b92509250509250929050565b600080604083850312156138425761384161318e565b5b6000613850858286016133e4565b925050602061386185828601613450565b9150509250929050565b600067ffffffffffffffff82111561388657613885613584565b5b61388f826132a2565b9050602081019050919050565b60006138af6138aa8461386b565b6135e4565b9050828152602081018484840111156138cb576138ca61357f565b5b6138d6848285613630565b509392505050565b600082601f8301126138f3576138f261357a565b5b813561390384826020860161389c565b91505092915050565b600080600080608085870312156139265761392561318e565b5b6000613934878288016133e4565b9450506020613945878288016133e4565b93505060406139568782880161332f565b925050606085013567ffffffffffffffff81111561397757613976613193565b5b613983878288016138de565b91505092959194509250565b6139988161350f565b81146139a357600080fd5b50565b6000813590506139b58161398f565b92915050565b600080604083850312156139d2576139d161318e565b5b60006139e0858286016139a6565b92505060206139f18582860161332f565b9150509250929050565b60008060408385031215613a1257613a1161318e565b5b6000613a20858286016133e4565b9250506020613a31858286016133e4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a8257607f821691505b60208210811415613a9657613a95613a3b565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ad260208361325e565b9150613add82613a9c565b602082019050919050565b60006020820190508181036000830152613b0181613ac5565b9050919050565b600081905092915050565b50565b6000613b23600083613b08565b9150613b2e82613b13565b600082019050919050565b6000613b4482613b16565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b888261330e565b9150613b938361330e565b925082821015613ba657613ba5613b4e565b5b828203905092915050565b6000613bbc8261330e565b9150613bc78361330e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c0057613bff613b4e565b5b828202905092915050565b7f496e737566666963656e74207061796d656e7400000000000000000000000000600082015250565b6000613c4160138361325e565b9150613c4c82613c0b565b602082019050919050565b60006020820190508181036000830152613c7081613c34565b9050919050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b6000613cad60068361325e565b9150613cb882613c77565b602082019050919050565b60006020820190508181036000830152613cdc81613ca0565b9050919050565b6000613cee8261330e565b9150613cf98361330e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d2e57613d2d613b4e565b5b828201905092915050565b7f416c6c6f77616e63652065786365656465640000000000000000000000000000600082015250565b6000613d6f60128361325e565b9150613d7a82613d39565b602082019050919050565b60006020820190508181036000830152613d9e81613d62565b9050919050565b7f4e6f206d6f72652072656d61696e000000000000000000000000000000000000600082015250565b6000613ddb600e8361325e565b9150613de682613da5565b602082019050919050565b60006020820190508181036000830152613e0a81613dce565b9050919050565b7f4e6f20737570706c7920617661696c61626c6500000000000000000000000000600082015250565b6000613e4760138361325e565b9150613e5282613e11565b602082019050919050565b60006020820190508181036000830152613e7681613e3a565b9050919050565b7f496e76616c696420636c61696d20706572696f64000000000000000000000000600082015250565b6000613eb360148361325e565b9150613ebe82613e7d565b602082019050919050565b60006020820190508181036000830152613ee281613ea6565b9050919050565b60008160601b9050919050565b6000613f0182613ee9565b9050919050565b6000613f1382613ef6565b9050919050565b613f2b613f2682613391565b613f08565b82525050565b6000613f3d8284613f1a565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000613f82600d8361325e565b9150613f8d82613f4c565b602082019050919050565b60006020820190508181036000830152613fb181613f75565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b6000613fee60148361325e565b9150613ff982613fb8565b602082019050919050565b6000602082019050818103600083015261401d81613fe1565b9050919050565b600081905092915050565b600061403a82613253565b6140448185614024565b935061405481856020860161326f565b80840191505092915050565b600061406c828561402f565b9150614078828461402f565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140e060268361325e565b91506140eb82614084565b604082019050919050565b6000602082019050818103600083015261410f816140d3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061413d82614116565b6141478185614121565b935061415781856020860161326f565b614160816132a2565b840191505092915050565b600060808201905061418060008301876133a3565b61418d60208301866133a3565b61419a6040830185613492565b81810360608301526141ac8184614132565b905095945050505050565b6000815190506141c6816131c4565b92915050565b6000602082840312156141e2576141e161318e565b5b60006141f0848285016141b7565b91505092915050565b60006142048261330e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561423757614236613b4e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061427c8261330e565b91506142878361330e565b92508261429757614296614242565b5b828204905092915050565b60006142ad8261330e565b91506142b88361330e565b9250826142c8576142c7614242565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220690824d2aeda86b95e34fe6967fa958c62f85a26114cbaf479e3d1d19fd1db5464736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000271000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000000005

-----Decoded View---------------
Arg [0] : _maxSupply (uint256): 10000
Arg [1] : _freeSupply (uint256): 5000
Arg [2] : _mintsPerWallet (uint8): 5

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005


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.