Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
299 DOG
Holders
299
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DOGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DesiderOG
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/presets/ERC1155PresetMinterPauser.sol) pragma solidity ^0.8.0; import "../node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "../node_modules/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "../node_modules/@openzeppelin/contracts/access/Ownable.sol"; contract DesiderOG is ERC721, Ownable { using Strings for uint256; string public baseURI; uint public constant MAX_SUPPLY = 300; uint private mintedNum = 0; uint private autoNum = 10; error SoulboundTokenNoSafeTransferFrom( address from, address to, uint256 tokenId, bytes data ); error SoulboundTokenNoSetApprovalForAll(address operator, bool approved); error SoulboundTokenNoIsApprovedForAll(address account, address operator); error SoulboundTokenNotApproved(address to, uint256 tokenId); error SoulboundTokenTransfer(address from, address to, uint256 tokenId); constructor(address _owner) ERC721("DESIDER OG", "DOG") { transferOwnership(_owner); } function totalSupply() public view returns (uint256) { return mintedNum; } function mulMint(address[] memory addrs) external onlyOwner { uint256 addrCount = addrs.length; require( totalSupply() + addrCount <= MAX_SUPPLY, "Sale would exceed max supply" ); uint i = 0; while (i < addrCount) { require(balanceOf(addrs[i]) < 1, "everyone can only have one"); uint256 mintIndex = autoNum; if (_exists(mintIndex)) { autoNum ++; continue; } if (totalSupply() < MAX_SUPPLY) { mintedNum ++; autoNum ++; _safeMint(addrs[i], mintIndex); } i ++; } } function specifyMint(address[] memory to, uint256[] memory tokenIds) external onlyOwner { uint256 addrCount = to.length; require( totalSupply() + addrCount <= MAX_SUPPLY, "Sale would exceed max supply" ); for(uint i = 0; i < addrCount; i ++) { require(balanceOf(to[i]) < 1, "everyone can only have one"); mintedNum ++; _safeMint(to[i], tokenIds[i]); } } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { revert SoulboundTokenNoSafeTransferFrom(from, to, tokenId, data); } /** * @notice will revert. Soulbound tokens cannot be transferred. */ function setApprovalForAll(address operator, bool approved) public virtual override { revert SoulboundTokenNoSetApprovalForAll(operator, approved); } /** * @notice will revert. Soulbound tokens cannot be transferred. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { revert SoulboundTokenNoIsApprovedForAll(owner, operator); } function approve(address to, uint256 tokenId) public virtual override { revert SoulboundTokenNotApproved(to, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { revert SoulboundTokenTransfer(from, to, tokenId); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json")); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } }
// 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 v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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); } }
// 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 (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 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/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev See {ERC721-_burn}. This override additionally checks to see if a * token-specific URI was set for the token, and if so, it deletes the token URI from * the storage mapping. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// 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) (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.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 (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); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"SoulboundTokenNoIsApprovedForAll","type":"error"},{"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":"SoulboundTokenNoSafeTransferFrom","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"SoulboundTokenNoSetApprovalForAll","type":"error"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SoulboundTokenNotApproved","type":"error"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SoulboundTokenTransfer","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","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":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"mulMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"specifyMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600855600a6009553480156200001b57600080fd5b5060405162002f8d38038062002f8d833981810160405281019062000041919062000452565b6040518060400160405280600a81526020017f44455349444552204f47000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f444f4700000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c592919062000338565b508060019080519060200190620000de92919062000338565b50505062000101620000f56200011960201b60201c565b6200012160201b60201c565b6200011281620001e760201b60201c565b5062000603565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001f76200027d60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000260906200050b565b60405180910390fd5b6200027a816200012160201b60201c565b50565b6200028d6200011960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002b36200030e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200030c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000303906200057d565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200034690620005ce565b90600052602060002090601f0160209004810192826200036a5760008555620003b6565b82601f106200038557805160ff1916838001178555620003b6565b82800160010185558215620003b6579182015b82811115620003b557825182559160200191906001019062000398565b5b509050620003c59190620003c9565b5090565b5b80821115620003e4576000816000905550600101620003ca565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200041a82620003ed565b9050919050565b6200042c816200040d565b81146200043857600080fd5b50565b6000815190506200044c8162000421565b92915050565b6000602082840312156200046b576200046a620003e8565b5b60006200047b848285016200043b565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000620004f360268362000484565b9150620005008262000495565b604082019050919050565b600060208201905081810360008301526200052681620004e4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200056560208362000484565b915062000572826200052d565b602082019050919050565b60006020820190508181036000830152620005988162000556565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005e757607f821691505b602082108103620005fd57620005fc6200059f565b5b50919050565b61297a80620006136000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80636c0360eb116100b8578063a22cb4651161007c578063a22cb46514610351578063b88d4fde1461036d578063c162fcf814610389578063c87b56dd146103a5578063e985e9c5146103d5578063f2fde38b1461040557610142565b80636c0360eb146102bd57806370a08231146102db578063715018a61461030b5780638da5cb5b1461031557806395d89b411461033357610142565b806323b872dd1161010a57806323b872dd146101ff57806332cb6b0c1461021b57806339ae165e1461023957806342842e0e1461025557806355f804b3146102715780636352211e1461028d57610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c557806318160ddd146101e1575b600080fd5b610161600480360381019061015c919061177a565b610421565b60405161016e91906117c2565b60405180910390f35b61017f610503565b60405161018c9190611876565b60405180910390f35b6101af60048036038101906101aa91906118ce565b610595565b6040516101bc919061193c565b60405180910390f35b6101df60048036038101906101da9190611983565b6105db565b005b6101e961061a565b6040516101f691906119d2565b60405180910390f35b610219600480360381019061021491906119ed565b610624565b005b610223610665565b60405161023091906119d2565b60405180910390f35b610253600480360381019061024e9190611c4b565b61066b565b005b61026f600480360381019061026a91906119ed565b6107af565b005b61028b60048036038101906102869190611d78565b6107cf565b005b6102a760048036038101906102a291906118ce565b6107f1565b6040516102b4919061193c565b60405180910390f35b6102c56108a2565b6040516102d29190611876565b60405180910390f35b6102f560048036038101906102f09190611dc1565b610930565b60405161030291906119d2565b60405180910390f35b6103136109e7565b005b61031d6109fb565b60405161032a919061193c565b60405180910390f35b61033b610a25565b6040516103489190611876565b60405180910390f35b61036b60048036038101906103669190611e1a565b610ab7565b005b61038760048036038101906103829190611efb565b610af6565b005b6103a3600480360381019061039e9190611f7e565b610b39565b005b6103bf60048036038101906103ba91906118ce565b610cc0565b6040516103cc9190611876565b60405180910390f35b6103ef60048036038101906103ea9190611fc7565b610d42565b6040516103fc91906117c2565b60405180910390f35b61041f600480360381019061041a9190611dc1565b610d83565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ec57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fc57506104fb82610e06565b5b9050919050565b60606000805461051290612036565b80601f016020809104026020016040519081016040528092919081815260200182805461053e90612036565b801561058b5780601f106105605761010080835404028352916020019161058b565b820191906000526020600020905b81548152906001019060200180831161056e57829003601f168201915b5050505050905090565b60006105a082610e70565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81816040517f54ec85d9000000000000000000000000000000000000000000000000000000008152600401610611929190612067565b60405180910390fd5b6000600854905090565b8282826040517f6fbd494900000000000000000000000000000000000000000000000000000000815260040161065c93929190612090565b60405180910390fd5b61012c81565b610673610ebb565b60008251905061012c8161068561061a565b61068f91906120f6565b11156106d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c790612198565b60405180910390fd5b60005b818110156107a95760016107008583815181106106f3576106f26121b8565b5b6020026020010151610930565b10610740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073790612233565b60405180910390fd5b6008600081548092919061075390612253565b919050555061079684828151811061076e5761076d6121b8565b5b6020026020010151848381518110610789576107886121b8565b5b6020026020010151610f39565b80806107a190612253565b9150506106d3565b50505050565b6107ca83838360405180602001604052806000815250610af6565b505050565b6107d7610ebb565b80600790805190602001906107ed92919061166b565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610899576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610890906122e7565b60405180910390fd5b80915050919050565b600780546108af90612036565b80601f01602080910402602001604051908101604052809291908181526020018280546108db90612036565b80156109285780601f106108fd57610100808354040283529160200191610928565b820191906000526020600020905b81548152906001019060200180831161090b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099790612379565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109ef610ebb565b6109f96000610f57565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610a3490612036565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6090612036565b8015610aad5780601f10610a8257610100808354040283529160200191610aad565b820191906000526020600020905b815481529060010190602001808311610a9057829003601f168201915b5050505050905090565b81816040517ff180b9a9000000000000000000000000000000000000000000000000000000008152600401610aed929190612399565b60405180910390fd5b838383836040517fa1e23a4c000000000000000000000000000000000000000000000000000000008152600401610b309493929190612417565b60405180910390fd5b610b41610ebb565b60008151905061012c81610b5361061a565b610b5d91906120f6565b1115610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9590612198565b60405180910390fd5b60005b81811015610cbb576001610bce848381518110610bc157610bc06121b8565b5b6020026020010151610930565b10610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590612233565b60405180910390fd5b60006009549050610c1e8161101d565b15610c415760096000815480929190610c3690612253565b919050555050610ba1565b61012c610c4c61061a565b1015610ca75760086000815480929190610c6590612253565b919050555060096000815480929190610c7d90612253565b9190505550610ca6848381518110610c9857610c976121b8565b5b602002602001015182610f39565b5b8180610cb290612253565b92505050610ba1565b505050565b6060610ccb8261101d565b610d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d01906124d5565b60405180910390fd5b610d12611089565b610d1b8361111b565b604051602001610d2c92919061257d565b6040516020818303038152906040529050919050565b600082826040517fa2ec4b5d000000000000000000000000000000000000000000000000000000008152600401610d7a9291906125ac565b60405180910390fd5b610d8b610ebb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df190612647565b60405180910390fd5b610e0381610f57565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610e798161101d565b610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf906122e7565b60405180910390fd5b50565b610ec361127b565b73ffffffffffffffffffffffffffffffffffffffff16610ee16109fb565b73ffffffffffffffffffffffffffffffffffffffff1614610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e906126b3565b60405180910390fd5b565b610f53828260405180602001604052806000815250611283565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606007805461109890612036565b80601f01602080910402602001604051908101604052809291908181526020018280546110c490612036565b80156111115780601f106110e657610100808354040283529160200191611111565b820191906000526020600020905b8154815290600101906020018083116110f457829003601f168201915b5050505050905090565b606060008203611162576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611276565b600082905060005b6000821461119457808061117d90612253565b915050600a8261118d9190612702565b915061116a565b60008167ffffffffffffffff8111156111b0576111af611a45565b5b6040519080825280601f01601f1916602001820160405280156111e25781602001600182028036833780820191505090505b5090505b6000851461126f576001826111fb9190612733565b9150600a8561120a9190612767565b603061121691906120f6565b60f81b81838151811061122c5761122b6121b8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856112689190612702565b94506111e6565b8093505050505b919050565b600033905090565b61128d83836112de565b61129a60008484846114b7565b6112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d09061280a565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361134d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134490612876565b60405180910390fd5b6113568161101d565b15611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d906128e2565b60405180910390fd5b6113a26000838361163e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113f291906120f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114b360008383611643565b5050565b60006114d88473ffffffffffffffffffffffffffffffffffffffff16611648565b15611631578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261150161127b565b8786866040518563ffffffff1660e01b81526004016115239493929190612417565b6020604051808303816000875af192505050801561155f57506040513d601f19601f8201168201806040525081019061155c9190612917565b60015b6115e1573d806000811461158f576040519150601f19603f3d011682016040523d82523d6000602084013e611594565b606091505b5060008151036115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d09061280a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611636565b600190505b949350505050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461167790612036565b90600052602060002090601f01602090048101928261169957600085556116e0565b82601f106116b257805160ff19168380011785556116e0565b828001600101855582156116e0579182015b828111156116df5782518255916020019190600101906116c4565b5b5090506116ed91906116f1565b5090565b5b8082111561170a5760008160009055506001016116f2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61175781611722565b811461176257600080fd5b50565b6000813590506117748161174e565b92915050565b6000602082840312156117905761178f611718565b5b600061179e84828501611765565b91505092915050565b60008115159050919050565b6117bc816117a7565b82525050565b60006020820190506117d760008301846117b3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118175780820151818401526020810190506117fc565b83811115611826576000848401525b50505050565b6000601f19601f8301169050919050565b6000611848826117dd565b61185281856117e8565b93506118628185602086016117f9565b61186b8161182c565b840191505092915050565b60006020820190508181036000830152611890818461183d565b905092915050565b6000819050919050565b6118ab81611898565b81146118b657600080fd5b50565b6000813590506118c8816118a2565b92915050565b6000602082840312156118e4576118e3611718565b5b60006118f2848285016118b9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611926826118fb565b9050919050565b6119368161191b565b82525050565b6000602082019050611951600083018461192d565b92915050565b6119608161191b565b811461196b57600080fd5b50565b60008135905061197d81611957565b92915050565b6000806040838503121561199a57611999611718565b5b60006119a88582860161196e565b92505060206119b9858286016118b9565b9150509250929050565b6119cc81611898565b82525050565b60006020820190506119e760008301846119c3565b92915050565b600080600060608486031215611a0657611a05611718565b5b6000611a148682870161196e565b9350506020611a258682870161196e565b9250506040611a36868287016118b9565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a7d8261182c565b810181811067ffffffffffffffff82111715611a9c57611a9b611a45565b5b80604052505050565b6000611aaf61170e565b9050611abb8282611a74565b919050565b600067ffffffffffffffff821115611adb57611ada611a45565b5b602082029050602081019050919050565b600080fd5b6000611b04611aff84611ac0565b611aa5565b90508083825260208201905060208402830185811115611b2757611b26611aec565b5b835b81811015611b505780611b3c888261196e565b845260208401935050602081019050611b29565b5050509392505050565b600082601f830112611b6f57611b6e611a40565b5b8135611b7f848260208601611af1565b91505092915050565b600067ffffffffffffffff821115611ba357611ba2611a45565b5b602082029050602081019050919050565b6000611bc7611bc284611b88565b611aa5565b90508083825260208201905060208402830185811115611bea57611be9611aec565b5b835b81811015611c135780611bff88826118b9565b845260208401935050602081019050611bec565b5050509392505050565b600082601f830112611c3257611c31611a40565b5b8135611c42848260208601611bb4565b91505092915050565b60008060408385031215611c6257611c61611718565b5b600083013567ffffffffffffffff811115611c8057611c7f61171d565b5b611c8c85828601611b5a565b925050602083013567ffffffffffffffff811115611cad57611cac61171d565b5b611cb985828601611c1d565b9150509250929050565b600080fd5b600067ffffffffffffffff821115611ce357611ce2611a45565b5b611cec8261182c565b9050602081019050919050565b82818337600083830152505050565b6000611d1b611d1684611cc8565b611aa5565b905082815260208101848484011115611d3757611d36611cc3565b5b611d42848285611cf9565b509392505050565b600082601f830112611d5f57611d5e611a40565b5b8135611d6f848260208601611d08565b91505092915050565b600060208284031215611d8e57611d8d611718565b5b600082013567ffffffffffffffff811115611dac57611dab61171d565b5b611db884828501611d4a565b91505092915050565b600060208284031215611dd757611dd6611718565b5b6000611de58482850161196e565b91505092915050565b611df7816117a7565b8114611e0257600080fd5b50565b600081359050611e1481611dee565b92915050565b60008060408385031215611e3157611e30611718565b5b6000611e3f8582860161196e565b9250506020611e5085828601611e05565b9150509250929050565b600067ffffffffffffffff821115611e7557611e74611a45565b5b611e7e8261182c565b9050602081019050919050565b6000611e9e611e9984611e5a565b611aa5565b905082815260208101848484011115611eba57611eb9611cc3565b5b611ec5848285611cf9565b509392505050565b600082601f830112611ee257611ee1611a40565b5b8135611ef2848260208601611e8b565b91505092915050565b60008060008060808587031215611f1557611f14611718565b5b6000611f238782880161196e565b9450506020611f348782880161196e565b9350506040611f45878288016118b9565b925050606085013567ffffffffffffffff811115611f6657611f6561171d565b5b611f7287828801611ecd565b91505092959194509250565b600060208284031215611f9457611f93611718565b5b600082013567ffffffffffffffff811115611fb257611fb161171d565b5b611fbe84828501611b5a565b91505092915050565b60008060408385031215611fde57611fdd611718565b5b6000611fec8582860161196e565b9250506020611ffd8582860161196e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061204e57607f821691505b60208210810361206157612060612007565b5b50919050565b600060408201905061207c600083018561192d565b61208960208301846119c3565b9392505050565b60006060820190506120a5600083018661192d565b6120b2602083018561192d565b6120bf60408301846119c3565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061210182611898565b915061210c83611898565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612141576121406120c7565b5b828201905092915050565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b6000612182601c836117e8565b915061218d8261214c565b602082019050919050565b600060208201905081810360008301526121b181612175565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f65766572796f6e652063616e206f6e6c792068617665206f6e65000000000000600082015250565b600061221d601a836117e8565b9150612228826121e7565b602082019050919050565b6000602082019050818103600083015261224c81612210565b9050919050565b600061225e82611898565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036122905761228f6120c7565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006122d16018836117e8565b91506122dc8261229b565b602082019050919050565b60006020820190508181036000830152612300816122c4565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006123636029836117e8565b915061236e82612307565b604082019050919050565b6000602082019050818103600083015261239281612356565b9050919050565b60006040820190506123ae600083018561192d565b6123bb60208301846117b3565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006123e9826123c2565b6123f381856123cd565b93506124038185602086016117f9565b61240c8161182c565b840191505092915050565b600060808201905061242c600083018761192d565b612439602083018661192d565b61244660408301856119c3565b818103606083015261245881846123de565b905095945050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006124bf602f836117e8565b91506124ca82612463565b604082019050919050565b600060208201905081810360008301526124ee816124b2565b9050919050565b600081905092915050565b600061250b826117dd565b61251581856124f5565b93506125258185602086016117f9565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006125676005836124f5565b915061257282612531565b600582019050919050565b60006125898285612500565b91506125958284612500565b91506125a08261255a565b91508190509392505050565b60006040820190506125c1600083018561192d565b6125ce602083018461192d565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126316026836117e8565b915061263c826125d5565b604082019050919050565b6000602082019050818103600083015261266081612624565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061269d6020836117e8565b91506126a882612667565b602082019050919050565b600060208201905081810360008301526126cc81612690565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061270d82611898565b915061271883611898565b925082612728576127276126d3565b5b828204905092915050565b600061273e82611898565b915061274983611898565b92508282101561275c5761275b6120c7565b5b828203905092915050565b600061277282611898565b915061277d83611898565b92508261278d5761278c6126d3565b5b828206905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006127f46032836117e8565b91506127ff82612798565b604082019050919050565b60006020820190508181036000830152612823816127e7565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006128606020836117e8565b915061286b8261282a565b602082019050919050565b6000602082019050818103600083015261288f81612853565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006128cc601c836117e8565b91506128d782612896565b602082019050919050565b600060208201905081810360008301526128fb816128bf565b9050919050565b6000815190506129118161174e565b92915050565b60006020828403121561292d5761292c611718565b5b600061293b84828501612902565b9150509291505056fea2646970667358221220398e6fd5646b9914737477d92fb6c3b7e5cfccc685066b124f9bf351725c218864736f6c634300080d003300000000000000000000000019efc5821093c98816d3b733bbc2c0e1bf3a268e
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c80636c0360eb116100b8578063a22cb4651161007c578063a22cb46514610351578063b88d4fde1461036d578063c162fcf814610389578063c87b56dd146103a5578063e985e9c5146103d5578063f2fde38b1461040557610142565b80636c0360eb146102bd57806370a08231146102db578063715018a61461030b5780638da5cb5b1461031557806395d89b411461033357610142565b806323b872dd1161010a57806323b872dd146101ff57806332cb6b0c1461021b57806339ae165e1461023957806342842e0e1461025557806355f804b3146102715780636352211e1461028d57610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c557806318160ddd146101e1575b600080fd5b610161600480360381019061015c919061177a565b610421565b60405161016e91906117c2565b60405180910390f35b61017f610503565b60405161018c9190611876565b60405180910390f35b6101af60048036038101906101aa91906118ce565b610595565b6040516101bc919061193c565b60405180910390f35b6101df60048036038101906101da9190611983565b6105db565b005b6101e961061a565b6040516101f691906119d2565b60405180910390f35b610219600480360381019061021491906119ed565b610624565b005b610223610665565b60405161023091906119d2565b60405180910390f35b610253600480360381019061024e9190611c4b565b61066b565b005b61026f600480360381019061026a91906119ed565b6107af565b005b61028b60048036038101906102869190611d78565b6107cf565b005b6102a760048036038101906102a291906118ce565b6107f1565b6040516102b4919061193c565b60405180910390f35b6102c56108a2565b6040516102d29190611876565b60405180910390f35b6102f560048036038101906102f09190611dc1565b610930565b60405161030291906119d2565b60405180910390f35b6103136109e7565b005b61031d6109fb565b60405161032a919061193c565b60405180910390f35b61033b610a25565b6040516103489190611876565b60405180910390f35b61036b60048036038101906103669190611e1a565b610ab7565b005b61038760048036038101906103829190611efb565b610af6565b005b6103a3600480360381019061039e9190611f7e565b610b39565b005b6103bf60048036038101906103ba91906118ce565b610cc0565b6040516103cc9190611876565b60405180910390f35b6103ef60048036038101906103ea9190611fc7565b610d42565b6040516103fc91906117c2565b60405180910390f35b61041f600480360381019061041a9190611dc1565b610d83565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ec57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fc57506104fb82610e06565b5b9050919050565b60606000805461051290612036565b80601f016020809104026020016040519081016040528092919081815260200182805461053e90612036565b801561058b5780601f106105605761010080835404028352916020019161058b565b820191906000526020600020905b81548152906001019060200180831161056e57829003601f168201915b5050505050905090565b60006105a082610e70565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81816040517f54ec85d9000000000000000000000000000000000000000000000000000000008152600401610611929190612067565b60405180910390fd5b6000600854905090565b8282826040517f6fbd494900000000000000000000000000000000000000000000000000000000815260040161065c93929190612090565b60405180910390fd5b61012c81565b610673610ebb565b60008251905061012c8161068561061a565b61068f91906120f6565b11156106d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c790612198565b60405180910390fd5b60005b818110156107a95760016107008583815181106106f3576106f26121b8565b5b6020026020010151610930565b10610740576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073790612233565b60405180910390fd5b6008600081548092919061075390612253565b919050555061079684828151811061076e5761076d6121b8565b5b6020026020010151848381518110610789576107886121b8565b5b6020026020010151610f39565b80806107a190612253565b9150506106d3565b50505050565b6107ca83838360405180602001604052806000815250610af6565b505050565b6107d7610ebb565b80600790805190602001906107ed92919061166b565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610899576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610890906122e7565b60405180910390fd5b80915050919050565b600780546108af90612036565b80601f01602080910402602001604051908101604052809291908181526020018280546108db90612036565b80156109285780601f106108fd57610100808354040283529160200191610928565b820191906000526020600020905b81548152906001019060200180831161090b57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036109a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099790612379565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6109ef610ebb565b6109f96000610f57565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610a3490612036565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6090612036565b8015610aad5780601f10610a8257610100808354040283529160200191610aad565b820191906000526020600020905b815481529060010190602001808311610a9057829003601f168201915b5050505050905090565b81816040517ff180b9a9000000000000000000000000000000000000000000000000000000008152600401610aed929190612399565b60405180910390fd5b838383836040517fa1e23a4c000000000000000000000000000000000000000000000000000000008152600401610b309493929190612417565b60405180910390fd5b610b41610ebb565b60008151905061012c81610b5361061a565b610b5d91906120f6565b1115610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9590612198565b60405180910390fd5b60005b81811015610cbb576001610bce848381518110610bc157610bc06121b8565b5b6020026020010151610930565b10610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590612233565b60405180910390fd5b60006009549050610c1e8161101d565b15610c415760096000815480929190610c3690612253565b919050555050610ba1565b61012c610c4c61061a565b1015610ca75760086000815480929190610c6590612253565b919050555060096000815480929190610c7d90612253565b9190505550610ca6848381518110610c9857610c976121b8565b5b602002602001015182610f39565b5b8180610cb290612253565b92505050610ba1565b505050565b6060610ccb8261101d565b610d0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d01906124d5565b60405180910390fd5b610d12611089565b610d1b8361111b565b604051602001610d2c92919061257d565b6040516020818303038152906040529050919050565b600082826040517fa2ec4b5d000000000000000000000000000000000000000000000000000000008152600401610d7a9291906125ac565b60405180910390fd5b610d8b610ebb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df190612647565b60405180910390fd5b610e0381610f57565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610e798161101d565b610eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaf906122e7565b60405180910390fd5b50565b610ec361127b565b73ffffffffffffffffffffffffffffffffffffffff16610ee16109fb565b73ffffffffffffffffffffffffffffffffffffffff1614610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e906126b3565b60405180910390fd5b565b610f53828260405180602001604052806000815250611283565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606007805461109890612036565b80601f01602080910402602001604051908101604052809291908181526020018280546110c490612036565b80156111115780601f106110e657610100808354040283529160200191611111565b820191906000526020600020905b8154815290600101906020018083116110f457829003601f168201915b5050505050905090565b606060008203611162576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611276565b600082905060005b6000821461119457808061117d90612253565b915050600a8261118d9190612702565b915061116a565b60008167ffffffffffffffff8111156111b0576111af611a45565b5b6040519080825280601f01601f1916602001820160405280156111e25781602001600182028036833780820191505090505b5090505b6000851461126f576001826111fb9190612733565b9150600a8561120a9190612767565b603061121691906120f6565b60f81b81838151811061122c5761122b6121b8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856112689190612702565b94506111e6565b8093505050505b919050565b600033905090565b61128d83836112de565b61129a60008484846114b7565b6112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d09061280a565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361134d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134490612876565b60405180910390fd5b6113568161101d565b15611396576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138d906128e2565b60405180910390fd5b6113a26000838361163e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113f291906120f6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114b360008383611643565b5050565b60006114d88473ffffffffffffffffffffffffffffffffffffffff16611648565b15611631578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261150161127b565b8786866040518563ffffffff1660e01b81526004016115239493929190612417565b6020604051808303816000875af192505050801561155f57506040513d601f19601f8201168201806040525081019061155c9190612917565b60015b6115e1573d806000811461158f576040519150601f19603f3d011682016040523d82523d6000602084013e611594565b606091505b5060008151036115d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d09061280a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611636565b600190505b949350505050565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461167790612036565b90600052602060002090601f01602090048101928261169957600085556116e0565b82601f106116b257805160ff19168380011785556116e0565b828001600101855582156116e0579182015b828111156116df5782518255916020019190600101906116c4565b5b5090506116ed91906116f1565b5090565b5b8082111561170a5760008160009055506001016116f2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61175781611722565b811461176257600080fd5b50565b6000813590506117748161174e565b92915050565b6000602082840312156117905761178f611718565b5b600061179e84828501611765565b91505092915050565b60008115159050919050565b6117bc816117a7565b82525050565b60006020820190506117d760008301846117b3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156118175780820151818401526020810190506117fc565b83811115611826576000848401525b50505050565b6000601f19601f8301169050919050565b6000611848826117dd565b61185281856117e8565b93506118628185602086016117f9565b61186b8161182c565b840191505092915050565b60006020820190508181036000830152611890818461183d565b905092915050565b6000819050919050565b6118ab81611898565b81146118b657600080fd5b50565b6000813590506118c8816118a2565b92915050565b6000602082840312156118e4576118e3611718565b5b60006118f2848285016118b9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611926826118fb565b9050919050565b6119368161191b565b82525050565b6000602082019050611951600083018461192d565b92915050565b6119608161191b565b811461196b57600080fd5b50565b60008135905061197d81611957565b92915050565b6000806040838503121561199a57611999611718565b5b60006119a88582860161196e565b92505060206119b9858286016118b9565b9150509250929050565b6119cc81611898565b82525050565b60006020820190506119e760008301846119c3565b92915050565b600080600060608486031215611a0657611a05611718565b5b6000611a148682870161196e565b9350506020611a258682870161196e565b9250506040611a36868287016118b9565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a7d8261182c565b810181811067ffffffffffffffff82111715611a9c57611a9b611a45565b5b80604052505050565b6000611aaf61170e565b9050611abb8282611a74565b919050565b600067ffffffffffffffff821115611adb57611ada611a45565b5b602082029050602081019050919050565b600080fd5b6000611b04611aff84611ac0565b611aa5565b90508083825260208201905060208402830185811115611b2757611b26611aec565b5b835b81811015611b505780611b3c888261196e565b845260208401935050602081019050611b29565b5050509392505050565b600082601f830112611b6f57611b6e611a40565b5b8135611b7f848260208601611af1565b91505092915050565b600067ffffffffffffffff821115611ba357611ba2611a45565b5b602082029050602081019050919050565b6000611bc7611bc284611b88565b611aa5565b90508083825260208201905060208402830185811115611bea57611be9611aec565b5b835b81811015611c135780611bff88826118b9565b845260208401935050602081019050611bec565b5050509392505050565b600082601f830112611c3257611c31611a40565b5b8135611c42848260208601611bb4565b91505092915050565b60008060408385031215611c6257611c61611718565b5b600083013567ffffffffffffffff811115611c8057611c7f61171d565b5b611c8c85828601611b5a565b925050602083013567ffffffffffffffff811115611cad57611cac61171d565b5b611cb985828601611c1d565b9150509250929050565b600080fd5b600067ffffffffffffffff821115611ce357611ce2611a45565b5b611cec8261182c565b9050602081019050919050565b82818337600083830152505050565b6000611d1b611d1684611cc8565b611aa5565b905082815260208101848484011115611d3757611d36611cc3565b5b611d42848285611cf9565b509392505050565b600082601f830112611d5f57611d5e611a40565b5b8135611d6f848260208601611d08565b91505092915050565b600060208284031215611d8e57611d8d611718565b5b600082013567ffffffffffffffff811115611dac57611dab61171d565b5b611db884828501611d4a565b91505092915050565b600060208284031215611dd757611dd6611718565b5b6000611de58482850161196e565b91505092915050565b611df7816117a7565b8114611e0257600080fd5b50565b600081359050611e1481611dee565b92915050565b60008060408385031215611e3157611e30611718565b5b6000611e3f8582860161196e565b9250506020611e5085828601611e05565b9150509250929050565b600067ffffffffffffffff821115611e7557611e74611a45565b5b611e7e8261182c565b9050602081019050919050565b6000611e9e611e9984611e5a565b611aa5565b905082815260208101848484011115611eba57611eb9611cc3565b5b611ec5848285611cf9565b509392505050565b600082601f830112611ee257611ee1611a40565b5b8135611ef2848260208601611e8b565b91505092915050565b60008060008060808587031215611f1557611f14611718565b5b6000611f238782880161196e565b9450506020611f348782880161196e565b9350506040611f45878288016118b9565b925050606085013567ffffffffffffffff811115611f6657611f6561171d565b5b611f7287828801611ecd565b91505092959194509250565b600060208284031215611f9457611f93611718565b5b600082013567ffffffffffffffff811115611fb257611fb161171d565b5b611fbe84828501611b5a565b91505092915050565b60008060408385031215611fde57611fdd611718565b5b6000611fec8582860161196e565b9250506020611ffd8582860161196e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061204e57607f821691505b60208210810361206157612060612007565b5b50919050565b600060408201905061207c600083018561192d565b61208960208301846119c3565b9392505050565b60006060820190506120a5600083018661192d565b6120b2602083018561192d565b6120bf60408301846119c3565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061210182611898565b915061210c83611898565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612141576121406120c7565b5b828201905092915050565b7f53616c6520776f756c6420657863656564206d617820737570706c7900000000600082015250565b6000612182601c836117e8565b915061218d8261214c565b602082019050919050565b600060208201905081810360008301526121b181612175565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f65766572796f6e652063616e206f6e6c792068617665206f6e65000000000000600082015250565b600061221d601a836117e8565b9150612228826121e7565b602082019050919050565b6000602082019050818103600083015261224c81612210565b9050919050565b600061225e82611898565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036122905761228f6120c7565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006122d16018836117e8565b91506122dc8261229b565b602082019050919050565b60006020820190508181036000830152612300816122c4565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006123636029836117e8565b915061236e82612307565b604082019050919050565b6000602082019050818103600083015261239281612356565b9050919050565b60006040820190506123ae600083018561192d565b6123bb60208301846117b3565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006123e9826123c2565b6123f381856123cd565b93506124038185602086016117f9565b61240c8161182c565b840191505092915050565b600060808201905061242c600083018761192d565b612439602083018661192d565b61244660408301856119c3565b818103606083015261245881846123de565b905095945050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006124bf602f836117e8565b91506124ca82612463565b604082019050919050565b600060208201905081810360008301526124ee816124b2565b9050919050565b600081905092915050565b600061250b826117dd565b61251581856124f5565b93506125258185602086016117f9565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006125676005836124f5565b915061257282612531565b600582019050919050565b60006125898285612500565b91506125958284612500565b91506125a08261255a565b91508190509392505050565b60006040820190506125c1600083018561192d565b6125ce602083018461192d565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126316026836117e8565b915061263c826125d5565b604082019050919050565b6000602082019050818103600083015261266081612624565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061269d6020836117e8565b91506126a882612667565b602082019050919050565b600060208201905081810360008301526126cc81612690565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061270d82611898565b915061271883611898565b925082612728576127276126d3565b5b828204905092915050565b600061273e82611898565b915061274983611898565b92508282101561275c5761275b6120c7565b5b828203905092915050565b600061277282611898565b915061277d83611898565b92508261278d5761278c6126d3565b5b828206905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006127f46032836117e8565b91506127ff82612798565b604082019050919050565b60006020820190508181036000830152612823816127e7565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006128606020836117e8565b915061286b8261282a565b602082019050919050565b6000602082019050818103600083015261288f81612853565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006128cc601c836117e8565b91506128d782612896565b602082019050919050565b600060208201905081810360008301526128fb816128bf565b9050919050565b6000815190506129118161174e565b92915050565b60006020828403121561292d5761292c611718565b5b600061293b84828501612902565b9150509291505056fea2646970667358221220398e6fd5646b9914737477d92fb6c3b7e5cfccc685066b124f9bf351725c218864736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000019efc5821093c98816d3b733bbc2c0e1bf3a268e
-----Decoded View---------------
Arg [0] : _owner (address): 0x19efc5821093c98816d3B733bBC2c0e1BF3a268E
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000019efc5821093c98816d3b733bbc2c0e1bf3a268e
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.