Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,111 CLUSTERFUCKS
Holders
381
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
14 CLUSTERFUCKSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CLUSTERFUCKS
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import 'erc721a/contracts/ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; error PauseError(); error QuantityError(); error SupplyError(); error ValueError(); error BalanceError(); error NonExistantToken(); contract CLUSTERFUCKS is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; struct Config { uint256 price; uint256 maxSupply; uint256 maxPerTx; uint256 maxPerWallet; uint256 freePerWallet; uint256 teamReserve; string baseURI; string unrevealedURI; bool paused; bool revealed; } Config public config; modifier checkPause() { if (config.paused) { revert PauseError(); } _; } modifier checkQuantity(uint256 quantity) { if (quantity == 0) { revert QuantityError(); } if (quantity > config.maxPerTx) { revert QuantityError(); } _; } modifier checkSupply(uint256 quantity) { if ((totalSupply() + quantity) > config.maxSupply) { revert SupplyError(); } _; } modifier checkBalance(uint256 quantity) { if ((balanceOf(msg.sender) + quantity) > config.maxPerWallet) { revert BalanceError(); } _; } modifier checkValue(uint256 quantity) { uint256 price = config.price * quantity; if ( (config.freePerWallet > 0) && (balanceOf(msg.sender) < config.freePerWallet) ) { price = price - (config.price * config.freePerWallet); } if (msg.value < price) { revert ValueError(); } _; } modifier tokenExists(uint256 tokenId) { if (!_exists(tokenId)) { revert NonExistantToken(); } _; } constructor( string memory _name, string memory _symbol, Config memory _config ) ERC721A(_name, _symbol) { config = _config; mintTeamReserve(); } function mint(uint256 quantity) external payable checkPause checkSupply(quantity) checkQuantity(quantity) checkBalance(quantity) checkValue(quantity) nonReentrant { _safeMint(msg.sender, quantity); } function tokenURI(uint256 tokenId) public view virtual override tokenExists(tokenId) returns (string memory) { if (!config.revealed) { return config.unrevealedURI; } return string(abi.encodePacked(config.baseURI, tokenId.toString(), '.json')); } function mintTeamReserve() internal onlyOwner { if (config.teamReserve > 0) { _safeMint(owner(), config.teamReserve); } } function setConfig(Config memory _config) public onlyOwner nonReentrant { config = _config; } function reveal(string memory _baseURI) public onlyOwner nonReentrant { config.baseURI = _baseURI; config.revealed = true; } function flipPause() public onlyOwner nonReentrant { config.paused = !config.paused; } function withdraw() public payable onlyOwner nonReentrant { (bool success, ) = payable(owner()).call{value: address(this).balance}(''); require(success); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 800 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"freePerWallet","type":"uint256"},{"internalType":"uint256","name":"teamReserve","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"unrevealedURI","type":"string"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"revealed","type":"bool"}],"internalType":"struct CLUSTERFUCKS.Config","name":"_config","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceError","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NonExistantToken","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"PauseError","type":"error"},{"inputs":[],"name":"QuantityError","type":"error"},{"inputs":[],"name":"SupplyError","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ValueError","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"config","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"freePerWallet","type":"uint256"},{"internalType":"uint256","name":"teamReserve","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"unrevealedURI","type":"string"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"revealed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"reveal","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":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"},{"internalType":"uint256","name":"maxPerWallet","type":"uint256"},{"internalType":"uint256","name":"freePerWallet","type":"uint256"},{"internalType":"uint256","name":"teamReserve","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"unrevealedURI","type":"string"},{"internalType":"bool","name":"paused","type":"bool"},{"internalType":"bool","name":"revealed","type":"bool"}],"internalType":"struct CLUSTERFUCKS.Config","name":"_config","type":"tuple"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200282238038062002822833981016040819052620000349162000614565b8251839083906200004d90600290602085019062000498565b5080516200006390600390602084019062000498565b505060016000555062000076336200012b565b60016009558051600a908155602080830151600b556040830151600c556060830151600d556080830151600e5560a0830151600f5560c08301518051849392620000c69260109291019062000498565b5060e08201518051620000e491600784019160209091019062000498565b50610100828101516008909201805461012090940151151590910261ff00199215159290921661ffff1990931692909217179055620001226200017d565b50505062000866565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001dc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600f5415620002055762000205620001fc6008546001600160a01b031690565b600f5462000207565b565b620002298282604051806020016040528060008152506200022d60201b60201c565b5050565b6000546001600160a01b0384166200025757604051622e076360e81b815260040160405180910390fd5b82620002765760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1562000342575b60405182906001600160a01b0388169060009060008051602062002802833981519152908290a46001820191620003079060009088908762000397565b62000325576040516368d2bf6b60e11b815260040160405180910390fd5b808210620002ca5782600054146200033c57600080fd5b62000377565b5b6040516001830192906001600160a01b0388169060009060008051602062002802833981519152908290a480821062000343575b50600090815562000391908583866001600160e01b038516565b50505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003ce90339089908890889060040162000762565b602060405180830381600087803b158015620003e957600080fd5b505af19250505080156200041c575060408051601f3d908101601f191682019092526200041991810190620005e3565b60015b6200047b573d8080156200044d576040519150601f19603f3d011682016040523d82523d6000602084013e62000452565b606091505b50805162000473576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620004a69062000813565b90600052602060002090601f016020900481019282620004ca576000855562000515565b82601f10620004e557805160ff191683800117855562000515565b8280016001018555821562000515579182015b8281111562000515578251825591602001919060010190620004f8565b506200052392915062000527565b5090565b5b8082111562000523576000815560010162000528565b805180151581146200054f57600080fd5b919050565b600082601f83011262000565578081fd5b81516001600160401b038082111562000582576200058262000850565b604051601f8301601f19908116603f01168101908282118183101715620005ad57620005ad62000850565b81604052838152866020858801011115620005c6578485fd5b620005d9846020830160208901620007e4565b9695505050505050565b600060208284031215620005f5578081fd5b81516001600160e01b0319811681146200060d578182fd5b9392505050565b60008060006060848603121562000629578182fd5b83516001600160401b038082111562000640578384fd5b6200064e8783880162000554565b9450602086015191508082111562000664578384fd5b620006728783880162000554565b9350604086015191508082111562000688578283fd5b9085019061014082880312156200069d578283fd5b620006a7620007b8565b825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a082015260c083015182811115620006ef578485fd5b620006fd8982860162000554565b60c08301525060e08301518281111562000715578485fd5b620007238982860162000554565b60e08301525061010091506200073b8284016200053e565b828201526101209150620007518284016200053e565b828201528093505050509250925092565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620007a18160a0850160208701620007e4565b601f01601f19169190910160a00195945050505050565b60405161014081016001600160401b0381118282101715620007de57620007de62000850565b60405290565b60005b8381101562000801578181015183820152602001620007e7565b83811115620003915750506000910152565b600181811c908216806200082857607f821691505b602082108114156200084a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611f8c80620008766000396000f3fe6080604052600436106101805760003560e01c806370a08231116100d6578063a0712d681161007f578063c87b56dd11610059578063c87b56dd14610400578063e985e9c514610420578063f2fde38b1461046957600080fd5b8063a0712d68146103ad578063a22cb465146103c0578063b88d4fde146103e057600080fd5b80637fa61d8d116100b05780637fa61d8d1461035a5780638da5cb5b1461037a57806395d89b411461039857600080fd5b806370a08231146102fa578063715018a61461031a57806379502c551461032f57600080fd5b806323b872dd1161013857806342842e0e1161011257806342842e0e1461029a5780634c261247146102ba5780636352211e146102da57600080fd5b806323b872dd1461025d578063385df6491461027d5780633ccfd60b1461029257600080fd5b8063081812fc11610169578063081812fc146101dc578063095ea7b31461021457806318160ddd1461023657600080fd5b806301ffc9a71461018557806306fdde03146101ba575b600080fd5b34801561019157600080fd5b506101a56101a0366004611a96565b610489565b60405190151581526020015b60405180910390f35b3480156101c657600080fd5b506101cf6104db565b6040516101b19190611d62565b3480156101e857600080fd5b506101fc6101f7366004611bf4565b61056d565b6040516001600160a01b0390911681526020016101b1565b34801561022057600080fd5b5061023461022f366004611a6d565b6105b1565b005b34801561024257600080fd5b5060015460005403600019015b6040519081526020016101b1565b34801561026957600080fd5b50610234610278366004611990565b610691565b34801561028957600080fd5b506102346106a1565b61023461076c565b3480156102a657600080fd5b506102346102b5366004611990565b610897565b3480156102c657600080fd5b506102346102d5366004611ace565b6108b2565b3480156102e657600080fd5b506101fc6102f5366004611bf4565b61098f565b34801561030657600080fd5b5061024f610315366004611944565b61099a565b34801561032657600080fd5b506102346109e9565b34801561033b57600080fd5b50610344610a4f565b6040516101b19a99989796959493929190611d75565b34801561036657600080fd5b50610234610375366004611b01565b610b9e565b34801561038657600080fd5b506008546001600160a01b03166101fc565b3480156103a457600080fd5b506101cf610cf1565b6102346103bb366004611bf4565b610d00565b3480156103cc57600080fd5b506102346103db366004611a44565b610ebd565b3480156103ec57600080fd5b506102346103fb3660046119cb565b610f53565b34801561040c57600080fd5b506101cf61041b366004611bf4565b610f9d565b34801561042c57600080fd5b506101a561043b36600461195e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561047557600080fd5b50610234610484366004611944565b61109b565b60006301ffc9a760e01b6001600160e01b0319831614806104ba57506380ac58cd60e01b6001600160e01b03198316145b806104d55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ea90611e9a565b80601f016020809104026020016040519081016040528092919081815260200182805461051690611e9a565b80156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b5050505050905090565b60006105788261117d565b610595576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105bc826111b2565b9050806001600160a01b0316836001600160a01b031614156105f15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146106285761060b813361043b565b610628576040516367d9dca160e11b815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61069c838383611222565b505050565b6008546001600160a01b031633146107005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600260095414156107535760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b6012805460ff19811660ff909116151790556001600955565b6008546001600160a01b031633146107c65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b600260095414156108195760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b600260095560006108326008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461087c576040519150601f19603f3d011682016040523d82523d6000602084013e610881565b606091505b505090508061088f57600080fd5b506001600955565b61069c83838360405180602001604052806000815250610f53565b6008546001600160a01b0316331461090c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b6002600954141561095f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b600260095580516109779060109060208401906117ea565b50506012805461ff0019166101001790556001600955565b60006104d5826111b2565b60006001600160a01b0382166109c3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610a435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b610a4d60006113d2565b565b600a8054600b54600c54600d54600e54600f5460108054969795969495939492939192610a7b90611e9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa790611e9a565b8015610af45780601f10610ac957610100808354040283529160200191610af4565b820191906000526020600020905b815481529060010190602001808311610ad757829003601f168201915b505050505090806007018054610b0990611e9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3590611e9a565b8015610b825780601f10610b5757610100808354040283529160200191610b82565b820191906000526020600020905b815481529060010190602001808311610b6557829003601f168201915b5050506008909301549192505060ff808216916101009004168a565b6008546001600160a01b03163314610bf85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b60026009541415610c4b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b60026009558051600a908155602080830151600b556040830151600c556060830151600d556080830151600e5560a0830151600f5560c08301518051849392610c99926010929101906117ea565b5060e08201518051610cb59160078401916020909101906117ea565b50610100828101516008909201805461012090940151151590910261ff00199215159290921661ffff1990931692909217179055506001600955565b6060600380546104ea90611e9a565b60125460ff1615610d24576040516361dfdef760e11b815260040160405180910390fd5b600b5460015460005483929183910360001901610d419190611e0c565b1115610d605760405163389e3b7760e21b815260040160405180910390fd5b8180610d7f57604051633189d6e760e01b815260040160405180910390fd5b600c54811115610da257604051633189d6e760e01b815260040160405180910390fd5b600d54839081610db13361099a565b610dbb9190611e0c565b1115610dda5760405163056a754560e51b815260040160405180910390fd5b83600081600a60000154610dee9190611e38565b600e5490915015801590610e0b5750600e54610e093361099a565b105b15610e2d57600e54600a54610e209190611e38565b610e2a9082611e57565b90505b80341015610e4e5760405163420116e360e11b815260040160405180910390fd5b60026009541415610ea15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b6002600955610eb03387611431565b5050600160095550505050565b6001600160a01b038216331415610ee75760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f5e848484611222565b6001600160a01b0383163b15610f9757610f7a8484848461144f565b610f97576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606081610fa98161117d565b610fc6576040516331efff5160e01b815260040160405180910390fd5b601254610100900460ff166110675760118054610fe290611e9a565b80601f016020809104026020016040519081016040528092919081815260200182805461100e90611e9a565b801561105b5780601f106110305761010080835404028352916020019161105b565b820191906000526020600020905b81548152906001019060200180831161103e57829003601f168201915b50505050509150611095565b601061107284611547565b604051602001611083929190611c54565b60405160208183030381529060405291505b50919050565b6008546001600160a01b031633146110f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b6001600160a01b0381166111715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106f7565b61117a816113d2565b50565b600081600111158015611191575060005482105b80156104d5575050600090815260046020526040902054600160e01b161590565b600081806001116112095760005481101561120957600081815260046020526040902054600160e01b8116611207575b806112005750600019016000818152600460205260409020546111e2565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061122d826111b2565b9050836001600160a01b0316816001600160a01b0316146112605760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061127e575061127e853361043b565b8061129957503361128e8461056d565b6001600160a01b0316145b9050806112b957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166112e057604051633a954ecd60e21b815260040160405180910390fd5b6000838152600660209081526040808320805473ffffffffffffffffffffffffffffffffffffffff191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661138a57600183016000818152600460205260409020546113885760005481146113885760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61144b828260405180602001604052806000815250611679565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611484903390899088908890600401611d26565b602060405180830381600087803b15801561149e57600080fd5b505af19250505080156114ce575060408051601f3d908101601f191682019092526114cb91810190611ab2565b60015b611529573d8080156114fc576040519150601f19603f3d011682016040523d82523d6000602084013e611501565b606091505b508051611521576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161156b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611595578061157f81611ecf565b915061158e9050600a83611e24565b915061156f565b60008167ffffffffffffffff8111156115be57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115e8576020820181803683370190505b5090505b841561153f576115fd600183611e57565b915061160a600a86611eea565b611615906030611e0c565b60f81b81838151811061163857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611672600a86611e24565b94506115ec565b6000546001600160a01b0384166116a257604051622e076360e81b815260040160405180910390fd5b826116c05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611795575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461175e600087848060010195508761144f565b61177b576040516368d2bf6b60e11b815260040160405180910390fd5b80821061171357826000541461179057600080fd5b6117da565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611796575b506000908155610f979085838684565b8280546117f690611e9a565b90600052602060002090601f016020900481019282611818576000855561185e565b82601f1061183157805160ff191683800117855561185e565b8280016001018555821561185e579182015b8281111561185e578251825591602001919060010190611843565b5061186a92915061186e565b5090565b5b8082111561186a576000815560010161186f565b600067ffffffffffffffff8084111561189e5761189e611f2a565b604051601f8501601f19908116603f011681019082821181831017156118c6576118c6611f2a565b816040528093508581528686860111156118df57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461191057600080fd5b919050565b8035801515811461191057600080fd5b600082601f830112611935578081fd5b61120083833560208501611883565b600060208284031215611955578081fd5b611200826118f9565b60008060408385031215611970578081fd5b611979836118f9565b9150611987602084016118f9565b90509250929050565b6000806000606084860312156119a4578081fd5b6119ad846118f9565b92506119bb602085016118f9565b9150604084013590509250925092565b600080600080608085870312156119e0578081fd5b6119e9856118f9565b93506119f7602086016118f9565b925060408501359150606085013567ffffffffffffffff811115611a19578182fd5b8501601f81018713611a29578182fd5b611a3887823560208401611883565b91505092959194509250565b60008060408385031215611a56578182fd5b611a5f836118f9565b915061198760208401611915565b60008060408385031215611a7f578182fd5b611a88836118f9565b946020939093013593505050565b600060208284031215611aa7578081fd5b813561120081611f40565b600060208284031215611ac3578081fd5b815161120081611f40565b600060208284031215611adf578081fd5b813567ffffffffffffffff811115611af5578182fd5b61153f84828501611925565b600060208284031215611b12578081fd5b813567ffffffffffffffff80821115611b29578283fd5b908301906101408286031215611b3d578283fd5b611b45611de2565b823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a082015260c083013582811115611b8c578485fd5b611b9887828601611925565b60c08301525060e083013582811115611baf578485fd5b611bbb87828601611925565b60e0830152506101009150611bd1828401611915565b828201526101209150611be5828401611915565b91810191909152949350505050565b600060208284031215611c05578081fd5b5035919050565b60008151808452611c24816020860160208601611e6e565b601f01601f19169290920160200192915050565b60008151611c4a818560208601611e6e565b9290920192915050565b600080845482600182811c915080831680611c7057607f831692505b6020808410821415611c9057634e487b7160e01b87526022600452602487fd5b818015611ca45760018114611cb557611ce1565b60ff19861689528489019650611ce1565b60008b815260209020885b86811015611cd95781548b820152908501908301611cc0565b505084890196505b505050505050611d1d611cf48286611c38565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611d586080830184611c0c565b9695505050505050565b6020815260006112006020830184611c0c565b60006101408c83528b60208401528a60408401528960608401528860808401528760a08401528060c0840152611dad81840188611c0c565b905082810360e0840152611dc18187611c0c565b94151561010084015250509015156101209091015298975050505050505050565b604051610140810167ffffffffffffffff81118282101715611e0657611e06611f2a565b60405290565b60008219821115611e1f57611e1f611efe565b500190565b600082611e3357611e33611f14565b500490565b6000816000190483118215151615611e5257611e52611efe565b500290565b600082821015611e6957611e69611efe565b500390565b60005b83811015611e89578181015183820152602001611e71565b83811115610f975750506000910152565b600181811c90821680611eae57607f821691505b6020821081141561109557634e487b7160e01b600052602260045260246000fd5b6000600019821415611ee357611ee3611efe565b5060010190565b600082611ef957611ef9611f14565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461117a57600080fdfea26469706673582212207c6bb15bf810d6dc614fd155bb7ac5e1c00898d51b082057a7f7aae8e544f59e64736f6c63430008040033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c434c55535445524655434b530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c434c55535445524655434b530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d545a684333534a53646e6f6a55613462386773504c4174574a34354b536d727a756248453444336a755636632f000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101805760003560e01c806370a08231116100d6578063a0712d681161007f578063c87b56dd11610059578063c87b56dd14610400578063e985e9c514610420578063f2fde38b1461046957600080fd5b8063a0712d68146103ad578063a22cb465146103c0578063b88d4fde146103e057600080fd5b80637fa61d8d116100b05780637fa61d8d1461035a5780638da5cb5b1461037a57806395d89b411461039857600080fd5b806370a08231146102fa578063715018a61461031a57806379502c551461032f57600080fd5b806323b872dd1161013857806342842e0e1161011257806342842e0e1461029a5780634c261247146102ba5780636352211e146102da57600080fd5b806323b872dd1461025d578063385df6491461027d5780633ccfd60b1461029257600080fd5b8063081812fc11610169578063081812fc146101dc578063095ea7b31461021457806318160ddd1461023657600080fd5b806301ffc9a71461018557806306fdde03146101ba575b600080fd5b34801561019157600080fd5b506101a56101a0366004611a96565b610489565b60405190151581526020015b60405180910390f35b3480156101c657600080fd5b506101cf6104db565b6040516101b19190611d62565b3480156101e857600080fd5b506101fc6101f7366004611bf4565b61056d565b6040516001600160a01b0390911681526020016101b1565b34801561022057600080fd5b5061023461022f366004611a6d565b6105b1565b005b34801561024257600080fd5b5060015460005403600019015b6040519081526020016101b1565b34801561026957600080fd5b50610234610278366004611990565b610691565b34801561028957600080fd5b506102346106a1565b61023461076c565b3480156102a657600080fd5b506102346102b5366004611990565b610897565b3480156102c657600080fd5b506102346102d5366004611ace565b6108b2565b3480156102e657600080fd5b506101fc6102f5366004611bf4565b61098f565b34801561030657600080fd5b5061024f610315366004611944565b61099a565b34801561032657600080fd5b506102346109e9565b34801561033b57600080fd5b50610344610a4f565b6040516101b19a99989796959493929190611d75565b34801561036657600080fd5b50610234610375366004611b01565b610b9e565b34801561038657600080fd5b506008546001600160a01b03166101fc565b3480156103a457600080fd5b506101cf610cf1565b6102346103bb366004611bf4565b610d00565b3480156103cc57600080fd5b506102346103db366004611a44565b610ebd565b3480156103ec57600080fd5b506102346103fb3660046119cb565b610f53565b34801561040c57600080fd5b506101cf61041b366004611bf4565b610f9d565b34801561042c57600080fd5b506101a561043b36600461195e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561047557600080fd5b50610234610484366004611944565b61109b565b60006301ffc9a760e01b6001600160e01b0319831614806104ba57506380ac58cd60e01b6001600160e01b03198316145b806104d55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ea90611e9a565b80601f016020809104026020016040519081016040528092919081815260200182805461051690611e9a565b80156105635780601f1061053857610100808354040283529160200191610563565b820191906000526020600020905b81548152906001019060200180831161054657829003601f168201915b5050505050905090565b60006105788261117d565b610595576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105bc826111b2565b9050806001600160a01b0316836001600160a01b031614156105f15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146106285761060b813361043b565b610628576040516367d9dca160e11b815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61069c838383611222565b505050565b6008546001600160a01b031633146107005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b600260095414156107535760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b6012805460ff19811660ff909116151790556001600955565b6008546001600160a01b031633146107c65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b600260095414156108195760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b600260095560006108326008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461087c576040519150601f19603f3d011682016040523d82523d6000602084013e610881565b606091505b505090508061088f57600080fd5b506001600955565b61069c83838360405180602001604052806000815250610f53565b6008546001600160a01b0316331461090c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b6002600954141561095f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b600260095580516109779060109060208401906117ea565b50506012805461ff0019166101001790556001600955565b60006104d5826111b2565b60006001600160a01b0382166109c3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610a435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b610a4d60006113d2565b565b600a8054600b54600c54600d54600e54600f5460108054969795969495939492939192610a7b90611e9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa790611e9a565b8015610af45780601f10610ac957610100808354040283529160200191610af4565b820191906000526020600020905b815481529060010190602001808311610ad757829003601f168201915b505050505090806007018054610b0990611e9a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3590611e9a565b8015610b825780601f10610b5757610100808354040283529160200191610b82565b820191906000526020600020905b815481529060010190602001808311610b6557829003601f168201915b5050506008909301549192505060ff808216916101009004168a565b6008546001600160a01b03163314610bf85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b60026009541415610c4b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b60026009558051600a908155602080830151600b556040830151600c556060830151600d556080830151600e5560a0830151600f5560c08301518051849392610c99926010929101906117ea565b5060e08201518051610cb59160078401916020909101906117ea565b50610100828101516008909201805461012090940151151590910261ff00199215159290921661ffff1990931692909217179055506001600955565b6060600380546104ea90611e9a565b60125460ff1615610d24576040516361dfdef760e11b815260040160405180910390fd5b600b5460015460005483929183910360001901610d419190611e0c565b1115610d605760405163389e3b7760e21b815260040160405180910390fd5b8180610d7f57604051633189d6e760e01b815260040160405180910390fd5b600c54811115610da257604051633189d6e760e01b815260040160405180910390fd5b600d54839081610db13361099a565b610dbb9190611e0c565b1115610dda5760405163056a754560e51b815260040160405180910390fd5b83600081600a60000154610dee9190611e38565b600e5490915015801590610e0b5750600e54610e093361099a565b105b15610e2d57600e54600a54610e209190611e38565b610e2a9082611e57565b90505b80341015610e4e5760405163420116e360e11b815260040160405180910390fd5b60026009541415610ea15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106f7565b6002600955610eb03387611431565b5050600160095550505050565b6001600160a01b038216331415610ee75760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f5e848484611222565b6001600160a01b0383163b15610f9757610f7a8484848461144f565b610f97576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606081610fa98161117d565b610fc6576040516331efff5160e01b815260040160405180910390fd5b601254610100900460ff166110675760118054610fe290611e9a565b80601f016020809104026020016040519081016040528092919081815260200182805461100e90611e9a565b801561105b5780601f106110305761010080835404028352916020019161105b565b820191906000526020600020905b81548152906001019060200180831161103e57829003601f168201915b50505050509150611095565b601061107284611547565b604051602001611083929190611c54565b60405160208183030381529060405291505b50919050565b6008546001600160a01b031633146110f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f7565b6001600160a01b0381166111715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106f7565b61117a816113d2565b50565b600081600111158015611191575060005482105b80156104d5575050600090815260046020526040902054600160e01b161590565b600081806001116112095760005481101561120957600081815260046020526040902054600160e01b8116611207575b806112005750600019016000818152600460205260409020546111e2565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061122d826111b2565b9050836001600160a01b0316816001600160a01b0316146112605760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061127e575061127e853361043b565b8061129957503361128e8461056d565b6001600160a01b0316145b9050806112b957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166112e057604051633a954ecd60e21b815260040160405180910390fd5b6000838152600660209081526040808320805473ffffffffffffffffffffffffffffffffffffffff191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661138a57600183016000818152600460205260409020546113885760005481146113885760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61144b828260405180602001604052806000815250611679565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611484903390899088908890600401611d26565b602060405180830381600087803b15801561149e57600080fd5b505af19250505080156114ce575060408051601f3d908101601f191682019092526114cb91810190611ab2565b60015b611529573d8080156114fc576040519150601f19603f3d011682016040523d82523d6000602084013e611501565b606091505b508051611521576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161156b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611595578061157f81611ecf565b915061158e9050600a83611e24565b915061156f565b60008167ffffffffffffffff8111156115be57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115e8576020820181803683370190505b5090505b841561153f576115fd600183611e57565b915061160a600a86611eea565b611615906030611e0c565b60f81b81838151811061163857634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611672600a86611e24565b94506115ec565b6000546001600160a01b0384166116a257604051622e076360e81b815260040160405180910390fd5b826116c05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611795575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461175e600087848060010195508761144f565b61177b576040516368d2bf6b60e11b815260040160405180910390fd5b80821061171357826000541461179057600080fd5b6117da565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611796575b506000908155610f979085838684565b8280546117f690611e9a565b90600052602060002090601f016020900481019282611818576000855561185e565b82601f1061183157805160ff191683800117855561185e565b8280016001018555821561185e579182015b8281111561185e578251825591602001919060010190611843565b5061186a92915061186e565b5090565b5b8082111561186a576000815560010161186f565b600067ffffffffffffffff8084111561189e5761189e611f2a565b604051601f8501601f19908116603f011681019082821181831017156118c6576118c6611f2a565b816040528093508581528686860111156118df57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461191057600080fd5b919050565b8035801515811461191057600080fd5b600082601f830112611935578081fd5b61120083833560208501611883565b600060208284031215611955578081fd5b611200826118f9565b60008060408385031215611970578081fd5b611979836118f9565b9150611987602084016118f9565b90509250929050565b6000806000606084860312156119a4578081fd5b6119ad846118f9565b92506119bb602085016118f9565b9150604084013590509250925092565b600080600080608085870312156119e0578081fd5b6119e9856118f9565b93506119f7602086016118f9565b925060408501359150606085013567ffffffffffffffff811115611a19578182fd5b8501601f81018713611a29578182fd5b611a3887823560208401611883565b91505092959194509250565b60008060408385031215611a56578182fd5b611a5f836118f9565b915061198760208401611915565b60008060408385031215611a7f578182fd5b611a88836118f9565b946020939093013593505050565b600060208284031215611aa7578081fd5b813561120081611f40565b600060208284031215611ac3578081fd5b815161120081611f40565b600060208284031215611adf578081fd5b813567ffffffffffffffff811115611af5578182fd5b61153f84828501611925565b600060208284031215611b12578081fd5b813567ffffffffffffffff80821115611b29578283fd5b908301906101408286031215611b3d578283fd5b611b45611de2565b823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a082015260c083013582811115611b8c578485fd5b611b9887828601611925565b60c08301525060e083013582811115611baf578485fd5b611bbb87828601611925565b60e0830152506101009150611bd1828401611915565b828201526101209150611be5828401611915565b91810191909152949350505050565b600060208284031215611c05578081fd5b5035919050565b60008151808452611c24816020860160208601611e6e565b601f01601f19169290920160200192915050565b60008151611c4a818560208601611e6e565b9290920192915050565b600080845482600182811c915080831680611c7057607f831692505b6020808410821415611c9057634e487b7160e01b87526022600452602487fd5b818015611ca45760018114611cb557611ce1565b60ff19861689528489019650611ce1565b60008b815260209020885b86811015611cd95781548b820152908501908301611cc0565b505084890196505b505050505050611d1d611cf48286611c38565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611d586080830184611c0c565b9695505050505050565b6020815260006112006020830184611c0c565b60006101408c83528b60208401528a60408401528960608401528860808401528760a08401528060c0840152611dad81840188611c0c565b905082810360e0840152611dc18187611c0c565b94151561010084015250509015156101209091015298975050505050505050565b604051610140810167ffffffffffffffff81118282101715611e0657611e06611f2a565b60405290565b60008219821115611e1f57611e1f611efe565b500190565b600082611e3357611e33611f14565b500490565b6000816000190483118215151615611e5257611e52611efe565b500290565b600082821015611e6957611e69611efe565b500390565b60005b83811015611e89578181015183820152602001611e71565b83811115610f975750506000910152565b600181811c90821680611eae57607f821691505b6020821081141561109557634e487b7160e01b600052602260045260246000fd5b6000600019821415611ee357611ee3611efe565b5060010190565b600082611ef957611ef9611f14565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461117a57600080fdfea26469706673582212207c6bb15bf810d6dc614fd155bb7ac5e1c00898d51b082057a7f7aae8e544f59e64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000c434c55535445524655434b530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c434c55535445524655434b530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d545a684333534a53646e6f6a55613462386773504c4174574a34354b536d727a756248453444336a755636632f000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): CLUSTERFUCKS
Arg [1] : _symbol (string): CLUSTERFUCKS
Arg [2] : _config (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [4] : 434c55535445524655434b530000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [6] : 434c55535445524655434b530000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000457
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [14] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [18] : 697066733a2f2f516d545a684333534a53646e6f6a55613462386773504c4174
Arg [19] : 574a34354b536d727a756248453444336a755636632f00000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000000
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.