ETH Price: $3,455.62 (-0.90%)

Token

Neighbears (BEAR)
 

Overview

Max Total Supply

7,777 BEAR

Holders

199

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
30 BEAR
0x642578ee1827b8d4629177cd159b78877c409c63
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:
Neighbears

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Neighbears.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "./ERC721A.sol";

error ExceedsMaxSupply();
error WrongEtherAmountSent();
error TokenDoesNotExist();
error SaleNotOpen();

contract Neighbears is ERC721A, IERC2981, Ownable {
    using Address for address;

    uint256 public constant MAX_SUPPLY = 7777;
    uint256 public pricePerNft = .055 ether; // Changes for public
    uint256 public royaltyPercent = 700;

    enum ContractState { PAUSED, PRESALE, PUBLIC, REVEALED }
    ContractState public currentState = ContractState.PAUSED;

    string private baseURI;
    string private baseURISuffix;

    address public royaltyAddress;

    constructor(string memory _base, string memory _suffix) 
        ERC721A("Neighbears", "BEAR")
    {
        baseURI = _base;
        baseURISuffix = _suffix;
        royaltyAddress = msg.sender;
        // minting 1 to make an OS profile.
        _mint(msg.sender, 1);
    }

    function mint(uint256 quantity) external payable {
        if(currentState != ContractState.PRESALE &&
            currentState != ContractState.PUBLIC) revert SaleNotOpen();
        if(totalSupply() + quantity  > MAX_SUPPLY) revert ExceedsMaxSupply();
        if(getNFTPrice(quantity) != msg.value) revert WrongEtherAmountSent();
        // Users can mint as many NFT's as they would like.

        _safeMint(msg.sender, quantity);
    }

    function getNFTPrice(uint256 quantity) public view returns (uint256) {
        return pricePerNft * quantity;
    }

    function changeContractState(ContractState _state) external onlyOwner {
        currentState = _state;
        if(currentState == ContractState.PUBLIC){
            pricePerNft = .077 ether;
        } else {
            pricePerNft = .055 ether;
        }
    }

    function setPriceManually(uint256 price) external onlyOwner {
        pricePerNft = price;
    }

    function setBaseURI(string calldata _base, string calldata _suffix) external onlyOwner {
        baseURI = _base;
        baseURISuffix = _suffix;
    }

    function withdraw() external onlyOwner {
        Address.sendValue(payable(msg.sender), address(this).balance);
    }

    function setRoyalties(address _royaltyAddress, uint256 _royaltyPercent) public onlyOwner {
        royaltyAddress = _royaltyAddress;
        royaltyPercent = _royaltyPercent;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if(!_exists(tokenId)) revert TokenDoesNotExist();
        if(currentState != ContractState.REVEALED) {
            return string(abi.encodePacked(baseURI, "pre", baseURISuffix));
        }
        return string(abi.encodePacked(baseURI, _toString(tokenId), baseURISuffix));
    }

    function supportsInterface(bytes4 interfaceId) public view override(ERC721A, IERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    // EIP-2981: NFT Royalty Standard
    function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address, uint256 royaltyAmount) {
        if(!_exists(tokenId)) revert TokenDoesNotExist();
        royaltyAmount = (salePrice * royaltyPercent) / 10000;
        return (royaltyAddress, royaltyAmount);
    }
}

File 2 of 9 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

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

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

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

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

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

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

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

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

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

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

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

File 3 of 9 : 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 4 of 9 : 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 9 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 6 of 9 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 9 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

