ETH Price: $3,108.08 (+1.16%)
Gas: 8 Gwei

Token

GamblingGnomes (GG)
 

Overview

Max Total Supply

1,511 GG

Holders

271

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 GG
0x2d96122ba2364af5cecba41771ce94cee2981013
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:
GamblingGnomes

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

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

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract GamblingGnomes is ERC721A, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    uint256 private _maxTokens = 8888;
    uint256 public _price = 150000000000000000; // .15 ETH
    uint256 public _presale_price = 100000000000000000; // .1 ETH
    uint256 public _withdraw_cuttoff = 125000000000000000000; // 125 ETH, will change before mint
    uint256 public _max_whitelist_mint = 10; // can be changed

    bool private _saleActive = false;
    bool private _presaleActive = false;
    bool private _presale2Active = false;

    string public _prefixURI;

    mapping(address => bool) private _whitelist;

    constructor() ERC721A("GamblingGnomes", "GG") 
    {
    }


    //view functions
    function _baseURI() internal view override returns (string memory) {
        return _prefixURI;
    }

    function Sale() public view returns (bool) {
        return _saleActive;
    }

    function preSale() public view returns (bool) {
        return _presaleActive;
    }

    function preSale2() public view returns (bool) {
        return _presale2Active;
    }

    function numSold() public view returns (uint256) {
        return totalSupply();
    }

    function displayMax() public view returns (uint256) {
        return _maxTokens;
    }

    function isWhitelisted(address _addr) public view returns (bool) {
        return _whitelist[_addr];
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId));

        string memory baseURI = _baseURI();
        return
            bytes(baseURI).length > 0
                ? string(
                    abi.encodePacked(
                        baseURI,
                        Strings.toString(tokenId),
                        ".json"
                    )
                )
                : "";
    } 

    //variable changing functions

    function changeMax(uint256 _newMax) public onlyOwner {
        _maxTokens = _newMax;
    }

    function changeWhitelistMaxMint(uint256 _newMax) public onlyOwner {
        _max_whitelist_mint = _newMax;
    }

    function toggleSale() public onlyOwner {
        _saleActive = !_saleActive;
    }

    function togglePreSale() public onlyOwner {
        _presaleActive = !_presaleActive;
    }

    function togglePreSale2() public onlyOwner {
        _presale2Active = !_presale2Active;
    }

    function setBaseURI(string memory _uri) public onlyOwner {
        _prefixURI = _uri;
    }

    function changePrice(uint256 _newPrice) public onlyOwner {
        _price = _newPrice;
    }


    function changeCutoffWithdrawal(uint256 _newWithdrawalLevel) public onlyOwner {
        _withdraw_cuttoff = _newWithdrawalLevel;
    }

    function changePresalePrice(uint256 _newPrice) public onlyOwner {
        _presale_price = _newPrice;
    }

    function whiteListMany(address[] memory accounts) external onlyOwner {
        for (uint256 i; i < accounts.length; i++) {
            _whitelist[accounts[i]] = true;
        }
    }

    //onlyOwner contract interactions

    function mintTo(uint256 quantity, address _addr) public onlyOwner {
        _safeMint(_addr, quantity);
    }

    function withdraw_costs() external onlyOwner {
        uint256 balance = address(this).balance;
        if (balance < _withdraw_cuttoff) {
            payable(0x1cDA7dc869DfA0558A3d305E04B1D31b08c211CD).transfer(balance);
        }
        else {
            payable(0x1cDA7dc869DfA0558A3d305E04B1D31b08c211CD).transfer(_withdraw_cuttoff);
        }

    }

    function withdraw_all() external onlyOwner {
        uint256 balance = address(this).balance;
        //divides the withdraw between everybody
        payable(0x1cDA7dc869DfA0558A3d305E04B1D31b08c211CD).transfer(balance * 37 * 100 / 10000);
        payable(0x1cDA7dc869DfA0558A3d305E04B1D31b08c211CD).transfer(balance * 5  * 10  / 10000);
        payable(0xffE54F84FA4a3B608da61772ffBf9e2fb2b34118).transfer(balance * 7  * 100 / 10000);
        payable(0x5f06ae58d89E2Ccd63dE09815905BF23183004aA).transfer(balance * 4  * 100 / 10000);
        payable(0x9aDFA29c4c8ffCC999bCE70022fD2494B21ab246).transfer(balance * 4  * 100 / 10000);
        payable(0xd2337113Bed666A3eB620b5B5f41f41A41Ba8C78).transfer(balance * 1  * 125 / 10000);
        payable(0x6EC619b6E5c7c1729427E67F3bAeA486F783B10B).transfer(balance * 2  * 100 / 10000);
        payable(0x112951cc13146B7e763b30C2ECb1D24D361760e3).transfer(balance * 3  * 100 / 10000);
        payable(0xD789Ed8E2D52452e081D038db5593151Cd354c29).transfer(balance * 1  * 100 / 10000);
        payable(0x2C1ED4dC9A3D0Daa1abb7313b75D0DB8542B440E).transfer(balance * 12 * 100 / 10000);
        payable(0x1B72813EE4e7782A159B85363C38332C144E029F).transfer(balance * 2  * 100 / 10000);
        payable(0x3731b157dEbE2036a91f7bb56bB4FE8969d5aAD1).transfer(balance * 5  * 100 / 10000);
        payable(0xD33a1db21052e5A54b277cABA21f8af9e6569649).transfer(balance * 5  * 100 / 10000);
        payable(0x3024B86C1694E4Ac29020aBE446e60B167a97f67).transfer(balance * 7  * 100 / 10000);
        payable(0x9D406b36E42624Dab427494815f3eEb1BEBc9534).transfer(balance * 1  * 25  / 10000);
        payable(0xA0BDF0C51B8d4B43b73248fdc57630c0Ba3CDCba).transfer(balance * 5  * 100 / 10000);
        payable(0x5d7021Fb68E2fe84c876A4b53A5A5B3e9808CD1D).transfer(balance * 1  * 100 / 10000);
        payable(0x3f3E2cd2c8aBc828Bce1b667cB6322AC9d8086c8).transfer(balance * 1  * 250 / 10000);
        payable(0x31a18677d2619350B53D1436a74DFDFf07513A6f).transfer(balance * 5  * 10  / 10000);
    }

    //minting functionality

    function mintItems(uint256 amount) public payable {
        require(_saleActive);
        uint256 totalMinted = totalSupply();
        require(totalMinted + amount <= _maxTokens);
        require(msg.value >= amount * _price);
        _safeMint(_msgSender(), amount);
    }

    function presaleMintItems(uint256 amount) public payable {
        require(_presaleActive);
        require(_whitelist[_msgSender()], "Mint: Unauthorized Access");
        require(amount <= _max_whitelist_mint, "Mint: You may only mint up to 10");

        uint256 totalMinted = totalSupply();
        require(totalMinted + amount <= _maxTokens);

        require(msg.value >= amount * _presale_price);

        _safeMint(_msgSender(), amount);
        _whitelist[_msgSender()] = false;
    }

    function presaleMintItemz(uint256 amount) public payable {
        require(_presale2Active);
        require(amount <= 10, "Mint: You may only mint up to 10");
        _safeMint(_msgSender(), amount);
    }


}

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 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

