ETH Price: $2,301.80 (+0.85%)

Token

BenNFT (BNFT)
 

Overview

Max Total Supply

104 BNFT

Holders

35

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
flexinfinity.eth
Balance
2 BNFT
0x3845b28A99D312199e8821128Bf62705bBfF0D68
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:
BenNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

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


contract BenNFT is ERC721A, Ownable {


    event Payout(address indexed _to, uint256 _value);

    string public baseURI;
    string public baseExtension = ".json";
    uint256 public cost = 0.17 ether;
    uint256 public whitelistCost = 0.17 ether;
    uint256 public maxSupply = 5555;
    uint256 public maxMintAmount = 100;
    bool public paused = false;
    mapping(address => bool) public whitelisted;

    constructor(
        string memory name_,
        string memory symbol_,
        string memory _initBaseURI
    ) ERC721A(name_, symbol_) {

        setBaseURI(_initBaseURI);
    }


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

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

    function setPause(bool _pauseBool) public onlyOwner {
        paused = _pauseBool;
    }

    function whitelistUser(address _user) public onlyOwner {
        whitelisted[_user] = true;
    }

    function add699Whitelists(address[698] memory _users) public onlyOwner {
        for (uint256 i = 0; i < 698; i++) {
            whitelisted[_users[i]] = true;
        }
    }

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

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


    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function totalMinted() public view returns (uint256) {
        return _totalMinted();
    }

    function totalBurned() public view returns (uint256) {
        return _totalBurned();
    }

    function nextTokenId() public view returns (uint256) {
        return _nextTokenId();
    }

    function getAux(address owner) public view returns (uint64) {
        return _getAux(owner);
    }

    function setAux(address owner, uint64 aux) public {
        _setAux(owner, aux);
    }

    function getBaseURI() public view returns (string memory) {
        return _baseURI();
    }

    function exists(uint256 tokenId) public view returns (bool) {
        return _exists(tokenId);
    }

    function safeMint(address to, uint256 quantity) public payable {
        uint256 supply = totalSupply();
        require(quantity > 0);
        require(quantity <= maxMintAmount, "mint too large, less than 101 please!");
        require(supply + quantity <= maxSupply);
        require(paused == false);
        //if not owner
        if (msg.sender != owner()) {
                require(msg.value >= cost * quantity);
            }   

        _safeMint(to, quantity);
    }

    function safeMintPresale(address to, uint256 quantity) public payable {
        uint256 supply = totalSupply();
        require(quantity > 0);
        require(quantity <= maxMintAmount);
        require(supply + quantity <= maxSupply);
        require(paused == false);
        //if not owner
        if (msg.sender != owner()) {
            if (whitelisted[msg.sender] != true) {
                //general public
                require(msg.sender == owner(), "not owner or whitelisted, wait for general sale");
            }   else {
                //presale
                require(msg.value >= whitelistCost * quantity);
                }  
        }

        _safeMint(to, quantity);
    }

    function burn(uint256 tokenId) public {
        _burn(tokenId);
    }

    function burn(uint256 tokenId, bool approvalCheck) public {
        _burn(tokenId, approvalCheck);
    }

    function toString(uint256 x) public pure returns (string memory) {
        return _toString(x);
    }

    function getOwnershipAt(uint256 index) public view returns (TokenOwnership memory) {
        return _ownershipAt(index);
    }

    function getOwnershipOf(uint256 index) public view returns (TokenOwnership memory) {
        return _ownershipOf(index);
    }

    function initializeOwnershipAt(uint256 index) public {
        _initializeOwnershipAt(index);
    }


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


}