File 9 of 9 : 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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_base","type":"string"},{"internalType":"string","name":"_suffix","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleNotOpen","type":"error"},{"inputs":[],"name":"TokenDoesNotExist","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"},{"inputs":[],"name":"WrongEtherAmountSent","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","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":"enum Neighbears.ContractState","name":"_state","type":"uint8"}],"name":"changeContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentState","outputs":[{"internalType":"enum Neighbears.ContractState","name":"","type":"uint8"}],"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":"uint256","name":"quantity","type":"uint256"}],"name":"getNFTPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerNft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercent","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":"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":"_base","type":"string"},{"internalType":"string","name":"_suffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPriceManually","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"},{"internalType":"uint256","name":"_royaltyPercent","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266c3663566a580006009556102bc600a556000600b60006101000a81548160ff021916908360038111156200003e576200003d620005dc565b5b02179055503480156200005057600080fd5b50604051620039c7380380620039c78339818101604052810190620000769190620007a8565b6040518060400160405280600a81526020017f4e656967686265617273000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f42454152000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000fa9291906200052c565b508060039080519060200190620001139291906200052c565b5062000124620001da60201b60201c565b60008190555050506200014c62000140620001df60201b60201c565b620001e760201b60201c565b81600c9080519060200190620001649291906200052c565b5080600d90805190602001906200017d9291906200052c565b5033600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001d2336001620002ad60201b60201c565b505062000892565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200031b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082141562000357576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200036c6000848385620004ac60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620003fb83620003dd6000866000620004b260201b60201c565b620003ee85620004e260201b60201c565b17620004f260201b60201c565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106200041f57806000819055505050620004a760008483856200051d60201b60201c565b505050565b50505050565b60008060e883901c905060e8620004d18686846200052360201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60009392505050565b8280546200053a906200085c565b90600052602060002090601f0160209004810192826200055e5760008555620005aa565b82601f106200057957805160ff1916838001178555620005aa565b82800160010185558215620005aa579182015b82811115620005a95782518255916020019190600101906200058c565b5b509050620005b99190620005bd565b5090565b5b80821115620005d8576000816000905550600101620005be565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006748262000629565b810181811067ffffffffffffffff821117156200069657620006956200063a565b5b80604052505050565b6000620006ab6200060b565b9050620006b9828262000669565b919050565b600067ffffffffffffffff821115620006dc57620006db6200063a565b5b620006e78262000629565b9050602081019050919050565b60005b8381101562000714578082015181840152602081019050620006f7565b8381111562000724576000848401525b50505050565b6000620007416200073b84620006be565b6200069f565b90508281526020810184848401111562000760576200075f62000624565b5b6200076d848285620006f4565b509392505050565b600082601f8301126200078d576200078c6200061f565b5b81516200079f8482602086016200072a565b91505092915050565b60008060408385031215620007c257620007c162000615565b5b600083015167ffffffffffffffff811115620007e357620007e26200061a565b5b620007f18582860162000775565b925050602083015167ffffffffffffffff8111156200081557620008146200061a565b5b620008238582860162000775565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200087557607f821691505b602082108114156200088c576200088b6200082d565b5b50919050565b61312580620008a26000396000f3fe6080604052600436106101cd5760003560e01c80638c7ea24b116100f7578063aa269b7011610095578063e985e9c511610064578063e985e9c514610668578063f2fde38b146106a5578063f6330107146106ce578063fe3165c7146106f7576101cd565b8063aa269b70146105ae578063ad2f852a146105d7578063b88d4fde14610602578063c87b56dd1461062b576101cd565b806395d89b41116100d157806395d89b41146105135780639f67756d1461053e578063a0712d6814610569578063a22cb46514610585576101cd565b80638c7ea24b146104825780638da5cb5b146104ab57806392976179146104d6576101cd565b80632a55205a1161016f5780636352211e1161013e5780636352211e146103c85780636790a9de1461040557806370a082311461042e578063715018a61461046b576101cd565b80632a55205a1461031f57806332cb6b0c1461035d5780633ccfd60b1461038857806342842e0e1461039f576101cd565b8063095ea7b3116101ab578063095ea7b3146102775780630c3f6acf146102a057806318160ddd146102cb57806323b872dd146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612329565b610722565b6040516102069190612371565b60405180910390f35b34801561021b57600080fd5b5061022461079c565b6040516102319190612425565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c919061247d565b61082e565b60405161026e91906124eb565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612532565b6108aa565b005b3480156102ac57600080fd5b506102b56109eb565b6040516102c291906125e9565b60405180910390f35b3480156102d757600080fd5b506102e06109fe565b6040516102ed9190612613565b60405180910390f35b34801561030257600080fd5b5061031d6004803603810190610318919061262e565b610a15565b005b34801561032b57600080fd5b5061034660048036038101906103419190612681565b610d3a565b6040516103549291906126c1565b60405180910390f35b34801561036957600080fd5b50610372610dc5565b60405161037f9190612613565b60405180910390f35b34801561039457600080fd5b5061039d610dcb565b005b3480156103ab57600080fd5b506103c660048036038101906103c1919061262e565b610e53565b005b3480156103d457600080fd5b506103ef60048036038101906103ea919061247d565b610e73565b6040516103fc91906124eb565b60405180910390f35b34801561041157600080fd5b5061042c6004803603810190610427919061274f565b610e85565b005b34801561043a57600080fd5b50610455600480360381019061045091906127d0565b610f2b565b6040516104629190612613565b60405180910390f35b34801561047757600080fd5b50610480610fe4565b005b34801561048e57600080fd5b506104a960048036038101906104a49190612532565b61106c565b005b3480156104b757600080fd5b506104c0611134565b6040516104cd91906124eb565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f8919061247d565b61115e565b60405161050a9190612613565b60405180910390f35b34801561051f57600080fd5b50610528611175565b6040516105359190612425565b60405180910390f35b34801561054a57600080fd5b50610553611207565b6040516105609190612613565b60405180910390f35b610583600480360381019061057e919061247d565b61120d565b005b34801561059157600080fd5b506105ac60048036038101906105a79190612829565b611358565b005b3480156105ba57600080fd5b506105d560048036038101906105d0919061247d565b6114d0565b005b3480156105e357600080fd5b506105ec611556565b6040516105f991906124eb565b60405180910390f35b34801561060e57600080fd5b5061062960048036038101906106249190612999565b61157c565b005b34801561063757600080fd5b50610652600480360381019061064d919061247d565b6115ef565b60405161065f9190612425565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a9190612a1c565b6116cb565b60405161069c9190612371565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c791906127d0565b61175f565b005b3480156106da57600080fd5b506106f560048036038101906106f09190612a81565b611857565b005b34801561070357600080fd5b5061070c61195f565b6040516107199190612613565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610795575061079482611965565b5b9050919050565b6060600280546107ab90612add565b80601f01602080910402602001604051908101604052809291908181526020018280546107d790612add565b80156108245780601f106107f957610100808354040283529160200191610824565b820191906000526020600020905b81548152906001019060200180831161080757829003601f168201915b5050505050905090565b6000610839826119f7565b61086f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b582610e73565b90508073ffffffffffffffffffffffffffffffffffffffff166108d6611a56565b73ffffffffffffffffffffffffffffffffffffffff161461093957610902816108fd611a56565b6116cb565b610938576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b60009054906101000a900460ff1681565b6000610a08611a5e565b6001546000540303905090565b6000610a2082611a63565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a87576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a9384611b31565b91509150610aa98187610aa4611a56565b611b53565b610af557610abe86610ab9611a56565b6116cb565b610af4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610b5c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b698686866001611b97565b8015610b7457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c4285610c1e888887611b9d565b7c020000000000000000000000000000000000000000000000000000000017611bc5565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610cca576000600185019050600060046000838152602001908152602001600020541415610cc8576000548114610cc7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d328686866001611bf0565b505050505050565b600080610d46846119f7565b610d7c576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612710600a5484610d8d9190612b3e565b610d979190612bc7565b9050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b611e6181565b610dd3611bf6565b73ffffffffffffffffffffffffffffffffffffffff16610df1611134565b73ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90612c44565b60405180910390fd5b610e513347611bfe565b565b610e6e8383836040518060200160405280600081525061157c565b505050565b6000610e7e82611a63565b9050919050565b610e8d611bf6565b73ffffffffffffffffffffffffffffffffffffffff16610eab611134565b73ffffffffffffffffffffffffffffffffffffffff1614610f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef890612c44565b60405180910390fd5b8383600c9190610f1292919061221a565b508181600d9190610f2492919061221a565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f93576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610fec611bf6565b73ffffffffffffffffffffffffffffffffffffffff1661100a611134565b73ffffffffffffffffffffffffffffffffffffffff1614611060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105790612c44565b60405180910390fd5b61106a6000611cf2565b565b611074611bf6565b73ffffffffffffffffffffffffffffffffffffffff16611092611134565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90612c44565b60405180910390fd5b81600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a819055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008160095461116e9190612b3e565b9050919050565b60606003805461118490612add565b80601f01602080910402602001604051908101604052809291908181526020018280546111b090612add565b80156111fd5780601f106111d2576101008083540402835291602001916111fd565b820191906000526020600020905b8154815290600101906020018083116111e057829003601f168201915b5050505050905090565b600a5481565b6001600381111561122157611220612572565b5b600b60009054906101000a900460ff16600381111561124357611242612572565b5b141580156112855750600260038111156112605761125f612572565b5b600b60009054906101000a900460ff16600381111561128257611281612572565b5b14155b156112bc576040517f445dce4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e61816112c86109fe565b6112d29190612c64565b111561130a576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b346113148261115e565b1461134b576040517f59d6384300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113553382611db8565b50565b611360611a56565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113c5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006113d2611a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661147f611a56565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114c49190612371565b60405180910390a35050565b6114d8611bf6565b73ffffffffffffffffffffffffffffffffffffffff166114f6611134565b73ffffffffffffffffffffffffffffffffffffffff161461154c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154390612c44565b60405180910390fd5b8060098190555050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611587848484610a15565b60008373ffffffffffffffffffffffffffffffffffffffff163b146115e9576115b284848484611dd6565b6115e8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606115fa826119f7565b611630576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038081111561164357611642612572565b5b600b60009054906101000a900460ff16600381111561166557611664612572565b5b1461169557600c600d60405160200161167f929190612da5565b60405160208183030381529060405290506116c6565b600c6116a083611f36565b600d6040516020016116b493929190612e05565b60405160208183030381529060405290505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611767611bf6565b73ffffffffffffffffffffffffffffffffffffffff16611785611134565b73ffffffffffffffffffffffffffffffffffffffff16146117db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d290612c44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561184b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184290612ea8565b60405180910390fd5b61185481611cf2565b50565b61185f611bf6565b73ffffffffffffffffffffffffffffffffffffffff1661187d611134565b73ffffffffffffffffffffffffffffffffffffffff16146118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca90612c44565b60405180910390fd5b80600b60006101000a81548160ff021916908360038111156118f8576118f7612572565b5b02179055506002600381111561191157611910612572565b5b600b60009054906101000a900460ff16600381111561193357611932612572565b5b141561194d576701118f178fb4800060098190555061195c565b66c3663566a580006009819055505b50565b60095481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119c057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119f05750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081611a02611a5e565b11158015611a11575060005482105b8015611a4f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611a72611a5e565b11611afa57600054811015611af95760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611af7575b6000811415611aed576004600083600190039350838152602001908152602001600020549050611ac2565b8092505050611b2c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611bb4868684611f90565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b80471015611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3890612f14565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611c6790612f65565b60006040518083038185875af1925050503d8060008114611ca4576040519150601f19603f3d011682016040523d82523d6000602084013e611ca9565b606091505b5050905080611ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce490612fec565b60405180910390fd5b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611dd2828260405180602001604052806000815250611f99565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611dfc611a56565b8786866040518563ffffffff1660e01b8152600401611e1e9493929190613061565b602060405180830381600087803b158015611e3857600080fd5b505af1925050508015611e6957506040513d601f19601f82011682018060405250810190611e6691906130c2565b60015b611ee3573d8060008114611e99576040519150601f19603f3d011682016040523d82523d6000602084013e611e9e565b606091505b50600081511415611edb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015611f7c57600183039250600a81066030018353600a81049050611f5c565b508181036020830392508083525050919050565b60009392505050565b611fa38383612036565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461203157600080549050600083820390505b611fe36000868380600101945086611dd6565b612019576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611fd057816000541461202e57600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120a3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156120de576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120eb6000848385611b97565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612162836121536000866000611b9d565b61215c8561220a565b17611bc5565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612186578060008190555050506122056000848385611bf0565b505050565b60006001821460e11b9050919050565b82805461222690612add565b90600052602060002090601f016020900481019282612248576000855561228f565b82601f1061226157803560ff191683800117855561228f565b8280016001018555821561228f579182015b8281111561228e578235825591602001919060010190612273565b5b50905061229c91906122a0565b5090565b5b808211156122b95760008160009055506001016122a1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612306816122d1565b811461231157600080fd5b50565b600081359050612323816122fd565b92915050565b60006020828403121561233f5761233e6122c7565b5b600061234d84828501612314565b91505092915050565b60008115159050919050565b61236b81612356565b82525050565b60006020820190506123866000830184612362565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123c65780820151818401526020810190506123ab565b838111156123d5576000848401525b50505050565b6000601f19601f8301169050919050565b60006123f78261238c565b6124018185612397565b93506124118185602086016123a8565b61241a816123db565b840191505092915050565b6000602082019050818103600083015261243f81846123ec565b905092915050565b6000819050919050565b61245a81612447565b811461246557600080fd5b50565b60008135905061247781612451565b92915050565b600060208284031215612493576124926122c7565b5b60006124a184828501612468565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124d5826124aa565b9050919050565b6124e5816124ca565b82525050565b600060208201905061250060008301846124dc565b92915050565b61250f816124ca565b811461251a57600080fd5b50565b60008135905061252c81612506565b92915050565b60008060408385031215612549576125486122c7565b5b60006125578582860161251d565b925050602061256885828601612468565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106125b2576125b1612572565b5b50565b60008190506125c3826125a1565b919050565b60006125d3826125b5565b9050919050565b6125e3816125c8565b82525050565b60006020820190506125fe60008301846125da565b92915050565b61260d81612447565b82525050565b60006020820190506126286000830184612604565b92915050565b600080600060608486031215612647576126466122c7565b5b60006126558682870161251d565b93505060206126668682870161251d565b925050604061267786828701612468565b9150509250925092565b60008060408385031215612698576126976122c7565b5b60006126a685828601612468565b92505060206126b785828601612468565b9150509250929050565b60006040820190506126d660008301856124dc565b6126e36020830184612604565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f84011261270f5761270e6126ea565b5b8235905067ffffffffffffffff81111561272c5761272b6126ef565b5b602083019150836001820283011115612748576127476126f4565b5b9250929050565b60008060008060408587031215612769576127686122c7565b5b600085013567ffffffffffffffff811115612787576127866122cc565b5b612793878288016126f9565b9450945050602085013567ffffffffffffffff8111156127b6576127b56122cc565b5b6127c2878288016126f9565b925092505092959194509250565b6000602082840312156127e6576127e56122c7565b5b60006127f48482850161251d565b91505092915050565b61280681612356565b811461281157600080fd5b50565b600081359050612823816127fd565b92915050565b600080604083850312156128405761283f6122c7565b5b600061284e8582860161251d565b925050602061285f85828601612814565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6128a6826123db565b810181811067ffffffffffffffff821117156128c5576128c461286e565b5b80604052505050565b60006128d86122bd565b90506128e4828261289d565b919050565b600067ffffffffffffffff8211156129045761290361286e565b5b61290d826123db565b9050602081019050919050565b82818337600083830152505050565b600061293c612937846128e9565b6128ce565b90508281526020810184848401111561295857612957612869565b5b61296384828561291a565b509392505050565b600082601f8301126129805761297f6126ea565b5b8135612990848260208601612929565b91505092915050565b600080600080608085870312156129b3576129b26122c7565b5b60006129c18782880161251d565b94505060206129d28782880161251d565b93505060406129e387828801612468565b925050606085013567ffffffffffffffff811115612a0457612a036122cc565b5b612a108782880161296b565b91505092959194509250565b60008060408385031215612a3357612a326122c7565b5b6000612a418582860161251d565b9250506020612a528582860161251d565b9150509250929050565b60048110612a6957600080fd5b50565b600081359050612a7b81612a5c565b92915050565b600060208284031215612a9757612a966122c7565b5b6000612aa584828501612a6c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612af557607f821691505b60208210811415612b0957612b08612aae565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612b4982612447565b9150612b5483612447565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612b8d57612b8c612b0f565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612bd282612447565b9150612bdd83612447565b925082612bed57612bec612b98565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612c2e602083612397565b9150612c3982612bf8565b602082019050919050565b60006020820190508181036000830152612c5d81612c21565b9050919050565b6000612c6f82612447565b9150612c7a83612447565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612caf57612cae612b0f565b5b828201905092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612ce781612add565b612cf18186612cba565b94506001821660008114612d0c5760018114612d1d57612d50565b60ff19831686528186019350612d50565b612d2685612cc5565b60005b83811015612d4857815481890152600182019150602081019050612d29565b838801955050505b50505092915050565b7f7072650000000000000000000000000000000000000000000000000000000000600082015250565b6000612d8f600383612cba565b9150612d9a82612d59565b600382019050919050565b6000612db18285612cda565b9150612dbc82612d82565b9150612dc88284612cda565b91508190509392505050565b6000612ddf8261238c565b612de98185612cba565b9350612df98185602086016123a8565b80840191505092915050565b6000612e118286612cda565b9150612e1d8285612dd4565b9150612e298284612cda565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612e92602683612397565b9150612e9d82612e36565b604082019050919050565b60006020820190508181036000830152612ec181612e85565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000612efe601d83612397565b9150612f0982612ec8565b602082019050919050565b60006020820190508181036000830152612f2d81612ef1565b9050919050565b600081905092915050565b50565b6000612f4f600083612f34565b9150612f5a82612f3f565b600082019050919050565b6000612f7082612f42565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000612fd6603a83612397565b9150612fe182612f7a565b604082019050919050565b6000602082019050818103600083015261300581612fc9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006130338261300c565b61303d8185613017565b935061304d8185602086016123a8565b613056816123db565b840191505092915050565b600060808201905061307660008301876124dc565b61308360208301866124dc565b6130906040830185612604565b81810360608301526130a28184613028565b905095945050505050565b6000815190506130bc816122fd565b92915050565b6000602082840312156130d8576130d76122c7565b5b60006130e6848285016130ad565b9150509291505056fea2646970667358221220847ea0d2bb78a6846ab909b325b9c972d607375b6bb212c4f8aba64ff5fbbf0a64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6e6569676862656172732e73332e616d617a6f6e6177732e636f6d2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80638c7ea24b116100f7578063aa269b7011610095578063e985e9c511610064578063e985e9c514610668578063f2fde38b146106a5578063f6330107146106ce578063fe3165c7146106f7576101cd565b8063aa269b70146105ae578063ad2f852a146105d7578063b88d4fde14610602578063c87b56dd1461062b576101cd565b806395d89b41116100d157806395d89b41146105135780639f67756d1461053e578063a0712d6814610569578063a22cb46514610585576101cd565b80638c7ea24b146104825780638da5cb5b146104ab57806392976179146104d6576101cd565b80632a55205a1161016f5780636352211e1161013e5780636352211e146103c85780636790a9de1461040557806370a082311461042e578063715018a61461046b576101cd565b80632a55205a1461031f57806332cb6b0c1461035d5780633ccfd60b1461038857806342842e0e1461039f576101cd565b8063095ea7b3116101ab578063095ea7b3146102775780630c3f6acf146102a057806318160ddd146102cb57806323b872dd146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612329565b610722565b6040516102069190612371565b60405180910390f35b34801561021b57600080fd5b5061022461079c565b6040516102319190612425565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c919061247d565b61082e565b60405161026e91906124eb565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612532565b6108aa565b005b3480156102ac57600080fd5b506102b56109eb565b6040516102c291906125e9565b60405180910390f35b3480156102d757600080fd5b506102e06109fe565b6040516102ed9190612613565b60405180910390f35b34801561030257600080fd5b5061031d6004803603810190610318919061262e565b610a15565b005b34801561032b57600080fd5b5061034660048036038101906103419190612681565b610d3a565b6040516103549291906126c1565b60405180910390f35b34801561036957600080fd5b50610372610dc5565b60405161037f9190612613565b60405180910390f35b34801561039457600080fd5b5061039d610dcb565b005b3480156103ab57600080fd5b506103c660048036038101906103c1919061262e565b610e53565b005b3480156103d457600080fd5b506103ef60048036038101906103ea919061247d565b610e73565b6040516103fc91906124eb565b60405180910390f35b34801561041157600080fd5b5061042c6004803603810190610427919061274f565b610e85565b005b34801561043a57600080fd5b50610455600480360381019061045091906127d0565b610f2b565b6040516104629190612613565b60405180910390f35b34801561047757600080fd5b50610480610fe4565b005b34801561048e57600080fd5b506104a960048036038101906104a49190612532565b61106c565b005b3480156104b757600080fd5b506104c0611134565b6040516104cd91906124eb565b60405180910390f35b3480156104e257600080fd5b506104fd60048036038101906104f8919061247d565b61115e565b60405161050a9190612613565b60405180910390f35b34801561051f57600080fd5b50610528611175565b6040516105359190612425565b60405180910390f35b34801561054a57600080fd5b50610553611207565b6040516105609190612613565b60405180910390f35b610583600480360381019061057e919061247d565b61120d565b005b34801561059157600080fd5b506105ac60048036038101906105a79190612829565b611358565b005b3480156105ba57600080fd5b506105d560048036038101906105d0919061247d565b6114d0565b005b3480156105e357600080fd5b506105ec611556565b6040516105f991906124eb565b60405180910390f35b34801561060e57600080fd5b5061062960048036038101906106249190612999565b61157c565b005b34801561063757600080fd5b50610652600480360381019061064d919061247d565b6115ef565b60405161065f9190612425565b60405180910390f35b34801561067457600080fd5b5061068f600480360381019061068a9190612a1c565b6116cb565b60405161069c9190612371565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c791906127d0565b61175f565b005b3480156106da57600080fd5b506106f560048036038101906106f09190612a81565b611857565b005b34801561070357600080fd5b5061070c61195f565b6040516107199190612613565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610795575061079482611965565b5b9050919050565b6060600280546107ab90612add565b80601f01602080910402602001604051908101604052809291908181526020018280546107d790612add565b80156108245780601f106107f957610100808354040283529160200191610824565b820191906000526020600020905b81548152906001019060200180831161080757829003601f168201915b5050505050905090565b6000610839826119f7565b61086f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b582610e73565b90508073ffffffffffffffffffffffffffffffffffffffff166108d6611a56565b73ffffffffffffffffffffffffffffffffffffffff161461093957610902816108fd611a56565b6116cb565b610938576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b60009054906101000a900460ff1681565b6000610a08611a5e565b6001546000540303905090565b6000610a2082611a63565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a87576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a9384611b31565b91509150610aa98187610aa4611a56565b611b53565b610af557610abe86610ab9611a56565b6116cb565b610af4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610b5c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b698686866001611b97565b8015610b7457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c4285610c1e888887611b9d565b7c020000000000000000000000000000000000000000000000000000000017611bc5565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610cca576000600185019050600060046000838152602001908152602001600020541415610cc8576000548114610cc7578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d328686866001611bf0565b505050505050565b600080610d46846119f7565b610d7c576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612710600a5484610d8d9190612b3e565b610d979190612bc7565b9050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b611e6181565b610dd3611bf6565b73ffffffffffffffffffffffffffffffffffffffff16610df1611134565b73ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90612c44565b60405180910390fd5b610e513347611bfe565b565b610e6e8383836040518060200160405280600081525061157c565b505050565b6000610e7e82611a63565b9050919050565b610e8d611bf6565b73ffffffffffffffffffffffffffffffffffffffff16610eab611134565b73ffffffffffffffffffffffffffffffffffffffff1614610f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef890612c44565b60405180910390fd5b8383600c9190610f1292919061221a565b508181600d9190610f2492919061221a565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f93576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610fec611bf6565b73ffffffffffffffffffffffffffffffffffffffff1661100a611134565b73ffffffffffffffffffffffffffffffffffffffff1614611060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105790612c44565b60405180910390fd5b61106a6000611cf2565b565b611074611bf6565b73ffffffffffffffffffffffffffffffffffffffff16611092611134565b73ffffffffffffffffffffffffffffffffffffffff16146110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90612c44565b60405180910390fd5b81600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a819055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008160095461116e9190612b3e565b9050919050565b60606003805461118490612add565b80601f01602080910402602001604051908101604052809291908181526020018280546111b090612add565b80156111fd5780601f106111d2576101008083540402835291602001916111fd565b820191906000526020600020905b8154815290600101906020018083116111e057829003601f168201915b5050505050905090565b600a5481565b6001600381111561122157611220612572565b5b600b60009054906101000a900460ff16600381111561124357611242612572565b5b141580156112855750600260038111156112605761125f612572565b5b600b60009054906101000a900460ff16600381111561128257611281612572565b5b14155b156112bc576040517f445dce4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611e61816112c86109fe565b6112d29190612c64565b111561130a576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b346113148261115e565b1461134b576040517f59d6384300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6113553382611db8565b50565b611360611a56565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113c5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006113d2611a56565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661147f611a56565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114c49190612371565b60405180910390a35050565b6114d8611bf6565b73ffffffffffffffffffffffffffffffffffffffff166114f6611134565b73ffffffffffffffffffffffffffffffffffffffff161461154c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154390612c44565b60405180910390fd5b8060098190555050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611587848484610a15565b60008373ffffffffffffffffffffffffffffffffffffffff163b146115e9576115b284848484611dd6565b6115e8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606115fa826119f7565b611630576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60038081111561164357611642612572565b5b600b60009054906101000a900460ff16600381111561166557611664612572565b5b1461169557600c600d60405160200161167f929190612da5565b60405160208183030381529060405290506116c6565b600c6116a083611f36565b600d6040516020016116b493929190612e05565b60405160208183030381529060405290505b919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611767611bf6565b73ffffffffffffffffffffffffffffffffffffffff16611785611134565b73ffffffffffffffffffffffffffffffffffffffff16146117db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d290612c44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561184b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184290612ea8565b60405180910390fd5b61185481611cf2565b50565b61185f611bf6565b73ffffffffffffffffffffffffffffffffffffffff1661187d611134565b73ffffffffffffffffffffffffffffffffffffffff16146118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca90612c44565b60405180910390fd5b80600b60006101000a81548160ff021916908360038111156118f8576118f7612572565b5b02179055506002600381111561191157611910612572565b5b600b60009054906101000a900460ff16600381111561193357611932612572565b5b141561194d576701118f178fb4800060098190555061195c565b66c3663566a580006009819055505b50565b60095481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119c057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119f05750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081611a02611a5e565b11158015611a11575060005482105b8015611a4f575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611a72611a5e565b11611afa57600054811015611af95760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611af7575b6000811415611aed576004600083600190039350838152602001908152602001600020549050611ac2565b8092505050611b2c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611bb4868684611f90565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b80471015611c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3890612f14565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611c6790612f65565b60006040518083038185875af1925050503d8060008114611ca4576040519150601f19603f3d011682016040523d82523d6000602084013e611ca9565b606091505b5050905080611ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce490612fec565b60405180910390fd5b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611dd2828260405180602001604052806000815250611f99565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611dfc611a56565b8786866040518563ffffffff1660e01b8152600401611e1e9493929190613061565b602060405180830381600087803b158015611e3857600080fd5b505af1925050508015611e6957506040513d601f19601f82011682018060405250810190611e6691906130c2565b60015b611ee3573d8060008114611e99576040519150601f19603f3d011682016040523d82523d6000602084013e611e9e565b606091505b50600081511415611edb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015611f7c57600183039250600a81066030018353600a81049050611f5c565b508181036020830392508083525050919050565b60009392505050565b611fa38383612036565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461203157600080549050600083820390505b611fe36000868380600101945086611dd6565b612019576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110611fd057816000541461202e57600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120a3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156120de576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120eb6000848385611b97565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612162836121536000866000611b9d565b61215c8561220a565b17611bc5565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612186578060008190555050506122056000848385611bf0565b505050565b60006001821460e11b9050919050565b82805461222690612add565b90600052602060002090601f016020900481019282612248576000855561228f565b82601f1061226157803560ff191683800117855561228f565b8280016001018555821561228f579182015b8281111561228e578235825591602001919060010190612273565b5b50905061229c91906122a0565b5090565b5b808211156122b95760008160009055506001016122a1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612306816122d1565b811461231157600080fd5b50565b600081359050612323816122fd565b92915050565b60006020828403121561233f5761233e6122c7565b5b600061234d84828501612314565b91505092915050565b60008115159050919050565b61236b81612356565b82525050565b60006020820190506123866000830184612362565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123c65780820151818401526020810190506123ab565b838111156123d5576000848401525b50505050565b6000601f19601f8301169050919050565b60006123f78261238c565b6124018185612397565b93506124118185602086016123a8565b61241a816123db565b840191505092915050565b6000602082019050818103600083015261243f81846123ec565b905092915050565b6000819050919050565b61245a81612447565b811461246557600080fd5b50565b60008135905061247781612451565b92915050565b600060208284031215612493576124926122c7565b5b60006124a184828501612468565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124d5826124aa565b9050919050565b6124e5816124ca565b82525050565b600060208201905061250060008301846124dc565b92915050565b61250f816124ca565b811461251a57600080fd5b50565b60008135905061252c81612506565b92915050565b60008060408385031215612549576125486122c7565b5b60006125578582860161251d565b925050602061256885828601612468565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106125b2576125b1612572565b5b50565b60008190506125c3826125a1565b919050565b60006125d3826125b5565b9050919050565b6125e3816125c8565b82525050565b60006020820190506125fe60008301846125da565b92915050565b61260d81612447565b82525050565b60006020820190506126286000830184612604565b92915050565b600080600060608486031215612647576126466122c7565b5b60006126558682870161251d565b93505060206126668682870161251d565b925050604061267786828701612468565b9150509250925092565b60008060408385031215612698576126976122c7565b5b60006126a685828601612468565b92505060206126b785828601612468565b9150509250929050565b60006040820190506126d660008301856124dc565b6126e36020830184612604565b9392505050565b600080fd5b600080fd5b600080fd5b60008083601f84011261270f5761270e6126ea565b5b8235905067ffffffffffffffff81111561272c5761272b6126ef565b5b602083019150836001820283011115612748576127476126f4565b5b9250929050565b60008060008060408587031215612769576127686122c7565b5b600085013567ffffffffffffffff811115612787576127866122cc565b5b612793878288016126f9565b9450945050602085013567ffffffffffffffff8111156127b6576127b56122cc565b5b6127c2878288016126f9565b925092505092959194509250565b6000602082840312156127e6576127e56122c7565b5b60006127f48482850161251d565b91505092915050565b61280681612356565b811461281157600080fd5b50565b600081359050612823816127fd565b92915050565b600080604083850312156128405761283f6122c7565b5b600061284e8582860161251d565b925050602061285f85828601612814565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6128a6826123db565b810181811067ffffffffffffffff821117156128c5576128c461286e565b5b80604052505050565b60006128d86122bd565b90506128e4828261289d565b919050565b600067ffffffffffffffff8211156129045761290361286e565b5b61290d826123db565b9050602081019050919050565b82818337600083830152505050565b600061293c612937846128e9565b6128ce565b90508281526020810184848401111561295857612957612869565b5b61296384828561291a565b509392505050565b600082601f8301126129805761297f6126ea565b5b8135612990848260208601612929565b91505092915050565b600080600080608085870312156129b3576129b26122c7565b5b60006129c18782880161251d565b94505060206129d28782880161251d565b93505060406129e387828801612468565b925050606085013567ffffffffffffffff811115612a0457612a036122cc565b5b612a108782880161296b565b91505092959194509250565b60008060408385031215612a3357612a326122c7565b5b6000612a418582860161251d565b9250506020612a528582860161251d565b9150509250929050565b60048110612a6957600080fd5b50565b600081359050612a7b81612a5c565b92915050565b600060208284031215612a9757612a966122c7565b5b6000612aa584828501612a6c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612af557607f821691505b60208210811415612b0957612b08612aae565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612b4982612447565b9150612b5483612447565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612b8d57612b8c612b0f565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612bd282612447565b9150612bdd83612447565b925082612bed57612bec612b98565b5b828204905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612c2e602083612397565b9150612c3982612bf8565b602082019050919050565b60006020820190508181036000830152612c5d81612c21565b9050919050565b6000612c6f82612447565b9150612c7a83612447565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612caf57612cae612b0f565b5b828201905092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612ce781612add565b612cf18186612cba565b94506001821660008114612d0c5760018114612d1d57612d50565b60ff19831686528186019350612d50565b612d2685612cc5565b60005b83811015612d4857815481890152600182019150602081019050612d29565b838801955050505b50505092915050565b7f7072650000000000000000000000000000000000000000000000000000000000600082015250565b6000612d8f600383612cba565b9150612d9a82612d59565b600382019050919050565b6000612db18285612cda565b9150612dbc82612d82565b9150612dc88284612cda565b91508190509392505050565b6000612ddf8261238c565b612de98185612cba565b9350612df98185602086016123a8565b80840191505092915050565b6000612e118286612cda565b9150612e1d8285612dd4565b9150612e298284612cda565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612e92602683612397565b9150612e9d82612e36565b604082019050919050565b60006020820190508181036000830152612ec181612e85565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000612efe601d83612397565b9150612f0982612ec8565b602082019050919050565b60006020820190508181036000830152612f2d81612ef1565b9050919050565b600081905092915050565b50565b6000612f4f600083612f34565b9150612f5a82612f3f565b600082019050919050565b6000612f7082612f42565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000612fd6603a83612397565b9150612fe182612f7a565b604082019050919050565b6000602082019050818103600083015261300581612fc9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006130338261300c565b61303d8185613017565b935061304d8185602086016123a8565b613056816123db565b840191505092915050565b600060808201905061307660008301876124dc565b61308360208301866124dc565b6130906040830185612604565b81810360608301526130a28184613028565b905095945050505050565b6000815190506130bc816122fd565b92915050565b6000602082840312156130d8576130d76122c7565b5b60006130e6848285016130ad565b9150509291505056fea2646970667358221220847ea0d2bb78a6846ab909b325b9c972d607375b6bb212c4f8aba64ff5fbbf0a64736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6e6569676862656172732e73332e616d617a6f6e6177732e636f6d2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _base (string): https://neighbears.s3.amazonaws.com/
Arg [1] : _suffix (string): .json

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [3] : 68747470733a2f2f6e6569676862656172732e73332e616d617a6f6e6177732e
Arg [4] : 636f6d2f00000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 2e6a736f6e000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.