ERC-721
Overview
Max Total Supply
114 PCRD
Holders
71
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PCRDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ProCamelRiders
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract ProCamelRiders is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 private _maxSupply = 3333; string public _provenanceHash; string public _baseURL; uint256 public launchDate; constructor() ERC721("ProCamelRiders", "PCRD") {} function mint(uint256 count) external payable { require(_tokenIds.current() < _maxSupply, "Can not mint more than max supply"); require(count > 0 && count <= 12, "You can mint between 1 and 12 at once"); require(msg.value >= count * 0.069 ether, "Insufficient payment"); for (uint256 i = 0; i < count; i++) { _tokenIds.increment(); _mint(msg.sender, _tokenIds.current()); } bool success = false; (success,) = owner().call{value : msg.value}(""); require(success, "Failed to send to owner"); } function setProvenanceHash(string memory provenanceHash) public onlyOwner { _provenanceHash = provenanceHash; } function setBaseURL(string memory baseURI) public onlyOwner { _baseURL = baseURI; } function setMaxSupply(uint256 value) public onlyOwner { _maxSupply = value; } function _baseURI() internal view override returns (string memory) { return _baseURL; } function maxSupply() public view returns (uint256) { return _maxSupply; } function totalSupply() public view returns (uint256) { return _tokenIds.current(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"launchDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610d056008553480156200001757600080fd5b506040518060400160405280600e81526020017f50726f43616d656c5269646572730000000000000000000000000000000000008152506040518060400160405280600481526020017f504352440000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009c929190620001be565b508060019080519060200190620000b5929190620001be565b505050620000ea620000d5620000f0640100000000026401000000009004565b620000f8640100000000026401000000009004565b620002d3565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cc906200026e565b90600052602060002090601f016020900481019282620001f057600085556200023c565b82601f106200020b57805160ff19168380011785556200023c565b828001600101855582156200023c579182015b828111156200023b5782518255916020019190600101906200021e565b5b5090506200024b91906200024f565b5090565b5b808211156200026a57600081600090555060010162000250565b5090565b600060028204905060018216806200028757607f821691505b602082108114156200029e576200029d620002a4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61370b80620002e36000396000f3fe608060405260043610610183576000357c01000000000000000000000000000000000000000000000000000000009004806370a08231116100ee578063b88d4fde116100a7578063e985e9c511610081578063e985e9c514610536578063f2fde38b14610573578063f8eeed621461059c578063f9e0edae146105c757610183565b8063b88d4fde146104a5578063c87b56dd146104ce578063d5abeb011461050b57610183565b806370a08231146103b6578063715018a6146103f35780638da5cb5b1461040a57806395d89b4114610435578063a0712d6814610460578063a22cb4651461047c57610183565b806323b872dd1161014057806323b872dd146102aa57806342842e0e146102d357806349f2553a146102fc578063534308cc146103255780636352211e146103505780636f8b44b01461038d57610183565b806301ffc9a71461018857806306fdde03146101c5578063081812fc146101f0578063095ea7b31461022d578063109695231461025657806318160ddd1461027f575b600080fd5b34801561019457600080fd5b506101af60048036038101906101aa91906124aa565b6105f2565b6040516101bc91906129c9565b60405180910390f35b3480156101d157600080fd5b506101da6106d4565b6040516101e791906129e4565b60405180910390f35b3480156101fc57600080fd5b506102176004803603810190610212919061254d565b610766565b6040516102249190612962565b60405180910390f35b34801561023957600080fd5b50610254600480360381019061024f919061246a565b6107eb565b005b34801561026257600080fd5b5061027d60048036038101906102789190612504565b610903565b005b34801561028b57600080fd5b50610294610999565b6040516102a19190612c86565b60405180910390f35b3480156102b657600080fd5b506102d160048036038101906102cc9190612354565b6109aa565b005b3480156102df57600080fd5b506102fa60048036038101906102f59190612354565b610a0a565b005b34801561030857600080fd5b50610323600480360381019061031e9190612504565b610a2a565b005b34801561033157600080fd5b5061033a610ac0565b60405161034791906129e4565b60405180910390f35b34801561035c57600080fd5b506103776004803603810190610372919061254d565b610b4e565b6040516103849190612962565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af919061254d565b610c00565b005b3480156103c257600080fd5b506103dd60048036038101906103d891906122e7565b610c86565b6040516103ea9190612c86565b60405180910390f35b3480156103ff57600080fd5b50610408610d3e565b005b34801561041657600080fd5b5061041f610dc6565b60405161042c9190612962565b60405180910390f35b34801561044157600080fd5b5061044a610df0565b60405161045791906129e4565b60405180910390f35b61047a6004803603810190610475919061254d565b610e82565b005b34801561048857600080fd5b506104a3600480360381019061049e919061242a565b611069565b005b3480156104b157600080fd5b506104cc60048036038101906104c791906123a7565b6111ea565b005b3480156104da57600080fd5b506104f560048036038101906104f0919061254d565b61124c565b60405161050291906129e4565b60405180910390f35b34801561051757600080fd5b506105206112f3565b60405161052d9190612c86565b60405180910390f35b34801561054257600080fd5b5061055d60048036038101906105589190612314565b6112fd565b60405161056a91906129c9565b60405180910390f35b34801561057f57600080fd5b5061059a600480360381019061059591906122e7565b611391565b005b3480156105a857600080fd5b506105b1611489565b6040516105be9190612c86565b60405180910390f35b3480156105d357600080fd5b506105dc61148f565b6040516105e991906129e4565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106cd57506106cc8261151d565b5b9050919050565b6060600080546106e390612f41565b80601f016020809104026020016040519081016040528092919081815260200182805461070f90612f41565b801561075c5780601f106107315761010080835404028352916020019161075c565b820191906000526020600020905b81548152906001019060200180831161073f57829003601f168201915b5050505050905090565b600061077182611587565b6107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a790612ba6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107f682610b4e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085e90612c26565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108866115f3565b73ffffffffffffffffffffffffffffffffffffffff1614806108b557506108b4816108af6115f3565b6112fd565b5b6108f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108eb90612b06565b60405180910390fd5b6108fe83836115fb565b505050565b61090b6115f3565b73ffffffffffffffffffffffffffffffffffffffff16610929610dc6565b73ffffffffffffffffffffffffffffffffffffffff161461097f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097690612bc6565b60405180910390fd5b80600990805190602001906109959291906120fb565b5050565b60006109a560076116b4565b905090565b6109bb6109b56115f3565b826116c2565b6109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f190612c46565b60405180910390fd5b610a058383836117a0565b505050565b610a25838383604051806020016040528060008152506111ea565b505050565b610a326115f3565b73ffffffffffffffffffffffffffffffffffffffff16610a50610dc6565b73ffffffffffffffffffffffffffffffffffffffff1614610aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9d90612bc6565b60405180910390fd5b80600a9080519060200190610abc9291906120fb565b5050565b60098054610acd90612f41565b80601f0160208091040260200160405190810160405280929190818152602001828054610af990612f41565b8015610b465780601f10610b1b57610100808354040283529160200191610b46565b820191906000526020600020905b815481529060010190602001808311610b2957829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90612b46565b60405180910390fd5b80915050919050565b610c086115f3565b73ffffffffffffffffffffffffffffffffffffffff16610c26610dc6565b73ffffffffffffffffffffffffffffffffffffffff1614610c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7390612bc6565b60405180910390fd5b8060088190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cee90612b26565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d466115f3565b73ffffffffffffffffffffffffffffffffffffffff16610d64610dc6565b73ffffffffffffffffffffffffffffffffffffffff1614610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190612bc6565b60405180910390fd5b610dc460006119fc565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610dff90612f41565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2b90612f41565b8015610e785780601f10610e4d57610100808354040283529160200191610e78565b820191906000526020600020905b815481529060010190602001808311610e5b57829003601f168201915b5050505050905090565b600854610e8f60076116b4565b10610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690612c66565b60405180910390fd5b600081118015610ee05750600c8111155b610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690612ae6565b60405180910390fd5b66f523226980800081610f329190612dfd565b341015610f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6b90612b86565b60405180910390fd5b60005b81811015610faf57610f896007611ac2565b610f9c33610f9760076116b4565b611ad8565b8080610fa790612fa4565b915050610f77565b506000610fba610dc6565b73ffffffffffffffffffffffffffffffffffffffff1634604051610fdd9061294d565b60006040518083038185875af1925050503d806000811461101a576040519150601f19603f3d011682016040523d82523d6000602084013e61101f565b606091505b50508091505080611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105c90612aa6565b60405180910390fd5b5050565b6110716115f3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690612a86565b60405180910390fd5b80600560006110ec6115f3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111996115f3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111de91906129c9565b60405180910390a35050565b6111fb6111f56115f3565b836116c2565b61123a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123190612c46565b60405180910390fd5b61124684848484611ca6565b50505050565b606061125782611587565b611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90612c06565b60405180910390fd5b60006112a0611d02565b905060008151116112c057604051806020016040528060008152506112eb565b806112ca84611d94565b6040516020016112db929190612929565b6040516020818303038152906040525b915050919050565b6000600854905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113996115f3565b73ffffffffffffffffffffffffffffffffffffffff166113b7610dc6565b73ffffffffffffffffffffffffffffffffffffffff161461140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140490612bc6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490612a26565b60405180910390fd5b611486816119fc565b50565b600b5481565b600a805461149c90612f41565b80601f01602080910402602001604051908101604052809291908181526020018280546114c890612f41565b80156115155780601f106114ea57610100808354040283529160200191611515565b820191906000526020600020905b8154815290600101906020018083116114f857829003601f168201915b505050505081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661166e83610b4e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006116cd82611587565b61170c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170390612ac6565b60405180910390fd5b600061171783610b4e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061178657508373ffffffffffffffffffffffffffffffffffffffff1661176e84610766565b73ffffffffffffffffffffffffffffffffffffffff16145b80611797575061179681856112fd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166117c082610b4e565b73ffffffffffffffffffffffffffffffffffffffff1614611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90612be6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d90612a66565b60405180910390fd5b611891838383611f14565b61189c6000826115fb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ec9190612e57565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119439190612d76565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3f90612b66565b60405180910390fd5b611b5181611587565b15611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8890612a46565b60405180910390fd5b611b9d60008383611f14565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bed9190612d76565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b611cb18484846117a0565b611cbd84848484611f19565b611cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf390612a06565b60405180910390fd5b50505050565b6060600a8054611d1190612f41565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3d90612f41565b8015611d8a5780601f10611d5f57610100808354040283529160200191611d8a565b820191906000526020600020905b815481529060010190602001808311611d6d57829003601f168201915b5050505050905090565b60606000821415611ddc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f0f565b600082905060005b60008214611e0e578080611df790612fa4565b915050600a82611e079190612dcc565b9150611de4565b60008167ffffffffffffffff811115611e2a57611e296130da565b5b6040519080825280601f01601f191660200182016040528015611e5c5781602001600182028036833780820191505090505b5090505b60008514611f0857600182611e759190612e57565b9150600a85611e849190612fed565b6030611e909190612d76565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110611ec557611ec46130ab565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f019190612dcc565b9450611e60565b8093505050505b919050565b505050565b6000611f3a8473ffffffffffffffffffffffffffffffffffffffff166120e8565b156120db578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f636115f3565b8786866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611fa1949392919061297d565b602060405180830381600087803b158015611fbb57600080fd5b505af1925050508015611fec57506040513d601f19601f82011682018060405250810190611fe991906124d7565b60015b61206f573d806000811461201c576040519150601f19603f3d011682016040523d82523d6000602084013e612021565b606091505b50600081511415612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90612a06565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120e0565b600190505b949350505050565b600080823b905060008111915050919050565b82805461210790612f41565b90600052602060002090601f0160209004810192826121295760008555612170565b82601f1061214257805160ff1916838001178555612170565b82800160010185558215612170579182015b8281111561216f578251825591602001919060010190612154565b5b50905061217d9190612181565b5090565b5b8082111561219a576000816000905550600101612182565b5090565b60006121b16121ac84612cc6565b612ca1565b9050828152602081018484840111156121cd576121cc61310e565b5b6121d8848285612eff565b509392505050565b60006121f36121ee84612cf7565b612ca1565b90508281526020810184848401111561220f5761220e61310e565b5b61221a848285612eff565b509392505050565b60008135905061223181613679565b92915050565b60008135905061224681613690565b92915050565b60008135905061225b816136a7565b92915050565b600081519050612270816136a7565b92915050565b600082601f83011261228b5761228a613109565b5b813561229b84826020860161219e565b91505092915050565b600082601f8301126122b9576122b8613109565b5b81356122c98482602086016121e0565b91505092915050565b6000813590506122e1816136be565b92915050565b6000602082840312156122fd576122fc613118565b5b600061230b84828501612222565b91505092915050565b6000806040838503121561232b5761232a613118565b5b600061233985828601612222565b925050602061234a85828601612222565b9150509250929050565b60008060006060848603121561236d5761236c613118565b5b600061237b86828701612222565b935050602061238c86828701612222565b925050604061239d868287016122d2565b9150509250925092565b600080600080608085870312156123c1576123c0613118565b5b60006123cf87828801612222565b94505060206123e087828801612222565b93505060406123f1878288016122d2565b925050606085013567ffffffffffffffff81111561241257612411613113565b5b61241e87828801612276565b91505092959194509250565b6000806040838503121561244157612440613118565b5b600061244f85828601612222565b925050602061246085828601612237565b9150509250929050565b6000806040838503121561248157612480613118565b5b600061248f85828601612222565b92505060206124a0858286016122d2565b9150509250929050565b6000602082840312156124c0576124bf613118565b5b60006124ce8482850161224c565b91505092915050565b6000602082840312156124ed576124ec613118565b5b60006124fb84828501612261565b91505092915050565b60006020828403121561251a57612519613118565b5b600082013567ffffffffffffffff81111561253857612537613113565b5b612544848285016122a4565b91505092915050565b60006020828403121561256357612562613118565b5b6000612571848285016122d2565b91505092915050565b61258381612e8b565b82525050565b61259281612e9d565b82525050565b60006125a382612d28565b6125ad8185612d3e565b93506125bd818560208601612f0e565b6125c68161311d565b840191505092915050565b60006125dc82612d33565b6125e68185612d5a565b93506125f6818560208601612f0e565b6125ff8161311d565b840191505092915050565b600061261582612d33565b61261f8185612d6b565b935061262f818560208601612f0e565b80840191505092915050565b6000612648603283612d5a565b91506126538261312e565b604082019050919050565b600061266b602683612d5a565b91506126768261317d565b604082019050919050565b600061268e601c83612d5a565b9150612699826131cc565b602082019050919050565b60006126b1602483612d5a565b91506126bc826131f5565b604082019050919050565b60006126d4601983612d5a565b91506126df82613244565b602082019050919050565b60006126f7601783612d5a565b91506127028261326d565b602082019050919050565b600061271a602c83612d5a565b915061272582613296565b604082019050919050565b600061273d602583612d5a565b9150612748826132e5565b604082019050919050565b6000612760603883612d5a565b915061276b82613334565b604082019050919050565b6000612783602a83612d5a565b915061278e82613383565b604082019050919050565b60006127a6602983612d5a565b91506127b1826133d2565b604082019050919050565b60006127c9602083612d5a565b91506127d482613421565b602082019050919050565b60006127ec601483612d5a565b91506127f78261344a565b602082019050919050565b600061280f602c83612d5a565b915061281a82613473565b604082019050919050565b6000612832602083612d5a565b915061283d826134c2565b602082019050919050565b6000612855602983612d5a565b9150612860826134eb565b604082019050919050565b6000612878602f83612d5a565b91506128838261353a565b604082019050919050565b600061289b602183612d5a565b91506128a682613589565b604082019050919050565b60006128be600083612d4f565b91506128c9826135d8565b600082019050919050565b60006128e1603183612d5a565b91506128ec826135db565b604082019050919050565b6000612904602183612d5a565b915061290f8261362a565b604082019050919050565b61292381612ef5565b82525050565b6000612935828561260a565b9150612941828461260a565b91508190509392505050565b6000612958826128b1565b9150819050919050565b6000602082019050612977600083018461257a565b92915050565b6000608082019050612992600083018761257a565b61299f602083018661257a565b6129ac604083018561291a565b81810360608301526129be8184612598565b905095945050505050565b60006020820190506129de6000830184612589565b92915050565b600060208201905081810360008301526129fe81846125d1565b905092915050565b60006020820190508181036000830152612a1f8161263b565b9050919050565b60006020820190508181036000830152612a3f8161265e565b9050919050565b60006020820190508181036000830152612a5f81612681565b9050919050565b60006020820190508181036000830152612a7f816126a4565b9050919050565b60006020820190508181036000830152612a9f816126c7565b9050919050565b60006020820190508181036000830152612abf816126ea565b9050919050565b60006020820190508181036000830152612adf8161270d565b9050919050565b60006020820190508181036000830152612aff81612730565b9050919050565b60006020820190508181036000830152612b1f81612753565b9050919050565b60006020820190508181036000830152612b3f81612776565b9050919050565b60006020820190508181036000830152612b5f81612799565b9050919050565b60006020820190508181036000830152612b7f816127bc565b9050919050565b60006020820190508181036000830152612b9f816127df565b9050919050565b60006020820190508181036000830152612bbf81612802565b9050919050565b60006020820190508181036000830152612bdf81612825565b9050919050565b60006020820190508181036000830152612bff81612848565b9050919050565b60006020820190508181036000830152612c1f8161286b565b9050919050565b60006020820190508181036000830152612c3f8161288e565b9050919050565b60006020820190508181036000830152612c5f816128d4565b9050919050565b60006020820190508181036000830152612c7f816128f7565b9050919050565b6000602082019050612c9b600083018461291a565b92915050565b6000612cab612cbc565b9050612cb78282612f73565b919050565b6000604051905090565b600067ffffffffffffffff821115612ce157612ce06130da565b5b612cea8261311d565b9050602081019050919050565b600067ffffffffffffffff821115612d1257612d116130da565b5b612d1b8261311d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612d8182612ef5565b9150612d8c83612ef5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612dc157612dc061301e565b5b828201905092915050565b6000612dd782612ef5565b9150612de283612ef5565b925082612df257612df161304d565b5b828204905092915050565b6000612e0882612ef5565b9150612e1383612ef5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e4c57612e4b61301e565b5b828202905092915050565b6000612e6282612ef5565b9150612e6d83612ef5565b925082821015612e8057612e7f61301e565b5b828203905092915050565b6000612e9682612ed5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612f2c578082015181840152602081019050612f11565b83811115612f3b576000848401525b50505050565b60006002820490506001821680612f5957607f821691505b60208210811415612f6d57612f6c61307c565b5b50919050565b612f7c8261311d565b810181811067ffffffffffffffff82111715612f9b57612f9a6130da565b5b80604052505050565b6000612faf82612ef5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612fe257612fe161301e565b5b600182019050919050565b6000612ff882612ef5565b915061300383612ef5565b9250826130135761301261304d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4661696c656420746f2073656e6420746f206f776e6572000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f596f752063616e206d696e74206265747765656e203120616e6420313220617460008201527f206f6e6365000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f496e73756666696369656e74207061796d656e74000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f43616e206e6f74206d696e74206d6f7265207468616e206d617820737570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b61368281612e8b565b811461368d57600080fd5b50565b61369981612e9d565b81146136a457600080fd5b50565b6136b081612ea9565b81146136bb57600080fd5b50565b6136c781612ef5565b81146136d257600080fd5b5056fea26469706673582212207941731cd3c683de796c20c328f6d7369f376cc59e00b0b37e77ec3075bcfaba64736f6c63430008060033
Deployed Bytecode
0x608060405260043610610183576000357c01000000000000000000000000000000000000000000000000000000009004806370a08231116100ee578063b88d4fde116100a7578063e985e9c511610081578063e985e9c514610536578063f2fde38b14610573578063f8eeed621461059c578063f9e0edae146105c757610183565b8063b88d4fde146104a5578063c87b56dd146104ce578063d5abeb011461050b57610183565b806370a08231146103b6578063715018a6146103f35780638da5cb5b1461040a57806395d89b4114610435578063a0712d6814610460578063a22cb4651461047c57610183565b806323b872dd1161014057806323b872dd146102aa57806342842e0e146102d357806349f2553a146102fc578063534308cc146103255780636352211e146103505780636f8b44b01461038d57610183565b806301ffc9a71461018857806306fdde03146101c5578063081812fc146101f0578063095ea7b31461022d578063109695231461025657806318160ddd1461027f575b600080fd5b34801561019457600080fd5b506101af60048036038101906101aa91906124aa565b6105f2565b6040516101bc91906129c9565b60405180910390f35b3480156101d157600080fd5b506101da6106d4565b6040516101e791906129e4565b60405180910390f35b3480156101fc57600080fd5b506102176004803603810190610212919061254d565b610766565b6040516102249190612962565b60405180910390f35b34801561023957600080fd5b50610254600480360381019061024f919061246a565b6107eb565b005b34801561026257600080fd5b5061027d60048036038101906102789190612504565b610903565b005b34801561028b57600080fd5b50610294610999565b6040516102a19190612c86565b60405180910390f35b3480156102b657600080fd5b506102d160048036038101906102cc9190612354565b6109aa565b005b3480156102df57600080fd5b506102fa60048036038101906102f59190612354565b610a0a565b005b34801561030857600080fd5b50610323600480360381019061031e9190612504565b610a2a565b005b34801561033157600080fd5b5061033a610ac0565b60405161034791906129e4565b60405180910390f35b34801561035c57600080fd5b506103776004803603810190610372919061254d565b610b4e565b6040516103849190612962565b60405180910390f35b34801561039957600080fd5b506103b460048036038101906103af919061254d565b610c00565b005b3480156103c257600080fd5b506103dd60048036038101906103d891906122e7565b610c86565b6040516103ea9190612c86565b60405180910390f35b3480156103ff57600080fd5b50610408610d3e565b005b34801561041657600080fd5b5061041f610dc6565b60405161042c9190612962565b60405180910390f35b34801561044157600080fd5b5061044a610df0565b60405161045791906129e4565b60405180910390f35b61047a6004803603810190610475919061254d565b610e82565b005b34801561048857600080fd5b506104a3600480360381019061049e919061242a565b611069565b005b3480156104b157600080fd5b506104cc60048036038101906104c791906123a7565b6111ea565b005b3480156104da57600080fd5b506104f560048036038101906104f0919061254d565b61124c565b60405161050291906129e4565b60405180910390f35b34801561051757600080fd5b506105206112f3565b60405161052d9190612c86565b60405180910390f35b34801561054257600080fd5b5061055d60048036038101906105589190612314565b6112fd565b60405161056a91906129c9565b60405180910390f35b34801561057f57600080fd5b5061059a600480360381019061059591906122e7565b611391565b005b3480156105a857600080fd5b506105b1611489565b6040516105be9190612c86565b60405180910390f35b3480156105d357600080fd5b506105dc61148f565b6040516105e991906129e4565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106cd57506106cc8261151d565b5b9050919050565b6060600080546106e390612f41565b80601f016020809104026020016040519081016040528092919081815260200182805461070f90612f41565b801561075c5780601f106107315761010080835404028352916020019161075c565b820191906000526020600020905b81548152906001019060200180831161073f57829003601f168201915b5050505050905090565b600061077182611587565b6107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a790612ba6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107f682610b4e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085e90612c26565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108866115f3565b73ffffffffffffffffffffffffffffffffffffffff1614806108b557506108b4816108af6115f3565b6112fd565b5b6108f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108eb90612b06565b60405180910390fd5b6108fe83836115fb565b505050565b61090b6115f3565b73ffffffffffffffffffffffffffffffffffffffff16610929610dc6565b73ffffffffffffffffffffffffffffffffffffffff161461097f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097690612bc6565b60405180910390fd5b80600990805190602001906109959291906120fb565b5050565b60006109a560076116b4565b905090565b6109bb6109b56115f3565b826116c2565b6109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f190612c46565b60405180910390fd5b610a058383836117a0565b505050565b610a25838383604051806020016040528060008152506111ea565b505050565b610a326115f3565b73ffffffffffffffffffffffffffffffffffffffff16610a50610dc6565b73ffffffffffffffffffffffffffffffffffffffff1614610aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9d90612bc6565b60405180910390fd5b80600a9080519060200190610abc9291906120fb565b5050565b60098054610acd90612f41565b80601f0160208091040260200160405190810160405280929190818152602001828054610af990612f41565b8015610b465780601f10610b1b57610100808354040283529160200191610b46565b820191906000526020600020905b815481529060010190602001808311610b2957829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bee90612b46565b60405180910390fd5b80915050919050565b610c086115f3565b73ffffffffffffffffffffffffffffffffffffffff16610c26610dc6565b73ffffffffffffffffffffffffffffffffffffffff1614610c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7390612bc6565b60405180910390fd5b8060088190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cee90612b26565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d466115f3565b73ffffffffffffffffffffffffffffffffffffffff16610d64610dc6565b73ffffffffffffffffffffffffffffffffffffffff1614610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db190612bc6565b60405180910390fd5b610dc460006119fc565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610dff90612f41565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2b90612f41565b8015610e785780601f10610e4d57610100808354040283529160200191610e78565b820191906000526020600020905b815481529060010190602001808311610e5b57829003601f168201915b5050505050905090565b600854610e8f60076116b4565b10610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690612c66565b60405180910390fd5b600081118015610ee05750600c8111155b610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690612ae6565b60405180910390fd5b66f523226980800081610f329190612dfd565b341015610f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6b90612b86565b60405180910390fd5b60005b81811015610faf57610f896007611ac2565b610f9c33610f9760076116b4565b611ad8565b8080610fa790612fa4565b915050610f77565b506000610fba610dc6565b73ffffffffffffffffffffffffffffffffffffffff1634604051610fdd9061294d565b60006040518083038185875af1925050503d806000811461101a576040519150601f19603f3d011682016040523d82523d6000602084013e61101f565b606091505b50508091505080611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105c90612aa6565b60405180910390fd5b5050565b6110716115f3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d690612a86565b60405180910390fd5b80600560006110ec6115f3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166111996115f3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111de91906129c9565b60405180910390a35050565b6111fb6111f56115f3565b836116c2565b61123a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123190612c46565b60405180910390fd5b61124684848484611ca6565b50505050565b606061125782611587565b611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90612c06565b60405180910390fd5b60006112a0611d02565b905060008151116112c057604051806020016040528060008152506112eb565b806112ca84611d94565b6040516020016112db929190612929565b6040516020818303038152906040525b915050919050565b6000600854905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113996115f3565b73ffffffffffffffffffffffffffffffffffffffff166113b7610dc6565b73ffffffffffffffffffffffffffffffffffffffff161461140d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140490612bc6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561147d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147490612a26565b60405180910390fd5b611486816119fc565b50565b600b5481565b600a805461149c90612f41565b80601f01602080910402602001604051908101604052809291908181526020018280546114c890612f41565b80156115155780601f106114ea57610100808354040283529160200191611515565b820191906000526020600020905b8154815290600101906020018083116114f857829003601f168201915b505050505081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661166e83610b4e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60006116cd82611587565b61170c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170390612ac6565b60405180910390fd5b600061171783610b4e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061178657508373ffffffffffffffffffffffffffffffffffffffff1661176e84610766565b73ffffffffffffffffffffffffffffffffffffffff16145b80611797575061179681856112fd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166117c082610b4e565b73ffffffffffffffffffffffffffffffffffffffff1614611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90612be6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d90612a66565b60405180910390fd5b611891838383611f14565b61189c6000826115fb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118ec9190612e57565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119439190612d76565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3f90612b66565b60405180910390fd5b611b5181611587565b15611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8890612a46565b60405180910390fd5b611b9d60008383611f14565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bed9190612d76565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b611cb18484846117a0565b611cbd84848484611f19565b611cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf390612a06565b60405180910390fd5b50505050565b6060600a8054611d1190612f41565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3d90612f41565b8015611d8a5780601f10611d5f57610100808354040283529160200191611d8a565b820191906000526020600020905b815481529060010190602001808311611d6d57829003601f168201915b5050505050905090565b60606000821415611ddc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f0f565b600082905060005b60008214611e0e578080611df790612fa4565b915050600a82611e079190612dcc565b9150611de4565b60008167ffffffffffffffff811115611e2a57611e296130da565b5b6040519080825280601f01601f191660200182016040528015611e5c5781602001600182028036833780820191505090505b5090505b60008514611f0857600182611e759190612e57565b9150600a85611e849190612fed565b6030611e909190612d76565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110611ec557611ec46130ab565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f019190612dcc565b9450611e60565b8093505050505b919050565b505050565b6000611f3a8473ffffffffffffffffffffffffffffffffffffffff166120e8565b156120db578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f636115f3565b8786866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611fa1949392919061297d565b602060405180830381600087803b158015611fbb57600080fd5b505af1925050508015611fec57506040513d601f19601f82011682018060405250810190611fe991906124d7565b60015b61206f573d806000811461201c576040519150601f19603f3d011682016040523d82523d6000602084013e612021565b606091505b50600081511415612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90612a06565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120e0565b600190505b949350505050565b600080823b905060008111915050919050565b82805461210790612f41565b90600052602060002090601f0160209004810192826121295760008555612170565b82601f1061214257805160ff1916838001178555612170565b82800160010185558215612170579182015b8281111561216f578251825591602001919060010190612154565b5b50905061217d9190612181565b5090565b5b8082111561219a576000816000905550600101612182565b5090565b60006121b16121ac84612cc6565b612ca1565b9050828152602081018484840111156121cd576121cc61310e565b5b6121d8848285612eff565b509392505050565b60006121f36121ee84612cf7565b612ca1565b90508281526020810184848401111561220f5761220e61310e565b5b61221a848285612eff565b509392505050565b60008135905061223181613679565b92915050565b60008135905061224681613690565b92915050565b60008135905061225b816136a7565b92915050565b600081519050612270816136a7565b92915050565b600082601f83011261228b5761228a613109565b5b813561229b84826020860161219e565b91505092915050565b600082601f8301126122b9576122b8613109565b5b81356122c98482602086016121e0565b91505092915050565b6000813590506122e1816136be565b92915050565b6000602082840312156122fd576122fc613118565b5b600061230b84828501612222565b91505092915050565b6000806040838503121561232b5761232a613118565b5b600061233985828601612222565b925050602061234a85828601612222565b9150509250929050565b60008060006060848603121561236d5761236c613118565b5b600061237b86828701612222565b935050602061238c86828701612222565b925050604061239d868287016122d2565b9150509250925092565b600080600080608085870312156123c1576123c0613118565b5b60006123cf87828801612222565b94505060206123e087828801612222565b93505060406123f1878288016122d2565b925050606085013567ffffffffffffffff81111561241257612411613113565b5b61241e87828801612276565b91505092959194509250565b6000806040838503121561244157612440613118565b5b600061244f85828601612222565b925050602061246085828601612237565b9150509250929050565b6000806040838503121561248157612480613118565b5b600061248f85828601612222565b92505060206124a0858286016122d2565b9150509250929050565b6000602082840312156124c0576124bf613118565b5b60006124ce8482850161224c565b91505092915050565b6000602082840312156124ed576124ec613118565b5b60006124fb84828501612261565b91505092915050565b60006020828403121561251a57612519613118565b5b600082013567ffffffffffffffff81111561253857612537613113565b5b612544848285016122a4565b91505092915050565b60006020828403121561256357612562613118565b5b6000612571848285016122d2565b91505092915050565b61258381612e8b565b82525050565b61259281612e9d565b82525050565b60006125a382612d28565b6125ad8185612d3e565b93506125bd818560208601612f0e565b6125c68161311d565b840191505092915050565b60006125dc82612d33565b6125e68185612d5a565b93506125f6818560208601612f0e565b6125ff8161311d565b840191505092915050565b600061261582612d33565b61261f8185612d6b565b935061262f818560208601612f0e565b80840191505092915050565b6000612648603283612d5a565b91506126538261312e565b604082019050919050565b600061266b602683612d5a565b91506126768261317d565b604082019050919050565b600061268e601c83612d5a565b9150612699826131cc565b602082019050919050565b60006126b1602483612d5a565b91506126bc826131f5565b604082019050919050565b60006126d4601983612d5a565b91506126df82613244565b602082019050919050565b60006126f7601783612d5a565b91506127028261326d565b602082019050919050565b600061271a602c83612d5a565b915061272582613296565b604082019050919050565b600061273d602583612d5a565b9150612748826132e5565b604082019050919050565b6000612760603883612d5a565b915061276b82613334565b604082019050919050565b6000612783602a83612d5a565b915061278e82613383565b604082019050919050565b60006127a6602983612d5a565b91506127b1826133d2565b604082019050919050565b60006127c9602083612d5a565b91506127d482613421565b602082019050919050565b60006127ec601483612d5a565b91506127f78261344a565b602082019050919050565b600061280f602c83612d5a565b915061281a82613473565b604082019050919050565b6000612832602083612d5a565b915061283d826134c2565b602082019050919050565b6000612855602983612d5a565b9150612860826134eb565b604082019050919050565b6000612878602f83612d5a565b91506128838261353a565b604082019050919050565b600061289b602183612d5a565b91506128a682613589565b604082019050919050565b60006128be600083612d4f565b91506128c9826135d8565b600082019050919050565b60006128e1603183612d5a565b91506128ec826135db565b604082019050919050565b6000612904602183612d5a565b915061290f8261362a565b604082019050919050565b61292381612ef5565b82525050565b6000612935828561260a565b9150612941828461260a565b91508190509392505050565b6000612958826128b1565b9150819050919050565b6000602082019050612977600083018461257a565b92915050565b6000608082019050612992600083018761257a565b61299f602083018661257a565b6129ac604083018561291a565b81810360608301526129be8184612598565b905095945050505050565b60006020820190506129de6000830184612589565b92915050565b600060208201905081810360008301526129fe81846125d1565b905092915050565b60006020820190508181036000830152612a1f8161263b565b9050919050565b60006020820190508181036000830152612a3f8161265e565b9050919050565b60006020820190508181036000830152612a5f81612681565b9050919050565b60006020820190508181036000830152612a7f816126a4565b9050919050565b60006020820190508181036000830152612a9f816126c7565b9050919050565b60006020820190508181036000830152612abf816126ea565b9050919050565b60006020820190508181036000830152612adf8161270d565b9050919050565b60006020820190508181036000830152612aff81612730565b9050919050565b60006020820190508181036000830152612b1f81612753565b9050919050565b60006020820190508181036000830152612b3f81612776565b9050919050565b60006020820190508181036000830152612b5f81612799565b9050919050565b60006020820190508181036000830152612b7f816127bc565b9050919050565b60006020820190508181036000830152612b9f816127df565b9050919050565b60006020820190508181036000830152612bbf81612802565b9050919050565b60006020820190508181036000830152612bdf81612825565b9050919050565b60006020820190508181036000830152612bff81612848565b9050919050565b60006020820190508181036000830152612c1f8161286b565b9050919050565b60006020820190508181036000830152612c3f8161288e565b9050919050565b60006020820190508181036000830152612c5f816128d4565b9050919050565b60006020820190508181036000830152612c7f816128f7565b9050919050565b6000602082019050612c9b600083018461291a565b92915050565b6000612cab612cbc565b9050612cb78282612f73565b919050565b6000604051905090565b600067ffffffffffffffff821115612ce157612ce06130da565b5b612cea8261311d565b9050602081019050919050565b600067ffffffffffffffff821115612d1257612d116130da565b5b612d1b8261311d565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612d8182612ef5565b9150612d8c83612ef5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612dc157612dc061301e565b5b828201905092915050565b6000612dd782612ef5565b9150612de283612ef5565b925082612df257612df161304d565b5b828204905092915050565b6000612e0882612ef5565b9150612e1383612ef5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e4c57612e4b61301e565b5b828202905092915050565b6000612e6282612ef5565b9150612e6d83612ef5565b925082821015612e8057612e7f61301e565b5b828203905092915050565b6000612e9682612ed5565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612f2c578082015181840152602081019050612f11565b83811115612f3b576000848401525b50505050565b60006002820490506001821680612f5957607f821691505b60208210811415612f6d57612f6c61307c565b5b50919050565b612f7c8261311d565b810181811067ffffffffffffffff82111715612f9b57612f9a6130da565b5b80604052505050565b6000612faf82612ef5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612fe257612fe161301e565b5b600182019050919050565b6000612ff882612ef5565b915061300383612ef5565b9250826130135761301261304d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4661696c656420746f2073656e6420746f206f776e6572000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f596f752063616e206d696e74206265747765656e203120616e6420313220617460008201527f206f6e6365000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f496e73756666696369656e74207061796d656e74000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f43616e206e6f74206d696e74206d6f7265207468616e206d617820737570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b61368281612e8b565b811461368d57600080fd5b50565b61369981612e9d565b81146136a457600080fd5b50565b6136b081612ea9565b81146136bb57600080fd5b50565b6136c781612ef5565b81146136d257600080fd5b5056fea26469706673582212207941731cd3c683de796c20c328f6d7369f376cc59e00b0b37e77ec3075bcfaba64736f6c63430008060033
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.