ERC-721
Overview
Max Total Supply
0 DOGE COLLIE
Holders
63
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DOGE COLLIELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DOGECOLLIE
Compiler Version
v0.8.17+commit.8df45f5f
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 "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract DOGECOLLIE is ERC721 { string baseURI; address manager; address public owner; using Counters for Counters.Counter; Counters.Counter private _tokenIds; string _contractURI; constructor( address owner_, string memory baseURI_, string memory _contractURI_ ) ERC721("DOGE COLLIE", "DOGE COLLIE") { owner = owner_; manager = msg.sender; baseURI = baseURI_; _tokenIds.increment(); _contractURI = _contractURI_; } function mint(address player) external onlyManager { uint256 newItemId = _tokenIds.current(); _mint(player, newItemId); _tokenIds.increment(); } function mintBatch(address player, uint times) external onlyManager{ for (uint i; i < times; i++) { _mint(player, _tokenIds.current()); _tokenIds.increment(); } } function setBaseURI(string memory baseURI_) external onlyManager { baseURI = baseURI_; } function contractURI() public view returns (string memory) { return _contractURI; } function tokenURI(uint tokenId) public view override returns (string memory) { return string.concat(baseURI, Strings.toString(tokenId), ".json"); } function setContractURI(string memory contractURI_) external onlyManager { _contractURI = contractURI_; } function setOwner(address owner_) external onlyOwner { owner = owner_; } modifier onlyOwner() { require(msg.sender == owner || msg.sender == manager, "NOT_OWNER"); _; } modifier onlyManager() { require(msg.sender == manager, "NOT_MANAGER"); _; } }
// 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/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.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 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "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"},{"internalType":"string","name":"baseURI_","type":"string"},{"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":"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":"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":[{"internalType":"address","name":"player","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"player","type":"address"},{"internalType":"uint256","name":"times","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"setOwner","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":[{"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
60806040523480156200001157600080fd5b50604051620036233803806200362383398181016040528101906200003791906200039d565b6040518060400160405280600b81526020017f444f474520434f4c4c49450000000000000000000000000000000000000000008152506040518060400160405280600b81526020017f444f474520434f4c4c49450000000000000000000000000000000000000000008152508160009081620000b4919062000682565b508060019081620000c6919062000682565b50505082600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600690816200015c919062000682565b506200017460096200018f60201b62000f1c1760201c565b80600a908162000185919062000682565b5050505062000769565b6001816000016000828254019250508190555050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001e682620001b9565b9050919050565b620001f881620001d9565b81146200020457600080fd5b50565b6000815190506200021881620001ed565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002738262000228565b810181811067ffffffffffffffff8211171562000295576200029462000239565b5b80604052505050565b6000620002aa620001a5565b9050620002b8828262000268565b919050565b600067ffffffffffffffff821115620002db57620002da62000239565b5b620002e68262000228565b9050602081019050919050565b60005b8381101562000313578082015181840152602081019050620002f6565b60008484015250505050565b6000620003366200033084620002bd565b6200029e565b90508281526020810184848401111562000355576200035462000223565b5b62000362848285620002f3565b509392505050565b600082601f8301126200038257620003816200021e565b5b8151620003948482602086016200031f565b91505092915050565b600080600060608486031215620003b957620003b8620001af565b5b6000620003c98682870162000207565b935050602084015167ffffffffffffffff811115620003ed57620003ec620001b4565b5b620003fb868287016200036a565b925050604084015167ffffffffffffffff8111156200041f576200041e620001b4565b5b6200042d868287016200036a565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200048a57607f821691505b602082108103620004a0576200049f62000442565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200050a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004cb565b620005168683620004cb565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005636200055d62000557846200052e565b62000538565b6200052e565b9050919050565b6000819050919050565b6200057f8362000542565b620005976200058e826200056a565b848454620004d8565b825550505050565b600090565b620005ae6200059f565b620005bb81848462000574565b505050565b5b81811015620005e357620005d7600082620005a4565b600181019050620005c1565b5050565b601f8211156200063257620005fc81620004a6565b6200060784620004bb565b8101602085101562000617578190505b6200062f6200062685620004bb565b830182620005c0565b50505b505050565b600082821c905092915050565b6000620006576000198460080262000637565b1980831691505092915050565b600062000672838362000644565b9150826002028217905092915050565b6200068d8262000437565b67ffffffffffffffff811115620006a957620006a862000239565b5b620006b5825462000471565b620006c2828285620005e7565b600060209050601f831160018114620006fa5760008415620006e5578287015190505b620006f1858262000664565b86555062000761565b601f1984166200070a86620004a6565b60005b8281101562000734578489015182556001820191506020850194506020810190506200070d565b8683101562000754578489015162000750601f89168262000644565b8355505b6001600288020188555050505b505050505050565b612eaa80620007796000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80636a627842116100ad578063a22cb46511610071578063a22cb4651461032b578063b88d4fde14610347578063c87b56dd14610363578063e8a3d48514610393578063e985e9c5146103b15761012c565b80636a6278421461028757806370a08231146102a35780638da5cb5b146102d3578063938e3d7b146102f157806395d89b411461030d5761012c565b806323b872dd116100f457806323b872dd146101e7578063248b71fc1461020357806342842e0e1461021f57806355f804b31461023b5780636352211e146102575761012c565b806301ffc9a71461013157806306fdde0314610161578063081812fc1461017f578063095ea7b3146101af57806313af4035146101cb575b600080fd5b61014b60048036038101906101469190611b3e565b6103e1565b6040516101589190611b86565b60405180910390f35b6101696104c3565b6040516101769190611c31565b60405180910390f35b61019960048036038101906101949190611c89565b610555565b6040516101a69190611cf7565b60405180910390f35b6101c960048036038101906101c49190611d3e565b61059b565b005b6101e560048036038101906101e09190611d7e565b6106b2565b005b61020160048036038101906101fc9190611dab565b6107de565b005b61021d60048036038101906102189190611d3e565b61083e565b005b61023960048036038101906102349190611dab565b61090e565b005b61025560048036038101906102509190611f33565b61092e565b005b610271600480360381019061026c9190611c89565b6109d1565b60405161027e9190611cf7565b60405180910390f35b6102a1600480360381019061029c9190611d7e565b610a82565b005b6102bd60048036038101906102b89190611d7e565b610b38565b6040516102ca9190611f8b565b60405180910390f35b6102db610bef565b6040516102e89190611cf7565b60405180910390f35b61030b60048036038101906103069190611f33565b610c15565b005b610315610cb8565b6040516103229190611c31565b60405180910390f35b61034560048036038101906103409190611fd2565b610d4a565b005b610361600480360381019061035c91906120b3565b610d60565b005b61037d60048036038101906103789190611c89565b610dc2565b60405161038a9190611c31565b60405180910390f35b61039b610df6565b6040516103a89190611c31565b60405180910390f35b6103cb60048036038101906103c69190612136565b610e88565b6040516103d89190611b86565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ac57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104bc57506104bb82610f32565b5b9050919050565b6060600080546104d2906121a5565b80601f01602080910402602001604051908101604052809291908181526020018280546104fe906121a5565b801561054b5780601f106105205761010080835404028352916020019161054b565b820191906000526020600020905b81548152906001019060200180831161052e57829003601f168201915b5050505050905090565b600061056082610f9c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105a6826109d1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060d90612248565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610635610fe7565b73ffffffffffffffffffffffffffffffffffffffff16148061066457506106638161065e610fe7565b610e88565b5b6106a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069a906122da565b60405180910390fd5b6106ad8383610fef565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061075b5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61079a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079190612346565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6107ef6107e9610fe7565b826110a8565b61082e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610825906123d8565b60405180910390fd5b61083983838361113d565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590612444565b60405180910390fd5b60005b81811015610909576108ec836108e760096113a3565b6113b1565b6108f66009610f1c565b808061090190612493565b9150506108d1565b505050565b61092983838360405180602001604052806000815250610d60565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b590612444565b60405180910390fd5b80600690816109cd9190612687565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a70906127a5565b60405180910390fd5b80915050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0990612444565b60405180910390fd5b6000610b1e60096113a3565b9050610b2a82826113b1565b610b346009610f1c565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f90612837565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c90612444565b60405180910390fd5b80600a9081610cb49190612687565b5050565b606060018054610cc7906121a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf3906121a5565b8015610d405780601f10610d1557610100808354040283529160200191610d40565b820191906000526020600020905b815481529060010190602001808311610d2357829003601f168201915b5050505050905090565b610d5c610d55610fe7565b838361158a565b5050565b610d71610d6b610fe7565b836110a8565b610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da7906123d8565b60405180910390fd5b610dbc848484846116f6565b50505050565b60606006610dcf83611752565b604051602001610de092919061293c565b6040516020818303038152906040529050919050565b6060600a8054610e05906121a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e31906121a5565b8015610e7e5780601f10610e5357610100808354040283529160200191610e7e565b820191906000526020600020905b815481529060010190602001808311610e6157829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610fa5816118b2565b610fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdb906127a5565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611062836109d1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806110b4836109d1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806110f657506110f58185610e88565b5b8061113457508373ffffffffffffffffffffffffffffffffffffffff1661111c84610555565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661115d826109d1565b73ffffffffffffffffffffffffffffffffffffffff16146111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa906129e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121990612a73565b60405180910390fd5b61122d83838361191e565b611238600082610fef565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112889190612a93565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112df9190612ac7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461139e838383611923565b505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141790612b47565b60405180910390fd5b611429816118b2565b15611469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146090612bb3565b60405180910390fd5b6114756000838361191e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114c59190612ac7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461158660008383611923565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90612c1f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116e99190611b86565b60405180910390a3505050565b61170184848461113d565b61170d84848484611928565b61174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390612cb1565b60405180910390fd5b50505050565b606060008203611799576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506118ad565b600082905060005b600082146117cb5780806117b490612493565b915050600a826117c49190612d00565b91506117a1565b60008167ffffffffffffffff8111156117e7576117e6611e08565b5b6040519080825280601f01601f1916602001820160405280156118195781602001600182028036833780820191505090505b5090505b600085146118a6576001826118329190612a93565b9150600a856118419190612d31565b603061184d9190612ac7565b60f81b81838151811061186357611862612d62565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561189f9190612d00565b945061181d565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006119498473ffffffffffffffffffffffffffffffffffffffff16611aaf565b15611aa2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611972610fe7565b8786866040518563ffffffff1660e01b81526004016119949493929190612de6565b6020604051808303816000875af19250505080156119d057506040513d601f19601f820116820180604052508101906119cd9190612e47565b60015b611a52573d8060008114611a00576040519150601f19603f3d011682016040523d82523d6000602084013e611a05565b606091505b506000815103611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4190612cb1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611aa7565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611b1b81611ae6565b8114611b2657600080fd5b50565b600081359050611b3881611b12565b92915050565b600060208284031215611b5457611b53611adc565b5b6000611b6284828501611b29565b91505092915050565b60008115159050919050565b611b8081611b6b565b82525050565b6000602082019050611b9b6000830184611b77565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611bdb578082015181840152602081019050611bc0565b60008484015250505050565b6000601f19601f8301169050919050565b6000611c0382611ba1565b611c0d8185611bac565b9350611c1d818560208601611bbd565b611c2681611be7565b840191505092915050565b60006020820190508181036000830152611c4b8184611bf8565b905092915050565b6000819050919050565b611c6681611c53565b8114611c7157600080fd5b50565b600081359050611c8381611c5d565b92915050565b600060208284031215611c9f57611c9e611adc565b5b6000611cad84828501611c74565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ce182611cb6565b9050919050565b611cf181611cd6565b82525050565b6000602082019050611d0c6000830184611ce8565b92915050565b611d1b81611cd6565b8114611d2657600080fd5b50565b600081359050611d3881611d12565b92915050565b60008060408385031215611d5557611d54611adc565b5b6000611d6385828601611d29565b9250506020611d7485828601611c74565b9150509250929050565b600060208284031215611d9457611d93611adc565b5b6000611da284828501611d29565b91505092915050565b600080600060608486031215611dc457611dc3611adc565b5b6000611dd286828701611d29565b9350506020611de386828701611d29565b9250506040611df486828701611c74565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611e4082611be7565b810181811067ffffffffffffffff82111715611e5f57611e5e611e08565b5b80604052505050565b6000611e72611ad2565b9050611e7e8282611e37565b919050565b600067ffffffffffffffff821115611e9e57611e9d611e08565b5b611ea782611be7565b9050602081019050919050565b82818337600083830152505050565b6000611ed6611ed184611e83565b611e68565b905082815260208101848484011115611ef257611ef1611e03565b5b611efd848285611eb4565b509392505050565b600082601f830112611f1a57611f19611dfe565b5b8135611f2a848260208601611ec3565b91505092915050565b600060208284031215611f4957611f48611adc565b5b600082013567ffffffffffffffff811115611f6757611f66611ae1565b5b611f7384828501611f05565b91505092915050565b611f8581611c53565b82525050565b6000602082019050611fa06000830184611f7c565b92915050565b611faf81611b6b565b8114611fba57600080fd5b50565b600081359050611fcc81611fa6565b92915050565b60008060408385031215611fe957611fe8611adc565b5b6000611ff785828601611d29565b925050602061200885828601611fbd565b9150509250929050565b600067ffffffffffffffff82111561202d5761202c611e08565b5b61203682611be7565b9050602081019050919050565b600061205661205184612012565b611e68565b90508281526020810184848401111561207257612071611e03565b5b61207d848285611eb4565b509392505050565b600082601f83011261209a57612099611dfe565b5b81356120aa848260208601612043565b91505092915050565b600080600080608085870312156120cd576120cc611adc565b5b60006120db87828801611d29565b94505060206120ec87828801611d29565b93505060406120fd87828801611c74565b925050606085013567ffffffffffffffff81111561211e5761211d611ae1565b5b61212a87828801612085565b91505092959194509250565b6000806040838503121561214d5761214c611adc565b5b600061215b85828601611d29565b925050602061216c85828601611d29565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806121bd57607f821691505b6020821081036121d0576121cf612176565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612232602183611bac565b915061223d826121d6565b604082019050919050565b6000602082019050818103600083015261226181612225565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006122c4603e83611bac565b91506122cf82612268565b604082019050919050565b600060208201905081810360008301526122f3816122b7565b9050919050565b7f4e4f545f4f574e45520000000000000000000000000000000000000000000000600082015250565b6000612330600983611bac565b915061233b826122fa565b602082019050919050565b6000602082019050818103600083015261235f81612323565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006123c2602e83611bac565b91506123cd82612366565b604082019050919050565b600060208201905081810360008301526123f1816123b5565b9050919050565b7f4e4f545f4d414e41474552000000000000000000000000000000000000000000600082015250565b600061242e600b83611bac565b9150612439826123f8565b602082019050919050565b6000602082019050818103600083015261245d81612421565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061249e82611c53565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036124d0576124cf612464565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261253d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612500565b6125478683612500565b95508019841693508086168417925050509392505050565b6000819050919050565b600061258461257f61257a84611c53565b61255f565b611c53565b9050919050565b6000819050919050565b61259e83612569565b6125b26125aa8261258b565b84845461250d565b825550505050565b600090565b6125c76125ba565b6125d2818484612595565b505050565b5b818110156125f6576125eb6000826125bf565b6001810190506125d8565b5050565b601f82111561263b5761260c816124db565b612615846124f0565b81016020851015612624578190505b612638612630856124f0565b8301826125d7565b50505b505050565b600082821c905092915050565b600061265e60001984600802612640565b1980831691505092915050565b6000612677838361264d565b9150826002028217905092915050565b61269082611ba1565b67ffffffffffffffff8111156126a9576126a8611e08565b5b6126b382546121a5565b6126be8282856125fa565b600060209050601f8311600181146126f157600084156126df578287015190505b6126e9858261266b565b865550612751565b601f1984166126ff866124db565b60005b8281101561272757848901518255600182019150602085019450602081019050612702565b868310156127445784890151612740601f89168261264d565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061278f601883611bac565b915061279a82612759565b602082019050919050565b600060208201905081810360008301526127be81612782565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612821602983611bac565b915061282c826127c5565b604082019050919050565b6000602082019050818103600083015261285081612814565b9050919050565b600081905092915050565b6000815461286f816121a5565b6128798186612857565b9450600182166000811461289457600181146128a9576128dc565b60ff19831686528115158202860193506128dc565b6128b2856124db565b60005b838110156128d4578154818901526001820191506020810190506128b5565b838801955050505b50505092915050565b60006128f082611ba1565b6128fa8185612857565b935061290a818560208601611bbd565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b60006129488285612862565b915061295482846128e5565b915061295f82612916565b6005820191508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006129cb602583611bac565b91506129d68261296f565b604082019050919050565b600060208201905081810360008301526129fa816129be565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612a5d602483611bac565b9150612a6882612a01565b604082019050919050565b60006020820190508181036000830152612a8c81612a50565b9050919050565b6000612a9e82611c53565b9150612aa983611c53565b9250828203905081811115612ac157612ac0612464565b5b92915050565b6000612ad282611c53565b9150612add83611c53565b9250828201905080821115612af557612af4612464565b5b92915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612b31602083611bac565b9150612b3c82612afb565b602082019050919050565b60006020820190508181036000830152612b6081612b24565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612b9d601c83611bac565b9150612ba882612b67565b602082019050919050565b60006020820190508181036000830152612bcc81612b90565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612c09601983611bac565b9150612c1482612bd3565b602082019050919050565b60006020820190508181036000830152612c3881612bfc565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612c9b603283611bac565b9150612ca682612c3f565b604082019050919050565b60006020820190508181036000830152612cca81612c8e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612d0b82611c53565b9150612d1683611c53565b925082612d2657612d25612cd1565b5b828204905092915050565b6000612d3c82611c53565b9150612d4783611c53565b925082612d5757612d56612cd1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000612db882612d91565b612dc28185612d9c565b9350612dd2818560208601611bbd565b612ddb81611be7565b840191505092915050565b6000608082019050612dfb6000830187611ce8565b612e086020830186611ce8565b612e156040830185611f7c565b8181036060830152612e278184612dad565b905095945050505050565b600081519050612e4181611b12565b92915050565b600060208284031215612e5d57612e5c611adc565b5b6000612e6b84828501612e32565b9150509291505056fea26469706673582212209a6493c1285a642dc362c8f461745e0f82332db6fd4533057a0807d55609b10664736f6c6343000811003300000000000000000000000013f396077b776fca652506d926eea92e73bfea59000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000004268747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b61736f646573796e2f446f6765436f6c6c69652f6d61696e2f6a736f6e732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005568747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b61736f646573796e2f446f6765436f6c6c69652f6d61696e2f636f6e74726163742f636f6e74726163745552492e6a736f6e0000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c80636a627842116100ad578063a22cb46511610071578063a22cb4651461032b578063b88d4fde14610347578063c87b56dd14610363578063e8a3d48514610393578063e985e9c5146103b15761012c565b80636a6278421461028757806370a08231146102a35780638da5cb5b146102d3578063938e3d7b146102f157806395d89b411461030d5761012c565b806323b872dd116100f457806323b872dd146101e7578063248b71fc1461020357806342842e0e1461021f57806355f804b31461023b5780636352211e146102575761012c565b806301ffc9a71461013157806306fdde0314610161578063081812fc1461017f578063095ea7b3146101af57806313af4035146101cb575b600080fd5b61014b60048036038101906101469190611b3e565b6103e1565b6040516101589190611b86565b60405180910390f35b6101696104c3565b6040516101769190611c31565b60405180910390f35b61019960048036038101906101949190611c89565b610555565b6040516101a69190611cf7565b60405180910390f35b6101c960048036038101906101c49190611d3e565b61059b565b005b6101e560048036038101906101e09190611d7e565b6106b2565b005b61020160048036038101906101fc9190611dab565b6107de565b005b61021d60048036038101906102189190611d3e565b61083e565b005b61023960048036038101906102349190611dab565b61090e565b005b61025560048036038101906102509190611f33565b61092e565b005b610271600480360381019061026c9190611c89565b6109d1565b60405161027e9190611cf7565b60405180910390f35b6102a1600480360381019061029c9190611d7e565b610a82565b005b6102bd60048036038101906102b89190611d7e565b610b38565b6040516102ca9190611f8b565b60405180910390f35b6102db610bef565b6040516102e89190611cf7565b60405180910390f35b61030b60048036038101906103069190611f33565b610c15565b005b610315610cb8565b6040516103229190611c31565b60405180910390f35b61034560048036038101906103409190611fd2565b610d4a565b005b610361600480360381019061035c91906120b3565b610d60565b005b61037d60048036038101906103789190611c89565b610dc2565b60405161038a9190611c31565b60405180910390f35b61039b610df6565b6040516103a89190611c31565b60405180910390f35b6103cb60048036038101906103c69190612136565b610e88565b6040516103d89190611b86565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104ac57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104bc57506104bb82610f32565b5b9050919050565b6060600080546104d2906121a5565b80601f01602080910402602001604051908101604052809291908181526020018280546104fe906121a5565b801561054b5780601f106105205761010080835404028352916020019161054b565b820191906000526020600020905b81548152906001019060200180831161052e57829003601f168201915b5050505050905090565b600061056082610f9c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105a6826109d1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060d90612248565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610635610fe7565b73ffffffffffffffffffffffffffffffffffffffff16148061066457506106638161065e610fe7565b610e88565b5b6106a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069a906122da565b60405180910390fd5b6106ad8383610fef565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061075b5750600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61079a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079190612346565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6107ef6107e9610fe7565b826110a8565b61082e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610825906123d8565b60405180910390fd5b61083983838361113d565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c590612444565b60405180910390fd5b60005b81811015610909576108ec836108e760096113a3565b6113b1565b6108f66009610f1c565b808061090190612493565b9150506108d1565b505050565b61092983838360405180602001604052806000815250610d60565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b590612444565b60405180910390fd5b80600690816109cd9190612687565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a70906127a5565b60405180910390fd5b80915050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0990612444565b60405180910390fd5b6000610b1e60096113a3565b9050610b2a82826113b1565b610b346009610f1c565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f90612837565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9c90612444565b60405180910390fd5b80600a9081610cb49190612687565b5050565b606060018054610cc7906121a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf3906121a5565b8015610d405780601f10610d1557610100808354040283529160200191610d40565b820191906000526020600020905b815481529060010190602001808311610d2357829003601f168201915b5050505050905090565b610d5c610d55610fe7565b838361158a565b5050565b610d71610d6b610fe7565b836110a8565b610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da7906123d8565b60405180910390fd5b610dbc848484846116f6565b50505050565b60606006610dcf83611752565b604051602001610de092919061293c565b6040516020818303038152906040529050919050565b6060600a8054610e05906121a5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e31906121a5565b8015610e7e5780601f10610e5357610100808354040283529160200191610e7e565b820191906000526020600020905b815481529060010190602001808311610e6157829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610fa5816118b2565b610fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdb906127a5565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611062836109d1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806110b4836109d1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806110f657506110f58185610e88565b5b8061113457508373ffffffffffffffffffffffffffffffffffffffff1661111c84610555565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661115d826109d1565b73ffffffffffffffffffffffffffffffffffffffff16146111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa906129e1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611222576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121990612a73565b60405180910390fd5b61122d83838361191e565b611238600082610fef565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112889190612a93565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112df9190612ac7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461139e838383611923565b505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141790612b47565b60405180910390fd5b611429816118b2565b15611469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146090612bb3565b60405180910390fd5b6114756000838361191e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114c59190612ac7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461158660008383611923565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90612c1f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116e99190611b86565b60405180910390a3505050565b61170184848461113d565b61170d84848484611928565b61174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390612cb1565b60405180910390fd5b50505050565b606060008203611799576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506118ad565b600082905060005b600082146117cb5780806117b490612493565b915050600a826117c49190612d00565b91506117a1565b60008167ffffffffffffffff8111156117e7576117e6611e08565b5b6040519080825280601f01601f1916602001820160405280156118195781602001600182028036833780820191505090505b5090505b600085146118a6576001826118329190612a93565b9150600a856118419190612d31565b603061184d9190612ac7565b60f81b81838151811061186357611862612d62565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561189f9190612d00565b945061181d565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006119498473ffffffffffffffffffffffffffffffffffffffff16611aaf565b15611aa2578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611972610fe7565b8786866040518563ffffffff1660e01b81526004016119949493929190612de6565b6020604051808303816000875af19250505080156119d057506040513d601f19601f820116820180604052508101906119cd9190612e47565b60015b611a52573d8060008114611a00576040519150601f19603f3d011682016040523d82523d6000602084013e611a05565b606091505b506000815103611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4190612cb1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611aa7565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611b1b81611ae6565b8114611b2657600080fd5b50565b600081359050611b3881611b12565b92915050565b600060208284031215611b5457611b53611adc565b5b6000611b6284828501611b29565b91505092915050565b60008115159050919050565b611b8081611b6b565b82525050565b6000602082019050611b9b6000830184611b77565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611bdb578082015181840152602081019050611bc0565b60008484015250505050565b6000601f19601f8301169050919050565b6000611c0382611ba1565b611c0d8185611bac565b9350611c1d818560208601611bbd565b611c2681611be7565b840191505092915050565b60006020820190508181036000830152611c4b8184611bf8565b905092915050565b6000819050919050565b611c6681611c53565b8114611c7157600080fd5b50565b600081359050611c8381611c5d565b92915050565b600060208284031215611c9f57611c9e611adc565b5b6000611cad84828501611c74565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611ce182611cb6565b9050919050565b611cf181611cd6565b82525050565b6000602082019050611d0c6000830184611ce8565b92915050565b611d1b81611cd6565b8114611d2657600080fd5b50565b600081359050611d3881611d12565b92915050565b60008060408385031215611d5557611d54611adc565b5b6000611d6385828601611d29565b9250506020611d7485828601611c74565b9150509250929050565b600060208284031215611d9457611d93611adc565b5b6000611da284828501611d29565b91505092915050565b600080600060608486031215611dc457611dc3611adc565b5b6000611dd286828701611d29565b9350506020611de386828701611d29565b9250506040611df486828701611c74565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611e4082611be7565b810181811067ffffffffffffffff82111715611e5f57611e5e611e08565b5b80604052505050565b6000611e72611ad2565b9050611e7e8282611e37565b919050565b600067ffffffffffffffff821115611e9e57611e9d611e08565b5b611ea782611be7565b9050602081019050919050565b82818337600083830152505050565b6000611ed6611ed184611e83565b611e68565b905082815260208101848484011115611ef257611ef1611e03565b5b611efd848285611eb4565b509392505050565b600082601f830112611f1a57611f19611dfe565b5b8135611f2a848260208601611ec3565b91505092915050565b600060208284031215611f4957611f48611adc565b5b600082013567ffffffffffffffff811115611f6757611f66611ae1565b5b611f7384828501611f05565b91505092915050565b611f8581611c53565b82525050565b6000602082019050611fa06000830184611f7c565b92915050565b611faf81611b6b565b8114611fba57600080fd5b50565b600081359050611fcc81611fa6565b92915050565b60008060408385031215611fe957611fe8611adc565b5b6000611ff785828601611d29565b925050602061200885828601611fbd565b9150509250929050565b600067ffffffffffffffff82111561202d5761202c611e08565b5b61203682611be7565b9050602081019050919050565b600061205661205184612012565b611e68565b90508281526020810184848401111561207257612071611e03565b5b61207d848285611eb4565b509392505050565b600082601f83011261209a57612099611dfe565b5b81356120aa848260208601612043565b91505092915050565b600080600080608085870312156120cd576120cc611adc565b5b60006120db87828801611d29565b94505060206120ec87828801611d29565b93505060406120fd87828801611c74565b925050606085013567ffffffffffffffff81111561211e5761211d611ae1565b5b61212a87828801612085565b91505092959194509250565b6000806040838503121561214d5761214c611adc565b5b600061215b85828601611d29565b925050602061216c85828601611d29565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806121bd57607f821691505b6020821081036121d0576121cf612176565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612232602183611bac565b915061223d826121d6565b604082019050919050565b6000602082019050818103600083015261226181612225565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006122c4603e83611bac565b91506122cf82612268565b604082019050919050565b600060208201905081810360008301526122f3816122b7565b9050919050565b7f4e4f545f4f574e45520000000000000000000000000000000000000000000000600082015250565b6000612330600983611bac565b915061233b826122fa565b602082019050919050565b6000602082019050818103600083015261235f81612323565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006123c2602e83611bac565b91506123cd82612366565b604082019050919050565b600060208201905081810360008301526123f1816123b5565b9050919050565b7f4e4f545f4d414e41474552000000000000000000000000000000000000000000600082015250565b600061242e600b83611bac565b9150612439826123f8565b602082019050919050565b6000602082019050818103600083015261245d81612421565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061249e82611c53565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036124d0576124cf612464565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261253d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612500565b6125478683612500565b95508019841693508086168417925050509392505050565b6000819050919050565b600061258461257f61257a84611c53565b61255f565b611c53565b9050919050565b6000819050919050565b61259e83612569565b6125b26125aa8261258b565b84845461250d565b825550505050565b600090565b6125c76125ba565b6125d2818484612595565b505050565b5b818110156125f6576125eb6000826125bf565b6001810190506125d8565b5050565b601f82111561263b5761260c816124db565b612615846124f0565b81016020851015612624578190505b612638612630856124f0565b8301826125d7565b50505b505050565b600082821c905092915050565b600061265e60001984600802612640565b1980831691505092915050565b6000612677838361264d565b9150826002028217905092915050565b61269082611ba1565b67ffffffffffffffff8111156126a9576126a8611e08565b5b6126b382546121a5565b6126be8282856125fa565b600060209050601f8311600181146126f157600084156126df578287015190505b6126e9858261266b565b865550612751565b601f1984166126ff866124db565b60005b8281101561272757848901518255600182019150602085019450602081019050612702565b868310156127445784890151612740601f89168261264d565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061278f601883611bac565b915061279a82612759565b602082019050919050565b600060208201905081810360008301526127be81612782565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612821602983611bac565b915061282c826127c5565b604082019050919050565b6000602082019050818103600083015261285081612814565b9050919050565b600081905092915050565b6000815461286f816121a5565b6128798186612857565b9450600182166000811461289457600181146128a9576128dc565b60ff19831686528115158202860193506128dc565b6128b2856124db565b60005b838110156128d4578154818901526001820191506020810190506128b5565b838801955050505b50505092915050565b60006128f082611ba1565b6128fa8185612857565b935061290a818560208601611bbd565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b60006129488285612862565b915061295482846128e5565b915061295f82612916565b6005820191508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006129cb602583611bac565b91506129d68261296f565b604082019050919050565b600060208201905081810360008301526129fa816129be565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612a5d602483611bac565b9150612a6882612a01565b604082019050919050565b60006020820190508181036000830152612a8c81612a50565b9050919050565b6000612a9e82611c53565b9150612aa983611c53565b9250828203905081811115612ac157612ac0612464565b5b92915050565b6000612ad282611c53565b9150612add83611c53565b9250828201905080821115612af557612af4612464565b5b92915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612b31602083611bac565b9150612b3c82612afb565b602082019050919050565b60006020820190508181036000830152612b6081612b24565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612b9d601c83611bac565b9150612ba882612b67565b602082019050919050565b60006020820190508181036000830152612bcc81612b90565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612c09601983611bac565b9150612c1482612bd3565b602082019050919050565b60006020820190508181036000830152612c3881612bfc565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612c9b603283611bac565b9150612ca682612c3f565b604082019050919050565b60006020820190508181036000830152612cca81612c8e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612d0b82611c53565b9150612d1683611c53565b925082612d2657612d25612cd1565b5b828204905092915050565b6000612d3c82611c53565b9150612d4783611c53565b925082612d5757612d56612cd1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000612db882612d91565b612dc28185612d9c565b9350612dd2818560208601611bbd565b612ddb81611be7565b840191505092915050565b6000608082019050612dfb6000830187611ce8565b612e086020830186611ce8565b612e156040830185611f7c565b8181036060830152612e278184612dad565b905095945050505050565b600081519050612e4181611b12565b92915050565b600060208284031215612e5d57612e5c611adc565b5b6000612e6b84828501612e32565b9150509291505056fea26469706673582212209a6493c1285a642dc362c8f461745e0f82332db6fd4533057a0807d55609b10664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000013f396077b776fca652506d926eea92e73bfea59000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000004268747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b61736f646573796e2f446f6765436f6c6c69652f6d61696e2f6a736f6e732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005568747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b61736f646573796e2f446f6765436f6c6c69652f6d61696e2f636f6e74726163742f636f6e74726163745552492e6a736f6e0000000000000000000000
-----Decoded View---------------
Arg [0] : owner_ (address): 0x13F396077b776fCa652506d926eEA92e73bfeA59
Arg [1] : baseURI_ (string): https://raw.githubusercontent.com/kasodesyn/DogeCollie/main/jsons/
Arg [2] : _contractURI_ (string): https://raw.githubusercontent.com/kasodesyn/DogeCollie/main/contract/contractURI.json
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000013f396077b776fca652506d926eea92e73bfea59
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [4] : 68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f
Arg [5] : 6d2f6b61736f646573796e2f446f6765436f6c6c69652f6d61696e2f6a736f6e
Arg [6] : 732f000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000055
Arg [8] : 68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f
Arg [9] : 6d2f6b61736f646573796e2f446f6765436f6c6c69652f6d61696e2f636f6e74
Arg [10] : 726163742f636f6e74726163745552492e6a736f6e0000000000000000000000
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.