ERC-721
Overview
Max Total Supply
679 UNBRKBLE
Holders
54
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 UNBRKBLELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UNBREAKABLENFT
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-17 */ // SPDX-License-Identifier: MIT // File: CONTRACT/Unbreakable.sol // 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/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/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: erc721a/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: erc721a/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) } } } pragma solidity ^0.8.0; contract UNBREAKABLENFT is ERC721A, Ownable, ReentrancyGuard { using Address for address; using Strings for uint; string public baseTokenURI = "ipfs://QmNixMBwjpCrG4WEizj3gZk8iN6KVPKGKGY33KGzpYZvjp/"; uint256 public price = 0.003 ether; uint256 public maxPerTransaction = 5; uint256 public maxFreePerWallet = 1; uint256 public totalFree = 1000; uint256 public maxSupply = 3333; bool public mintEnabled = false; mapping(address => uint256) private _mintedFreeAmount; constructor() ERC721A("UNBREAKABLE", "UNBRKBLE"){ } // -FUNCTIONS- function mint(uint256 count) external payable { uint256 cost = price; bool isFree = ((totalSupply() + count < totalFree + 1) && (_mintedFreeAmount[msg.sender] + count <= maxFreePerWallet)); if (isFree) { cost = 0; _mintedFreeAmount[msg.sender] += count; } require(msg.value >= count * cost, "Please send the right amount."); require(totalSupply() + count <= maxSupply, "Gone."); require(mintEnabled, "Minting hasn't started yet."); require(count <= maxPerTransaction, "Max per transaction reached."); _safeMint(msg.sender, count); } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function ownerfunction(uint256 amt) external onlyOwner { require(totalSupply() + amt < maxSupply + 1,"too many!"); _safeMint(msg.sender, amt); } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseTokenURI, "/", _tokenId.toString(), ".json")); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function toggleMinting() external onlyOwner { mintEnabled = !mintEnabled; } function setPrice(uint256 price_) external onlyOwner { price = price_; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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"},{"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"amt","type":"uint256"}],"name":"ownerfunction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","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":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e0604052603660808181529062001c9f60a03980516200002991600a916020909101906200013c565b50660aa87bee538000600b556005600c556001600d556103e8600e55610d05600f556010805460ff191690553480156200006257600080fd5b50604080518082018252600b81526a554e425245414b41424c4560a81b602080830191825283518085019094526008845267554e42524b424c4560c01b908401528151919291620000b6916002916200013c565b508051620000cc9060039060208401906200013c565b5050600160005550620000df33620000ea565b60016009556200021f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014a90620001e2565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b600181811c90821680620001f757607f821691505b602082108114156200021957634e487b7160e01b600052602260045260246000fd5b50919050565b611a70806200022f6000396000f3fe6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063b88d4fde11610095578063d5abeb0111610064578063d5abeb01146104db578063dad03983146104f1578063e985e9c514610511578063f2fde38b1461055a57600080fd5b8063b88d4fde1461046c578063c87b56dd1461048c578063d1239730146104ac578063d547cfb7146104c657600080fd5b8063a035b1fe116100d1578063a035b1fe1461040d578063a0712d6814610423578063a22cb46514610436578063a70273571461045657600080fd5b80638da5cb5b146103ba57806391b7f5ed146103d857806395d89b41146103f857600080fd5b80633ccfd60b1161016f5780636352211e1161013e5780636352211e1461035057806370a0823114610370578063715018a6146103905780637d55094d146103a557600080fd5b80633ccfd60b146102e557806342842e0e146102fa5780634b980d671461031a57806355f804b31461033057600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102af578063333e44e6146102cf57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046116d5565b61057a565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105cc565b6040516101fe91906118c1565b34801561023557600080fd5b50610249610244366004611758565b61065e565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046116ab565b6106a2565b005b34801561028f57600080fd5b506102a1600154600054036000190190565b6040519081526020016101fe565b3480156102bb57600080fd5b506102816102ca3660046115b7565b610742565b3480156102db57600080fd5b506102a1600e5481565b3480156102f157600080fd5b506102816108d3565b34801561030657600080fd5b506102816103153660046115b7565b6109cb565b34801561032657600080fd5b506102a1600c5481565b34801561033c57600080fd5b5061028161034b36600461170f565b6109eb565b34801561035c57600080fd5b5061024961036b366004611758565b610a0a565b34801561037c57600080fd5b506102a161038b366004611569565b610a15565b34801561039c57600080fd5b50610281610a64565b3480156103b157600080fd5b50610281610a78565b3480156103c657600080fd5b506008546001600160a01b0316610249565b3480156103e457600080fd5b506102816103f3366004611758565b610a94565b34801561040457600080fd5b5061021c610aa1565b34801561041957600080fd5b506102a1600b5481565b610281610431366004611758565b610ab0565b34801561044257600080fd5b5061028161045136600461166f565b610c96565b34801561046257600080fd5b506102a1600d5481565b34801561047857600080fd5b506102816104873660046115f3565b610d2c565b34801561049857600080fd5b5061021c6104a7366004611758565b610d76565b3480156104b857600080fd5b506010546101f29060ff1681565b3480156104d257600080fd5b5061021c610e17565b3480156104e757600080fd5b506102a1600f5481565b3480156104fd57600080fd5b5061028161050c366004611758565b610ea5565b34801561051d57600080fd5b506101f261052c366004611584565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056657600080fd5b50610281610575366004611569565b610f1d565b60006301ffc9a760e01b6001600160e01b0319831614806105ab57506380ac58cd60e01b6001600160e01b03198316145b806105c65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105db90611962565b80601f016020809104026020016040519081016040528092919081815260200182805461060790611962565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b600061066982610f93565b610686576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ad82610a0a565b9050336001600160a01b038216146106e6576106c9813361052c565b6106e6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061074d82610fc8565b9050836001600160a01b0316816001600160a01b0316146107805760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107cd576107b0863361052c565b6107cd57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107f457604051633a954ecd60e21b815260040160405180910390fd5b80156107ff57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661088a57600184016000818152600460205260409020546108885760005481146108885760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108db611038565b600260095414156109335760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955604051600090339047908381818185875af1925050503d806000811461097a576040519150601f19603f3d011682016040523d82523d6000602084013e61097f565b606091505b50509050806109c35760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161092a565b506001600955565b6109e683838360405180602001604052806000815250610d2c565b505050565b6109f3611038565b8051610a0690600a90602084019061143e565b5050565b60006105c682610fc8565b60006001600160a01b038216610a3e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a6c611038565b610a766000611092565b565b610a80611038565b6010805460ff19811660ff90911615179055565b610a9c611038565b600b55565b6060600380546105db90611962565b600b54600e54600090610ac49060016118d4565b83610ad6600154600054036000190190565b610ae091906118d4565b108015610b095750600d5433600090815260116020526040902054610b069085906118d4565b11155b90508015610b3a57336000908152601160205260408120805491935084918490610b349084906118d4565b90915550505b610b448284611900565b341015610b935760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520726967687420616d6f756e742e000000604482015260640161092a565b600f5483610ba8600154600054036000190190565b610bb291906118d4565b1115610be85760405162461bcd60e51b815260206004820152600560248201526423b7b7329760d91b604482015260640161092a565b60105460ff16610c3a5760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e67206861736e27742073746172746564207965742e0000000000604482015260640161092a565b600c54831115610c8c5760405162461bcd60e51b815260206004820152601c60248201527f4d617820706572207472616e73616374696f6e20726561636865642e00000000604482015260640161092a565b6109e633846110e4565b6001600160a01b038216331415610cc05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d37848484610742565b6001600160a01b0383163b15610d7057610d53848484846110fe565b610d70576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d8182610f93565b610de55760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161092a565b600a610df0836111f6565b604051602001610e019291906117b9565b6040516020818303038152906040529050919050565b600a8054610e2490611962565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5090611962565b8015610e9d5780601f10610e7257610100808354040283529160200191610e9d565b820191906000526020600020905b815481529060010190602001808311610e8057829003601f168201915b505050505081565b610ead611038565b600f54610ebb9060016118d4565b81610ecd600154600054036000190190565b610ed791906118d4565b10610f105760405162461bcd60e51b8152602060048201526009602482015268746f6f206d616e792160b81b604482015260640161092a565b610f1a33826110e4565b50565b610f25611038565b6001600160a01b038116610f8a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092a565b610f1a81611092565b600081600111158015610fa7575060005482105b80156105c6575050600090815260046020526040902054600160e01b161590565b6000818060011161101f5760005481101561101f57600081815260046020526040902054600160e01b811661101d575b80611016575060001901600081815260046020526040902054610ff8565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a068282604051806020016040528060008152506112f4565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611133903390899088908890600401611884565b602060405180830381600087803b15801561114d57600080fd5b505af192505050801561117d575060408051601f3d908101601f1916820190925261117a918101906116f2565b60015b6111d8573d8080156111ab576040519150601f19603f3d011682016040523d82523d6000602084013e6111b0565b606091505b5080516111d0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161121a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611244578061122e8161199d565b915061123d9050600a836118ec565b915061121e565b60008167ffffffffffffffff81111561125f5761125f611a0e565b6040519080825280601f01601f191660200182016040528015611289576020820181803683370190505b5090505b84156111ee5761129e60018361191f565b91506112ab600a866119b8565b6112b69060306118d4565b60f81b8183815181106112cb576112cb6119f8565b60200101906001600160f81b031916908160001a9053506112ed600a866118ec565b945061128d565b6112fe8383611361565b6001600160a01b0383163b156109e6576000548281035b61132860008683806001019450866110fe565b611345576040516368d2bf6b60e11b815260040160405180910390fd5b81811061131557816000541461135a57600080fd5b5050505050565b6000546001600160a01b03831661138a57604051622e076360e81b815260040160405180910390fd5b816113a85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106113f25760005550505050565b82805461144a90611962565b90600052602060002090601f01602090048101928261146c57600085556114b2565b82601f1061148557805160ff19168380011785556114b2565b828001600101855582156114b2579182015b828111156114b2578251825591602001919060010190611497565b506114be9291506114c2565b5090565b5b808211156114be57600081556001016114c3565b600067ffffffffffffffff808411156114f2576114f2611a0e565b604051601f8501601f19908116603f0116810190828211818310171561151a5761151a611a0e565b8160405280935085815286868601111561153357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461156457600080fd5b919050565b60006020828403121561157b57600080fd5b6110168261154d565b6000806040838503121561159757600080fd5b6115a08361154d565b91506115ae6020840161154d565b90509250929050565b6000806000606084860312156115cc57600080fd5b6115d58461154d565b92506115e36020850161154d565b9150604084013590509250925092565b6000806000806080858703121561160957600080fd5b6116128561154d565b93506116206020860161154d565b925060408501359150606085013567ffffffffffffffff81111561164357600080fd5b8501601f8101871361165457600080fd5b611663878235602084016114d7565b91505092959194509250565b6000806040838503121561168257600080fd5b61168b8361154d565b9150602083013580151581146116a057600080fd5b809150509250929050565b600080604083850312156116be57600080fd5b6116c78361154d565b946020939093013593505050565b6000602082840312156116e757600080fd5b813561101681611a24565b60006020828403121561170457600080fd5b815161101681611a24565b60006020828403121561172157600080fd5b813567ffffffffffffffff81111561173857600080fd5b8201601f8101841361174957600080fd5b6111ee848235602084016114d7565b60006020828403121561176a57600080fd5b5035919050565b60008151808452611789816020860160208601611936565b601f01601f19169290920160200192915050565b600081516117af818560208601611936565b9290920192915050565b600080845481600182811c9150808316806117d557607f831692505b60208084108214156117f557634e487b7160e01b86526022600452602486fd5b818015611809576001811461181a57611847565b60ff19861689528489019650611847565b60008b81526020902060005b8681101561183f5781548b820152908501908301611826565b505084890196505b50505050505061187b61186a61186483602f60f81b815260010190565b8661179d565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118b790830184611771565b9695505050505050565b6020815260006110166020830184611771565b600082198211156118e7576118e76119cc565b500190565b6000826118fb576118fb6119e2565b500490565b600081600019048311821515161561191a5761191a6119cc565b500290565b600082821015611931576119316119cc565b500390565b60005b83811015611951578181015183820152602001611939565b83811115610d705750506000910152565b600181811c9082168061197657607f821691505b6020821081141561199757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119b1576119b16119cc565b5060010190565b6000826119c7576119c76119e2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f1a57600080fdfea2646970667358221220c0af719e97861e1d6656e11ffc880222178ea1149cc9ae1dea157d9558ec6ed664736f6c63430008070033697066733a2f2f516d4e69784d42776a70437247345745697a6a33675a6b38694e364b56504b474b475933334b477a70595a766a702f
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80638da5cb5b116100f7578063b88d4fde11610095578063d5abeb0111610064578063d5abeb01146104db578063dad03983146104f1578063e985e9c514610511578063f2fde38b1461055a57600080fd5b8063b88d4fde1461046c578063c87b56dd1461048c578063d1239730146104ac578063d547cfb7146104c657600080fd5b8063a035b1fe116100d1578063a035b1fe1461040d578063a0712d6814610423578063a22cb46514610436578063a70273571461045657600080fd5b80638da5cb5b146103ba57806391b7f5ed146103d857806395d89b41146103f857600080fd5b80633ccfd60b1161016f5780636352211e1161013e5780636352211e1461035057806370a0823114610370578063715018a6146103905780637d55094d146103a557600080fd5b80633ccfd60b146102e557806342842e0e146102fa5780634b980d671461031a57806355f804b31461033057600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102af578063333e44e6146102cf57600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046116d5565b61057a565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105cc565b6040516101fe91906118c1565b34801561023557600080fd5b50610249610244366004611758565b61065e565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c3660046116ab565b6106a2565b005b34801561028f57600080fd5b506102a1600154600054036000190190565b6040519081526020016101fe565b3480156102bb57600080fd5b506102816102ca3660046115b7565b610742565b3480156102db57600080fd5b506102a1600e5481565b3480156102f157600080fd5b506102816108d3565b34801561030657600080fd5b506102816103153660046115b7565b6109cb565b34801561032657600080fd5b506102a1600c5481565b34801561033c57600080fd5b5061028161034b36600461170f565b6109eb565b34801561035c57600080fd5b5061024961036b366004611758565b610a0a565b34801561037c57600080fd5b506102a161038b366004611569565b610a15565b34801561039c57600080fd5b50610281610a64565b3480156103b157600080fd5b50610281610a78565b3480156103c657600080fd5b506008546001600160a01b0316610249565b3480156103e457600080fd5b506102816103f3366004611758565b610a94565b34801561040457600080fd5b5061021c610aa1565b34801561041957600080fd5b506102a1600b5481565b610281610431366004611758565b610ab0565b34801561044257600080fd5b5061028161045136600461166f565b610c96565b34801561046257600080fd5b506102a1600d5481565b34801561047857600080fd5b506102816104873660046115f3565b610d2c565b34801561049857600080fd5b5061021c6104a7366004611758565b610d76565b3480156104b857600080fd5b506010546101f29060ff1681565b3480156104d257600080fd5b5061021c610e17565b3480156104e757600080fd5b506102a1600f5481565b3480156104fd57600080fd5b5061028161050c366004611758565b610ea5565b34801561051d57600080fd5b506101f261052c366004611584565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056657600080fd5b50610281610575366004611569565b610f1d565b60006301ffc9a760e01b6001600160e01b0319831614806105ab57506380ac58cd60e01b6001600160e01b03198316145b806105c65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105db90611962565b80601f016020809104026020016040519081016040528092919081815260200182805461060790611962565b80156106545780601f1061062957610100808354040283529160200191610654565b820191906000526020600020905b81548152906001019060200180831161063757829003601f168201915b5050505050905090565b600061066982610f93565b610686576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ad82610a0a565b9050336001600160a01b038216146106e6576106c9813361052c565b6106e6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061074d82610fc8565b9050836001600160a01b0316816001600160a01b0316146107805760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107cd576107b0863361052c565b6107cd57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107f457604051633a954ecd60e21b815260040160405180910390fd5b80156107ff57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661088a57600184016000818152600460205260409020546108885760005481146108885760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108db611038565b600260095414156109335760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955604051600090339047908381818185875af1925050503d806000811461097a576040519150601f19603f3d011682016040523d82523d6000602084013e61097f565b606091505b50509050806109c35760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161092a565b506001600955565b6109e683838360405180602001604052806000815250610d2c565b505050565b6109f3611038565b8051610a0690600a90602084019061143e565b5050565b60006105c682610fc8565b60006001600160a01b038216610a3e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a6c611038565b610a766000611092565b565b610a80611038565b6010805460ff19811660ff90911615179055565b610a9c611038565b600b55565b6060600380546105db90611962565b600b54600e54600090610ac49060016118d4565b83610ad6600154600054036000190190565b610ae091906118d4565b108015610b095750600d5433600090815260116020526040902054610b069085906118d4565b11155b90508015610b3a57336000908152601160205260408120805491935084918490610b349084906118d4565b90915550505b610b448284611900565b341015610b935760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520726967687420616d6f756e742e000000604482015260640161092a565b600f5483610ba8600154600054036000190190565b610bb291906118d4565b1115610be85760405162461bcd60e51b815260206004820152600560248201526423b7b7329760d91b604482015260640161092a565b60105460ff16610c3a5760405162461bcd60e51b815260206004820152601b60248201527f4d696e74696e67206861736e27742073746172746564207965742e0000000000604482015260640161092a565b600c54831115610c8c5760405162461bcd60e51b815260206004820152601c60248201527f4d617820706572207472616e73616374696f6e20726561636865642e00000000604482015260640161092a565b6109e633846110e4565b6001600160a01b038216331415610cc05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d37848484610742565b6001600160a01b0383163b15610d7057610d53848484846110fe565b610d70576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d8182610f93565b610de55760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161092a565b600a610df0836111f6565b604051602001610e019291906117b9565b6040516020818303038152906040529050919050565b600a8054610e2490611962565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5090611962565b8015610e9d5780601f10610e7257610100808354040283529160200191610e9d565b820191906000526020600020905b815481529060010190602001808311610e8057829003601f168201915b505050505081565b610ead611038565b600f54610ebb9060016118d4565b81610ecd600154600054036000190190565b610ed791906118d4565b10610f105760405162461bcd60e51b8152602060048201526009602482015268746f6f206d616e792160b81b604482015260640161092a565b610f1a33826110e4565b50565b610f25611038565b6001600160a01b038116610f8a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161092a565b610f1a81611092565b600081600111158015610fa7575060005482105b80156105c6575050600090815260046020526040902054600160e01b161590565b6000818060011161101f5760005481101561101f57600081815260046020526040902054600160e01b811661101d575b80611016575060001901600081815260046020526040902054610ff8565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161092a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a068282604051806020016040528060008152506112f4565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611133903390899088908890600401611884565b602060405180830381600087803b15801561114d57600080fd5b505af192505050801561117d575060408051601f3d908101601f1916820190925261117a918101906116f2565b60015b6111d8573d8080156111ab576040519150601f19603f3d011682016040523d82523d6000602084013e6111b0565b606091505b5080516111d0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161121a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611244578061122e8161199d565b915061123d9050600a836118ec565b915061121e565b60008167ffffffffffffffff81111561125f5761125f611a0e565b6040519080825280601f01601f191660200182016040528015611289576020820181803683370190505b5090505b84156111ee5761129e60018361191f565b91506112ab600a866119b8565b6112b69060306118d4565b60f81b8183815181106112cb576112cb6119f8565b60200101906001600160f81b031916908160001a9053506112ed600a866118ec565b945061128d565b6112fe8383611361565b6001600160a01b0383163b156109e6576000548281035b61132860008683806001019450866110fe565b611345576040516368d2bf6b60e11b815260040160405180910390fd5b81811061131557816000541461135a57600080fd5b5050505050565b6000546001600160a01b03831661138a57604051622e076360e81b815260040160405180910390fd5b816113a85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106113f25760005550505050565b82805461144a90611962565b90600052602060002090601f01602090048101928261146c57600085556114b2565b82601f1061148557805160ff19168380011785556114b2565b828001600101855582156114b2579182015b828111156114b2578251825591602001919060010190611497565b506114be9291506114c2565b5090565b5b808211156114be57600081556001016114c3565b600067ffffffffffffffff808411156114f2576114f2611a0e565b604051601f8501601f19908116603f0116810190828211818310171561151a5761151a611a0e565b8160405280935085815286868601111561153357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461156457600080fd5b919050565b60006020828403121561157b57600080fd5b6110168261154d565b6000806040838503121561159757600080fd5b6115a08361154d565b91506115ae6020840161154d565b90509250929050565b6000806000606084860312156115cc57600080fd5b6115d58461154d565b92506115e36020850161154d565b9150604084013590509250925092565b6000806000806080858703121561160957600080fd5b6116128561154d565b93506116206020860161154d565b925060408501359150606085013567ffffffffffffffff81111561164357600080fd5b8501601f8101871361165457600080fd5b611663878235602084016114d7565b91505092959194509250565b6000806040838503121561168257600080fd5b61168b8361154d565b9150602083013580151581146116a057600080fd5b809150509250929050565b600080604083850312156116be57600080fd5b6116c78361154d565b946020939093013593505050565b6000602082840312156116e757600080fd5b813561101681611a24565b60006020828403121561170457600080fd5b815161101681611a24565b60006020828403121561172157600080fd5b813567ffffffffffffffff81111561173857600080fd5b8201601f8101841361174957600080fd5b6111ee848235602084016114d7565b60006020828403121561176a57600080fd5b5035919050565b60008151808452611789816020860160208601611936565b601f01601f19169290920160200192915050565b600081516117af818560208601611936565b9290920192915050565b600080845481600182811c9150808316806117d557607f831692505b60208084108214156117f557634e487b7160e01b86526022600452602486fd5b818015611809576001811461181a57611847565b60ff19861689528489019650611847565b60008b81526020902060005b8681101561183f5781548b820152908501908301611826565b505084890196505b50505050505061187b61186a61186483602f60f81b815260010190565b8661179d565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118b790830184611771565b9695505050505050565b6020815260006110166020830184611771565b600082198211156118e7576118e76119cc565b500190565b6000826118fb576118fb6119e2565b500490565b600081600019048311821515161561191a5761191a6119cc565b500290565b600082821015611931576119316119cc565b500390565b60005b83811015611951578181015183820152602001611939565b83811115610d705750506000910152565b600181811c9082168061197657607f821691505b6020821081141561199757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156119b1576119b16119cc565b5060010190565b6000826119c7576119c76119e2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f1a57600080fdfea2646970667358221220c0af719e97861e1d6656e11ffc880222178ea1149cc9ae1dea157d9558ec6ed664736f6c63430008070033
Deployed Bytecode Sourcemap
62887:2550:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32728:615;;;;;;;;;;-1:-1:-1;32728:615:0;;;;;:::i;:::-;;:::i;:::-;;;7246:14:1;;7239:22;7221:41;;7209:2;7194:18;32728:615:0;;;;;;;;38375:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40321:204::-;;;;;;;;;;-1:-1:-1;40321:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6544:32:1;;;6526:51;;6514:2;6499:18;40321:204:0;6380:203:1;39869:386:0;;;;;;;;;;-1:-1:-1;39869:386:0;;;;;:::i;:::-;;:::i;:::-;;31782:315;;;;;;;;;;;;64410:1;32048:12;31835:7;32032:13;:28;-1:-1:-1;;32032:46:0;;31782:315;;;;11273:25:1;;;11261:2;11246:18;31782:315:0;11127:177:1;49586:2800:0;;;;;;;;;;-1:-1:-1;49586:2800:0;;;;;:::i;:::-;;:::i;63244:33::-;;;;;;;;;;;;;;;;64601:186;;;;;;;;;;;;;:::i;41211:185::-;;;;;;;;;;-1:-1:-1;41211:185:0;;;;;:::i;:::-;;:::i;63155:38::-;;;;;;;;;;;;;;;;64202:108;;;;;;;;;;-1:-1:-1;64202:108:0;;;;;:::i;:::-;;:::i;38164:144::-;;;;;;;;;;-1:-1:-1;38164:144:0;;;;;:::i;:::-;;:::i;33407:224::-;;;;;;;;;;-1:-1:-1;33407:224:0;;;;;:::i;:::-;;:::i;17319:103::-;;;;;;;;;;;;;:::i;65251:87::-;;;;;;;;;;;;;:::i;16671:::-;;;;;;;;;;-1:-1:-1;16744:6:0;;-1:-1:-1;;;;;16744:6:0;16671:87;;65346:86;;;;;;;;;;-1:-1:-1;65346:86:0;;;;;:::i;:::-;;:::i;38544:104::-;;;;;;;;;;;;;:::i;63112:36::-;;;;;;;;;;;;;;;;63533:663;;;;;;:::i;:::-;;:::i;40597:308::-;;;;;;;;;;-1:-1:-1;40597:308:0;;;;;:::i;:::-;;:::i;63200:37::-;;;;;;;;;;;;;;;;41467:399;;;;;;;;;;-1:-1:-1;41467:399:0;;;;;:::i;:::-;;:::i;64793:312::-;;;;;;;;;;-1:-1:-1;64793:312:0;;;;;:::i;:::-;;:::i;63324:33::-;;;;;;;;;;-1:-1:-1;63324:33:0;;;;;;;;63018:85;;;;;;;;;;;;;:::i;63284:33::-;;;;;;;;;;;;;;;;64427:166;;;;;;;;;;-1:-1:-1;64427:166:0;;;;;:::i;:::-;;:::i;40976:164::-;;;;;;;;;;-1:-1:-1;40976:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;41097:25:0;;;41073:4;41097:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40976:164;17577:201;;;;;;;;;;-1:-1:-1;17577:201:0;;;;;:::i;:::-;;:::i;32728:615::-;32813:4;-1:-1:-1;;;;;;;;;33113:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;33190:25:0;;;33113:102;:179;;;-1:-1:-1;;;;;;;;;;33267:25:0;;;33113:179;33093:199;32728:615;-1:-1:-1;;32728:615:0:o;38375:100::-;38429:13;38462:5;38455:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38375:100;:::o;40321:204::-;40389:7;40414:16;40422:7;40414;:16::i;:::-;40409:64;;40439:34;;-1:-1:-1;;;40439:34:0;;;;;;;;;;;40409:64;-1:-1:-1;40493:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;40493:24:0;;40321:204::o;39869:386::-;39942:13;39958:16;39966:7;39958;:16::i;:::-;39942:32;-1:-1:-1;60769:10:0;-1:-1:-1;;;;;39991:28:0;;;39987:175;;40039:44;40056:5;60769:10;40976:164;:::i;40039:44::-;40034:128;;40111:35;;-1:-1:-1;;;40111:35:0;;;;;;;;;;;40034:128;40174:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;40174:29:0;-1:-1:-1;;;;;40174:29:0;;;;;;;;;40219:28;;40174:24;;40219:28;;;;;;;39931:324;39869:386;;:::o;49586:2800::-;49720:27;49750;49769:7;49750:18;:27::i;:::-;49720:57;;49835:4;-1:-1:-1;;;;;49794:45:0;49810:19;-1:-1:-1;;;;;49794:45:0;;49790:86;;49848:28;;-1:-1:-1;;;49848:28:0;;;;;;;;;;;49790:86;49890:27;48316:21;;;48143:15;48358:4;48351:36;48440:4;48424:21;;48530:26;;60769:10;49283:30;;;-1:-1:-1;;;;;48981:26:0;;49262:19;;;49259:55;50069:174;;50156:43;50173:4;60769:10;40976:164;:::i;50156:43::-;50151:92;;50208:35;;-1:-1:-1;;;50208:35:0;;;;;;;;;;;50151:92;-1:-1:-1;;;;;50260:16:0;;50256:52;;50285:23;;-1:-1:-1;;;50285:23:0;;;;;;;;;;;50256:52;50457:15;50454:160;;;50597:1;50576:19;50569:30;50454:160;-1:-1:-1;;;;;50992:24:0;;;;;;;:18;:24;;;;;;50990:26;;-1:-1:-1;;50990:26:0;;;51061:22;;;;;;;;;51059:24;;-1:-1:-1;51059:24:0;;;38063:11;38039:22;38035:40;38022:62;-1:-1:-1;;;38022:62:0;51354:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;51648:46:0;;51644:626;;51752:1;51742:11;;51720:19;51875:30;;;:17;:30;;;;;;51871:384;;52013:13;;51998:11;:28;51994:242;;52160:30;;;;:17;:30;;;;;:52;;;51994:242;51701:569;51644:626;52317:7;52313:2;-1:-1:-1;;;;;52298:27:0;52307:4;-1:-1:-1;;;;;52298:27:0;;;;;;;;;;;49709:2677;;;49586:2800;;;:::o;64601:186::-;16557:13;:11;:13::i;:::-;13596:1:::1;14194:7;;:19;;14186:63;;;::::0;-1:-1:-1;;;14186:63:0;;10969:2:1;14186:63:0::1;::::0;::::1;10951:21:1::0;11008:2;10988:18;;;10981:30;11047:33;11027:18;;;11020:61;11098:18;;14186:63:0::1;;;;;;;;;13596:1;14327:7;:18:::0;64683:49:::2;::::0;64665:12:::2;::::0;64683:10:::2;::::0;64706:21:::2;::::0;64665:12;64683:49;64665:12;64683:49;64706:21;64683:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64664:68;;;64751:7;64743:36;;;::::0;-1:-1:-1;;;64743:36:0;;10624:2:1;64743:36:0::2;::::0;::::2;10606:21:1::0;10663:2;10643:18;;;10636:30;-1:-1:-1;;;10682:18:1;;;10675:46;10738:18;;64743:36:0::2;10422:340:1::0;64743:36:0::2;-1:-1:-1::0;13552:1:0::1;14506:7;:22:::0;64601:186::o;41211:185::-;41349:39;41366:4;41372:2;41376:7;41349:39;;;;;;;;;;;;:16;:39::i;:::-;41211:185;;;:::o;64202:108::-;16557:13;:11;:13::i;:::-;64282:22;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;64202:108:::0;:::o;38164:144::-;38228:7;38271:27;38290:7;38271:18;:27::i;33407:224::-;33471:7;-1:-1:-1;;;;;33495:19:0;;33491:60;;33523:28;;-1:-1:-1;;;33523:28:0;;;;;;;;;;;33491:60;-1:-1:-1;;;;;;33569:25:0;;;;;:18;:25;;;;;;27962:13;33569:54;;33407:224::o;17319:103::-;16557:13;:11;:13::i;:::-;17384:30:::1;17411:1;17384:18;:30::i;:::-;17319:103::o:0;65251:87::-;16557:13;:11;:13::i;:::-;65319:11:::1;::::0;;-1:-1:-1;;65304:26:0;::::1;65319:11;::::0;;::::1;65318:12;65304:26;::::0;;65251:87::o;65346:86::-;16557:13;:11;:13::i;:::-;65410:5:::1;:14:::0;65346:86::o;38544:104::-;38600:13;38633:7;38626:14;;;;;:::i;63533:663::-;63605:5;;63661:9;;63590:12;;63661:13;;63673:1;63661:13;:::i;:::-;63653:5;63637:13;64410:1;32048:12;31835:7;32032:13;:28;-1:-1:-1;;32032:46:0;;31782:315;63637:13;:21;;;;:::i;:::-;:37;63636:115;;;;-1:-1:-1;63734:16:0;;63711:10;63693:29;;;;:17;:29;;;;;;:37;;63725:5;;63693:37;:::i;:::-;:57;;63636:115;63621:131;;63769:6;63765:100;;;63833:10;63799:1;63815:29;;;:17;:29;;;;;:38;;63799:1;;-1:-1:-1;63848:5:0;;63799:1;;63815:38;;63848:5;;63815:38;:::i;:::-;;;;-1:-1:-1;;63765:100:0;63898:12;63906:4;63898:5;:12;:::i;:::-;63885:9;:25;;63877:67;;;;-1:-1:-1;;;63877:67:0;;8106:2:1;63877:67:0;;;8088:21:1;8145:2;8125:18;;;8118:30;8184:31;8164:18;;;8157:59;8233:18;;63877:67:0;7904:353:1;63877:67:0;63988:9;;63979:5;63963:13;64410:1;32048:12;31835:7;32032:13;:28;-1:-1:-1;;32032:46:0;;31782:315;63963:13;:21;;;;:::i;:::-;:34;;63955:52;;;;-1:-1:-1;;;63955:52:0;;9157:2:1;63955:52:0;;;9139:21:1;9196:1;9176:18;;;9169:29;-1:-1:-1;;;9214:18:1;;;9207:35;9259:18;;63955:52:0;8955:328:1;63955:52:0;64026:11;;;;64018:51;;;;-1:-1:-1;;;64018:51:0;;8801:2:1;64018:51:0;;;8783:21:1;8840:2;8820:18;;;8813:30;8879:29;8859:18;;;8852:57;8926:18;;64018:51:0;8599:351:1;64018:51:0;64097:17;;64088:5;:26;;64080:67;;;;-1:-1:-1;;;64080:67:0;;10267:2:1;64080:67:0;;;10249:21:1;10306:2;10286:18;;;10279:30;10345;10325:18;;;10318:58;10393:18;;64080:67:0;10065:352:1;64080:67:0;64160:28;64170:10;64182:5;64160:9;:28::i;40597:308::-;-1:-1:-1;;;;;40696:31:0;;60769:10;40696:31;40692:61;;;40736:17;;-1:-1:-1;;;40736:17:0;;;;;;;;;;;40692:61;60769:10;40766:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;40766:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;40766:60:0;;;;;;;;;;40842:55;;7221:41:1;;;40766:49:0;;60769:10;40842:55;;7194:18:1;40842:55:0;;;;;;;40597:308;;:::o;41467:399::-;41634:31;41647:4;41653:2;41657:7;41634:12;:31::i;:::-;-1:-1:-1;;;;;41680:14:0;;;:19;41676:183;;41719:56;41750:4;41756:2;41760:7;41769:5;41719:30;:56::i;:::-;41714:145;;41803:40;;-1:-1:-1;;;41803:40:0;;;;;;;;;;;41714:145;41467:399;;;;:::o;64793:312::-;64889:13;64930:17;64938:8;64930:7;:17::i;:::-;64914:98;;;;-1:-1:-1;;;64914:98:0;;9851:2:1;64914:98:0;;;9833:21:1;9890:2;9870:18;;;9863:30;9929:34;9909:18;;;9902:62;-1:-1:-1;;;9980:18:1;;;9973:45;10035:19;;64914:98:0;9649:411:1;64914:98:0;65050:12;65069:19;:8;:17;:19::i;:::-;65033:65;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65019:80;;64793:312;;;:::o;63018:85::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;64427:166::-;16557:13;:11;:13::i;:::-;64524:9:::1;::::0;:13:::1;::::0;64536:1:::1;64524:13;:::i;:::-;64518:3;64502:13;64410:1:::0;32048:12;31835:7;32032:13;:28;-1:-1:-1;;32032:46:0;;31782:315;64502:13:::1;:19;;;;:::i;:::-;:35;64494:56;;;::::0;-1:-1:-1;;;64494:56:0;;8464:2:1;64494:56:0::1;::::0;::::1;8446:21:1::0;8503:1;8483:18;;;8476:29;-1:-1:-1;;;8521:18:1;;;8514:39;8570:18;;64494:56:0::1;8262:332:1::0;64494:56:0::1;64559:26;64569:10;64581:3;64559:9;:26::i;:::-;64427:166:::0;:::o;17577:201::-;16557:13;:11;:13::i;:::-;-1:-1:-1;;;;;17666:22:0;::::1;17658:73;;;::::0;-1:-1:-1;;;17658:73:0;;7699:2:1;17658:73:0::1;::::0;::::1;7681:21:1::0;7738:2;7718:18;;;7711:30;7777:34;7757:18;;;7750:62;-1:-1:-1;;;7828:18:1;;;7821:36;7874:19;;17658:73:0::1;7497:402:1::0;17658:73:0::1;17742:28;17761:8;17742:18;:28::i;42121:273::-:0;42178:4;42234:7;64410:1;42215:26;;:66;;;;;42268:13;;42258:7;:23;42215:66;:152;;;;-1:-1:-1;;42319:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;42319:43:0;:48;;42121:273::o;35081:1129::-;35148:7;35183;;64410:1;35232:23;35228:915;;35285:13;;35278:4;:20;35274:869;;;35323:14;35340:23;;;:17;:23;;;;;;-1:-1:-1;;;35429:23:0;;35425:699;;35948:113;35955:11;35948:113;;-1:-1:-1;;;36026:6:0;36008:25;;;;:17;:25;;;;;;35948:113;;;36094:6;35081:1129;-1:-1:-1;;;35081:1129:0:o;35425:699::-;35300:843;35274:869;36171:31;;-1:-1:-1;;;36171:31:0;;;;;;;;;;;16836:132;16744:6;;-1:-1:-1;;;;;16744:6:0;60769:10;16900:23;16892:68;;;;-1:-1:-1;;;16892:68:0;;9490:2:1;16892:68:0;;;9472:21:1;;;9509:18;;;9502:30;9568:34;9548:18;;;9541:62;9620:18;;16892:68:0;9288:356:1;17938:191:0;18031:6;;;-1:-1:-1;;;;;18048:17:0;;;-1:-1:-1;;;;;;18048:17:0;;;;;;;18081:40;;18031:6;;;18048:17;18031:6;;18081:40;;18012:16;;18081:40;18001:128;17938:191;:::o;42478:104::-;42547:27;42557:2;42561:8;42547:27;;;;;;;;;;;;:9;:27::i;56337:716::-;56521:88;;-1:-1:-1;;;56521:88:0;;56500:4;;-1:-1:-1;;;;;56521:45:0;;;;;:88;;60769:10;;56588:4;;56594:7;;56603:5;;56521:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56521:88:0;;;;;;;;-1:-1:-1;;56521:88:0;;;;;;;;;;;;:::i;:::-;;;56517:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56804:13:0;;56800:235;;56850:40;;-1:-1:-1;;;56850:40:0;;;;;;;;;;;56800:235;56993:6;56987:13;56978:6;56974:2;56970:15;56963:38;56517:529;-1:-1:-1;;;;;;56680:64:0;-1:-1:-1;;;56680:64:0;;-1:-1:-1;56517:529:0;56337:716;;;;;;:::o;1164:723::-;1220:13;1441:10;1437:53;;-1:-1:-1;;1468:10:0;;;;;;;;;;;;-1:-1:-1;;;1468:10:0;;;;;1164:723::o;1437:53::-;1515:5;1500:12;1556:78;1563:9;;1556:78;;1589:8;;;;:::i;:::-;;-1:-1:-1;1612:10:0;;-1:-1:-1;1620:2:0;1612:10;;:::i;:::-;;;1556:78;;;1644:19;1676:6;1666:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1666:17:0;;1644:39;;1694:154;1701:10;;1694:154;;1728:11;1738:1;1728:11;;:::i;:::-;;-1:-1:-1;1797:10:0;1805:2;1797:5;:10;:::i;:::-;1784:24;;:2;:24;:::i;:::-;1771:39;;1754:6;1761;1754:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1754:56:0;;;;;;;;-1:-1:-1;1825:11:0;1834:2;1825:11;;:::i;:::-;;;1694:154;;42998:681;43121:19;43127:2;43131:8;43121:5;:19::i;:::-;-1:-1:-1;;;;;43182:14:0;;;:19;43178:483;;43222:11;43236:13;43284:14;;;43317:233;43348:62;43387:1;43391:2;43395:7;;;;;;43404:5;43348:30;:62::i;:::-;43343:167;;43446:40;;-1:-1:-1;;;43446:40:0;;;;;;;;;;;43343:167;43545:3;43537:5;:11;43317:233;;43632:3;43615:13;;:20;43611:34;;43637:8;;;43611:34;43203:458;;42998:681;;;:::o;43952:1529::-;44017:20;44040:13;-1:-1:-1;;;;;44068:16:0;;44064:48;;44093:19;;-1:-1:-1;;;44093:19:0;;;;;;;;;;;44064:48;44127:13;44123:44;;44149:18;;-1:-1:-1;;;44149:18:0;;;;;;;;;;;44123:44;-1:-1:-1;;;;;44655:22:0;;;;;;:18;:22;;28099:2;44655:22;;:70;;44693:31;44681:44;;44655:70;;;38063:11;38039:22;38035:40;-1:-1:-1;39773:15:0;;39748:23;39744:45;38032:51;38022:62;44968:31;;;;:17;:31;;;;;:173;44986:12;45217:23;;;45255:101;45282:35;;45307:9;;;;;-1:-1:-1;;;;;45282:35:0;;;45299:1;;45282:35;;45299:1;;45282:35;45351:3;45341:7;:13;45255:101;;45372:13;:19;-1:-1:-1;41211:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:185::-;4347:3;4385:5;4379:12;4400:52;4445:6;4440:3;4433:4;4426:5;4422:16;4400:52;:::i;:::-;4468:16;;;;;4305:185;-1:-1:-1;;4305:185:1:o;4732:1433::-;5110:3;5139:1;5172:6;5166:13;5202:3;5224:1;5252:9;5248:2;5244:18;5234:28;;5312:2;5301:9;5297:18;5334;5324:61;;5378:4;5370:6;5366:17;5356:27;;5324:61;5404:2;5452;5444:6;5441:14;5421:18;5418:38;5415:165;;;-1:-1:-1;;;5479:33:1;;5535:4;5532:1;5525:15;5565:4;5486:3;5553:17;5415:165;5596:18;5623:104;;;;5741:1;5736:320;;;;5589:467;;5623:104;-1:-1:-1;;5656:24:1;;5644:37;;5701:16;;;;-1:-1:-1;5623:104:1;;5736:320;11382:1;11375:14;;;11419:4;11406:18;;5831:1;5845:165;5859:6;5856:1;5853:13;5845:165;;;5937:14;;5924:11;;;5917:35;5980:16;;;;5874:10;;5845:165;;;5849:3;;6039:6;6034:3;6030:16;6023:23;;5589:467;;;;;;;6072:87;6097:61;6123:34;6153:3;-1:-1:-1;;;4678:16:1;;4719:1;4710:11;;4613:114;6123:34;6115:6;6097:61;:::i;:::-;-1:-1:-1;;;4555:20:1;;4600:1;4591:11;;4495:113;6072:87;6065:94;4732:1433;-1:-1:-1;;;;;4732:1433:1:o;6588:488::-;-1:-1:-1;;;;;6857:15:1;;;6839:34;;6909:15;;6904:2;6889:18;;6882:43;6956:2;6941:18;;6934:34;;;7004:3;6999:2;6984:18;;6977:31;;;6782:4;;7025:45;;7050:19;;7042:6;7025:45;:::i;:::-;7017:53;6588:488;-1:-1:-1;;;;;;6588:488:1:o;7273:219::-;7422:2;7411:9;7404:21;7385:4;7442:44;7482:2;7471:9;7467:18;7459:6;7442:44;:::i;11435:128::-;11475:3;11506:1;11502:6;11499:1;11496:13;11493:39;;;11512:18;;:::i;:::-;-1:-1:-1;11548:9:1;;11435:128::o;11568:120::-;11608:1;11634;11624:35;;11639:18;;:::i;:::-;-1:-1:-1;11673:9:1;;11568:120::o;11693:168::-;11733:7;11799:1;11795;11791:6;11787:14;11784:1;11781:21;11776:1;11769:9;11762:17;11758:45;11755:71;;;11806:18;;:::i;:::-;-1:-1:-1;11846:9:1;;11693:168::o;11866:125::-;11906:4;11934:1;11931;11928:8;11925:34;;;11939:18;;:::i;:::-;-1:-1:-1;11976:9:1;;11866:125::o;11996:258::-;12068:1;12078:113;12092:6;12089:1;12086:13;12078:113;;;12168:11;;;12162:18;12149:11;;;12142:39;12114:2;12107:10;12078:113;;;12209:6;12206:1;12203:13;12200:48;;;-1:-1:-1;;12244:1:1;12226:16;;12219:27;11996:258::o;12259:380::-;12338:1;12334:12;;;;12381;;;12402:61;;12456:4;12448:6;12444:17;12434:27;;12402:61;12509:2;12501:6;12498:14;12478:18;12475:38;12472:161;;;12555:10;12550:3;12546:20;12543:1;12536:31;12590:4;12587:1;12580:15;12618:4;12615:1;12608:15;12472:161;;12259:380;;;:::o;12644:135::-;12683:3;-1:-1:-1;;12704:17:1;;12701:43;;;12724:18;;:::i;:::-;-1:-1:-1;12771:1:1;12760:13;;12644:135::o;12784:112::-;12816:1;12842;12832:35;;12847:18;;:::i;:::-;-1:-1:-1;12881:9:1;;12784:112::o;12901:127::-;12962:10;12957:3;12953:20;12950:1;12943:31;12993:4;12990:1;12983:15;13017:4;13014:1;13007:15;13033:127;13094:10;13089:3;13085:20;13082:1;13075:31;13125:4;13122:1;13115:15;13149:4;13146:1;13139:15;13165:127;13226:10;13221:3;13217:20;13214:1;13207:31;13257:4;13254:1;13247:15;13281:4;13278:1;13271:15;13297:127;13358:10;13353:3;13349:20;13346:1;13339:31;13389:4;13386:1;13379:15;13413:4;13410:1;13403:15;13429:131;-1:-1:-1;;;;;;13503:32:1;;13493:43;;13483:71;;13550:1;13547;13540:12
Swarm Source
ipfs://c0af719e97861e1d6656e11ffc880222178ea1149cc9ae1dea157d9558ec6ed6
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.