Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
9,999 LBG
Holders
522
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 LBGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
labgoblins
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-02 */ // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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: https://raw.githubusercontent.com/chiru-labs/ERC721A/main/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: https://raw.githubusercontent.com/chiru-labs/ERC721A/main/contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/labgoblins.sol // Created by [email protected] pragma solidity ^0.8.11; //import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract labgoblins is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; uint256 public constant maxSupply = 10000; string public baseURI; address public theOwner; string public baseExtension = ".json"; uint256 public mintCount = 0; uint256 public cost = 0 ether; uint8 private maxItemsPerWallet = 10; mapping(address => uint) public mintAmounts; address public payableAddress = payable(0x499ea9F91118B5CaF0df0541Ca9884a7369eF0d5); constructor(string memory _initBaseURI) ERC721A("LABGOBLINZ", "LBG") { setBaseURI(_initBaseURI); theOwner = msg.sender; } // ===== Public mint ===== function mint(uint8 quantity) external payable nonReentrant mintCompliance(quantity) { _mint(msg.sender, quantity); // track mints mintCount += quantity; mintAmounts[msg.sender]++; } modifier mintCompliance(uint256 _mintAmount) { require(totalSupply() + _mintAmount < maxSupply, "[Supply Error] Not enough left for this mint amount"); if(msg.sender != owner()) { require(mintAmounts[msg.sender] <= maxItemsPerWallet, "[Max Mint Error] You've max minted"); } // sendFunds sendFunds(msg.value); _; } // override _startTokenId() function ~ line 100 of ERC721A function _startTokenId() internal view virtual override returns (uint256) { return 1; } // override _baseURI() function ~ line 240 of ERC721A function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // override tokenURI() function ~ line 228 of ERC721A function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), baseExtension)) : ""; } // ---Helper Functions / Modifiers--- modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } // sendFunds function function sendFunds(uint256 _totalMsgValue) public payable { (bool s1,) = payable(payableAddress).call{value: _totalMsgValue}(""); require(s1, "Transfer failed."); } // setBaseURI (must be public) function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } // withdraw function withdraw() external onlyOwner nonReentrant { sendFunds(address(this).balance); } // recieve receive() external payable { sendFunds(address(this).balance); } // fallback fallback() external payable { sendFunds(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"payableAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"_totalMsgValue","type":"uint256"}],"name":"sendFunds","outputs":[],"stateMutability":"payable","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"theOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600c91906200020b565b506000600d819055600e55600f805460ff1916600a179055601180546001600160a01b03191673499ea9f91118b5caf0df0541ca9884a7369ef0d51790553480156200007357600080fd5b5060405162001cd638038062001cd68339810160408190526200009691620002c7565b604080518082018252600a8152692620a123a7a12624a72d60b11b6020808301918252835180850190945260038452624c424760e81b908401528151919291620000e3916002916200020b565b508051620000f99060039060208401906200020b565b50506001600055506200010c3362000135565b60016009556200011c8162000187565b50600b80546001600160a01b03191633179055620003e0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000191620001aa565b8051620001a690600a9060208401906200020b565b5050565b6008546001600160a01b03163314620002095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b8280546200021990620003a3565b90600052602060002090601f0160209004810192826200023d576000855562000288565b82601f106200025857805160ff191683800117855562000288565b8280016001018555821562000288579182015b82811115620002885782518255916020019190600101906200026b565b50620002969291506200029a565b5090565b5b808211156200029657600081556001016200029b565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620002db57600080fd5b82516001600160401b0380821115620002f357600080fd5b818501915085601f8301126200030857600080fd5b8151818111156200031d576200031d620002b1565b604051601f8201601f19908116603f01168101908382118183101715620003485762000348620002b1565b8160405282815288868487010111156200036157600080fd5b600093505b8284101562000385578484018601518185018701529285019262000366565b82841115620003975760008684830101525b98975050505050505050565b600181811c90821680620003b857607f821691505b60208210811415620003da57634e487b7160e01b600052602260045260246000fd5b50919050565b6118e680620003f06000396000f3fe6080604052600436106101c65760003560e01c806370a08231116100f7578063a22cb46511610095578063c87b56dd11610064578063c87b56dd146104df578063d5abeb01146104ff578063e985e9c514610515578063f2fde38b1461055e576101d6565b8063a22cb4651461046a578063b635d70a1461048a578063b88d4fde146104aa578063c6682862146104ca576101d6565b80638da5cb5b116100d15780638da5cb5b146103f457806395d89b41146104125780639659867e14610427578063a11198671461043d576101d6565b806370a08231146103ac578063715018a6146103cc5780638b281018146103e1576101d6565b80633ccfd60b1161016457806355f804b31161013e57806355f804b3146103445780636352211e146103645780636c0360eb146103845780636ecd230614610399576101d6565b80633ccfd60b146102ef57806342842e0e146103045780634685e1a014610324576101d6565b8063095ea7b3116101a0578063095ea7b31461026e57806313faede61461028e57806318160ddd146102b257806323b872dd146102cf576101d6565b806301ffc9a7146101df57806306fdde0314610214578063081812fc14610236576101d6565b366101d6576101d44761057e565b005b6101d44761057e565b3480156101eb57600080fd5b506101ff6101fa366004611379565b61061d565b60405190151581526020015b60405180910390f35b34801561022057600080fd5b5061022961066f565b60405161020b91906113ee565b34801561024257600080fd5b50610256610251366004611401565b610701565b6040516001600160a01b03909116815260200161020b565b34801561027a57600080fd5b506101d4610289366004611436565b610745565b34801561029a57600080fd5b506102a4600e5481565b60405190815260200161020b565b3480156102be57600080fd5b5060015460005403600019016102a4565b3480156102db57600080fd5b506101d46102ea366004611460565b6107e5565b3480156102fb57600080fd5b506101d4610976565b34801561031057600080fd5b506101d461031f366004611460565b6109e6565b34801561033057600080fd5b50601154610256906001600160a01b031681565b34801561035057600080fd5b506101d461035f366004611528565b610a06565b34801561037057600080fd5b5061025661037f366004611401565b610a21565b34801561039057600080fd5b50610229610a2c565b6101d46103a7366004611571565b610aba565b3480156103b857600080fd5b506102a46103c7366004611594565b610c7c565b3480156103d857600080fd5b506101d4610ccb565b6101d46103ef366004611401565b61057e565b34801561040057600080fd5b506008546001600160a01b0316610256565b34801561041e57600080fd5b50610229610cdf565b34801561043357600080fd5b506102a4600d5481565b34801561044957600080fd5b506102a4610458366004611594565b60106020526000908152604090205481565b34801561047657600080fd5b506101d46104853660046115af565b610cee565b34801561049657600080fd5b50600b54610256906001600160a01b031681565b3480156104b657600080fd5b506101d46104c53660046115eb565b610d84565b3480156104d657600080fd5b50610229610dce565b3480156104eb57600080fd5b506102296104fa366004611401565b610ddb565b34801561050b57600080fd5b506102a461271081565b34801561052157600080fd5b506101ff610530366004611667565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056a57600080fd5b506101d4610579366004611594565b610e3c565b6011546040516000916001600160a01b03169083908381818185875af1925050503d80600081146105cb576040519150601f19603f3d011682016040523d82523d6000602084013e6105d0565b606091505b50509050806106195760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064015b60405180910390fd5b5050565b60006301ffc9a760e01b6001600160e01b03198316148061064e57506380ac58cd60e01b6001600160e01b03198316145b806106695750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461067e9061169a565b80601f01602080910402602001604051908101604052809291908181526020018280546106aa9061169a565b80156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b5050505050905090565b600061070c82610eb5565b610729576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061075082610a21565b9050336001600160a01b038216146107895761076c8133610530565b610789576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107f082610eea565b9050836001600160a01b0316816001600160a01b0316146108235760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610870576108538633610530565b61087057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661089757604051633a954ecd60e21b815260040160405180910390fd5b80156108a257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661092d576001840160008181526004602052604090205461092b57600054811461092b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61097e610f5a565b600260095414156109d15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610610565b60026009556109df4761057e565b6001600955565b610a0183838360405180602001604052806000815250610d84565b505050565b610a0e610f5a565b805161061990600a9060208401906112ca565b600061066982610eea565b600a8054610a399061169a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a659061169a565b8015610ab25780601f10610a8757610100808354040283529160200191610ab2565b820191906000526020600020905b815481529060010190602001808311610a9557829003601f168201915b505050505081565b60026009541415610b0d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610610565b600260095560ff811661271081610b2d6001546000546000199190030190565b610b3791906116eb565b10610ba05760405162461bcd60e51b815260206004820152603360248201527f5b537570706c79204572726f725d204e6f7420656e6f756768206c65667420666044820152721bdc881d1a1a5cc81b5a5b9d08185b5bdd5b9d606a1b6064820152608401610610565b6008546001600160a01b03163314610c2357600f543360009081526010602052604090205460ff9091161015610c235760405162461bcd60e51b815260206004820152602260248201527f5b4d6178204d696e74204572726f725d20596f75277665206d6178206d696e74604482015261195960f21b6064820152608401610610565b610c2c3461057e565b610c39338360ff16610fb4565b8160ff16600d6000828254610c4e91906116eb565b9091555050336000908152601060205260408120805491610c6e83611703565b909155505060016009555050565b60006001600160a01b038216610ca5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cd3610f5a565b610cdd6000611091565b565b60606003805461067e9061169a565b6001600160a01b038216331415610d185760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d8f8484846107e5565b6001600160a01b0383163b15610dc857610dab848484846110e3565b610dc8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c8054610a399061169a565b60606000600a8054610dec9061169a565b905011610e085760405180602001604052806000815250610669565b600a610e13836111cc565b600c604051602001610e27939291906117b8565b60405160208183030381529060405292915050565b610e44610f5a565b6001600160a01b038116610ea95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610610565b610eb281611091565b50565b600081600111158015610ec9575060005482105b8015610669575050600090815260046020526040902054600160e01b161590565b60008180600111610f4157600054811015610f4157600081815260046020526040902054600160e01b8116610f3f575b80610f38575060001901600081815260046020526040902054610f1a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610cdd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610610565b6000546001600160a01b038316610fdd57604051622e076360e81b815260040160405180910390fd5b81610ffb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106110455760005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111189033908990889088906004016117eb565b6020604051808303816000875af1925050508015611153575060408051601f3d908101601f1916820190925261115091810190611828565b60015b6111ae573d808015611181576040519150601f19603f3d011682016040523d82523d6000602084013e611186565b606091505b5080516111a6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816111f05750506040805180820190915260018152600360fc1b602082015290565b8160005b811561121a578061120481611703565b91506112139050600a8361185b565b91506111f4565b60008167ffffffffffffffff8111156112355761123561149c565b6040519080825280601f01601f19166020018201604052801561125f576020820181803683370190505b5090505b84156111c45761127460018361186f565b9150611281600a86611886565b61128c9060306116eb565b60f81b8183815181106112a1576112a161189a565b60200101906001600160f81b031916908160001a9053506112c3600a8661185b565b9450611263565b8280546112d69061169a565b90600052602060002090601f0160209004810192826112f8576000855561133e565b82601f1061131157805160ff191683800117855561133e565b8280016001018555821561133e579182015b8281111561133e578251825591602001919060010190611323565b5061134a92915061134e565b5090565b5b8082111561134a576000815560010161134f565b6001600160e01b031981168114610eb257600080fd5b60006020828403121561138b57600080fd5b8135610f3881611363565b60005b838110156113b1578181015183820152602001611399565b83811115610dc85750506000910152565b600081518084526113da816020860160208601611396565b601f01601f19169290920160200192915050565b602081526000610f3860208301846113c2565b60006020828403121561141357600080fd5b5035919050565b80356001600160a01b038116811461143157600080fd5b919050565b6000806040838503121561144957600080fd5b6114528361141a565b946020939093013593505050565b60008060006060848603121561147557600080fd5b61147e8461141a565b925061148c6020850161141a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114cd576114cd61149c565b604051601f8501601f19908116603f011681019082821181831017156114f5576114f561149c565b8160405280935085815286868601111561150e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561153a57600080fd5b813567ffffffffffffffff81111561155157600080fd5b8201601f8101841361156257600080fd5b6111c4848235602084016114b2565b60006020828403121561158357600080fd5b813560ff81168114610f3857600080fd5b6000602082840312156115a657600080fd5b610f388261141a565b600080604083850312156115c257600080fd5b6115cb8361141a565b9150602083013580151581146115e057600080fd5b809150509250929050565b6000806000806080858703121561160157600080fd5b61160a8561141a565b93506116186020860161141a565b925060408501359150606085013567ffffffffffffffff81111561163b57600080fd5b8501601f8101871361164c57600080fd5b61165b878235602084016114b2565b91505092959194509250565b6000806040838503121561167a57600080fd5b6116838361141a565b91506116916020840161141a565b90509250929050565b600181811c908216806116ae57607f821691505b602082108114156116cf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156116fe576116fe6116d5565b500190565b6000600019821415611717576117176116d5565b5060010190565b8054600090600181811c908083168061173857607f831692505b602080841082141561175a57634e487b7160e01b600052602260045260246000fd5b81801561176e576001811461177f576117ac565b60ff198616895284890196506117ac565b60008881526020902060005b868110156117a45781548b82015290850190830161178b565b505084890196505b50505050505092915050565b60006117c4828661171e565b84516117d4818360208901611396565b6117e08183018661171e565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061181e908301846113c2565b9695505050505050565b60006020828403121561183a57600080fd5b8151610f3881611363565b634e487b7160e01b600052601260045260246000fd5b60008261186a5761186a611845565b500490565b600082821015611881576118816116d5565b500390565b60008261189557611895611845565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220796104f945cbdfaecc7adecc111131b74a50052ad4d8ed969f9b8ffc86bc4d5664736f6c634300080b00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005568747470733a2f2f736572756d6c61627a2e6d7970696e6174612e636c6f75642f697066732f516d65585061344a566466426874357464426a4171394b4e714a77504765534c44695654564b4e333858794c6b782f0000000000000000000000
Deployed Bytecode
0x6080604052600436106101c65760003560e01c806370a08231116100f7578063a22cb46511610095578063c87b56dd11610064578063c87b56dd146104df578063d5abeb01146104ff578063e985e9c514610515578063f2fde38b1461055e576101d6565b8063a22cb4651461046a578063b635d70a1461048a578063b88d4fde146104aa578063c6682862146104ca576101d6565b80638da5cb5b116100d15780638da5cb5b146103f457806395d89b41146104125780639659867e14610427578063a11198671461043d576101d6565b806370a08231146103ac578063715018a6146103cc5780638b281018146103e1576101d6565b80633ccfd60b1161016457806355f804b31161013e57806355f804b3146103445780636352211e146103645780636c0360eb146103845780636ecd230614610399576101d6565b80633ccfd60b146102ef57806342842e0e146103045780634685e1a014610324576101d6565b8063095ea7b3116101a0578063095ea7b31461026e57806313faede61461028e57806318160ddd146102b257806323b872dd146102cf576101d6565b806301ffc9a7146101df57806306fdde0314610214578063081812fc14610236576101d6565b366101d6576101d44761057e565b005b6101d44761057e565b3480156101eb57600080fd5b506101ff6101fa366004611379565b61061d565b60405190151581526020015b60405180910390f35b34801561022057600080fd5b5061022961066f565b60405161020b91906113ee565b34801561024257600080fd5b50610256610251366004611401565b610701565b6040516001600160a01b03909116815260200161020b565b34801561027a57600080fd5b506101d4610289366004611436565b610745565b34801561029a57600080fd5b506102a4600e5481565b60405190815260200161020b565b3480156102be57600080fd5b5060015460005403600019016102a4565b3480156102db57600080fd5b506101d46102ea366004611460565b6107e5565b3480156102fb57600080fd5b506101d4610976565b34801561031057600080fd5b506101d461031f366004611460565b6109e6565b34801561033057600080fd5b50601154610256906001600160a01b031681565b34801561035057600080fd5b506101d461035f366004611528565b610a06565b34801561037057600080fd5b5061025661037f366004611401565b610a21565b34801561039057600080fd5b50610229610a2c565b6101d46103a7366004611571565b610aba565b3480156103b857600080fd5b506102a46103c7366004611594565b610c7c565b3480156103d857600080fd5b506101d4610ccb565b6101d46103ef366004611401565b61057e565b34801561040057600080fd5b506008546001600160a01b0316610256565b34801561041e57600080fd5b50610229610cdf565b34801561043357600080fd5b506102a4600d5481565b34801561044957600080fd5b506102a4610458366004611594565b60106020526000908152604090205481565b34801561047657600080fd5b506101d46104853660046115af565b610cee565b34801561049657600080fd5b50600b54610256906001600160a01b031681565b3480156104b657600080fd5b506101d46104c53660046115eb565b610d84565b3480156104d657600080fd5b50610229610dce565b3480156104eb57600080fd5b506102296104fa366004611401565b610ddb565b34801561050b57600080fd5b506102a461271081565b34801561052157600080fd5b506101ff610530366004611667565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056a57600080fd5b506101d4610579366004611594565b610e3c565b6011546040516000916001600160a01b03169083908381818185875af1925050503d80600081146105cb576040519150601f19603f3d011682016040523d82523d6000602084013e6105d0565b606091505b50509050806106195760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064015b60405180910390fd5b5050565b60006301ffc9a760e01b6001600160e01b03198316148061064e57506380ac58cd60e01b6001600160e01b03198316145b806106695750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461067e9061169a565b80601f01602080910402602001604051908101604052809291908181526020018280546106aa9061169a565b80156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b5050505050905090565b600061070c82610eb5565b610729576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061075082610a21565b9050336001600160a01b038216146107895761076c8133610530565b610789576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107f082610eea565b9050836001600160a01b0316816001600160a01b0316146108235760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610870576108538633610530565b61087057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661089757604051633a954ecd60e21b815260040160405180910390fd5b80156108a257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661092d576001840160008181526004602052604090205461092b57600054811461092b5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61097e610f5a565b600260095414156109d15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610610565b60026009556109df4761057e565b6001600955565b610a0183838360405180602001604052806000815250610d84565b505050565b610a0e610f5a565b805161061990600a9060208401906112ca565b600061066982610eea565b600a8054610a399061169a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a659061169a565b8015610ab25780601f10610a8757610100808354040283529160200191610ab2565b820191906000526020600020905b815481529060010190602001808311610a9557829003601f168201915b505050505081565b60026009541415610b0d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610610565b600260095560ff811661271081610b2d6001546000546000199190030190565b610b3791906116eb565b10610ba05760405162461bcd60e51b815260206004820152603360248201527f5b537570706c79204572726f725d204e6f7420656e6f756768206c65667420666044820152721bdc881d1a1a5cc81b5a5b9d08185b5bdd5b9d606a1b6064820152608401610610565b6008546001600160a01b03163314610c2357600f543360009081526010602052604090205460ff9091161015610c235760405162461bcd60e51b815260206004820152602260248201527f5b4d6178204d696e74204572726f725d20596f75277665206d6178206d696e74604482015261195960f21b6064820152608401610610565b610c2c3461057e565b610c39338360ff16610fb4565b8160ff16600d6000828254610c4e91906116eb565b9091555050336000908152601060205260408120805491610c6e83611703565b909155505060016009555050565b60006001600160a01b038216610ca5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cd3610f5a565b610cdd6000611091565b565b60606003805461067e9061169a565b6001600160a01b038216331415610d185760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d8f8484846107e5565b6001600160a01b0383163b15610dc857610dab848484846110e3565b610dc8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600c8054610a399061169a565b60606000600a8054610dec9061169a565b905011610e085760405180602001604052806000815250610669565b600a610e13836111cc565b600c604051602001610e27939291906117b8565b60405160208183030381529060405292915050565b610e44610f5a565b6001600160a01b038116610ea95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610610565b610eb281611091565b50565b600081600111158015610ec9575060005482105b8015610669575050600090815260046020526040902054600160e01b161590565b60008180600111610f4157600054811015610f4157600081815260046020526040902054600160e01b8116610f3f575b80610f38575060001901600081815260046020526040902054610f1a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610cdd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610610565b6000546001600160a01b038316610fdd57604051622e076360e81b815260040160405180910390fd5b81610ffb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106110455760005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111189033908990889088906004016117eb565b6020604051808303816000875af1925050508015611153575060408051601f3d908101601f1916820190925261115091810190611828565b60015b6111ae573d808015611181576040519150601f19603f3d011682016040523d82523d6000602084013e611186565b606091505b5080516111a6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816111f05750506040805180820190915260018152600360fc1b602082015290565b8160005b811561121a578061120481611703565b91506112139050600a8361185b565b91506111f4565b60008167ffffffffffffffff8111156112355761123561149c565b6040519080825280601f01601f19166020018201604052801561125f576020820181803683370190505b5090505b84156111c45761127460018361186f565b9150611281600a86611886565b61128c9060306116eb565b60f81b8183815181106112a1576112a161189a565b60200101906001600160f81b031916908160001a9053506112c3600a8661185b565b9450611263565b8280546112d69061169a565b90600052602060002090601f0160209004810192826112f8576000855561133e565b82601f1061131157805160ff191683800117855561133e565b8280016001018555821561133e579182015b8281111561133e578251825591602001919060010190611323565b5061134a92915061134e565b5090565b5b8082111561134a576000815560010161134f565b6001600160e01b031981168114610eb257600080fd5b60006020828403121561138b57600080fd5b8135610f3881611363565b60005b838110156113b1578181015183820152602001611399565b83811115610dc85750506000910152565b600081518084526113da816020860160208601611396565b601f01601f19169290920160200192915050565b602081526000610f3860208301846113c2565b60006020828403121561141357600080fd5b5035919050565b80356001600160a01b038116811461143157600080fd5b919050565b6000806040838503121561144957600080fd5b6114528361141a565b946020939093013593505050565b60008060006060848603121561147557600080fd5b61147e8461141a565b925061148c6020850161141a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114cd576114cd61149c565b604051601f8501601f19908116603f011681019082821181831017156114f5576114f561149c565b8160405280935085815286868601111561150e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561153a57600080fd5b813567ffffffffffffffff81111561155157600080fd5b8201601f8101841361156257600080fd5b6111c4848235602084016114b2565b60006020828403121561158357600080fd5b813560ff81168114610f3857600080fd5b6000602082840312156115a657600080fd5b610f388261141a565b600080604083850312156115c257600080fd5b6115cb8361141a565b9150602083013580151581146115e057600080fd5b809150509250929050565b6000806000806080858703121561160157600080fd5b61160a8561141a565b93506116186020860161141a565b925060408501359150606085013567ffffffffffffffff81111561163b57600080fd5b8501601f8101871361164c57600080fd5b61165b878235602084016114b2565b91505092959194509250565b6000806040838503121561167a57600080fd5b6116838361141a565b91506116916020840161141a565b90509250929050565b600181811c908216806116ae57607f821691505b602082108114156116cf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156116fe576116fe6116d5565b500190565b6000600019821415611717576117176116d5565b5060010190565b8054600090600181811c908083168061173857607f831692505b602080841082141561175a57634e487b7160e01b600052602260045260246000fd5b81801561176e576001811461177f576117ac565b60ff198616895284890196506117ac565b60008881526020902060005b868110156117a45781548b82015290850190830161178b565b505084890196505b50505050505092915050565b60006117c4828661171e565b84516117d4818360208901611396565b6117e08183018661171e565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061181e908301846113c2565b9695505050505050565b60006020828403121561183a57600080fd5b8151610f3881611363565b634e487b7160e01b600052601260045260246000fd5b60008261186a5761186a611845565b500490565b600082821015611881576118816116d5565b500390565b60008261189557611895611845565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220796104f945cbdfaecc7adecc111131b74a50052ad4d8ed969f9b8ffc86bc4d5664736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005568747470733a2f2f736572756d6c61627a2e6d7970696e6174612e636c6f75642f697066732f516d65585061344a566466426874357464426a4171394b4e714a77504765534c44695654564b4e333858794c6b782f0000000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://serumlabz.mypinata.cloud/ipfs/QmeXPa4JVdfBht5tdBjAq9KNqJwPGeSLDiVTVKN38XyLkx/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000055
Arg [2] : 68747470733a2f2f736572756d6c61627a2e6d7970696e6174612e636c6f7564
Arg [3] : 2f697066732f516d65585061344a566466426874357464426a4171394b4e714a
Arg [4] : 77504765534c44695654564b4e333858794c6b782f0000000000000000000000
Deployed Bytecode Sourcemap
62412:2727:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65008:32;65018:21;65008:9;:32::i;:::-;62412:2727;;65097:32;65107:21;65097:9;:32::i;32094:615::-;;;;;;;;;;-1:-1:-1;32094:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;32094:615:0;;;;;;;;37741:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;39687:204::-;;;;;;;;;;-1:-1:-1;39687:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;39687:204:0;1528:203:1;39235:386:0;;;;;;;;;;-1:-1:-1;39235:386:0;;;;;:::i;:::-;;:::i;62682:29::-;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;62682:29:0;2173:177:1;31148:315:0;;;;;;;;;;-1:-1:-1;63884:1:0;31414:12;31201:7;31398:13;:28;-1:-1:-1;;31398:46:0;31148:315;;48952:2800;;;;;;;;;;-1:-1:-1;48952:2800:0;;;;;:::i;:::-;;:::i;64864:94::-;;;;;;;;;;;;;:::i;40577:185::-;;;;;;;;;;-1:-1:-1;40577:185:0;;;;;:::i;:::-;;:::i;62815:83::-;;;;;;;;;;-1:-1:-1;62815:83:0;;;;-1:-1:-1;;;;;62815:83:0;;;64741:104;;;;;;;;;;-1:-1:-1;64741:104:0;;;;;:::i;:::-;;:::i;37530:144::-;;;;;;;;;;-1:-1:-1;37530:144:0;;;;;:::i;:::-;;:::i;62552:21::-;;;;;;;;;;;;;:::i;63095:235::-;;;;;;:::i;:::-;;:::i;32773:224::-;;;;;;;;;;-1:-1:-1;32773:224:0;;;;;:::i;:::-;;:::i;16585:103::-;;;;;;;;;;;;;:::i;64528:172::-;;;;;;:::i;:::-;;:::i;15937:87::-;;;;;;;;;;-1:-1:-1;16010:6:0;;-1:-1:-1;;;;;16010:6:0;15937:87;;37910:104;;;;;;;;;;;;;:::i;62650:28::-;;;;;;;;;;;;;;;;62763:43;;;;;;;;;;-1:-1:-1;62763:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;39963:308;;;;;;;;;;-1:-1:-1;39963:308:0;;;;;:::i;:::-;;:::i;62580:23::-;;;;;;;;;;-1:-1:-1;62580:23:0;;;;-1:-1:-1;;;;;62580:23:0;;;40833:399;;;;;;;;;;-1:-1:-1;40833:399:0;;;;;:::i;:::-;;:::i;62609:37::-;;;;;;;;;;;;;:::i;64124:206::-;;;;;;;;;;-1:-1:-1;64124:206:0;;;;;:::i;:::-;;:::i;62505:41::-;;;;;;;;;;;;62541:5;62505:41;;40342:164;;;;;;;;;;-1:-1:-1;40342:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;40463:25:0;;;40439:4;40463:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40342:164;16843:201;;;;;;;;;;-1:-1:-1;16843:201:0;;;;;:::i;:::-;;:::i;64528:172::-;64612:14;;64604:55;;64592:7;;-1:-1:-1;;;;;64612:14:0;;64640;;64592:7;64604:55;64592:7;64604:55;64640:14;64612;64604:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64591:68;;;64672:2;64664:31;;;;-1:-1:-1;;;64664:31:0;;6079:2:1;64664:31:0;;;6061:21:1;6118:2;6098:18;;;6091:30;-1:-1:-1;;;6137:18:1;;;6130:46;6193:18;;64664:31:0;;;;;;;;;64586:114;64528:172;:::o;32094:615::-;32179:4;-1:-1:-1;;;;;;;;;32479:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;32556:25:0;;;32479:102;:179;;;-1:-1:-1;;;;;;;;;;32633:25:0;;;32479:179;32459:199;32094:615;-1:-1:-1;;32094:615:0:o;37741:100::-;37795:13;37828:5;37821:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37741:100;:::o;39687:204::-;39755:7;39780:16;39788:7;39780;:16::i;:::-;39775:64;;39805:34;;-1:-1:-1;;;39805:34:0;;;;;;;;;;;39775:64;-1:-1:-1;39859:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39859:24:0;;39687:204::o;39235:386::-;39308:13;39324:16;39332:7;39324;:16::i;:::-;39308:32;-1:-1:-1;60135:10:0;-1:-1:-1;;;;;39357:28:0;;;39353:175;;39405:44;39422:5;60135:10;40342:164;:::i;39405:44::-;39400:128;;39477:35;;-1:-1:-1;;;39477:35:0;;;;;;;;;;;39400:128;39540:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39540:29:0;-1:-1:-1;;;;;39540:29:0;;;;;;;;;39585:28;;39540:24;;39585:28;;;;;;;39297:324;39235:386;;:::o;48952:2800::-;49086:27;49116;49135:7;49116:18;:27::i;:::-;49086:57;;49201:4;-1:-1:-1;;;;;49160:45:0;49176:19;-1:-1:-1;;;;;49160:45:0;;49156:86;;49214:28;;-1:-1:-1;;;49214:28:0;;;;;;;;;;;49156:86;49256:27;47682:21;;;47509:15;47724:4;47717:36;47806:4;47790:21;;47896:26;;60135:10;48649:30;;;-1:-1:-1;;;;;48347:26:0;;48628:19;;;48625:55;49435:174;;49522:43;49539:4;60135:10;40342:164;:::i;49522:43::-;49517:92;;49574:35;;-1:-1:-1;;;49574:35:0;;;;;;;;;;;49517:92;-1:-1:-1;;;;;49626:16:0;;49622:52;;49651:23;;-1:-1:-1;;;49651:23:0;;;;;;;;;;;49622:52;49823:15;49820:160;;;49963:1;49942:19;49935:30;49820:160;-1:-1:-1;;;;;50358:24:0;;;;;;;:18;:24;;;;;;50356:26;;-1:-1:-1;;50356:26:0;;;50427:22;;;;;;;;;50425:24;;-1:-1:-1;50425:24:0;;;37429:11;37405:22;37401:40;37388:62;-1:-1:-1;;;37388:62:0;50720:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;51014:46:0;;51010:626;;51118:1;51108:11;;51086:19;51241:30;;;:17;:30;;;;;;51237:384;;51379:13;;51364:11;:28;51360:242;;51526:30;;;;:17;:30;;;;;:52;;;51360:242;51067:569;51010:626;51683:7;51679:2;-1:-1:-1;;;;;51664:27:0;51673:4;-1:-1:-1;;;;;51664:27:0;;;;;;;;;;;49075:2677;;;48952:2800;;;:::o;64864:94::-;15823:13;:11;:13::i;:::-;1812:1:::1;2410:7;;:19;;2402:63;;;::::0;-1:-1:-1;;;2402:63:0;;6809:2:1;2402:63:0::1;::::0;::::1;6791:21:1::0;6848:2;6828:18;;;6821:30;6887:33;6867:18;;;6860:61;6938:18;;2402:63:0::1;6607:355:1::0;2402:63:0::1;1812:1;2543:7;:18:::0;64921:32:::2;64931:21;64921:9;:32::i;:::-;1768:1:::1;2722:7;:22:::0;64864:94::o;40577:185::-;40715:39;40732:4;40738:2;40742:7;40715:39;;;;;;;;;;;;:16;:39::i;:::-;40577:185;;;:::o;64741:104::-;15823:13;:11;:13::i;:::-;64816:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;37530:144::-:0;37594:7;37637:27;37656:7;37637:18;:27::i;62552:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;63095:235::-;1812:1;2410:7;;:19;;2402:63;;;;-1:-1:-1;;;2402:63:0;;6809:2:1;2402:63:0;;;6791:21:1;6848:2;6828:18;;;6821:30;6887:33;6867:18;;;6860:61;6938:18;;2402:63:0;6607:355:1;2402:63:0;1812:1;2543:7;:18;63335:397:::1;::::0;::::1;62541:5;63335:397:::0;63399:13:::1;63884:1:::0;31414:12;31201:7;31398:13;-1:-1:-1;;31398:28:0;;;:46;;31148:315;63399:13:::1;:27;;;;:::i;:::-;:39;63391:103;;;::::0;-1:-1:-1;;;63391:103:0;;7434:2:1;63391:103:0::1;::::0;::::1;7416:21:1::0;7473:2;7453:18;;;7446:30;7512:34;7492:18;;;7485:62;-1:-1:-1;;;7563:18:1;;;7556:49;7622:19;;63391:103:0::1;7232:415:1::0;63391:103:0::1;16010:6:::0;;-1:-1:-1;;;;;16010:6:0;63518:10:::1;:21;63515:144;;63591:17;::::0;63576:10:::1;63591:17;63564:23:::0;;;:11:::1;:23;::::0;;;;;63591:17:::1;::::0;;::::1;-1:-1:-1::0;63564:44:0::1;63556:91;;;::::0;-1:-1:-1;;;63556:91:0;;7854:2:1;63556:91:0::1;::::0;::::1;7836:21:1::0;7893:2;7873:18;;;7866:30;7932:34;7912:18;;;7905:62;-1:-1:-1;;;7983:18:1;;;7976:32;8025:19;;63556:91:0::1;7652:398:1::0;63556:91:0::1;63701:20;63711:9;63701;:20::i;:::-;63191:27:::2;63197:10;63209:8;63191:27;;:5;:27::i;:::-;63271:8;63258:21;;:9;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;63309:10:0::2;63297:23;::::0;;;:11:::2;:23;::::0;;;;:25;;;::::2;::::0;::::2;:::i;:::-;::::0;;;-1:-1:-1;;1768:1:0;2722:7;:22;-1:-1:-1;;63095:235:0:o;32773:224::-;32837:7;-1:-1:-1;;;;;32861:19:0;;32857:60;;32889:28;;-1:-1:-1;;;32889:28:0;;;;;;;;;;;32857:60;-1:-1:-1;;;;;;32935:25:0;;;;;:18;:25;;;;;;27328:13;32935:54;;32773:224::o;16585:103::-;15823:13;:11;:13::i;:::-;16650:30:::1;16677:1;16650:18;:30::i;:::-;16585:103::o:0;37910:104::-;37966:13;37999:7;37992:14;;;;;:::i;39963:308::-;-1:-1:-1;;;;;40062:31:0;;60135:10;40062:31;40058:61;;;40102:17;;-1:-1:-1;;;40102:17:0;;;;;;;;;;;40058:61;60135:10;40132:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;40132:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;40132:60:0;;;;;;;;;;40208:55;;540:41:1;;;40132:49:0;;60135:10;40208:55;;513:18:1;40208:55:0;;;;;;;39963:308;;:::o;40833:399::-;41000:31;41013:4;41019:2;41023:7;41000:12;:31::i;:::-;-1:-1:-1;;;;;41046:14:0;;;:19;41042:183;;41085:56;41116:4;41122:2;41126:7;41135:5;41085:30;:56::i;:::-;41080:145;;41169:40;;-1:-1:-1;;;41169:40:0;;;;;;;;;;;41080:145;40833:399;;;;:::o;62609:37::-;;;;;;;:::i;64124:206::-;64197:13;64248:1;64230:7;64224:21;;;;;:::i;:::-;;;:25;:101;;;;;;;;;;;;;;;;;64276:7;64285:18;:7;:16;:18::i;:::-;64305:13;64259:60;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64217:108;64124:206;-1:-1:-1;;64124:206:0:o;16843:201::-;15823:13;:11;:13::i;:::-;-1:-1:-1;;;;;16932:22:0;::::1;16924:73;;;::::0;-1:-1:-1;;;16924:73:0;;9962:2:1;16924:73:0::1;::::0;::::1;9944:21:1::0;10001:2;9981:18;;;9974:30;10040:34;10020:18;;;10013:62;-1:-1:-1;;;10091:18:1;;;10084:36;10137:19;;16924:73:0::1;9760:402:1::0;16924:73:0::1;17008:28;17027:8;17008:18;:28::i;:::-;16843:201:::0;:::o;41487:273::-;41544:4;41600:7;63884:1;41581:26;;:66;;;;;41634:13;;41624:7;:23;41581:66;:152;;;;-1:-1:-1;;41685:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;41685:43:0;:48;;41487:273::o;34447:1129::-;34514:7;34549;;63884:1;34598:23;34594:915;;34651:13;;34644:4;:20;34640:869;;;34689:14;34706:23;;;:17;:23;;;;;;-1:-1:-1;;;34795:23:0;;34791:699;;35314:113;35321:11;35314:113;;-1:-1:-1;;;35392:6:0;35374:25;;;;:17;:25;;;;;;35314:113;;;35460:6;34447:1129;-1:-1:-1;;;34447:1129:0:o;34791:699::-;34666:843;34640:869;35537:31;;-1:-1:-1;;;35537:31:0;;;;;;;;;;;16102:132;16010:6;;-1:-1:-1;;;;;16010:6:0;60135:10;16166:23;16158:68;;;;-1:-1:-1;;;16158:68:0;;10369:2:1;16158:68:0;;;10351:21:1;;;10388:18;;;10381:30;10447:34;10427:18;;;10420:62;10499:18;;16158:68:0;10167:356:1;43318:1529:0;43383:20;43406:13;-1:-1:-1;;;;;43434:16:0;;43430:48;;43459:19;;-1:-1:-1;;;43459:19:0;;;;;;;;;;;43430:48;43493:13;43489:44;;43515:18;;-1:-1:-1;;;43515:18:0;;;;;;;;;;;43489:44;-1:-1:-1;;;;;44021:22:0;;;;;;:18;:22;;27465:2;44021:22;;:70;;44059:31;44047:44;;44021:70;;;37429:11;37405:22;37401:40;-1:-1:-1;39139:15:0;;39114:23;39110:45;37398:51;37388:62;44334:31;;;;:17;:31;;;;;:173;44352:12;44583:23;;;44621:101;44648:35;;44673:9;;;;;-1:-1:-1;;;;;44648:35:0;;;44665:1;;44648:35;;44665:1;;44648:35;44717:3;44707:7;:13;44621:101;;44738:13;:19;-1:-1:-1;40577:185:0;;;:::o;17204:191::-;17297:6;;;-1:-1:-1;;;;;17314:17:0;;;-1:-1:-1;;;;;;17314:17:0;;;;;;;17347:40;;17297:6;;;17314:17;17297:6;;17347:40;;17278:16;;17347:40;17267:128;17204:191;:::o;55703:716::-;55887:88;;-1:-1:-1;;;55887:88:0;;55866:4;;-1:-1:-1;;;;;55887:45:0;;;;;:88;;60135:10;;55954:4;;55960:7;;55969:5;;55887:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55887:88:0;;;;;;;;-1:-1:-1;;55887:88:0;;;;;;;;;;;;:::i;:::-;;;55883:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56170:13:0;;56166:235;;56216:40;;-1:-1:-1;;;56216:40:0;;;;;;;;;;;56166:235;56359:6;56353:13;56344:6;56340:2;56336:15;56329:38;55883:529;-1:-1:-1;;;;;;56046:64:0;-1:-1:-1;;;56046:64:0;;-1:-1:-1;55883:529:0;55703:716;;;;;;:::o;3189:723::-;3245:13;3466:10;3462:53;;-1:-1:-1;;3493:10:0;;;;;;;;;;;;-1:-1:-1;;;3493:10:0;;;;;3189:723::o;3462:53::-;3540:5;3525:12;3581:78;3588:9;;3581:78;;3614:8;;;;:::i;:::-;;-1:-1:-1;3637:10:0;;-1:-1:-1;3645:2:0;3637:10;;:::i;:::-;;;3581:78;;;3669:19;3701:6;3691:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3691:17:0;;3669:39;;3719:154;3726:10;;3719:154;;3753:11;3763:1;3753:11;;:::i;:::-;;-1:-1:-1;3822:10:0;3830:2;3822:5;:10;:::i;:::-;3809:24;;:2;:24;:::i;:::-;3796:39;;3779:6;3786;3779:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3779:56:0;;;;;;;;-1:-1:-1;3850:11:0;3859:2;3850:11;;:::i;:::-;;;3719:154;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:632;2885:5;2915:18;2956:2;2948:6;2945:14;2942:40;;;2962:18;;:::i;:::-;3037:2;3031:9;3005:2;3091:15;;-1:-1:-1;;3087:24:1;;;3113:2;3083:33;3079:42;3067:55;;;3137:18;;;3157:22;;;3134:46;3131:72;;;3183:18;;:::i;:::-;3223:10;3219:2;3212:22;3252:6;3243:15;;3282:6;3274;3267:22;3322:3;3313:6;3308:3;3304:16;3301:25;3298:45;;;3339:1;3336;3329:12;3298:45;3389:6;3384:3;3377:4;3369:6;3365:17;3352:44;3444:1;3437:4;3428:6;3420;3416:19;3412:30;3405:41;;;;2820:632;;;;;:::o;3457:451::-;3526:6;3579:2;3567:9;3558:7;3554:23;3550:32;3547:52;;;3595:1;3592;3585:12;3547:52;3635:9;3622:23;3668:18;3660:6;3657:30;3654:50;;;3700:1;3697;3690:12;3654:50;3723:22;;3776:4;3768:13;;3764:27;-1:-1:-1;3754:55:1;;3805:1;3802;3795:12;3754:55;3828:74;3894:7;3889:2;3876:16;3871:2;3867;3863:11;3828:74;:::i;3913:269::-;3970:6;4023:2;4011:9;4002:7;3998:23;3994:32;3991:52;;;4039:1;4036;4029:12;3991:52;4078:9;4065:23;4128:4;4121:5;4117:16;4110:5;4107:27;4097:55;;4148:1;4145;4138:12;4187:186;4246:6;4299:2;4287:9;4278:7;4274:23;4270:32;4267:52;;;4315:1;4312;4305:12;4267:52;4338:29;4357:9;4338:29;:::i;4378:347::-;4443:6;4451;4504:2;4492:9;4483:7;4479:23;4475:32;4472:52;;;4520:1;4517;4510:12;4472:52;4543:29;4562:9;4543:29;:::i;:::-;4533:39;;4622:2;4611:9;4607:18;4594:32;4669:5;4662:13;4655:21;4648:5;4645:32;4635:60;;4691:1;4688;4681:12;4635:60;4714:5;4704:15;;;4378:347;;;;;:::o;4730:667::-;4825:6;4833;4841;4849;4902:3;4890:9;4881:7;4877:23;4873:33;4870:53;;;4919:1;4916;4909:12;4870:53;4942:29;4961:9;4942:29;:::i;:::-;4932:39;;4990:38;5024:2;5013:9;5009:18;4990:38;:::i;:::-;4980:48;;5075:2;5064:9;5060:18;5047:32;5037:42;;5130:2;5119:9;5115:18;5102:32;5157:18;5149:6;5146:30;5143:50;;;5189:1;5186;5179:12;5143:50;5212:22;;5265:4;5257:13;;5253:27;-1:-1:-1;5243:55:1;;5294:1;5291;5284:12;5243:55;5317:74;5383:7;5378:2;5365:16;5360:2;5356;5352:11;5317:74;:::i;:::-;5307:84;;;4730:667;;;;;;;:::o;5402:260::-;5470:6;5478;5531:2;5519:9;5510:7;5506:23;5502:32;5499:52;;;5547:1;5544;5537:12;5499:52;5570:29;5589:9;5570:29;:::i;:::-;5560:39;;5618:38;5652:2;5641:9;5637:18;5618:38;:::i;:::-;5608:48;;5402:260;;;;;:::o;6222:380::-;6301:1;6297:12;;;;6344;;;6365:61;;6419:4;6411:6;6407:17;6397:27;;6365:61;6472:2;6464:6;6461:14;6441:18;6438:38;6435:161;;;6518:10;6513:3;6509:20;6506:1;6499:31;6553:4;6550:1;6543:15;6581:4;6578:1;6571:15;6435:161;;6222:380;;;:::o;6967:127::-;7028:10;7023:3;7019:20;7016:1;7009:31;7059:4;7056:1;7049:15;7083:4;7080:1;7073:15;7099:128;7139:3;7170:1;7166:6;7163:1;7160:13;7157:39;;;7176:18;;:::i;:::-;-1:-1:-1;7212:9:1;;7099:128::o;8055:135::-;8094:3;-1:-1:-1;;8115:17:1;;8112:43;;;8135:18;;:::i;:::-;-1:-1:-1;8182:1:1;8171:13;;8055:135::o;8321:973::-;8406:12;;8371:3;;8461:1;8481:18;;;;8534;;;;8561:61;;8615:4;8607:6;8603:17;8593:27;;8561:61;8641:2;8689;8681:6;8678:14;8658:18;8655:38;8652:161;;;8735:10;8730:3;8726:20;8723:1;8716:31;8770:4;8767:1;8760:15;8798:4;8795:1;8788:15;8652:161;8829:18;8856:104;;;;8974:1;8969:319;;;;8822:466;;8856:104;-1:-1:-1;;8889:24:1;;8877:37;;8934:16;;;;-1:-1:-1;8856:104:1;;8969:319;8268:1;8261:14;;;8305:4;8292:18;;9063:1;9077:165;9091:6;9088:1;9085:13;9077:165;;;9169:14;;9156:11;;;9149:35;9212:16;;;;9106:10;;9077:165;;;9081:3;;9271:6;9266:3;9262:16;9255:23;;8822:466;;;;;;;8321:973;;;;:::o;9299:456::-;9520:3;9548:38;9582:3;9574:6;9548:38;:::i;:::-;9615:6;9609:13;9631:52;9676:6;9672:2;9665:4;9657:6;9653:17;9631:52;:::i;:::-;9699:50;9741:6;9737:2;9733:15;9725:6;9699:50;:::i;:::-;9692:57;9299:456;-1:-1:-1;;;;;;;9299:456:1:o;10528:489::-;-1:-1:-1;;;;;10797:15:1;;;10779:34;;10849:15;;10844:2;10829:18;;10822:43;10896:2;10881:18;;10874:34;;;10944:3;10939:2;10924:18;;10917:31;;;10722:4;;10965:46;;10991:19;;10983:6;10965:46;:::i;:::-;10957:54;10528:489;-1:-1:-1;;;;;;10528:489:1:o;11022:249::-;11091:6;11144:2;11132:9;11123:7;11119:23;11115:32;11112:52;;;11160:1;11157;11150:12;11112:52;11192:9;11186:16;11211:30;11235:5;11211:30;:::i;11276:127::-;11337:10;11332:3;11328:20;11325:1;11318:31;11368:4;11365:1;11358:15;11392:4;11389:1;11382:15;11408:120;11448:1;11474;11464:35;;11479:18;;:::i;:::-;-1:-1:-1;11513:9:1;;11408:120::o;11533:125::-;11573:4;11601:1;11598;11595:8;11592:34;;;11606:18;;:::i;:::-;-1:-1:-1;11643:9:1;;11533:125::o;11663:112::-;11695:1;11721;11711:35;;11726:18;;:::i;:::-;-1:-1:-1;11760:9:1;;11663:112::o;11780:127::-;11841:10;11836:3;11832:20;11829:1;11822:31;11872:4;11869:1;11862:15;11896:4;11893:1;11886:15
Swarm Source
ipfs://796104f945cbdfaecc7adecc111131b74a50052ad4d8ed969f9b8ffc86bc4d56
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.