ETH Price: $3,394.56 (-1.12%)

Token

TheLordOfFlies (TLF)
 

Overview

Max Total Supply

6,000 TLF

Holders

2,076

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
drrespects.eth
Balance
3 TLF
0x43570cfac4ee5fc682abe2a2902fbe1ce22a2841
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:
TheLordOfFlies

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

struct ContractInfo {
	string name;
	string symbol;
}

struct MintInfo {
	bool ownerMintUnrestricted;
	uint256 mintPrice;
	uint256 maxSupply;
	uint256 freeQuantity;
	uint256 singleAddressLimitQuantity;
}

struct WithdrawInfo {
	address withdrawAddress;
}

contract TheLordOfFlies is ERC721A, Ownable, Pausable {
	using Strings for uint256;
	using SafeMath for uint256;

	string baseTokenURI;

	MintInfo mintInfo;
	WithdrawInfo withdrawInfo;
	address immutable proxyRegistryAddress;

	constructor(
		ContractInfo memory _contractInfo,
		MintInfo memory _mintInfo,
		WithdrawInfo memory _withdrawInfo,
		address _proxyRegistryAddress,
		string memory _baseTokenURI
	) ERC721A(_contractInfo.name, _contractInfo.symbol) {
		proxyRegistryAddress = _proxyRegistryAddress;
		mintInfo = _mintInfo;
		withdrawInfo = _withdrawInfo;
		baseTokenURI = _baseTokenURI;
	}

	modifier callerIsUser() {
		require(tx.origin == msg.sender, "Must from real wallet address");
		_;
	}

	function mint(uint256 _quantity) external callerIsUser payable whenNotPaused {
		uint256 _hasMinted = totalSupply();
		uint256 _currentMintedCount = balanceOf(msg.sender);

		uint256 _remainFreeQuantity = 0;
		if (mintInfo.freeQuantity > _hasMinted) {
			_remainFreeQuantity = mintInfo.freeQuantity - _hasMinted;
		}
		
		uint256 _needPayPrice = 0;
		if (_quantity > _remainFreeQuantity) {
			_needPayPrice = (_quantity - _remainFreeQuantity) * mintInfo.mintPrice;
		}

		require(_quantity > 0, "Invalid quantity");
		require(_hasMinted + _quantity <= mintInfo.maxSupply, "Exceed supply");
		require(_currentMintedCount + _quantity <= mintInfo.singleAddressLimitQuantity, "Exceed mint limit");
		require(msg.value >= _needPayPrice, "Ether is not enough");

		_mint(msg.sender, _quantity);
	}

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

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

	function setBaseURI(string calldata _baseTokenURI) external onlyOwner {
		baseTokenURI = _baseTokenURI;
	}

	function openMint() public onlyOwner {
		_unpause();
	}

	function closeMint() public onlyOwner {
		_pause();
	}

	function isApprovedForAll(address owner, address operator)
		public
		view
		override
		returns (bool)
	{
		ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
		return proxyRegistryAddress == operator || address(proxyRegistry.proxies(owner)) == operator || super.isApprovedForAll(owner, operator);
	}

	function setWithdrawAddress(address _address) external onlyOwner {
		withdrawInfo.withdrawAddress = _address;
	}

	function withdraw() external callerIsUser {
		require(msg.sender == withdrawInfo.withdrawAddress || msg.sender == owner(), 'Has not Permission');
		require(
			payable(withdrawInfo.withdrawAddress).send(address(this).balance),
			"Withdraw fail"
		);
	}
}

contract OwnableDelegateProxy {}

/**
 * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users
 */
