ERC-721
Overview
Max Total Supply
5,000 WIHTS
Holders
2,271
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WIHTSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WIHTS
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity =0.8.15; import {ERC721Psi} from './ERC721Psi.sol'; import {ERC2981Base, ERC2981ContractWideRoyalties} from './ERC2981ContractWideRoyalties.sol'; import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol'; import {Strings} from '@openzeppelin/contracts/utils/Strings.sol'; /** * @author Contract written by Duffles (https://github.com/DefiMatt) for * project 'Wish I Had The Same'. */ contract WIHTS is ERC721Psi, ERC2981ContractWideRoyalties, Ownable { using Strings for uint256; /*////////////////////////////////////////////////////////////// Public state. //////////////////////////////////////////////////////////////*/ /// @notice Base URI for computing {tokenURI}. string public baseURI; /// @notice The number of NFTs claimed per address. mapping(address => uint256) public claimed; /// @notice The number of NFTs minted for free. uint256 public freeMints; /// @notice Whether the mint is open. bool public mintOpen; /// @notice The price in wei per NFT. uint256 public price = 0.0079 ether; /// @notice URI for {tokenURI} before the reveal. string public unrevealedURI = 'https://arweave.net/TdxegBMOs1GtUdFHoN2sMC5L9dH5mx_A6SfI5SfyvY0'; /*////////////////////////////////////////////////////////////// Errors. //////////////////////////////////////////////////////////////*/ /** * @notice The attempt to mint the requested amount of NFTs would exceed the * maximum number of NFTs allowed per wallet. * * @param counterfactualNumberInWallet What the number of NFTs minted by the * recipient wallet would have been if the requested amount of NFTs were * minted. */ error MaximumPerWalletExceeded(uint256 counterfactualNumberInWallet); /** * @notice The attempt to mint the requested amount of NFTs would exceed the * maximum supply allowed. * * @param counterfactualNewSupply What the total supply would have been if the * requested amount of NFTs were minted. */ error MaximumSupplyExceeded(uint256 counterfactualNewSupply); /// @notice Attempted to mint after minting was closed. error MintClosed(); /// @notice Attempted to set royalties beyond the permitted maximum. error RoyaltiesTooHigh(); /// @notice Attempted to query for a non-existent token. error TokenNonexistent(); /** * @notice The wrong fee was supplied with the attempt to mint the requested * amount of NFTs. * * @param expectedFee The fee required to mint the amount of NFTs requested. * @param receivedFee The incorrect fee received. */ error WrongFee(uint256 expectedFee, uint256 receivedFee); /// @notice Attempted to mint zero NFTs. error ZeroMintsRequested(); /*////////////////////////////////////////////////////////////// Public functions. //////////////////////////////////////////////////////////////*/ /** * @notice Mint one or more NFTs to the sender. If there are free mints * remaining and the sender hasn't minted yet, they get the first one free. * * @param amount How many to mint. */ function mint(uint256 amount) external payable { if (!mintOpen) revert MintClosed(); if (0 == amount) revert ZeroMintsRequested(); uint256 newSupply = totalSupply() + amount; if (newSupply > 5_000) revert MaximumSupplyExceeded(newSupply); uint256 _claimed = claimed[msg.sender]; uint256 newClaimed = _claimed + amount; if (newClaimed > 10) revert MaximumPerWalletExceeded(newClaimed); uint256 expectedFee; if (0 == _claimed && freeMints < 2_000) { ++freeMints; expectedFee = price * (amount - 1); } else { expectedFee = price * amount; } if (msg.value != expectedFee) revert WrongFee(expectedFee, msg.value); claimed[msg.sender] = newClaimed; _mint(msg.sender, amount); } /*////////////////////////////////////////////////////////////// Constructor. //////////////////////////////////////////////////////////////*/ constructor() ERC721Psi('Wish I Had The Same', 'WIHTS') { // Initial royalties of 2.5%. _setRoyalties(address(0xC703E1c25cEAb92F4a88BEb51f6c03EF72055aA3), 250); _transferOwnership(address(0xC703E1c25cEAb92F4a88BEb51f6c03EF72055aA3)); } /*////////////////////////////////////////////////////////////// Privileged functions. //////////////////////////////////////////////////////////////*/ /** * @notice Toggle minting. * * @dev Can only be used by the owner. */ function toggleMint() external onlyOwner { mintOpen = !mintOpen; } /** * @notice Change {baseURI}. * * @dev Can only be used by the owner. * * @param newBaseURI The new {baseURI}. */ function setBaseURI(string calldata newBaseURI) external onlyOwner { baseURI = newBaseURI; } /** * @notice Change {price} per NFT. * * @dev Can only be used by the owner. * * @param newPrice The new {price} in wei per NFT. */ function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } /** * @notice Change royalties (see {ERC2981ContractWideRoyalties-royaltyInfo}). * * @dev Can only be used by the owner. * * @param royaltyReceiver Address to receive royalty payments. * @param royaltyAmount Permyriadage / basis points (‱) of sale amounts to be * paid as royalties. */ function setRoyalties(address royaltyReceiver, uint256 royaltyAmount) external onlyOwner { // Maximum royalties of 7.5%. if (royaltyAmount > 750) revert RoyaltiesTooHigh(); _setRoyalties(royaltyReceiver, royaltyAmount); } /** * @notice Change {unrevealedURI}. * * @dev Can only be used by the owner. * * @param _unrevealedURI URI for {tokenURI} before the reveal. */ function setUnrevealedURI(string memory _unrevealedURI) external onlyOwner { unrevealedURI = _unrevealedURI; } /** * @notice Withdraw accumulated Ether. */ function withdraw() external onlyOwner { payable(address(0xDb2Da28bE4d1bF9b1A988643D0A82033CD7B011C)).transfer( address(this).balance / 10 ); payable(owner()).transfer(address(this).balance); } /*////////////////////////////////////////////////////////////// View functions. //////////////////////////////////////////////////////////////*/ /** * @notice Returns the URI for the token with id `tokenId`. * * @dev Returns {unrevealedURI} pre-reveal, and the concatenation of * {baseURI}, `tokenId` and '.json' post-reveal (see {baseURI} for more * details). * * @param tokenId The token id to get the URI for. * @return The URI for the token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert TokenNonexistent(); return 0 == bytes(baseURI).length ? unrevealedURI : string(abi.encodePacked(baseURI, (tokenId + 1).toString(), '.json')); } /** * @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) public view virtual override(ERC721Psi, ERC2981Base) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT /** ______ _____ _____ ______ ___ __ _ _ _ | ____| __ \ / ____|____ |__ \/_ | || || | | |__ | |__) | | / / ) || | \| |/ | | __| | _ /| | / / / / | |\_ _/ | |____| | \ \| |____ / / / /_ | | | | |______|_| \_\\_____|/_/ |____||_| |_| */ pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/StorageSlot.sol"; import "./BitMaps.sol"; contract ERC721Psi is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; using BitMaps for BitMaps.BitMap; BitMaps.BitMap private _batchHead; string private _name; string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) internal _owners; uint256 internal _minted; mapping(uint256 => address) private _tokenApprovals; 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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint) { require(owner != address(0), "ERC721Psi: balance query for the zero address"); uint count; for( uint i; i < _minted; ++i ){ if(_exists(i)){ if( owner == ownerOf(i)){ ++count; } } } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { (address owner, uint256 tokenIdBatchHead) = _ownerAndBatchHeadOf(tokenId); return owner; } function _ownerAndBatchHeadOf(uint256 tokenId) internal view returns (address owner, uint256 tokenIdBatchHead){ require(_exists(tokenId), "ERC721Psi: owner query for nonexistent token"); tokenIdBatchHead = _getBatchHead(tokenId); owner = _owners[tokenIdBatchHead]; } /** * @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), "ERC721Psi: 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 = ownerOf(tokenId); require(to != owner, "ERC721Psi: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721Psi: 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), "ERC721Psi: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721Psi: 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), "ERC721Psi: 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), "ERC721Psi: 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, 1,_data), "ERC721Psi: 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`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _minted; } /** * @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), "ERC721Psi: operator query for nonexistent token" ); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ""); } function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { uint256 startTokenId = _minted; _mint(to, quantity); require( _checkOnERC721Received(address(0), to, startTokenId, quantity, _data), "ERC721Psi: transfer to non ERC721Receiver implementer" ); } function _mint( address to, uint256 quantity ) internal virtual { uint256 tokenIdBatchHead = _minted; require(quantity > 0, "ERC721Psi: quantity must be greater 0"); require(to != address(0), "ERC721Psi: mint to the zero address"); _beforeTokenTransfers(address(0), to, tokenIdBatchHead, quantity); _minted += quantity; _owners[tokenIdBatchHead] = to; _batchHead.set(tokenIdBatchHead); _afterTokenTransfers(address(0), to, tokenIdBatchHead, quantity); // Emit events for(uint256 tokenId=tokenIdBatchHead;tokenId < tokenIdBatchHead + quantity; tokenId++){ emit Transfer(address(0), to, 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 { (address owner, uint256 tokenIdBatchHead) = _ownerAndBatchHeadOf(tokenId); require( owner == from, "ERC721Psi: transfer of token that is not own" ); require(to != address(0), "ERC721Psi: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId); uint256 nextTokenId = tokenId + 1; if(!_batchHead.get(nextTokenId) && nextTokenId < _minted ) { _owners[nextTokenId] = from; _batchHead.set(nextTokenId); } _owners[tokenId] = to; if(tokenId != tokenIdBatchHead) { _batchHead.set(tokenId); } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(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 startTokenId uint256 the first ID of the tokens to be transferred * @param quantity uint256 amount of the tokens to be transfered. * @param _data bytes optional data to send along with the call * @return r bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 startTokenId, uint256 quantity, bytes memory _data ) private returns (bool r) { if (to.isContract()) { r = true; for(uint256 tokenId = startTokenId; tokenId < startTokenId + quantity; tokenId++){ try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { r = r && retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721Psi: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } return r; } else { return true; } } function _getBatchHead(uint256 tokenId) internal view returns (uint256 tokenIdBatchHead) { tokenIdBatchHead = _batchHead.scanForward(tokenId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _minted; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < totalSupply(), "ERC721Psi: global index out of bounds"); uint count; for(uint i; i < _minted; i++){ if(_exists(i)){ if(count == index) return i; else count++; } } } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { uint count; for(uint i; i < _minted; i++){ if(_exists(i) && owner == ownerOf(i)){ if(count == index) return i; else count++; } } revert("ERC721Psi: owner index out of bounds"); } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; import './ERC2981Base.sol'; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 /// @dev This implementation has the same royalties for each and every tokens abstract contract ERC2981ContractWideRoyalties is ERC2981Base { RoyaltyInfo private _royalties; /// @dev Sets token royalties /// @param recipient recipient of the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setRoyalties(address recipient, uint256 value) internal { _royalties = RoyaltyInfo(recipient, uint24(value)); } /// @inheritdoc IERC2981Royalties function royaltyInfo(uint256, uint256 value) external view override returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = (value * royalties.amount) / 10000; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) 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); /** * @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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol) pragma solidity ^0.8.0; /** * @dev Library for reading and writing primitive types to specific storage slots. * * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts. * This library helps with reading and writing to such slots without the need for inline assembly. * * The functions in this library return Slot structs that contain a `value` member that can be used to read or write. * * Example usage to set ERC1967 implementation slot: * ``` * contract ERC1967 { * bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; * * function _getImplementation() internal view returns (address) { * return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value; * } * * function _setImplementation(address newImplementation) internal { * require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract"); * StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation; * } * } * ``` * * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._ */ library StorageSlot { struct AddressSlot { address value; } struct BooleanSlot { bool value; } struct Bytes32Slot { bytes32 value; } struct Uint256Slot { uint256 value; } /** * @dev Returns an `AddressSlot` with member `value` located at `slot`. */ function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `BooleanSlot` with member `value` located at `slot`. */ function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `Bytes32Slot` with member `value` located at `slot`. */ function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) { assembly { r.slot := slot } } /** * @dev Returns an `Uint256Slot` with member `value` located at `slot`. */ function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) { assembly { r.slot := slot } } }
// SPDX-License-Identifier: MIT /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; import "./BitScan.sol"; /** * @dev This Library is a modified version of Openzeppelin's BitMaps library. * Functions of finding the index of the closest set bit from a given index are added. * The indexing of each bucket is modifed to count from the MSB to the LSB instead of from the LSB to the MSB. * The modification of indexing makes finding the closest previous set bit more efficient in gas usage. */ /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { using BitScan for uint256; uint256 private constant MASK_INDEX_ZERO = (1 << 255); struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); bitmap._data[bucket] &= ~mask; } /** * @dev Find the closest index of the set bit before `index`. */ function scanForward(BitMap storage bitmap, uint256 index) internal view returns (uint256) { uint256 bucket = index >> 8; // index within the bucket uint256 bucketIndex = (index & 0xff); // load a bitboard from the bitmap. uint256 bb = bitmap._data[bucket]; // offset the bitboard to scan from `bucketIndex`. bb = bb >> (0xff ^ bucketIndex); // bb >> (255 - bucketIndex) if(bb > 0) { unchecked { return (bucket << 8) | (bucketIndex - bb.bitScanForward256()); } } else { while(true) { require(bucket > 0, "BitMaps: The set bit before the index doesn't exist."); unchecked { bucket--; } // No offset. Always scan from the least significiant bit now. bb = bitmap._data[bucket]; if(bb > 0) { unchecked { return (bucket << 8) | (255 - bb.bitScanForward256()); } } } } } function getBucket(BitMap storage bitmap, uint256 bucket) internal view returns (uint256) { return bitmap._data[bucket]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) 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); }
// SPDX-License-Identifier: MIT /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; library BitScan { uint256 constant private DEBRUIJN_256 = 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff; bytes constant private LOOKUP_TABLE_256 = hex"0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8"; /** @dev Isolate the least significant set bit. */ function isolateLS1B256(uint256 bb) pure internal returns (uint256) { require(bb > 0); unchecked { return bb & (0 - bb); } } /** @dev Isolate the most significant set bit. */ function isolateMS1B256(uint256 bb) pure internal returns (uint256) { require(bb > 0); unchecked { bb |= bb >> 256; bb |= bb >> 128; bb |= bb >> 64; bb |= bb >> 32; bb |= bb >> 16; bb |= bb >> 8; bb |= bb >> 4; bb |= bb >> 2; bb |= bb >> 1; return (bb >> 1) + 1; } } /** @dev Find the index of the lest significant set bit. (trailing zero count) */ function bitScanForward256(uint256 bb) pure internal returns (uint8) { unchecked { return uint8(LOOKUP_TABLE_256[(isolateLS1B256(bb) * DEBRUIJN_256) >> 248]); } } /** @dev Find the index of the most significant set bit. */ function bitScanReverse256(uint256 bb) pure internal returns (uint8) { unchecked { return 255 - uint8(LOOKUP_TABLE_256[((isolateMS1B256(bb) * DEBRUIJN_256) >> 248)]); } } function log2(uint256 bb) pure internal returns (uint8) { unchecked { return uint8(LOOKUP_TABLE_256[(isolateMS1B256(bb) * DEBRUIJN_256) >> 248]); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; import './IERC2981Royalties.sol'; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981Base is ERC165, IERC2981Royalties { struct RoyaltyInfo { address recipient; uint24 amount; } /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); }
{ "optimizer": { "enabled": true, "runs": 10000 }, "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"counterfactualNumberInWallet","type":"uint256"}],"name":"MaximumPerWalletExceeded","type":"error"},{"inputs":[{"internalType":"uint256","name":"counterfactualNewSupply","type":"uint256"}],"name":"MaximumSupplyExceeded","type":"error"},{"inputs":[],"name":"MintClosed","type":"error"},{"inputs":[],"name":"RoyaltiesTooHigh","type":"error"},{"inputs":[],"name":"TokenNonexistent","type":"error"},{"inputs":[{"internalType":"uint256","name":"expectedFee","type":"uint256"},{"internalType":"uint256","name":"receivedFee","type":"uint256"}],"name":"WrongFee","type":"error"},{"inputs":[],"name":"ZeroMintsRequested","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setUnrevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","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":"tokenId","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":[],"name":"unrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
604060808152346200040a57620000156200040f565b601381526020907f57697368204920486164205468652053616d6500000000000000000000000000828201526200004b6200040f565b600580825264574948545360d81b8483015282519094906001600160401b03908181116200024b57600190806200008383546200042f565b96601f97888111620003ce575b50889088831160011462000366576000926200035a575b5050600019600383901b1c191690821b1781555b83518281116200024b57600294620000d486546200042f565b8781116200031f575b50879087831160011462000293577f556446486f4e32734d43354c396448356d785f413653664935536679765930009392916000918362000287575b5050600019600383901b1c191690821b1785555b6008549560018060a01b031998338a89161760085560018060a01b03967f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e098883391168a60008a51a3661c110215b9c000600d556200018e600e546200042f565b9183831162000261575b50505050607f600e55600e600052866000207f68747470733a2f2f617277656176652e6e65742f5464786567424d4f733147748155015581519482860191868310908311176200024b5790825273c703e1c25ceab92f4a88beb51f6c03ef72055aa380865260fa9190950152600780546001600160b81b03191674fac703e1c25ceab92f4a88beb51f6c03ef72055aa3179055600880549586168517905551931690600084a3612f099081620004868239f35b634e487b7160e01b600052604160045260246000fd5b6200027d93600e6000528b6000209301901c820191016200046c565b3880808062000198565b01519050388062000119565b90601f1983169187600052896000209260005b8b8282106200030a5750509185949291837f556446486f4e32734d43354c396448356d785f4136536649355366797659300097959310620002f0575b505050811b0185556200012d565b015160001960f88460031b161c19169055388080620002e2565b838501518655948701949384019301620002a6565b62000349908760005289600020898086018d1c8201928c871062000350575b018c1c01906200046c565b38620000dd565b925081926200033e565b015190503880620000a7565b90849350601f19831691846000528a6000209260005b8c828210620003b757505084116200039d575b505050811b018155620000bb565b015160001960f88460031b161c191690553880806200038f565b83850151865588979095019493840193016200037c565b620003f990856000528a6000208a8d818701901c8201928d871062000400575b018d1c01906200046c565b3862000090565b92508192620003ee565b600080fd5b60408051919082016001600160401b038111838210176200024b57604052565b90600182811c9216801562000461575b60208310146200044b57565b634e487b7160e01b600052602260045260246000fd5b91607f16916200043f565b81811062000478575050565b600081556001016200046c56fe60806040526004361015610013575b600080fd5b60003560e01c806301ffc9a7146102a757806306fdde031461029e578063081812fc14610295578063095ea7b31461028c57806318160ddd1461028357806323b872dd1461027a57806324bbd049146102715780632a55205a146102685780632f745c591461025f5780633ccfd60b1461025657806342842e0e1461024d5780634f6ccce71461024457806355f804b31461023b5780636352211e146102325780636c0360eb146102295780637035bf181461022057806370a0823114610217578063715018a61461020e57806380b17335146102055780638c7ea24b146101fc5780638da5cb5b146101f357806391b7f5ed146101ea57806395d89b41146101e1578063a035b1fe146101d8578063a0712d68146101cf578063a22cb465146101c6578063b88d4fde146101bd578063c87b56dd146101b4578063c884ef83146101ab578063d3dd5fe0146101a2578063e985e9c514610199578063f2fde38b146101905763fe2c7fee1461018857600080fd5b61000e61191e565b5061000e611866565b5061000e6117e9565b5061000e61177c565b5061000e611734565b5061000e61162f565b5061000e6115ce565b5061000e611446565b5061000e611253565b5061000e611234565b5061000e61118c565b5061000e61114f565b5061000e61111a565b5061000e610ff4565b5061000e610fd5565b5061000e610f4c565b5061000e610e54565b5061000e610dac565b5061000e610d04565b5061000e610afe565b5061000e6109b2565b5061000e610993565b5061000e61094b565b5061000e610882565b5061000e610852565b5061000e6107ea565b5061000e6107c6565b5061000e61079c565b5061000e61073b565b5061000e610604565b5061000e610581565b5061000e61047f565b5061000e6102da565b7fffffffff0000000000000000000000000000000000000000000000000000000081160361000e57565b503461000e57602060031936011261000e5760207fffffffff0000000000000000000000000000000000000000000000000000000060043561031b816102b0565b167f2a55205a000000000000000000000000000000000000000000000000000000008114908115610352575b506040519015158152f35b7f80ac58cd000000000000000000000000000000000000000000000000000000008114915081156103e7575b81156103bd575b8115610393575b5038610347565b7f01ffc9a7000000000000000000000000000000000000000000000000000000009150143861038c565b7f780e9d630000000000000000000000000000000000000000000000000000000081149150610385565b7f5b5e139f000000000000000000000000000000000000000000000000000000008114915061037e565b918091926000905b82821061043157501161042a575050565b6000910152565b91508060209183015181860152018291610419565b90601f19601f60209361046481518092818752878088019101610411565b0116010190565b90602061047c928181520190610446565b90565b503461000e5760008060031936011261057e57604051908060018054916104a583610b3c565b8086529282811690811561053657506001146104dc575b6104d8856104cc81870382610c05565b6040519182918261046b565b0390f35b92508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b82841061051e5750505081016020016104cc826104d86104bc565b80546020858701810191909152909301928101610503565b8695506104d8969350602092506104cc9491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b82010192936104bc565b80fd5b503461000e57602060031936011261000e5760206105a0600435611cac565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361000e57565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361000e57565b503461000e57604060031936011261000e5761061e6105be565b60243561062a81611b96565b509173ffffffffffffffffffffffffffffffffffffffff80841680918316146106d25761066a9361066591331490811561066c575b50611c3b565b6122bd565b005b6106cc91506106c5906106a0339173ffffffffffffffffffffffffffffffffffffffff166000526006602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5460ff1690565b3861065f565b608460405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60448201527f776e6572000000000000000000000000000000000000000000000000000000006064820152fd5b503461000e57600060031936011261000e576020600454604051908152f35b600319606091011261000e5773ffffffffffffffffffffffffffffffffffffffff90600435828116810361000e5791602435908116810361000e579060443590565b503461000e5761066a6107ae3661075a565b916107c16107bc8433611e4e565b611d47565b611ffa565b503461000e57600060031936011261000e57602060ff600c54166040519015158152f35b503461000e57604060031936011261000e576040805161080981610bbf565b61271061084560206007549362ffffff73ffffffffffffffffffffffffffffffffffffffff86169586835260a01c169182910152602435611b5b565b0482519182526020820152f35b503461000e57604060031936011261000e57602061087a6108716105be565b60243590612974565b604051908152f35b503461000e5760008060031936011261057e578080808061090a73ffffffffffffffffffffffffffffffffffffffff6108c081600854163314611a71565b82808080600a4704818115610942575b73db2da28be4d1bf9b1a988643d0a82033cd7b011c90f115610935575b6008541673ffffffffffffffffffffffffffffffffffffffff1690565b479082821561092c575bf11561091f57604051f35b6109276123ae565b604051f35b506108fc610914565b61093d6123ae565b6108ed565b506108fc6108d0565b503461000e5761066a61095d3661075a565b90604051926020840184811067ffffffffffffffff821117610986575b60405260008452611db8565b61098e610b8f565b61097a565b503461000e57602060031936011261000e57602061087a6004356128ae565b503461000e5760208060031936011261000e5767ffffffffffffffff60043581811161000e573660238201121561000e57806004013591821161000e576024903682848301011161000e57610a2073ffffffffffffffffffffffffffffffffffffffff600854163314611a71565b610a3483610a2f600954610b3c565b612ca5565b600093601f8411600114610a725750928293600093610a65575b5050506000198260011b9260031b1c191617600955005b0101359050388080610a4e565b91601f19841694610aa560096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af90565b9381905b878210610ae45750508460019610610ac8575b50505050811b01600955005b60001960f88660031b161c199201013516905538808080610abc565b806001849786839596890101358155019601920190610aa9565b503461000e57602060031936011261000e576020610b1d600435611b96565b5073ffffffffffffffffffffffffffffffffffffffff60405191168152f35b90600182811c92168015610b85575b6020831014610b5657565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691610b4b565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff821117610bdb57604052565b610be3610b8f565b604052565b610120810190811067ffffffffffffffff821117610bdb57604052565b90601f601f19910116810190811067ffffffffffffffff821117610bdb57604052565b60405190600082600e5491610c3c83610b3c565b80835292600190818116908115610cc45750600114610c65575b50610c6392500383610c05565b565b600e600090815291507fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd5b848310610ca95750610c63935050810160200138610c56565b81935090816020925483858a01015201910190918592610c90565b60209350610c639592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b82010138610c56565b503461000e5760008060031936011261057e576040519080600954610d2881610b3c565b808552916001918083169081156105365750600114610d51576104d8856104cc81870382610c05565b9250600983527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af5b828410610d945750505081016020016104cc826104d86104bc565b80546020858701810191909152909301928101610d79565b503461000e5760008060031936011261057e576040519080600e54610dd081610b3c565b808552916001918083169081156105365750600114610df9576104d8856104cc81870382610c05565b9250600e83527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd5b828410610e3c5750505081016020016104cc826104d86104bc565b80546020858701810191909152909301928101610e21565b503461000e57602060031936011261000e5773ffffffffffffffffffffffffffffffffffffffff80610e846105be565b168015610ee25760008091600454925b8381108015610ed757610eb0575b610eab90611b7a565b610e94565b84610eba82611b96565b50168203610ea25791610ecf610eab91611b7a565b929050610ea2565b604051848152602090f35b608460405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201527f207a65726f2061646472657373000000000000000000000000000000000000006064820152fd5b503461000e5760008060031936011261057e576008547fffffffffffffffffffffffff000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff821691610fa6338414611a71565b1660085581604051917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b503461000e57600060031936011261000e576020600b54604051908152f35b503461000e57604060031936011261000e5761100e6105be565b6024359073ffffffffffffffffffffffffffffffffffffffff9061103782600854163314611a71565b6102ee83116110f0576110a2916040519161105183610bbf565b1690818152602062ffffff851691015273ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff00000000000000000000000000000000000000006007541617600755565b7fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff76ffffff00000000000000000000000000000000000000006007549260a01b169116176007556000604051f35b60046040517ffbbd0190000000000000000000000000000000000000000000000000000000008152fd5b503461000e57600060031936011261000e57602073ffffffffffffffffffffffffffffffffffffffff60085416604051908152f35b503461000e57602060031936011261000e5761118473ffffffffffffffffffffffffffffffffffffffff600854163314611a71565b600435600d55005b503461000e5760008060031936011261057e5760405190806002546111b081610b3c565b8085529160019180831690811561053657506001146111d9576104d8856104cc81870382610c05565b9250600283527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b82841061121c5750505081016020016104cc826104d86104bc565b80546020858701810191909152909301928101611201565b503461000e57600060031936011261000e576020600d54604051908152f35b50602060031936011261000e5760048035611277611273600c5460ff1690565b1590565b61141d5780156113f45761128c818354611fee565b61138881116113be5750336000908152600a60205260409020546112b08282611fee565b90600a821161138757158061137a575b15611369576112d86112d3600b54611b7a565b600b55565b6112ed600d546112e784612a57565b90611b5b565b80340361132a5761066a83836113233373ffffffffffffffffffffffffffffffffffffffff16600052600a602052604060002090565b5533612ad8565b604080517f23b18f5f000000000000000000000000000000000000000000000000000000008152808601928352346020840152918291010390fd5b0390fd5b61137582600d54611b5b565b6112ed565b506107d0600b54106112c0565b506040517fe0f21e9a0000000000000000000000000000000000000000000000000000000081528084019182529081906020010390fd5b6040517f84a9ce580000000000000000000000000000000000000000000000000000000081528084019182529081906020010390fd5b506040517fad36ab86000000000000000000000000000000000000000000000000000000008152fd5b506040517f589ed34b000000000000000000000000000000000000000000000000000000008152fd5b503461000e57604060031936011261000e576114606105be565b602435801515810361000e5773ffffffffffffffffffffffffffffffffffffffff82169133831461152857816114c66114f69233600052600660205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b9060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b606460405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152fd5b601f19601f60209267ffffffffffffffff811161158a575b01160190565b611592610b8f565b611584565b9291926115a38261156c565b916115b16040519384610c05565b82948184528183011161000e578281602093846000960137010152565b503461000e57608060031936011261000e576115e86105be565b6115f06105e1565b6064359167ffffffffffffffff831161000e573660238401121561000e5761162561066a933690602481600401359101611597565b9160443591611db8565b503461000e57602060031936011261000e5760043560045481101561170a57611659600954610b3c565b61166957506104d86104cc610c28565b6116c16116f86116a66001847ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe6104d896116116fd575b01612dd6565b6116ea6040519384926116bb60208501612d16565b90612dc3565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b03601f198101835282610c05565b6104cc565b611705611b2b565b6116a0565b60046040517f72ec2530000000000000000000000000000000000000000000000000000000008152fd5b503461000e57602060031936011261000e5773ffffffffffffffffffffffffffffffffffffffff6117636105be565b16600052600a6020526020604060002054604051908152f35b503461000e57600060031936011261000e576117b173ffffffffffffffffffffffffffffffffffffffff600854163314611a71565b600c547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0060ff8083161516911617600c556000604051f35b503461000e57604060031936011261000e57602060ff61185a61180a6105be565b73ffffffffffffffffffffffffffffffffffffffff6118276105e1565b91166000526006845260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54166040519015158152f35b503461000e57602060031936011261000e576118806105be565b73ffffffffffffffffffffffffffffffffffffffff6118a481600854163314611a71565b8116156118b45761066a90611abc565b608460405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760208060031936011261000e5767ffffffffffffffff60043581811161000e573660238201121561000e57611963903690602481600401359101611597565b9161198773ffffffffffffffffffffffffffffffffffffffff600854163314611a71565b8251918211611a64575b6119a5826119a0600e54610b3c565b612c34565b80601f83116001146119dd575081926000926119d2575b50506000198260011b9260031b1c191617600e55005b0151905038806119bc565b90601f19831693611a10600e6000527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd90565b926000905b868210611a4c5750508360019510611a33575b505050811b01600e55005b015160001960f88460031b161c19169055388080611a28565b80600185968294968601518155019501930190611a15565b611a6c610b8f565b611991565b15611a7857565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6008549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600855167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8060001904821181151516611b6e570290565b611b76611b2b565b0290565b6001906000198114611b8a570190565b611b92611b2b565b0190565b600454811015611bd157611ba99061262c565b80600052600360205273ffffffffffffffffffffffffffffffffffffffff6040600020541691565b608460405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b15611c4257565b608460405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c00000000006064820152fd5b600454811015611cdd57600052600560205273ffffffffffffffffffffffffffffffffffffffff6040600020541690565b608460405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b15611d4e57565b608460405162461bcd60e51b815260206004820152603460248201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60448201527f74206f776e6572206e6f7220617070726f7665640000000000000000000000006064820152fd5b90611ddc939291611dcc6107bc8433611e4e565b611dd7838383611ffa565b6123eb565b15611de357565b60405162461bcd60e51b815260206004820152603560248201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260448201527f31526563656976657220696d706c656d656e74657200000000000000000000006064820152608490fd5b600454821015611ee557611e6182611b96565b5073ffffffffffffffffffffffffffffffffffffffff808316908083168214948515611ecd575b5050508215611e9657505090565b60ff9250906106a0611ec89273ffffffffffffffffffffffffffffffffffffffff166000526006602052604060002090565b541690565b611eda9192939550611cac565b161491388080611e88565b608460405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b15611f5657565b608460405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f2060448201527f61646472657373000000000000000000000000000000000000000000000000006064820152fd5b6001907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8111611b8a570190565b81198111611b8a570190565b9061200483611b96565b9073ffffffffffffffffffffffffffffffffffffffff92839182861694859116036121d5576120f39181169461203b861515611f4f565b6120448761223f565b61204d87611fc0565b6120926112738260ff7f8000000000000000000000000000000000000000000000000000000000000000918060081c6000526000602052161c60406000205416151590565b806121ca575b61216a575b50506120b3866000526003602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b8303612123575b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000604051a4565b612165838060081c60005260006020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b6120fa565b6121856121c3926120b3836000526003602052604060002090565b8060081c60005260006020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b388061209d565b506004548110612098565b608460405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201527f74206973206e6f74206f776e00000000000000000000000000000000000000006064820152fd5b80600052600560205260406000207fffffffffffffffffffffffff00000000000000000000000000000000000000008154169055600073ffffffffffffffffffffffffffffffffffffffff61229383611b96565b50167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92582604051a4565b81600052600560205261230f8160406000209073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b61231882611b96565b509073ffffffffffffffffffffffffffffffffffffffff80911691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a4565b9081602091031261000e575161047c816102b0565b909261047c949360809373ffffffffffffffffffffffffffffffffffffffff809216845216602083015260408201528160608201520190610446565b506040513d6000823e3d90fd5b3d156123e6573d906123cc8261156c565b916123da6040519384610c05565b82523d6000602084013e565b606090565b919290803b156125b25790929160019081948285935b61240f575b50505050505090565b61241c8697989596611fc0565b8410156125a9576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c8c339385019361246894612372565b03908281600093818573ffffffffffffffffffffffffffffffffffffffff8c165af191928261257a575b5050612523578c8c8c6124a36123bb565b8051938461251d5761136584845191829162461bcd60e51b8352820160809060208152603560208201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e746572000000000000000000000060608201520190565b84925001fd5b91939699509194979a50612542939699508261254e575b505096611b7a565b92809592949195612401565b7fffffffff0000000000000000000000000000000000000000000000000000000016149050388061253a565b61259a929350803d106125a2575b6125928183610c05565b81019061235d565b90388e612492565b503d612588565b84979650612406565b50505050600190565b156125c257565b608460405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527f696e64657820646f65736e27742065786973742e0000000000000000000000006064820152fd5b60089060ff81831c91168160005260006020526040600020548160ff181c80151560001461266e5761266061266691612703565b60ff1690565b9003911b1790565b5050600019905b6126808115156125bb565b01612695816000526000602052604060002090565b54806126a5575060001990612675565b6126606126b46126bd92612703565b60ff9081031690565b911b1790565b9081518110156126d4570160200190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60405161270f81610be8565b7ffd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f86101008083527e01020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7560208401527f06264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c960408401527f071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee360608401527f0e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf760808401527fff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c860a08401527f16365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f660c08401527ffe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf560e0840152820152811561000e576128826128a8917e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff8461047c95600003160260f81c906126c3565b517fff000000000000000000000000000000000000000000000000000000000000001690565b60f81c90565b6000600454918281101561290a57600091825b8481108015612901576128dd575b6128d890611b7a565b6128c1565b928281036128ed57505050905090565b6128f96128d891611b7a565b9390506128cf565b50509392505050565b608460405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260448201527f6f756e64730000000000000000000000000000000000000000000000000000006064820152fd5b60045491600091825b84811080156129ee57806129c3575b61299f575b61299a90611b7a565b61297d565b928281036129af57505050905090565b6129bb61299a91611b7a565b939050612991565b506129cd81611b96565b5073ffffffffffffffffffffffffffffffffffffffff83811691161461298c565b608460405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60448201527f756e6473000000000000000000000000000000000000000000000000000000006064820152fd5b6000199060018110611b8a570190565b15612a6e57565b608460405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b91600454918015612bca57612b2f73ffffffffffffffffffffffffffffffffffffffff851694612b09861515612a67565b612b1b612b168487611fee565b600455565b6120b3856000526003602052604060002090565b612b71838060081c60005260006020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b825b612b7d8285611fee565b811015612bc35790612bbb82612b7d938760007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4611b7a565b909150612b73565b5050915050565b608460405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d757374206265206772656160448201527f74657220300000000000000000000000000000000000000000000000000000006064820152fd5b601f8111612c40575050565b600090600e82527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd906020601f850160051c83019410612c9b575b601f0160051c01915b828110612c9057505050565b818155600101612c84565b9092508290612c7b565b601f8111612cb1575050565b600090600982527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af906020601f850160051c83019410612d0c575b601f0160051c01915b828110612d0157505050565b818155600101612cf5565b9092508290612cec565b60095460009291612d2682610b3c565b91600190818116908115612d925750600114612d4157505050565b909192935060096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af906000915b848310612d7f575050500190565b8181602092548587015201920191612d71565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001683525050811515909102019150565b90611b9260209282815194859201610411565b8015612e9957806000908282935b612e855750612df28361156c565b92612e006040519485610c05565b80845281601f19612e108361156c565b013660208701375b612e225750505090565b612e2b90612a57565b90600a907fff00000000000000000000000000000000000000000000000000000000000000828206603081198111612e78575b0160f81b16841a612e6f84876126c3565b53049081612e18565b612e80611b2b565b612e5e565b92612e91600a91611b7a565b930480612de4565b50604051612ea681610bbf565b600181527f300000000000000000000000000000000000000000000000000000000000000060208201529056fea264697066735822122050f29d23a929a62f0d769b0dde995046b1e2db0da0b1eb9e93b4574a7b2ac26964736f6c634300080f0033
Deployed Bytecode
0x60806040526004361015610013575b600080fd5b60003560e01c806301ffc9a7146102a757806306fdde031461029e578063081812fc14610295578063095ea7b31461028c57806318160ddd1461028357806323b872dd1461027a57806324bbd049146102715780632a55205a146102685780632f745c591461025f5780633ccfd60b1461025657806342842e0e1461024d5780634f6ccce71461024457806355f804b31461023b5780636352211e146102325780636c0360eb146102295780637035bf181461022057806370a0823114610217578063715018a61461020e57806380b17335146102055780638c7ea24b146101fc5780638da5cb5b146101f357806391b7f5ed146101ea57806395d89b41146101e1578063a035b1fe146101d8578063a0712d68146101cf578063a22cb465146101c6578063b88d4fde146101bd578063c87b56dd146101b4578063c884ef83146101ab578063d3dd5fe0146101a2578063e985e9c514610199578063f2fde38b146101905763fe2c7fee1461018857600080fd5b61000e61191e565b5061000e611866565b5061000e6117e9565b5061000e61177c565b5061000e611734565b5061000e61162f565b5061000e6115ce565b5061000e611446565b5061000e611253565b5061000e611234565b5061000e61118c565b5061000e61114f565b5061000e61111a565b5061000e610ff4565b5061000e610fd5565b5061000e610f4c565b5061000e610e54565b5061000e610dac565b5061000e610d04565b5061000e610afe565b5061000e6109b2565b5061000e610993565b5061000e61094b565b5061000e610882565b5061000e610852565b5061000e6107ea565b5061000e6107c6565b5061000e61079c565b5061000e61073b565b5061000e610604565b5061000e610581565b5061000e61047f565b5061000e6102da565b7fffffffff0000000000000000000000000000000000000000000000000000000081160361000e57565b503461000e57602060031936011261000e5760207fffffffff0000000000000000000000000000000000000000000000000000000060043561031b816102b0565b167f2a55205a000000000000000000000000000000000000000000000000000000008114908115610352575b506040519015158152f35b7f80ac58cd000000000000000000000000000000000000000000000000000000008114915081156103e7575b81156103bd575b8115610393575b5038610347565b7f01ffc9a7000000000000000000000000000000000000000000000000000000009150143861038c565b7f780e9d630000000000000000000000000000000000000000000000000000000081149150610385565b7f5b5e139f000000000000000000000000000000000000000000000000000000008114915061037e565b918091926000905b82821061043157501161042a575050565b6000910152565b91508060209183015181860152018291610419565b90601f19601f60209361046481518092818752878088019101610411565b0116010190565b90602061047c928181520190610446565b90565b503461000e5760008060031936011261057e57604051908060018054916104a583610b3c565b8086529282811690811561053657506001146104dc575b6104d8856104cc81870382610c05565b6040519182918261046b565b0390f35b92508083527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf65b82841061051e5750505081016020016104cc826104d86104bc565b80546020858701810191909152909301928101610503565b8695506104d8969350602092506104cc9491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b82010192936104bc565b80fd5b503461000e57602060031936011261000e5760206105a0600435611cac565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361000e57565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361000e57565b503461000e57604060031936011261000e5761061e6105be565b60243561062a81611b96565b509173ffffffffffffffffffffffffffffffffffffffff80841680918316146106d25761066a9361066591331490811561066c575b50611c3b565b6122bd565b005b6106cc91506106c5906106a0339173ffffffffffffffffffffffffffffffffffffffff166000526006602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5460ff1690565b3861065f565b608460405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60448201527f776e6572000000000000000000000000000000000000000000000000000000006064820152fd5b503461000e57600060031936011261000e576020600454604051908152f35b600319606091011261000e5773ffffffffffffffffffffffffffffffffffffffff90600435828116810361000e5791602435908116810361000e579060443590565b503461000e5761066a6107ae3661075a565b916107c16107bc8433611e4e565b611d47565b611ffa565b503461000e57600060031936011261000e57602060ff600c54166040519015158152f35b503461000e57604060031936011261000e576040805161080981610bbf565b61271061084560206007549362ffffff73ffffffffffffffffffffffffffffffffffffffff86169586835260a01c169182910152602435611b5b565b0482519182526020820152f35b503461000e57604060031936011261000e57602061087a6108716105be565b60243590612974565b604051908152f35b503461000e5760008060031936011261057e578080808061090a73ffffffffffffffffffffffffffffffffffffffff6108c081600854163314611a71565b82808080600a4704818115610942575b73db2da28be4d1bf9b1a988643d0a82033cd7b011c90f115610935575b6008541673ffffffffffffffffffffffffffffffffffffffff1690565b479082821561092c575bf11561091f57604051f35b6109276123ae565b604051f35b506108fc610914565b61093d6123ae565b6108ed565b506108fc6108d0565b503461000e5761066a61095d3661075a565b90604051926020840184811067ffffffffffffffff821117610986575b60405260008452611db8565b61098e610b8f565b61097a565b503461000e57602060031936011261000e57602061087a6004356128ae565b503461000e5760208060031936011261000e5767ffffffffffffffff60043581811161000e573660238201121561000e57806004013591821161000e576024903682848301011161000e57610a2073ffffffffffffffffffffffffffffffffffffffff600854163314611a71565b610a3483610a2f600954610b3c565b612ca5565b600093601f8411600114610a725750928293600093610a65575b5050506000198260011b9260031b1c191617600955005b0101359050388080610a4e565b91601f19841694610aa560096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af90565b9381905b878210610ae45750508460019610610ac8575b50505050811b01600955005b60001960f88660031b161c199201013516905538808080610abc565b806001849786839596890101358155019601920190610aa9565b503461000e57602060031936011261000e576020610b1d600435611b96565b5073ffffffffffffffffffffffffffffffffffffffff60405191168152f35b90600182811c92168015610b85575b6020831014610b5657565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691610b4b565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff821117610bdb57604052565b610be3610b8f565b604052565b610120810190811067ffffffffffffffff821117610bdb57604052565b90601f601f19910116810190811067ffffffffffffffff821117610bdb57604052565b60405190600082600e5491610c3c83610b3c565b80835292600190818116908115610cc45750600114610c65575b50610c6392500383610c05565b565b600e600090815291507fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd5b848310610ca95750610c63935050810160200138610c56565b81935090816020925483858a01015201910190918592610c90565b60209350610c639592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b82010138610c56565b503461000e5760008060031936011261057e576040519080600954610d2881610b3c565b808552916001918083169081156105365750600114610d51576104d8856104cc81870382610c05565b9250600983527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af5b828410610d945750505081016020016104cc826104d86104bc565b80546020858701810191909152909301928101610d79565b503461000e5760008060031936011261057e576040519080600e54610dd081610b3c565b808552916001918083169081156105365750600114610df9576104d8856104cc81870382610c05565b9250600e83527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd5b828410610e3c5750505081016020016104cc826104d86104bc565b80546020858701810191909152909301928101610e21565b503461000e57602060031936011261000e5773ffffffffffffffffffffffffffffffffffffffff80610e846105be565b168015610ee25760008091600454925b8381108015610ed757610eb0575b610eab90611b7a565b610e94565b84610eba82611b96565b50168203610ea25791610ecf610eab91611b7a565b929050610ea2565b604051848152602090f35b608460405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201527f207a65726f2061646472657373000000000000000000000000000000000000006064820152fd5b503461000e5760008060031936011261057e576008547fffffffffffffffffffffffff000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff821691610fa6338414611a71565b1660085581604051917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08284a3f35b503461000e57600060031936011261000e576020600b54604051908152f35b503461000e57604060031936011261000e5761100e6105be565b6024359073ffffffffffffffffffffffffffffffffffffffff9061103782600854163314611a71565b6102ee83116110f0576110a2916040519161105183610bbf565b1690818152602062ffffff851691015273ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff00000000000000000000000000000000000000006007541617600755565b7fffffffffffffffffff000000ffffffffffffffffffffffffffffffffffffffff76ffffff00000000000000000000000000000000000000006007549260a01b169116176007556000604051f35b60046040517ffbbd0190000000000000000000000000000000000000000000000000000000008152fd5b503461000e57600060031936011261000e57602073ffffffffffffffffffffffffffffffffffffffff60085416604051908152f35b503461000e57602060031936011261000e5761118473ffffffffffffffffffffffffffffffffffffffff600854163314611a71565b600435600d55005b503461000e5760008060031936011261057e5760405190806002546111b081610b3c565b8085529160019180831690811561053657506001146111d9576104d8856104cc81870382610c05565b9250600283527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b82841061121c5750505081016020016104cc826104d86104bc565b80546020858701810191909152909301928101611201565b503461000e57600060031936011261000e576020600d54604051908152f35b50602060031936011261000e5760048035611277611273600c5460ff1690565b1590565b61141d5780156113f45761128c818354611fee565b61138881116113be5750336000908152600a60205260409020546112b08282611fee565b90600a821161138757158061137a575b15611369576112d86112d3600b54611b7a565b600b55565b6112ed600d546112e784612a57565b90611b5b565b80340361132a5761066a83836113233373ffffffffffffffffffffffffffffffffffffffff16600052600a602052604060002090565b5533612ad8565b604080517f23b18f5f000000000000000000000000000000000000000000000000000000008152808601928352346020840152918291010390fd5b0390fd5b61137582600d54611b5b565b6112ed565b506107d0600b54106112c0565b506040517fe0f21e9a0000000000000000000000000000000000000000000000000000000081528084019182529081906020010390fd5b6040517f84a9ce580000000000000000000000000000000000000000000000000000000081528084019182529081906020010390fd5b506040517fad36ab86000000000000000000000000000000000000000000000000000000008152fd5b506040517f589ed34b000000000000000000000000000000000000000000000000000000008152fd5b503461000e57604060031936011261000e576114606105be565b602435801515810361000e5773ffffffffffffffffffffffffffffffffffffffff82169133831461152857816114c66114f69233600052600660205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b9060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b606460405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152fd5b601f19601f60209267ffffffffffffffff811161158a575b01160190565b611592610b8f565b611584565b9291926115a38261156c565b916115b16040519384610c05565b82948184528183011161000e578281602093846000960137010152565b503461000e57608060031936011261000e576115e86105be565b6115f06105e1565b6064359167ffffffffffffffff831161000e573660238401121561000e5761162561066a933690602481600401359101611597565b9160443591611db8565b503461000e57602060031936011261000e5760043560045481101561170a57611659600954610b3c565b61166957506104d86104cc610c28565b6116c16116f86116a66001847ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe6104d896116116fd575b01612dd6565b6116ea6040519384926116bb60208501612d16565b90612dc3565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b03601f198101835282610c05565b6104cc565b611705611b2b565b6116a0565b60046040517f72ec2530000000000000000000000000000000000000000000000000000000008152fd5b503461000e57602060031936011261000e5773ffffffffffffffffffffffffffffffffffffffff6117636105be565b16600052600a6020526020604060002054604051908152f35b503461000e57600060031936011261000e576117b173ffffffffffffffffffffffffffffffffffffffff600854163314611a71565b600c547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0060ff8083161516911617600c556000604051f35b503461000e57604060031936011261000e57602060ff61185a61180a6105be565b73ffffffffffffffffffffffffffffffffffffffff6118276105e1565b91166000526006845260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54166040519015158152f35b503461000e57602060031936011261000e576118806105be565b73ffffffffffffffffffffffffffffffffffffffff6118a481600854163314611a71565b8116156118b45761066a90611abc565b608460405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b503461000e5760208060031936011261000e5767ffffffffffffffff60043581811161000e573660238201121561000e57611963903690602481600401359101611597565b9161198773ffffffffffffffffffffffffffffffffffffffff600854163314611a71565b8251918211611a64575b6119a5826119a0600e54610b3c565b612c34565b80601f83116001146119dd575081926000926119d2575b50506000198260011b9260031b1c191617600e55005b0151905038806119bc565b90601f19831693611a10600e6000527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd90565b926000905b868210611a4c5750508360019510611a33575b505050811b01600e55005b015160001960f88460031b161c19169055388080611a28565b80600185968294968601518155019501930190611a15565b611a6c610b8f565b611991565b15611a7857565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6008549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617600855167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06000604051a3565b507f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8060001904821181151516611b6e570290565b611b76611b2b565b0290565b6001906000198114611b8a570190565b611b92611b2b565b0190565b600454811015611bd157611ba99061262c565b80600052600360205273ffffffffffffffffffffffffffffffffffffffff6040600020541691565b608460405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b15611c4257565b608460405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c00000000006064820152fd5b600454811015611cdd57600052600560205273ffffffffffffffffffffffffffffffffffffffff6040600020541690565b608460405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b15611d4e57565b608460405162461bcd60e51b815260206004820152603460248201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60448201527f74206f776e6572206e6f7220617070726f7665640000000000000000000000006064820152fd5b90611ddc939291611dcc6107bc8433611e4e565b611dd7838383611ffa565b6123eb565b15611de357565b60405162461bcd60e51b815260206004820152603560248201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260448201527f31526563656976657220696d706c656d656e74657200000000000000000000006064820152608490fd5b600454821015611ee557611e6182611b96565b5073ffffffffffffffffffffffffffffffffffffffff808316908083168214948515611ecd575b5050508215611e9657505090565b60ff9250906106a0611ec89273ffffffffffffffffffffffffffffffffffffffff166000526006602052604060002090565b541690565b611eda9192939550611cac565b161491388080611e88565b608460405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b15611f5657565b608460405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f2060448201527f61646472657373000000000000000000000000000000000000000000000000006064820152fd5b6001907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8111611b8a570190565b81198111611b8a570190565b9061200483611b96565b9073ffffffffffffffffffffffffffffffffffffffff92839182861694859116036121d5576120f39181169461203b861515611f4f565b6120448761223f565b61204d87611fc0565b6120926112738260ff7f8000000000000000000000000000000000000000000000000000000000000000918060081c6000526000602052161c60406000205416151590565b806121ca575b61216a575b50506120b3866000526003602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b8303612123575b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6000604051a4565b612165838060081c60005260006020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b6120fa565b6121856121c3926120b3836000526003602052604060002090565b8060081c60005260006020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b388061209d565b506004548110612098565b608460405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201527f74206973206e6f74206f776e00000000000000000000000000000000000000006064820152fd5b80600052600560205260406000207fffffffffffffffffffffffff00000000000000000000000000000000000000008154169055600073ffffffffffffffffffffffffffffffffffffffff61229383611b96565b50167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92582604051a4565b81600052600560205261230f8160406000209073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b61231882611b96565b509073ffffffffffffffffffffffffffffffffffffffff80911691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9256000604051a4565b9081602091031261000e575161047c816102b0565b909261047c949360809373ffffffffffffffffffffffffffffffffffffffff809216845216602083015260408201528160608201520190610446565b506040513d6000823e3d90fd5b3d156123e6573d906123cc8261156c565b916123da6040519384610c05565b82523d6000602084013e565b606090565b919290803b156125b25790929160019081948285935b61240f575b50505050505090565b61241c8697989596611fc0565b8410156125a9576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c8c339385019361246894612372565b03908281600093818573ffffffffffffffffffffffffffffffffffffffff8c165af191928261257a575b5050612523578c8c8c6124a36123bb565b8051938461251d5761136584845191829162461bcd60e51b8352820160809060208152603560208201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e746572000000000000000000000060608201520190565b84925001fd5b91939699509194979a50612542939699508261254e575b505096611b7a565b92809592949195612401565b7fffffffff0000000000000000000000000000000000000000000000000000000016149050388061253a565b61259a929350803d106125a2575b6125928183610c05565b81019061235d565b90388e612492565b503d612588565b84979650612406565b50505050600190565b156125c257565b608460405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527f696e64657820646f65736e27742065786973742e0000000000000000000000006064820152fd5b60089060ff81831c91168160005260006020526040600020548160ff181c80151560001461266e5761266061266691612703565b60ff1690565b9003911b1790565b5050600019905b6126808115156125bb565b01612695816000526000602052604060002090565b54806126a5575060001990612675565b6126606126b46126bd92612703565b60ff9081031690565b911b1790565b9081518110156126d4570160200190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60405161270f81610be8565b7ffd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f86101008083527e01020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7560208401527f06264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c960408401527f071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee360608401527f0e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf760808401527fff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c860a08401527f16365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f660c08401527ffe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf560e0840152820152811561000e576128826128a8917e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff8461047c95600003160260f81c906126c3565b517fff000000000000000000000000000000000000000000000000000000000000001690565b60f81c90565b6000600454918281101561290a57600091825b8481108015612901576128dd575b6128d890611b7a565b6128c1565b928281036128ed57505050905090565b6128f96128d891611b7a565b9390506128cf565b50509392505050565b608460405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a20676c6f62616c20696e646578206f7574206f66206260448201527f6f756e64730000000000000000000000000000000000000000000000000000006064820152fd5b60045491600091825b84811080156129ee57806129c3575b61299f575b61299a90611b7a565b61297d565b928281036129af57505050905090565b6129bb61299a91611b7a565b939050612991565b506129cd81611b96565b5073ffffffffffffffffffffffffffffffffffffffff83811691161461298c565b608460405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a206f776e657220696e646578206f7574206f6620626f60448201527f756e6473000000000000000000000000000000000000000000000000000000006064820152fd5b6000199060018110611b8a570190565b15612a6e57565b608460405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b91600454918015612bca57612b2f73ffffffffffffffffffffffffffffffffffffffff851694612b09861515612a67565b612b1b612b168487611fee565b600455565b6120b3856000526003602052604060002090565b612b71838060081c60005260006020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b825b612b7d8285611fee565b811015612bc35790612bbb82612b7d938760007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef81604051a4611b7a565b909150612b73565b5050915050565b608460405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d757374206265206772656160448201527f74657220300000000000000000000000000000000000000000000000000000006064820152fd5b601f8111612c40575050565b600090600e82527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd906020601f850160051c83019410612c9b575b601f0160051c01915b828110612c9057505050565b818155600101612c84565b9092508290612c7b565b601f8111612cb1575050565b600090600982527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af906020601f850160051c83019410612d0c575b601f0160051c01915b828110612d0157505050565b818155600101612cf5565b9092508290612cec565b60095460009291612d2682610b3c565b91600190818116908115612d925750600114612d4157505050565b909192935060096000527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af906000915b848310612d7f575050500190565b8181602092548587015201920191612d71565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001683525050811515909102019150565b90611b9260209282815194859201610411565b8015612e9957806000908282935b612e855750612df28361156c565b92612e006040519485610c05565b80845281601f19612e108361156c565b013660208701375b612e225750505090565b612e2b90612a57565b90600a907fff00000000000000000000000000000000000000000000000000000000000000828206603081198111612e78575b0160f81b16841a612e6f84876126c3565b53049081612e18565b612e80611b2b565b612e5e565b92612e91600a91611b7a565b930480612de4565b50604051612ea681610bbf565b600181527f300000000000000000000000000000000000000000000000000000000000000060208201529056fea264697066735822122050f29d23a929a62f0d769b0dde995046b1e2db0da0b1eb9e93b4574a7b2ac26964736f6c634300080f0033
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.