File 2 of 6 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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"
        );
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 6 : 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 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 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 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 5 of 6 : 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 6 of 6 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"_initBaseURI","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":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Payout","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[698]","name":"_users","type":"address[698]"}],"name":"add699Whitelists","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bool","name":"approvalCheck","type":"bool"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getAux","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getOwnershipAt","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"initializeOwnershipAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"safeMintPresale","outputs":[],"stateMutability":"payable","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":"address","name":"owner","type":"address"},{"internalType":"uint64","name":"aux","type":"uint64"}],"name":"setAux","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pauseBool","type":"bool"}],"name":"setPause","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":"x","type":"uint256"}],"name":"toString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"whitelistCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"whitelistUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600a908051906020019062000051929190620002f1565b5067025bf6196bd10000600b5567025bf6196bd10000600c556115b3600d556064600e556000600f60006101000a81548160ff0219169083151502179055503480156200009d57600080fd5b5060405162004735380380620047358339818101604052810190620000c391906200041f565b82828160029080519060200190620000dd929190620002f1565b508060039080519060200190620000f6929190620002f1565b50620001076200014960201b60201c565b60008190555050506200012f620001236200014e60201b60201c565b6200015660201b60201c565b62000140816200021c60201b60201c565b505050620006df565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200022c6200014e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000252620002c760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a290620004ff565b60405180910390fd5b8060099080519060200190620002c3929190620002f1565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002ff90620005c7565b90600052602060002090601f0160209004810192826200032357600085556200036f565b82601f106200033e57805160ff19168380011785556200036f565b828001600101855582156200036f579182015b828111156200036e57825182559160200191906001019062000351565b5b5090506200037e919062000382565b5090565b5b808211156200039d57600081600090555060010162000383565b5090565b6000620003b8620003b2846200054a565b62000521565b905082815260208101848484011115620003d757620003d662000696565b5b620003e484828562000591565b509392505050565b600082601f83011262000404576200040362000691565b5b815162000416848260208601620003a1565b91505092915050565b6000806000606084860312156200043b576200043a620006a0565b5b600084015167ffffffffffffffff8111156200045c576200045b6200069b565b5b6200046a86828701620003ec565b935050602084015167ffffffffffffffff8111156200048e576200048d6200069b565b5b6200049c86828701620003ec565b925050604084015167ffffffffffffffff811115620004c057620004bf6200069b565b5b620004ce86828701620003ec565b9150509250925092565b6000620004e760208362000580565b9150620004f482620006b6565b602082019050919050565b600060208201905081810360008301526200051a81620004d8565b9050919050565b60006200052d62000540565b90506200053b8282620005fd565b919050565b6000604051905090565b600067ffffffffffffffff82111562000568576200056762000662565b5b6200057382620006a5565b9050602081019050919050565b600082825260208201905092915050565b60005b83811015620005b157808201518184015260208101905062000594565b83811115620005c1576000848401525b50505050565b60006002820490506001821680620005e057607f821691505b60208210811415620005f757620005f662000633565b5b50919050565b6200060882620006a5565b810181811067ffffffffffffffff821117156200062a576200062962000662565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61404680620006ef6000396000f3fe60806040526004361061027d5760003560e01c8063714c53981161014f578063bf0b175e116100c1578063dc33e6811161007a578063dc33e68114610990578063e7b99ec7146109cd578063e985e9c5146109f8578063f252363314610a35578063f2ea84d214610a72578063f2fde38b14610a8e5761027d565b8063bf0b175e14610858578063c668286214610895578063c87b56dd146108c0578063d5abeb01146108fd578063d89135cd14610928578063d936547e146109535761027d565b80639fac68cb116101135780639fac68cb1461076d578063a144819414610796578063a22cb465146107b2578063a2309ff8146107db578063b88d4fde14610806578063bedb86fb1461082f5761027d565b8063714c5398146106aa578063715018a6146106d557806375794a3c146106ec5780638da5cb5b1461071757806395d89b41146107425761027d565b8063453ab141116101f35780635c975abb116101ac5780635c975abb146105745780635dc174921461059f5780636352211e146105c85780636900a3ae146106055780636c0360eb1461064257806370a082311461066d5761027d565b8063453ab141146104565780634a4c560d1461047f5780634f558e79146104a857806352d8a4d1146104e557806353b1233d1461052257806355f804b31461054b5761027d565b806318160ddd1161024557806318160ddd1461037b578063239c70ae146103a657806323b872dd146103d15780633ccfd60b146103fa57806342842e0e1461040457806342966c681461042d5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b31461032757806313faede614610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613399565b610ab7565b6040516102b69190613817565b60405180910390f35b3480156102cb57600080fd5b506102d4610b49565b6040516102e19190613832565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c919061343c565b610bdb565b60405161031e91906137b0565b60405180910390f35b34801561033357600080fd5b5061034e600480360381019061034991906132be565b610c57565b005b34801561035c57600080fd5b50610365610d98565b604051610372919061390f565b60405180910390f35b34801561038757600080fd5b50610390610d9e565b60405161039d919061390f565b60405180910390f35b3480156103b257600080fd5b506103bb610db5565b6040516103c8919061390f565b60405180910390f35b3480156103dd57600080fd5b506103f860048036038101906103f391906131a8565b610dbb565b005b6104026110e0565b005b34801561041057600080fd5b5061042b600480360381019061042691906131a8565b6111d5565b005b34801561043957600080fd5b50610454600480360381019061044f919061343c565b6111f5565b005b34801561046257600080fd5b5061047d600480360381019061047891906132fe565b611201565b005b34801561048b57600080fd5b506104a660048036038101906104a1919061313b565b61120f565b005b3480156104b457600080fd5b506104cf60048036038101906104ca919061343c565b6112e6565b6040516104dc9190613817565b60405180910390f35b3480156104f157600080fd5b5061050c6004803603810190610507919061343c565b6112f8565b60405161051991906138f4565b60405180910390f35b34801561052e57600080fd5b506105496004803603810190610544919061343c565b611310565b005b34801561055757600080fd5b50610572600480360381019061056d91906133f3565b61131c565b005b34801561058057600080fd5b506105896113b2565b6040516105969190613817565b60405180910390f35b3480156105ab57600080fd5b506105c660048036038101906105c1919061333e565b6113c5565b005b3480156105d457600080fd5b506105ef60048036038101906105ea919061343c565b6114d5565b6040516105fc91906137b0565b60405180910390f35b34801561061157600080fd5b5061062c6004803603810190610627919061343c565b6114e7565b6040516106399190613832565b60405180910390f35b34801561064e57600080fd5b506106576114f9565b6040516106649190613832565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f919061313b565b611587565b6040516106a1919061390f565b60405180910390f35b3480156106b657600080fd5b506106bf611640565b6040516106cc9190613832565b60405180910390f35b3480156106e157600080fd5b506106ea61164f565b005b3480156106f857600080fd5b506107016116d7565b60405161070e919061390f565b60405180910390f35b34801561072357600080fd5b5061072c6116e6565b60405161073991906137b0565b60405180910390f35b34801561074e57600080fd5b50610757611710565b6040516107649190613832565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f9190613469565b6117a2565b005b6107b060048036038101906107ab91906132be565b6117b0565b005b3480156107be57600080fd5b506107d960048036038101906107d4919061327e565b6118ac565b005b3480156107e757600080fd5b506107f0611a24565b6040516107fd919061390f565b60405180910390f35b34801561081257600080fd5b5061082d600480360381019061082891906131fb565b611a33565b005b34801561083b57600080fd5b506108566004803603810190610851919061336c565b611aa6565b005b34801561086457600080fd5b5061087f600480360381019061087a919061313b565b611b3f565b60405161088c919061392a565b60405180910390f35b3480156108a157600080fd5b506108aa611b51565b6040516108b79190613832565b60405180910390f35b3480156108cc57600080fd5b506108e760048036038101906108e2919061343c565b611bdf565b6040516108f49190613832565b60405180910390f35b34801561090957600080fd5b50610912611c89565b60405161091f919061390f565b60405180910390f35b34801561093457600080fd5b5061093d611c8f565b60405161094a919061390f565b60405180910390f35b34801561095f57600080fd5b5061097a6004803603810190610975919061313b565b611c9e565b6040516109879190613817565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b2919061313b565b611cbe565b6040516109c4919061390f565b60405180910390f35b3480156109d957600080fd5b506109e2611cd0565b6040516109ef919061390f565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613168565b611cd6565b604051610a2c9190613817565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a57919061343c565b611d6a565b604051610a6991906138f4565b60405180910390f35b610a8c6004803603810190610a8791906132be565b611d82565b005b348015610a9a57600080fd5b50610ab56004803603810190610ab0919061313b565b611f1b565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b425750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b5890613c43565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8490613c43565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b5050505050905090565b6000610be682612013565b610c1c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c62826114d5565b90508073ffffffffffffffffffffffffffffffffffffffff16610c83612072565b73ffffffffffffffffffffffffffffffffffffffff1614610ce657610caf81610caa612072565b611cd6565b610ce5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b5481565b6000610da861207a565b6001546000540303905090565b600e5481565b6000610dc68261207f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e2d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e398461214d565b91509150610e4f8187610e4a612072565b61216f565b610e9b57610e6486610e5f612072565b611cd6565b610e9a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610f02576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0f86868660016121b3565b8015610f1a57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610fe885610fc48888876121b9565b7c0200000000000000000000000000000000000000000000000000000000176121e1565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561107057600060018501905060006004600083815260200190815260200160002054141561106e57600054811461106d578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110d8868686600161220c565b505050505050565b6110e8612212565b73ffffffffffffffffffffffffffffffffffffffff166111066116e6565b73ffffffffffffffffffffffffffffffffffffffff161461115c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611153906138b4565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516111829061379b565b60006040518083038185875af1925050503d80600081146111bf576040519150601f19603f3d011682016040523d82523d6000602084013e6111c4565b606091505b50509050806111d257600080fd5b50565b6111f083838360405180602001604052806000815250611a33565b505050565b6111fe8161221a565b50565b61120b8282612228565b5050565b611217612212565b73ffffffffffffffffffffffffffffffffffffffff166112356116e6565b73ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611282906138b4565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006112f182612013565b9050919050565b611300612e58565b611309826122de565b9050919050565b611319816122fe565b50565b611324612212565b73ffffffffffffffffffffffffffffffffffffffff166113426116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138f906138b4565b60405180910390fd5b80600990805190602001906113ae929190612ea7565b5050565b600f60009054906101000a900460ff1681565b6113cd612212565b73ffffffffffffffffffffffffffffffffffffffff166113eb6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611441576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611438906138b4565b60405180910390fd5b60005b6102ba8110156114d15760016010600084846102ba811061146857611467613dad565b5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806114c990613ca6565b915050611444565b5050565b60006114e08261207f565b9050919050565b60606114f28261233e565b9050919050565b6009805461150690613c43565b80601f016020809104026020016040519081016040528092919081815260200182805461153290613c43565b801561157f5780601f106115545761010080835404028352916020019161157f565b820191906000526020600020905b81548152906001019060200180831161156257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ef576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b606061164a612398565b905090565b611657612212565b73ffffffffffffffffffffffffffffffffffffffff166116756116e6565b73ffffffffffffffffffffffffffffffffffffffff16146116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906138b4565b60405180910390fd5b6116d5600061242a565b565b60006116e16124f0565b905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461171f90613c43565b80601f016020809104026020016040519081016040528092919081815260200182805461174b90613c43565b80156117985780601f1061176d57610100808354040283529160200191611798565b820191906000526020600020905b81548152906001019060200180831161177b57829003601f168201915b5050505050905090565b6117ac82826124f9565b5050565b60006117ba610d9e565b9050600082116117c957600080fd5b600e5482111561180e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180590613894565b60405180910390fd5b600d54828261181d9190613a55565b111561182857600080fd5b60001515600f60009054906101000a900460ff1615151461184857600080fd5b6118506116e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461189d5781600b546118909190613adc565b34101561189c57600080fd5b5b6118a7838361274d565b505050565b6118b4612072565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611919576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611926612072565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119d3612072565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a189190613817565b60405180910390a35050565b6000611a2e61276b565b905090565b611a3e848484610dbb565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611aa057611a698484848461277e565b611a9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611aae612212565b73ffffffffffffffffffffffffffffffffffffffff16611acc6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b19906138b4565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000611b4a826128de565b9050919050565b600a8054611b5e90613c43565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8a90613c43565b8015611bd75780601f10611bac57610100808354040283529160200191611bd7565b820191906000526020600020905b815481529060010190602001808311611bba57829003601f168201915b505050505081565b6060611bea82612013565b611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c20906138d4565b60405180910390fd5b6000611c33612398565b90506000815111611c535760405180602001604052806000815250611c81565b80611c5d8461292b565b600a604051602001611c719392919061376a565b6040516020818303038152906040525b915050919050565b600d5481565b6000611c99612a8c565b905090565b60106020528060005260406000206000915054906101000a900460ff1681565b6000611cc982612a96565b9050919050565b600c5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d72612e58565b611d7b82612aed565b9050919050565b6000611d8c610d9e565b905060008211611d9b57600080fd5b600e54821115611daa57600080fd5b600d548282611db99190613a55565b1115611dc457600080fd5b60001515600f60009054906101000a900460ff16151514611de457600080fd5b611dec6116e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f0c5760011515601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611ef057611e7e6116e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290613874565b60405180910390fd5b611f0b565b81600c54611efe9190613adc565b341015611f0a57600080fd5b5b5b611f16838361274d565b505050565b611f23612212565b73ffffffffffffffffffffffffffffffffffffffff16611f416116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8e906138b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffe90613854565b60405180910390fd5b6120108161242a565b50565b60008161201e61207a565b1115801561202d575060005482105b801561206b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061208e61207a565b11612116576000548110156121155760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612113575b60008114156121095760046000836001900393508381526020019081526020016000205490506120de565b8092505050612148565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86121d0868684612b18565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6122258160006124f9565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6122e6612e58565b6122f76122f28361207f565b612b21565b9050919050565b60006004600083815260200190815260200160002054141561233b576123238161207f565b60046000838152602001908152602001600020819055505b50565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561238457600183039250600a81066030018353600a81049050612364565b508181036020830392508083525050919050565b6060600980546123a790613c43565b80601f01602080910402602001604051908101604052809291908181526020018280546123d390613c43565b80156124205780601f106123f557610100808354040283529160200191612420565b820191906000526020600020905b81548152906001019060200180831161240357829003601f168201915b5050505050905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b60006125048361207f565b905060008190506000806125178661214d565b91509150841561258057612533818461252e612072565b61216f565b61257f5761254883612543612072565b611cd6565b61257e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61258e8360008860016121b3565b801561259957600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612641836125fe856000886121b9565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176121e1565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851614156126c95760006001870190506000600460008381526020019081526020016000205414156126c75760005481146126c6578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461273383600088600161220c565b600160008154809291906001019190505550505050505050565b612767828260405180602001604052806000815250612bd7565b5050565b600061277561207a565b60005403905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127a4612072565b8786866040518563ffffffff1660e01b81526004016127c694939291906137cb565b602060405180830381600087803b1580156127e057600080fd5b505af192505050801561281157506040513d601f19601f8201168201806040525081019061280e91906133c6565b60015b61288b573d8060008114612841576040519150601f19603f3d011682016040523d82523d6000602084013e612846565b606091505b50600081511415612883576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b60606000821415612973576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a87565b600082905060005b600082146129a557808061298e90613ca6565b915050600a8261299e9190613aab565b915061297b565b60008167ffffffffffffffff8111156129c1576129c0613ddc565b5b6040519080825280601f01601f1916602001820160405280156129f35781602001600182028036833780820191505090505b5090505b60008514612a8057600182612a0c9190613b36565b9150600a85612a1b9190613cef565b6030612a279190613a55565b60f81b818381518110612a3d57612a3c613dad565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a799190613aab565b94506129f7565b8093505050505b919050565b6000600154905090565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b612af5612e58565b612b116004600084815260200190815260200160002054612b21565b9050919050565b60009392505050565b612b29612e58565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b612be18383612c74565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612c6f57600080549050600083820390505b612c21600086838060010194508661277e565b612c57576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612c0e578160005414612c6c57600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ce1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612d1c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d2960008483856121b3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612da083612d9160008660006121b9565b612d9a85612e48565b176121e1565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612dc457806000819055505050612e43600084838561220c565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b828054612eb390613c43565b90600052602060002090601f016020900481019282612ed55760008555612f1c565b82601f10612eee57805160ff1916838001178555612f1c565b82800160010185558215612f1c579182015b82811115612f1b578251825591602001919060010190612f00565b5b509050612f299190612f2d565b5090565b5b80821115612f46576000816000905550600101612f2e565b5090565b6000612f5d612f588461396a565b613945565b90508082856020860282011115612f7757612f76613e10565b5b60005b85811015612fa75781612f8d8882613035565b845260208401935060208301925050600181019050612f7a565b5050509392505050565b6000612fc4612fbf84613990565b613945565b905082815260208101848484011115612fe057612fdf613e15565b5b612feb848285613c01565b509392505050565b6000613006613001846139c1565b613945565b90508281526020810184848401111561302257613021613e15565b5b61302d848285613c01565b509392505050565b60008135905061304481613f9d565b92915050565b600082601f83011261305f5761305e613e0b565b5b6102ba61306d848285612f4a565b91505092915050565b60008135905061308581613fb4565b92915050565b60008135905061309a81613fcb565b92915050565b6000815190506130af81613fcb565b92915050565b600082601f8301126130ca576130c9613e0b565b5b81356130da848260208601612fb1565b91505092915050565b600082601f8301126130f8576130f7613e0b565b5b8135613108848260208601612ff3565b91505092915050565b60008135905061312081613fe2565b92915050565b60008135905061313581613ff9565b92915050565b60006020828403121561315157613150613e1f565b5b600061315f84828501613035565b91505092915050565b6000806040838503121561317f5761317e613e1f565b5b600061318d85828601613035565b925050602061319e85828601613035565b9150509250929050565b6000806000606084860312156131c1576131c0613e1f565b5b60006131cf86828701613035565b93505060206131e086828701613035565b92505060406131f186828701613111565b9150509250925092565b6000806000806080858703121561321557613214613e1f565b5b600061322387828801613035565b945050602061323487828801613035565b935050604061324587828801613111565b925050606085013567ffffffffffffffff81111561326657613265613e1a565b5b613272878288016130b5565b91505092959194509250565b6000806040838503121561329557613294613e1f565b5b60006132a385828601613035565b92505060206132b485828601613076565b9150509250929050565b600080604083850312156132d5576132d4613e1f565b5b60006132e385828601613035565b92505060206132f485828601613111565b9150509250929050565b6000806040838503121561331557613314613e1f565b5b600061332385828601613035565b925050602061333485828601613126565b9150509250929050565b6000615740828403121561335557613354613e1f565b5b60006133638482850161304a565b91505092915050565b60006020828403121561338257613381613e1f565b5b600061339084828501613076565b91505092915050565b6000602082840312156133af576133ae613e1f565b5b60006133bd8482850161308b565b91505092915050565b6000602082840312156133dc576133db613e1f565b5b60006133ea848285016130a0565b91505092915050565b60006020828403121561340957613408613e1f565b5b600082013567ffffffffffffffff81111561342757613426613e1a565b5b613433848285016130e3565b91505092915050565b60006020828403121561345257613451613e1f565b5b600061346084828501613111565b91505092915050565b600080604083850312156134805761347f613e1f565b5b600061348e85828601613111565b925050602061349f85828601613076565b9150509250929050565b6134b281613b6a565b82525050565b6134c181613b6a565b82525050565b6134d081613b7c565b82525050565b6134df81613b7c565b82525050565b60006134f082613a07565b6134fa8185613a1d565b935061350a818560208601613c10565b61351381613e24565b840191505092915050565b600061352982613a12565b6135338185613a39565b9350613543818560208601613c10565b61354c81613e24565b840191505092915050565b600061356282613a12565b61356c8185613a4a565b935061357c818560208601613c10565b80840191505092915050565b6000815461359581613c43565b61359f8186613a4a565b945060018216600081146135ba57600181146135cb576135fe565b60ff198316865281860193506135fe565b6135d4856139f2565b60005b838110156135f6578154818901526001820191506020810190506135d7565b838801955050505b50505092915050565b6000613614602683613a39565b915061361f82613e35565b604082019050919050565b6000613637602f83613a39565b915061364282613e84565b604082019050919050565b600061365a602583613a39565b915061366582613ed3565b604082019050919050565b600061367d602083613a39565b915061368882613f22565b602082019050919050565b60006136a0602f83613a39565b91506136ab82613f4b565b604082019050919050565b60006136c3600083613a2e565b91506136ce82613f9a565b600082019050919050565b6080820160008201516136ef60008501826134a9565b506020820151613702602085018261374c565b50604082015161371560408501826134c7565b506060820151613728606085018261372e565b50505050565b61373781613bd4565b82525050565b61374681613be3565b82525050565b61375581613bed565b82525050565b61376481613bed565b82525050565b60006137768286613557565b91506137828285613557565b915061378e8284613588565b9150819050949350505050565b60006137a6826136b6565b9150819050919050565b60006020820190506137c560008301846134b8565b92915050565b60006080820190506137e060008301876134b8565b6137ed60208301866134b8565b6137fa604083018561373d565b818103606083015261380c81846134e5565b905095945050505050565b600060208201905061382c60008301846134d6565b92915050565b6000602082019050818103600083015261384c818461351e565b905092915050565b6000602082019050818103600083015261386d81613607565b9050919050565b6000602082019050818103600083015261388d8161362a565b9050919050565b600060208201905081810360008301526138ad8161364d565b9050919050565b600060208201905081810360008301526138cd81613670565b9050919050565b600060208201905081810360008301526138ed81613693565b9050919050565b600060808201905061390960008301846136d9565b92915050565b6000602082019050613924600083018461373d565b92915050565b600060208201905061393f600083018461375b565b92915050565b600061394f613960565b905061395b8282613c75565b919050565b6000604051905090565b600067ffffffffffffffff82111561398557613984613ddc565b5b602082029050919050565b600067ffffffffffffffff8211156139ab576139aa613ddc565b5b6139b482613e24565b9050602081019050919050565b600067ffffffffffffffff8211156139dc576139db613ddc565b5b6139e582613e24565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a6082613be3565b9150613a6b83613be3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613aa057613a9f613d20565b5b828201905092915050565b6000613ab682613be3565b9150613ac183613be3565b925082613ad157613ad0613d4f565b5b828204905092915050565b6000613ae782613be3565b9150613af283613be3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b2b57613b2a613d20565b5b828202905092915050565b6000613b4182613be3565b9150613b4c83613be3565b925082821015613b5f57613b5e613d20565b5b828203905092915050565b6000613b7582613bb4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062ffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015613c2e578082015181840152602081019050613c13565b83811115613c3d576000848401525b50505050565b60006002820490506001821680613c5b57607f821691505b60208210811415613c6f57613c6e613d7e565b5b50919050565b613c7e82613e24565b810181811067ffffffffffffffff82111715613c9d57613c9c613ddc565b5b80604052505050565b6000613cb182613be3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ce457613ce3613d20565b5b600182019050919050565b6000613cfa82613be3565b9150613d0583613be3565b925082613d1557613d14613d4f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f74206f776e6572206f722077686974656c69737465642c2077616974206660008201527f6f722067656e6572616c2073616c650000000000000000000000000000000000602082015250565b7f6d696e7420746f6f206c617267652c206c657373207468616e2031303120706c60008201527f6561736521000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b613fa681613b6a565b8114613fb157600080fd5b50565b613fbd81613b7c565b8114613fc857600080fd5b50565b613fd481613b88565b8114613fdf57600080fd5b50565b613feb81613be3565b8114613ff657600080fd5b50565b61400281613bed565b811461400d57600080fd5b5056fea26469706673582212209d9a354f6570fa7896881d19fdbfca05f9922445bdd3452c3d814c54f97168e264736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000642656e4e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f62616679626569673373667472696763746764716c33746e746675626c32736e70657774707673693236736e356d7a697373667a7637777963676d2e697066732e6e667473746f726167652e6c696e6b2f00000000000000