contract ProxyRegistry {
	mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 8 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.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 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`
    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 auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            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;
    }

    /**
     * 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 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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

        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-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

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

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 8 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 5 of 8 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 8 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 8 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.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();

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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);
}

File 8 of 8 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"internalType":"struct ContractInfo","name":"_contractInfo","type":"tuple"},{"components":[{"internalType":"bool","name":"ownerMintUnrestricted","type":"bool"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"freeQuantity","type":"uint256"},{"internalType":"uint256","name":"singleAddressLimitQuantity","type":"uint256"}],"internalType":"struct MintInfo","name":"_mintInfo","type":"tuple"},{"components":[{"internalType":"address","name":"withdrawAddress","type":"address"}],"internalType":"struct WithdrawInfo","name":"_withdrawInfo","type":"tuple"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"string","name":"_baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openMint","outputs":[],"stateMutability":"nonpayable","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200393d3803806200393d833981810160405281019062000037919062000551565b8460000151856020015181600290805190602001906200005992919062000293565b5080600390805190602001906200007292919062000293565b5062000083620001bc60201b60201c565b6000819055505050620000ab6200009f620001c560201b60201c565b620001cd60201b60201c565b6000600860146101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b8152505083600a60008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015590505082600f60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050508060099080519060200190620001b092919062000293565b5050505050506200080f565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002a190620006e6565b90600052602060002090601f016020900481019282620002c5576000855562000311565b82601f10620002e057805160ff191683800117855562000311565b8280016001018555821562000311579182015b8281111562000310578251825591602001919060010190620002f3565b5b50905062000320919062000324565b5090565b5b808211156200033f57600081600090555060010162000325565b5090565b60006200035a620003548462000630565b62000607565b9050828152602081018484840111156200037357600080fd5b62000380848285620006b0565b509392505050565b6000815190506200039981620007c1565b92915050565b600081519050620003b081620007db565b92915050565b600082601f830112620003c857600080fd5b8151620003da84826020860162000343565b91505092915050565b600060408284031215620003f657600080fd5b62000402604062000607565b9050600082015167ffffffffffffffff8111156200041f57600080fd5b6200042d84828501620003b6565b600083015250602082015167ffffffffffffffff8111156200044e57600080fd5b6200045c84828501620003b6565b60208301525092915050565b600060a082840312156200047b57600080fd5b6200048760a062000607565b9050600062000499848285016200039f565b6000830152506020620004af848285016200053a565b6020830152506040620004c5848285016200053a565b6040830152506060620004db848285016200053a565b6060830152506080620004f1848285016200053a565b60808301525092915050565b6000602082840312156200051057600080fd5b6200051c602062000607565b905060006200052e8482850162000388565b60008301525092915050565b6000815190506200054b81620007f5565b92915050565b600080600080600061012086880312156200056b57600080fd5b600086015167ffffffffffffffff8111156200058657600080fd5b6200059488828901620003e3565b9550506020620005a78882890162000468565b94505060c0620005ba88828901620004fd565b93505060e0620005cd8882890162000388565b92505061010086015167ffffffffffffffff811115620005ec57600080fd5b620005fa88828901620003b6565b9150509295509295909350565b60006200061362000626565b90506200062182826200071c565b919050565b6000604051905090565b600067ffffffffffffffff8211156200064e576200064d62000781565b5b6200065982620007b0565b9050602081019050919050565b6000620006738262000686565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620006d0578082015181840152602081019050620006b3565b83811115620006e0576000848401525b50505050565b60006002820490506001821680620006ff57607f821691505b6020821081141562000716576200071562000752565b5b50919050565b6200072782620007b0565b810181811067ffffffffffffffff8211171562000749576200074862000781565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620007cc8162000666565b8114620007d857600080fd5b50565b620007e6816200067a565b8114620007f257600080fd5b50565b6200080081620006a6565b81146200080c57600080fd5b50565b60805160601c613108620008356000396000818161142a015261146401526131086000f3fe60806040526004361061014b5760003560e01c806364f101f0116100b6578063a22cb4651161006f578063a22cb46514610449578063b88d4fde14610472578063bce6d6721461049b578063c87b56dd146104b2578063e985e9c5146104ef578063f2fde38b1461052c5761014b565b806364f101f01461036c57806370a0823114610383578063715018a6146103c05780638da5cb5b146103d757806395d89b4114610402578063a0712d681461042d5761014b565b80633ab1a494116101085780633ab1a494146102725780633ccfd60b1461029b57806342842e0e146102b257806355f804b3146102db5780635c975abb146103045780636352211e1461032f5761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f557806318160ddd1461021e57806323b872dd14610249575b600080fd5b34801561015c57600080fd5b50610177600480360381019061017291906125b3565b610555565b6040516101849190612978565b60405180910390f35b34801561019957600080fd5b506101a26105e7565b6040516101af9190612993565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190612673565b610679565b6040516101ec9190612911565b60405180910390f35b34801561020157600080fd5b5061021c60048036038101906102179190612577565b6106f5565b005b34801561022a57600080fd5b5061023361089c565b6040516102409190612b15565b60405180910390f35b34801561025557600080fd5b50610270600480360381019061026b9190612471565b6108b3565b005b34801561027e57600080fd5b506102996004803603810190610294919061240c565b6108c3565b005b3480156102a757600080fd5b506102b0610986565b005b3480156102be57600080fd5b506102d960048036038101906102d49190612471565b610b5f565b005b3480156102e757600080fd5b5061030260048036038101906102fd919061262e565b610b7f565b005b34801561031057600080fd5b50610319610c11565b6040516103269190612978565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190612673565b610c28565b6040516103639190612911565b60405180910390f35b34801561037857600080fd5b50610381610c3a565b005b34801561038f57600080fd5b506103aa60048036038101906103a5919061240c565b610cc0565b6040516103b79190612b15565b60405180910390f35b3480156103cc57600080fd5b506103d5610d79565b005b3480156103e357600080fd5b506103ec610e01565b6040516103f99190612911565b60405180910390f35b34801561040e57600080fd5b50610417610e2b565b6040516104249190612993565b60405180910390f35b61044760048036038101906104429190612673565b610ebd565b005b34801561045557600080fd5b50610470600480360381019061046b919061253b565b611115565b005b34801561047e57600080fd5b50610499600480360381019061049491906124c0565b61128d565b005b3480156104a757600080fd5b506104b0611300565b005b3480156104be57600080fd5b506104d960048036038101906104d49190612673565b611386565b6040516104e69190612993565b60405180910390f35b3480156104fb57600080fd5b5061051660048036038101906105119190612435565b611425565b6040516105239190612978565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e919061240c565b611572565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105e05750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546105f690612d75565b80601f016020809104026020016040519081016040528092919081815260200182805461062290612d75565b801561066f5780601f106106445761010080835404028352916020019161066f565b820191906000526020600020905b81548152906001019060200180831161065257829003601f168201915b5050505050905090565b60006106848261166a565b6106ba576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610700826116c9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610768576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610787611797565b73ffffffffffffffffffffffffffffffffffffffff16146107ea576107b3816107ae611797565b611425565b6107e9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006108a661179f565b6001546000540303905090565b6108be8383836117a8565b505050565b6108cb611b52565b73ffffffffffffffffffffffffffffffffffffffff166108e9610e01565b73ffffffffffffffffffffffffffffffffffffffff161461093f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093690612a95565b60405180910390fd5b80600f60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146109f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109eb90612a55565b60405180910390fd5b600f60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610a855750610a56610e01565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abb90612ab5565b60405180910390fd5b600f60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5490612af5565b60405180910390fd5b565b610b7a8383836040518060200160405280600081525061128d565b505050565b610b87611b52565b73ffffffffffffffffffffffffffffffffffffffff16610ba5610e01565b73ffffffffffffffffffffffffffffffffffffffff1614610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290612a95565b60405180910390fd5b818160099190610c0c929190612239565b505050565b6000600860149054906101000a900460ff16905090565b6000610c33826116c9565b9050919050565b610c42611b52565b73ffffffffffffffffffffffffffffffffffffffff16610c60610e01565b73ffffffffffffffffffffffffffffffffffffffff1614610cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cad90612a95565b60405180910390fd5b610cbe611b5a565b565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d28576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610d81611b52565b73ffffffffffffffffffffffffffffffffffffffff16610d9f610e01565b73ffffffffffffffffffffffffffffffffffffffff1614610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec90612a95565b60405180910390fd5b610dff6000611bfd565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610e3a90612d75565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6690612d75565b8015610eb35780601f10610e8857610100808354040283529160200191610eb3565b820191906000526020600020905b815481529060010190602001808311610e9657829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2290612a55565b60405180910390fd5b610f33610c11565b15610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a906129f5565b60405180910390fd5b6000610f7d61089c565b90506000610f8a33610cc0565b9050600082600a600301541115610faf5782600a60030154610fac9190612c79565b90505b600081851115610fd857600a600101548286610fcb9190612c79565b610fd59190612c1f565b90505b6000851161101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290612a15565b60405180910390fd5b600a60020154858561102d9190612bc9565b111561106e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106590612ad5565b60405180910390fd5b600a6004015485846110809190612bc9565b11156110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890612a75565b60405180910390fd5b80341015611104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fb90612a35565b60405180910390fd5b61110e3386611cc3565b5050505050565b61111d611797565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611182576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061118f611797565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661123c611797565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112819190612978565b60405180910390a35050565b6112988484846117a8565b60008373ffffffffffffffffffffffffffffffffffffffff163b146112fa576112c384848484611e97565b6112f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611308611b52565b73ffffffffffffffffffffffffffffffffffffffff16611326610e01565b73ffffffffffffffffffffffffffffffffffffffff161461137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390612a95565b60405180910390fd5b611384611ff7565b565b60606113918261166a565b6113c7576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006113d1612099565b90506000815114156113f2576040518060200160405280600081525061141d565b806113fc8461212b565b60405160200161140d9291906128ed565b6040516020818303038152906040525b915050919050565b6000807f000000000000000000000000000000000000000000000000000000000000000090508273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16148061155857508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016114f09190612911565b60206040518083038186803b15801561150857600080fd5b505afa15801561151c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115409190612605565b73ffffffffffffffffffffffffffffffffffffffff16145b8061156957506115688484612185565b5b91505092915050565b61157a611b52565b73ffffffffffffffffffffffffffffffffffffffff16611598610e01565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e590612a95565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561165e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611655906129d5565b60405180910390fd5b61166781611bfd565b50565b60008161167561179f565b11158015611684575060005482105b80156116c2575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806116d861179f565b116117605760005481101561175f5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561175d575b6000811415611753576004600083600190039350838152602001908152602001600020549050611728565b8092505050611792565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b60006117b3826116c9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461181a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661183b611797565b73ffffffffffffffffffffffffffffffffffffffff16148061186a575061186985611864611797565b611425565b5b806118af5750611878611797565b73ffffffffffffffffffffffffffffffffffffffff1661189784610679565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806118e8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561194f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61195c8585856001612219565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611a598661221f565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611ae3576000600184019050600060046000838152602001908152602001600020541415611ae1576000548114611ae0578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b4b8585856001612229565b5050505050565b600033905090565b611b62610c11565b15611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b99906129f5565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611be6611b52565b604051611bf39190612911565b60405180910390a1565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d30576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415611d6b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d786000848385612219565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611ddd6001841461222f565b901b60a042901b611ded8561221f565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611e1357816000819055505050611e926000848385612229565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ebd611797565b8786866040518563ffffffff1660e01b8152600401611edf949392919061292c565b602060405180830381600087803b158015611ef957600080fd5b505af1925050508015611f2a57506040513d601f19601f82011682018060405250810190611f2791906125dc565b60015b611fa4573d8060008114611f5a576040519150601f19603f3d011682016040523d82523d6000602084013e611f5f565b606091505b50600081511415611f9c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b611fff610c11565b61203e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612035906129b5565b60405180910390fd5b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612082611b52565b60405161208f9190612911565b60405180910390a1565b6060600980546120a890612d75565b80601f01602080910402602001604051908101604052809291908181526020018280546120d490612d75565b80156121215780601f106120f657610100808354040283529160200191612121565b820191906000526020600020905b81548152906001019060200180831161210457829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561217157600183039250600a81066030018353600a81049050612151565b508181036020830392508083525050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b6000819050919050565b50505050565b6000819050919050565b82805461224590612d75565b90600052602060002090601f01602090048101928261226757600085556122ae565b82601f1061228057803560ff19168380011785556122ae565b828001600101855582156122ae579182015b828111156122ad578235825591602001919060010190612292565b5b5090506122bb91906122bf565b5090565b5b808211156122d85760008160009055506001016122c0565b5090565b60006122ef6122ea84612b55565b612b30565b90508281526020810184848401111561230757600080fd5b612312848285612d33565b509392505050565b6000813590506123298161305f565b92915050565b60008135905061233e81613076565b92915050565b6000813590506123538161308d565b92915050565b6000815190506123688161308d565b92915050565b600082601f83011261237f57600080fd5b813561238f8482602086016122dc565b91505092915050565b6000815190506123a7816130a4565b92915050565b60008083601f8401126123bf57600080fd5b8235905067ffffffffffffffff8111156123d857600080fd5b6020830191508360018202830111156123f057600080fd5b9250929050565b600081359050612406816130bb565b92915050565b60006020828403121561241e57600080fd5b600061242c8482850161231a565b91505092915050565b6000806040838503121561244857600080fd5b60006124568582860161231a565b92505060206124678582860161231a565b9150509250929050565b60008060006060848603121561248657600080fd5b60006124948682870161231a565b93505060206124a58682870161231a565b92505060406124b6868287016123f7565b9150509250925092565b600080600080608085870312156124d657600080fd5b60006124e48782880161231a565b94505060206124f58782880161231a565b9350506040612506878288016123f7565b925050606085013567ffffffffffffffff81111561252357600080fd5b61252f8782880161236e565b91505092959194509250565b6000806040838503121561254e57600080fd5b600061255c8582860161231a565b925050602061256d8582860161232f565b9150509250929050565b6000806040838503121561258a57600080fd5b60006125988582860161231a565b92505060206125a9858286016123f7565b9150509250929050565b6000602082840312156125c557600080fd5b60006125d384828501612344565b91505092915050565b6000602082840312156125ee57600080fd5b60006125fc84828501612359565b91505092915050565b60006020828403121561261757600080fd5b600061262584828501612398565b91505092915050565b6000806020838503121561264157600080fd5b600083013567ffffffffffffffff81111561265b57600080fd5b612667858286016123ad565b92509250509250929050565b60006020828403121561268557600080fd5b6000612693848285016123f7565b91505092915050565b6126a581612cad565b82525050565b6126b481612cbf565b82525050565b60006126c582612b86565b6126cf8185612b9c565b93506126df818560208601612d42565b6126e881612e65565b840191505092915050565b60006126fe82612b91565b6127088185612bad565b9350612718818560208601612d42565b61272181612e65565b840191505092915050565b600061273782612b91565b6127418185612bbe565b9350612751818560208601612d42565b80840191505092915050565b600061276a601483612bad565b915061277582612e76565b602082019050919050565b600061278d602683612bad565b915061279882612e9f565b604082019050919050565b60006127b0601083612bad565b91506127bb82612eee565b602082019050919050565b60006127d3601083612bad565b91506127de82612f17565b602082019050919050565b60006127f6601383612bad565b915061280182612f40565b602082019050919050565b6000612819601d83612bad565b915061282482612f69565b602082019050919050565b600061283c601183612bad565b915061284782612f92565b602082019050919050565b600061285f602083612bad565b915061286a82612fbb565b602082019050919050565b6000612882601283612bad565b915061288d82612fe4565b602082019050919050565b60006128a5600d83612bad565b91506128b08261300d565b602082019050919050565b60006128c8600d83612bad565b91506128d382613036565b602082019050919050565b6128e781612d29565b82525050565b60006128f9828561272c565b9150612905828461272c565b91508190509392505050565b6000602082019050612926600083018461269c565b92915050565b6000608082019050612941600083018761269c565b61294e602083018661269c565b61295b60408301856128de565b818103606083015261296d81846126ba565b905095945050505050565b600060208201905061298d60008301846126ab565b92915050565b600060208201905081810360008301526129ad81846126f3565b905092915050565b600060208201905081810360008301526129ce8161275d565b9050919050565b600060208201905081810360008301526129ee81612780565b9050919050565b60006020820190508181036000830152612a0e816127a3565b9050919050565b60006020820190508181036000830152612a2e816127c6565b9050919050565b60006020820190508181036000830152612a4e816127e9565b9050919050565b60006020820190508181036000830152612a6e8161280c565b9050919050565b60006020820190508181036000830152612a8e8161282f565b9050919050565b60006020820190508181036000830152612aae81612852565b9050919050565b60006020820190508181036000830152612ace81612875565b9050919050565b60006020820190508181036000830152612aee81612898565b9050919050565b60006020820190508181036000830152612b0e816128bb565b9050919050565b6000602082019050612b2a60008301846128de565b92915050565b6000612b3a612b4b565b9050612b468282612da7565b919050565b6000604051905090565b600067ffffffffffffffff821115612b7057612b6f612e36565b5b612b7982612e65565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612bd482612d29565b9150612bdf83612d29565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612c1457612c13612dd8565b5b828201905092915050565b6000612c2a82612d29565b9150612c3583612d29565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c6e57612c6d612dd8565b5b828202905092915050565b6000612c8482612d29565b9150612c8f83612d29565b925082821015612ca257612ca1612dd8565b5b828203905092915050565b6000612cb882612d09565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000612d0282612cad565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612d60578082015181840152602081019050612d45565b83811115612d6f576000848401525b50505050565b60006002820490506001821680612d8d57607f821691505b60208210811415612da157612da0612e07565b5b50919050565b612db082612e65565b810181811067ffffffffffffffff82111715612dcf57612dce612e36565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f4574686572206973206e6f7420656e6f75676800000000000000000000000000600082015250565b7f4d7573742066726f6d207265616c2077616c6c65742061646472657373000000600082015250565b7f457863656564206d696e74206c696d6974000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f486173206e6f74205065726d697373696f6e0000000000000000000000000000600082015250565b7f45786365656420737570706c7900000000000000000000000000000000000000600082015250565b7f5769746864726177206661696c00000000000000000000000000000000000000600082015250565b61306881612cad565b811461307357600080fd5b50565b61307f81612cbf565b811461308a57600080fd5b50565b61309681612ccb565b81146130a157600080fd5b50565b6130ad81612cf7565b81146130b857600080fd5b50565b6130c481612d29565b81146130cf57600080fd5b5056fea26469706673582212207fdd06311b35b7b59268e5bb8bff579aae1a4907c29dac527eaf6caa39897e8964736f6c6343000804003300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa87bee53800000000000000000000000000000000000000000000000000000000000000017700000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000000000000000000000000000000000000000000300000000000000000000000064eed8e219015c0a0b682776699a20977c7c6756000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000e5468654c6f72644f66466c6965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003544c460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f62616679626569616b34677175646f62676d6d6672647065656e7772733772737675746b723270366763677974796c7061777264766d33646876792e697066732e696e667572612d697066732e696f2f0000000000000000

Deployed Bytecode

0x60806040526004361061014b5760003560e01c806364f101f0116100b6578063a22cb4651161006f578063a22cb46514610449578063b88d4fde14610472578063bce6d6721461049b578063c87b56dd146104b2578063e985e9c5146104ef578063f2fde38b1461052c5761014b565b806364f101f01461036c57806370a0823114610383578063715018a6146103c05780638da5cb5b146103d757806395d89b4114610402578063a0712d681461042d5761014b565b80633ab1a494116101085780633ab1a494146102725780633ccfd60b1461029b57806342842e0e146102b257806355f804b3146102db5780635c975abb146103045780636352211e1461032f5761014b565b806301ffc9a71461015057806306fdde031461018d578063081812fc146101b8578063095ea7b3146101f557806318160ddd1461021e57806323b872dd14610249575b600080fd5b34801561015c57600080fd5b50610177600480360381019061017291906125b3565b610555565b6040516101849190612978565b60405180910390f35b34801561019957600080fd5b506101a26105e7565b6040516101af9190612993565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190612673565b610679565b6040516101ec9190612911565b60405180910390f35b34801561020157600080fd5b5061021c60048036038101906102179190612577565b6106f5565b005b34801561022a57600080fd5b5061023361089c565b6040516102409190612b15565b60405180910390f35b34801561025557600080fd5b50610270600480360381019061026b9190612471565b6108b3565b005b34801561027e57600080fd5b506102996004803603810190610294919061240c565b6108c3565b005b3480156102a757600080fd5b506102b0610986565b005b3480156102be57600080fd5b506102d960048036038101906102d49190612471565b610b5f565b005b3480156102e757600080fd5b5061030260048036038101906102fd919061262e565b610b7f565b005b34801561031057600080fd5b50610319610c11565b6040516103269190612978565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190612673565b610c28565b6040516103639190612911565b60405180910390f35b34801561037857600080fd5b50610381610c3a565b005b34801561038f57600080fd5b506103aa60048036038101906103a5919061240c565b610cc0565b6040516103b79190612b15565b60405180910390f35b3480156103cc57600080fd5b506103d5610d79565b005b3480156103e357600080fd5b506103ec610e01565b6040516103f99190612911565b60405180910390f35b34801561040e57600080fd5b50610417610e2b565b6040516104249190612993565b60405180910390f35b61044760048036038101906104429190612673565b610ebd565b005b34801561045557600080fd5b50610470600480360381019061046b919061253b565b611115565b005b34801561047e57600080fd5b50610499600480360381019061049491906124c0565b61128d565b005b3480156104a757600080fd5b506104b0611300565b005b3480156104be57600080fd5b506104d960048036038101906104d49190612673565b611386565b6040516104e69190612993565b60405180910390f35b3480156104fb57600080fd5b5061051660048036038101906105119190612435565b611425565b6040516105239190612978565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e919061240c565b611572565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105e05750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546105f690612d75565b80601f016020809104026020016040519081016040528092919081815260200182805461062290612d75565b801561066f5780601f106106445761010080835404028352916020019161066f565b820191906000526020600020905b81548152906001019060200180831161065257829003601f168201915b5050505050905090565b60006106848261166a565b6106ba576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610700826116c9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610768576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610787611797565b73ffffffffffffffffffffffffffffffffffffffff16146107ea576107b3816107ae611797565b611425565b6107e9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006108a661179f565b6001546000540303905090565b6108be8383836117a8565b505050565b6108cb611b52565b73ffffffffffffffffffffffffffffffffffffffff166108e9610e01565b73ffffffffffffffffffffffffffffffffffffffff161461093f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093690612a95565b60405180910390fd5b80600f60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146109f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109eb90612a55565b60405180910390fd5b600f60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610a855750610a56610e01565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abb90612ab5565b60405180910390fd5b600f60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610b5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5490612af5565b60405180910390fd5b565b610b7a8383836040518060200160405280600081525061128d565b505050565b610b87611b52565b73ffffffffffffffffffffffffffffffffffffffff16610ba5610e01565b73ffffffffffffffffffffffffffffffffffffffff1614610bfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf290612a95565b60405180910390fd5b818160099190610c0c929190612239565b505050565b6000600860149054906101000a900460ff16905090565b6000610c33826116c9565b9050919050565b610c42611b52565b73ffffffffffffffffffffffffffffffffffffffff16610c60610e01565b73ffffffffffffffffffffffffffffffffffffffff1614610cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cad90612a95565b60405180910390fd5b610cbe611b5a565b565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d28576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610d81611b52565b73ffffffffffffffffffffffffffffffffffffffff16610d9f610e01565b73ffffffffffffffffffffffffffffffffffffffff1614610df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dec90612a95565b60405180910390fd5b610dff6000611bfd565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054610e3a90612d75565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6690612d75565b8015610eb35780601f10610e8857610100808354040283529160200191610eb3565b820191906000526020600020905b815481529060010190602001808311610e9657829003601f168201915b5050505050905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2290612a55565b60405180910390fd5b610f33610c11565b15610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a906129f5565b60405180910390fd5b6000610f7d61089c565b90506000610f8a33610cc0565b9050600082600a600301541115610faf5782600a60030154610fac9190612c79565b90505b600081851115610fd857600a600101548286610fcb9190612c79565b610fd59190612c1f565b90505b6000851161101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290612a15565b60405180910390fd5b600a60020154858561102d9190612bc9565b111561106e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106590612ad5565b60405180910390fd5b600a6004015485846110809190612bc9565b11156110c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b890612a75565b60405180910390fd5b80341015611104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fb90612a35565b60405180910390fd5b61110e3386611cc3565b5050505050565b61111d611797565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611182576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061118f611797565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661123c611797565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112819190612978565b60405180910390a35050565b6112988484846117a8565b60008373ffffffffffffffffffffffffffffffffffffffff163b146112fa576112c384848484611e97565b6112f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611308611b52565b73ffffffffffffffffffffffffffffffffffffffff16611326610e01565b73ffffffffffffffffffffffffffffffffffffffff161461137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390612a95565b60405180910390fd5b611384611ff7565b565b60606113918261166a565b6113c7576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006113d1612099565b90506000815114156113f2576040518060200160405280600081525061141d565b806113fc8461212b565b60405160200161140d9291906128ed565b6040516020818303038152906040525b915050919050565b6000807f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c190508273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c173ffffffffffffffffffffffffffffffffffffffff16148061155857508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016114f09190612911565b60206040518083038186803b15801561150857600080fd5b505afa15801561151c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115409190612605565b73ffffffffffffffffffffffffffffffffffffffff16145b8061156957506115688484612185565b5b91505092915050565b61157a611b52565b73ffffffffffffffffffffffffffffffffffffffff16611598610e01565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e590612a95565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561165e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611655906129d5565b60405180910390fd5b61166781611bfd565b50565b60008161167561179f565b11158015611684575060005482105b80156116c2575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806116d861179f565b116117605760005481101561175f5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561175d575b6000811415611753576004600083600190039350838152602001908152602001600020549050611728565b8092505050611792565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b60006117b3826116c9565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461181a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661183b611797565b73ffffffffffffffffffffffffffffffffffffffff16148061186a575061186985611864611797565b611425565b5b806118af5750611878611797565b73ffffffffffffffffffffffffffffffffffffffff1661189784610679565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806118e8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561194f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61195c8585856001612219565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611a598661221f565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415611ae3576000600184019050600060046000838152602001908152602001600020541415611ae1576000548114611ae0578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611b4b8585856001612229565b5050505050565b600033905090565b611b62610c11565b15611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b99906129f5565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611be6611b52565b604051611bf39190612911565b60405180910390a1565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d30576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415611d6b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611d786000848385612219565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1611ddd6001841461222f565b901b60a042901b611ded8561221f565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210611e1357816000819055505050611e926000848385612229565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ebd611797565b8786866040518563ffffffff1660e01b8152600401611edf949392919061292c565b602060405180830381600087803b158015611ef957600080fd5b505af1925050508015611f2a57506040513d601f19601f82011682018060405250810190611f2791906125dc565b60015b611fa4573d8060008114611f5a576040519150601f19603f3d011682016040523d82523d6000602084013e611f5f565b606091505b50600081511415611f9c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b611fff610c11565b61203e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612035906129b5565b60405180910390fd5b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612082611b52565b60405161208f9190612911565b60405180910390a1565b6060600980546120a890612d75565b80601f01602080910402602001604051908101604052809291908181526020018280546120d490612d75565b80156121215780601f106120f657610100808354040283529160200191612121565b820191906000526020600020905b81548152906001019060200180831161210457829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561217157600183039250600a81066030018353600a81049050612151565b508181036020830392508083525050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b6000819050919050565b50505050565b6000819050919050565b82805461224590612d75565b90600052602060002090601f01602090048101928261226757600085556122ae565b82601f1061228057803560ff19168380011785556122ae565b828001600101855582156122ae579182015b828111156122ad578235825591602001919060010190612292565b5b5090506122bb91906122bf565b5090565b5b808211156122d85760008160009055506001016122c0565b5090565b60006122ef6122ea84612b55565b612b30565b90508281526020810184848401111561230757600080fd5b612312848285612d33565b509392505050565b6000813590506123298161305f565b92915050565b60008135905061233e81613076565b92915050565b6000813590506123538161308d565b92915050565b6000815190506123688161308d565b92915050565b600082601f83011261237f57600080fd5b813561238f8482602086016122dc565b91505092915050565b6000815190506123a7816130a4565b92915050565b60008083601f8401126123bf57600080fd5b8235905067ffffffffffffffff8111156123d857600080fd5b6020830191508360018202830111156123f057600080fd5b9250929050565b600081359050612406816130bb565b92915050565b60006020828403121561241e57600080fd5b600061242c8482850161231a565b91505092915050565b6000806040838503121561244857600080fd5b60006124568582860161231a565b92505060206124678582860161231a565b9150509250929050565b60008060006060848603121561248657600080fd5b60006124948682870161231a565b93505060206124a58682870161231a565b92505060406124b6868287016123f7565b9150509250925092565b600080600080608085870312156124d657600080fd5b60006124e48782880161231a565b94505060206124f58782880161231a565b9350506040612506878288016123f7565b925050606085013567ffffffffffffffff81111561252357600080fd5b61252f8782880161236e565b91505092959194509250565b6000806040838503121561254e57600080fd5b600061255c8582860161231a565b925050602061256d8582860161232f565b9150509250929050565b6000806040838503121561258a57600080fd5b60006125988582860161231a565b92505060206125a9858286016123f7565b9150509250929050565b6000602082840312156125c557600080fd5b60006125d384828501612344565b91505092915050565b6000602082840312156125ee57600080fd5b60006125fc84828501612359565b91505092915050565b60006020828403121561261757600080fd5b600061262584828501612398565b91505092915050565b6000806020838503121561264157600080fd5b600083013567ffffffffffffffff81111561265b57600080fd5b612667858286016123ad565b92509250509250929050565b60006020828403121561268557600080fd5b6000612693848285016123f7565b91505092915050565b6126a581612cad565b82525050565b6126b481612cbf565b82525050565b60006126c582612b86565b6126cf8185612b9c565b93506126df818560208601612d42565b6126e881612e65565b840191505092915050565b60006126fe82612b91565b6127088185612bad565b9350612718818560208601612d42565b61272181612e65565b840191505092915050565b600061273782612b91565b6127418185612bbe565b9350612751818560208601612d42565b80840191505092915050565b600061276a601483612bad565b915061277582612e76565b602082019050919050565b600061278d602683612bad565b915061279882612e9f565b604082019050919050565b60006127b0601083612bad565b91506127bb82612eee565b602082019050919050565b60006127d3601083612bad565b91506127de82612f17565b602082019050919050565b60006127f6601383612bad565b915061280182612f40565b602082019050919050565b6000612819601d83612bad565b915061282482612f69565b602082019050919050565b600061283c601183612bad565b915061284782612f92565b602082019050919050565b600061285f602083612bad565b915061286a82612fbb565b602082019050919050565b6000612882601283612bad565b915061288d82612fe4565b602082019050919050565b60006128a5600d83612bad565b91506128b08261300d565b602082019050919050565b60006128c8600d83612bad565b91506128d382613036565b602082019050919050565b6128e781612d29565b82525050565b60006128f9828561272c565b9150612905828461272c565b91508190509392505050565b6000602082019050612926600083018461269c565b92915050565b6000608082019050612941600083018761269c565b61294e602083018661269c565b61295b60408301856128de565b818103606083015261296d81846126ba565b905095945050505050565b600060208201905061298d60008301846126ab565b92915050565b600060208201905081810360008301526129ad81846126f3565b905092915050565b600060208201905081810360008301526129ce8161275d565b9050919050565b600060208201905081810360008301526129ee81612780565b9050919050565b60006020820190508181036000830152612a0e816127a3565b9050919050565b60006020820190508181036000830152612a2e816127c6565b9050919050565b60006020820190508181036000830152612a4e816127e9565b9050919050565b60006020820190508181036000830152612a6e8161280c565b9050919050565b60006020820190508181036000830152612a8e8161282f565b9050919050565b60006020820190508181036000830152612aae81612852565b9050919050565b60006020820190508181036000830152612ace81612875565b9050919050565b60006020820190508181036000830152612aee81612898565b9050919050565b60006020820190508181036000830152612b0e816128bb565b9050919050565b6000602082019050612b2a60008301846128de565b92915050565b6000612b3a612b4b565b9050612b468282612da7565b919050565b6000604051905090565b600067ffffffffffffffff821115612b7057612b6f612e36565b5b612b7982612e65565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612bd482612d29565b9150612bdf83612d29565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612c1457612c13612dd8565b5b828201905092915050565b6000612c2a82612d29565b9150612c3583612d29565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c6e57612c6d612dd8565b5b828202905092915050565b6000612c8482612d29565b9150612c8f83612d29565b925082821015612ca257612ca1612dd8565b5b828203905092915050565b6000612cb882612d09565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000612d0282612cad565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612d60578082015181840152602081019050612d45565b83811115612d6f576000848401525b50505050565b60006002820490506001821680612d8d57607f821691505b60208210811415612da157612da0612e07565b5b50919050565b612db082612e65565b810181811067ffffffffffffffff82111715612dcf57612dce612e36565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f4574686572206973206e6f7420656e6f75676800000000000000000000000000600082015250565b7f4d7573742066726f6d207265616c2077616c6c65742061646472657373000000600082015250565b7f457863656564206d696e74206c696d6974000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f486173206e6f74205065726d697373696f6e0000000000000000000000000000600082015250565b7f45786365656420737570706c7900000000000000000000000000000000000000600082015250565b7f5769746864726177206661696c00000000000000000000000000000000000000600082015250565b61306881612cad565b811461307357600080fd5b50565b61307f81612cbf565b811461308a57600080fd5b50565b61309681612ccb565b81146130a157600080fd5b50565b6130ad81612cf7565b81146130b857600080fd5b50565b6130c481612d29565b81146130cf57600080fd5b5056fea26469706673582212207fdd06311b35b7b59268e5bb8bff579aae1a4907c29dac527eaf6caa39897e8964736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aa87bee53800000000000000000000000000000000000000000000000000000000000000017700000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000000000000000000000000000000000000000000300000000000000000000000064eed8e219015c0a0b682776699a20977c7c6756000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000e5468654c6f72644f66466c6965730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003544c460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f62616679626569616b34677175646f62676d6d6672647065656e7772733772737675746b723270366763677974796c7061777264766d33646876792e697066732e696e667572612d697066732e696f2f0000000000000000

-----Decoded View---------------
Arg [0] : _contractInfo (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [1] : _mintInfo (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [2] : _withdrawInfo (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [3] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [4] : _baseTokenURI (string): https://bafybeiak4gqudobgmmfrdpeenwrs7rsvutkr2p6gcgytylpawrdvm3dhvy.ipfs.infura-ipfs.io/

-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 000000000000000000000000000000000000000000000000000aa87bee538000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000001770
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000fa0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 00000000000000000000000064eed8e219015c0a0b682776699a20977c7c6756
Arg [7] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [8] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [12] : 5468654c6f72644f66466c696573000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [14] : 544c460000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000058
Arg [16] : 68747470733a2f2f62616679626569616b34677175646f62676d6d6672647065
Arg [17] : 656e7772733772737675746b723270366763677974796c7061777264766d3364
Arg [18] : 6876792e697066732e696e667572612d697066732e696f2f0000000000000000


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.