ERC-721
Overview
Max Total Supply
3,188 SAT
Holders
930
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 SATLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
showAndTellAE
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "ERC721Psi.sol"; import "IERC2981.sol"; import "ReentrancyGuard.sol"; import "Ownable.sol"; import "Counters.sol"; interface SchoolYard { function contractURI() external view returns (string memory); function ownerOf(uint256 tokenId) external view returns (address); } contract showAndTellAE is ERC721Psi, Ownable, ReentrancyGuard { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; bool public contractRoyalties = true; bool public bComFun = false; uint256 public constant MAX_DROP = 3750; uint256 public constant SCHOOL_ACTIVITIES = 2000; SchoolYard schoolAddress; address private _creators; string private _contractURI; string private _metadataBaseURI; // ** MODIFIERS ** // // *************** // modifier allocTokens(uint256[] memory numToMint) { uint256 count; for(uint256 i = 0; i < numToMint.length; i++) { count += numToMint[i]; } require( totalSupply() + count-1 <= MAX_DROP, "Sorry, there are not enough artworks remaining." ); _; } mapping(address => bool) private whitelistedContract; mapping(address => uint256) private contractAllowance; mapping(address => uint256) private contractClaimCount; constructor( string memory _cURI, string memory _mURI, address _creatorAdd, address _schAdd ) ERC721Psi("Show And Tell Alpha Elementary", "SAT") { _contractURI = _cURI; _metadataBaseURI = _mURI; _creators = _creatorAdd; schoolAddress = SchoolYard(_schAdd); } // ** AIRDROP NFT FUNC ** // // ********************** // function showAndTell(address[] memory _claimList, uint256[] memory _ids) external nonReentrant allocTokens(_ids) onlyOwner { require(_claimList.length == _ids.length, "Ensure you provide the number of tokens for every address"); for (uint256 i = 0; i < _claimList.length; i++) { _safeMint(_claimList[i], _ids[i]); } } function communityFun(address _award, uint256 num) external nonReentrant returns (uint256) { require(whitelistedContract[msg.sender] == true, "This address is not whitelisted"); require(contractClaimCount[msg.sender] + num < contractAllowance[msg.sender], "Requesting too many tokens"); require(totalSupply() + num <= SCHOOL_ACTIVITIES + MAX_DROP, "No tokens left"); require(bComFun == true, "This function is currently disabled"); contractClaimCount[msg.sender] + num; _safeMint(_award, num); return totalSupply()-1; } function getOwnersTokens(address _owner) external view returns (uint256[] memory) { require(balanceOf(_owner) > 0, "You don't currently hold any tokens"); uint256 tokenCount = balanceOf(_owner); uint256 foundTokens = 0; uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < totalSupply(); i++) { if (ownerOf(i) == _owner) { tokenIds[foundTokens] = i; foundTokens++; } } return tokenIds; } function returnAddressesOfAEHolder(uint256[] calldata tokenIds) external view onlyOwner returns (address[] memory) { address[] memory fetchedAdd = new address[](tokenIds.length); for(uint256 i = 0; i < tokenIds.length; i++) { fetchedAdd[i] = schoolAddress.ownerOf(tokenIds[i]); } return fetchedAdd; } function checkWhitelistedContract(address _addr) external view returns (bool) { return whitelistedContract[_addr]; } function checkContractClaimed(address _addr) external view returns (uint256) { return contractClaimCount[_addr]; } // ** SETTINGS ** // // ************** // function _baseURI() internal view override returns (string memory) { return _metadataBaseURI; } function metaURI(string calldata _URI) external onlyOwner { _metadataBaseURI = _URI; } function cntURI(string calldata _URI) external onlyOwner { _contractURI = _URI; } function updateSchoolyard(address _addr) external onlyOwner { schoolAddress = SchoolYard(_addr); } function whitelistContract(address[] memory _addr, uint256[] memory _alloc) external onlyOwner { for(uint256 i = 0; i < _addr.length; i++) { whitelistedContract[_addr[i]] = true; contractAllowance[_addr[i]] = _alloc[i]; } } function removeContract(address _addr) external onlyOwner { whitelistedContract[_addr] = false; } function flipCommunityFun() external onlyOwner { bComFun = !bComFun; } /** * @dev Reserve ability to make use of {IERC165-royaltyInfo} standard to implement royalties. */ function toggleRoyalties() external onlyOwner { contractRoyalties = !contractRoyalties; } // ** READ ONLY DATA ** // // ******************** // function contractURI() external view returns (string memory) { return _contractURI; } function setCreator(address to) external onlyOwner returns (address) { _creators = to; return _creators; } /** * @dev See {IERC165-royaltyInfo}. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Nonexistent token"); require(contractRoyalties == true, "Royalties dissabled"); return (address(_creators), (salePrice * 7) / 100); } }
// SPDX-License-Identifier: MIT /** ______ _____ _____ ______ ___ __ _ _ _ | ____| __ \ / ____|____ |__ \/_ | || || | | |__ | |__) | | / / ) || | \| |/ | | __| | _ /| | / / / / | |\_ _/ | |____| | \ \| |____ / / / /_ | | | | |______|_| \_\\_____|/_/ |____||_| |_| */ pragma solidity ^0.8.0; import "IERC721.sol"; import "IERC721Receiver.sol"; import "IERC721Metadata.sol"; import "IERC721Enumerable.sol"; import "Context.sol"; import "Strings.sol"; import "ERC165.sol"; import "Address.sol"; import "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 // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "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.0 (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 // OpenZeppelin Contracts v4.4.0 (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.0 (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 v4.4.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 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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 v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 /** ______ _____ _____ ______ ___ __ _ _ _ | ____| __ \ / ____|____ |__ \/_ | || || | | |__ | |__) | | / / ) || | \| |/ | | __| | _ /| | / / / / | |\_ _/ | |____| | \ \| |____ / / / /_ | | | | |______|_| \_\\_____|/_/ |____||_| |_| */ 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 /** ______ _____ _____ ______ ___ __ _ _ _ | ____| __ \ / ____|____ |__ \/_ | || || | | |__ | |__) | | / / ) || | \| |/ | | __| | _ /| | / / / / | |\_ _/ | |____| | \ \| |____ / / / /_ | | | | |______|_| \_\\_____|/_/ |____||_| |_| */ 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)]); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev 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 salePrice - 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 `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "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.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "showAndTellAE.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_cURI","type":"string"},{"internalType":"string","name":"_mURI","type":"string"},{"internalType":"address","name":"_creatorAdd","type":"address"},{"internalType":"address","name":"_schAdd","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_DROP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SCHOOL_ACTIVITIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bComFun","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"checkContractClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"checkWhitelistedContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"cntURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_award","type":"address"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"communityFun","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractRoyalties","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipCommunityFun","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getOwnersTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"string","name":"_URI","type":"string"}],"name":"metaURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"returnAddressesOfAEHolder","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","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":"address","name":"to","type":"address"}],"name":"setCreator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_claimList","type":"address[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"showAndTell","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":"toggleRoyalties","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":[{"internalType":"address","name":"_addr","type":"address"}],"name":"updateSchoolyard","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addr","type":"address[]"},{"internalType":"uint256[]","name":"_alloc","type":"uint256[]"}],"name":"whitelistContract","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805461ffff191660011790553480156200001f57600080fd5b506040516200303238038062003032833981016040819052620000429162000331565b604080518082018252601e81527f53686f7720416e642054656c6c20416c70686120456c656d656e74617279000060208083019182528351808501909452600384526214d05560ea1b908401528151919291620000a291600191620001a1565b508051620000b8906002906020840190620001a1565b505050620000d5620000cf6200014b60201b60201c565b6200014f565b60016008558351620000ef90600c906020870190620001a1565b5082516200010590600d906020860190620001a1565b50600b80546001600160a01b039384166001600160a01b0319909116179055600a805491909216620100000262010000600160b01b031990911617905550620003fc9050565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001af90620003c0565b90600052602060002090601f016020900481019282620001d357600085556200021e565b82601f10620001ee57805160ff19168380011785556200021e565b828001600101855582156200021e579182015b828111156200021e57825182559160200191906001019062000201565b506200022c92915062000230565b5090565b5b808211156200022c576000815560010162000231565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200026f57600080fd5b81516001600160401b03808211156200028c576200028c62000247565b604051601f8301601f19908116603f01168101908282118183101715620002b757620002b762000247565b81604052838152602092508683858801011115620002d457600080fd5b600091505b83821015620002f85785820183015181830184015290820190620002d9565b838211156200030a5760008385830101525b9695505050505050565b80516001600160a01b03811681146200032c57600080fd5b919050565b600080600080608085870312156200034857600080fd5b84516001600160401b03808211156200036057600080fd5b6200036e888389016200025d565b955060208701519150808211156200038557600080fd5b5062000394878288016200025d565b935050620003a56040860162000314565b9150620003b56060860162000314565b905092959194509250565b600181811c90821680620003d557607f821691505b602082108103620003f657634e487b7160e01b600052602260045260246000fd5b50919050565b612c26806200040c6000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c806370a082311161013b578063c1a094f8116100b8578063e0d8a4a71161007c578063e0d8a4a7146104fe578063e8a3d48514610511578063e985e9c514610519578063f2fde38b14610555578063f7cd15d51461056857600080fd5b8063c1a094f81461049c578063c375c2ef146104af578063c87b56dd146104c2578063d7cae3db146104d5578063daa9855c146104de57600080fd5b806395d89b41116100ff57806395d89b4114610453578063a22cb4651461045b578063af39a8e21461046e578063b7a5d97c14610481578063b88d4fde1461048957600080fd5b806370a0823114610402578063715018a61461041557806373fbd59d1461041d5780637acc5b09146104305780638da5cb5b1461044257600080fd5b80632a55205a116101c95780633f5160181161018d5780633f5160181461038d57806342842e0e146103a05780634f6ccce7146103b35780636352211e146103c6578063654e67da146103d957600080fd5b80632a55205a146103025780632f745c591461033457806331725bd7146103475780633afcafb41461035a5780633ce9d0e51461036d57600080fd5b80630982790e116102105780630982790e146102bf57806318160ddd146102cc578063190d955f146102de5780631caf5246146102e757806323b872dd146102ef57600080fd5b806301ffc9a71461024257806306fdde031461026a578063081812fc1461027f578063095ea7b3146102aa575b600080fd5b6102556102503660046122dd565b610594565b60405190151581526020015b60405180910390f35b610272610601565b6040516102619190612352565b61029261028d366004612365565b610693565b6040516001600160a01b039091168152602001610261565b6102bd6102b8366004612393565b610725565b005b600a546102559060ff1681565b6004545b604051908152602001610261565b6102d0610ea681565b6102bd61083c565b6102bd6102fd3660046123bf565b61087a565b610315610310366004612400565b6108ab565b604080516001600160a01b039093168352602083019190915201610261565b6102d0610342366004612393565b610974565b6102bd610355366004612422565b610a3e565b6102bd610368366004612515565b610a92565b61038061037b3660046125d7565b610b8e565b604051610261919061264c565b61029261039b366004612422565b610ce0565b6102bd6103ae3660046123bf565b610d30565b6102d06103c1366004612365565b610d4b565b6102926103d4366004612365565b610e05565b6102d06103e7366004612422565b6001600160a01b031660009081526010602052604090205490565b6102d0610410366004612422565b610e1c565b6102bd610eec565b6102d061042b366004612393565b610f22565b600a5461025590610100900460ff1681565b6007546001600160a01b0316610292565b610272611164565b6102bd610469366004612699565b611173565b6102bd61047c3660046126d7565b611237565b6102bd61126d565b6102bd610497366004612737565b6112b4565b6102bd6104aa366004612515565b6112ec565b6102bd6104bd366004612422565b61151b565b6102726104d0366004612365565b611566565b6102d06107d081565b6104f16104ec366004612422565b61162e565b60405161026191906127fb565b6102bd61050c3660046126d7565b611755565b61027261178b565b610255610527366004612833565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6102bd610563366004612422565b61179a565b610255610576366004612422565b6001600160a01b03166000908152600e602052604090205460ff1690565b60006001600160e01b031982166380ac58cd60e01b14806105c557506001600160e01b03198216635b5e139f60e01b145b806105e057506001600160e01b0319821663780e9d6360e01b145b806105fb57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461061090612861565b80601f016020809104026020016040519081016040528092919081815260200182805461063c90612861565b80156106895780601f1061065e57610100808354040283529160200191610689565b820191906000526020600020905b81548152906001019060200180831161066c57829003601f168201915b5050505050905090565b60006106a0826004541190565b6107095760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061073082610e05565b9050806001600160a01b0316836001600160a01b03160361079f5760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b6064820152608401610700565b336001600160a01b03821614806107bb57506107bb8133610527565b61082d5760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c00000000006064820152608401610700565b6108378383611835565b505050565b6007546001600160a01b031633146108665760405162461bcd60e51b81526004016107009061289b565b600a805460ff19811660ff90911615179055565b61088433826118a3565b6108a05760405162461bcd60e51b8152600401610700906128d0565b610837838383611992565b6000806108b9846004541190565b6108f95760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610700565b600a5460ff1615156001146109465760405162461bcd60e51b8152602060048201526013602482015272149bde585b1d1a595cc8191a5cdcd8589b1959606a1b6044820152606401610700565b600b546001600160a01b0316606461095f85600761293a565b610969919061296f565b915091509250929050565b60008060005b6004548110156109e95761098f816004541190565b80156109b4575061099f81610e05565b6001600160a01b0316856001600160a01b0316145b156109d7578382036109c95791506105fb9050565b816109d381612983565b9250505b806109e181612983565b91505061097a565b5060405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a206f776e657220696e646578206f7574206f6620626f604482015263756e647360e01b6064820152608401610700565b6007546001600160a01b03163314610a685760405162461bcd60e51b81526004016107009061289b565b600a80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6007546001600160a01b03163314610abc5760405162461bcd60e51b81526004016107009061289b565b60005b8251811015610837576001600e6000858481518110610ae057610ae061299c565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550818181518110610b3157610b3161299c565b6020026020010151600f6000858481518110610b4f57610b4f61299c565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610b8690612983565b915050610abf565b6007546060906001600160a01b03163314610bbb5760405162461bcd60e51b81526004016107009061289b565b60008267ffffffffffffffff811115610bd657610bd661243f565b604051908082528060200260200182016040528015610bff578160200160208202803683370190505b50905060005b83811015610cd857600a546201000090046001600160a01b0316636352211e868684818110610c3657610c3661299c565b905060200201356040518263ffffffff1660e01b8152600401610c5b91815260200190565b602060405180830381865afa158015610c78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9c91906129b2565b828281518110610cae57610cae61299c565b6001600160a01b039092166020928302919091019091015280610cd081612983565b915050610c05565b509392505050565b6007546000906001600160a01b03163314610d0d5760405162461bcd60e51b81526004016107009061289b565b50600b80546001600160a01b0319166001600160a01b0392909216918217905590565b610837838383604051806020016040528060008152506112b4565b6000610d5660045490565b8210610db25760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a20676c6f62616c20696e646578206f7574206f6620626044820152646f756e647360d81b6064820152608401610700565b6000805b600454811015610dfe57610dcb816004541190565b15610dec57838203610dde579392505050565b81610de881612983565b9250505b80610df681612983565b915050610db6565b5050919050565b6000806000610e1384611b7e565b50949350505050565b60006001600160a01b038216610e8a5760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b6064820152608401610700565b6000805b600454811015610ee557610ea3816004541190565b15610ed557610eb181610e05565b6001600160a01b0316846001600160a01b031603610ed557610ed282612983565b91505b610ede81612983565b9050610e8e565b5092915050565b6007546001600160a01b03163314610f165760405162461bcd60e51b81526004016107009061289b565b610f206000611c17565b565b6000600260085403610f765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610700565b6002600855336000908152600e602052604090205460ff161515600114610fdf5760405162461bcd60e51b815260206004820152601f60248201527f546869732061646472657373206973206e6f742077686974656c6973746564006044820152606401610700565b336000908152600f60209081526040808320546010909252909120546110069084906129cf565b106110535760405162461bcd60e51b815260206004820152601a60248201527f52657175657374696e6720746f6f206d616e7920746f6b656e730000000000006044820152606401610700565b611061610ea66107d06129cf565b8261106b60045490565b61107591906129cf565b11156110b45760405162461bcd60e51b815260206004820152600e60248201526d139bc81d1bdad95b9cc81b19599d60921b6044820152606401610700565b600a5460ff61010090910416151560011461111d5760405162461bcd60e51b815260206004820152602360248201527f546869732066756e6374696f6e2069732063757272656e746c792064697361626044820152621b195960ea1b6064820152608401610700565b336000908152601060205260409020546111389083906129cf565b506111438383611c69565b600161114e60045490565b61115891906129e7565b60016008559392505050565b60606002805461061090612861565b336001600160a01b038316036111cb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152606401610700565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146112615760405162461bcd60e51b81526004016107009061289b565b610837600c838361222e565b6007546001600160a01b031633146112975760405162461bcd60e51b81526004016107009061289b565b600a805461ff001981166101009182900460ff1615909102179055565b6112be33836118a3565b6112da5760405162461bcd60e51b8152600401610700906128d0565b6112e684848484611c87565b50505050565b60026008540361133e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610700565b6002600855806000805b825181101561138a578281815181106113635761136361299c565b60200260200101518261137691906129cf565b91508061138281612983565b915050611348565b50610ea660018261139a60045490565b6113a491906129cf565b6113ae91906129e7565b11156114145760405162461bcd60e51b815260206004820152602f60248201527f536f7272792c20746865726520617265206e6f7420656e6f756768206172747760448201526e37b935b9903932b6b0b4b734b7339760891b6064820152608401610700565b6007546001600160a01b0316331461143e5760405162461bcd60e51b81526004016107009061289b565b82518451146114b55760405162461bcd60e51b815260206004820152603960248201527f456e7375726520796f752070726f7669646520746865206e756d626572206f6660448201527f20746f6b656e7320666f722065766572792061646472657373000000000000006064820152608401610700565b60005b845181101561150f576114fd8582815181106114d6576114d661299c565b60200260200101518583815181106114f0576114f061299c565b6020026020010151611c69565b8061150781612983565b9150506114b8565b50506001600855505050565b6007546001600160a01b031633146115455760405162461bcd60e51b81526004016107009061289b565b6001600160a01b03166000908152600e60205260409020805460ff19169055565b6060611573826004541190565b6115d25760405162461bcd60e51b815260206004820152602a60248201527f4552433732315073693a2055524920717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610700565b60006115dc611cbc565b905060008151116115fc5760405180602001604052806000815250611627565b8061160684611ccb565b6040516020016116179291906129fe565b6040516020818303038152906040525b9392505050565b6060600061163b83610e1c565b116116945760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742063757272656e746c7920686f6c6420616e7920746f6b604482015262656e7360e81b6064820152608401610700565b600061169f83610e1c565b90506000808267ffffffffffffffff8111156116bd576116bd61243f565b6040519080825280602002602001820160405280156116e6578160200160208202803683370190505b50905060005b600454811015610e1357856001600160a01b031661170982610e05565b6001600160a01b031603611743578082848151811061172a5761172a61299c565b60209081029190910101528261173f81612983565b9350505b8061174d81612983565b9150506116ec565b6007546001600160a01b0316331461177f5760405162461bcd60e51b81526004016107009061289b565b610837600d838361222e565b6060600c805461061090612861565b6007546001600160a01b031633146117c45760405162461bcd60e51b81526004016107009061289b565b6001600160a01b0381166118295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610700565b61183281611c17565b50565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061186a82610e05565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118b0826004541190565b6119145760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610700565b600061191f83610e05565b9050806001600160a01b0316846001600160a01b0316148061195a5750836001600160a01b031661194f84610693565b6001600160a01b0316145b8061198a57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b60008061199e83611b7e565b91509150846001600160a01b0316826001600160a01b031614611a185760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b6064820152608401610700565b6001600160a01b038416611a7e5760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b6064820152608401610700565b611a89600084611835565b6000611a968460016129cf565b600881901c600090815260208190526040902054909150600160ff1b60ff83161c16158015611ac6575060045481105b15611afc57600081815260036020526040812080546001600160a01b0319166001600160a01b038916179055611afc9082611dcc565b600084815260036020526040902080546001600160a01b0319166001600160a01b038716179055818414611b3557611b35600085611dcc565b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080611b8c836004541190565b611bed5760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610700565b611bf683611df8565b6000818152600360205260409020546001600160a01b031694909350915050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c83828260405180602001604052806000815250611e04565b5050565b611c92848484611992565b611ca0848484600185611e1b565b6112e65760405162461bcd60e51b815260040161070090612a2d565b6060600d805461061090612861565b606081600003611cf25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d1c5780611d0681612983565b9150611d159050600a8361296f565b9150611cf6565b60008167ffffffffffffffff811115611d3757611d3761243f565b6040519080825280601f01601f191660200182016040528015611d61576020820181803683370190505b5090505b841561198a57611d766001836129e7565b9150611d83600a86612a82565b611d8e9060306129cf565b60f81b818381518110611da357611da361299c565b60200101906001600160f81b031916908160001a905350611dc5600a8661296f565b9450611d65565b600881901c600090815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b60006105fb8183611f52565b600454611e118484612047565b611ca06000858386865b60006001600160a01b0385163b15611f4557506001835b611e3c84866129cf565b811015611f3f57604051630a85bd0160e11b81526001600160a01b0387169063150b7a0290611e759033908b9086908990600401612a96565b6020604051808303816000875af1925050508015611eb0575060408051601f3d908101601f19168201909252611ead91810190612ad3565b60015b611f0d573d808015611ede576040519150601f19603f3d011682016040523d82523d6000602084013e611ee3565b606091505b508051600003611f055760405162461bcd60e51b815260040161070090612a2d565b805181602001fd5b828015611f2a57506001600160e01b03198116630a85bd0160e11b145b92505080611f3781612983565b915050611e32565b50611f49565b5060015b95945050505050565b600881901c60008181526020849052604081205490919060ff808516919082181c8015611f9757611f82816121ac565b60ff168203600884901b1793505050506105fb565b600083116120045760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b6064820152608401610700565b5060001990910160008181526020869052604090205490919080156120425761202c816121ac565b60ff0360ff16600884901b1793505050506105fb565b611f97565b600454816120a55760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b6064820152608401610700565b6001600160a01b0383166121075760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610700565b816004600082825461211991906129cf565b9091555050600081815260036020526040812080546001600160a01b0319166001600160a01b03861617905561214f9082611dcc565b805b61215b83836129cf565b8110156112e65760405181906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4806121a481612983565b915050612151565b60006040518061012001604052806101008152602001612af1610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff6121f585612216565b02901c815181106122085761220861299c565b016020015160f81c92915050565b600080821161222457600080fd5b5060008190031690565b82805461223a90612861565b90600052602060002090601f01602090048101928261225c57600085556122a2565b82601f106122755782800160ff198235161785556122a2565b828001600101855582156122a2579182015b828111156122a2578235825591602001919060010190612287565b506122ae9291506122b2565b5090565b5b808211156122ae57600081556001016122b3565b6001600160e01b03198116811461183257600080fd5b6000602082840312156122ef57600080fd5b8135611627816122c7565b60005b838110156123155781810151838201526020016122fd565b838111156112e65750506000910152565b6000815180845261233e8160208601602086016122fa565b601f01601f19169290920160200192915050565b6020815260006116276020830184612326565b60006020828403121561237757600080fd5b5035919050565b6001600160a01b038116811461183257600080fd5b600080604083850312156123a657600080fd5b82356123b18161237e565b946020939093013593505050565b6000806000606084860312156123d457600080fd5b83356123df8161237e565b925060208401356123ef8161237e565b929592945050506040919091013590565b6000806040838503121561241357600080fd5b50508035926020909101359150565b60006020828403121561243457600080fd5b81356116278161237e565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561247e5761247e61243f565b604052919050565b600067ffffffffffffffff8211156124a0576124a061243f565b5060051b60200190565b600082601f8301126124bb57600080fd5b813560206124d06124cb83612486565b612455565b82815260059290921b840181019181810190868411156124ef57600080fd5b8286015b8481101561250a57803583529183019183016124f3565b509695505050505050565b6000806040838503121561252857600080fd5b823567ffffffffffffffff8082111561254057600080fd5b818501915085601f83011261255457600080fd5b813560206125646124cb83612486565b82815260059290921b8401810191818101908984111561258357600080fd5b948201945b838610156125aa57853561259b8161237e565b82529482019490820190612588565b965050860135925050808211156125c057600080fd5b506125cd858286016124aa565b9150509250929050565b600080602083850312156125ea57600080fd5b823567ffffffffffffffff8082111561260257600080fd5b818501915085601f83011261261657600080fd5b81358181111561262557600080fd5b8660208260051b850101111561263a57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561268d5783516001600160a01b031683529284019291840191600101612668565b50909695505050505050565b600080604083850312156126ac57600080fd5b82356126b78161237e565b9150602083013580151581146126cc57600080fd5b809150509250929050565b600080602083850312156126ea57600080fd5b823567ffffffffffffffff8082111561270257600080fd5b818501915085601f83011261271657600080fd5b81358181111561272557600080fd5b86602082850101111561263a57600080fd5b6000806000806080858703121561274d57600080fd5b84356127588161237e565b93506020858101356127698161237e565b935060408601359250606086013567ffffffffffffffff8082111561278d57600080fd5b818801915088601f8301126127a157600080fd5b8135818111156127b3576127b361243f565b6127c5601f8201601f19168501612455565b915080825289848285010111156127db57600080fd5b808484018584013760008482840101525080935050505092959194509250565b6020808252825182820181905260009190848201906040850190845b8181101561268d57835183529284019291840191600101612817565b6000806040838503121561284657600080fd5b82356128518161237e565b915060208301356126cc8161237e565b600181811c9082168061287557607f821691505b60208210810361289557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561295457612954612924565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261297e5761297e612959565b500490565b60006001820161299557612995612924565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156129c457600080fd5b81516116278161237e565b600082198211156129e2576129e2612924565b500190565b6000828210156129f9576129f9612924565b500390565b60008351612a108184602088016122fa565b835190830190612a248183602088016122fa565b01949350505050565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b600082612a9157612a91612959565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ac990830184612326565b9695505050505050565b600060208284031215612ae557600080fd5b8151611627816122c756fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a264697066735822122032c05e071612633a8c169753ee259a2b352aba60e71923b9f2de12aa7e02d22964736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000ad04907941f84d7f63bd51e8066ac08847895a2e000000000000000000000000692038c37f56e1772ce1d61cd0ff2d42890284580000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d63467757536f3543447a53574d7a44336b626d5556675273624c704a7457704b51706b4c736b3775514353520000000000000000000000000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f61652d73686f772d616e642d74656c6c2e73332e616d617a6f6e6177732e636f6d2f00000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c806370a082311161013b578063c1a094f8116100b8578063e0d8a4a71161007c578063e0d8a4a7146104fe578063e8a3d48514610511578063e985e9c514610519578063f2fde38b14610555578063f7cd15d51461056857600080fd5b8063c1a094f81461049c578063c375c2ef146104af578063c87b56dd146104c2578063d7cae3db146104d5578063daa9855c146104de57600080fd5b806395d89b41116100ff57806395d89b4114610453578063a22cb4651461045b578063af39a8e21461046e578063b7a5d97c14610481578063b88d4fde1461048957600080fd5b806370a0823114610402578063715018a61461041557806373fbd59d1461041d5780637acc5b09146104305780638da5cb5b1461044257600080fd5b80632a55205a116101c95780633f5160181161018d5780633f5160181461038d57806342842e0e146103a05780634f6ccce7146103b35780636352211e146103c6578063654e67da146103d957600080fd5b80632a55205a146103025780632f745c591461033457806331725bd7146103475780633afcafb41461035a5780633ce9d0e51461036d57600080fd5b80630982790e116102105780630982790e146102bf57806318160ddd146102cc578063190d955f146102de5780631caf5246146102e757806323b872dd146102ef57600080fd5b806301ffc9a71461024257806306fdde031461026a578063081812fc1461027f578063095ea7b3146102aa575b600080fd5b6102556102503660046122dd565b610594565b60405190151581526020015b60405180910390f35b610272610601565b6040516102619190612352565b61029261028d366004612365565b610693565b6040516001600160a01b039091168152602001610261565b6102bd6102b8366004612393565b610725565b005b600a546102559060ff1681565b6004545b604051908152602001610261565b6102d0610ea681565b6102bd61083c565b6102bd6102fd3660046123bf565b61087a565b610315610310366004612400565b6108ab565b604080516001600160a01b039093168352602083019190915201610261565b6102d0610342366004612393565b610974565b6102bd610355366004612422565b610a3e565b6102bd610368366004612515565b610a92565b61038061037b3660046125d7565b610b8e565b604051610261919061264c565b61029261039b366004612422565b610ce0565b6102bd6103ae3660046123bf565b610d30565b6102d06103c1366004612365565b610d4b565b6102926103d4366004612365565b610e05565b6102d06103e7366004612422565b6001600160a01b031660009081526010602052604090205490565b6102d0610410366004612422565b610e1c565b6102bd610eec565b6102d061042b366004612393565b610f22565b600a5461025590610100900460ff1681565b6007546001600160a01b0316610292565b610272611164565b6102bd610469366004612699565b611173565b6102bd61047c3660046126d7565b611237565b6102bd61126d565b6102bd610497366004612737565b6112b4565b6102bd6104aa366004612515565b6112ec565b6102bd6104bd366004612422565b61151b565b6102726104d0366004612365565b611566565b6102d06107d081565b6104f16104ec366004612422565b61162e565b60405161026191906127fb565b6102bd61050c3660046126d7565b611755565b61027261178b565b610255610527366004612833565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6102bd610563366004612422565b61179a565b610255610576366004612422565b6001600160a01b03166000908152600e602052604090205460ff1690565b60006001600160e01b031982166380ac58cd60e01b14806105c557506001600160e01b03198216635b5e139f60e01b145b806105e057506001600160e01b0319821663780e9d6360e01b145b806105fb57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461061090612861565b80601f016020809104026020016040519081016040528092919081815260200182805461063c90612861565b80156106895780601f1061065e57610100808354040283529160200191610689565b820191906000526020600020905b81548152906001019060200180831161066c57829003601f168201915b5050505050905090565b60006106a0826004541190565b6107095760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061073082610e05565b9050806001600160a01b0316836001600160a01b03160361079f5760405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f6044820152633bb732b960e11b6064820152608401610700565b336001600160a01b03821614806107bb57506107bb8133610527565b61082d5760405162461bcd60e51b815260206004820152603b60248201527f4552433732315073693a20617070726f76652063616c6c6572206973206e6f7460448201527f206f776e6572206e6f7220617070726f76656420666f7220616c6c00000000006064820152608401610700565b6108378383611835565b505050565b6007546001600160a01b031633146108665760405162461bcd60e51b81526004016107009061289b565b600a805460ff19811660ff90911615179055565b61088433826118a3565b6108a05760405162461bcd60e51b8152600401610700906128d0565b610837838383611992565b6000806108b9846004541190565b6108f95760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b6044820152606401610700565b600a5460ff1615156001146109465760405162461bcd60e51b8152602060048201526013602482015272149bde585b1d1a595cc8191a5cdcd8589b1959606a1b6044820152606401610700565b600b546001600160a01b0316606461095f85600761293a565b610969919061296f565b915091509250929050565b60008060005b6004548110156109e95761098f816004541190565b80156109b4575061099f81610e05565b6001600160a01b0316856001600160a01b0316145b156109d7578382036109c95791506105fb9050565b816109d381612983565b9250505b806109e181612983565b91505061097a565b5060405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a206f776e657220696e646578206f7574206f6620626f604482015263756e647360e01b6064820152608401610700565b6007546001600160a01b03163314610a685760405162461bcd60e51b81526004016107009061289b565b600a80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6007546001600160a01b03163314610abc5760405162461bcd60e51b81526004016107009061289b565b60005b8251811015610837576001600e6000858481518110610ae057610ae061299c565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550818181518110610b3157610b3161299c565b6020026020010151600f6000858481518110610b4f57610b4f61299c565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610b8690612983565b915050610abf565b6007546060906001600160a01b03163314610bbb5760405162461bcd60e51b81526004016107009061289b565b60008267ffffffffffffffff811115610bd657610bd661243f565b604051908082528060200260200182016040528015610bff578160200160208202803683370190505b50905060005b83811015610cd857600a546201000090046001600160a01b0316636352211e868684818110610c3657610c3661299c565b905060200201356040518263ffffffff1660e01b8152600401610c5b91815260200190565b602060405180830381865afa158015610c78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9c91906129b2565b828281518110610cae57610cae61299c565b6001600160a01b039092166020928302919091019091015280610cd081612983565b915050610c05565b509392505050565b6007546000906001600160a01b03163314610d0d5760405162461bcd60e51b81526004016107009061289b565b50600b80546001600160a01b0319166001600160a01b0392909216918217905590565b610837838383604051806020016040528060008152506112b4565b6000610d5660045490565b8210610db25760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a20676c6f62616c20696e646578206f7574206f6620626044820152646f756e647360d81b6064820152608401610700565b6000805b600454811015610dfe57610dcb816004541190565b15610dec57838203610dde579392505050565b81610de881612983565b9250505b80610df681612983565b915050610db6565b5050919050565b6000806000610e1384611b7e565b50949350505050565b60006001600160a01b038216610e8a5760405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201526c207a65726f206164647265737360981b6064820152608401610700565b6000805b600454811015610ee557610ea3816004541190565b15610ed557610eb181610e05565b6001600160a01b0316846001600160a01b031603610ed557610ed282612983565b91505b610ede81612983565b9050610e8e565b5092915050565b6007546001600160a01b03163314610f165760405162461bcd60e51b81526004016107009061289b565b610f206000611c17565b565b6000600260085403610f765760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610700565b6002600855336000908152600e602052604090205460ff161515600114610fdf5760405162461bcd60e51b815260206004820152601f60248201527f546869732061646472657373206973206e6f742077686974656c6973746564006044820152606401610700565b336000908152600f60209081526040808320546010909252909120546110069084906129cf565b106110535760405162461bcd60e51b815260206004820152601a60248201527f52657175657374696e6720746f6f206d616e7920746f6b656e730000000000006044820152606401610700565b611061610ea66107d06129cf565b8261106b60045490565b61107591906129cf565b11156110b45760405162461bcd60e51b815260206004820152600e60248201526d139bc81d1bdad95b9cc81b19599d60921b6044820152606401610700565b600a5460ff61010090910416151560011461111d5760405162461bcd60e51b815260206004820152602360248201527f546869732066756e6374696f6e2069732063757272656e746c792064697361626044820152621b195960ea1b6064820152608401610700565b336000908152601060205260409020546111389083906129cf565b506111438383611c69565b600161114e60045490565b61115891906129e7565b60016008559392505050565b60606002805461061090612861565b336001600160a01b038316036111cb5760405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152606401610700565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b031633146112615760405162461bcd60e51b81526004016107009061289b565b610837600c838361222e565b6007546001600160a01b031633146112975760405162461bcd60e51b81526004016107009061289b565b600a805461ff001981166101009182900460ff1615909102179055565b6112be33836118a3565b6112da5760405162461bcd60e51b8152600401610700906128d0565b6112e684848484611c87565b50505050565b60026008540361133e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610700565b6002600855806000805b825181101561138a578281815181106113635761136361299c565b60200260200101518261137691906129cf565b91508061138281612983565b915050611348565b50610ea660018261139a60045490565b6113a491906129cf565b6113ae91906129e7565b11156114145760405162461bcd60e51b815260206004820152602f60248201527f536f7272792c20746865726520617265206e6f7420656e6f756768206172747760448201526e37b935b9903932b6b0b4b734b7339760891b6064820152608401610700565b6007546001600160a01b0316331461143e5760405162461bcd60e51b81526004016107009061289b565b82518451146114b55760405162461bcd60e51b815260206004820152603960248201527f456e7375726520796f752070726f7669646520746865206e756d626572206f6660448201527f20746f6b656e7320666f722065766572792061646472657373000000000000006064820152608401610700565b60005b845181101561150f576114fd8582815181106114d6576114d661299c565b60200260200101518583815181106114f0576114f061299c565b6020026020010151611c69565b8061150781612983565b9150506114b8565b50506001600855505050565b6007546001600160a01b031633146115455760405162461bcd60e51b81526004016107009061289b565b6001600160a01b03166000908152600e60205260409020805460ff19169055565b6060611573826004541190565b6115d25760405162461bcd60e51b815260206004820152602a60248201527f4552433732315073693a2055524920717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610700565b60006115dc611cbc565b905060008151116115fc5760405180602001604052806000815250611627565b8061160684611ccb565b6040516020016116179291906129fe565b6040516020818303038152906040525b9392505050565b6060600061163b83610e1c565b116116945760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e27742063757272656e746c7920686f6c6420616e7920746f6b604482015262656e7360e81b6064820152608401610700565b600061169f83610e1c565b90506000808267ffffffffffffffff8111156116bd576116bd61243f565b6040519080825280602002602001820160405280156116e6578160200160208202803683370190505b50905060005b600454811015610e1357856001600160a01b031661170982610e05565b6001600160a01b031603611743578082848151811061172a5761172a61299c565b60209081029190910101528261173f81612983565b9350505b8061174d81612983565b9150506116ec565b6007546001600160a01b0316331461177f5760405162461bcd60e51b81526004016107009061289b565b610837600d838361222e565b6060600c805461061090612861565b6007546001600160a01b031633146117c45760405162461bcd60e51b81526004016107009061289b565b6001600160a01b0381166118295760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610700565b61183281611c17565b50565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061186a82610e05565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118b0826004541190565b6119145760405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610700565b600061191f83610e05565b9050806001600160a01b0316846001600160a01b0316148061195a5750836001600160a01b031661194f84610693565b6001600160a01b0316145b8061198a57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b60008061199e83611b7e565b91509150846001600160a01b0316826001600160a01b031614611a185760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201526b3a1034b9903737ba1037bbb760a11b6064820152608401610700565b6001600160a01b038416611a7e5760405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f206044820152666164647265737360c81b6064820152608401610700565b611a89600084611835565b6000611a968460016129cf565b600881901c600090815260208190526040902054909150600160ff1b60ff83161c16158015611ac6575060045481105b15611afc57600081815260036020526040812080546001600160a01b0319166001600160a01b038916179055611afc9082611dcc565b600084815260036020526040902080546001600160a01b0319166001600160a01b038716179055818414611b3557611b35600085611dcc565b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600080611b8c836004541190565b611bed5760405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610700565b611bf683611df8565b6000818152600360205260409020546001600160a01b031694909350915050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c83828260405180602001604052806000815250611e04565b5050565b611c92848484611992565b611ca0848484600185611e1b565b6112e65760405162461bcd60e51b815260040161070090612a2d565b6060600d805461061090612861565b606081600003611cf25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d1c5780611d0681612983565b9150611d159050600a8361296f565b9150611cf6565b60008167ffffffffffffffff811115611d3757611d3761243f565b6040519080825280601f01601f191660200182016040528015611d61576020820181803683370190505b5090505b841561198a57611d766001836129e7565b9150611d83600a86612a82565b611d8e9060306129cf565b60f81b818381518110611da357611da361299c565b60200101906001600160f81b031916908160001a905350611dc5600a8661296f565b9450611d65565b600881901c600090815260209290925260409091208054600160ff1b60ff9093169290921c9091179055565b60006105fb8183611f52565b600454611e118484612047565b611ca06000858386865b60006001600160a01b0385163b15611f4557506001835b611e3c84866129cf565b811015611f3f57604051630a85bd0160e11b81526001600160a01b0387169063150b7a0290611e759033908b9086908990600401612a96565b6020604051808303816000875af1925050508015611eb0575060408051601f3d908101601f19168201909252611ead91810190612ad3565b60015b611f0d573d808015611ede576040519150601f19603f3d011682016040523d82523d6000602084013e611ee3565b606091505b508051600003611f055760405162461bcd60e51b815260040161070090612a2d565b805181602001fd5b828015611f2a57506001600160e01b03198116630a85bd0160e11b145b92505080611f3781612983565b915050611e32565b50611f49565b5060015b95945050505050565b600881901c60008181526020849052604081205490919060ff808516919082181c8015611f9757611f82816121ac565b60ff168203600884901b1793505050506105fb565b600083116120045760405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527334b73232bc103237b2b9b713ba1032bc34b9ba1760611b6064820152608401610700565b5060001990910160008181526020869052604090205490919080156120425761202c816121ac565b60ff0360ff16600884901b1793505050506105fb565b611f97565b600454816120a55760405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d7573742062652067726561604482015264074657220360dc1b6064820152608401610700565b6001600160a01b0383166121075760405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610700565b816004600082825461211991906129cf565b9091555050600081815260036020526040812080546001600160a01b0319166001600160a01b03861617905561214f9082611dcc565b805b61215b83836129cf565b8110156112e65760405181906001600160a01b038616906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4806121a481612983565b915050612151565b60006040518061012001604052806101008152602001612af1610100913960f87e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff6121f585612216565b02901c815181106122085761220861299c565b016020015160f81c92915050565b600080821161222457600080fd5b5060008190031690565b82805461223a90612861565b90600052602060002090601f01602090048101928261225c57600085556122a2565b82601f106122755782800160ff198235161785556122a2565b828001600101855582156122a2579182015b828111156122a2578235825591602001919060010190612287565b506122ae9291506122b2565b5090565b5b808211156122ae57600081556001016122b3565b6001600160e01b03198116811461183257600080fd5b6000602082840312156122ef57600080fd5b8135611627816122c7565b60005b838110156123155781810151838201526020016122fd565b838111156112e65750506000910152565b6000815180845261233e8160208601602086016122fa565b601f01601f19169290920160200192915050565b6020815260006116276020830184612326565b60006020828403121561237757600080fd5b5035919050565b6001600160a01b038116811461183257600080fd5b600080604083850312156123a657600080fd5b82356123b18161237e565b946020939093013593505050565b6000806000606084860312156123d457600080fd5b83356123df8161237e565b925060208401356123ef8161237e565b929592945050506040919091013590565b6000806040838503121561241357600080fd5b50508035926020909101359150565b60006020828403121561243457600080fd5b81356116278161237e565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561247e5761247e61243f565b604052919050565b600067ffffffffffffffff8211156124a0576124a061243f565b5060051b60200190565b600082601f8301126124bb57600080fd5b813560206124d06124cb83612486565b612455565b82815260059290921b840181019181810190868411156124ef57600080fd5b8286015b8481101561250a57803583529183019183016124f3565b509695505050505050565b6000806040838503121561252857600080fd5b823567ffffffffffffffff8082111561254057600080fd5b818501915085601f83011261255457600080fd5b813560206125646124cb83612486565b82815260059290921b8401810191818101908984111561258357600080fd5b948201945b838610156125aa57853561259b8161237e565b82529482019490820190612588565b965050860135925050808211156125c057600080fd5b506125cd858286016124aa565b9150509250929050565b600080602083850312156125ea57600080fd5b823567ffffffffffffffff8082111561260257600080fd5b818501915085601f83011261261657600080fd5b81358181111561262557600080fd5b8660208260051b850101111561263a57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b8181101561268d5783516001600160a01b031683529284019291840191600101612668565b50909695505050505050565b600080604083850312156126ac57600080fd5b82356126b78161237e565b9150602083013580151581146126cc57600080fd5b809150509250929050565b600080602083850312156126ea57600080fd5b823567ffffffffffffffff8082111561270257600080fd5b818501915085601f83011261271657600080fd5b81358181111561272557600080fd5b86602082850101111561263a57600080fd5b6000806000806080858703121561274d57600080fd5b84356127588161237e565b93506020858101356127698161237e565b935060408601359250606086013567ffffffffffffffff8082111561278d57600080fd5b818801915088601f8301126127a157600080fd5b8135818111156127b3576127b361243f565b6127c5601f8201601f19168501612455565b915080825289848285010111156127db57600080fd5b808484018584013760008482840101525080935050505092959194509250565b6020808252825182820181905260009190848201906040850190845b8181101561268d57835183529284019291840191600101612817565b6000806040838503121561284657600080fd5b82356128518161237e565b915060208301356126cc8161237e565b600181811c9082168061287557607f821691505b60208210810361289557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526034908201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f6040820152731d081bdddb995c881b9bdc88185c1c1c9bdd995960621b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561295457612954612924565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261297e5761297e612959565b500490565b60006001820161299557612995612924565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156129c457600080fd5b81516116278161237e565b600082198211156129e2576129e2612924565b500190565b6000828210156129f9576129f9612924565b500390565b60008351612a108184602088016122fa565b835190830190612a248183602088016122fa565b01949350505050565b60208082526035908201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527418a932b1b2b4bb32b91034b6b83632b6b2b73a32b960591b606082015260800190565b600082612a9157612a91612959565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ac990830184612326565b9695505050505050565b600060208284031215612ae557600080fd5b8151611627816122c756fe0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8a264697066735822122032c05e071612633a8c169753ee259a2b352aba60e71923b9f2de12aa7e02d22964736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000ad04907941f84d7f63bd51e8066ac08847895a2e000000000000000000000000692038c37f56e1772ce1d61cd0ff2d42890284580000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d63467757536f3543447a53574d7a44336b626d5556675273624c704a7457704b51706b4c736b3775514353520000000000000000000000000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f61652d73686f772d616e642d74656c6c2e73332e616d617a6f6e6177732e636f6d2f00000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _cURI (string): ipfs://QmcFwWSo5CDzSWMzD3kbmUVgRsbLpJtWpKQpkLsk7uQCSR
Arg [1] : _mURI (string): https://ae-show-and-tell.s3.amazonaws.com/
Arg [2] : _creatorAdd (address): 0xaD04907941f84d7f63Bd51e8066Ac08847895A2E
Arg [3] : _schAdd (address): 0x692038c37F56E1772cE1d61cD0Ff2d4289028458
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 000000000000000000000000ad04907941f84d7f63bd51e8066ac08847895a2e
Arg [3] : 000000000000000000000000692038c37f56e1772ce1d61cd0ff2d4289028458
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [5] : 697066733a2f2f516d63467757536f3543447a53574d7a44336b626d55566752
Arg [6] : 73624c704a7457704b51706b4c736b3775514353520000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000002a
Arg [8] : 68747470733a2f2f61652d73686f772d616e642d74656c6c2e73332e616d617a
Arg [9] : 6f6e6177732e636f6d2f00000000000000000000000000000000000000000000
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.