ERC-721
Overview
Max Total Supply
13,800 TWT
Holders
519
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 TWTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
theWorldTodayTwo
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.7; // SPDX-Licence-Identifier: RIGHT-CLICK-SAVE-ONLY //import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "../recovery/recovery.sol"; contract theWorldTodayTwo is ERC721, Ownable, IERC2981, recovery { using Strings for uint256; mapping (address => bool) public admins; string _thisURI = "https://arweave.net/Ll3Xs2ffaW3AnvtSd3LazQWQ-F38MnEzj5wQA3u0goY/"; uint256 constant _maxSupply = 13800; uint256 constant _rand = 20600; bytes32 _reqID; bool _randomReceived; uint256 _revealPointer; mapping(uint=>string) uris; address _twtAddress; uint256 _royalty = 10; mapping(uint256 => address) _per_token_royalty_destination; // use defaults if this is address(0) mapping(uint256 => uint256) _per_token_royalty_amount; mapping (uint256 => uint256) public allTokens; uint256 count; event Allowed(address,bool); event BaseURIChanged(string _thisURI); event UpdatedURI(uint256 tokenId,string replacement); event SetDefaultRoyalties(address destination,uint256 amount); event SetPerTokenRoyalties(uint256 tokenId,address destination,uint256 amount); modifier onlyAdmin() { require(admins[msg.sender] || (msg.sender == owner()),"Unauthorised"); _; } constructor( string memory _name, string memory _symbol, address _wallet ) ERC721(_name,_symbol) recovery(_wallet) { _twtAddress = _wallet; } receive() external payable { } function yesterday(uint256 serial) public pure returns (uint256) { return ((serial + (serial%10)*100) % _maxSupply) + 1; } function setAdmin(address _addr, bool _state) external onlyAdmin { admins[_addr] = _state; emit Allowed(_addr,_state); } function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Token does not exist"); address dest = _per_token_royalty_destination[tokenId]; if (dest == address(0)){ uint256 _royaltyAmount = (salePrice * _royalty) / 100; return (_twtAddress, _royaltyAmount); } return (dest,salePrice * _per_token_royalty_amount[tokenId] / 100); } function mintBatchToOne(address recipient, uint256[] memory tokenIds) external onlyAdmin { for (uint j = 0; j < tokenIds.length; j++) { require(!_exists(tokenIds[j]),"mintBatchToOne: One or more allocated tokens exists"); } for (uint j = 0; j < tokenIds.length; j++) { _minty(recipient,tokenIds[j]); } } function mintBatchToOneR(address recipient, uint256[] memory tokenIds ) external onlyAdmin { uint256 len = tokenIds.length; uint256[] memory newTids = new uint256[](len); for (uint j = 0; j < len; j++) { newTids[j] = yesterday(tokenIds[j]); require(!_exists(newTids[j]),"mintBatchToOne: One or more allocated tokens exists"); } for (uint j = 0; j < len; j++) { _minty( recipient, newTids[j] ); } } function mintBatchToMany(address[] memory recipients, uint256[] memory tokenIds) external onlyAdmin { require(tokenIds.length == recipients.length,"mintBatchToMany: Array length error"); for (uint j = 0; j < tokenIds.length; j++) { require(!_exists(tokenIds[j]),"mintBatchToMany: One or more allocated tokens exists"); } for (uint j = 0; j < tokenIds.length; j++) { _minty( recipients[j], tokenIds[j] ); } } function mintBatchToManyR(address[] memory recipients, uint256[] memory tokenIds) external onlyAdmin { uint256 len = tokenIds.length; uint256[] memory newTids = new uint256[](len); require(tokenIds.length == recipients.length,"mintBatchToManyR: Array length error"); for (uint j = 0; j < tokenIds.length; j++) { newTids[j] = yesterday(tokenIds[j]); require(!_exists(newTids[j]),"mintBatchToManyR: One or more allocated tokens exists"); } for (uint j = 0; j < tokenIds.length; j++) { _minty( recipients[j], newTids[j] ); } } function mintReplacement(address user, uint256 tokenId) external onlyAdmin { _minty(user, tokenId); } function _minty(address user, uint256 tokenId) internal { require(tokenId > 0, "No Zero TokenIds"); _mint(user,tokenId); allTokens[count++] = tokenId; } // RANDOMISATION --cut-here-8x------------------------------ function setRevealedBaseURI(string calldata thisURI) external onlyAdmin { _thisURI = thisURI; emit BaseURIChanged(thisURI); } function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { uint256 folderNo; uint256 fileNo; require(_exists(tokenId), 'Token does not exist'); string memory revealedBaseURI = _thisURI; if (bytes(uris[tokenId]).length != 0) { return uris[tokenId] ; } if (tokenId <= 10000) { folderNo = ((((tokenId / 100) + _rand) % 100) + 1); fileNo = (tokenId % 100); } else { folderNo = ((tokenId-1) / 100)+1; // 10,000 => 100, 13800 => 138 fileNo = (tokenId -1) % 100; } string memory folder = folderNo.toString(); string memory file = fileNo.toString(); return string(abi.encodePacked(revealedBaseURI,folder,"/",file)) ; } function totalSupply() external view returns (uint256) { return count; } function setURI(uint256 tokenId, string memory replacement) external onlyAdmin { uris[tokenId] = replacement; emit UpdatedURI(tokenId,replacement); } function setPerTokenRoyalty(uint256 tokenId, address destination, uint256 amount) external onlyAdmin { _per_token_royalty_destination[tokenId] = destination; _per_token_royalty_amount[tokenId] = amount; emit SetPerTokenRoyalties(tokenId,destination,amount); } function setDefaultRoyalties(address destination, uint256 amount) external onlyAdmin { _twtAddress = destination; _royalty = amount; emit SetDefaultRoyalties(destination,amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
pragma solidity ^0.8.7; // SPDX-Licence-Identifier: RIGHT-CLICK-SAVE-ONLY import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract recovery is Ownable { address recover; constructor(address _recovery) { recover = _recovery; } // blackhole prevention methods function retrieveETH() external { uint256 _balance = address(this).balance; (bool sent, ) = recover.call{value: _balance}(""); // don't use send or xfer (gas) require(sent, "Failed to send Ether"); } function retrieveERC20(address _tracker) external { uint256 balance = IERC20(_tracker).balanceOf(address(this)); IERC20(_tracker).transfer(recover, balance); } function retrieve721(address _tracker, uint256 id) external onlyOwner { IERC721(_tracker).transferFrom(address(this), msg.sender, id); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_wallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"bool","name":"","type":"bool"}],"name":"Allowed","type":"event"},{"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":false,"internalType":"string","name":"_thisURI","type":"string"}],"name":"BaseURIChanged","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":false,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SetDefaultRoyalties","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SetPerTokenRoyalties","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"replacement","type":"string"}],"name":"UpdatedURI","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allTokens","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintBatchToMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintBatchToManyR","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintBatchToOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintBatchToOneR","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintReplacement","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tracker","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"retrieve721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tracker","type":"address"}],"name":"retrieveERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retrieveETH","outputs":[],"stateMutability":"nonpayable","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":"_addr","type":"address"},{"internalType":"bool","name":"_state","type":"bool"}],"name":"setAdmin","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":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setDefaultRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setPerTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"thisURI","type":"string"}],"name":"setRevealedBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"replacement","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"serial","type":"uint256"}],"name":"yesterday","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e060409081526080818152906200309960a039805162000029916009916020909101906200013b565b50600a600f553480156200003c57600080fd5b50604051620030d9380380620030d98339810160408190526200005f9162000298565b80838381600090805190602001906200007a9291906200013b565b508051620000909060019060208401906200013b565b505050620000ad620000a7620000e560201b60201c565b620000e9565b600780546001600160a01b039283166001600160a01b031991821617909155600e805493909216921691909117905550620003789050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001499062000325565b90600052602060002090601f0160209004810192826200016d5760008555620001b8565b82601f106200018857805160ff1916838001178555620001b8565b82800160010185558215620001b8579182015b82811115620001b85782518255916020019190600101906200019b565b50620001c6929150620001ca565b5090565b5b80821115620001c65760008155600101620001cb565b600082601f830112620001f357600080fd5b81516001600160401b038082111562000210576200021062000362565b604051601f8301601f19908116603f011681019082821181831017156200023b576200023b62000362565b816040528381526020925086838588010111156200025857600080fd5b600091505b838210156200027c57858201830151818301840152908201906200025d565b838211156200028e5760008385830101525b9695505050505050565b600080600060608486031215620002ae57600080fd5b83516001600160401b0380821115620002c657600080fd5b620002d487838801620001e1565b94506020860151915080821115620002eb57600080fd5b50620002fa86828701620001e1565b604086015190935090506001600160a01b03811681146200031a57600080fd5b809150509250925092565b600181811c908216806200033a57607f821691505b602082108114156200035c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612d1180620003886000396000f3fe6080604052600436106101fc5760003560e01c806370a082311161010d578063a5b3abfb116100a0578063c69267961161006f578063c6926796146105fc578063c87b56dd1461061c578063d5b014c31461063c578063e985e9c514610651578063f2fde38b1461069a57600080fd5b8063a5b3abfb1461057c578063b103dd291461059c578063b150919f146105bc578063b88d4fde146105dc57600080fd5b80638da5cb5b116100dc5780638da5cb5b14610509578063911ec41b1461052757806395d89b4114610547578063a22cb4651461055c57600080fd5b806370a0823114610494578063715018a6146104b45780637177e1a3146104c9578063862440e2146104e957600080fd5b80632a55205a116101905780634b0bddd21161015f5780634b0bddd2146103e75780634fbded1814610407578063634282af146104275780636352211e146104545780636e83843a1461047457600080fd5b80632a55205a146103385780633f1ec7621461037757806342842e0e14610397578063429b62e5146103b757600080fd5b8063095ea7b3116101cc578063095ea7b3146102b95780630bce9828146102d957806318160ddd146102f957806323b872dd1461031857600080fd5b80623d45f71461020857806301ffc9a71461022a57806306fdde031461025f578063081812fc1461028157600080fd5b3661020357005b600080fd5b34801561021457600080fd5b5061022861022336600461265d565b6106ba565b005b34801561023657600080fd5b5061024a610245366004612737565b6108fa565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027461094c565b6040516102569190612995565b34801561028d57600080fd5b506102a161029c3660046127e3565b6109de565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102286102d4366004612633565b610a66565b3480156102e557600080fd5b506102286102f436600461265d565b610b7c565b34801561030557600080fd5b506013545b604051908152602001610256565b34801561032457600080fd5b506102286103333660046124f6565b610cee565b34801561034457600080fd5b5061035861035336600461288b565b610d1f565b604080516001600160a01b039093168352602083019190915201610256565b34801561038357600080fd5b5061030a6103923660046127e3565b610df4565b3480156103a357600080fd5b506102286103b23660046124f6565b610e2e565b3480156103c357600080fd5b5061024a6103d23660046124a1565b60086020526000908152604090205460ff1681565b3480156103f357600080fd5b506102286104023660046125fc565b610e49565b34801561041357600080fd5b50610228610422366004612633565b610ef1565b34801561043357600080fd5b5061030a6104423660046127e3565b60126020526000908152604090205481565b34801561046057600080fd5b506102a161046f3660046127e3565b610f8e565b34801561048057600080fd5b5061022861048f366004612771565b611005565b3480156104a057600080fd5b5061030a6104af3660046124a1565b611087565b3480156104c057600080fd5b5061022861110e565b3480156104d557600080fd5b506102286104e4366004612815565b611144565b3480156104f557600080fd5b5061022861050436600461283a565b611204565b34801561051557600080fd5b506006546001600160a01b03166102a1565b34801561053357600080fd5b506102286105423660046125ae565b611299565b34801561055357600080fd5b50610274611362565b34801561056857600080fd5b506102286105773660046125fc565b611371565b34801561058857600080fd5b50610228610597366004612633565b611380565b3480156105a857600080fd5b506102286105b73660046124a1565b611414565b3480156105c857600080fd5b506102286105d7366004612633565b611516565b3480156105e857600080fd5b506102286105f7366004612532565b611564565b34801561060857600080fd5b506102286106173660046125ae565b61159c565b34801561062857600080fd5b506102746106373660046127e3565b6116df565b34801561064857600080fd5b50610228611956565b34801561065d57600080fd5b5061024a61066c3660046124c3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106a657600080fd5b506102286106b53660046124a1565b6119f4565b3360009081526008602052604090205460ff16806106e257506006546001600160a01b031633145b6107075760405162461bcd60e51b81526004016106fe90612a4d565b60405180910390fd5b805160008167ffffffffffffffff81111561072457610724612ca1565b60405190808252806020026020018201604052801561074d578160200160208202803683370190505b50905083518351146107ad5760405162461bcd60e51b8152602060048201526024808201527f6d696e744261746368546f4d616e79523a204172726179206c656e6774682065604482015263393937b960e11b60648201526084016106fe565b60005b8351811015610898576107db8482815181106107ce576107ce612c8b565b6020026020010151610df4565b8282815181106107ed576107ed612c8b565b60200260200101818152505061081b82828151811061080e5761080e612c8b565b6020026020010151611a8f565b156108865760405162461bcd60e51b815260206004820152603560248201527f6d696e744261746368546f4d616e79523a204f6e65206f72206d6f726520616c6044820152746c6f636174656420746f6b656e732065786973747360581b60648201526084016106fe565b8061089081612c30565b9150506107b0565b5060005b83518110156108f3576108e18582815181106108ba576108ba612c8b565b60200260200101518383815181106108d4576108d4612c8b565b6020026020010151611aac565b806108eb81612c30565b91505061089c565b5050505050565b60006001600160e01b031982166380ac58cd60e01b148061092b57506001600160e01b03198216635b5e139f60e01b145b8061094657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461095b90612bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461098790612bf5565b80156109d45780601f106109a9576101008083540402835291602001916109d4565b820191906000526020600020905b8154815290600101906020018083116109b757829003601f168201915b5050505050905090565b60006109e982611a8f565b610a4a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106fe565b506000908152600460205260409020546001600160a01b031690565b6000610a7182610f8e565b9050806001600160a01b0316836001600160a01b03161415610adf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106fe565b336001600160a01b0382161480610afb5750610afb813361066c565b610b6d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106fe565b610b778383611b28565b505050565b3360009081526008602052604090205460ff1680610ba457506006546001600160a01b031633145b610bc05760405162461bcd60e51b81526004016106fe90612a4d565b8151815114610c1d5760405162461bcd60e51b815260206004820152602360248201527f6d696e744261746368546f4d616e793a204172726179206c656e6774682065726044820152623937b960e91b60648201526084016106fe565b60005b8151811015610cba57610c3e82828151811061080e5761080e612c8b565b15610ca85760405162461bcd60e51b815260206004820152603460248201527f6d696e744261746368546f4d616e793a204f6e65206f72206d6f726520616c6c6044820152736f636174656420746f6b656e732065786973747360601b60648201526084016106fe565b80610cb281612c30565b915050610c20565b5060005b8151811015610b7757610cdc8382815181106108ba576108ba612c8b565b80610ce681612c30565b915050610cbe565b610cf83382611b96565b610d145760405162461bcd60e51b81526004016106fe90612aa8565b610b77838383611c80565b600080610d2b84611a8f565b610d6e5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016106fe565b6000848152601060205260409020546001600160a01b031680610dbf5760006064600f5486610d9d9190612b93565b610da79190612b7f565b600e546001600160a01b031694509250610ded915050565b6000858152601160205260409020548190606490610ddd9087612b93565b610de79190612b7f565b92509250505b9250929050565b60006135e8610e04600a84612c4b565b610e0f906064612b93565b610e199084612b67565b610e239190612c4b565b610946906001612b67565b610b7783838360405180602001604052806000815250611564565b3360009081526008602052604090205460ff1680610e7157506006546001600160a01b031633145b610e8d5760405162461bcd60e51b81526004016106fe90612a4d565b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251938452908301527f64966f3fe2ac8cae5e6f7e4196d1315efafdb78a4377de3887c56fa3b9ac47cb91015b60405180910390a15050565b3360009081526008602052604090205460ff1680610f1957506006546001600160a01b031633145b610f355760405162461bcd60e51b81526004016106fe90612a4d565b600e80546001600160a01b0319166001600160a01b038416908117909155600f82905560408051918252602082018390527f83a3568e008d10e420e010fe0795a4ab0c6e0eec3c301be75da350b2126911169101610ee5565b6000818152600260205260408120546001600160a01b0316806109465760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106fe565b3360009081526008602052604090205460ff168061102d57506006546001600160a01b031633145b6110495760405162461bcd60e51b81526004016106fe90612a4d565b611055600983836122ae565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf68282604051610ee5929190612966565b60006001600160a01b0382166110f25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106fe565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111385760405162461bcd60e51b81526004016106fe90612a73565b6111426000611e1c565b565b3360009081526008602052604090205460ff168061116c57506006546001600160a01b031633145b6111885760405162461bcd60e51b81526004016106fe90612a4d565b600083815260106020908152604080832080546001600160a01b0319166001600160a01b03871690811790915560118352928190208490558051868152918201929092529081018290527ff29be89610d5bf35676c8e8d225863ef26a8be7962cbdfbccf15e52a1dccaf429060600160405180910390a1505050565b3360009081526008602052604090205460ff168061122c57506006546001600160a01b031633145b6112485760405162461bcd60e51b81526004016106fe90612a4d565b6000828152600d60209081526040909120825161126792840190612332565b507f9e21df77dde5f3375f065e9a3baa0772db13d7de20c6a0e50939583ca748f98c8282604051610ee5929190612af9565b3360009081526008602052604090205460ff16806112c157506006546001600160a01b031633145b6112dd5760405162461bcd60e51b81526004016106fe90612a4d565b60005b815181101561132d576112fe82828151811061080e5761080e612c8b565b1561131b5760405162461bcd60e51b81526004016106fe906129fa565b8061132581612c30565b9150506112e0565b5060005b8151811015610b7757611350838383815181106108d4576108d4612c8b565b8061135a81612c30565b915050611331565b60606001805461095b90612bf5565b61137c338383611e6e565b5050565b6006546001600160a01b031633146113aa5760405162461bcd60e51b81526004016106fe90612a73565b6040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038316906323b872dd90606401600060405180830381600087803b1580156113f857600080fd5b505af115801561140c573d6000803e3d6000fd5b505050505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561145657600080fd5b505afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e91906127fc565b60075460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb90604401602060405180830381600087803b1580156114de57600080fd5b505af11580156114f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b77919061271a565b3360009081526008602052604090205460ff168061153e57506006546001600160a01b031633145b61155a5760405162461bcd60e51b81526004016106fe90612a4d565b61137c8282611aac565b61156e3383611b96565b61158a5760405162461bcd60e51b81526004016106fe90612aa8565b61159684848484611f3d565b50505050565b3360009081526008602052604090205460ff16806115c457506006546001600160a01b031633145b6115e05760405162461bcd60e51b81526004016106fe90612a4d565b805160008167ffffffffffffffff8111156115fd576115fd612ca1565b604051908082528060200260200182016040528015611626578160200160208202803683370190505b50905060005b828110156116ab576116498482815181106107ce576107ce612c8b565b82828151811061165b5761165b612c8b565b60200260200101818152505061167c82828151811061080e5761080e612c8b565b156116995760405162461bcd60e51b81526004016106fe906129fa565b806116a381612c30565b91505061162c565b5060005b828110156108f3576116cd858383815181106108d4576108d4612c8b565b806116d781612c30565b9150506116af565b60606000806116ed84611a8f565b6117305760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016106fe565b60006009805461173f90612bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461176b90612bf5565b80156117b85780601f1061178d576101008083540402835291602001916117b8565b820191906000526020600020905b81548152906001019060200180831161179b57829003601f168201915b5050506000888152600d602052604090208054939450926117db92509050612bf5565b159050611883576000858152600d6020526040902080546117fb90612bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461182790612bf5565b80156118745780601f1061184957610100808354040283529160200191611874565b820191906000526020600020905b81548152906001019060200180831161185757829003601f168201915b50505050509350505050919050565b61271085116118ce57606461507861189b8288612b7f565b6118a59190612b67565b6118af9190612c4b565b6118ba906001612b67565b92506118c7606486612c4b565b915061190c565b60646118db600187612bb2565b6118e59190612b7f565b6118f0906001612b67565b925060646118ff600187612bb2565b6119099190612c4b565b91505b600061191784611f70565b9050600061192484611f70565b905082828260405160200161193b939291906128d9565b60405160208183030381529060405295505050505050919050565b60075460405147916000916001600160a01b039091169083908381818185875af1925050503d80600081146119a7576040519150601f19603f3d011682016040523d82523d6000602084013e6119ac565b606091505b505090508061137c5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016106fe565b6006546001600160a01b03163314611a1e5760405162461bcd60e51b81526004016106fe90612a73565b6001600160a01b038116611a835760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106fe565b611a8c81611e1c565b50565b6000908152600260205260409020546001600160a01b0316151590565b60008111611aef5760405162461bcd60e51b815260206004820152601060248201526f4e6f205a65726f20546f6b656e49647360801b60448201526064016106fe565b611af9828261206e565b60138054829160129160009182611b0f83612c30565b9091555081526020810191909152604001600020555050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b5d82610f8e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ba182611a8f565b611c025760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106fe565b6000611c0d83610f8e565b9050806001600160a01b0316846001600160a01b03161480611c5457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611c785750836001600160a01b0316611c6d846109de565b6001600160a01b0316145b949350505050565b826001600160a01b0316611c9382610f8e565b6001600160a01b031614611cf75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106fe565b6001600160a01b038216611d595760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106fe565b611d64600082611b28565b6001600160a01b0383166000908152600360205260408120805460019290611d8d908490612bb2565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dbb908490612b67565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611ed05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106fe565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f48848484611c80565b611f54848484846121a1565b6115965760405162461bcd60e51b81526004016106fe906129a8565b606081611f945750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fbe5780611fa881612c30565b9150611fb79050600a83612b7f565b9150611f98565b60008167ffffffffffffffff811115611fd957611fd9612ca1565b6040519080825280601f01601f191660200182016040528015612003576020820181803683370190505b5090505b8415611c7857612018600183612bb2565b9150612025600a86612c4b565b612030906030612b67565b60f81b81838151811061204557612045612c8b565b60200101906001600160f81b031916908160001a905350612067600a86612b7f565b9450612007565b6001600160a01b0382166120c45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106fe565b6120cd81611a8f565b1561211a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106fe565b6001600160a01b0382166000908152600360205260408120805460019290612143908490612b67565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156122a357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121e5903390899088908890600401612929565b602060405180830381600087803b1580156121ff57600080fd5b505af192505050801561222f575060408051601f3d908101601f1916820190925261222c91810190612754565b60015b612289573d80801561225d576040519150601f19603f3d011682016040523d82523d6000602084013e612262565b606091505b5080516122815760405162461bcd60e51b81526004016106fe906129a8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c78565b506001949350505050565b8280546122ba90612bf5565b90600052602060002090601f0160209004810192826122dc5760008555612322565b82601f106122f55782800160ff19823516178555612322565b82800160010185558215612322579182015b82811115612322578235825591602001919060010190612307565b5061232e9291506123a6565b5090565b82805461233e90612bf5565b90600052602060002090601f0160209004810192826123605760008555612322565b82601f1061237957805160ff1916838001178555612322565b82800160010185558215612322579182015b8281111561232257825182559160200191906001019061238b565b5b8082111561232e57600081556001016123a7565b600067ffffffffffffffff8311156123d5576123d5612ca1565b6123e8601f8401601f1916602001612b12565b90508281528383830111156123fc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461242a57600080fd5b919050565b600082601f83011261244057600080fd5b8135602061245561245083612b43565b612b12565b80838252828201915082860187848660051b890101111561247557600080fd5b60005b8581101561249457813584529284019290840190600101612478565b5090979650505050505050565b6000602082840312156124b357600080fd5b6124bc82612413565b9392505050565b600080604083850312156124d657600080fd5b6124df83612413565b91506124ed60208401612413565b90509250929050565b60008060006060848603121561250b57600080fd5b61251484612413565b925061252260208501612413565b9150604084013590509250925092565b6000806000806080858703121561254857600080fd5b61255185612413565b935061255f60208601612413565b925060408501359150606085013567ffffffffffffffff81111561258257600080fd5b8501601f8101871361259357600080fd5b6125a2878235602084016123bb565b91505092959194509250565b600080604083850312156125c157600080fd5b6125ca83612413565b9150602083013567ffffffffffffffff8111156125e657600080fd5b6125f28582860161242f565b9150509250929050565b6000806040838503121561260f57600080fd5b61261883612413565b9150602083013561262881612cb7565b809150509250929050565b6000806040838503121561264657600080fd5b61264f83612413565b946020939093013593505050565b6000806040838503121561267057600080fd5b823567ffffffffffffffff8082111561268857600080fd5b818501915085601f83011261269c57600080fd5b813560206126ac61245083612b43565b8083825282820191508286018a848660051b89010111156126cc57600080fd5b600096505b848710156126f6576126e281612413565b8352600196909601959183019183016126d1565b509650508601359250508082111561270d57600080fd5b506125f28582860161242f565b60006020828403121561272c57600080fd5b81516124bc81612cb7565b60006020828403121561274957600080fd5b81356124bc81612cc5565b60006020828403121561276657600080fd5b81516124bc81612cc5565b6000806020838503121561278457600080fd5b823567ffffffffffffffff8082111561279c57600080fd5b818501915085601f8301126127b057600080fd5b8135818111156127bf57600080fd5b8660208285010111156127d157600080fd5b60209290920196919550909350505050565b6000602082840312156127f557600080fd5b5035919050565b60006020828403121561280e57600080fd5b5051919050565b60008060006060848603121561282a57600080fd5b8335925061252260208501612413565b6000806040838503121561284d57600080fd5b82359150602083013567ffffffffffffffff81111561286b57600080fd5b8301601f8101851361287c57600080fd5b6125f2858235602084016123bb565b6000806040838503121561289e57600080fd5b50508035926020909101359150565b600081518084526128c5816020860160208601612bc9565b601f01601f19169290920160200192915050565b600084516128eb818460208901612bc9565b8451908301906128ff818360208901612bc9565b602f60f81b9101908152835161291c816001840160208801612bc9565b0160010195945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061295c908301846128ad565b9695505050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6020815260006124bc60208301846128ad565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526033908201527f6d696e744261746368546f4f6e653a204f6e65206f72206d6f726520616c6c6f604082015272636174656420746f6b656e732065786973747360681b606082015260800190565b6020808252600c908201526b155b985d5d1a1bdc9a5cd95960a21b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b828152604060208201526000611c7860408301846128ad565b604051601f8201601f1916810167ffffffffffffffff81118282101715612b3b57612b3b612ca1565b604052919050565b600067ffffffffffffffff821115612b5d57612b5d612ca1565b5060051b60200190565b60008219821115612b7a57612b7a612c5f565b500190565b600082612b8e57612b8e612c75565b500490565b6000816000190483118215151615612bad57612bad612c5f565b500290565b600082821015612bc457612bc4612c5f565b500390565b60005b83811015612be4578181015183820152602001612bcc565b838111156115965750506000910152565b600181811c90821680612c0957607f821691505b60208210811415612c2a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c4457612c44612c5f565b5060010190565b600082612c5a57612c5a612c75565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611a8c57600080fd5b6001600160e01b031981168114611a8c57600080fdfea26469706673582212208e35851c27c3894d46e8607162972e66fc22734b77e2af9fb5fd9437f1054d4564736f6c6343000807003368747470733a2f2f617277656176652e6e65742f4c6c335873326666615733416e76745364334c617a5157512d4633384d6e457a6a35775141337530676f592f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c18526a6975b57789f48dc6683eb803ee2f9b1a6000000000000000000000000000000000000000000000000000000000000000f54686520576f726c6420546f646179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035457540000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101fc5760003560e01c806370a082311161010d578063a5b3abfb116100a0578063c69267961161006f578063c6926796146105fc578063c87b56dd1461061c578063d5b014c31461063c578063e985e9c514610651578063f2fde38b1461069a57600080fd5b8063a5b3abfb1461057c578063b103dd291461059c578063b150919f146105bc578063b88d4fde146105dc57600080fd5b80638da5cb5b116100dc5780638da5cb5b14610509578063911ec41b1461052757806395d89b4114610547578063a22cb4651461055c57600080fd5b806370a0823114610494578063715018a6146104b45780637177e1a3146104c9578063862440e2146104e957600080fd5b80632a55205a116101905780634b0bddd21161015f5780634b0bddd2146103e75780634fbded1814610407578063634282af146104275780636352211e146104545780636e83843a1461047457600080fd5b80632a55205a146103385780633f1ec7621461037757806342842e0e14610397578063429b62e5146103b757600080fd5b8063095ea7b3116101cc578063095ea7b3146102b95780630bce9828146102d957806318160ddd146102f957806323b872dd1461031857600080fd5b80623d45f71461020857806301ffc9a71461022a57806306fdde031461025f578063081812fc1461028157600080fd5b3661020357005b600080fd5b34801561021457600080fd5b5061022861022336600461265d565b6106ba565b005b34801561023657600080fd5b5061024a610245366004612737565b6108fa565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027461094c565b6040516102569190612995565b34801561028d57600080fd5b506102a161029c3660046127e3565b6109de565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102286102d4366004612633565b610a66565b3480156102e557600080fd5b506102286102f436600461265d565b610b7c565b34801561030557600080fd5b506013545b604051908152602001610256565b34801561032457600080fd5b506102286103333660046124f6565b610cee565b34801561034457600080fd5b5061035861035336600461288b565b610d1f565b604080516001600160a01b039093168352602083019190915201610256565b34801561038357600080fd5b5061030a6103923660046127e3565b610df4565b3480156103a357600080fd5b506102286103b23660046124f6565b610e2e565b3480156103c357600080fd5b5061024a6103d23660046124a1565b60086020526000908152604090205460ff1681565b3480156103f357600080fd5b506102286104023660046125fc565b610e49565b34801561041357600080fd5b50610228610422366004612633565b610ef1565b34801561043357600080fd5b5061030a6104423660046127e3565b60126020526000908152604090205481565b34801561046057600080fd5b506102a161046f3660046127e3565b610f8e565b34801561048057600080fd5b5061022861048f366004612771565b611005565b3480156104a057600080fd5b5061030a6104af3660046124a1565b611087565b3480156104c057600080fd5b5061022861110e565b3480156104d557600080fd5b506102286104e4366004612815565b611144565b3480156104f557600080fd5b5061022861050436600461283a565b611204565b34801561051557600080fd5b506006546001600160a01b03166102a1565b34801561053357600080fd5b506102286105423660046125ae565b611299565b34801561055357600080fd5b50610274611362565b34801561056857600080fd5b506102286105773660046125fc565b611371565b34801561058857600080fd5b50610228610597366004612633565b611380565b3480156105a857600080fd5b506102286105b73660046124a1565b611414565b3480156105c857600080fd5b506102286105d7366004612633565b611516565b3480156105e857600080fd5b506102286105f7366004612532565b611564565b34801561060857600080fd5b506102286106173660046125ae565b61159c565b34801561062857600080fd5b506102746106373660046127e3565b6116df565b34801561064857600080fd5b50610228611956565b34801561065d57600080fd5b5061024a61066c3660046124c3565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106a657600080fd5b506102286106b53660046124a1565b6119f4565b3360009081526008602052604090205460ff16806106e257506006546001600160a01b031633145b6107075760405162461bcd60e51b81526004016106fe90612a4d565b60405180910390fd5b805160008167ffffffffffffffff81111561072457610724612ca1565b60405190808252806020026020018201604052801561074d578160200160208202803683370190505b50905083518351146107ad5760405162461bcd60e51b8152602060048201526024808201527f6d696e744261746368546f4d616e79523a204172726179206c656e6774682065604482015263393937b960e11b60648201526084016106fe565b60005b8351811015610898576107db8482815181106107ce576107ce612c8b565b6020026020010151610df4565b8282815181106107ed576107ed612c8b565b60200260200101818152505061081b82828151811061080e5761080e612c8b565b6020026020010151611a8f565b156108865760405162461bcd60e51b815260206004820152603560248201527f6d696e744261746368546f4d616e79523a204f6e65206f72206d6f726520616c6044820152746c6f636174656420746f6b656e732065786973747360581b60648201526084016106fe565b8061089081612c30565b9150506107b0565b5060005b83518110156108f3576108e18582815181106108ba576108ba612c8b565b60200260200101518383815181106108d4576108d4612c8b565b6020026020010151611aac565b806108eb81612c30565b91505061089c565b5050505050565b60006001600160e01b031982166380ac58cd60e01b148061092b57506001600160e01b03198216635b5e139f60e01b145b8061094657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461095b90612bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461098790612bf5565b80156109d45780601f106109a9576101008083540402835291602001916109d4565b820191906000526020600020905b8154815290600101906020018083116109b757829003601f168201915b5050505050905090565b60006109e982611a8f565b610a4a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106fe565b506000908152600460205260409020546001600160a01b031690565b6000610a7182610f8e565b9050806001600160a01b0316836001600160a01b03161415610adf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106fe565b336001600160a01b0382161480610afb5750610afb813361066c565b610b6d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106fe565b610b778383611b28565b505050565b3360009081526008602052604090205460ff1680610ba457506006546001600160a01b031633145b610bc05760405162461bcd60e51b81526004016106fe90612a4d565b8151815114610c1d5760405162461bcd60e51b815260206004820152602360248201527f6d696e744261746368546f4d616e793a204172726179206c656e6774682065726044820152623937b960e91b60648201526084016106fe565b60005b8151811015610cba57610c3e82828151811061080e5761080e612c8b565b15610ca85760405162461bcd60e51b815260206004820152603460248201527f6d696e744261746368546f4d616e793a204f6e65206f72206d6f726520616c6c6044820152736f636174656420746f6b656e732065786973747360601b60648201526084016106fe565b80610cb281612c30565b915050610c20565b5060005b8151811015610b7757610cdc8382815181106108ba576108ba612c8b565b80610ce681612c30565b915050610cbe565b610cf83382611b96565b610d145760405162461bcd60e51b81526004016106fe90612aa8565b610b77838383611c80565b600080610d2b84611a8f565b610d6e5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016106fe565b6000848152601060205260409020546001600160a01b031680610dbf5760006064600f5486610d9d9190612b93565b610da79190612b7f565b600e546001600160a01b031694509250610ded915050565b6000858152601160205260409020548190606490610ddd9087612b93565b610de79190612b7f565b92509250505b9250929050565b60006135e8610e04600a84612c4b565b610e0f906064612b93565b610e199084612b67565b610e239190612c4b565b610946906001612b67565b610b7783838360405180602001604052806000815250611564565b3360009081526008602052604090205460ff1680610e7157506006546001600160a01b031633145b610e8d5760405162461bcd60e51b81526004016106fe90612a4d565b6001600160a01b038216600081815260086020908152604091829020805460ff19168515159081179091558251938452908301527f64966f3fe2ac8cae5e6f7e4196d1315efafdb78a4377de3887c56fa3b9ac47cb91015b60405180910390a15050565b3360009081526008602052604090205460ff1680610f1957506006546001600160a01b031633145b610f355760405162461bcd60e51b81526004016106fe90612a4d565b600e80546001600160a01b0319166001600160a01b038416908117909155600f82905560408051918252602082018390527f83a3568e008d10e420e010fe0795a4ab0c6e0eec3c301be75da350b2126911169101610ee5565b6000818152600260205260408120546001600160a01b0316806109465760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106fe565b3360009081526008602052604090205460ff168061102d57506006546001600160a01b031633145b6110495760405162461bcd60e51b81526004016106fe90612a4d565b611055600983836122ae565b507f5411e8ebf1636d9e83d5fc4900bf80cbac82e8790da2a4c94db4895e889eedf68282604051610ee5929190612966565b60006001600160a01b0382166110f25760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106fe565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146111385760405162461bcd60e51b81526004016106fe90612a73565b6111426000611e1c565b565b3360009081526008602052604090205460ff168061116c57506006546001600160a01b031633145b6111885760405162461bcd60e51b81526004016106fe90612a4d565b600083815260106020908152604080832080546001600160a01b0319166001600160a01b03871690811790915560118352928190208490558051868152918201929092529081018290527ff29be89610d5bf35676c8e8d225863ef26a8be7962cbdfbccf15e52a1dccaf429060600160405180910390a1505050565b3360009081526008602052604090205460ff168061122c57506006546001600160a01b031633145b6112485760405162461bcd60e51b81526004016106fe90612a4d565b6000828152600d60209081526040909120825161126792840190612332565b507f9e21df77dde5f3375f065e9a3baa0772db13d7de20c6a0e50939583ca748f98c8282604051610ee5929190612af9565b3360009081526008602052604090205460ff16806112c157506006546001600160a01b031633145b6112dd5760405162461bcd60e51b81526004016106fe90612a4d565b60005b815181101561132d576112fe82828151811061080e5761080e612c8b565b1561131b5760405162461bcd60e51b81526004016106fe906129fa565b8061132581612c30565b9150506112e0565b5060005b8151811015610b7757611350838383815181106108d4576108d4612c8b565b8061135a81612c30565b915050611331565b60606001805461095b90612bf5565b61137c338383611e6e565b5050565b6006546001600160a01b031633146113aa5760405162461bcd60e51b81526004016106fe90612a73565b6040516323b872dd60e01b8152306004820152336024820152604481018290526001600160a01b038316906323b872dd90606401600060405180830381600087803b1580156113f857600080fd5b505af115801561140c573d6000803e3d6000fd5b505050505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561145657600080fd5b505afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e91906127fc565b60075460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810183905291925083169063a9059cbb90604401602060405180830381600087803b1580156114de57600080fd5b505af11580156114f2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b77919061271a565b3360009081526008602052604090205460ff168061153e57506006546001600160a01b031633145b61155a5760405162461bcd60e51b81526004016106fe90612a4d565b61137c8282611aac565b61156e3383611b96565b61158a5760405162461bcd60e51b81526004016106fe90612aa8565b61159684848484611f3d565b50505050565b3360009081526008602052604090205460ff16806115c457506006546001600160a01b031633145b6115e05760405162461bcd60e51b81526004016106fe90612a4d565b805160008167ffffffffffffffff8111156115fd576115fd612ca1565b604051908082528060200260200182016040528015611626578160200160208202803683370190505b50905060005b828110156116ab576116498482815181106107ce576107ce612c8b565b82828151811061165b5761165b612c8b565b60200260200101818152505061167c82828151811061080e5761080e612c8b565b156116995760405162461bcd60e51b81526004016106fe906129fa565b806116a381612c30565b91505061162c565b5060005b828110156108f3576116cd858383815181106108d4576108d4612c8b565b806116d781612c30565b9150506116af565b60606000806116ed84611a8f565b6117305760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016106fe565b60006009805461173f90612bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461176b90612bf5565b80156117b85780601f1061178d576101008083540402835291602001916117b8565b820191906000526020600020905b81548152906001019060200180831161179b57829003601f168201915b5050506000888152600d602052604090208054939450926117db92509050612bf5565b159050611883576000858152600d6020526040902080546117fb90612bf5565b80601f016020809104026020016040519081016040528092919081815260200182805461182790612bf5565b80156118745780601f1061184957610100808354040283529160200191611874565b820191906000526020600020905b81548152906001019060200180831161185757829003601f168201915b50505050509350505050919050565b61271085116118ce57606461507861189b8288612b7f565b6118a59190612b67565b6118af9190612c4b565b6118ba906001612b67565b92506118c7606486612c4b565b915061190c565b60646118db600187612bb2565b6118e59190612b7f565b6118f0906001612b67565b925060646118ff600187612bb2565b6119099190612c4b565b91505b600061191784611f70565b9050600061192484611f70565b905082828260405160200161193b939291906128d9565b60405160208183030381529060405295505050505050919050565b60075460405147916000916001600160a01b039091169083908381818185875af1925050503d80600081146119a7576040519150601f19603f3d011682016040523d82523d6000602084013e6119ac565b606091505b505090508061137c5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016106fe565b6006546001600160a01b03163314611a1e5760405162461bcd60e51b81526004016106fe90612a73565b6001600160a01b038116611a835760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106fe565b611a8c81611e1c565b50565b6000908152600260205260409020546001600160a01b0316151590565b60008111611aef5760405162461bcd60e51b815260206004820152601060248201526f4e6f205a65726f20546f6b656e49647360801b60448201526064016106fe565b611af9828261206e565b60138054829160129160009182611b0f83612c30565b9091555081526020810191909152604001600020555050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611b5d82610f8e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ba182611a8f565b611c025760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106fe565b6000611c0d83610f8e565b9050806001600160a01b0316846001600160a01b03161480611c5457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611c785750836001600160a01b0316611c6d846109de565b6001600160a01b0316145b949350505050565b826001600160a01b0316611c9382610f8e565b6001600160a01b031614611cf75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016106fe565b6001600160a01b038216611d595760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106fe565b611d64600082611b28565b6001600160a01b0383166000908152600360205260408120805460019290611d8d908490612bb2565b90915550506001600160a01b0382166000908152600360205260408120805460019290611dbb908490612b67565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611ed05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106fe565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611f48848484611c80565b611f54848484846121a1565b6115965760405162461bcd60e51b81526004016106fe906129a8565b606081611f945750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fbe5780611fa881612c30565b9150611fb79050600a83612b7f565b9150611f98565b60008167ffffffffffffffff811115611fd957611fd9612ca1565b6040519080825280601f01601f191660200182016040528015612003576020820181803683370190505b5090505b8415611c7857612018600183612bb2565b9150612025600a86612c4b565b612030906030612b67565b60f81b81838151811061204557612045612c8b565b60200101906001600160f81b031916908160001a905350612067600a86612b7f565b9450612007565b6001600160a01b0382166120c45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106fe565b6120cd81611a8f565b1561211a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106fe565b6001600160a01b0382166000908152600360205260408120805460019290612143908490612b67565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b156122a357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906121e5903390899088908890600401612929565b602060405180830381600087803b1580156121ff57600080fd5b505af192505050801561222f575060408051601f3d908101601f1916820190925261222c91810190612754565b60015b612289573d80801561225d576040519150601f19603f3d011682016040523d82523d6000602084013e612262565b606091505b5080516122815760405162461bcd60e51b81526004016106fe906129a8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c78565b506001949350505050565b8280546122ba90612bf5565b90600052602060002090601f0160209004810192826122dc5760008555612322565b82601f106122f55782800160ff19823516178555612322565b82800160010185558215612322579182015b82811115612322578235825591602001919060010190612307565b5061232e9291506123a6565b5090565b82805461233e90612bf5565b90600052602060002090601f0160209004810192826123605760008555612322565b82601f1061237957805160ff1916838001178555612322565b82800160010185558215612322579182015b8281111561232257825182559160200191906001019061238b565b5b8082111561232e57600081556001016123a7565b600067ffffffffffffffff8311156123d5576123d5612ca1565b6123e8601f8401601f1916602001612b12565b90508281528383830111156123fc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461242a57600080fd5b919050565b600082601f83011261244057600080fd5b8135602061245561245083612b43565b612b12565b80838252828201915082860187848660051b890101111561247557600080fd5b60005b8581101561249457813584529284019290840190600101612478565b5090979650505050505050565b6000602082840312156124b357600080fd5b6124bc82612413565b9392505050565b600080604083850312156124d657600080fd5b6124df83612413565b91506124ed60208401612413565b90509250929050565b60008060006060848603121561250b57600080fd5b61251484612413565b925061252260208501612413565b9150604084013590509250925092565b6000806000806080858703121561254857600080fd5b61255185612413565b935061255f60208601612413565b925060408501359150606085013567ffffffffffffffff81111561258257600080fd5b8501601f8101871361259357600080fd5b6125a2878235602084016123bb565b91505092959194509250565b600080604083850312156125c157600080fd5b6125ca83612413565b9150602083013567ffffffffffffffff8111156125e657600080fd5b6125f28582860161242f565b9150509250929050565b6000806040838503121561260f57600080fd5b61261883612413565b9150602083013561262881612cb7565b809150509250929050565b6000806040838503121561264657600080fd5b61264f83612413565b946020939093013593505050565b6000806040838503121561267057600080fd5b823567ffffffffffffffff8082111561268857600080fd5b818501915085601f83011261269c57600080fd5b813560206126ac61245083612b43565b8083825282820191508286018a848660051b89010111156126cc57600080fd5b600096505b848710156126f6576126e281612413565b8352600196909601959183019183016126d1565b509650508601359250508082111561270d57600080fd5b506125f28582860161242f565b60006020828403121561272c57600080fd5b81516124bc81612cb7565b60006020828403121561274957600080fd5b81356124bc81612cc5565b60006020828403121561276657600080fd5b81516124bc81612cc5565b6000806020838503121561278457600080fd5b823567ffffffffffffffff8082111561279c57600080fd5b818501915085601f8301126127b057600080fd5b8135818111156127bf57600080fd5b8660208285010111156127d157600080fd5b60209290920196919550909350505050565b6000602082840312156127f557600080fd5b5035919050565b60006020828403121561280e57600080fd5b5051919050565b60008060006060848603121561282a57600080fd5b8335925061252260208501612413565b6000806040838503121561284d57600080fd5b82359150602083013567ffffffffffffffff81111561286b57600080fd5b8301601f8101851361287c57600080fd5b6125f2858235602084016123bb565b6000806040838503121561289e57600080fd5b50508035926020909101359150565b600081518084526128c5816020860160208601612bc9565b601f01601f19169290920160200192915050565b600084516128eb818460208901612bc9565b8451908301906128ff818360208901612bc9565b602f60f81b9101908152835161291c816001840160208801612bc9565b0160010195945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061295c908301846128ad565b9695505050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6020815260006124bc60208301846128ad565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526033908201527f6d696e744261746368546f4f6e653a204f6e65206f72206d6f726520616c6c6f604082015272636174656420746f6b656e732065786973747360681b606082015260800190565b6020808252600c908201526b155b985d5d1a1bdc9a5cd95960a21b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b828152604060208201526000611c7860408301846128ad565b604051601f8201601f1916810167ffffffffffffffff81118282101715612b3b57612b3b612ca1565b604052919050565b600067ffffffffffffffff821115612b5d57612b5d612ca1565b5060051b60200190565b60008219821115612b7a57612b7a612c5f565b500190565b600082612b8e57612b8e612c75565b500490565b6000816000190483118215151615612bad57612bad612c5f565b500290565b600082821015612bc457612bc4612c5f565b500390565b60005b83811015612be4578181015183820152602001612bcc565b838111156115965750506000910152565b600181811c90821680612c0957607f821691505b60208210811415612c2a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612c4457612c44612c5f565b5060010190565b600082612c5a57612c5a612c75565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611a8c57600080fd5b6001600160e01b031981168114611a8c57600080fdfea26469706673582212208e35851c27c3894d46e8607162972e66fc22734b77e2af9fb5fd9437f1054d4564736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c18526a6975b57789f48dc6683eb803ee2f9b1a6000000000000000000000000000000000000000000000000000000000000000f54686520576f726c6420546f646179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035457540000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): The World Today
Arg [1] : _symbol (string): TWT
Arg [2] : _wallet (address): 0xC18526a6975b57789F48Dc6683eb803EE2F9B1a6
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000c18526a6975b57789f48dc6683eb803ee2f9b1a6
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [4] : 54686520576f726c6420546f6461790000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 5457540000000000000000000000000000000000000000000000000000000000
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.