Deployed Bytecode

0x60806040526004361061027d5760003560e01c8063714c53981161014f578063bf0b175e116100c1578063dc33e6811161007a578063dc33e68114610990578063e7b99ec7146109cd578063e985e9c5146109f8578063f252363314610a35578063f2ea84d214610a72578063f2fde38b14610a8e5761027d565b8063bf0b175e14610858578063c668286214610895578063c87b56dd146108c0578063d5abeb01146108fd578063d89135cd14610928578063d936547e146109535761027d565b80639fac68cb116101135780639fac68cb1461076d578063a144819414610796578063a22cb465146107b2578063a2309ff8146107db578063b88d4fde14610806578063bedb86fb1461082f5761027d565b8063714c5398146106aa578063715018a6146106d557806375794a3c146106ec5780638da5cb5b1461071757806395d89b41146107425761027d565b8063453ab141116101f35780635c975abb116101ac5780635c975abb146105745780635dc174921461059f5780636352211e146105c85780636900a3ae146106055780636c0360eb1461064257806370a082311461066d5761027d565b8063453ab141146104565780634a4c560d1461047f5780634f558e79146104a857806352d8a4d1146104e557806353b1233d1461052257806355f804b31461054b5761027d565b806318160ddd1161024557806318160ddd1461037b578063239c70ae146103a657806323b872dd146103d15780633ccfd60b146103fa57806342842e0e1461040457806342966c681461042d5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b31461032757806313faede614610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613399565b610ab7565b6040516102b69190613817565b60405180910390f35b3480156102cb57600080fd5b506102d4610b49565b6040516102e19190613832565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c919061343c565b610bdb565b60405161031e91906137b0565b60405180910390f35b34801561033357600080fd5b5061034e600480360381019061034991906132be565b610c57565b005b34801561035c57600080fd5b50610365610d98565b604051610372919061390f565b60405180910390f35b34801561038757600080fd5b50610390610d9e565b60405161039d919061390f565b60405180910390f35b3480156103b257600080fd5b506103bb610db5565b6040516103c8919061390f565b60405180910390f35b3480156103dd57600080fd5b506103f860048036038101906103f391906131a8565b610dbb565b005b6104026110e0565b005b34801561041057600080fd5b5061042b600480360381019061042691906131a8565b6111d5565b005b34801561043957600080fd5b50610454600480360381019061044f919061343c565b6111f5565b005b34801561046257600080fd5b5061047d600480360381019061047891906132fe565b611201565b005b34801561048b57600080fd5b506104a660048036038101906104a1919061313b565b61120f565b005b3480156104b457600080fd5b506104cf60048036038101906104ca919061343c565b6112e6565b6040516104dc9190613817565b60405180910390f35b3480156104f157600080fd5b5061050c6004803603810190610507919061343c565b6112f8565b60405161051991906138f4565b60405180910390f35b34801561052e57600080fd5b506105496004803603810190610544919061343c565b611310565b005b34801561055757600080fd5b50610572600480360381019061056d91906133f3565b61131c565b005b34801561058057600080fd5b506105896113b2565b6040516105969190613817565b60405180910390f35b3480156105ab57600080fd5b506105c660048036038101906105c1919061333e565b6113c5565b005b3480156105d457600080fd5b506105ef60048036038101906105ea919061343c565b6114d5565b6040516105fc91906137b0565b60405180910390f35b34801561061157600080fd5b5061062c6004803603810190610627919061343c565b6114e7565b6040516106399190613832565b60405180910390f35b34801561064e57600080fd5b506106576114f9565b6040516106649190613832565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f919061313b565b611587565b6040516106a1919061390f565b60405180910390f35b3480156106b657600080fd5b506106bf611640565b6040516106cc9190613832565b60405180910390f35b3480156106e157600080fd5b506106ea61164f565b005b3480156106f857600080fd5b506107016116d7565b60405161070e919061390f565b60405180910390f35b34801561072357600080fd5b5061072c6116e6565b60405161073991906137b0565b60405180910390f35b34801561074e57600080fd5b50610757611710565b6040516107649190613832565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f9190613469565b6117a2565b005b6107b060048036038101906107ab91906132be565b6117b0565b005b3480156107be57600080fd5b506107d960048036038101906107d4919061327e565b6118ac565b005b3480156107e757600080fd5b506107f0611a24565b6040516107fd919061390f565b60405180910390f35b34801561081257600080fd5b5061082d600480360381019061082891906131fb565b611a33565b005b34801561083b57600080fd5b506108566004803603810190610851919061336c565b611aa6565b005b34801561086457600080fd5b5061087f600480360381019061087a919061313b565b611b3f565b60405161088c919061392a565b60405180910390f35b3480156108a157600080fd5b506108aa611b51565b6040516108b79190613832565b60405180910390f35b3480156108cc57600080fd5b506108e760048036038101906108e2919061343c565b611bdf565b6040516108f49190613832565b60405180910390f35b34801561090957600080fd5b50610912611c89565b60405161091f919061390f565b60405180910390f35b34801561093457600080fd5b5061093d611c8f565b60405161094a919061390f565b60405180910390f35b34801561095f57600080fd5b5061097a6004803603810190610975919061313b565b611c9e565b6040516109879190613817565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b2919061313b565b611cbe565b6040516109c4919061390f565b60405180910390f35b3480156109d957600080fd5b506109e2611cd0565b6040516109ef919061390f565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190613168565b611cd6565b604051610a2c9190613817565b60405180910390f35b348015610a4157600080fd5b50610a5c6004803603810190610a57919061343c565b611d6a565b604051610a6991906138f4565b60405180910390f35b610a8c6004803603810190610a8791906132be565b611d82565b005b348015610a9a57600080fd5b50610ab56004803603810190610ab0919061313b565b611f1b565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b425750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610b5890613c43565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8490613c43565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b5050505050905090565b6000610be682612013565b610c1c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c62826114d5565b90508073ffffffffffffffffffffffffffffffffffffffff16610c83612072565b73ffffffffffffffffffffffffffffffffffffffff1614610ce657610caf81610caa612072565b611cd6565b610ce5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b5481565b6000610da861207a565b6001546000540303905090565b600e5481565b6000610dc68261207f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e2d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e398461214d565b91509150610e4f8187610e4a612072565b61216f565b610e9b57610e6486610e5f612072565b611cd6565b610e9a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610f02576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0f86868660016121b3565b8015610f1a57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610fe885610fc48888876121b9565b7c0200000000000000000000000000000000000000000000000000000000176121e1565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561107057600060018501905060006004600083815260200190815260200160002054141561106e57600054811461106d578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110d8868686600161220c565b505050505050565b6110e8612212565b73ffffffffffffffffffffffffffffffffffffffff166111066116e6565b73ffffffffffffffffffffffffffffffffffffffff161461115c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611153906138b4565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16476040516111829061379b565b60006040518083038185875af1925050503d80600081146111bf576040519150601f19603f3d011682016040523d82523d6000602084013e6111c4565b606091505b50509050806111d257600080fd5b50565b6111f083838360405180602001604052806000815250611a33565b505050565b6111fe8161221a565b50565b61120b8282612228565b5050565b611217612212565b73ffffffffffffffffffffffffffffffffffffffff166112356116e6565b73ffffffffffffffffffffffffffffffffffffffff161461128b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611282906138b4565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006112f182612013565b9050919050565b611300612e58565b611309826122de565b9050919050565b611319816122fe565b50565b611324612212565b73ffffffffffffffffffffffffffffffffffffffff166113426116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138f906138b4565b60405180910390fd5b80600990805190602001906113ae929190612ea7565b5050565b600f60009054906101000a900460ff1681565b6113cd612212565b73ffffffffffffffffffffffffffffffffffffffff166113eb6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611441576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611438906138b4565b60405180910390fd5b60005b6102ba8110156114d15760016010600084846102ba811061146857611467613dad565b5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806114c990613ca6565b915050611444565b5050565b60006114e08261207f565b9050919050565b60606114f28261233e565b9050919050565b6009805461150690613c43565b80601f016020809104026020016040519081016040528092919081815260200182805461153290613c43565b801561157f5780601f106115545761010080835404028352916020019161157f565b820191906000526020600020905b81548152906001019060200180831161156257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ef576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b606061164a612398565b905090565b611657612212565b73ffffffffffffffffffffffffffffffffffffffff166116756116e6565b73ffffffffffffffffffffffffffffffffffffffff16146116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906138b4565b60405180910390fd5b6116d5600061242a565b565b60006116e16124f0565b905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461171f90613c43565b80601f016020809104026020016040519081016040528092919081815260200182805461174b90613c43565b80156117985780601f1061176d57610100808354040283529160200191611798565b820191906000526020600020905b81548152906001019060200180831161177b57829003601f168201915b5050505050905090565b6117ac82826124f9565b5050565b60006117ba610d9e565b9050600082116117c957600080fd5b600e5482111561180e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180590613894565b60405180910390fd5b600d54828261181d9190613a55565b111561182857600080fd5b60001515600f60009054906101000a900460ff1615151461184857600080fd5b6118506116e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461189d5781600b546118909190613adc565b34101561189c57600080fd5b5b6118a7838361274d565b505050565b6118b4612072565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611919576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611926612072565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119d3612072565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a189190613817565b60405180910390a35050565b6000611a2e61276b565b905090565b611a3e848484610dbb565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611aa057611a698484848461277e565b611a9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611aae612212565b73ffffffffffffffffffffffffffffffffffffffff16611acc6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b19906138b4565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000611b4a826128de565b9050919050565b600a8054611b5e90613c43565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8a90613c43565b8015611bd75780601f10611bac57610100808354040283529160200191611bd7565b820191906000526020600020905b815481529060010190602001808311611bba57829003601f168201915b505050505081565b6060611bea82612013565b611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c20906138d4565b60405180910390fd5b6000611c33612398565b90506000815111611c535760405180602001604052806000815250611c81565b80611c5d8461292b565b600a604051602001611c719392919061376a565b6040516020818303038152906040525b915050919050565b600d5481565b6000611c99612a8c565b905090565b60106020528060005260406000206000915054906101000a900460ff1681565b6000611cc982612a96565b9050919050565b600c5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d72612e58565b611d7b82612aed565b9050919050565b6000611d8c610d9e565b905060008211611d9b57600080fd5b600e54821115611daa57600080fd5b600d548282611db99190613a55565b1115611dc457600080fd5b60001515600f60009054906101000a900460ff16151514611de457600080fd5b611dec6116e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f0c5760011515601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611ef057611e7e6116e6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290613874565b60405180910390fd5b611f0b565b81600c54611efe9190613adc565b341015611f0a57600080fd5b5b5b611f16838361274d565b505050565b611f23612212565b73ffffffffffffffffffffffffffffffffffffffff16611f416116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8e906138b4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffe90613854565b60405180910390fd5b6120108161242a565b50565b60008161201e61207a565b1115801561202d575060005482105b801561206b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061208e61207a565b11612116576000548110156121155760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612113575b60008114156121095760046000836001900393508381526020019081526020016000205490506120de565b8092505050612148565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86121d0868684612b18565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6122258160006124f9565b50565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b6122e6612e58565b6122f76122f28361207f565b612b21565b9050919050565b60006004600083815260200190815260200160002054141561233b576123238161207f565b60046000838152602001908152602001600020819055505b50565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561238457600183039250600a81066030018353600a81049050612364565b508181036020830392508083525050919050565b6060600980546123a790613c43565b80601f01602080910402602001604051908101604052809291908181526020018280546123d390613c43565b80156124205780601f106123f557610100808354040283529160200191612420565b820191906000526020600020905b81548152906001019060200180831161240357829003601f168201915b5050505050905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008054905090565b60006125048361207f565b905060008190506000806125178661214d565b91509150841561258057612533818461252e612072565b61216f565b61257f5761254883612543612072565b611cd6565b61257e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61258e8360008860016121b3565b801561259957600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612641836125fe856000886121b9565b7c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000017176121e1565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851614156126c95760006001870190506000600460008381526020019081526020016000205414156126c75760005481146126c6578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461273383600088600161220c565b600160008154809291906001019190505550505050505050565b612767828260405180602001604052806000815250612bd7565b5050565b600061277561207a565b60005403905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127a4612072565b8786866040518563ffffffff1660e01b81526004016127c694939291906137cb565b602060405180830381600087803b1580156127e057600080fd5b505af192505050801561281157506040513d601f19601f8201168201806040525081019061280e91906133c6565b60015b61288b573d8060008114612841576040519150601f19603f3d011682016040523d82523d6000602084013e612846565b606091505b50600081511415612883576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b60606000821415612973576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a87565b600082905060005b600082146129a557808061298e90613ca6565b915050600a8261299e9190613aab565b915061297b565b60008167ffffffffffffffff8111156129c1576129c0613ddc565b5b6040519080825280601f01601f1916602001820160405280156129f35781602001600182028036833780820191505090505b5090505b60008514612a8057600182612a0c9190613b36565b9150600a85612a1b9190613cef565b6030612a279190613a55565b60f81b818381518110612a3d57612a3c613dad565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a799190613aab565b94506129f7565b8093505050505b919050565b6000600154905090565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b612af5612e58565b612b116004600084815260200190815260200160002054612b21565b9050919050565b60009392505050565b612b29612e58565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b612be18383612c74565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612c6f57600080549050600083820390505b612c21600086838060010194508661277e565b612c57576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612c0e578160005414612c6c57600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ce1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612d1c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d2960008483856121b3565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612da083612d9160008660006121b9565b612d9a85612e48565b176121e1565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612dc457806000819055505050612e43600084838561220c565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b828054612eb390613c43565b90600052602060002090601f016020900481019282612ed55760008555612f1c565b82601f10612eee57805160ff1916838001178555612f1c565b82800160010185558215612f1c579182015b82811115612f1b578251825591602001919060010190612f00565b5b509050612f299190612f2d565b5090565b5b80821115612f46576000816000905550600101612f2e565b5090565b6000612f5d612f588461396a565b613945565b90508082856020860282011115612f7757612f76613e10565b5b60005b85811015612fa75781612f8d8882613035565b845260208401935060208301925050600181019050612f7a565b5050509392505050565b6000612fc4612fbf84613990565b613945565b905082815260208101848484011115612fe057612fdf613e15565b5b612feb848285613c01565b509392505050565b6000613006613001846139c1565b613945565b90508281526020810184848401111561302257613021613e15565b5b61302d848285613c01565b509392505050565b60008135905061304481613f9d565b92915050565b600082601f83011261305f5761305e613e0b565b5b6102ba61306d848285612f4a565b91505092915050565b60008135905061308581613fb4565b92915050565b60008135905061309a81613fcb565b92915050565b6000815190506130af81613fcb565b92915050565b600082601f8301126130ca576130c9613e0b565b5b81356130da848260208601612fb1565b91505092915050565b600082601f8301126130f8576130f7613e0b565b5b8135613108848260208601612ff3565b91505092915050565b60008135905061312081613fe2565b92915050565b60008135905061313581613ff9565b92915050565b60006020828403121561315157613150613e1f565b5b600061315f84828501613035565b91505092915050565b6000806040838503121561317f5761317e613e1f565b5b600061318d85828601613035565b925050602061319e85828601613035565b9150509250929050565b6000806000606084860312156131c1576131c0613e1f565b5b60006131cf86828701613035565b93505060206131e086828701613035565b92505060406131f186828701613111565b9150509250925092565b6000806000806080858703121561321557613214613e1f565b5b600061322387828801613035565b945050602061323487828801613035565b935050604061324587828801613111565b925050606085013567ffffffffffffffff81111561326657613265613e1a565b5b613272878288016130b5565b91505092959194509250565b6000806040838503121561329557613294613e1f565b5b60006132a385828601613035565b92505060206132b485828601613076565b9150509250929050565b600080604083850312156132d5576132d4613e1f565b5b60006132e385828601613035565b92505060206132f485828601613111565b9150509250929050565b6000806040838503121561331557613314613e1f565b5b600061332385828601613035565b925050602061333485828601613126565b9150509250929050565b6000615740828403121561335557613354613e1f565b5b60006133638482850161304a565b91505092915050565b60006020828403121561338257613381613e1f565b5b600061339084828501613076565b91505092915050565b6000602082840312156133af576133ae613e1f565b5b60006133bd8482850161308b565b91505092915050565b6000602082840312156133dc576133db613e1f565b5b60006133ea848285016130a0565b91505092915050565b60006020828403121561340957613408613e1f565b5b600082013567ffffffffffffffff81111561342757613426613e1a565b5b613433848285016130e3565b91505092915050565b60006020828403121561345257613451613e1f565b5b600061346084828501613111565b91505092915050565b600080604083850312156134805761347f613e1f565b5b600061348e85828601613111565b925050602061349f85828601613076565b9150509250929050565b6134b281613b6a565b82525050565b6134c181613b6a565b82525050565b6134d081613b7c565b82525050565b6134df81613b7c565b82525050565b60006134f082613a07565b6134fa8185613a1d565b935061350a818560208601613c10565b61351381613e24565b840191505092915050565b600061352982613a12565b6135338185613a39565b9350613543818560208601613c10565b61354c81613e24565b840191505092915050565b600061356282613a12565b61356c8185613a4a565b935061357c818560208601613c10565b80840191505092915050565b6000815461359581613c43565b61359f8186613a4a565b945060018216600081146135ba57600181146135cb576135fe565b60ff198316865281860193506135fe565b6135d4856139f2565b60005b838110156135f6578154818901526001820191506020810190506135d7565b838801955050505b50505092915050565b6000613614602683613a39565b915061361f82613e35565b604082019050919050565b6000613637602f83613a39565b915061364282613e84565b604082019050919050565b600061365a602583613a39565b915061366582613ed3565b604082019050919050565b600061367d602083613a39565b915061368882613f22565b602082019050919050565b60006136a0602f83613a39565b91506136ab82613f4b565b604082019050919050565b60006136c3600083613a2e565b91506136ce82613f9a565b600082019050919050565b6080820160008201516136ef60008501826134a9565b506020820151613702602085018261374c565b50604082015161371560408501826134c7565b506060820151613728606085018261372e565b50505050565b61373781613bd4565b82525050565b61374681613be3565b82525050565b61375581613bed565b82525050565b61376481613bed565b82525050565b60006137768286613557565b91506137828285613557565b915061378e8284613588565b9150819050949350505050565b60006137a6826136b6565b9150819050919050565b60006020820190506137c560008301846134b8565b92915050565b60006080820190506137e060008301876134b8565b6137ed60208301866134b8565b6137fa604083018561373d565b818103606083015261380c81846134e5565b905095945050505050565b600060208201905061382c60008301846134d6565b92915050565b6000602082019050818103600083015261384c818461351e565b905092915050565b6000602082019050818103600083015261386d81613607565b9050919050565b6000602082019050818103600083015261388d8161362a565b9050919050565b600060208201905081810360008301526138ad8161364d565b9050919050565b600060208201905081810360008301526138cd81613670565b9050919050565b600060208201905081810360008301526138ed81613693565b9050919050565b600060808201905061390960008301846136d9565b92915050565b6000602082019050613924600083018461373d565b92915050565b600060208201905061393f600083018461375b565b92915050565b600061394f613960565b905061395b8282613c75565b919050565b6000604051905090565b600067ffffffffffffffff82111561398557613984613ddc565b5b602082029050919050565b600067ffffffffffffffff8211156139ab576139aa613ddc565b5b6139b482613e24565b9050602081019050919050565b600067ffffffffffffffff8211156139dc576139db613ddc565b5b6139e582613e24565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a6082613be3565b9150613a6b83613be3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613aa057613a9f613d20565b5b828201905092915050565b6000613ab682613be3565b9150613ac183613be3565b925082613ad157613ad0613d4f565b5b828204905092915050565b6000613ae782613be3565b9150613af283613be3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b2b57613b2a613d20565b5b828202905092915050565b6000613b4182613be3565b9150613b4c83613be3565b925082821015613b5f57613b5e613d20565b5b828203905092915050565b6000613b7582613bb4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062ffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015613c2e578082015181840152602081019050613c13565b83811115613c3d576000848401525b50505050565b60006002820490506001821680613c5b57607f821691505b60208210811415613c6f57613c6e613d7e565b5b50919050565b613c7e82613e24565b810181811067ffffffffffffffff82111715613c9d57613c9c613ddc565b5b80604052505050565b6000613cb182613be3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ce457613ce3613d20565b5b600182019050919050565b6000613cfa82613be3565b9150613d0583613be3565b925082613d1557613d14613d4f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f6e6f74206f776e6572206f722077686974656c69737465642c2077616974206660008201527f6f722067656e6572616c2073616c650000000000000000000000000000000000602082015250565b7f6d696e7420746f6f206c617267652c206c657373207468616e2031303120706c60008201527f6561736521000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b613fa681613b6a565b8114613fb157600080fd5b50565b613fbd81613b7c565b8114613fc857600080fd5b50565b613fd481613b88565b8114613fdf57600080fd5b50565b613feb81613be3565b8114613ff657600080fd5b50565b61400281613bed565b811461400d57600080fd5b5056fea26469706673582212209d9a354f6570fa7896881d19fdbfca05f9922445bdd3452c3d814c54f97168e264736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000642656e4e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004424e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005968747470733a2f2f62616679626569673373667472696763746764716c33746e746675626c32736e70657774707673693236736e356d7a697373667a7637777963676d2e697066732e6e667473746f726167652e6c696e6b2f00000000000000

-----Decoded View---------------
Arg [0] : name_ (string): BenNFT
Arg [1] : symbol_ (string): BNFT
Arg [2] : _initBaseURI (string): https://bafybeig3sftrigctgdql3tntfubl2snpewtpvsi26sn5mzissfzv7wycgm.ipfs.nftstorage.link/

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 42656e4e46540000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 424e465400000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000059
Arg [8] : 68747470733a2f2f62616679626569673373667472696763746764716c33746e
Arg [9] : 746675626c32736e70657774707673693236736e356d7a697373667a76377779
Arg [10] : 63676d2e697066732e6e667473746f726167652e6c696e6b2f00000000000000


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.