File 8 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 9 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 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 v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 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":[],"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":[],"name":"Sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_max_whitelist_mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_prefixURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_presale_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_withdraw_cuttoff","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newWithdrawalLevel","type":"uint256"}],"name":"changeCutoffWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"changeMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"changePresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"changeWhitelistMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"displayMax","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":[{"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":[{"internalType":"address","name":"_addr","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintItems","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"_addr","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"preSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSale2","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"presaleMintItems","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"presaleMintItemz","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePreSale2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"whiteListMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw_all","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw_costs","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526122b8600a55670214e8348c4f0000600b5567016345785d8a0000600c556806c6b935b8bbd40000600d55600a600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055503480156200009257600080fd5b506040518060400160405280600e81526020017f47616d626c696e67476e6f6d65730000000000000000000000000000000000008152506040518060400160405280600281526020017f474700000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200011792919062000242565b5080600390805190602001906200013092919062000242565b50620001416200016f60201b60201c565b6000819055505050620001696200015d6200017460201b60201c565b6200017c60201b60201c565b62000357565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002509062000321565b90600052602060002090601f016020900481019282620002745760008555620002c0565b82601f106200028f57805160ff1916838001178555620002c0565b82800160010185558215620002c0579182015b82811115620002bf578251825591602001919060010190620002a2565b5b509050620002cf9190620002d3565b5090565b5b80821115620002ee576000816000905550600101620002d4565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200033a57607f821691505b60208210811415620003515762000350620002f2565b5b50919050565b6148ad80620003676000396000f3fe6080604052600436106102675760003560e01c806370a0823111610144578063b78f9de7116100b6578063ca3cb5221161007a578063ca3cb522146108a3578063dd473d2b146108ba578063e43ec5f0146108d1578063e985e9c5146108fc578063f2fde38b14610939578063f309455a1461096257610267565b8063b78f9de7146107cb578063b88d4fde146107f6578063bc4d01ea1461081f578063bd1a5c7a1461084a578063c87b56dd1461086657610267565b806391860f781161010857806391860f78146106e357806395d89b411461070e578063a22cb46514610739578063a2b40d1914610762578063a8904abb1461078b578063b723b34e146107a257610267565b806370a0823114610624578063715018a6146106615780637d8966e4146106785780638606d9381461068f5780638da5cb5b146106b857610267565b80633af32abf116101dd57806355f804b3116101a157806355f804b3146105285780635a7adf7f146105515780635c909bf41461057c5780636197180b146105a7578063625b3ef7146105d05780636352211e146105e757610267565b80633af32abf1461045457806342842e0e1461049157806343d67565146104ba5780634ea9d913146104e35780635367de6a1461050c57610267565b806311a88e051161022f57806311a88e0514610356578063121dbc311461038157806315e56952146103aa57806318160ddd146103d5578063235b6ea11461040057806323b872dd1461042b57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b3146103115780630b4b98781461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613af8565b61098d565b6040516102a09190613b40565b60405180910390f35b3480156102b557600080fd5b506102be610a6f565b6040516102cb9190613bf4565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613c4c565b610b01565b6040516103089190613cba565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613d01565b610b7d565b005b610354600480360381019061034f9190613c4c565b610c82565b005b34801561036257600080fd5b5061036b610e27565b6040516103789190613b40565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190613c4c565b610e3e565b005b3480156103b657600080fd5b506103bf610ec4565b6040516103cc9190613d50565b60405180910390f35b3480156103e157600080fd5b506103ea610ece565b6040516103f79190613d50565b60405180910390f35b34801561040c57600080fd5b50610415610ee5565b6040516104229190613d50565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613d6b565b610eeb565b005b34801561046057600080fd5b5061047b60048036038101906104769190613dbe565b610efb565b6040516104889190613b40565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b39190613d6b565b610f51565b005b3480156104c657600080fd5b506104e160048036038101906104dc9190613f33565b610f71565b005b3480156104ef57600080fd5b5061050a60048036038101906105059190613c4c565b611082565b005b61052660048036038101906105219190613c4c565b611108565b005b34801561053457600080fd5b5061054f600480360381019061054a9190614031565b611176565b005b34801561055d57600080fd5b5061056661120c565b6040516105739190613b40565b60405180910390f35b34801561058857600080fd5b50610591611223565b60405161059e9190613d50565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c99190613c4c565b611229565b005b3480156105dc57600080fd5b506105e56112af565b005b3480156105f357600080fd5b5061060e60048036038101906106099190613c4c565b6113fb565b60405161061b9190613cba565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613dbe565b611411565b6040516106589190613d50565b60405180910390f35b34801561066d57600080fd5b506106766114e1565b005b34801561068457600080fd5b5061068d611569565b005b34801561069b57600080fd5b506106b660048036038101906106b19190613c4c565b611611565b005b3480156106c457600080fd5b506106cd611697565b6040516106da9190613cba565b60405180910390f35b3480156106ef57600080fd5b506106f86116c1565b6040516107059190613bf4565b60405180910390f35b34801561071a57600080fd5b5061072361174f565b6040516107309190613bf4565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b91906140a6565b6117e1565b005b34801561076e57600080fd5b5061078960048036038101906107849190613c4c565b611959565b005b34801561079757600080fd5b506107a06119df565b005b3480156107ae57600080fd5b506107c960048036038101906107c491906140e6565b611a87565b005b3480156107d757600080fd5b506107e0611b11565b6040516107ed9190613b40565b60405180910390f35b34801561080257600080fd5b5061081d600480360381019061081891906141c7565b611b28565b005b34801561082b57600080fd5b50610834611ba0565b6040516108419190613d50565b60405180910390f35b610864600480360381019061085f9190613c4c565b611ba6565b005b34801561087257600080fd5b5061088d60048036038101906108889190613c4c565b611c17565b60405161089a9190613bf4565b60405180910390f35b3480156108af57600080fd5b506108b8611c88565b005b3480156108c657600080fd5b506108cf611d30565b005b3480156108dd57600080fd5b506108e6612734565b6040516108f39190613d50565b60405180910390f35b34801561090857600080fd5b50610923600480360381019061091e919061424a565b61273a565b6040516109309190613b40565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b9190613dbe565b6127ce565b005b34801561096e57600080fd5b506109776128c6565b6040516109849190613d50565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a5857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a685750610a67826128d5565b5b9050919050565b606060028054610a7e906142b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610aaa906142b9565b8015610af75780601f10610acc57610100808354040283529160200191610af7565b820191906000526020600020905b815481529060010190602001808311610ada57829003601f168201915b5050505050905090565b6000610b0c8261293f565b610b42576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b88826113fb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf0576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c0f61298d565b73ffffffffffffffffffffffffffffffffffffffff1614610c7257610c3b81610c3661298d565b61273a565b610c71576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610c7d838383612995565b505050565b600f60019054906101000a900460ff16610c9b57600080fd5b60116000610ca761298d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590614337565b60405180910390fd5b600e54811115610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a906143a3565b60405180910390fd5b6000610d7d610ece565b9050600a548282610d8e91906143f2565b1115610d9957600080fd5b600c5482610da79190614448565b341015610db357600080fd5b610dc4610dbe61298d565b83612a47565b600060116000610dd261298d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600f60029054906101000a900460ff16905090565b610e4661298d565b73ffffffffffffffffffffffffffffffffffffffff16610e64611697565b73ffffffffffffffffffffffffffffffffffffffff1614610eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb1906144ee565b60405180910390fd5b80600a8190555050565b6000600a54905090565b6000610ed8612a65565b6001546000540303905090565b600b5481565b610ef6838383612a6a565b505050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610f6c83838360405180602001604052806000815250611b28565b505050565b610f7961298d565b73ffffffffffffffffffffffffffffffffffffffff16610f97611697565b73ffffffffffffffffffffffffffffffffffffffff1614610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe4906144ee565b60405180910390fd5b60005b815181101561107e576001601160008484815181106110125761101161450e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806110769061453d565b915050610ff0565b5050565b61108a61298d565b73ffffffffffffffffffffffffffffffffffffffff166110a8611697565b73ffffffffffffffffffffffffffffffffffffffff16146110fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f5906144ee565b60405180910390fd5b80600d8190555050565b600f60009054906101000a900460ff1661112157600080fd5b600061112b610ece565b9050600a54828261113c91906143f2565b111561114757600080fd5b600b54826111559190614448565b34101561116157600080fd5b61117261116c61298d565b83612a47565b5050565b61117e61298d565b73ffffffffffffffffffffffffffffffffffffffff1661119c611697565b73ffffffffffffffffffffffffffffffffffffffff16146111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e9906144ee565b60405180910390fd5b80601090805190602001906112089291906139a6565b5050565b6000600f60019054906101000a900460ff16905090565b600c5481565b61123161298d565b73ffffffffffffffffffffffffffffffffffffffff1661124f611697565b73ffffffffffffffffffffffffffffffffffffffff16146112a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129c906144ee565b60405180910390fd5b80600e8190555050565b6112b761298d565b73ffffffffffffffffffffffffffffffffffffffff166112d5611697565b73ffffffffffffffffffffffffffffffffffffffff161461132b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611322906144ee565b60405180910390fd5b6000479050600d5481101561139a57731cda7dc869dfa0558a3d305e04b1d31b08c211cd73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611394573d6000803e3d6000fd5b506113f8565b731cda7dc869dfa0558a3d305e04b1d31b08c211cd73ffffffffffffffffffffffffffffffffffffffff166108fc600d549081150290604051600060405180830381858888f193505050501580156113f6573d6000803e3d6000fd5b505b50565b600061140682612f20565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611479576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114e961298d565b73ffffffffffffffffffffffffffffffffffffffff16611507611697565b73ffffffffffffffffffffffffffffffffffffffff161461155d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611554906144ee565b60405180910390fd5b61156760006131ab565b565b61157161298d565b73ffffffffffffffffffffffffffffffffffffffff1661158f611697565b73ffffffffffffffffffffffffffffffffffffffff16146115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc906144ee565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b61161961298d565b73ffffffffffffffffffffffffffffffffffffffff16611637611697565b73ffffffffffffffffffffffffffffffffffffffff161461168d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611684906144ee565b60405180910390fd5b80600c8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601080546116ce906142b9565b80601f01602080910402602001604051908101604052809291908181526020018280546116fa906142b9565b80156117475780601f1061171c57610100808354040283529160200191611747565b820191906000526020600020905b81548152906001019060200180831161172a57829003601f168201915b505050505081565b60606003805461175e906142b9565b80601f016020809104026020016040519081016040528092919081815260200182805461178a906142b9565b80156117d75780601f106117ac576101008083540402835291602001916117d7565b820191906000526020600020905b8154815290600101906020018083116117ba57829003601f168201915b5050505050905090565b6117e961298d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561184e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061185b61298d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661190861298d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161194d9190613b40565b60405180910390a35050565b61196161298d565b73ffffffffffffffffffffffffffffffffffffffff1661197f611697565b73ffffffffffffffffffffffffffffffffffffffff16146119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc906144ee565b60405180910390fd5b80600b8190555050565b6119e761298d565b73ffffffffffffffffffffffffffffffffffffffff16611a05611697565b73ffffffffffffffffffffffffffffffffffffffff1614611a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a52906144ee565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b611a8f61298d565b73ffffffffffffffffffffffffffffffffffffffff16611aad611697565b73ffffffffffffffffffffffffffffffffffffffff1614611b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afa906144ee565b60405180910390fd5b611b0d8183612a47565b5050565b6000600f60009054906101000a900460ff16905090565b611b33848484612a6a565b611b528373ffffffffffffffffffffffffffffffffffffffff16613271565b15611b9a57611b6384848484613294565b611b99576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600d5481565b600f60029054906101000a900460ff16611bbf57600080fd5b600a811115611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa906143a3565b60405180910390fd5b611c14611c0e61298d565b82612a47565b50565b6060611c228261293f565b611c2b57600080fd5b6000611c356133e5565b90506000815111611c555760405180602001604052806000815250611c80565b80611c5f84613477565b604051602001611c7092919061460e565b6040516020818303038152906040525b915050919050565b611c9061298d565b73ffffffffffffffffffffffffffffffffffffffff16611cae611697565b73ffffffffffffffffffffffffffffffffffffffff1614611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb906144ee565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b611d3861298d565b73ffffffffffffffffffffffffffffffffffffffff16611d56611697565b73ffffffffffffffffffffffffffffffffffffffff1614611dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da3906144ee565b60405180910390fd5b6000479050731cda7dc869dfa0558a3d305e04b1d31b08c211cd73ffffffffffffffffffffffffffffffffffffffff166108fc6127106064602585611df19190614448565b611dfb9190614448565b611e05919061466c565b9081150290604051600060405180830381858888f19350505050158015611e30573d6000803e3d6000fd5b50731cda7dc869dfa0558a3d305e04b1d31b08c211cd73ffffffffffffffffffffffffffffffffffffffff166108fc612710600a600585611e719190614448565b611e7b9190614448565b611e85919061466c565b9081150290604051600060405180830381858888f19350505050158015611eb0573d6000803e3d6000fd5b5073ffe54f84fa4a3b608da61772ffbf9e2fb2b3411873ffffffffffffffffffffffffffffffffffffffff166108fc6127106064600785611ef19190614448565b611efb9190614448565b611f05919061466c565b9081150290604051600060405180830381858888f19350505050158015611f30573d6000803e3d6000fd5b50735f06ae58d89e2ccd63de09815905bf23183004aa73ffffffffffffffffffffffffffffffffffffffff166108fc6127106064600485611f719190614448565b611f7b9190614448565b611f85919061466c565b9081150290604051600060405180830381858888f19350505050158015611fb0573d6000803e3d6000fd5b50739adfa29c4c8ffcc999bce70022fd2494b21ab24673ffffffffffffffffffffffffffffffffffffffff166108fc6127106064600485611ff19190614448565b611ffb9190614448565b612005919061466c565b9081150290604051600060405180830381858888f19350505050158015612030573d6000803e3d6000fd5b5073d2337113bed666a3eb620b5b5f41f41a41ba8c7873ffffffffffffffffffffffffffffffffffffffff166108fc612710607d6001856120719190614448565b61207b9190614448565b612085919061466c565b9081150290604051600060405180830381858888f193505050501580156120b0573d6000803e3d6000fd5b50736ec619b6e5c7c1729427e67f3baea486f783b10b73ffffffffffffffffffffffffffffffffffffffff166108fc61271060646002856120f19190614448565b6120fb9190614448565b612105919061466c565b9081150290604051600060405180830381858888f19350505050158015612130573d6000803e3d6000fd5b5073112951cc13146b7e763b30c2ecb1d24d361760e373ffffffffffffffffffffffffffffffffffffffff166108fc61271060646003856121719190614448565b61217b9190614448565b612185919061466c565b9081150290604051600060405180830381858888f193505050501580156121b0573d6000803e3d6000fd5b5073d789ed8e2d52452e081d038db5593151cd354c2973ffffffffffffffffffffffffffffffffffffffff166108fc61271060646001856121f19190614448565b6121fb9190614448565b612205919061466c565b9081150290604051600060405180830381858888f19350505050158015612230573d6000803e3d6000fd5b50732c1ed4dc9a3d0daa1abb7313b75d0db8542b440e73ffffffffffffffffffffffffffffffffffffffff166108fc6127106064600c856122719190614448565b61227b9190614448565b612285919061466c565b9081150290604051600060405180830381858888f193505050501580156122b0573d6000803e3d6000fd5b50731b72813ee4e7782a159b85363c38332c144e029f73ffffffffffffffffffffffffffffffffffffffff166108fc61271060646002856122f19190614448565b6122fb9190614448565b612305919061466c565b9081150290604051600060405180830381858888f19350505050158015612330573d6000803e3d6000fd5b50733731b157debe2036a91f7bb56bb4fe8969d5aad173ffffffffffffffffffffffffffffffffffffffff166108fc61271060646005856123719190614448565b61237b9190614448565b612385919061466c565b9081150290604051600060405180830381858888f193505050501580156123b0573d6000803e3d6000fd5b5073d33a1db21052e5a54b277caba21f8af9e656964973ffffffffffffffffffffffffffffffffffffffff166108fc61271060646005856123f19190614448565b6123fb9190614448565b612405919061466c565b9081150290604051600060405180830381858888f19350505050158015612430573d6000803e3d6000fd5b50733024b86c1694e4ac29020abe446e60b167a97f6773ffffffffffffffffffffffffffffffffffffffff166108fc61271060646007856124719190614448565b61247b9190614448565b612485919061466c565b9081150290604051600060405180830381858888f193505050501580156124b0573d6000803e3d6000fd5b50739d406b36e42624dab427494815f3eeb1bebc953473ffffffffffffffffffffffffffffffffffffffff166108fc61271060196001856124f19190614448565b6124fb9190614448565b612505919061466c565b9081150290604051600060405180830381858888f19350505050158015612530573d6000803e3d6000fd5b5073a0bdf0c51b8d4b43b73248fdc57630c0ba3cdcba73ffffffffffffffffffffffffffffffffffffffff166108fc61271060646005856125719190614448565b61257b9190614448565b612585919061466c565b9081150290604051600060405180830381858888f193505050501580156125b0573d6000803e3d6000fd5b50735d7021fb68e2fe84c876a4b53a5a5b3e9808cd1d73ffffffffffffffffffffffffffffffffffffffff166108fc61271060646001856125f19190614448565b6125fb9190614448565b612605919061466c565b9081150290604051600060405180830381858888f19350505050158015612630573d6000803e3d6000fd5b50733f3e2cd2c8abc828bce1b667cb6322ac9d8086c873ffffffffffffffffffffffffffffffffffffffff166108fc61271060fa6001856126719190614448565b61267b9190614448565b612685919061466c565b9081150290604051600060405180830381858888f193505050501580156126b0573d6000803e3d6000fd5b507331a18677d2619350b53d1436a74dfdff07513a6f73ffffffffffffffffffffffffffffffffffffffff166108fc612710600a6005856126f19190614448565b6126fb9190614448565b612705919061466c565b9081150290604051600060405180830381858888f19350505050158015612730573d6000803e3d6000fd5b5050565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6127d661298d565b73ffffffffffffffffffffffffffffffffffffffff166127f4611697565b73ffffffffffffffffffffffffffffffffffffffff161461284a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612841906144ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b19061470f565b60405180910390fd5b6128c3816131ab565b50565b60006128d0610ece565b905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161294a612a65565b11158015612959575060005482105b8015612986575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612a618282604051806020016040528060008152506135d8565b5050565b600090565b6000612a7582612f20565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ae0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612b0161298d565b73ffffffffffffffffffffffffffffffffffffffff161480612b305750612b2f85612b2a61298d565b61273a565b5b80612b755750612b3e61298d565b73ffffffffffffffffffffffffffffffffffffffff16612b5d84610b01565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612bae576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c15576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c22858585600161399a565b612c2e60008487612995565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612eae576000548214612ead57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f1985858560016139a0565b5050505050565b612f28613a2c565b600082905080612f36612a65565b1161317457600054811015613173576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161317157600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130555780925050506131a6565b5b60011561317057818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461316b5780925050506131a6565b613056565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132ba61298d565b8786866040518563ffffffff1660e01b81526004016132dc9493929190614784565b6020604051808303816000875af192505050801561331857506040513d601f19601f8201168201806040525081019061331591906147e5565b60015b613392573d8060008114613348576040519150601f19603f3d011682016040523d82523d6000602084013e61334d565b606091505b5060008151141561338a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601080546133f4906142b9565b80601f0160208091040260200160405190810160405280929190818152602001828054613420906142b9565b801561346d5780601f106134425761010080835404028352916020019161346d565b820191906000526020600020905b81548152906001019060200180831161345057829003601f168201915b5050505050905090565b606060008214156134bf576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135d3565b600082905060005b600082146134f15780806134da9061453d565b915050600a826134ea919061466c565b91506134c7565b60008167ffffffffffffffff81111561350d5761350c613df0565b5b6040519080825280601f01601f19166020018201604052801561353f5781602001600182028036833780820191505090505b5090505b600085146135cc576001826135589190614812565b9150600a856135679190614846565b603061357391906143f2565b60f81b8183815181106135895761358861450e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135c5919061466c565b9450613543565b8093505050505b919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613645576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613680576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61368d600085838661399a565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000848201905061384e8673ffffffffffffffffffffffffffffffffffffffff16613271565b15613913575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138c36000878480600101955087613294565b6138f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061385457826000541461390e57600080fd5b61397e565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613914575b81600081905550505061399460008583866139a0565b50505050565b50505050565b50505050565b8280546139b2906142b9565b90600052602060002090601f0160209004810192826139d45760008555613a1b565b82601f106139ed57805160ff1916838001178555613a1b565b82800160010185558215613a1b579182015b82811115613a1a5782518255916020019190600101906139ff565b5b509050613a289190613a6f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613a88576000816000905550600101613a70565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ad581613aa0565b8114613ae057600080fd5b50565b600081359050613af281613acc565b92915050565b600060208284031215613b0e57613b0d613a96565b5b6000613b1c84828501613ae3565b91505092915050565b60008115159050919050565b613b3a81613b25565b82525050565b6000602082019050613b556000830184613b31565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b95578082015181840152602081019050613b7a565b83811115613ba4576000848401525b50505050565b6000601f19601f8301169050919050565b6000613bc682613b5b565b613bd08185613b66565b9350613be0818560208601613b77565b613be981613baa565b840191505092915050565b60006020820190508181036000830152613c0e8184613bbb565b905092915050565b6000819050919050565b613c2981613c16565b8114613c3457600080fd5b50565b600081359050613c4681613c20565b92915050565b600060208284031215613c6257613c61613a96565b5b6000613c7084828501613c37565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ca482613c79565b9050919050565b613cb481613c99565b82525050565b6000602082019050613ccf6000830184613cab565b92915050565b613cde81613c99565b8114613ce957600080fd5b50565b600081359050613cfb81613cd5565b92915050565b60008060408385031215613d1857613d17613a96565b5b6000613d2685828601613cec565b9250506020613d3785828601613c37565b9150509250929050565b613d4a81613c16565b82525050565b6000602082019050613d656000830184613d41565b92915050565b600080600060608486031215613d8457613d83613a96565b5b6000613d9286828701613cec565b9350506020613da386828701613cec565b9250506040613db486828701613c37565b9150509250925092565b600060208284031215613dd457613dd3613a96565b5b6000613de284828501613cec565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e2882613baa565b810181811067ffffffffffffffff82111715613e4757613e46613df0565b5b80604052505050565b6000613e5a613a8c565b9050613e668282613e1f565b919050565b600067ffffffffffffffff821115613e8657613e85613df0565b5b602082029050602081019050919050565b600080fd5b6000613eaf613eaa84613e6b565b613e50565b90508083825260208201905060208402830185811115613ed257613ed1613e97565b5b835b81811015613efb5780613ee78882613cec565b845260208401935050602081019050613ed4565b5050509392505050565b600082601f830112613f1a57613f19613deb565b5b8135613f2a848260208601613e9c565b91505092915050565b600060208284031215613f4957613f48613a96565b5b600082013567ffffffffffffffff811115613f6757613f66613a9b565b5b613f7384828501613f05565b91505092915050565b600080fd5b600067ffffffffffffffff821115613f9c57613f9b613df0565b5b613fa582613baa565b9050602081019050919050565b82818337600083830152505050565b6000613fd4613fcf84613f81565b613e50565b905082815260208101848484011115613ff057613fef613f7c565b5b613ffb848285613fb2565b509392505050565b600082601f83011261401857614017613deb565b5b8135614028848260208601613fc1565b91505092915050565b60006020828403121561404757614046613a96565b5b600082013567ffffffffffffffff81111561406557614064613a9b565b5b61407184828501614003565b91505092915050565b61408381613b25565b811461408e57600080fd5b50565b6000813590506140a08161407a565b92915050565b600080604083850312156140bd576140bc613a96565b5b60006140cb85828601613cec565b92505060206140dc85828601614091565b9150509250929050565b600080604083850312156140fd576140fc613a96565b5b600061410b85828601613c37565b925050602061411c85828601613cec565b9150509250929050565b600067ffffffffffffffff82111561414157614140613df0565b5b61414a82613baa565b9050602081019050919050565b600061416a61416584614126565b613e50565b90508281526020810184848401111561418657614185613f7c565b5b614191848285613fb2565b509392505050565b600082601f8301126141ae576141ad613deb565b5b81356141be848260208601614157565b91505092915050565b600080600080608085870312156141e1576141e0613a96565b5b60006141ef87828801613cec565b945050602061420087828801613cec565b935050604061421187828801613c37565b925050606085013567ffffffffffffffff81111561423257614231613a9b565b5b61423e87828801614199565b91505092959194509250565b6000806040838503121561426157614260613a96565b5b600061426f85828601613cec565b925050602061428085828601613cec565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142d157607f821691505b602082108114156142e5576142e461428a565b5b50919050565b7f4d696e743a20556e617574686f72697a65642041636365737300000000000000600082015250565b6000614321601983613b66565b915061432c826142eb565b602082019050919050565b6000602082019050818103600083015261435081614314565b9050919050565b7f4d696e743a20596f75206d6179206f6e6c79206d696e7420757020746f203130600082015250565b600061438d602083613b66565b915061439882614357565b602082019050919050565b600060208201905081810360008301526143bc81614380565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143fd82613c16565b915061440883613c16565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561443d5761443c6143c3565b5b828201905092915050565b600061445382613c16565b915061445e83613c16565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614497576144966143c3565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144d8602083613b66565b91506144e3826144a2565b602082019050919050565b60006020820190508181036000830152614507816144cb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061454882613c16565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561457b5761457a6143c3565b5b600182019050919050565b600081905092915050565b600061459c82613b5b565b6145a68185614586565b93506145b6818560208601613b77565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006145f8600583614586565b9150614603826145c2565b600582019050919050565b600061461a8285614591565b91506146268284614591565b9150614631826145eb565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061467782613c16565b915061468283613c16565b9250826146925761469161463d565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146f9602683613b66565b91506147048261469d565b604082019050919050565b60006020820190508181036000830152614728816146ec565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006147568261472f565b614760818561473a565b9350614770818560208601613b77565b61477981613baa565b840191505092915050565b60006080820190506147996000830187613cab565b6147a66020830186613cab565b6147b36040830185613d41565b81810360608301526147c5818461474b565b905095945050505050565b6000815190506147df81613acc565b92915050565b6000602082840312156147fb576147fa613a96565b5b6000614809848285016147d0565b91505092915050565b600061481d82613c16565b915061482883613c16565b92508282101561483b5761483a6143c3565b5b828203905092915050565b600061485182613c16565b915061485c83613c16565b92508261486c5761486b61463d565b5b82820690509291505056fea264697066735822122097a43d44c9181cf6e89a181b642dc3eb6c7931e4f144b8e378ad4f0eb2fa3a2964736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102675760003560e01c806370a0823111610144578063b78f9de7116100b6578063ca3cb5221161007a578063ca3cb522146108a3578063dd473d2b146108ba578063e43ec5f0146108d1578063e985e9c5146108fc578063f2fde38b14610939578063f309455a1461096257610267565b8063b78f9de7146107cb578063b88d4fde146107f6578063bc4d01ea1461081f578063bd1a5c7a1461084a578063c87b56dd1461086657610267565b806391860f781161010857806391860f78146106e357806395d89b411461070e578063a22cb46514610739578063a2b40d1914610762578063a8904abb1461078b578063b723b34e146107a257610267565b806370a0823114610624578063715018a6146106615780637d8966e4146106785780638606d9381461068f5780638da5cb5b146106b857610267565b80633af32abf116101dd57806355f804b3116101a157806355f804b3146105285780635a7adf7f146105515780635c909bf41461057c5780636197180b146105a7578063625b3ef7146105d05780636352211e146105e757610267565b80633af32abf1461045457806342842e0e1461049157806343d67565146104ba5780634ea9d913146104e35780635367de6a1461050c57610267565b806311a88e051161022f57806311a88e0514610356578063121dbc311461038157806315e56952146103aa57806318160ddd146103d5578063235b6ea11461040057806323b872dd1461042b57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b3146103115780630b4b98781461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613af8565b61098d565b6040516102a09190613b40565b60405180910390f35b3480156102b557600080fd5b506102be610a6f565b6040516102cb9190613bf4565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190613c4c565b610b01565b6040516103089190613cba565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190613d01565b610b7d565b005b610354600480360381019061034f9190613c4c565b610c82565b005b34801561036257600080fd5b5061036b610e27565b6040516103789190613b40565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a39190613c4c565b610e3e565b005b3480156103b657600080fd5b506103bf610ec4565b6040516103cc9190613d50565b60405180910390f35b3480156103e157600080fd5b506103ea610ece565b6040516103f79190613d50565b60405180910390f35b34801561040c57600080fd5b50610415610ee5565b6040516104229190613d50565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613d6b565b610eeb565b005b34801561046057600080fd5b5061047b60048036038101906104769190613dbe565b610efb565b6040516104889190613b40565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b39190613d6b565b610f51565b005b3480156104c657600080fd5b506104e160048036038101906104dc9190613f33565b610f71565b005b3480156104ef57600080fd5b5061050a60048036038101906105059190613c4c565b611082565b005b61052660048036038101906105219190613c4c565b611108565b005b34801561053457600080fd5b5061054f600480360381019061054a9190614031565b611176565b005b34801561055d57600080fd5b5061056661120c565b6040516105739190613b40565b60405180910390f35b34801561058857600080fd5b50610591611223565b60405161059e9190613d50565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c99190613c4c565b611229565b005b3480156105dc57600080fd5b506105e56112af565b005b3480156105f357600080fd5b5061060e60048036038101906106099190613c4c565b6113fb565b60405161061b9190613cba565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190613dbe565b611411565b6040516106589190613d50565b60405180910390f35b34801561066d57600080fd5b506106766114e1565b005b34801561068457600080fd5b5061068d611569565b005b34801561069b57600080fd5b506106b660048036038101906106b19190613c4c565b611611565b005b3480156106c457600080fd5b506106cd611697565b6040516106da9190613cba565b60405180910390f35b3480156106ef57600080fd5b506106f86116c1565b6040516107059190613bf4565b60405180910390f35b34801561071a57600080fd5b5061072361174f565b6040516107309190613bf4565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b91906140a6565b6117e1565b005b34801561076e57600080fd5b5061078960048036038101906107849190613c4c565b611959565b005b34801561079757600080fd5b506107a06119df565b005b3480156107ae57600080fd5b506107c960048036038101906107c491906140e6565b611a87565b005b3480156107d757600080fd5b506107e0611b11565b6040516107ed9190613b40565b60405180910390f35b34801561080257600080fd5b5061081d600480360381019061081891906141c7565b611b28565b005b34801561082b57600080fd5b50610834611ba0565b6040516108419190613d50565b60405180910390f35b610864600480360381019061085f9190613c4c565b611ba6565b005b34801561087257600080fd5b5061088d60048036038101906108889190613c4c565b611c17565b60405161089a9190613bf4565b60405180910390f35b3480156108af57600080fd5b506108b8611c88565b005b3480156108c657600080fd5b506108cf611d30565b005b3480156108dd57600080fd5b506108e6612734565b6040516108f39190613d50565b60405180910390f35b34801561090857600080fd5b50610923600480360381019061091e919061424a565b61273a565b6040516109309190613b40565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b9190613dbe565b6127ce565b005b34801561096e57600080fd5b506109776128c6565b6040516109849190613d50565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a5857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a685750610a67826128d5565b5b9050919050565b606060028054610a7e906142b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610aaa906142b9565b8015610af75780601f10610acc57610100808354040283529160200191610af7565b820191906000526020600020905b815481529060010190602001808311610ada57829003601f168201915b5050505050905090565b6000610b0c8261293f565b610b42576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b88826113fb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf0576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c0f61298d565b73ffffffffffffffffffffffffffffffffffffffff1614610c7257610c3b81610c3661298d565b61273a565b610c71576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610c7d838383612995565b505050565b600f60019054906101000a900460ff16610c9b57600080fd5b60116000610ca761298d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590614337565b60405180910390fd5b600e54811115610d73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6a906143a3565b60405180910390fd5b6000610d7d610ece565b9050600a548282610d8e91906143f2565b1115610d9957600080fd5b600c5482610da79190614448565b341015610db357600080fd5b610dc4610dbe61298d565b83612a47565b600060116000610dd261298d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600f60029054906101000a900460ff16905090565b610e4661298d565b73ffffffffffffffffffffffffffffffffffffffff16610e64611697565b73ffffffffffffffffffffffffffffffffffffffff1614610eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb1906144ee565b60405180910390fd5b80600a8190555050565b6000600a54905090565b6000610ed8612a65565b6001546000540303905090565b600b5481565b610ef6838383612a6a565b505050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610f6c83838360405180602001604052806000815250611b28565b505050565b610f7961298d565b73ffffffffffffffffffffffffffffffffffffffff16610f97611697565b73ffffffffffffffffffffffffffffffffffffffff1614610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe4906144ee565b60405180910390fd5b60005b815181101561107e576001601160008484815181106110125761101161450e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806110769061453d565b915050610ff0565b5050565b61108a61298d565b73ffffffffffffffffffffffffffffffffffffffff166110a8611697565b73ffffffffffffffffffffffffffffffffffffffff16146110fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f5906144ee565b60405180910390fd5b80600d8190555050565b600f60009054906101000a900460ff1661112157600080fd5b600061112b610ece565b9050600a54828261113c91906143f2565b111561114757600080fd5b600b54826111559190614448565b34101561116157600080fd5b61117261116c61298d565b83612a47565b5050565b61117e61298d565b73ffffffffffffffffffffffffffffffffffffffff1661119c611697565b73ffffffffffffffffffffffffffffffffffffffff16146111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e9906144ee565b60405180910390fd5b80601090805190602001906112089291906139a6565b5050565b6000600f60019054906101000a900460ff16905090565b600c5481565b61123161298d565b73ffffffffffffffffffffffffffffffffffffffff1661124f611697565b73ffffffffffffffffffffffffffffffffffffffff16146112a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129c906144ee565b60405180910390fd5b80600e8190555050565b6112b761298d565b73ffffffffffffffffffffffffffffffffffffffff166112d5611697565b73ffffffffffffffffffffffffffffffffffffffff161461132b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611322906144ee565b60405180910390fd5b6000479050600d5481101561139a57731cda7dc869dfa0558a3d305e04b1d31b08c211cd73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611394573d6000803e3d6000fd5b506113f8565b731cda7dc869dfa0558a3d305e04b1d31b08c211cd73ffffffffffffffffffffffffffffffffffffffff166108fc600d549081150290604051600060405180830381858888f193505050501580156113f6573d6000803e3d6000fd5b505b50565b600061140682612f20565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611479576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114e961298d565b73ffffffffffffffffffffffffffffffffffffffff16611507611697565b73ffffffffffffffffffffffffffffffffffffffff161461155d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611554906144ee565b60405180910390fd5b61156760006131ab565b565b61157161298d565b73ffffffffffffffffffffffffffffffffffffffff1661158f611697565b73ffffffffffffffffffffffffffffffffffffffff16146115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc906144ee565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b61161961298d565b73ffffffffffffffffffffffffffffffffffffffff16611637611697565b73ffffffffffffffffffffffffffffffffffffffff161461168d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611684906144ee565b60405180910390fd5b80600c8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601080546116ce906142b9565b80601f01602080910402602001604051908101604052809291908181526020018280546116fa906142b9565b80156117475780601f1061171c57610100808354040283529160200191611747565b820191906000526020600020905b81548152906001019060200180831161172a57829003601f168201915b505050505081565b60606003805461175e906142b9565b80601f016020809104026020016040519081016040528092919081815260200182805461178a906142b9565b80156117d75780601f106117ac576101008083540402835291602001916117d7565b820191906000526020600020905b8154815290600101906020018083116117ba57829003601f168201915b5050505050905090565b6117e961298d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561184e576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061185b61298d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661190861298d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161194d9190613b40565b60405180910390a35050565b61196161298d565b73ffffffffffffffffffffffffffffffffffffffff1661197f611697565b73ffffffffffffffffffffffffffffffffffffffff16146119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc906144ee565b60405180910390fd5b80600b8190555050565b6119e761298d565b73ffffffffffffffffffffffffffffffffffffffff16611a05611697565b73ffffffffffffffffffffffffffffffffffffffff1614611a5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a52906144ee565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b611a8f61298d565b73ffffffffffffffffffffffffffffffffffffffff16611aad611697565b73ffffffffffffffffffffffffffffffffffffffff1614611b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afa906144ee565b60405180910390fd5b611b0d8183612a47565b5050565b6000600f60009054906101000a900460ff16905090565b611b33848484612a6a565b611b528373ffffffffffffffffffffffffffffffffffffffff16613271565b15611b9a57611b6384848484613294565b611b99576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600d5481565b600f60029054906101000a900460ff16611bbf57600080fd5b600a811115611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa906143a3565b60405180910390fd5b611c14611c0e61298d565b82612a47565b50565b6060611c228261293f565b611c2b57600080fd5b6000611c356133e5565b90506000815111611c555760405180602001604052806000815250611c80565b80611c5f84613477565b604051602001611c7092919061460e565b6040516020818303038152906040525b915050919050565b611c9061298d565b73ffffffffffffffffffffffffffffffffffffffff16611cae611697565b73ffffffffffffffffffffffffffffffffffffffff1614611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb906144ee565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b611d3861298d565b73ffffffffffffffffffffffffffffffffffffffff16611d56611697565b73ffffffffffffffffffffffffffffffffffffffff1614611dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da3906144ee565b60405180910390fd5b6000479050731cda7dc869dfa0558a3d305e04b1d31b08c211cd73ffffffffffffffffffffffffffffffffffffffff166108fc6127106064602585611df19190614448565b611dfb9190614448565b611e05919061466c565b9081150290604051600060405180830381858888f19350505050158015611e30573d6000803e3d6000fd5b50731cda7dc869dfa0558a3d305e04b1d31b08c211cd73ffffffffffffffffffffffffffffffffffffffff166108fc612710600a600585611e719190614448565b611e7b9190614448565b611e85919061466c565b9081150290604051600060405180830381858888f19350505050158015611eb0573d6000803e3d6000fd5b5073ffe54f84fa4a3b608da61772ffbf9e2fb2b3411873ffffffffffffffffffffffffffffffffffffffff166108fc6127106064600785611ef19190614448565b611efb9190614448565b611f05919061466c565b9081150290604051600060405180830381858888f19350505050158015611f30573d6000803e3d6000fd5b50735f06ae58d89e2ccd63de09815905bf23183004aa73ffffffffffffffffffffffffffffffffffffffff166108fc6127106064600485611f719190614448565b611f7b9190614448565b611f85919061466c565b9081150290604051600060405180830381858888f19350505050158015611fb0573d6000803e3d6000fd5b50739adfa29c4c8ffcc999bce70022fd2494b21ab24673ffffffffffffffffffffffffffffffffffffffff166108fc6127106064600485611ff19190614448565b611ffb9190614448565b612005919061466c565b9081150290604051600060405180830381858888f19350505050158015612030573d6000803e3d6000fd5b5073d2337113bed666a3eb620b5b5f41f41a41ba8c7873ffffffffffffffffffffffffffffffffffffffff166108fc612710607d6001856120719190614448565b61207b9190614448565b612085919061466c565b9081150290604051600060405180830381858888f193505050501580156120b0573d6000803e3d6000fd5b50736ec619b6e5c7c1729427e67f3baea486f783b10b73ffffffffffffffffffffffffffffffffffffffff166108fc61271060646002856120f19190614448565b6120fb9190614448565b612105919061466c565b9081150290604051600060405180830381858888f19350505050158015612130573d6000803e3d6000fd5b5073112951cc13146b7e763b30c2ecb1d24d361760e373ffffffffffffffffffffffffffffffffffffffff166108fc61271060646003856121719190614448565b61217b9190614448565b612185919061466c565b9081150290604051600060405180830381858888f193505050501580156121b0573d6000803e3d6000fd5b5073d789ed8e2d52452e081d038db5593151cd354c2973ffffffffffffffffffffffffffffffffffffffff166108fc61271060646001856121f19190614448565b6121fb9190614448565b612205919061466c565b9081150290604051600060405180830381858888f19350505050158015612230573d6000803e3d6000fd5b50732c1ed4dc9a3d0daa1abb7313b75d0db8542b440e73ffffffffffffffffffffffffffffffffffffffff166108fc6127106064600c856122719190614448565b61227b9190614448565b612285919061466c565b9081150290604051600060405180830381858888f193505050501580156122b0573d6000803e3d6000fd5b50731b72813ee4e7782a159b85363c38332c144e029f73ffffffffffffffffffffffffffffffffffffffff166108fc61271060646002856122f19190614448565b6122fb9190614448565b612305919061466c565b9081150290604051600060405180830381858888f19350505050158015612330573d6000803e3d6000fd5b50733731b157debe2036a91f7bb56bb4fe8969d5aad173ffffffffffffffffffffffffffffffffffffffff166108fc61271060646005856123719190614448565b61237b9190614448565b612385919061466c565b9081150290604051600060405180830381858888f193505050501580156123b0573d6000803e3d6000fd5b5073d33a1db21052e5a54b277caba21f8af9e656964973ffffffffffffffffffffffffffffffffffffffff166108fc61271060646005856123f19190614448565b6123fb9190614448565b612405919061466c565b9081150290604051600060405180830381858888f19350505050158015612430573d6000803e3d6000fd5b50733024b86c1694e4ac29020abe446e60b167a97f6773ffffffffffffffffffffffffffffffffffffffff166108fc61271060646007856124719190614448565b61247b9190614448565b612485919061466c565b9081150290604051600060405180830381858888f193505050501580156124b0573d6000803e3d6000fd5b50739d406b36e42624dab427494815f3eeb1bebc953473ffffffffffffffffffffffffffffffffffffffff166108fc61271060196001856124f19190614448565b6124fb9190614448565b612505919061466c565b9081150290604051600060405180830381858888f19350505050158015612530573d6000803e3d6000fd5b5073a0bdf0c51b8d4b43b73248fdc57630c0ba3cdcba73ffffffffffffffffffffffffffffffffffffffff166108fc61271060646005856125719190614448565b61257b9190614448565b612585919061466c565b9081150290604051600060405180830381858888f193505050501580156125b0573d6000803e3d6000fd5b50735d7021fb68e2fe84c876a4b53a5a5b3e9808cd1d73ffffffffffffffffffffffffffffffffffffffff166108fc61271060646001856125f19190614448565b6125fb9190614448565b612605919061466c565b9081150290604051600060405180830381858888f19350505050158015612630573d6000803e3d6000fd5b50733f3e2cd2c8abc828bce1b667cb6322ac9d8086c873ffffffffffffffffffffffffffffffffffffffff166108fc61271060fa6001856126719190614448565b61267b9190614448565b612685919061466c565b9081150290604051600060405180830381858888f193505050501580156126b0573d6000803e3d6000fd5b507331a18677d2619350b53d1436a74dfdff07513a6f73ffffffffffffffffffffffffffffffffffffffff166108fc612710600a6005856126f19190614448565b6126fb9190614448565b612705919061466c565b9081150290604051600060405180830381858888f19350505050158015612730573d6000803e3d6000fd5b5050565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6127d661298d565b73ffffffffffffffffffffffffffffffffffffffff166127f4611697565b73ffffffffffffffffffffffffffffffffffffffff161461284a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612841906144ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b19061470f565b60405180910390fd5b6128c3816131ab565b50565b60006128d0610ece565b905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161294a612a65565b11158015612959575060005482105b8015612986575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612a618282604051806020016040528060008152506135d8565b5050565b600090565b6000612a7582612f20565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ae0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612b0161298d565b73ffffffffffffffffffffffffffffffffffffffff161480612b305750612b2f85612b2a61298d565b61273a565b5b80612b755750612b3e61298d565b73ffffffffffffffffffffffffffffffffffffffff16612b5d84610b01565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612bae576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c15576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c22858585600161399a565b612c2e60008487612995565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612eae576000548214612ead57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f1985858560016139a0565b5050505050565b612f28613a2c565b600082905080612f36612a65565b1161317457600054811015613173576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161317157600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130555780925050506131a6565b5b60011561317057818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461316b5780925050506131a6565b613056565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132ba61298d565b8786866040518563ffffffff1660e01b81526004016132dc9493929190614784565b6020604051808303816000875af192505050801561331857506040513d601f19601f8201168201806040525081019061331591906147e5565b60015b613392573d8060008114613348576040519150601f19603f3d011682016040523d82523d6000602084013e61334d565b606091505b5060008151141561338a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601080546133f4906142b9565b80601f0160208091040260200160405190810160405280929190818152602001828054613420906142b9565b801561346d5780601f106134425761010080835404028352916020019161346d565b820191906000526020600020905b81548152906001019060200180831161345057829003601f168201915b5050505050905090565b606060008214156134bf576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506135d3565b600082905060005b600082146134f15780806134da9061453d565b915050600a826134ea919061466c565b91506134c7565b60008167ffffffffffffffff81111561350d5761350c613df0565b5b6040519080825280601f01601f19166020018201604052801561353f5781602001600182028036833780820191505090505b5090505b600085146135cc576001826135589190614812565b9150600a856135679190614846565b603061357391906143f2565b60f81b8183815181106135895761358861450e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135c5919061466c565b9450613543565b8093505050505b919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613645576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613680576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61368d600085838661399a565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000848201905061384e8673ffffffffffffffffffffffffffffffffffffffff16613271565b15613913575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138c36000878480600101955087613294565b6138f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061385457826000541461390e57600080fd5b61397e565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613914575b81600081905550505061399460008583866139a0565b50505050565b50505050565b50505050565b8280546139b2906142b9565b90600052602060002090601f0160209004810192826139d45760008555613a1b565b82601f106139ed57805160ff1916838001178555613a1b565b82800160010185558215613a1b579182015b82811115613a1a5782518255916020019190600101906139ff565b5b509050613a289190613a6f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613a88576000816000905550600101613a70565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ad581613aa0565b8114613ae057600080fd5b50565b600081359050613af281613acc565b92915050565b600060208284031215613b0e57613b0d613a96565b5b6000613b1c84828501613ae3565b91505092915050565b60008115159050919050565b613b3a81613b25565b82525050565b6000602082019050613b556000830184613b31565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b95578082015181840152602081019050613b7a565b83811115613ba4576000848401525b50505050565b6000601f19601f8301169050919050565b6000613bc682613b5b565b613bd08185613b66565b9350613be0818560208601613b77565b613be981613baa565b840191505092915050565b60006020820190508181036000830152613c0e8184613bbb565b905092915050565b6000819050919050565b613c2981613c16565b8114613c3457600080fd5b50565b600081359050613c4681613c20565b92915050565b600060208284031215613c6257613c61613a96565b5b6000613c7084828501613c37565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ca482613c79565b9050919050565b613cb481613c99565b82525050565b6000602082019050613ccf6000830184613cab565b92915050565b613cde81613c99565b8114613ce957600080fd5b50565b600081359050613cfb81613cd5565b92915050565b60008060408385031215613d1857613d17613a96565b5b6000613d2685828601613cec565b9250506020613d3785828601613c37565b9150509250929050565b613d4a81613c16565b82525050565b6000602082019050613d656000830184613d41565b92915050565b600080600060608486031215613d8457613d83613a96565b5b6000613d9286828701613cec565b9350506020613da386828701613cec565b9250506040613db486828701613c37565b9150509250925092565b600060208284031215613dd457613dd3613a96565b5b6000613de284828501613cec565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613e2882613baa565b810181811067ffffffffffffffff82111715613e4757613e46613df0565b5b80604052505050565b6000613e5a613a8c565b9050613e668282613e1f565b919050565b600067ffffffffffffffff821115613e8657613e85613df0565b5b602082029050602081019050919050565b600080fd5b6000613eaf613eaa84613e6b565b613e50565b90508083825260208201905060208402830185811115613ed257613ed1613e97565b5b835b81811015613efb5780613ee78882613cec565b845260208401935050602081019050613ed4565b5050509392505050565b600082601f830112613f1a57613f19613deb565b5b8135613f2a848260208601613e9c565b91505092915050565b600060208284031215613f4957613f48613a96565b5b600082013567ffffffffffffffff811115613f6757613f66613a9b565b5b613f7384828501613f05565b91505092915050565b600080fd5b600067ffffffffffffffff821115613f9c57613f9b613df0565b5b613fa582613baa565b9050602081019050919050565b82818337600083830152505050565b6000613fd4613fcf84613f81565b613e50565b905082815260208101848484011115613ff057613fef613f7c565b5b613ffb848285613fb2565b509392505050565b600082601f83011261401857614017613deb565b5b8135614028848260208601613fc1565b91505092915050565b60006020828403121561404757614046613a96565b5b600082013567ffffffffffffffff81111561406557614064613a9b565b5b61407184828501614003565b91505092915050565b61408381613b25565b811461408e57600080fd5b50565b6000813590506140a08161407a565b92915050565b600080604083850312156140bd576140bc613a96565b5b60006140cb85828601613cec565b92505060206140dc85828601614091565b9150509250929050565b600080604083850312156140fd576140fc613a96565b5b600061410b85828601613c37565b925050602061411c85828601613cec565b9150509250929050565b600067ffffffffffffffff82111561414157614140613df0565b5b61414a82613baa565b9050602081019050919050565b600061416a61416584614126565b613e50565b90508281526020810184848401111561418657614185613f7c565b5b614191848285613fb2565b509392505050565b600082601f8301126141ae576141ad613deb565b5b81356141be848260208601614157565b91505092915050565b600080600080608085870312156141e1576141e0613a96565b5b60006141ef87828801613cec565b945050602061420087828801613cec565b935050604061421187828801613c37565b925050606085013567ffffffffffffffff81111561423257614231613a9b565b5b61423e87828801614199565b91505092959194509250565b6000806040838503121561426157614260613a96565b5b600061426f85828601613cec565b925050602061428085828601613cec565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142d157607f821691505b602082108114156142e5576142e461428a565b5b50919050565b7f4d696e743a20556e617574686f72697a65642041636365737300000000000000600082015250565b6000614321601983613b66565b915061432c826142eb565b602082019050919050565b6000602082019050818103600083015261435081614314565b9050919050565b7f4d696e743a20596f75206d6179206f6e6c79206d696e7420757020746f203130600082015250565b600061438d602083613b66565b915061439882614357565b602082019050919050565b600060208201905081810360008301526143bc81614380565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006143fd82613c16565b915061440883613c16565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561443d5761443c6143c3565b5b828201905092915050565b600061445382613c16565b915061445e83613c16565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614497576144966143c3565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006144d8602083613b66565b91506144e3826144a2565b602082019050919050565b60006020820190508181036000830152614507816144cb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061454882613c16565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561457b5761457a6143c3565b5b600182019050919050565b600081905092915050565b600061459c82613b5b565b6145a68185614586565b93506145b6818560208601613b77565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006145f8600583614586565b9150614603826145c2565b600582019050919050565b600061461a8285614591565b91506146268284614591565b9150614631826145eb565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061467782613c16565b915061468283613c16565b9250826146925761469161463d565b5b828204905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146f9602683613b66565b91506147048261469d565b604082019050919050565b60006020820190508181036000830152614728816146ec565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006147568261472f565b614760818561473a565b9350614770818560208601613b77565b61477981613baa565b840191505092915050565b60006080820190506147996000830187613cab565b6147a66020830186613cab565b6147b36040830185613d41565b81810360608301526147c5818461474b565b905095945050505050565b6000815190506147df81613acc565b92915050565b6000602082840312156147fb576147fa613a96565b5b6000614809848285016147d0565b91505092915050565b600061481d82613c16565b915061482883613c16565b92508282101561483b5761483a6143c3565b5b828203905092915050565b600061485182613c16565b915061485c83613c16565b92508261486c5761486b61463d565b5b82820690509291505056fea264697066735822122097a43d44c9181cf6e89a181b642dc3eb6c7931e4f144b8e378ad4f0eb2fa3a2964736f6c634300080a0033

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.