Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
343 STLRMB
Holders
239
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 STLRMBLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
StillRemember
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.19; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Base64.sol"; interface IBeach { function data() external view returns (bytes memory); } /// @title EIP-721 Metadata Update Extension interface IERC4906 is IERC165, IERC721 { /// @dev This event emits when the metadata of a token is changed. /// So that the third-party platforms such as NFT market could /// timely update the images and related attributes of the NFT. event MetadataUpdate(uint256 _tokenId); } interface IDateTime { function timestampToDateTime(uint256) external view returns ( uint256, uint256, uint256, uint256, uint256, uint256 ); } contract StillRemember is ERC721, ERC2981, IERC4906, ReentrancyGuard, Ownable { uint256 private _tokenSupply; uint256 private constant EXPIRE_TIME = 1095 days; bool public isActive; string private _description; string private _baseExternalURI; IBeach private beach; IDateTime private datetime; mapping(uint256 => bytes32) public tokenIdToHash; mapping(uint256 => uint256) public lastRememberAt; mapping(uint256 => uint256) public mintAt; event ExchangeMemories(string _memory, uint256 _tokenId); constructor(address _beach, address _datetime) ERC721("Still Remember", "STLRMB") { // _setDefaultRoyalty(owner(), 1000); beach = IBeach(_beach); datetime = IDateTime(_datetime); } function exchangeMemories(string memory _memory) external nonReentrant { require(isActive, "INACTIVE"); _tokenSupply++; mintAt[_tokenSupply] = block.timestamp; tokenIdToHash[_tokenSupply] = keccak256( abi.encodePacked(_memory, block.number, blockhash(block.number - 1)) ); _safeMint(_msgSender(), _tokenSupply); emit ExchangeMemories(_memory, _tokenSupply); } /* token utility */ function setIsActive(bool _isActive) external onlyOwner { isActive = _isActive; } function setDescription(string memory desc) external onlyOwner { _description = desc; } function setBaseExternalURI(string memory URI) external onlyOwner { _baseExternalURI = URI; } function rememberDays(uint256 _tokenId) private view returns (uint256) { return isRemember(_tokenId) ? (block.timestamp - mintAt[_tokenId]) / 1 days : 0; } function isRemember(uint256 _tokenId) private view returns (bool) { return lastRememberAt[_tokenId] + EXPIRE_TIME >= block.timestamp; } function brokenRate(uint256 value) public pure returns (uint256) { value = value / 60; uint256 _tmp; if (value <= 20) { _tmp = 100 - (value * 21000) / 10000; } else if (value <= 60) { _tmp = 58 - ((value - 20) * 3500) / 10000; } else if (value <= 90) { _tmp = 44 - ((value - 60) * 3000) / 10000; } else if (value <= 1440) { _tmp = 35 - ((value - 90) * 7) / 10000; } else if (value <= 2880) { _tmp = 34 - ((value - 1440) * 48) / 10000; } else if (value <= 8640) { _tmp = 27 - ((value - 2880) * 3) / 10000; } else if (value <= 259200) { _tmp = 25 - ((value - 8640) * 1) / 10000; } else { _tmp = 0; } return 100 - _tmp; } function tokenBrokenRate(uint256 _tokenId) private view returns (uint256) { return brokenRate(block.timestamp - lastRememberAt[_tokenId]); } bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; function image(bytes32 _seed, uint256 _level) public view returns (string memory) { unchecked { uint256 startBytes = 1000; // min450 uint256 length = 18236; uint256 endBytes = length - startBytes - 0; bytes memory result = beach.data(); for (uint256 i = 0; i < _level; i++) { uint256 rand = startBytes + (uint256(keccak256(abi.encodePacked(_seed, i))) % endBytes); result[rand] = TABLE[uint256(keccak256(abi.encodePacked("C", _seed, i))) % 64]; } return string(abi.encodePacked("data:image/jpeg;base64,", result)); } } function timestampToString(uint256 _timestamp) public view returns (string memory) { ( uint256 year, uint256 month, uint256 day, uint256 hour, uint256 minute, uint256 second ) = datetime.timestampToDateTime(_timestamp); return string( abi.encodePacked( Strings.toString(year), "-", month > 9 ? "" : "0", Strings.toString(month), "-", day > 9 ? "" : "0", Strings.toString(day), "T", hour > 9 ? "" : "0", Strings.toString(hour), ":", minute > 9 ? "" : "0", Strings.toString(minute), ":", second > 9 ? "" : "0", Strings.toString(second) ) ); } function getMetaData(uint256 _tokenId) private view returns (string memory) { uint256 rate = tokenBrokenRate(_tokenId); return string( abi.encodePacked( '{"name":"Still Remember #', Strings.toString(_tokenId), '","description":"', _description, '","image":"', image(tokenIdToHash[_tokenId], rate), '","external_url":"', _baseExternalURI, Strings.toString(_tokenId), '","attributes":[{"trait_type":"Last Remembered","value":"', timestampToString(lastRememberAt[_tokenId]), '(UTC)"},{"trait_type":"Days","value":', Strings.toString(rememberDays(_tokenId)), '},{"trait_type":"Expiry Date","value":"', timestampToString(lastRememberAt[_tokenId] + EXPIRE_TIME), '(UTC)"},{"trait_type":"Still Remember","value":"', isRemember(_tokenId) ? "YES" : "NO", '"},{"trait_type":"Breakage Rate","value":', Strings.toString(rate), "}]}" ) ); } function tokenURI(uint256 _tokenId) public view override returns (string memory) { return string(abi.encodePacked("data:application/json;utf8,", getMetaData(_tokenId))); } function totalSupply() external view returns (uint256) { return _tokenSupply; } function _beforeTokenTransfer( address from, address to, uint256 firstTokenId ) internal override(ERC721) { super._beforeTokenTransfer(from, to, firstTokenId); if (from == address(0) || lastRememberAt[firstTokenId] + EXPIRE_TIME > block.timestamp) { lastRememberAt[firstTokenId] = block.timestamp; } if (from != address(0)) { emit MetadataUpdate(firstTokenId); } } function setRoyaltyInfo(address receiver_, uint96 royaltyBps_) external onlyOwner { _setDefaultRoyalty(receiver_, royaltyBps_); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721, IERC165) returns (bool) { return interfaceId == bytes4(0x49064906) || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 (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); }
// 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.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); 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: caller is not token 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: caller is not token 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) { 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 an {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 an {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 Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 (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.7.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 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 (last updated v4.7.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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol) pragma solidity ^0.8.0; /** * @dev Provides a set of functions to operate with Base64 strings. * * _Available since v4.5._ */ library Base64 { /** * @dev Base64 Encoding/Decoding Table */ string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** * @dev Converts a `bytes` to its Bytes64 `string` representation. */ function encode(bytes memory data) internal pure returns (string memory) { /** * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol */ if (data.length == 0) return ""; // Loads the table into memory string memory table = _TABLE; // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter // and split into 4 numbers of 6 bits. // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up // - `data.length + 2` -> Round up // - `/ 3` -> Number of 3-bytes chunks // - `4 *` -> 4 characters for each chunk string memory result = new string(4 * ((data.length + 2) / 3)); /// @solidity memory-safe-assembly assembly { // Prepare the lookup table (skip the first "length" byte) let tablePtr := add(table, 1) // Prepare result pointer, jump over length let resultPtr := add(result, 32) // Run over the input, 3 bytes at a time for { let dataPtr := data let endPtr := add(data, mload(data)) } lt(dataPtr, endPtr) { } { // Advance 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // To write each character, shift the 3 bytes (18 bits) chunk // 4 times in blocks of 6 bits for each character (18, 12, 6, 0) // and apply logical AND with 0x3F which is the number of // the previous character in the ASCII table prior to the Base64 Table // The result is then added to the table to get the character to write, // and finally write it in the result pointer but with a left shift // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F)))) resultPtr := add(resultPtr, 1) // Advance mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F)))) resultPtr := add(resultPtr, 1) // Advance } // When data `bytes` is not exactly 3 bytes long // it is padded with `=` characters at the end switch mod(mload(data), 3) case 1 { mstore8(sub(resultPtr, 1), 0x3d) mstore8(sub(resultPtr, 2), 0x3d) } case 2 { mstore8(sub(resultPtr, 1), 0x3d) } } return result; } }
// 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.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
{ "optimizer": { "enabled": true, "runs": 200, "details": { "yul": false } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_beach","type":"address"},{"internalType":"address","name":"_datetime","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_memory","type":"string"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"ExchangeMemories","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"brokenRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"_memory","type":"string"}],"name":"exchangeMemories","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_seed","type":"bytes32"},{"internalType":"uint256","name":"_level","type":"uint256"}],"name":"image","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastRememberAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseExternalURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"desc","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint96","name":"royaltyBps_","type":"uint96"}],"name":"setRoyaltyInfo","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":"_timestamp","type":"uint256"}],"name":"timestampToString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002fac38038062002fac83398101604081905262000034916200016b565b6040518060400160405280600e81526020016d29ba34b636102932b6b2b6b132b960911b8152506040518060400160405280600681526020016529aa262926a160d11b81525081600090816200008b9190620002bc565b5060016200009a8282620002bc565b5050600160085550620000ad33620000df565b600e80546001600160a01b039384166001600160a01b031991821617909155600f80549290931691161790556200038c565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0382165b92915050565b6200014f8162000131565b81146200015b57600080fd5b50565b80516200013e8162000144565b60008060408385031215620001835762000183600080fd5b60006200019185856200015e565b9250506020620001a4858286016200015e565b9150509250929050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b600281046001821680620001ef57607f821691505b602082108103620002045762000204620001c4565b50919050565b60006200013e620002188381565b90565b62000226836200020a565b815460001960089490940293841b1916921b91909117905550565b6000620002508184846200021b565b505050565b8181101562000274576200026b60008262000241565b60010162000255565b5050565b601f82111562000250576000818152602090206020601f85010481016020851015620002a15750805b620002b56020601f86010483018262000255565b5050505050565b81516001600160401b03811115620002d857620002d8620001ae565b620002e48254620001da565b620002f182828562000278565b6020601f8311600181146200032857600084156200030f5750858201515b600019600886021c198116600286021786555062000384565b600085815260208120601f198616915b828110156200035a578885015182556020948501946001909201910162000338565b86831015620003775784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b612c10806200039c6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063621a1f741161010457806390c3f38f116100a2578063c87b56dd11610071578063c87b56dd1461040d578063e985e9c514610420578063f2fde38b1461045c578063f803f4101461046f57600080fd5b806390c3f38f146103cc57806395d89b41146103df578063a22cb465146103e7578063b88d4fde146103fa57600080fd5b806370a08231116100de57806370a0823114610380578063715018a614610393578063775fdce51461039b5780638da5cb5b146103bb57600080fd5b8063621a1f741461032d5780636352211e1461034d5780637046bc671461036057600080fd5b806322f3e2d41161017c578063362662111161014b57806336266211146102e157806342842e0e146102f45780634349034b14610307578063588a93881461031a57600080fd5b806322f3e2d41461028d57806323b872dd1461029a5780632750fc78146102ad5780632a55205a146102c057600080fd5b8063081812fc116101b8578063081812fc14610232578063095ea7b314610252578063153a60711461026557806318160ddd1461028557600080fd5b806301ffc9a7146101df57806302fa7c471461020857806306fdde031461021d575b600080fd5b6101f26101ed366004611911565b610482565b6040516101ff919061193c565b60405180910390f35b61021b610216366004611989565b6104ad565b005b6102256104c3565b6040516101ff9190611a1c565b610245610240366004611a3e565b610555565b6040516101ff9190611a68565b61021b610260366004611a76565b61057c565b610278610273366004611a3e565b61060a565b6040516101ff9190611aaf565b600a54610278565b600b546101f29060ff1681565b61021b6102a8366004611abd565b6107b2565b61021b6102bb366004611b20565b6107e3565b6102d36102ce366004611b41565b6107fe565b6040516101ff929190611b63565b61021b6102ef366004611c79565b6108aa565b61021b610302366004611abd565b6109b3565b610225610315366004611b41565b6109ce565b610225610328366004611a3e565b610b6e565b61027861033b366004611a3e565b60106020526000908152604090205481565b61024561035b366004611a3e565b610d7d565b61027861036e366004611a3e565b60126020526000908152604090205481565b61027861038e366004611cb4565b610db2565b61021b610df6565b6102786103a9366004611a3e565b60116020526000908152604090205481565b6009546001600160a01b0316610245565b61021b6103da366004611c79565b610e0a565b610225610e1e565b61021b6103f5366004611cd5565b610e2d565b61021b610408366004611d08565b610e38565b61022561041b366004611a3e565b610e70565b6101f261042e366004611d87565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61021b61046a366004611cb4565b610ea1565b61021b61047d366004611c79565b610edb565b60006001600160e01b03198216632483248360e11b14806104a757506104a782610eef565b92915050565b6104b5610f14565b6104bf8282610f3e565b5050565b6060600080546104d290611dd0565b80601f01602080910402602001604051908101604052809291908181526020018280546104fe90611dd0565b801561054b5780601f106105205761010080835404028352916020019161054b565b820191906000526020600020905b81548152906001019060200180831161052e57829003601f168201915b5050505050905090565b600061056082610fc8565b506000908152600460205260409020546001600160a01b031690565b600061058782610d7d565b9050806001600160a01b0316836001600160a01b0316036105c35760405162461bcd60e51b81526004016105ba90611e3d565b60405180910390fd5b336001600160a01b03821614806105df57506105df813361042e565b6105fb5760405162461bcd60e51b81526004016105ba90611ea7565b6106058383610ffc565b505050565b6000610617603c83611ee3565b915060006014831161064e5761271061063284615208611ef7565b61063c9190611ee3565b610647906064611f16565b90506107a0565b603c831161068557612710610664601485611f16565b61067090610dac611ef7565b61067a9190611ee3565b61064790603a611f16565b605a83116106bc5761271061069b603c85611f16565b6106a790610bb8611ef7565b6106b19190611ee3565b61064790602c611f16565b6105a083116106f3576127106106d3605a85611f16565b6106de906007611ef7565b6106e89190611ee3565b610647906023611f16565b610b40831161072b5761271061070b6105a085611f16565b610716906030611ef7565b6107209190611ee3565b610647906022611f16565b6121c0831161076357612710610743610b4085611f16565b61074e906003611ef7565b6107589190611ee3565b61064790601b611f16565b6203f480831161079c5761271061077c6121c085611f16565b610787906001611ef7565b6107919190611ee3565b610647906019611f16565b5060005b6107ab816064611f16565b9392505050565b6107bc338261106a565b6107d85760405162461bcd60e51b81526004016105ba90611f74565b6106058383836110e9565b6107eb610f14565b600b805460ff1916911515919091179055565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108735750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610892906001600160601b031687611ef7565b61089c9190611ee3565b915196919550909350505050565b6002600854036108cc5760405162461bcd60e51b81526004016105ba90611fbb565b6002600855600b5460ff166108f35760405162461bcd60e51b81526004016105ba90611fea565b600a805490600061090383611ffa565b9091555050600a5460009081526012602052604090204290558043610929600182611f16565b4060405160200161093c93929190612039565b60408051808303601f190181529181528151602092830120600a546000908152601090935291205561097033600a54611216565b7ff4f18f8ebf8ae3ac6d808f4afe24808da95cf440fedce40e770c28e2b5f923dd81600a546040516109a392919061206c565b60405180910390a1506001600855565b61060583838360405180602001604052806000815250610e38565b600e54604080516339ea509d60e11b815290516060926103e89261473c92614354926000926001600160a01b03909116916373d4a13a9160048082019286929091908290030181865afa158015610a29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a5191908101906120e4565b905060005b86811015610b41576000838983604051602001610a7492919061211f565b6040516020818303038152906040528051906020012060001c81610a9a57610a9a611eb7565b0686019050604051806060016040528060408152602001612b9b6040913960408a84604051602001610acd929190612153565b6040516020818303038152906040528051906020012060001c81610af357610af3611eb7565b0681518110610b0457610b0461216a565b602001015160f81c60f81b838281518110610b2157610b2161216a565b60200101906001600160f81b031916908160001a90535050600101610a56565b5080604051602001610b539190612180565b60405160208183030381529060405294505050505092915050565b600f54604051630ea1c16960e41b8152606091600091829182918291829182916001600160a01b03169063ea1c169090610bac908b90600401611aaf565b60c060405180830381865afa158015610bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed91906121c1565b955095509550955095509550610c0286611230565b60098611610c2957604051806040016040528060018152602001600360fc1b815250610c3a565b604051806020016040528060008152505b610c4387611230565b60098711610c6a57604051806040016040528060018152602001600360fc1b815250610c7b565b604051806020016040528060008152505b610c8488611230565b60098811610cab57604051806040016040528060018152602001600360fc1b815250610cbc565b604051806020016040528060008152505b610cc589611230565b60098911610cec57604051806040016040528060018152602001600360fc1b815250610cfd565b604051806020016040528060008152505b610d068a611230565b60098a11610d2d57604051806040016040528060018152602001600360fc1b815250610d3e565b604051806020016040528060008152505b610d478b611230565b604051602001610d619b9a99989796959493929190612275565b6040516020818303038152906040529650505050505050919050565b6000818152600260205260408120546001600160a01b0316806104a75760405162461bcd60e51b81526004016105ba90612375565b60006001600160a01b038216610dda5760405162461bcd60e51b81526004016105ba906123cb565b506001600160a01b031660009081526003602052604090205490565b610dfe610f14565b610e086000611331565b565b610e12610f14565b600c6104bf8282612473565b6060600180546104d290611dd0565b6104bf338383611383565b610e42338361106a565b610e5e5760405162461bcd60e51b81526004016105ba90611f74565b610e6a84848484611425565b50505050565b6060610e7b82611458565b604051602001610e8b9190612537565b6040516020818303038152906040529050919050565b610ea9610f14565b6001600160a01b038116610ecf5760405162461bcd60e51b81526004016105ba906125a8565b610ed881611331565b50565b610ee3610f14565b600d6104bf8282612473565b60006001600160e01b0319821663152a902d60e11b14806104a757506104a782611565565b6009546001600160a01b03163314610e085760405162461bcd60e51b81526004016105ba906125ea565b6127106001600160601b0382161115610f695760405162461bcd60e51b81526004016105ba90612641565b6001600160a01b038216610f8f5760405162461bcd60e51b81526004016105ba90612685565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000818152600260205260409020546001600160a01b0316610ed85760405162461bcd60e51b81526004016105ba90612375565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061103182610d7d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061107683610d7d565b9050806001600160a01b0316846001600160a01b031614806110bd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110e15750836001600160a01b03166110d684610555565b6001600160a01b0316145b949350505050565b826001600160a01b03166110fc82610d7d565b6001600160a01b0316146111225760405162461bcd60e51b81526004016105ba906126d7565b6001600160a01b0382166111485760405162461bcd60e51b81526004016105ba90612728565b6111538383836115b5565b61115e600082610ffc565b6001600160a01b0383166000908152600360205260408120805460019290611187908490611f16565b90915550506001600160a01b03821660009081526003602052604081208054600192906111b5908490612738565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6104bf82826040518060200160405280600081525061164a565b6060816000036112575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611281578061126b81611ffa565b915061127a9050600a83611ee3565b915061125b565b60008167ffffffffffffffff81111561129c5761129c611b7e565b6040519080825280601f01601f1916602001820160405280156112c6576020820181803683370190505b5090505b84156110e1576112db600183611f16565b91506112e8600a8661274b565b6112f3906030612738565b60f81b8183815181106113085761130861216a565b60200101906001600160f81b031916908160001a90535061132a600a86611ee3565b94506112ca565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036113b45760405162461bcd60e51b81526004016105ba90612793565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061141890859061193c565b60405180910390a3505050565b6114308484846110e9565b61143c8484848461167d565b610e6a5760405162461bcd60e51b81526004016105ba906127f2565b606060006114658361177e565b905061147083611230565b600084815260106020526040902054600c9061148c90846109ce565b600d61149787611230565b6000888152601160205260409020546114af90610b6e565b6114c06114bb8a61179b565b611230565b60008a8152601160205260409020546114e290610328906305a39a8090612738565b6114eb8b6117d9565b61150f57604051806040016040528060028152602001614e4f60f01b81525061152c565b6040518060400160405280600381526020016259455360e81b8152505b6115358a611230565b60405160200161154e9a99989796959493929190612874565b604051602081830303815290604052915050919050565b60006001600160e01b031982166380ac58cd60e01b148061159657506001600160e01b03198216635b5e139f60e01b145b806104a757506301ffc9a760e01b6001600160e01b03198316146104a7565b6001600160a01b03831615806115e8575060008181526011602052604090205442906115e6906305a39a8090612738565b115b156115ff5760008181526011602052604090204290555b6001600160a01b03831615610605577ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce78160405161163d9190611aaf565b60405180910390a1505050565b6116548383611801565b611661600084848461167d565b6106055760405162461bcd60e51b81526004016105ba906127f2565b60006001600160a01b0384163b1561177357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906116c1903390899088908890600401612aa4565b6020604051808303816000875af19250505080156116fc575060408051601f3d908101601f191682019092526116f991810190612af3565b60015b611759573d80801561172a576040519150601f19603f3d011682016040523d82523d6000602084013e61172f565b606091505b5080516000036117515760405162461bcd60e51b81526004016105ba906127f2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110e1565b506001949350505050565b6000818152601160205260408120546104a7906102739042611f16565b60006117a6826117d9565b6117b15760006104a7565b60008281526012602052604090205462015180906117cf9042611f16565b6104a79190611ee3565b60008181526011602052604081205442906117f9906305a39a8090612738565b101592915050565b6001600160a01b0382166118275760405162461bcd60e51b81526004016105ba90612b46565b6000818152600260205260409020546001600160a01b03161561185c5760405162461bcd60e51b81526004016105ba90612b8a565b611868600083836115b5565b6001600160a01b0382166000908152600360205260408120805460019290611891908490612738565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981165b8114610ed857600080fd5b80356104a7816118ef565b60006020828403121561192657611926600080fd5b60006110e18484611906565b8015155b82525050565b602081016104a78284611932565b60006001600160a01b0382166104a7565b6118fb8161194a565b80356104a78161195b565b6001600160601b0381166118fb565b80356104a78161196f565b6000806040838503121561199f5761199f600080fd5b60006119ab8585611964565b92505060206119bc8582860161197e565b9150509250929050565b60005b838110156119e15781810151838201526020016119c9565b50506000910152565b60006119f4825190565b808452602084019350611a0b8185602086016119c6565b601f01601f19169290920192915050565b602080825281016107ab81846119ea565b806118fb565b80356104a781611a2d565b600060208284031215611a5357611a53600080fd5b60006110e18484611a33565b6119368161194a565b602081016104a78284611a5f565b60008060408385031215611a8c57611a8c600080fd5b6000611a988585611964565b92505060206119bc85828601611a33565b80611936565b602081016104a78284611aa9565b600080600060608486031215611ad557611ad5600080fd5b6000611ae18686611964565b9350506020611af286828701611964565b9250506040611b0386828701611a33565b9150509250925092565b8015156118fb565b80356104a781611b0d565b600060208284031215611b3557611b35600080fd5b60006110e18484611b15565b60008060408385031215611b5757611b57600080fd5b6000611a988585611a33565b60408101611b718285611a5f565b6107ab6020830184611aa9565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715611bba57611bba611b7e565b6040525050565b6000611bcc60405190565b9050611bd88282611b94565b919050565b600067ffffffffffffffff821115611bf757611bf7611b7e565b601f19601f83011660200192915050565b82818337506000910152565b6000611c27611c2284611bdd565b611bc1565b905082815260208101848484011115611c4257611c42600080fd5b611c4d848285611c08565b509392505050565b600082601f830112611c6957611c69600080fd5b81356110e1848260208601611c14565b600060208284031215611c8e57611c8e600080fd5b813567ffffffffffffffff811115611ca857611ca8600080fd5b6110e184828501611c55565b600060208284031215611cc957611cc9600080fd5b60006110e18484611964565b60008060408385031215611ceb57611ceb600080fd5b6000611cf78585611964565b92505060206119bc85828601611b15565b60008060008060808587031215611d2157611d21600080fd5b6000611d2d8787611964565b9450506020611d3e87828801611964565b9350506040611d4f87828801611a33565b925050606085013567ffffffffffffffff811115611d6f57611d6f600080fd5b611d7b87828801611c55565b91505092959194509250565b60008060408385031215611d9d57611d9d600080fd5b6000611da98585611964565b92505060206119bc85828601611964565b634e487b7160e01b600052602260045260246000fd5b600281046001821680611de457607f821691505b602082108103611df657611df6611dba565b50919050565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291505b5060400190565b602080825281016104a781611dfc565b603e81526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f81527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060208201529150611e36565b602080825281016104a781611e4d565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082611ef257611ef2611eb7565b500490565b818102808215838204851417611f0f57611f0f611ecd565b5092915050565b818103818111156104a7576104a7611ecd565b602e81526000602082017f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6581526d1c881b9bdc88185c1c1c9bdd995960921b60208201529150611e36565b602080825281016104a781611f29565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291505b5060200190565b602080825281016104a781611f84565b6008815260006020820167494e41435449564560c01b81529150611fb4565b602080825281016104a781611fcb565b6000600019820361200d5761200d611ecd565b5060010190565b600061201e825190565b61202c8185602086016119c6565b9290920192915050565b90565b60006120458286612014565b91506120518285611aa9565b6020820191506120618284611aa9565b506020019392505050565b6040808252810161207d81856119ea565b90506107ab6020830184611aa9565b600061209a611c2284611bdd565b9050828152602081018484840111156120b5576120b5600080fd5b611c4d8482856119c6565b600082601f8301126120d4576120d4600080fd5b81516110e184826020860161208c565b6000602082840312156120f9576120f9600080fd5b815167ffffffffffffffff81111561211357612113600080fd5b6110e1848285016120c0565b600061212b8285611aa9565b60208201915061213b8284611aa9565b5060200192915050565b604360f81b8152600061200d565b600061215e82612145565b915061212b8285611aa9565b634e487b7160e01b600052603260045260246000fd5b7f646174613a696d6167652f6a7065673b6261736536342c00000000000000000081526000601782015b91506107ab8284612014565b80516104a781611a2d565b60008060008060008060c087890312156121dd576121dd600080fd5b60006121e989896121b6565b96505060206121fa89828a016121b6565b955050604061220b89828a016121b6565b945050606061221c89828a016121b6565b935050608061222d89828a016121b6565b92505060a061223e89828a016121b6565b9150509295509295509295565b602d60f81b8152600061200d565b601560fa1b8152600061200d565b601d60f91b8152600061200d565b6000612281828e612014565b915061228c8261224b565b9150612298828d612014565b91506122a4828c612014565b91506122af8261224b565b91506122bb828b612014565b91506122c7828a612014565b91506122d282612259565b91506122de8289612014565b91506122ea8288612014565b91506122f582612267565b91506123018287612014565b915061230d8286612014565b915061231882612267565b91506123248285612014565b91506123308284612014565b9d9c50505050505050505050505050565b601881526000602082017f4552433732313a20696e76616c696420746f6b656e204944000000000000000081529150611fb4565b602080825281016104a781612341565b602981526000602082017f4552433732313a2061646472657373207a65726f206973206e6f7420612076618152683634b21037bbb732b960b91b60208201529150611e36565b602080825281016104a781612385565b60006104a76120368381565b6123f0836123db565b815460001960089490940293841b1916921b91909117905550565b60006106058184846123e7565b818110156104bf5761242b60008261240b565b600101612418565b601f821115610605576000818152602090206020601f8501048101602085101561245a5750805b61246c6020601f860104830182612418565b5050505050565b815167ffffffffffffffff81111561248d5761248d611b7e565b6124978254611dd0565b6124a2828285612433565b6020601f8311600181146124d657600084156124be5750858201515b600019600886021c198116600286021786555061252f565b600085815260208120601f198616915b8281101561250657888501518255602094850194600190920191016124e6565b868310156125225784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081526000601b82016121aa565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150611e36565b602080825281016104a781612565565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000611fb4565b602080825281016104a7816125b8565b602a81526000602082017f455243323938313a20726f79616c7479206665652077696c6c206578636565648152692073616c65507269636560b01b60208201529150611e36565b602080825281016104a7816125fa565b601981526000602082017f455243323938313a20696e76616c69642072656365697665720000000000000081529150611fb4565b602080825281016104a781612651565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150611e36565b602080825281016104a781612695565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150611e36565b602080825281016104a7816126e7565b808201808211156104a7576104a7611ecd565b60008261275a5761275a611eb7565b500690565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150611fb4565b602080825281016104a78161275f565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150611e36565b602080825281016104a7816127a3565b6000815461280f81611dd0565b600182168015612826576001811461283b5761286b565b60ff198316865281151582028601935061286b565b60008581526020902060005b8381101561286357815488820152600190910190602001612847565b838801955050505b50505092915050565b7f7b226e616d65223a225374696c6c2052656d656d626572202300000000000000815260190160006128a6828d612014565b701116113232b9b1b934b83a34b7b7111d1160791b815260110191506128cc828c612802565b6a11161134b6b0b3b2911d1160a91b8152600b0191506128ec828b612014565b7111161132bc3a32b93730b62fbab936111d1160711b81526012019150612913828a612802565b915061291f8289612014565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224c81527f6173742052656d656d6265726564222c2276616c7565223a2200000000000000602082015260390191506129778288612014565b7f2855544329227d2c7b2274726169745f74797065223a2244617973222c227661815264363ab2911d60d91b602082015260250191506129b78287612014565b7f7d2c7b2274726169745f74797065223a224578706972792044617465222c227681526630b63ab2911d1160c91b602082015260270191506129f98286612014565b7f2855544329227d2c7b2274726169745f74797065223a225374696c6c2052656d81526f32b6b132b91116113b30b63ab2911d1160811b60208201526030019150612a448285612014565b7f227d2c7b2274726169745f74797065223a22427265616b61676520526174652281526816113b30b63ab2911d60b91b60208201526029019150612a888284612014565b627d5d7d60e81b81526003019c9b505050505050505050505050565b60808101612ab28287611a5f565b612abf6020830186611a5f565b612acc6040830185611aa9565b8181036060830152612ade81846119ea565b9695505050505050565b80516104a7816118ef565b600060208284031215612b0857612b08600080fd5b60006110e18484612ae8565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000611fb4565b602080825281016104a781612b14565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150611fb4565b602080825281016104a781612b5656fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a6f507223e94d0c31378d95491c5de1ac21424169217280721d9a59ee2e5e4cf64736f6c63430008130033000000000000000000000000f6f02bcfd6f92e0353aca3f8a215d3eb3303dc75000000000000000000000000a1bca1dcd2b8b38835cbf1391445ac195f23b7fb
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063621a1f741161010457806390c3f38f116100a2578063c87b56dd11610071578063c87b56dd1461040d578063e985e9c514610420578063f2fde38b1461045c578063f803f4101461046f57600080fd5b806390c3f38f146103cc57806395d89b41146103df578063a22cb465146103e7578063b88d4fde146103fa57600080fd5b806370a08231116100de57806370a0823114610380578063715018a614610393578063775fdce51461039b5780638da5cb5b146103bb57600080fd5b8063621a1f741461032d5780636352211e1461034d5780637046bc671461036057600080fd5b806322f3e2d41161017c578063362662111161014b57806336266211146102e157806342842e0e146102f45780634349034b14610307578063588a93881461031a57600080fd5b806322f3e2d41461028d57806323b872dd1461029a5780632750fc78146102ad5780632a55205a146102c057600080fd5b8063081812fc116101b8578063081812fc14610232578063095ea7b314610252578063153a60711461026557806318160ddd1461028557600080fd5b806301ffc9a7146101df57806302fa7c471461020857806306fdde031461021d575b600080fd5b6101f26101ed366004611911565b610482565b6040516101ff919061193c565b60405180910390f35b61021b610216366004611989565b6104ad565b005b6102256104c3565b6040516101ff9190611a1c565b610245610240366004611a3e565b610555565b6040516101ff9190611a68565b61021b610260366004611a76565b61057c565b610278610273366004611a3e565b61060a565b6040516101ff9190611aaf565b600a54610278565b600b546101f29060ff1681565b61021b6102a8366004611abd565b6107b2565b61021b6102bb366004611b20565b6107e3565b6102d36102ce366004611b41565b6107fe565b6040516101ff929190611b63565b61021b6102ef366004611c79565b6108aa565b61021b610302366004611abd565b6109b3565b610225610315366004611b41565b6109ce565b610225610328366004611a3e565b610b6e565b61027861033b366004611a3e565b60106020526000908152604090205481565b61024561035b366004611a3e565b610d7d565b61027861036e366004611a3e565b60126020526000908152604090205481565b61027861038e366004611cb4565b610db2565b61021b610df6565b6102786103a9366004611a3e565b60116020526000908152604090205481565b6009546001600160a01b0316610245565b61021b6103da366004611c79565b610e0a565b610225610e1e565b61021b6103f5366004611cd5565b610e2d565b61021b610408366004611d08565b610e38565b61022561041b366004611a3e565b610e70565b6101f261042e366004611d87565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61021b61046a366004611cb4565b610ea1565b61021b61047d366004611c79565b610edb565b60006001600160e01b03198216632483248360e11b14806104a757506104a782610eef565b92915050565b6104b5610f14565b6104bf8282610f3e565b5050565b6060600080546104d290611dd0565b80601f01602080910402602001604051908101604052809291908181526020018280546104fe90611dd0565b801561054b5780601f106105205761010080835404028352916020019161054b565b820191906000526020600020905b81548152906001019060200180831161052e57829003601f168201915b5050505050905090565b600061056082610fc8565b506000908152600460205260409020546001600160a01b031690565b600061058782610d7d565b9050806001600160a01b0316836001600160a01b0316036105c35760405162461bcd60e51b81526004016105ba90611e3d565b60405180910390fd5b336001600160a01b03821614806105df57506105df813361042e565b6105fb5760405162461bcd60e51b81526004016105ba90611ea7565b6106058383610ffc565b505050565b6000610617603c83611ee3565b915060006014831161064e5761271061063284615208611ef7565b61063c9190611ee3565b610647906064611f16565b90506107a0565b603c831161068557612710610664601485611f16565b61067090610dac611ef7565b61067a9190611ee3565b61064790603a611f16565b605a83116106bc5761271061069b603c85611f16565b6106a790610bb8611ef7565b6106b19190611ee3565b61064790602c611f16565b6105a083116106f3576127106106d3605a85611f16565b6106de906007611ef7565b6106e89190611ee3565b610647906023611f16565b610b40831161072b5761271061070b6105a085611f16565b610716906030611ef7565b6107209190611ee3565b610647906022611f16565b6121c0831161076357612710610743610b4085611f16565b61074e906003611ef7565b6107589190611ee3565b61064790601b611f16565b6203f480831161079c5761271061077c6121c085611f16565b610787906001611ef7565b6107919190611ee3565b610647906019611f16565b5060005b6107ab816064611f16565b9392505050565b6107bc338261106a565b6107d85760405162461bcd60e51b81526004016105ba90611f74565b6106058383836110e9565b6107eb610f14565b600b805460ff1916911515919091179055565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108735750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610892906001600160601b031687611ef7565b61089c9190611ee3565b915196919550909350505050565b6002600854036108cc5760405162461bcd60e51b81526004016105ba90611fbb565b6002600855600b5460ff166108f35760405162461bcd60e51b81526004016105ba90611fea565b600a805490600061090383611ffa565b9091555050600a5460009081526012602052604090204290558043610929600182611f16565b4060405160200161093c93929190612039565b60408051808303601f190181529181528151602092830120600a546000908152601090935291205561097033600a54611216565b7ff4f18f8ebf8ae3ac6d808f4afe24808da95cf440fedce40e770c28e2b5f923dd81600a546040516109a392919061206c565b60405180910390a1506001600855565b61060583838360405180602001604052806000815250610e38565b600e54604080516339ea509d60e11b815290516060926103e89261473c92614354926000926001600160a01b03909116916373d4a13a9160048082019286929091908290030181865afa158015610a29573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a5191908101906120e4565b905060005b86811015610b41576000838983604051602001610a7492919061211f565b6040516020818303038152906040528051906020012060001c81610a9a57610a9a611eb7565b0686019050604051806060016040528060408152602001612b9b6040913960408a84604051602001610acd929190612153565b6040516020818303038152906040528051906020012060001c81610af357610af3611eb7565b0681518110610b0457610b0461216a565b602001015160f81c60f81b838281518110610b2157610b2161216a565b60200101906001600160f81b031916908160001a90535050600101610a56565b5080604051602001610b539190612180565b60405160208183030381529060405294505050505092915050565b600f54604051630ea1c16960e41b8152606091600091829182918291829182916001600160a01b03169063ea1c169090610bac908b90600401611aaf565b60c060405180830381865afa158015610bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bed91906121c1565b955095509550955095509550610c0286611230565b60098611610c2957604051806040016040528060018152602001600360fc1b815250610c3a565b604051806020016040528060008152505b610c4387611230565b60098711610c6a57604051806040016040528060018152602001600360fc1b815250610c7b565b604051806020016040528060008152505b610c8488611230565b60098811610cab57604051806040016040528060018152602001600360fc1b815250610cbc565b604051806020016040528060008152505b610cc589611230565b60098911610cec57604051806040016040528060018152602001600360fc1b815250610cfd565b604051806020016040528060008152505b610d068a611230565b60098a11610d2d57604051806040016040528060018152602001600360fc1b815250610d3e565b604051806020016040528060008152505b610d478b611230565b604051602001610d619b9a99989796959493929190612275565b6040516020818303038152906040529650505050505050919050565b6000818152600260205260408120546001600160a01b0316806104a75760405162461bcd60e51b81526004016105ba90612375565b60006001600160a01b038216610dda5760405162461bcd60e51b81526004016105ba906123cb565b506001600160a01b031660009081526003602052604090205490565b610dfe610f14565b610e086000611331565b565b610e12610f14565b600c6104bf8282612473565b6060600180546104d290611dd0565b6104bf338383611383565b610e42338361106a565b610e5e5760405162461bcd60e51b81526004016105ba90611f74565b610e6a84848484611425565b50505050565b6060610e7b82611458565b604051602001610e8b9190612537565b6040516020818303038152906040529050919050565b610ea9610f14565b6001600160a01b038116610ecf5760405162461bcd60e51b81526004016105ba906125a8565b610ed881611331565b50565b610ee3610f14565b600d6104bf8282612473565b60006001600160e01b0319821663152a902d60e11b14806104a757506104a782611565565b6009546001600160a01b03163314610e085760405162461bcd60e51b81526004016105ba906125ea565b6127106001600160601b0382161115610f695760405162461bcd60e51b81526004016105ba90612641565b6001600160a01b038216610f8f5760405162461bcd60e51b81526004016105ba90612685565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000818152600260205260409020546001600160a01b0316610ed85760405162461bcd60e51b81526004016105ba90612375565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061103182610d7d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061107683610d7d565b9050806001600160a01b0316846001600160a01b031614806110bd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806110e15750836001600160a01b03166110d684610555565b6001600160a01b0316145b949350505050565b826001600160a01b03166110fc82610d7d565b6001600160a01b0316146111225760405162461bcd60e51b81526004016105ba906126d7565b6001600160a01b0382166111485760405162461bcd60e51b81526004016105ba90612728565b6111538383836115b5565b61115e600082610ffc565b6001600160a01b0383166000908152600360205260408120805460019290611187908490611f16565b90915550506001600160a01b03821660009081526003602052604081208054600192906111b5908490612738565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6104bf82826040518060200160405280600081525061164a565b6060816000036112575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611281578061126b81611ffa565b915061127a9050600a83611ee3565b915061125b565b60008167ffffffffffffffff81111561129c5761129c611b7e565b6040519080825280601f01601f1916602001820160405280156112c6576020820181803683370190505b5090505b84156110e1576112db600183611f16565b91506112e8600a8661274b565b6112f3906030612738565b60f81b8183815181106113085761130861216a565b60200101906001600160f81b031916908160001a90535061132a600a86611ee3565b94506112ca565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036113b45760405162461bcd60e51b81526004016105ba90612793565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061141890859061193c565b60405180910390a3505050565b6114308484846110e9565b61143c8484848461167d565b610e6a5760405162461bcd60e51b81526004016105ba906127f2565b606060006114658361177e565b905061147083611230565b600084815260106020526040902054600c9061148c90846109ce565b600d61149787611230565b6000888152601160205260409020546114af90610b6e565b6114c06114bb8a61179b565b611230565b60008a8152601160205260409020546114e290610328906305a39a8090612738565b6114eb8b6117d9565b61150f57604051806040016040528060028152602001614e4f60f01b81525061152c565b6040518060400160405280600381526020016259455360e81b8152505b6115358a611230565b60405160200161154e9a99989796959493929190612874565b604051602081830303815290604052915050919050565b60006001600160e01b031982166380ac58cd60e01b148061159657506001600160e01b03198216635b5e139f60e01b145b806104a757506301ffc9a760e01b6001600160e01b03198316146104a7565b6001600160a01b03831615806115e8575060008181526011602052604090205442906115e6906305a39a8090612738565b115b156115ff5760008181526011602052604090204290555b6001600160a01b03831615610605577ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce78160405161163d9190611aaf565b60405180910390a1505050565b6116548383611801565b611661600084848461167d565b6106055760405162461bcd60e51b81526004016105ba906127f2565b60006001600160a01b0384163b1561177357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906116c1903390899088908890600401612aa4565b6020604051808303816000875af19250505080156116fc575060408051601f3d908101601f191682019092526116f991810190612af3565b60015b611759573d80801561172a576040519150601f19603f3d011682016040523d82523d6000602084013e61172f565b606091505b5080516000036117515760405162461bcd60e51b81526004016105ba906127f2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110e1565b506001949350505050565b6000818152601160205260408120546104a7906102739042611f16565b60006117a6826117d9565b6117b15760006104a7565b60008281526012602052604090205462015180906117cf9042611f16565b6104a79190611ee3565b60008181526011602052604081205442906117f9906305a39a8090612738565b101592915050565b6001600160a01b0382166118275760405162461bcd60e51b81526004016105ba90612b46565b6000818152600260205260409020546001600160a01b03161561185c5760405162461bcd60e51b81526004016105ba90612b8a565b611868600083836115b5565b6001600160a01b0382166000908152600360205260408120805460019290611891908490612738565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981165b8114610ed857600080fd5b80356104a7816118ef565b60006020828403121561192657611926600080fd5b60006110e18484611906565b8015155b82525050565b602081016104a78284611932565b60006001600160a01b0382166104a7565b6118fb8161194a565b80356104a78161195b565b6001600160601b0381166118fb565b80356104a78161196f565b6000806040838503121561199f5761199f600080fd5b60006119ab8585611964565b92505060206119bc8582860161197e565b9150509250929050565b60005b838110156119e15781810151838201526020016119c9565b50506000910152565b60006119f4825190565b808452602084019350611a0b8185602086016119c6565b601f01601f19169290920192915050565b602080825281016107ab81846119ea565b806118fb565b80356104a781611a2d565b600060208284031215611a5357611a53600080fd5b60006110e18484611a33565b6119368161194a565b602081016104a78284611a5f565b60008060408385031215611a8c57611a8c600080fd5b6000611a988585611964565b92505060206119bc85828601611a33565b80611936565b602081016104a78284611aa9565b600080600060608486031215611ad557611ad5600080fd5b6000611ae18686611964565b9350506020611af286828701611964565b9250506040611b0386828701611a33565b9150509250925092565b8015156118fb565b80356104a781611b0d565b600060208284031215611b3557611b35600080fd5b60006110e18484611b15565b60008060408385031215611b5757611b57600080fd5b6000611a988585611a33565b60408101611b718285611a5f565b6107ab6020830184611aa9565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715611bba57611bba611b7e565b6040525050565b6000611bcc60405190565b9050611bd88282611b94565b919050565b600067ffffffffffffffff821115611bf757611bf7611b7e565b601f19601f83011660200192915050565b82818337506000910152565b6000611c27611c2284611bdd565b611bc1565b905082815260208101848484011115611c4257611c42600080fd5b611c4d848285611c08565b509392505050565b600082601f830112611c6957611c69600080fd5b81356110e1848260208601611c14565b600060208284031215611c8e57611c8e600080fd5b813567ffffffffffffffff811115611ca857611ca8600080fd5b6110e184828501611c55565b600060208284031215611cc957611cc9600080fd5b60006110e18484611964565b60008060408385031215611ceb57611ceb600080fd5b6000611cf78585611964565b92505060206119bc85828601611b15565b60008060008060808587031215611d2157611d21600080fd5b6000611d2d8787611964565b9450506020611d3e87828801611964565b9350506040611d4f87828801611a33565b925050606085013567ffffffffffffffff811115611d6f57611d6f600080fd5b611d7b87828801611c55565b91505092959194509250565b60008060408385031215611d9d57611d9d600080fd5b6000611da98585611964565b92505060206119bc85828601611964565b634e487b7160e01b600052602260045260246000fd5b600281046001821680611de457607f821691505b602082108103611df657611df6611dba565b50919050565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b602082015291505b5060400190565b602080825281016104a781611dfc565b603e81526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f81527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060208201529150611e36565b602080825281016104a781611e4d565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082611ef257611ef2611eb7565b500490565b818102808215838204851417611f0f57611f0f611ecd565b5092915050565b818103818111156104a7576104a7611ecd565b602e81526000602082017f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6581526d1c881b9bdc88185c1c1c9bdd995960921b60208201529150611e36565b602080825281016104a781611f29565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291505b5060200190565b602080825281016104a781611f84565b6008815260006020820167494e41435449564560c01b81529150611fb4565b602080825281016104a781611fcb565b6000600019820361200d5761200d611ecd565b5060010190565b600061201e825190565b61202c8185602086016119c6565b9290920192915050565b90565b60006120458286612014565b91506120518285611aa9565b6020820191506120618284611aa9565b506020019392505050565b6040808252810161207d81856119ea565b90506107ab6020830184611aa9565b600061209a611c2284611bdd565b9050828152602081018484840111156120b5576120b5600080fd5b611c4d8482856119c6565b600082601f8301126120d4576120d4600080fd5b81516110e184826020860161208c565b6000602082840312156120f9576120f9600080fd5b815167ffffffffffffffff81111561211357612113600080fd5b6110e1848285016120c0565b600061212b8285611aa9565b60208201915061213b8284611aa9565b5060200192915050565b604360f81b8152600061200d565b600061215e82612145565b915061212b8285611aa9565b634e487b7160e01b600052603260045260246000fd5b7f646174613a696d6167652f6a7065673b6261736536342c00000000000000000081526000601782015b91506107ab8284612014565b80516104a781611a2d565b60008060008060008060c087890312156121dd576121dd600080fd5b60006121e989896121b6565b96505060206121fa89828a016121b6565b955050604061220b89828a016121b6565b945050606061221c89828a016121b6565b935050608061222d89828a016121b6565b92505060a061223e89828a016121b6565b9150509295509295509295565b602d60f81b8152600061200d565b601560fa1b8152600061200d565b601d60f91b8152600061200d565b6000612281828e612014565b915061228c8261224b565b9150612298828d612014565b91506122a4828c612014565b91506122af8261224b565b91506122bb828b612014565b91506122c7828a612014565b91506122d282612259565b91506122de8289612014565b91506122ea8288612014565b91506122f582612267565b91506123018287612014565b915061230d8286612014565b915061231882612267565b91506123248285612014565b91506123308284612014565b9d9c50505050505050505050505050565b601881526000602082017f4552433732313a20696e76616c696420746f6b656e204944000000000000000081529150611fb4565b602080825281016104a781612341565b602981526000602082017f4552433732313a2061646472657373207a65726f206973206e6f7420612076618152683634b21037bbb732b960b91b60208201529150611e36565b602080825281016104a781612385565b60006104a76120368381565b6123f0836123db565b815460001960089490940293841b1916921b91909117905550565b60006106058184846123e7565b818110156104bf5761242b60008261240b565b600101612418565b601f821115610605576000818152602090206020601f8501048101602085101561245a5750805b61246c6020601f860104830182612418565b5050505050565b815167ffffffffffffffff81111561248d5761248d611b7e565b6124978254611dd0565b6124a2828285612433565b6020601f8311600181146124d657600084156124be5750858201515b600019600886021c198116600286021786555061252f565b600085815260208120601f198616915b8281101561250657888501518255602094850194600190920191016124e6565b868310156125225784890151600019601f89166008021c191682555b6001600288020188555050505b505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c000000000081526000601b82016121aa565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150611e36565b602080825281016104a781612565565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000611fb4565b602080825281016104a7816125b8565b602a81526000602082017f455243323938313a20726f79616c7479206665652077696c6c206578636565648152692073616c65507269636560b01b60208201529150611e36565b602080825281016104a7816125fa565b601981526000602082017f455243323938313a20696e76616c69642072656365697665720000000000000081529150611fb4565b602080825281016104a781612651565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150611e36565b602080825281016104a781612695565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150611e36565b602080825281016104a7816126e7565b808201808211156104a7576104a7611ecd565b60008261275a5761275a611eb7565b500690565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150611fb4565b602080825281016104a78161275f565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150611e36565b602080825281016104a7816127a3565b6000815461280f81611dd0565b600182168015612826576001811461283b5761286b565b60ff198316865281151582028601935061286b565b60008581526020902060005b8381101561286357815488820152600190910190602001612847565b838801955050505b50505092915050565b7f7b226e616d65223a225374696c6c2052656d656d626572202300000000000000815260190160006128a6828d612014565b701116113232b9b1b934b83a34b7b7111d1160791b815260110191506128cc828c612802565b6a11161134b6b0b3b2911d1160a91b8152600b0191506128ec828b612014565b7111161132bc3a32b93730b62fbab936111d1160711b81526012019150612913828a612802565b915061291f8289612014565b7f222c2261747472696275746573223a5b7b2274726169745f74797065223a224c81527f6173742052656d656d6265726564222c2276616c7565223a2200000000000000602082015260390191506129778288612014565b7f2855544329227d2c7b2274726169745f74797065223a2244617973222c227661815264363ab2911d60d91b602082015260250191506129b78287612014565b7f7d2c7b2274726169745f74797065223a224578706972792044617465222c227681526630b63ab2911d1160c91b602082015260270191506129f98286612014565b7f2855544329227d2c7b2274726169745f74797065223a225374696c6c2052656d81526f32b6b132b91116113b30b63ab2911d1160811b60208201526030019150612a448285612014565b7f227d2c7b2274726169745f74797065223a22427265616b61676520526174652281526816113b30b63ab2911d60b91b60208201526029019150612a888284612014565b627d5d7d60e81b81526003019c9b505050505050505050505050565b60808101612ab28287611a5f565b612abf6020830186611a5f565b612acc6040830185611aa9565b8181036060830152612ade81846119ea565b9695505050505050565b80516104a7816118ef565b600060208284031215612b0857612b08600080fd5b60006110e18484612ae8565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000611fb4565b602080825281016104a781612b14565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150611fb4565b602080825281016104a781612b5656fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a6f507223e94d0c31378d95491c5de1ac21424169217280721d9a59ee2e5e4cf64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f6f02bcfd6f92e0353aca3f8a215d3eb3303dc75000000000000000000000000a1bca1dcd2b8b38835cbf1391445ac195f23b7fb
-----Decoded View---------------
Arg [0] : _beach (address): 0xF6f02BCFd6F92e0353ACA3f8a215D3eB3303dC75
Arg [1] : _datetime (address): 0xa1BCa1Dcd2B8b38835cBF1391445AC195F23B7FB
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f6f02bcfd6f92e0353aca3f8a215d3eb3303dc75
Arg [1] : 000000000000000000000000a1bca1dcd2b8b38835cbf1391445ac195f23b7fb
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.