ERC-721
Overview
Max Total Supply
0 PIANO
Holders
59
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PIANOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
OpenPiano
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Erc721.sol"; import "./utils/Strings.sol"; contract OpenPiano is ERC721 { using Strings for uint256; uint256 public immutable maxSupply; string public baseMetadataURI; string public contractURI; uint256 public tokenIndex = 1; event ChangedMetadata( string indexed newBaseMetadataURI ); constructor ( string memory _name, string memory _symbol, uint256 _maxSupply, string memory _contractURI ) ERC721(_name, _symbol) { maxSupply = _maxSupply; _safeMint(_msgSender(), 0); contractURI = _contractURI; } modifier onlyTokenIdZeroOwner() { require(ownerOf(0) == _msgSender(), 'not owner of tokenId: 0'); _; } modifier onlyUnderMaxSupply(uint256 mintingAmount) { require(tokenIndex + mintingAmount <= maxSupply, 'exceeded max supply'); _; } function setBaseMetadataURI(string memory _baseMetadataURI) public onlyTokenIdZeroOwner { baseMetadataURI = _baseMetadataURI; emit ChangedMetadata(_baseMetadataURI); } function _baseURI() override internal view virtual returns (string memory) { return baseMetadataURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } function mint(address[] calldata addresses) onlyUnderMaxSupply(addresses.length) onlyTokenIdZeroOwner public { for (uint i = 0; i < addresses.length; ++i) { // mint token _safeMint(addresses[i], tokenIndex); // increment tokenIndex++; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interface/IERC721.sol"; import "./interface/IERC721Receiver.sol"; import "./interface/IERC721Metadata.sol"; import "./utils/Address.sol"; import "./utils/Context.sol"; import "./utils/Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interface/IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"string","name":"_contractURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"newBaseMetadataURI","type":"string"}],"name":"ChangedMetadata","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseMetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"_baseMetadataURI","type":"string"}],"name":"setBaseMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]
Contract Creation Code
60a060405260016008553480156200001657600080fd5b5060405162003a7438038062003a7483398181016040528101906200003c9190620006fb565b83838160009080519060200190620000569291906200057f565b5080600190805190602001906200006f9291906200057f565b50505081608081815250506200009c6200008e620000bf60201b60201c565b6000620000c760201b60201c565b8060079080519060200190620000b49291906200057f565b505050505062000c54565b600033905090565b620000e9828260405180602001604052806000815250620000ed60201b60201c565b5050565b620000ff83836200015b60201b60201c565b6200011460008484846200034160201b60201c565b62000156576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200014d9062000955565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620001ce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001c59062000999565b60405180910390fd5b620001df81620004fb60201b60201c565b1562000222576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002199062000977565b60405180910390fd5b62000236600083836200056760201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000288919062000a4f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006200036f8473ffffffffffffffffffffffffffffffffffffffff166200056c60201b620010111760201c565b15620004ee578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620003a1620000bf60201b60201c565b8786866040518563ffffffff1660e01b8152600401620003c5949392919062000901565b602060405180830381600087803b158015620003e057600080fd5b505af19250505080156200041457506040513d601f19601f82011682018060405250810190620004119190620006cf565b60015b6200049d573d806000811462000447576040519150601f19603f3d011682016040523d82523d6000602084013e6200044c565b606091505b5060008151141562000495576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048c9062000955565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620004f3565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b600080823b905060008111915050919050565b8280546200058d9062000b4c565b90600052602060002090601f016020900481019282620005b15760008555620005fd565b82601f10620005cc57805160ff1916838001178555620005fd565b82800160010185558215620005fd579182015b82811115620005fc578251825591602001919060010190620005df565b5b5090506200060c919062000610565b5090565b5b808211156200062b57600081600090555060010162000611565b5090565b6000620006466200064084620009ef565b620009bb565b9050828152602081018484840111156200065f57600080fd5b6200066c84828562000b16565b509392505050565b600081519050620006858162000c20565b92915050565b600082601f8301126200069d57600080fd5b8151620006af8482602086016200062f565b91505092915050565b600081519050620006c98162000c3a565b92915050565b600060208284031215620006e257600080fd5b6000620006f28482850162000674565b91505092915050565b600080600080608085870312156200071257600080fd5b600085015167ffffffffffffffff8111156200072d57600080fd5b6200073b878288016200068b565b945050602085015167ffffffffffffffff8111156200075957600080fd5b62000767878288016200068b565b93505060406200077a87828801620006b8565b925050606085015167ffffffffffffffff8111156200079857600080fd5b620007a6878288016200068b565b91505092959194509250565b620007bd8162000aac565b82525050565b6000620007d08262000a22565b620007dc818562000a2d565b9350620007ee81856020860162000b16565b620007f98162000c0f565b840191505092915050565b60006200081360328362000a3e565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006200087b601c8362000a3e565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000620008bd60208362000a3e565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b620008fb8162000b0c565b82525050565b6000608082019050620009186000830187620007b2565b620009276020830186620007b2565b620009366040830185620008f0565b81810360608301526200094a8184620007c3565b905095945050505050565b60006020820190508181036000830152620009708162000804565b9050919050565b6000602082019050818103600083015262000992816200086c565b9050919050565b60006020820190508181036000830152620009b481620008ae565b9050919050565b6000604051905081810181811067ffffffffffffffff82111715620009e557620009e462000be0565b5b8060405250919050565b600067ffffffffffffffff82111562000a0d5762000a0c62000be0565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000a5c8262000b0c565b915062000a698362000b0c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000aa15762000aa062000b82565b5b828201905092915050565b600062000ab98262000aec565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000b3657808201518184015260208101905062000b19565b8381111562000b46576000848401525b50505050565b6000600282049050600182168062000b6557607f821691505b6020821081141562000b7c5762000b7b62000bb1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b62000c2b8162000ac0565b811462000c3757600080fd5b50565b62000c458162000b0c565b811462000c5157600080fd5b50565b608051612dfd62000c7760003960008181610c9c0152610ecd0152612dfd6000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80637e518ec8116100ad578063c87b56dd11610071578063c87b56dd14610304578063d55f927314610334578063d5abeb0114610352578063e8a3d48514610370578063e985e9c51461038e57610121565b80637e518ec81461027657806395d89b4114610292578063a22cb465146102b0578063b88d4fde146102cc578063bd075b84146102e857610121565b806323b872dd116100f457806323b872dd146101c057806342842e0e146101dc5780635b2bd79e146101f85780636352211e1461021657806370a082311461024657610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b9190611f85565b6103be565b60405161014d9190612755565b60405180910390f35b61015e6104a0565b60405161016b9190612770565b60405180910390f35b61018e60048036038101906101899190612018565b610532565b60405161019b91906126ee565b60405180910390f35b6101be60048036038101906101b99190611f04565b6105b7565b005b6101da60048036038101906101d59190611dfe565b6106cf565b005b6101f660048036038101906101f19190611dfe565b61072f565b005b61020061074f565b60405161020d9190612770565b60405180910390f35b610230600480360381019061022b9190612018565b6107dd565b60405161023d91906126ee565b60405180910390f35b610260600480360381019061025b9190611d99565b61088f565b60405161026d9190612992565b60405180910390f35b610290600480360381019061028b9190611fd7565b610947565b005b61029a610a21565b6040516102a79190612770565b60405180910390f35b6102ca60048036038101906102c59190611ec8565b610ab3565b005b6102e660048036038101906102e19190611e4d565b610c34565b005b61030260048036038101906102fd9190611f40565b610c96565b005b61031e60048036038101906103199190612018565b610e1e565b60405161032b9190612770565b60405180910390f35b61033c610ec5565b6040516103499190612992565b60405180910390f35b61035a610ecb565b6040516103679190612992565b60405180910390f35b610378610eef565b6040516103859190612770565b60405180910390f35b6103a860048036038101906103a39190611dc2565b610f7d565b6040516103b59190612755565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061048957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610499575061049882611024565b5b9050919050565b6060600080546104af90612bf2565b80601f01602080910402602001604051908101604052809291908181526020018280546104db90612bf2565b80156105285780601f106104fd57610100808354040283529160200191610528565b820191906000526020600020905b81548152906001019060200180831161050b57829003601f168201915b5050505050905090565b600061053d8261108e565b61057c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610573906128f2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105c2826107dd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a90612952565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106526110fa565b73ffffffffffffffffffffffffffffffffffffffff16148061068157506106808161067b6110fa565b610f7d565b5b6106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b790612872565b60405180910390fd5b6106ca8383611102565b505050565b6106e06106da6110fa565b826111bb565b61071f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071690612972565b60405180910390fd5b61072a838383611299565b505050565b61074a83838360405180602001604052806000815250610c34565b505050565b6006805461075c90612bf2565b80601f016020809104026020016040519081016040528092919081815260200182805461078890612bf2565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087d906128b2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f790612892565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61094f6110fa565b73ffffffffffffffffffffffffffffffffffffffff1661096f60006107dd565b73ffffffffffffffffffffffffffffffffffffffff16146109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc90612852565b60405180910390fd5b80600690805190602001906109db929190611b73565b50806040516109ea91906126b3565b60405180910390207f2f73b049a7f53c55d7905f9669c72d11fd760f63bc6739999a7bac6a69826f5d60405160405180910390a250565b606060018054610a3090612bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5c90612bf2565b8015610aa95780601f10610a7e57610100808354040283529160200191610aa9565b820191906000526020600020905b815481529060010190602001808311610a8c57829003601f168201915b5050505050905090565b610abb6110fa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2090612812565b60405180910390fd5b8060056000610b366110fa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610be36110fa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c289190612755565b60405180910390a35050565b610c45610c3f6110fa565b836111bb565b610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b90612972565b60405180910390fd5b610c90848484846114f5565b50505050565b818190507f000000000000000000000000000000000000000000000000000000000000000081600854610cc99190612a81565b1115610d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d01906127b2565b60405180910390fd5b610d126110fa565b73ffffffffffffffffffffffffffffffffffffffff16610d3260006107dd565b73ffffffffffffffffffffffffffffffffffffffff1614610d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7f90612852565b60405180910390fd5b60005b83839050811015610e1857610def848483818110610dd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610de79190611d99565b600854611551565b60086000815480929190610e0290612c24565b919050555080610e1190612c24565b9050610d8b565b50505050565b6060610e298261108e565b610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f90612932565b60405180910390fd5b6000610e7261156f565b90506000815111610e925760405180602001604052806000815250610ebd565b80610e9c84611601565b604051602001610ead9291906126ca565b6040516020818303038152906040525b915050919050565b60085481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60078054610efc90612bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2890612bf2565b8015610f755780601f10610f4a57610100808354040283529160200191610f75565b820191906000526020600020905b815481529060010190602001808311610f5857829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611175836107dd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006111c68261108e565b611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fc90612832565b60405180910390fd5b6000611210836107dd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061127f57508373ffffffffffffffffffffffffffffffffffffffff1661126784610532565b73ffffffffffffffffffffffffffffffffffffffff16145b80611290575061128f8185610f7d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166112b9826107dd565b73ffffffffffffffffffffffffffffffffffffffff161461130f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130690612912565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561137f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611376906127f2565b60405180910390fd5b61138a8383836117ae565b611395600082611102565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e59190612b08565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461143c9190612a81565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611500848484611299565b61150c848484846117b3565b61154b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154290612792565b60405180910390fd5b50505050565b61156b82826040518060200160405280600081525061194a565b5050565b60606006805461157e90612bf2565b80601f01602080910402602001604051908101604052809291908181526020018280546115aa90612bf2565b80156115f75780601f106115cc576101008083540402835291602001916115f7565b820191906000526020600020905b8154815290600101906020018083116115da57829003601f168201915b5050505050905090565b60606000821415611649576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506117a9565b600082905060005b6000821461167b57808061166490612c24565b915050600a826116749190612ad7565b9150611651565b60008167ffffffffffffffff8111156116bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116ef5781602001600182028036833780820191505090505b5090505b600085146117a2576001826117089190612b08565b9150600a856117179190612c6d565b60306117239190612a81565b60f81b81838151811061175f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561179b9190612ad7565b94506116f3565b8093505050505b919050565b505050565b60006117d48473ffffffffffffffffffffffffffffffffffffffff16611011565b1561193d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026117fd6110fa565b8786866040518563ffffffff1660e01b815260040161181f9493929190612709565b602060405180830381600087803b15801561183957600080fd5b505af192505050801561186a57506040513d601f19601f820116820180604052508101906118679190611fae565b60015b6118ed573d806000811461189a576040519150601f19603f3d011682016040523d82523d6000602084013e61189f565b606091505b506000815114156118e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dc90612792565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611942565b600190505b949350505050565b61195483836119a5565b61196160008484846117b3565b6119a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199790612792565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0c906128d2565b60405180910390fd5b611a1e8161108e565b15611a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a55906127d2565b60405180910390fd5b611a6a600083836117ae565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aba9190612a81565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054611b7f90612bf2565b90600052602060002090601f016020900481019282611ba15760008555611be8565b82601f10611bba57805160ff1916838001178555611be8565b82800160010185558215611be8579182015b82811115611be7578251825591602001919060010190611bcc565b5b509050611bf59190611bf9565b5090565b5b80821115611c12576000816000905550600101611bfa565b5090565b6000611c29611c24846129de565b6129ad565b905082815260208101848484011115611c4157600080fd5b611c4c848285612bb0565b509392505050565b6000611c67611c6284612a0e565b6129ad565b905082815260208101848484011115611c7f57600080fd5b611c8a848285612bb0565b509392505050565b600081359050611ca181612d6b565b92915050565b60008083601f840112611cb957600080fd5b8235905067ffffffffffffffff811115611cd257600080fd5b602083019150836020820283011115611cea57600080fd5b9250929050565b600081359050611d0081612d82565b92915050565b600081359050611d1581612d99565b92915050565b600081519050611d2a81612d99565b92915050565b600082601f830112611d4157600080fd5b8135611d51848260208601611c16565b91505092915050565b600082601f830112611d6b57600080fd5b8135611d7b848260208601611c54565b91505092915050565b600081359050611d9381612db0565b92915050565b600060208284031215611dab57600080fd5b6000611db984828501611c92565b91505092915050565b60008060408385031215611dd557600080fd5b6000611de385828601611c92565b9250506020611df485828601611c92565b9150509250929050565b600080600060608486031215611e1357600080fd5b6000611e2186828701611c92565b9350506020611e3286828701611c92565b9250506040611e4386828701611d84565b9150509250925092565b60008060008060808587031215611e6357600080fd5b6000611e7187828801611c92565b9450506020611e8287828801611c92565b9350506040611e9387828801611d84565b925050606085013567ffffffffffffffff811115611eb057600080fd5b611ebc87828801611d30565b91505092959194509250565b60008060408385031215611edb57600080fd5b6000611ee985828601611c92565b9250506020611efa85828601611cf1565b9150509250929050565b60008060408385031215611f1757600080fd5b6000611f2585828601611c92565b9250506020611f3685828601611d84565b9150509250929050565b60008060208385031215611f5357600080fd5b600083013567ffffffffffffffff811115611f6d57600080fd5b611f7985828601611ca7565b92509250509250929050565b600060208284031215611f9757600080fd5b6000611fa584828501611d06565b91505092915050565b600060208284031215611fc057600080fd5b6000611fce84828501611d1b565b91505092915050565b600060208284031215611fe957600080fd5b600082013567ffffffffffffffff81111561200357600080fd5b61200f84828501611d5a565b91505092915050565b60006020828403121561202a57600080fd5b600061203884828501611d84565b91505092915050565b61204a81612b3c565b82525050565b61205981612b4e565b82525050565b600061206a82612a3e565b6120748185612a54565b9350612084818560208601612bbf565b61208d81612d5a565b840191505092915050565b60006120a382612a49565b6120ad8185612a65565b93506120bd818560208601612bbf565b6120c681612d5a565b840191505092915050565b60006120dc82612a49565b6120e68185612a76565b93506120f6818560208601612bbf565b80840191505092915050565b600061210f603283612a65565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000612175601383612a65565b91507f6578636565646564206d617820737570706c79000000000000000000000000006000830152602082019050919050565b60006121b5601c83612a65565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006121f5602483612a65565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061225b601983612a65565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061229b602c83612a65565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612301601783612a65565b91507f6e6f74206f776e6572206f6620746f6b656e49643a20300000000000000000006000830152602082019050919050565b6000612341603883612a65565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006123a7602a83612a65565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061240d602983612a65565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612473602083612a65565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006124b3602c83612a65565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612519602983612a65565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061257f602f83612a65565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006125e5602183612a65565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061264b603183612a65565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6126ad81612ba6565b82525050565b60006126bf82846120d1565b915081905092915050565b60006126d682856120d1565b91506126e282846120d1565b91508190509392505050565b60006020820190506127036000830184612041565b92915050565b600060808201905061271e6000830187612041565b61272b6020830186612041565b61273860408301856126a4565b818103606083015261274a818461205f565b905095945050505050565b600060208201905061276a6000830184612050565b92915050565b6000602082019050818103600083015261278a8184612098565b905092915050565b600060208201905081810360008301526127ab81612102565b9050919050565b600060208201905081810360008301526127cb81612168565b9050919050565b600060208201905081810360008301526127eb816121a8565b9050919050565b6000602082019050818103600083015261280b816121e8565b9050919050565b6000602082019050818103600083015261282b8161224e565b9050919050565b6000602082019050818103600083015261284b8161228e565b9050919050565b6000602082019050818103600083015261286b816122f4565b9050919050565b6000602082019050818103600083015261288b81612334565b9050919050565b600060208201905081810360008301526128ab8161239a565b9050919050565b600060208201905081810360008301526128cb81612400565b9050919050565b600060208201905081810360008301526128eb81612466565b9050919050565b6000602082019050818103600083015261290b816124a6565b9050919050565b6000602082019050818103600083015261292b8161250c565b9050919050565b6000602082019050818103600083015261294b81612572565b9050919050565b6000602082019050818103600083015261296b816125d8565b9050919050565b6000602082019050818103600083015261298b8161263e565b9050919050565b60006020820190506129a760008301846126a4565b92915050565b6000604051905081810181811067ffffffffffffffff821117156129d4576129d3612d2b565b5b8060405250919050565b600067ffffffffffffffff8211156129f9576129f8612d2b565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115612a2957612a28612d2b565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612a8c82612ba6565b9150612a9783612ba6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612acc57612acb612c9e565b5b828201905092915050565b6000612ae282612ba6565b9150612aed83612ba6565b925082612afd57612afc612ccd565b5b828204905092915050565b6000612b1382612ba6565b9150612b1e83612ba6565b925082821015612b3157612b30612c9e565b5b828203905092915050565b6000612b4782612b86565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612bdd578082015181840152602081019050612bc2565b83811115612bec576000848401525b50505050565b60006002820490506001821680612c0a57607f821691505b60208210811415612c1e57612c1d612cfc565b5b50919050565b6000612c2f82612ba6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612c6257612c61612c9e565b5b600182019050919050565b6000612c7882612ba6565b9150612c8383612ba6565b925082612c9357612c92612ccd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b612d7481612b3c565b8114612d7f57600080fd5b50565b612d8b81612b4e565b8114612d9657600080fd5b50565b612da281612b5a565b8114612dad57600080fd5b50565b612db981612ba6565b8114612dc457600080fd5b5056fea264697066735822122088f2f9c50c84ae54c7ccaf27eeba8f7af550d67f43d4f42308d6451591b6bacf64736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000114f70656e205069616e6f20627920504f4200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055049414e4f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696374666f61613235706874363534756b7a7970616735713279766672326c79356e79666c6a73367065767a6f79757a647a697375000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c80637e518ec8116100ad578063c87b56dd11610071578063c87b56dd14610304578063d55f927314610334578063d5abeb0114610352578063e8a3d48514610370578063e985e9c51461038e57610121565b80637e518ec81461027657806395d89b4114610292578063a22cb465146102b0578063b88d4fde146102cc578063bd075b84146102e857610121565b806323b872dd116100f457806323b872dd146101c057806342842e0e146101dc5780635b2bd79e146101f85780636352211e1461021657806370a082311461024657610121565b806301ffc9a71461012657806306fdde0314610156578063081812fc14610174578063095ea7b3146101a4575b600080fd5b610140600480360381019061013b9190611f85565b6103be565b60405161014d9190612755565b60405180910390f35b61015e6104a0565b60405161016b9190612770565b60405180910390f35b61018e60048036038101906101899190612018565b610532565b60405161019b91906126ee565b60405180910390f35b6101be60048036038101906101b99190611f04565b6105b7565b005b6101da60048036038101906101d59190611dfe565b6106cf565b005b6101f660048036038101906101f19190611dfe565b61072f565b005b61020061074f565b60405161020d9190612770565b60405180910390f35b610230600480360381019061022b9190612018565b6107dd565b60405161023d91906126ee565b60405180910390f35b610260600480360381019061025b9190611d99565b61088f565b60405161026d9190612992565b60405180910390f35b610290600480360381019061028b9190611fd7565b610947565b005b61029a610a21565b6040516102a79190612770565b60405180910390f35b6102ca60048036038101906102c59190611ec8565b610ab3565b005b6102e660048036038101906102e19190611e4d565b610c34565b005b61030260048036038101906102fd9190611f40565b610c96565b005b61031e60048036038101906103199190612018565b610e1e565b60405161032b9190612770565b60405180910390f35b61033c610ec5565b6040516103499190612992565b60405180910390f35b61035a610ecb565b6040516103679190612992565b60405180910390f35b610378610eef565b6040516103859190612770565b60405180910390f35b6103a860048036038101906103a39190611dc2565b610f7d565b6040516103b59190612755565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061048957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610499575061049882611024565b5b9050919050565b6060600080546104af90612bf2565b80601f01602080910402602001604051908101604052809291908181526020018280546104db90612bf2565b80156105285780601f106104fd57610100808354040283529160200191610528565b820191906000526020600020905b81548152906001019060200180831161050b57829003601f168201915b5050505050905090565b600061053d8261108e565b61057c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610573906128f2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105c2826107dd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a90612952565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106526110fa565b73ffffffffffffffffffffffffffffffffffffffff16148061068157506106808161067b6110fa565b610f7d565b5b6106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b790612872565b60405180910390fd5b6106ca8383611102565b505050565b6106e06106da6110fa565b826111bb565b61071f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161071690612972565b60405180910390fd5b61072a838383611299565b505050565b61074a83838360405180602001604052806000815250610c34565b505050565b6006805461075c90612bf2565b80601f016020809104026020016040519081016040528092919081815260200182805461078890612bf2565b80156107d55780601f106107aa576101008083540402835291602001916107d5565b820191906000526020600020905b8154815290600101906020018083116107b857829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087d906128b2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f790612892565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61094f6110fa565b73ffffffffffffffffffffffffffffffffffffffff1661096f60006107dd565b73ffffffffffffffffffffffffffffffffffffffff16146109c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bc90612852565b60405180910390fd5b80600690805190602001906109db929190611b73565b50806040516109ea91906126b3565b60405180910390207f2f73b049a7f53c55d7905f9669c72d11fd760f63bc6739999a7bac6a69826f5d60405160405180910390a250565b606060018054610a3090612bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5c90612bf2565b8015610aa95780601f10610a7e57610100808354040283529160200191610aa9565b820191906000526020600020905b815481529060010190602001808311610a8c57829003601f168201915b5050505050905090565b610abb6110fa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2090612812565b60405180910390fd5b8060056000610b366110fa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610be36110fa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610c289190612755565b60405180910390a35050565b610c45610c3f6110fa565b836111bb565b610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b90612972565b60405180910390fd5b610c90848484846114f5565b50505050565b818190507f000000000000000000000000000000000000000000000000000000000000004081600854610cc99190612a81565b1115610d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d01906127b2565b60405180910390fd5b610d126110fa565b73ffffffffffffffffffffffffffffffffffffffff16610d3260006107dd565b73ffffffffffffffffffffffffffffffffffffffff1614610d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7f90612852565b60405180910390fd5b60005b83839050811015610e1857610def848483818110610dd2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610de79190611d99565b600854611551565b60086000815480929190610e0290612c24565b919050555080610e1190612c24565b9050610d8b565b50505050565b6060610e298261108e565b610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f90612932565b60405180910390fd5b6000610e7261156f565b90506000815111610e925760405180602001604052806000815250610ebd565b80610e9c84611601565b604051602001610ead9291906126ca565b6040516020818303038152906040525b915050919050565b60085481565b7f000000000000000000000000000000000000000000000000000000000000004081565b60078054610efc90612bf2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2890612bf2565b8015610f755780601f10610f4a57610100808354040283529160200191610f75565b820191906000526020600020905b815481529060010190602001808311610f5857829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611175836107dd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006111c68261108e565b611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fc90612832565b60405180910390fd5b6000611210836107dd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061127f57508373ffffffffffffffffffffffffffffffffffffffff1661126784610532565b73ffffffffffffffffffffffffffffffffffffffff16145b80611290575061128f8185610f7d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166112b9826107dd565b73ffffffffffffffffffffffffffffffffffffffff161461130f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130690612912565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561137f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611376906127f2565b60405180910390fd5b61138a8383836117ae565b611395600082611102565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113e59190612b08565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461143c9190612a81565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611500848484611299565b61150c848484846117b3565b61154b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154290612792565b60405180910390fd5b50505050565b61156b82826040518060200160405280600081525061194a565b5050565b60606006805461157e90612bf2565b80601f01602080910402602001604051908101604052809291908181526020018280546115aa90612bf2565b80156115f75780601f106115cc576101008083540402835291602001916115f7565b820191906000526020600020905b8154815290600101906020018083116115da57829003601f168201915b5050505050905090565b60606000821415611649576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506117a9565b600082905060005b6000821461167b57808061166490612c24565b915050600a826116749190612ad7565b9150611651565b60008167ffffffffffffffff8111156116bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116ef5781602001600182028036833780820191505090505b5090505b600085146117a2576001826117089190612b08565b9150600a856117179190612c6d565b60306117239190612a81565b60f81b81838151811061175f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561179b9190612ad7565b94506116f3565b8093505050505b919050565b505050565b60006117d48473ffffffffffffffffffffffffffffffffffffffff16611011565b1561193d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026117fd6110fa565b8786866040518563ffffffff1660e01b815260040161181f9493929190612709565b602060405180830381600087803b15801561183957600080fd5b505af192505050801561186a57506040513d601f19601f820116820180604052508101906118679190611fae565b60015b6118ed573d806000811461189a576040519150601f19603f3d011682016040523d82523d6000602084013e61189f565b606091505b506000815114156118e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118dc90612792565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611942565b600190505b949350505050565b61195483836119a5565b61196160008484846117b3565b6119a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199790612792565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0c906128d2565b60405180910390fd5b611a1e8161108e565b15611a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a55906127d2565b60405180910390fd5b611a6a600083836117ae565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611aba9190612a81565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054611b7f90612bf2565b90600052602060002090601f016020900481019282611ba15760008555611be8565b82601f10611bba57805160ff1916838001178555611be8565b82800160010185558215611be8579182015b82811115611be7578251825591602001919060010190611bcc565b5b509050611bf59190611bf9565b5090565b5b80821115611c12576000816000905550600101611bfa565b5090565b6000611c29611c24846129de565b6129ad565b905082815260208101848484011115611c4157600080fd5b611c4c848285612bb0565b509392505050565b6000611c67611c6284612a0e565b6129ad565b905082815260208101848484011115611c7f57600080fd5b611c8a848285612bb0565b509392505050565b600081359050611ca181612d6b565b92915050565b60008083601f840112611cb957600080fd5b8235905067ffffffffffffffff811115611cd257600080fd5b602083019150836020820283011115611cea57600080fd5b9250929050565b600081359050611d0081612d82565b92915050565b600081359050611d1581612d99565b92915050565b600081519050611d2a81612d99565b92915050565b600082601f830112611d4157600080fd5b8135611d51848260208601611c16565b91505092915050565b600082601f830112611d6b57600080fd5b8135611d7b848260208601611c54565b91505092915050565b600081359050611d9381612db0565b92915050565b600060208284031215611dab57600080fd5b6000611db984828501611c92565b91505092915050565b60008060408385031215611dd557600080fd5b6000611de385828601611c92565b9250506020611df485828601611c92565b9150509250929050565b600080600060608486031215611e1357600080fd5b6000611e2186828701611c92565b9350506020611e3286828701611c92565b9250506040611e4386828701611d84565b9150509250925092565b60008060008060808587031215611e6357600080fd5b6000611e7187828801611c92565b9450506020611e8287828801611c92565b9350506040611e9387828801611d84565b925050606085013567ffffffffffffffff811115611eb057600080fd5b611ebc87828801611d30565b91505092959194509250565b60008060408385031215611edb57600080fd5b6000611ee985828601611c92565b9250506020611efa85828601611cf1565b9150509250929050565b60008060408385031215611f1757600080fd5b6000611f2585828601611c92565b9250506020611f3685828601611d84565b9150509250929050565b60008060208385031215611f5357600080fd5b600083013567ffffffffffffffff811115611f6d57600080fd5b611f7985828601611ca7565b92509250509250929050565b600060208284031215611f9757600080fd5b6000611fa584828501611d06565b91505092915050565b600060208284031215611fc057600080fd5b6000611fce84828501611d1b565b91505092915050565b600060208284031215611fe957600080fd5b600082013567ffffffffffffffff81111561200357600080fd5b61200f84828501611d5a565b91505092915050565b60006020828403121561202a57600080fd5b600061203884828501611d84565b91505092915050565b61204a81612b3c565b82525050565b61205981612b4e565b82525050565b600061206a82612a3e565b6120748185612a54565b9350612084818560208601612bbf565b61208d81612d5a565b840191505092915050565b60006120a382612a49565b6120ad8185612a65565b93506120bd818560208601612bbf565b6120c681612d5a565b840191505092915050565b60006120dc82612a49565b6120e68185612a76565b93506120f6818560208601612bbf565b80840191505092915050565b600061210f603283612a65565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000612175601383612a65565b91507f6578636565646564206d617820737570706c79000000000000000000000000006000830152602082019050919050565b60006121b5601c83612a65565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006121f5602483612a65565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061225b601983612a65565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061229b602c83612a65565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612301601783612a65565b91507f6e6f74206f776e6572206f6620746f6b656e49643a20300000000000000000006000830152602082019050919050565b6000612341603883612a65565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006123a7602a83612a65565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061240d602983612a65565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000612473602083612a65565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006124b3602c83612a65565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000612519602983612a65565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061257f602f83612a65565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006125e5602183612a65565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061264b603183612a65565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6126ad81612ba6565b82525050565b60006126bf82846120d1565b915081905092915050565b60006126d682856120d1565b91506126e282846120d1565b91508190509392505050565b60006020820190506127036000830184612041565b92915050565b600060808201905061271e6000830187612041565b61272b6020830186612041565b61273860408301856126a4565b818103606083015261274a818461205f565b905095945050505050565b600060208201905061276a6000830184612050565b92915050565b6000602082019050818103600083015261278a8184612098565b905092915050565b600060208201905081810360008301526127ab81612102565b9050919050565b600060208201905081810360008301526127cb81612168565b9050919050565b600060208201905081810360008301526127eb816121a8565b9050919050565b6000602082019050818103600083015261280b816121e8565b9050919050565b6000602082019050818103600083015261282b8161224e565b9050919050565b6000602082019050818103600083015261284b8161228e565b9050919050565b6000602082019050818103600083015261286b816122f4565b9050919050565b6000602082019050818103600083015261288b81612334565b9050919050565b600060208201905081810360008301526128ab8161239a565b9050919050565b600060208201905081810360008301526128cb81612400565b9050919050565b600060208201905081810360008301526128eb81612466565b9050919050565b6000602082019050818103600083015261290b816124a6565b9050919050565b6000602082019050818103600083015261292b8161250c565b9050919050565b6000602082019050818103600083015261294b81612572565b9050919050565b6000602082019050818103600083015261296b816125d8565b9050919050565b6000602082019050818103600083015261298b8161263e565b9050919050565b60006020820190506129a760008301846126a4565b92915050565b6000604051905081810181811067ffffffffffffffff821117156129d4576129d3612d2b565b5b8060405250919050565b600067ffffffffffffffff8211156129f9576129f8612d2b565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115612a2957612a28612d2b565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612a8c82612ba6565b9150612a9783612ba6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612acc57612acb612c9e565b5b828201905092915050565b6000612ae282612ba6565b9150612aed83612ba6565b925082612afd57612afc612ccd565b5b828204905092915050565b6000612b1382612ba6565b9150612b1e83612ba6565b925082821015612b3157612b30612c9e565b5b828203905092915050565b6000612b4782612b86565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612bdd578082015181840152602081019050612bc2565b83811115612bec576000848401525b50505050565b60006002820490506001821680612c0a57607f821691505b60208210811415612c1e57612c1d612cfc565b5b50919050565b6000612c2f82612ba6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612c6257612c61612c9e565b5b600182019050919050565b6000612c7882612ba6565b9150612c8383612ba6565b925082612c9357612c92612ccd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b612d7481612b3c565b8114612d7f57600080fd5b50565b612d8b81612b4e565b8114612d9657600080fd5b50565b612da281612b5a565b8114612dad57600080fd5b50565b612db981612ba6565b8114612dc457600080fd5b5056fea264697066735822122088f2f9c50c84ae54c7ccaf27eeba8f7af550d67f43d4f42308d6451591b6bacf64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000114f70656e205069616e6f20627920504f4200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055049414e4f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696374666f61613235706874363534756b7a7970616735713279766672326c79356e79666c6a73367065767a6f79757a647a697375000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Open Piano by POB
Arg [1] : _symbol (string): PIANO
Arg [2] : _maxSupply (uint256): 64
Arg [3] : _contractURI (string): ipfs://bafkreictfoaa25pht654ukzypag5q2yvfr2ly5nyfljs6pevzoyuzdzisu
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [5] : 4f70656e205069616e6f20627920504f42000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 5049414e4f000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [9] : 697066733a2f2f6261666b7265696374666f61613235706874363534756b7a79
Arg [10] : 70616735713279766672326c79356e79666c6a73367065767a6f79757a647a69
Arg [11] : 7375000000000000000000000000000000000000000000000000000000000000
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.