ERC-721
Overview
Max Total Supply
158 VOODOOBUTT
Holders
154
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 VOODOOBUTTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VoodooSalad
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; abstract contract Shit { function burnFrom(address account, uint256 amount) public virtual; } contract VoodooSalad is ERC721Enumerable, Ownable { using Strings for uint256; mapping(address => bool) private _mints; string public _baseTokenURI = ""; string private _hardURI = ""; bool public _saleIsActive = false; uint256 public startTimePreSale = 1634932800; uint256 public endTimePreSale = 1635192000; uint256 public startTimeSale = 1635192000; Shit public token; using MerkleProof for bytes32[]; bytes32 public root; uint256 public nameChangePrice = 90000000000000000000; mapping(uint256 => string) private _tokenName; mapping(string => bool) private _nameReserved; uint256 public buyPrice = 180000000000000000000; uint256 public _maxToBuy = 444; bool public _saleForOtherPeople = false; bool public _abbilityToChangeName = false; constructor(address _shit, string memory baseURI, bytes32 _root) ERC721("Voodoo Salad Buttheads", "VOODOOBUTT") { token = Shit(_shit); _baseTokenURI = baseURI; root = _root; _safeMint(msg.sender, 0); } function mint(bytes32[] memory proof) public { require(!_mints[_msgSender()], "You already minted"); require(_saleIsActive, "Mint not active"); require(totalSupply() + 1 <= _maxToBuy, "Purchase exceeds max supply"); require( block.timestamp >= startTimePreSale, "OG Sale did not start yet" ); require(block.timestamp <= endTimePreSale, "OG Sale is finised"); require( proof.verify(root, keccak256(abi.encodePacked(msg.sender))), "You are not on the list" ); _mints[_msgSender()] = true; _safeMint(msg.sender, totalSupply()); } function publicMint() public { require(!_mints[_msgSender()], "You already minted"); require(_saleForOtherPeople, "Mint not active"); require(block.timestamp >= startTimeSale, "Public Sale did not start yet"); require(totalSupply() + 1 <= _maxToBuy, "Purchase exceeds max supply"); token.burnFrom(msg.sender, buyPrice); _mints[_msgSender()] = true; _safeMint(msg.sender, totalSupply()); } function changeName(uint256 tokenId, string memory newName) public { require(_abbilityToChangeName, "The Change Name Function is blocked"); token.burnFrom(msg.sender, nameChangePrice); address owner = ownerOf(tokenId); require(_msgSender() == owner, "You are not the owner"); require(validateName(newName) == true, "Not a valid new name"); require( sha256(bytes(newName)) != sha256(bytes(_tokenName[tokenId])), "New name is same as the current one" ); require(isNameReserved(newName) == false, "Name already reserved"); // If already named, dereserve old name if (bytes(_tokenName[tokenId]).length > 0) { toggleReserveName(_tokenName[tokenId], false); } toggleReserveName(newName, true); _tokenName[tokenId] = newName; } function giftTo(address _to, uint256 _supply) public onlyOwner { for (uint256 i = 0; i < _supply; i++) { uint256 mintIndex = totalSupply(); _safeMint(_to, mintIndex); } } function changeNamePrice(uint256 _price) external onlyOwner { nameChangePrice = _price; } function changeMaxPublicBuy(uint256 maxForPublicToBuy) external onlyOwner { uint256 previous = _maxToBuy; if (maxForPublicToBuy < previous) { _maxToBuy = maxForPublicToBuy; } } function changeBuyPrice(uint256 _price) external onlyOwner { buyPrice = _price; } function setShitToken(address _shit) external onlyOwner { token = Shit(_shit); } function toggleReserveName(string memory str, bool isReserve) internal { _nameReserved[toLower(str)] = isReserve; } function setBaseURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } function setSaleStatePublic(bool val) public onlyOwner { _saleForOtherPeople = val; } function setAbbilityToChangeName(bool val) public onlyOwner { _abbilityToChangeName = val; } function setSaleState(bool val) public onlyOwner { _saleIsActive = val; } function setStartAndEndTimePreSale(uint256 _start, uint256 _end) external onlyOwner { startTimePreSale = _start; endTimePreSale = _end; } function setStartTimeSale(uint256 _startSale) external onlyOwner { startTimeSale = _startSale; } function setRoots(bytes32 _root) external onlyOwner { root = _root; } function setHardURI(string calldata hardURI) external onlyOwner { _hardURI = hardURI; } function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { require(_exists(tokenId), "Token does not exist"); string memory finalURI = _hardURI; return bytes(finalURI).length > 0 ? string(abi.encodePacked(finalURI, tokenId.toString())) : string(abi.encodePacked(_baseTokenURI, tokenId.toString())); } function onAccesslist(bytes32[] memory proof, address _address) external view returns (bool) { return proof.verify(root, keccak256(abi.encodePacked(_address))); } function isNameReserved(string memory nameString) public view returns (bool) { return _nameReserved[toLower(nameString)]; } function validateName(string memory str) public pure returns (bool) { bytes memory b = bytes(str); if (b.length < 1) return false; if (b.length > 25) return false; // Cannot be longer than 25 characters if (b[0] == 0x20) return false; // Leading space if (b[b.length - 1] == 0x20) return false; // Trailing space bytes1 lastChar = b[0]; for (uint256 i; i < b.length; i++) { bytes1 char = b[i]; if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces if ( !(char >= 0x30 && char <= 0x39) && //9-0 !(char >= 0x41 && char <= 0x5A) && //A-Z !(char >= 0x61 && char <= 0x7A) && //a-z !(char == 0x20) //space ) return false; lastChar = char; } return true; } function toLower(string memory str) public pure returns (string memory) { bytes memory bStr = bytes(str); bytes memory bLower = new bytes(bStr.length); for (uint256 i = 0; i < bStr.length; i++) { // Uppercase character if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) { bLower[i] = bytes1(uint8(bStr[i]) + 32); } else { bLower[i] = bStr[i]; } } return string(bLower); } function nameOf(uint256 tokenId) public view returns (string memory) { string memory name = _tokenName[tokenId]; return bytes(name).length > 0 ? name : string(abi.encodePacked("Voodoo BUTT #", tokenId.toString())); } function getAllNames() public view returns (string[] memory) { string[] memory ret = new string[](totalSupply()); for (uint256 i = 0; i < totalSupply(); i++) { ret[i] = nameOf(i); } return ret; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_shit","type":"address"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[],"name":"_abbilityToChangeName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxToBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_saleForOtherPeople","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"changeBuyPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxForPublicToBuy","type":"uint256"}],"name":"changeMaxPublicBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newName","type":"string"}],"name":"changeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"changeNamePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTimePreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllNames","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":"_to","type":"address"},{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"giftTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"nameOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"_address","type":"address"}],"name":"onAccesslist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"bool","name":"val","type":"bool"}],"name":"setAbbilityToChangeName","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":"string","name":"hardURI","type":"string"}],"name":"setHardURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setSaleStatePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_shit","type":"address"}],"name":"setShitToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"setStartAndEndTimePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startSale","type":"uint256"}],"name":"setStartTimeSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimePreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTimeSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"string","name":"str","type":"string"}],"name":"toLower","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract Shit","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"string","name":"str","type":"string"}],"name":"validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600c916200089b565b506040805160208101918290526000908190526200003c91600d916200089b565b50600e805460ff191690556361731840600f556361770cc060108190556011556804e1003b28d92800006014556809c2007651b25000006017556101bc6018556019805461ffff191690553480156200009457600080fd5b50604051620041b5380380620041b5833981016040819052620000b79162000941565b604080518082018252601681527f566f6f646f6f2053616c6164204275747468656164730000000000000000000060208083019182528351808501909452600a8452691593d3d113d3d095551560b21b9084015281519192916200011e916000916200089b565b508051620001349060019060208401906200089b565b505050620001516200014b6200019d60201b60201c565b620001a1565b601280546001600160a01b0319166001600160a01b03851617905581516200018190600c9060208501906200089b565b50601381905562000194336000620001f3565b50505062000b78565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002158282604051806020016040528060008152506200021960201b60201c565b5050565b62000225838362000295565b620002346000848484620003eb565b620002905760405162461bcd60e51b815260206004820152603260248201526000805160206200419583398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b505050565b6001600160a01b038216620002ed5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000287565b6000818152600260205260409020546001600160a01b031615620003545760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000287565b620003626000838362000554565b6001600160a01b03821660009081526003602052604081208054600192906200038d90849062000aa7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200040c846001600160a01b03166200063060201b620020cd1760201c565b156200054857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200044690339089908890889060040162000a51565b602060405180830381600087803b1580156200046157600080fd5b505af192505050801562000494575060408051601f3d908101601f19168201909252620004919181019062000a20565b60015b6200052d573d808015620004c5576040519150601f19603f3d011682016040523d82523d6000602084013e620004ca565b606091505b508051620005255760405162461bcd60e51b815260206004820152603260248201526000805160206200419583398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000287565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200054c565b5060015b949350505050565b6200056c8383836200029060201b62000a3a1760201c565b6001600160a01b038316620005ca57620005c481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b620005f0565b816001600160a01b0316836001600160a01b031614620005f057620005f0838262000636565b6001600160a01b0382166200060a576200029081620006e3565b826001600160a01b0316826001600160a01b0316146200029057620002908282620007c1565b3b151590565b6000600162000650846200081260201b62000fab1760201c565b6200065c919062000ac2565b600083815260076020526040902054909150808214620006b0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620006f79060019062000ac2565b600083815260096020526040812054600880549394509092849081106200072e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106200075e57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480620007a557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000620007d9836200081260201b62000fab1760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b0382166200087f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162000287565b506001600160a01b031660009081526003602052604090205490565b828054620008a99062000b0f565b90600052602060002090601f016020900481019282620008cd576000855562000918565b82601f10620008e857805160ff191683800117855562000918565b8280016001018555821562000918579182015b8281111562000918578251825591602001919060010190620008fb565b50620009269291506200092a565b5090565b5b808211156200092657600081556001016200092b565b60008060006060848603121562000956578283fd5b83516001600160a01b03811681146200096d578384fd5b60208501519093506001600160401b03808211156200098a578384fd5b818601915086601f8301126200099e578384fd5b815181811115620009b357620009b362000b62565b604051601f8201601f19908116603f01168101908382118183101715620009de57620009de62000b62565b81604052828152896020848701011115620009f7578687fd5b62000a0a83602083016020880162000adc565b8096505050505050604084015190509250925092565b60006020828403121562000a32578081fd5b81516001600160e01b03198116811462000a4a578182fd5b9392505050565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000a908160a085016020870162000adc565b601f01601f19169190910160a00195945050505050565b6000821982111562000abd5762000abd62000b4c565b500190565b60008282101562000ad75762000ad762000b4c565b500390565b60005b8381101562000af957818101518382015260200162000adf565b8381111562000b09576000848401525b50505050565b600181811c9082168062000b2457607f821691505b6020821081141562000b4657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b61360d8062000b886000396000f3fe608060405234801561001057600080fd5b50600436106103275760003560e01c80638106d278116101b8578063b88d4fde11610104578063cfc86f7b116100a2578063ebf0c7171161007c578063ebf0c717146106b1578063f2fde38b146106ba578063fb825e5f146106cd578063fc0c546a146106e257600080fd5b8063cfc86f7b1461065a578063d5df0a4014610662578063e985e9c51461067557600080fd5b8063c4e37095116100de578063c4e370951461060f578063c87b56dd14610622578063cc371bf314610635578063cebadc791461064857600080fd5b8063b88d4fde146105dc578063c39cbef1146105ef578063c416f2a61461060257600080fd5b80639bc9236611610171578063a263c7ba1161014b578063a263c7ba1461059a578063ac916726146105ad578063b64da920146105b6578063b77a147b146105c957600080fd5b80639bc92366146105615780639ffdb65a14610574578063a22cb4651461058757600080fd5b80638106d278146105105780638620410b146105235780638da5cb5b1461052c5780638da7878c1461053d5780639416b4231461054657806395d89b411461055957600080fd5b806342842e0e116102775780635d893ba011610230578063715018a61161020a578063715018a6146104d957806373ff2cb1146104e1578063774dd4be146104ea57806379d83bf4146104fd57600080fd5b80635d893ba0146104a65780636352211e146104b357806370a08231146104c657600080fd5b806342842e0e1461043e57806345ca7738146104515780634a41734b1461045a5780634f6ccce71461046d57806355f804b3146104805780635659b2eb1461049357600080fd5b806318160ddd116102e457806323b872dd116102be57806323b872dd1461040757806326092b831461041a57806328d13a51146104225780632f745c591461042b57600080fd5b806318160ddd146103cf5780631d57f95a146103e15780631e7a148f146103f457600080fd5b806301ffc9a71461032c578063051a26641461035457806306fdde0314610374578063081812fc1461037c578063095ea7b3146103a757806315b56d10146103bc575b600080fd5b61033f61033a366004613024565b6106f5565b60405190151581526020015b60405180910390f35b610367610362366004612ff4565b610720565b60405161034b919061336b565b6103676107fd565b61038f61038a366004612ff4565b61088f565b6040516001600160a01b03909116815260200161034b565b6103ba6103b5366004612f3b565b610929565b005b61033f6103ca3660046130c9565b610a3f565b6008545b60405190815260200161034b565b61033f6103ef366004612f97565b610a72565b6103ba610402366004612fda565b610ac1565b6103ba610415366004612e5e565b610afe565b6103ba610b2f565b6103d3600f5481565b6103d3610439366004612f3b565b610d26565b6103ba61044c366004612e5e565b610dbc565b6103d360145481565b6103ba610468366004612e12565b610dd7565b6103d361047b366004612ff4565b610e23565b6103ba61048e3660046130c9565b610ec4565b6103ba6104a1366004612ff4565b610f05565b600e5461033f9060ff1681565b61038f6104c1366004612ff4565b610f34565b6103d36104d4366004612e12565b610fab565b6103ba611032565b6103d360185481565b6103ba6104f8366004612ff4565b611066565b6103ba61050b366004612ff4565b611095565b6103ba61051e366004612fda565b6110d0565b6103d360175481565b600a546001600160a01b031661038f565b6103d360115481565b6103676105543660046130c9565b611114565b6103676112d9565b6103ba61056f366004613141565b6112e8565b61033f6105823660046130c9565b61131d565b6103ba610595366004612f12565b611564565b6103ba6105a8366004612ff4565b611629565b6103d360105481565b6103ba6105c4366004612f3b565b611658565b6103ba6105d7366004612f64565b6116b7565b6103ba6105ea366004612e99565b61190a565b6103ba6105fd3660046130fc565b611942565b60195461033f9060ff1681565b6103ba61061d366004612fda565b611cff565b610367610630366004612ff4565b611d3c565b6103ba610643366004612ff4565b611e7f565b60195461033f90610100900460ff1681565b610367611eae565b6103ba61067036600461305c565b611f3c565b61033f610683366004612e2c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103d360135481565b6103ba6106c8366004612e12565b611f72565b6106d561200a565b60405161034b919061330a565b60125461038f906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b148061071a575061071a826120d3565b92915050565b60008181526015602052604081208054606092919061073e9061351b565b80601f016020809104026020016040519081016040528092919081815260200182805461076a9061351b565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b5050505050905060008151116107f4576107d083612123565b6040516020016107e09190613298565b6040516020818303038152906040526107f6565b805b9392505050565b60606000805461080c9061351b565b80601f01602080910402602001604051908101604052809291908181526020018280546108389061351b565b80156108855780601f1061085a57610100808354040283529160200191610885565b820191906000526020600020905b81548152906001019060200180831161086857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661090d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061093482610f34565b9050806001600160a01b0316836001600160a01b031614156109a25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610904565b336001600160a01b03821614806109be57506109be8133610683565b610a305760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610904565b610a3a8383612245565b505050565b60006016610a4c83611114565b604051610a599190613225565b9081526040519081900360200190205460ff1692915050565b6013546040516bffffffffffffffffffffffff19606084901b1660208201526000916107f69160340160405160208183030381529060405280519060200120856122b39092919063ffffffff16565b600a546001600160a01b03163314610aeb5760405162461bcd60e51b8152600401610904906133d0565b6019805460ff1916911515919091179055565b610b083382612370565b610b245760405162461bcd60e51b815260040161090490613405565b610a3a838383612463565b336000908152600b602052604090205460ff1615610b845760405162461bcd60e51b8152602060048201526012602482015271165bdd48185b1c9958591e481b5a5b9d195960721b6044820152606401610904565b60195460ff16610bc85760405162461bcd60e51b815260206004820152600f60248201526e4d696e74206e6f742061637469766560881b6044820152606401610904565b601154421015610c1a5760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632053616c6520646964206e6f74207374617274207965740000006044820152606401610904565b601854600854610c2b906001613487565b1115610c795760405162461bcd60e51b815260206004820152601b60248201527f50757263686173652065786365656473206d617820737570706c7900000000006044820152606401610904565b60125460175460405163079cc67960e41b815233600482015260248101919091526001600160a01b03909116906379cc679090604401600060405180830381600087803b158015610cc957600080fd5b505af1158015610cdd573d6000803e3d6000fd5b505050506001600b6000610cee3390565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600854610d2490339061260e565b565b6000610d3183610fab565b8210610d935760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610904565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610a3a8383836040518060200160405280600081525061190a565b600a546001600160a01b03163314610e015760405162461bcd60e51b8152600401610904906133d0565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e2e60085490565b8210610e915760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610904565b60088281548110610eb257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610eee5760405162461bcd60e51b8152600401610904906133d0565b8051610f0190600c906020840190612bdf565b5050565b600a546001600160a01b03163314610f2f5760405162461bcd60e51b8152600401610904906133d0565b601355565b6000818152600260205260408120546001600160a01b0316806107f45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610904565b60006001600160a01b0382166110165760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610904565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461105c5760405162461bcd60e51b8152600401610904906133d0565b610d246000612628565b600a546001600160a01b031633146110905760405162461bcd60e51b8152600401610904906133d0565b601155565b600a546001600160a01b031633146110bf5760405162461bcd60e51b8152600401610904906133d0565b60185480821015610f015750601855565b600a546001600160a01b031633146110fa5760405162461bcd60e51b8152600401610904906133d0565b601980549115156101000261ff0019909216919091179055565b606060008290506000815167ffffffffffffffff81111561114557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561116f576020820181803683370190505b50905060005b82518110156112d15760418382815181106111a057634e487b7160e01b600052603260045260246000fd5b016020015160f81c108015906111de5750605a8382815181106111d357634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b1561125c5782818151811061120357634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b60f81c602061121d919061349f565b60f81b82828151811061124057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506112bf565b82818151811061127c57634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b8282815181106112a757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505b806112c981613550565b915050611175565b509392505050565b60606001805461080c9061351b565b600a546001600160a01b031633146113125760405162461bcd60e51b8152600401610904906133d0565b600f91909155601055565b6000808290506001815110156113365750600092915050565b6019815111156113495750600092915050565b8060008151811061136a57634e487b7160e01b600052603260045260246000fd5b6020910101516001600160f81b031916600160fd1b141561138e5750600092915050565b806001825161139d91906134d8565b815181106113bb57634e487b7160e01b600052603260045260246000fd5b6020910101516001600160f81b031916600160fd1b14156113df5750600092915050565b60008160008151811061140257634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b031916905060005b825181101561155957600083828151811061144157634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b0319169050600160fd1b811480156114725750600160fd1b6001600160f81b03198416145b156114835750600095945050505050565b600360fc1b6001600160f81b03198216108015906114af5750603960f81b6001600160f81b0319821611155b1580156114e55750604160f81b6001600160f81b03198216108015906114e35750602d60f91b6001600160f81b0319821611155b155b801561151a5750606160f81b6001600160f81b03198216108015906115185750603d60f91b6001600160f81b0319821611155b155b80156115345750600160fd1b6001600160f81b0319821614155b156115455750600095945050505050565b91508061155181613550565b915050611416565b506001949350505050565b6001600160a01b0382163314156115bd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610904565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146116535760405162461bcd60e51b8152600401610904906133d0565b601755565b600a546001600160a01b031633146116825760405162461bcd60e51b8152600401610904906133d0565b60005b81811015610a3a57600061169860085490565b90506116a4848261260e565b50806116af81613550565b915050611685565b336000908152600b602052604090205460ff161561170c5760405162461bcd60e51b8152602060048201526012602482015271165bdd48185b1c9958591e481b5a5b9d195960721b6044820152606401610904565b600e5460ff166117505760405162461bcd60e51b815260206004820152600f60248201526e4d696e74206e6f742061637469766560881b6044820152606401610904565b601854600854611761906001613487565b11156117af5760405162461bcd60e51b815260206004820152601b60248201527f50757263686173652065786365656473206d617820737570706c7900000000006044820152606401610904565b600f544210156118015760405162461bcd60e51b815260206004820152601960248201527f4f472053616c6520646964206e6f7420737461727420796574000000000000006044820152606401610904565b6010544211156118485760405162461bcd60e51b815260206004820152601260248201527113d1c814d85b19481a5cc8199a5b9a5cd95960721b6044820152606401610904565b6013546040516bffffffffffffffffffffffff193360601b166020820152611894919060340160405160208183030381529060405280519060200120836122b39092919063ffffffff16565b6118e05760405162461bcd60e51b815260206004820152601760248201527f596f7520617265206e6f74206f6e20746865206c6973740000000000000000006044820152606401610904565b336000818152600b60205260409020805460ff19166001179055600854611907919061260e565b50565b6119143383612370565b6119305760405162461bcd60e51b815260040161090490613405565b61193c8484848461267a565b50505050565b601954610100900460ff166119a55760405162461bcd60e51b815260206004820152602360248201527f546865204368616e6765204e616d652046756e6374696f6e20697320626c6f636044820152621ad95960ea1b6064820152608401610904565b60125460145460405163079cc67960e41b815233600482015260248101919091526001600160a01b03909116906379cc679090604401600060405180830381600087803b1580156119f557600080fd5b505af1158015611a09573d6000803e3d6000fd5b505050506000611a1883610f34565b9050336001600160a01b03821614611a6a5760405162461bcd60e51b81526020600482015260156024820152742cb7ba9030b932903737ba103a34329037bbb732b960591b6044820152606401610904565b611a738261131d565b1515600114611abb5760405162461bcd60e51b81526020600482015260146024820152734e6f7420612076616c6964206e6577206e616d6560601b6044820152606401610904565b600083815260156020526040908190209051600291611ad991613241565b602060405180830381855afa158015611af6573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611b19919061300c565b600283604051611b299190613225565b602060405180830381855afa158015611b46573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611b69919061300c565b1415611bc35760405162461bcd60e51b815260206004820152602360248201527f4e6577206e616d652069732073616d65206173207468652063757272656e74206044820152626f6e6560e81b6064820152608401610904565b611bcc82610a3f565b15611c115760405162461bcd60e51b815260206004820152601560248201527413985b5948185b1c9958591e481c995cd95c9d9959605a1b6044820152606401610904565b60008381526015602052604081208054611c2a9061351b565b90501115611cd55760008381526015602052604090208054611cd59190611c509061351b565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7c9061351b565b8015611cc95780601f10611c9e57610100808354040283529160200191611cc9565b820191906000526020600020905b815481529060010190602001808311611cac57829003601f168201915b505050505060006126ad565b611ce08260016126ad565b6000838152601560209081526040909120835161193c92850190612bdf565b600a546001600160a01b03163314611d295760405162461bcd60e51b8152600401610904906133d0565b600e805460ff1916911515919091179055565b6000818152600260205260409020546060906001600160a01b0316611d9a5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610904565b6000600d8054611da99061351b565b80601f0160208091040260200160405190810160405280929190818152602001828054611dd59061351b565b8015611e225780601f10611df757610100808354040283529160200191611e22565b820191906000526020600020905b815481529060010190602001808311611e0557829003601f168201915b505050505090506000815111611e4e57600c611e3d84612123565b6040516020016107e092919061327c565b80611e5884612123565b604051602001611e6992919061324d565b6040516020818303038152906040529392505050565b600a546001600160a01b03163314611ea95760405162461bcd60e51b8152600401610904906133d0565b601455565b600c8054611ebb9061351b565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee79061351b565b8015611f345780601f10611f0957610100808354040283529160200191611f34565b820191906000526020600020905b815481529060010190602001808311611f1757829003601f168201915b505050505081565b600a546001600160a01b03163314611f665760405162461bcd60e51b8152600401610904906133d0565b610a3a600d8383612c63565b600a546001600160a01b03163314611f9c5760405162461bcd60e51b8152600401610904906133d0565b6001600160a01b0381166120015760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610904565b61190781612628565b6060600061201760085490565b67ffffffffffffffff81111561203d57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561207057816020015b606081526020019060019003908161205b5790505b50905060005b6008548110156120c75761208981610720565b8282815181106120a957634e487b7160e01b600052603260045260246000fd5b602002602001018190525080806120bf90613550565b915050612076565b50919050565b3b151590565b60006001600160e01b031982166380ac58cd60e01b148061210457506001600160e01b03198216635b5e139f60e01b145b8061071a57506301ffc9a760e01b6001600160e01b031983161461071a565b6060816121475750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612171578061215b81613550565b915061216a9050600a836134c4565b915061214b565b60008167ffffffffffffffff81111561219a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121c4576020820181803683370190505b5090505b841561223d576121d96001836134d8565b91506121e6600a8661356b565b6121f1906030613487565b60f81b81838151811061221457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612236600a866134c4565b94506121c8565b949350505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061227a82610f34565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815b85518110156123655760008682815181106122e357634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612325576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612352565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061235d81613550565b9150506122b8565b509092149392505050565b6000818152600260205260408120546001600160a01b03166123e95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610904565b60006123f483610f34565b9050806001600160a01b0316846001600160a01b0316148061242f5750836001600160a01b03166124248461088f565b6001600160a01b0316145b8061223d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff1661223d565b826001600160a01b031661247682610f34565b6001600160a01b0316146124de5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610904565b6001600160a01b0382166125405760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610904565b61254b8383836126ea565b612556600082612245565b6001600160a01b038316600090815260036020526040812080546001929061257f9084906134d8565b90915550506001600160a01b03821660009081526003602052604081208054600192906125ad908490613487565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610f018282604051806020016040528060008152506127a2565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612685848484612463565b612691848484846127d5565b61193c5760405162461bcd60e51b81526004016109049061337e565b8060166126b984611114565b6040516126c69190613225565b908152604051908190036020019020805491151560ff199092169190911790555050565b6001600160a01b0383166127455761274081600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612768565b816001600160a01b0316836001600160a01b0316146127685761276883826128d7565b6001600160a01b03821661277f57610a3a81612974565b826001600160a01b0316826001600160a01b031614610a3a57610a3a8282612a4d565b6127ac8383612a91565b6127b960008484846127d5565b610a3a5760405162461bcd60e51b81526004016109049061337e565b60006001600160a01b0384163b1561155957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906128199033908990889088906004016132cd565b602060405180830381600087803b15801561283357600080fd5b505af1925050508015612863575060408051601f3d908101601f1916820190925261286091810190613040565b60015b6128bd573d808015612891576040519150601f19603f3d011682016040523d82523d6000602084013e612896565b606091505b5080516128b55760405162461bcd60e51b81526004016109049061337e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061223d565b600060016128e484610fab565b6128ee91906134d8565b600083815260076020526040902054909150808214612941576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612986906001906134d8565b600083815260096020526040812054600880549394509092849081106129bc57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106129eb57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612a3157634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612a5883610fab565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612ae75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610904565b6000818152600260205260409020546001600160a01b031615612b4c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610904565b612b58600083836126ea565b6001600160a01b0382166000908152600360205260408120805460019290612b81908490613487565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612beb9061351b565b90600052602060002090601f016020900481019282612c0d5760008555612c53565b82601f10612c2657805160ff1916838001178555612c53565b82800160010185558215612c53579182015b82811115612c53578251825591602001919060010190612c38565b50612c5f929150612cd7565b5090565b828054612c6f9061351b565b90600052602060002090601f016020900481019282612c915760008555612c53565b82601f10612caa5782800160ff19823516178555612c53565b82800160010185558215612c53579182015b82811115612c53578235825591602001919060010190612cbc565b5b80821115612c5f5760008155600101612cd8565b600067ffffffffffffffff831115612d0657612d066135ab565b612d19601f8401601f1916602001613456565b9050828152838383011115612d2d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612d5b57600080fd5b919050565b600082601f830112612d70578081fd5b8135602067ffffffffffffffff821115612d8c57612d8c6135ab565b8160051b612d9b828201613456565b838152828101908684018388018501891015612db5578687fd5b8693505b85841015612dd7578035835260019390930192918401918401612db9565b50979650505050505050565b80358015158114612d5b57600080fd5b600082601f830112612e03578081fd5b6107f683833560208501612cec565b600060208284031215612e23578081fd5b6107f682612d44565b60008060408385031215612e3e578081fd5b612e4783612d44565b9150612e5560208401612d44565b90509250929050565b600080600060608486031215612e72578081fd5b612e7b84612d44565b9250612e8960208501612d44565b9150604084013590509250925092565b60008060008060808587031215612eae578081fd5b612eb785612d44565b9350612ec560208601612d44565b925060408501359150606085013567ffffffffffffffff811115612ee7578182fd5b8501601f81018713612ef7578182fd5b612f0687823560208401612cec565b91505092959194509250565b60008060408385031215612f24578182fd5b612f2d83612d44565b9150612e5560208401612de3565b60008060408385031215612f4d578182fd5b612f5683612d44565b946020939093013593505050565b600060208284031215612f75578081fd5b813567ffffffffffffffff811115612f8b578182fd5b61223d84828501612d60565b60008060408385031215612fa9578182fd5b823567ffffffffffffffff811115612fbf578283fd5b612fcb85828601612d60565b925050612e5560208401612d44565b600060208284031215612feb578081fd5b6107f682612de3565b600060208284031215613005578081fd5b5035919050565b60006020828403121561301d578081fd5b5051919050565b600060208284031215613035578081fd5b81356107f6816135c1565b600060208284031215613051578081fd5b81516107f6816135c1565b6000806020838503121561306e578182fd5b823567ffffffffffffffff80821115613085578384fd5b818501915085601f830112613098578384fd5b8135818111156130a6578485fd5b8660208285010111156130b7578485fd5b60209290920196919550909350505050565b6000602082840312156130da578081fd5b813567ffffffffffffffff8111156130f0578182fd5b61223d84828501612df3565b6000806040838503121561310e578182fd5b82359150602083013567ffffffffffffffff81111561312b578182fd5b61313785828601612df3565b9150509250929050565b60008060408385031215613153578182fd5b50508035926020909101359150565b6000815180845261317a8160208601602086016134ef565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806131a857607f831692505b60208084108214156131c857634e487b7160e01b86526022600452602486fd5b8180156131dc57600181146131ed57613219565b60ff19861689528489019650613219565b876000528160002060005b868110156132115781548b8201529085019083016131f8565b505084890196505b50505050505092915050565b600082516132378184602087016134ef565b9190910192915050565b60006107f6828461318e565b6000835161325f8184602088016134ef565b8351908301906132738183602088016134ef565b01949350505050565b6000613288828561318e565b83516132738183602088016134ef565b6c566f6f646f6f2042555454202360981b8152600082516132c081600d8501602087016134ef565b91909101600d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061330090830184613162565b9695505050505050565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b8281101561335e57603f1988860301845261334c858351613162565b94509285019290850190600101613330565b5092979650505050505050565b6020815260006107f66020830184613162565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561347f5761347f6135ab565b604052919050565b6000821982111561349a5761349a61357f565b500190565b600060ff821660ff84168060ff038211156134bc576134bc61357f565b019392505050565b6000826134d3576134d3613595565b500490565b6000828210156134ea576134ea61357f565b500390565b60005b8381101561350a5781810151838201526020016134f2565b8381111561193c5750506000910152565b600181811c9082168061352f57607f821691505b602082108114156120c757634e487b7160e01b600052602260045260246000fd5b60006000198214156135645761356461357f565b5060010190565b60008261357a5761357a613595565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461190757600080fdfea264697066735822122050a8301f244cedec92868eebedf6cbdb2012772567536cce8e4734bbbb739b9264736f6c634300080400334552433732313a207472616e7366657220746f206e6f6e2045524337323152650000000000000000000000007c14b2f72019248978e4abe9e4cb0885d1019dac00000000000000000000000000000000000000000000000000000000000000608d869a55ce8443fad2cd58bcd56cfd43fd038bd94cab6aa969353849b84d7123000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6275747468656164732e7774662f766f6f646f6f2f000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103275760003560e01c80638106d278116101b8578063b88d4fde11610104578063cfc86f7b116100a2578063ebf0c7171161007c578063ebf0c717146106b1578063f2fde38b146106ba578063fb825e5f146106cd578063fc0c546a146106e257600080fd5b8063cfc86f7b1461065a578063d5df0a4014610662578063e985e9c51461067557600080fd5b8063c4e37095116100de578063c4e370951461060f578063c87b56dd14610622578063cc371bf314610635578063cebadc791461064857600080fd5b8063b88d4fde146105dc578063c39cbef1146105ef578063c416f2a61461060257600080fd5b80639bc9236611610171578063a263c7ba1161014b578063a263c7ba1461059a578063ac916726146105ad578063b64da920146105b6578063b77a147b146105c957600080fd5b80639bc92366146105615780639ffdb65a14610574578063a22cb4651461058757600080fd5b80638106d278146105105780638620410b146105235780638da5cb5b1461052c5780638da7878c1461053d5780639416b4231461054657806395d89b411461055957600080fd5b806342842e0e116102775780635d893ba011610230578063715018a61161020a578063715018a6146104d957806373ff2cb1146104e1578063774dd4be146104ea57806379d83bf4146104fd57600080fd5b80635d893ba0146104a65780636352211e146104b357806370a08231146104c657600080fd5b806342842e0e1461043e57806345ca7738146104515780634a41734b1461045a5780634f6ccce71461046d57806355f804b3146104805780635659b2eb1461049357600080fd5b806318160ddd116102e457806323b872dd116102be57806323b872dd1461040757806326092b831461041a57806328d13a51146104225780632f745c591461042b57600080fd5b806318160ddd146103cf5780631d57f95a146103e15780631e7a148f146103f457600080fd5b806301ffc9a71461032c578063051a26641461035457806306fdde0314610374578063081812fc1461037c578063095ea7b3146103a757806315b56d10146103bc575b600080fd5b61033f61033a366004613024565b6106f5565b60405190151581526020015b60405180910390f35b610367610362366004612ff4565b610720565b60405161034b919061336b565b6103676107fd565b61038f61038a366004612ff4565b61088f565b6040516001600160a01b03909116815260200161034b565b6103ba6103b5366004612f3b565b610929565b005b61033f6103ca3660046130c9565b610a3f565b6008545b60405190815260200161034b565b61033f6103ef366004612f97565b610a72565b6103ba610402366004612fda565b610ac1565b6103ba610415366004612e5e565b610afe565b6103ba610b2f565b6103d3600f5481565b6103d3610439366004612f3b565b610d26565b6103ba61044c366004612e5e565b610dbc565b6103d360145481565b6103ba610468366004612e12565b610dd7565b6103d361047b366004612ff4565b610e23565b6103ba61048e3660046130c9565b610ec4565b6103ba6104a1366004612ff4565b610f05565b600e5461033f9060ff1681565b61038f6104c1366004612ff4565b610f34565b6103d36104d4366004612e12565b610fab565b6103ba611032565b6103d360185481565b6103ba6104f8366004612ff4565b611066565b6103ba61050b366004612ff4565b611095565b6103ba61051e366004612fda565b6110d0565b6103d360175481565b600a546001600160a01b031661038f565b6103d360115481565b6103676105543660046130c9565b611114565b6103676112d9565b6103ba61056f366004613141565b6112e8565b61033f6105823660046130c9565b61131d565b6103ba610595366004612f12565b611564565b6103ba6105a8366004612ff4565b611629565b6103d360105481565b6103ba6105c4366004612f3b565b611658565b6103ba6105d7366004612f64565b6116b7565b6103ba6105ea366004612e99565b61190a565b6103ba6105fd3660046130fc565b611942565b60195461033f9060ff1681565b6103ba61061d366004612fda565b611cff565b610367610630366004612ff4565b611d3c565b6103ba610643366004612ff4565b611e7f565b60195461033f90610100900460ff1681565b610367611eae565b6103ba61067036600461305c565b611f3c565b61033f610683366004612e2c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103d360135481565b6103ba6106c8366004612e12565b611f72565b6106d561200a565b60405161034b919061330a565b60125461038f906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b148061071a575061071a826120d3565b92915050565b60008181526015602052604081208054606092919061073e9061351b565b80601f016020809104026020016040519081016040528092919081815260200182805461076a9061351b565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b5050505050905060008151116107f4576107d083612123565b6040516020016107e09190613298565b6040516020818303038152906040526107f6565b805b9392505050565b60606000805461080c9061351b565b80601f01602080910402602001604051908101604052809291908181526020018280546108389061351b565b80156108855780601f1061085a57610100808354040283529160200191610885565b820191906000526020600020905b81548152906001019060200180831161086857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661090d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061093482610f34565b9050806001600160a01b0316836001600160a01b031614156109a25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610904565b336001600160a01b03821614806109be57506109be8133610683565b610a305760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610904565b610a3a8383612245565b505050565b60006016610a4c83611114565b604051610a599190613225565b9081526040519081900360200190205460ff1692915050565b6013546040516bffffffffffffffffffffffff19606084901b1660208201526000916107f69160340160405160208183030381529060405280519060200120856122b39092919063ffffffff16565b600a546001600160a01b03163314610aeb5760405162461bcd60e51b8152600401610904906133d0565b6019805460ff1916911515919091179055565b610b083382612370565b610b245760405162461bcd60e51b815260040161090490613405565b610a3a838383612463565b336000908152600b602052604090205460ff1615610b845760405162461bcd60e51b8152602060048201526012602482015271165bdd48185b1c9958591e481b5a5b9d195960721b6044820152606401610904565b60195460ff16610bc85760405162461bcd60e51b815260206004820152600f60248201526e4d696e74206e6f742061637469766560881b6044820152606401610904565b601154421015610c1a5760405162461bcd60e51b815260206004820152601d60248201527f5075626c69632053616c6520646964206e6f74207374617274207965740000006044820152606401610904565b601854600854610c2b906001613487565b1115610c795760405162461bcd60e51b815260206004820152601b60248201527f50757263686173652065786365656473206d617820737570706c7900000000006044820152606401610904565b60125460175460405163079cc67960e41b815233600482015260248101919091526001600160a01b03909116906379cc679090604401600060405180830381600087803b158015610cc957600080fd5b505af1158015610cdd573d6000803e3d6000fd5b505050506001600b6000610cee3390565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600854610d2490339061260e565b565b6000610d3183610fab565b8210610d935760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610904565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610a3a8383836040518060200160405280600081525061190a565b600a546001600160a01b03163314610e015760405162461bcd60e51b8152600401610904906133d0565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e2e60085490565b8210610e915760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610904565b60088281548110610eb257634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b03163314610eee5760405162461bcd60e51b8152600401610904906133d0565b8051610f0190600c906020840190612bdf565b5050565b600a546001600160a01b03163314610f2f5760405162461bcd60e51b8152600401610904906133d0565b601355565b6000818152600260205260408120546001600160a01b0316806107f45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610904565b60006001600160a01b0382166110165760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610904565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461105c5760405162461bcd60e51b8152600401610904906133d0565b610d246000612628565b600a546001600160a01b031633146110905760405162461bcd60e51b8152600401610904906133d0565b601155565b600a546001600160a01b031633146110bf5760405162461bcd60e51b8152600401610904906133d0565b60185480821015610f015750601855565b600a546001600160a01b031633146110fa5760405162461bcd60e51b8152600401610904906133d0565b601980549115156101000261ff0019909216919091179055565b606060008290506000815167ffffffffffffffff81111561114557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561116f576020820181803683370190505b50905060005b82518110156112d15760418382815181106111a057634e487b7160e01b600052603260045260246000fd5b016020015160f81c108015906111de5750605a8382815181106111d357634e487b7160e01b600052603260045260246000fd5b016020015160f81c11155b1561125c5782818151811061120357634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b60f81c602061121d919061349f565b60f81b82828151811061124057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506112bf565b82818151811061127c57634e487b7160e01b600052603260045260246000fd5b602001015160f81c60f81b8282815181106112a757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505b806112c981613550565b915050611175565b509392505050565b60606001805461080c9061351b565b600a546001600160a01b031633146113125760405162461bcd60e51b8152600401610904906133d0565b600f91909155601055565b6000808290506001815110156113365750600092915050565b6019815111156113495750600092915050565b8060008151811061136a57634e487b7160e01b600052603260045260246000fd5b6020910101516001600160f81b031916600160fd1b141561138e5750600092915050565b806001825161139d91906134d8565b815181106113bb57634e487b7160e01b600052603260045260246000fd5b6020910101516001600160f81b031916600160fd1b14156113df5750600092915050565b60008160008151811061140257634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b031916905060005b825181101561155957600083828151811061144157634e487b7160e01b600052603260045260246000fd5b01602001516001600160f81b0319169050600160fd1b811480156114725750600160fd1b6001600160f81b03198416145b156114835750600095945050505050565b600360fc1b6001600160f81b03198216108015906114af5750603960f81b6001600160f81b0319821611155b1580156114e55750604160f81b6001600160f81b03198216108015906114e35750602d60f91b6001600160f81b0319821611155b155b801561151a5750606160f81b6001600160f81b03198216108015906115185750603d60f91b6001600160f81b0319821611155b155b80156115345750600160fd1b6001600160f81b0319821614155b156115455750600095945050505050565b91508061155181613550565b915050611416565b506001949350505050565b6001600160a01b0382163314156115bd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610904565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146116535760405162461bcd60e51b8152600401610904906133d0565b601755565b600a546001600160a01b031633146116825760405162461bcd60e51b8152600401610904906133d0565b60005b81811015610a3a57600061169860085490565b90506116a4848261260e565b50806116af81613550565b915050611685565b336000908152600b602052604090205460ff161561170c5760405162461bcd60e51b8152602060048201526012602482015271165bdd48185b1c9958591e481b5a5b9d195960721b6044820152606401610904565b600e5460ff166117505760405162461bcd60e51b815260206004820152600f60248201526e4d696e74206e6f742061637469766560881b6044820152606401610904565b601854600854611761906001613487565b11156117af5760405162461bcd60e51b815260206004820152601b60248201527f50757263686173652065786365656473206d617820737570706c7900000000006044820152606401610904565b600f544210156118015760405162461bcd60e51b815260206004820152601960248201527f4f472053616c6520646964206e6f7420737461727420796574000000000000006044820152606401610904565b6010544211156118485760405162461bcd60e51b815260206004820152601260248201527113d1c814d85b19481a5cc8199a5b9a5cd95960721b6044820152606401610904565b6013546040516bffffffffffffffffffffffff193360601b166020820152611894919060340160405160208183030381529060405280519060200120836122b39092919063ffffffff16565b6118e05760405162461bcd60e51b815260206004820152601760248201527f596f7520617265206e6f74206f6e20746865206c6973740000000000000000006044820152606401610904565b336000818152600b60205260409020805460ff19166001179055600854611907919061260e565b50565b6119143383612370565b6119305760405162461bcd60e51b815260040161090490613405565b61193c8484848461267a565b50505050565b601954610100900460ff166119a55760405162461bcd60e51b815260206004820152602360248201527f546865204368616e6765204e616d652046756e6374696f6e20697320626c6f636044820152621ad95960ea1b6064820152608401610904565b60125460145460405163079cc67960e41b815233600482015260248101919091526001600160a01b03909116906379cc679090604401600060405180830381600087803b1580156119f557600080fd5b505af1158015611a09573d6000803e3d6000fd5b505050506000611a1883610f34565b9050336001600160a01b03821614611a6a5760405162461bcd60e51b81526020600482015260156024820152742cb7ba9030b932903737ba103a34329037bbb732b960591b6044820152606401610904565b611a738261131d565b1515600114611abb5760405162461bcd60e51b81526020600482015260146024820152734e6f7420612076616c6964206e6577206e616d6560601b6044820152606401610904565b600083815260156020526040908190209051600291611ad991613241565b602060405180830381855afa158015611af6573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611b19919061300c565b600283604051611b299190613225565b602060405180830381855afa158015611b46573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611b69919061300c565b1415611bc35760405162461bcd60e51b815260206004820152602360248201527f4e6577206e616d652069732073616d65206173207468652063757272656e74206044820152626f6e6560e81b6064820152608401610904565b611bcc82610a3f565b15611c115760405162461bcd60e51b815260206004820152601560248201527413985b5948185b1c9958591e481c995cd95c9d9959605a1b6044820152606401610904565b60008381526015602052604081208054611c2a9061351b565b90501115611cd55760008381526015602052604090208054611cd59190611c509061351b565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7c9061351b565b8015611cc95780601f10611c9e57610100808354040283529160200191611cc9565b820191906000526020600020905b815481529060010190602001808311611cac57829003601f168201915b505050505060006126ad565b611ce08260016126ad565b6000838152601560209081526040909120835161193c92850190612bdf565b600a546001600160a01b03163314611d295760405162461bcd60e51b8152600401610904906133d0565b600e805460ff1916911515919091179055565b6000818152600260205260409020546060906001600160a01b0316611d9a5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610904565b6000600d8054611da99061351b565b80601f0160208091040260200160405190810160405280929190818152602001828054611dd59061351b565b8015611e225780601f10611df757610100808354040283529160200191611e22565b820191906000526020600020905b815481529060010190602001808311611e0557829003601f168201915b505050505090506000815111611e4e57600c611e3d84612123565b6040516020016107e092919061327c565b80611e5884612123565b604051602001611e6992919061324d565b6040516020818303038152906040529392505050565b600a546001600160a01b03163314611ea95760405162461bcd60e51b8152600401610904906133d0565b601455565b600c8054611ebb9061351b565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee79061351b565b8015611f345780601f10611f0957610100808354040283529160200191611f34565b820191906000526020600020905b815481529060010190602001808311611f1757829003601f168201915b505050505081565b600a546001600160a01b03163314611f665760405162461bcd60e51b8152600401610904906133d0565b610a3a600d8383612c63565b600a546001600160a01b03163314611f9c5760405162461bcd60e51b8152600401610904906133d0565b6001600160a01b0381166120015760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610904565b61190781612628565b6060600061201760085490565b67ffffffffffffffff81111561203d57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561207057816020015b606081526020019060019003908161205b5790505b50905060005b6008548110156120c75761208981610720565b8282815181106120a957634e487b7160e01b600052603260045260246000fd5b602002602001018190525080806120bf90613550565b915050612076565b50919050565b3b151590565b60006001600160e01b031982166380ac58cd60e01b148061210457506001600160e01b03198216635b5e139f60e01b145b8061071a57506301ffc9a760e01b6001600160e01b031983161461071a565b6060816121475750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612171578061215b81613550565b915061216a9050600a836134c4565b915061214b565b60008167ffffffffffffffff81111561219a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121c4576020820181803683370190505b5090505b841561223d576121d96001836134d8565b91506121e6600a8661356b565b6121f1906030613487565b60f81b81838151811061221457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612236600a866134c4565b94506121c8565b949350505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061227a82610f34565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815b85518110156123655760008682815181106122e357634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612325576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612352565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061235d81613550565b9150506122b8565b509092149392505050565b6000818152600260205260408120546001600160a01b03166123e95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610904565b60006123f483610f34565b9050806001600160a01b0316846001600160a01b0316148061242f5750836001600160a01b03166124248461088f565b6001600160a01b0316145b8061223d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff1661223d565b826001600160a01b031661247682610f34565b6001600160a01b0316146124de5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610904565b6001600160a01b0382166125405760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610904565b61254b8383836126ea565b612556600082612245565b6001600160a01b038316600090815260036020526040812080546001929061257f9084906134d8565b90915550506001600160a01b03821660009081526003602052604081208054600192906125ad908490613487565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610f018282604051806020016040528060008152506127a2565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612685848484612463565b612691848484846127d5565b61193c5760405162461bcd60e51b81526004016109049061337e565b8060166126b984611114565b6040516126c69190613225565b908152604051908190036020019020805491151560ff199092169190911790555050565b6001600160a01b0383166127455761274081600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612768565b816001600160a01b0316836001600160a01b0316146127685761276883826128d7565b6001600160a01b03821661277f57610a3a81612974565b826001600160a01b0316826001600160a01b031614610a3a57610a3a8282612a4d565b6127ac8383612a91565b6127b960008484846127d5565b610a3a5760405162461bcd60e51b81526004016109049061337e565b60006001600160a01b0384163b1561155957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906128199033908990889088906004016132cd565b602060405180830381600087803b15801561283357600080fd5b505af1925050508015612863575060408051601f3d908101601f1916820190925261286091810190613040565b60015b6128bd573d808015612891576040519150601f19603f3d011682016040523d82523d6000602084013e612896565b606091505b5080516128b55760405162461bcd60e51b81526004016109049061337e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061223d565b600060016128e484610fab565b6128ee91906134d8565b600083815260076020526040902054909150808214612941576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612986906001906134d8565b600083815260096020526040812054600880549394509092849081106129bc57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106129eb57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612a3157634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612a5883610fab565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612ae75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610904565b6000818152600260205260409020546001600160a01b031615612b4c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610904565b612b58600083836126ea565b6001600160a01b0382166000908152600360205260408120805460019290612b81908490613487565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612beb9061351b565b90600052602060002090601f016020900481019282612c0d5760008555612c53565b82601f10612c2657805160ff1916838001178555612c53565b82800160010185558215612c53579182015b82811115612c53578251825591602001919060010190612c38565b50612c5f929150612cd7565b5090565b828054612c6f9061351b565b90600052602060002090601f016020900481019282612c915760008555612c53565b82601f10612caa5782800160ff19823516178555612c53565b82800160010185558215612c53579182015b82811115612c53578235825591602001919060010190612cbc565b5b80821115612c5f5760008155600101612cd8565b600067ffffffffffffffff831115612d0657612d066135ab565b612d19601f8401601f1916602001613456565b9050828152838383011115612d2d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612d5b57600080fd5b919050565b600082601f830112612d70578081fd5b8135602067ffffffffffffffff821115612d8c57612d8c6135ab565b8160051b612d9b828201613456565b838152828101908684018388018501891015612db5578687fd5b8693505b85841015612dd7578035835260019390930192918401918401612db9565b50979650505050505050565b80358015158114612d5b57600080fd5b600082601f830112612e03578081fd5b6107f683833560208501612cec565b600060208284031215612e23578081fd5b6107f682612d44565b60008060408385031215612e3e578081fd5b612e4783612d44565b9150612e5560208401612d44565b90509250929050565b600080600060608486031215612e72578081fd5b612e7b84612d44565b9250612e8960208501612d44565b9150604084013590509250925092565b60008060008060808587031215612eae578081fd5b612eb785612d44565b9350612ec560208601612d44565b925060408501359150606085013567ffffffffffffffff811115612ee7578182fd5b8501601f81018713612ef7578182fd5b612f0687823560208401612cec565b91505092959194509250565b60008060408385031215612f24578182fd5b612f2d83612d44565b9150612e5560208401612de3565b60008060408385031215612f4d578182fd5b612f5683612d44565b946020939093013593505050565b600060208284031215612f75578081fd5b813567ffffffffffffffff811115612f8b578182fd5b61223d84828501612d60565b60008060408385031215612fa9578182fd5b823567ffffffffffffffff811115612fbf578283fd5b612fcb85828601612d60565b925050612e5560208401612d44565b600060208284031215612feb578081fd5b6107f682612de3565b600060208284031215613005578081fd5b5035919050565b60006020828403121561301d578081fd5b5051919050565b600060208284031215613035578081fd5b81356107f6816135c1565b600060208284031215613051578081fd5b81516107f6816135c1565b6000806020838503121561306e578182fd5b823567ffffffffffffffff80821115613085578384fd5b818501915085601f830112613098578384fd5b8135818111156130a6578485fd5b8660208285010111156130b7578485fd5b60209290920196919550909350505050565b6000602082840312156130da578081fd5b813567ffffffffffffffff8111156130f0578182fd5b61223d84828501612df3565b6000806040838503121561310e578182fd5b82359150602083013567ffffffffffffffff81111561312b578182fd5b61313785828601612df3565b9150509250929050565b60008060408385031215613153578182fd5b50508035926020909101359150565b6000815180845261317a8160208601602086016134ef565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806131a857607f831692505b60208084108214156131c857634e487b7160e01b86526022600452602486fd5b8180156131dc57600181146131ed57613219565b60ff19861689528489019650613219565b876000528160002060005b868110156132115781548b8201529085019083016131f8565b505084890196505b50505050505092915050565b600082516132378184602087016134ef565b9190910192915050565b60006107f6828461318e565b6000835161325f8184602088016134ef565b8351908301906132738183602088016134ef565b01949350505050565b6000613288828561318e565b83516132738183602088016134ef565b6c566f6f646f6f2042555454202360981b8152600082516132c081600d8501602087016134ef565b91909101600d0192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061330090830184613162565b9695505050505050565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b8281101561335e57603f1988860301845261334c858351613162565b94509285019290850190600101613330565b5092979650505050505050565b6020815260006107f66020830184613162565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561347f5761347f6135ab565b604052919050565b6000821982111561349a5761349a61357f565b500190565b600060ff821660ff84168060ff038211156134bc576134bc61357f565b019392505050565b6000826134d3576134d3613595565b500490565b6000828210156134ea576134ea61357f565b500390565b60005b8381101561350a5781810151838201526020016134f2565b8381111561193c5750506000910152565b600181811c9082168061352f57607f821691505b602082108114156120c757634e487b7160e01b600052602260045260246000fd5b60006000198214156135645761356461357f565b5060010190565b60008261357a5761357a613595565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461190757600080fdfea264697066735822122050a8301f244cedec92868eebedf6cbdb2012772567536cce8e4734bbbb739b9264736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007c14b2f72019248978e4abe9e4cb0885d1019dac00000000000000000000000000000000000000000000000000000000000000608d869a55ce8443fad2cd58bcd56cfd43fd038bd94cab6aa969353849b84d7123000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6275747468656164732e7774662f766f6f646f6f2f000000
-----Decoded View---------------
Arg [0] : _shit (address): 0x7c14B2F72019248978E4AbE9E4CB0885d1019dAC
Arg [1] : baseURI (string): https://buttheads.wtf/voodoo/
Arg [2] : _root (bytes32): 0x8d869a55ce8443fad2cd58bcd56cfd43fd038bd94cab6aa969353849b84d7123
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000007c14b2f72019248978e4abe9e4cb0885d1019dac
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 8d869a55ce8443fad2cd58bcd56cfd43fd038bd94cab6aa969353849b84d7123
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [4] : 68747470733a2f2f6275747468656164732e7774662f766f6f646f6f2f000000
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.