ERC-721
Overview
Max Total Supply
131 CH
Holders
59
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 CHLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CryptoHuman
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-09-05 */ // Sources flattened with hardhat v2.6.2 https://hardhat.org // File @openzeppelin/contracts/utils/introspection/[email protected] // 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); } // File @openzeppelin/contracts/token/ERC721/[email protected] pragma solidity ^0.8.0; /** * @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; } // File @openzeppelin/contracts/token/ERC721/[email protected] 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); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] pragma solidity ^0.8.0; /** * @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); } // File @openzeppelin/contracts/utils/[email protected] 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); } } } } // File @openzeppelin/contracts/utils/[email protected] 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; } } // File @openzeppelin/contracts/utils/[email protected] 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); } } // File @openzeppelin/contracts/utils/introspection/[email protected] pragma solidity ^0.8.0; /** * @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; } } // File @openzeppelin/contracts/token/ERC721/[email protected] pragma solidity ^0.8.0; /** * @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 {} } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/utils/math/[email protected] pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File @openzeppelin/contracts/utils/[email protected] 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; } } // File @openzeppelin/contracts/access/[email protected] pragma solidity ^0.8.0; /** * @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); } } // File contracts/CryptoHuman.sol pragma solidity ^0.8.0; contract CryptoHuman is ERC721, Ownable { uint256 public START_TIMESTAMP = 1630936800; uint256 public MAX_HUMANS = 8000; using SafeMath for uint256; using Counters for Counters.Counter; uint256 public totalSupply; uint256 private RESERVED = 100; uint256 private _reserved; string private __baseURI = "https://www.cryptohuman.co/token/"; constructor() ERC721("Crypto Human", "CH") {} function canMint() public view returns (bool) { return START_TIMESTAMP < block.timestamp && totalSupply.add(RESERVED.sub(_reserved)).add(1) <= MAX_HUMANS ; } function mintHuman() public { require(canMint(), "Minting would exceed max supply of Crypto Humans"); mint(totalSupply + 1); } function reserveHumans() public onlyOwner { require(_reserved.add(25) <= RESERVED, "Reserved amount already minted"); require(totalSupply.add(25) <= MAX_HUMANS, "Minting would exceed max supply of Crypto Humans"); uint256 supply = totalSupply; uint i; for (i = 0; i < 25; i++) { mint(supply + 1); supply = supply + 1; _reserved = _reserved + 1; } } function mint(uint256 tokenId) internal { _safeMint(_msgSender(), tokenId); totalSupply = tokenId; } function _baseURI() internal view override returns (string memory) { return __baseURI; } function setBaseUri(string memory uri) public onlyOwner { __baseURI = uri; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"MAX_HUMANS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"mintHuman","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveHumans","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":"uri","type":"string"}],"name":"setBaseUri","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
6361361ee0600755611f406008556064600a5560e0604052602160808181529062001b6660a03980516200003c91600c9160209091019062000128565b503480156200004a57600080fd5b50604080518082018252600c81526b21b93cb83a3790243ab6b0b760a11b602080830191825283518085019094526002845261086960f31b908401528151919291620000999160009162000128565b508051620000af90600190602084019062000128565b505050620000cc620000c6620000d260201b60201c565b620000d6565b6200020b565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013690620001ce565b90600052602060002090601f0160209004810192826200015a5760008555620001a5565b82601f106200017557805160ff1916838001178555620001a5565b82800160010185558215620001a5579182015b82811115620001a557825182559160200191906001019062000188565b50620001b3929150620001b7565b5090565b5b80821115620001b35760008155600101620001b8565b600181811c90821680620001e357607f821691505b602082108114156200020557634e487b7160e01b600052602260045260246000fd5b50919050565b61194b806200021b6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063781cd99d116100c3578063a22cb4651161007c578063a22cb46514610288578063b88d4fde1461029b578063beb9716d146102ae578063c87b56dd146102b6578063e985e9c5146102c9578063f2fde38b1461030557600080fd5b8063781cd99d146102425780637b1ee8c31461024b5780638bf0a921146102535780638da5cb5b1461025c57806395d89b411461026d578063a0bcfc7f1461027557600080fd5b806320ec885b1161011557806320ec885b146101e657806323b872dd146101ee57806342842e0e146102015780636352211e1461021457806370a0823114610227578063715018a61461023a57600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806318160ddd146101cf575b600080fd5b61016561016036600461157b565b610318565b60405190151581526020015b60405180910390f35b61018261036a565b60405161017191906116a9565b6101a261019d3660046115f9565b6103fc565b6040516001600160a01b039091168152602001610171565b6101cd6101c8366004611552565b610496565b005b6101d860095481565b604051908152602001610171565b6101cd6105ac565b6101cd6101fc366004611464565b6105e9565b6101cd61020f366004611464565b61061a565b6101a26102223660046115f9565b610635565b6101d8610235366004611418565b6106ac565b6101cd610733565b6101d860075481565b6101cd610767565b6101d860085481565b6006546001600160a01b03166101a2565b610182610871565b6101cd6102833660046115b3565b610880565b6101cd610296366004611518565b6108bd565b6101cd6102a936600461149f565b610982565b6101656109ba565b6101826102c43660046115f9565b610a01565b6101656102d7366004611432565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101cd610313366004611418565b610adc565b60006001600160e01b031982166380ac58cd60e01b148061034957506001600160e01b03198216635b5e139f60e01b145b8061036457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461037990611853565b80601f01602080910402602001604051908101604052809291908181526020018280546103a590611853565b80156103f25780601f106103c7576101008083540402835291602001916103f2565b820191906000526020600020905b8154815290600101906020018083116103d557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661047a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104a182610635565b9050806001600160a01b0316836001600160a01b0316141561050f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610471565b336001600160a01b038216148061052b575061052b81336102d7565b61059d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610471565b6105a78383610b77565b505050565b6105b46109ba565b6105d05760405162461bcd60e51b81526004016104719061170e565b6105e760095460016105e291906117e4565b610be5565b565b6105f33382610bf4565b61060f5760405162461bcd60e51b815260040161047190611793565b6105a7838383610ceb565b6105a783838360405180602001604052806000815250610982565b6000818152600260205260408120546001600160a01b0316806103645760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610471565b60006001600160a01b0382166107175760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610471565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461075d5760405162461bcd60e51b81526004016104719061175e565b6105e76000610e8b565b6006546001600160a01b031633146107915760405162461bcd60e51b81526004016104719061175e565b600a54600b546107a2906019610edd565b11156107f05760405162461bcd60e51b815260206004820152601e60248201527f526573657276656420616d6f756e7420616c7265616479206d696e74656400006044820152606401610471565b600854600954610801906019610edd565b111561081f5760405162461bcd60e51b81526004016104719061170e565b60095460005b601981101561086d5761083c6105e28360016117e4565b6108478260016117e4565b9150600b54600161085891906117e4565b600b55806108658161188e565b915050610825565b5050565b60606001805461037990611853565b6006546001600160a01b031633146108aa5760405162461bcd60e51b81526004016104719061175e565b805161086d90600c9060208401906112ed565b6001600160a01b0382163314156109165760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610471565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61098c3383610bf4565b6109a85760405162461bcd60e51b815260040161047190611793565b6109b484848484610ee9565b50505050565b6000426007541080156109fc57506008546109f960016109f36109ea600b54600a54610f1c90919063ffffffff16565b60095490610edd565b90610edd565b11155b905090565b6000818152600260205260409020546060906001600160a01b0316610a805760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610471565b6000610a8a610f28565b90506000815111610aaa5760405180602001604052806000815250610ad5565b80610ab484610f37565b604051602001610ac592919061163d565b6040516020818303038152906040525b9392505050565b6006546001600160a01b03163314610b065760405162461bcd60e51b81526004016104719061175e565b6001600160a01b038116610b6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610471565b610b7481610e8b565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bac82610635565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610bef3382611051565b600955565b6000818152600260205260408120546001600160a01b0316610c6d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610471565b6000610c7883610635565b9050806001600160a01b0316846001600160a01b03161480610cb35750836001600160a01b0316610ca8846103fc565b6001600160a01b0316145b80610ce357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610cfe82610635565b6001600160a01b031614610d665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610471565b6001600160a01b038216610dc85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610471565b610dd3600082610b77565b6001600160a01b0383166000908152600360205260408120805460019290610dfc908490611810565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e2a9084906117e4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610ad582846117e4565b610ef4848484610ceb565b610f008484848461106b565b6109b45760405162461bcd60e51b8152600401610471906116bc565b6000610ad58284611810565b6060600c805461037990611853565b606081610f5b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610f855780610f6f8161188e565b9150610f7e9050600a836117fc565b9150610f5f565b60008167ffffffffffffffff811115610fae57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610fd8576020820181803683370190505b5090505b8415610ce357610fed600183611810565b9150610ffa600a866118a9565b6110059060306117e4565b60f81b81838151811061102857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061104a600a866117fc565b9450610fdc565b61086d828260405180602001604052806000815250611178565b60006001600160a01b0384163b1561116d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110af90339089908890889060040161166c565b602060405180830381600087803b1580156110c957600080fd5b505af19250505080156110f9575060408051601f3d908101601f191682019092526110f691810190611597565b60015b611153573d808015611127576040519150601f19603f3d011682016040523d82523d6000602084013e61112c565b606091505b50805161114b5760405162461bcd60e51b8152600401610471906116bc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ce3565b506001949350505050565b61118283836111ab565b61118f600084848461106b565b6105a75760405162461bcd60e51b8152600401610471906116bc565b6001600160a01b0382166112015760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610471565b6000818152600260205260409020546001600160a01b0316156112665760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610471565b6001600160a01b038216600090815260036020526040812080546001929061128f9084906117e4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546112f990611853565b90600052602060002090601f01602090048101928261131b5760008555611361565b82601f1061133457805160ff1916838001178555611361565b82800160010185558215611361579182015b82811115611361578251825591602001919060010190611346565b5061136d929150611371565b5090565b5b8082111561136d5760008155600101611372565b600067ffffffffffffffff808411156113a1576113a16118e9565b604051601f8501601f19908116603f011681019082821181831017156113c9576113c96118e9565b816040528093508581528686860111156113e257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461141357600080fd5b919050565b600060208284031215611429578081fd5b610ad5826113fc565b60008060408385031215611444578081fd5b61144d836113fc565b915061145b602084016113fc565b90509250929050565b600080600060608486031215611478578081fd5b611481846113fc565b925061148f602085016113fc565b9150604084013590509250925092565b600080600080608085870312156114b4578081fd5b6114bd856113fc565b93506114cb602086016113fc565b925060408501359150606085013567ffffffffffffffff8111156114ed578182fd5b8501601f810187136114fd578182fd5b61150c87823560208401611386565b91505092959194509250565b6000806040838503121561152a578182fd5b611533836113fc565b915060208301358015158114611547578182fd5b809150509250929050565b60008060408385031215611564578182fd5b61156d836113fc565b946020939093013593505050565b60006020828403121561158c578081fd5b8135610ad5816118ff565b6000602082840312156115a8578081fd5b8151610ad5816118ff565b6000602082840312156115c4578081fd5b813567ffffffffffffffff8111156115da578182fd5b8201601f810184136115ea578182fd5b610ce384823560208401611386565b60006020828403121561160a578081fd5b5035919050565b60008151808452611629816020860160208601611827565b601f01601f19169290920160200192915050565b6000835161164f818460208801611827565b835190830190611663818360208801611827565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061169f90830184611611565b9695505050505050565b602081526000610ad56020830184611611565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526030908201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c792060408201526f6f662043727970746f2048756d616e7360801b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156117f7576117f76118bd565b500190565b60008261180b5761180b6118d3565b500490565b600082821015611822576118226118bd565b500390565b60005b8381101561184257818101518382015260200161182a565b838111156109b45750506000910152565b600181811c9082168061186757607f821691505b6020821081141561188857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118a2576118a26118bd565b5060010190565b6000826118b8576118b86118d3565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b7457600080fdfea26469706673582212202d0cc18709b2c2a2169b9d9714f3da0c998576a62e7d6c6db925bec61a11172064736f6c6343000804003368747470733a2f2f7777772e63727970746f68756d616e2e636f2f746f6b656e2f
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063781cd99d116100c3578063a22cb4651161007c578063a22cb46514610288578063b88d4fde1461029b578063beb9716d146102ae578063c87b56dd146102b6578063e985e9c5146102c9578063f2fde38b1461030557600080fd5b8063781cd99d146102425780637b1ee8c31461024b5780638bf0a921146102535780638da5cb5b1461025c57806395d89b411461026d578063a0bcfc7f1461027557600080fd5b806320ec885b1161011557806320ec885b146101e657806323b872dd146101ee57806342842e0e146102015780636352211e1461021457806370a0823114610227578063715018a61461023a57600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806318160ddd146101cf575b600080fd5b61016561016036600461157b565b610318565b60405190151581526020015b60405180910390f35b61018261036a565b60405161017191906116a9565b6101a261019d3660046115f9565b6103fc565b6040516001600160a01b039091168152602001610171565b6101cd6101c8366004611552565b610496565b005b6101d860095481565b604051908152602001610171565b6101cd6105ac565b6101cd6101fc366004611464565b6105e9565b6101cd61020f366004611464565b61061a565b6101a26102223660046115f9565b610635565b6101d8610235366004611418565b6106ac565b6101cd610733565b6101d860075481565b6101cd610767565b6101d860085481565b6006546001600160a01b03166101a2565b610182610871565b6101cd6102833660046115b3565b610880565b6101cd610296366004611518565b6108bd565b6101cd6102a936600461149f565b610982565b6101656109ba565b6101826102c43660046115f9565b610a01565b6101656102d7366004611432565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101cd610313366004611418565b610adc565b60006001600160e01b031982166380ac58cd60e01b148061034957506001600160e01b03198216635b5e139f60e01b145b8061036457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461037990611853565b80601f01602080910402602001604051908101604052809291908181526020018280546103a590611853565b80156103f25780601f106103c7576101008083540402835291602001916103f2565b820191906000526020600020905b8154815290600101906020018083116103d557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661047a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104a182610635565b9050806001600160a01b0316836001600160a01b0316141561050f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610471565b336001600160a01b038216148061052b575061052b81336102d7565b61059d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610471565b6105a78383610b77565b505050565b6105b46109ba565b6105d05760405162461bcd60e51b81526004016104719061170e565b6105e760095460016105e291906117e4565b610be5565b565b6105f33382610bf4565b61060f5760405162461bcd60e51b815260040161047190611793565b6105a7838383610ceb565b6105a783838360405180602001604052806000815250610982565b6000818152600260205260408120546001600160a01b0316806103645760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610471565b60006001600160a01b0382166107175760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610471565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461075d5760405162461bcd60e51b81526004016104719061175e565b6105e76000610e8b565b6006546001600160a01b031633146107915760405162461bcd60e51b81526004016104719061175e565b600a54600b546107a2906019610edd565b11156107f05760405162461bcd60e51b815260206004820152601e60248201527f526573657276656420616d6f756e7420616c7265616479206d696e74656400006044820152606401610471565b600854600954610801906019610edd565b111561081f5760405162461bcd60e51b81526004016104719061170e565b60095460005b601981101561086d5761083c6105e28360016117e4565b6108478260016117e4565b9150600b54600161085891906117e4565b600b55806108658161188e565b915050610825565b5050565b60606001805461037990611853565b6006546001600160a01b031633146108aa5760405162461bcd60e51b81526004016104719061175e565b805161086d90600c9060208401906112ed565b6001600160a01b0382163314156109165760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610471565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61098c3383610bf4565b6109a85760405162461bcd60e51b815260040161047190611793565b6109b484848484610ee9565b50505050565b6000426007541080156109fc57506008546109f960016109f36109ea600b54600a54610f1c90919063ffffffff16565b60095490610edd565b90610edd565b11155b905090565b6000818152600260205260409020546060906001600160a01b0316610a805760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610471565b6000610a8a610f28565b90506000815111610aaa5760405180602001604052806000815250610ad5565b80610ab484610f37565b604051602001610ac592919061163d565b6040516020818303038152906040525b9392505050565b6006546001600160a01b03163314610b065760405162461bcd60e51b81526004016104719061175e565b6001600160a01b038116610b6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610471565b610b7481610e8b565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bac82610635565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610bef3382611051565b600955565b6000818152600260205260408120546001600160a01b0316610c6d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610471565b6000610c7883610635565b9050806001600160a01b0316846001600160a01b03161480610cb35750836001600160a01b0316610ca8846103fc565b6001600160a01b0316145b80610ce357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610cfe82610635565b6001600160a01b031614610d665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610471565b6001600160a01b038216610dc85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610471565b610dd3600082610b77565b6001600160a01b0383166000908152600360205260408120805460019290610dfc908490611810565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e2a9084906117e4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610ad582846117e4565b610ef4848484610ceb565b610f008484848461106b565b6109b45760405162461bcd60e51b8152600401610471906116bc565b6000610ad58284611810565b6060600c805461037990611853565b606081610f5b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610f855780610f6f8161188e565b9150610f7e9050600a836117fc565b9150610f5f565b60008167ffffffffffffffff811115610fae57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015610fd8576020820181803683370190505b5090505b8415610ce357610fed600183611810565b9150610ffa600a866118a9565b6110059060306117e4565b60f81b81838151811061102857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061104a600a866117fc565b9450610fdc565b61086d828260405180602001604052806000815250611178565b60006001600160a01b0384163b1561116d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110af90339089908890889060040161166c565b602060405180830381600087803b1580156110c957600080fd5b505af19250505080156110f9575060408051601f3d908101601f191682019092526110f691810190611597565b60015b611153573d808015611127576040519150601f19603f3d011682016040523d82523d6000602084013e61112c565b606091505b50805161114b5760405162461bcd60e51b8152600401610471906116bc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ce3565b506001949350505050565b61118283836111ab565b61118f600084848461106b565b6105a75760405162461bcd60e51b8152600401610471906116bc565b6001600160a01b0382166112015760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610471565b6000818152600260205260409020546001600160a01b0316156112665760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610471565b6001600160a01b038216600090815260036020526040812080546001929061128f9084906117e4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546112f990611853565b90600052602060002090601f01602090048101928261131b5760008555611361565b82601f1061133457805160ff1916838001178555611361565b82800160010185558215611361579182015b82811115611361578251825591602001919060010190611346565b5061136d929150611371565b5090565b5b8082111561136d5760008155600101611372565b600067ffffffffffffffff808411156113a1576113a16118e9565b604051601f8501601f19908116603f011681019082821181831017156113c9576113c96118e9565b816040528093508581528686860111156113e257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461141357600080fd5b919050565b600060208284031215611429578081fd5b610ad5826113fc565b60008060408385031215611444578081fd5b61144d836113fc565b915061145b602084016113fc565b90509250929050565b600080600060608486031215611478578081fd5b611481846113fc565b925061148f602085016113fc565b9150604084013590509250925092565b600080600080608085870312156114b4578081fd5b6114bd856113fc565b93506114cb602086016113fc565b925060408501359150606085013567ffffffffffffffff8111156114ed578182fd5b8501601f810187136114fd578182fd5b61150c87823560208401611386565b91505092959194509250565b6000806040838503121561152a578182fd5b611533836113fc565b915060208301358015158114611547578182fd5b809150509250929050565b60008060408385031215611564578182fd5b61156d836113fc565b946020939093013593505050565b60006020828403121561158c578081fd5b8135610ad5816118ff565b6000602082840312156115a8578081fd5b8151610ad5816118ff565b6000602082840312156115c4578081fd5b813567ffffffffffffffff8111156115da578182fd5b8201601f810184136115ea578182fd5b610ce384823560208401611386565b60006020828403121561160a578081fd5b5035919050565b60008151808452611629816020860160208601611827565b601f01601f19169290920160200192915050565b6000835161164f818460208801611827565b835190830190611663818360208801611827565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061169f90830184611611565b9695505050505050565b602081526000610ad56020830184611611565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526030908201527f4d696e74696e6720776f756c6420657863656564206d617820737570706c792060408201526f6f662043727970746f2048756d616e7360801b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156117f7576117f76118bd565b500190565b60008261180b5761180b6118d3565b500490565b600082821015611822576118226118bd565b500390565b60005b8381101561184257818101518382015260200161182a565b838111156109b45750506000910152565b600181811c9082168061186757607f821691505b6020821081141561188857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118a2576118a26118bd565b5060010190565b6000826118b8576118b86118d3565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b7457600080fdfea26469706673582212202d0cc18709b2c2a2169b9d9714f3da0c998576a62e7d6c6db925bec61a11172064736f6c63430008040033
Deployed Bytecode Sourcemap
44615:1571:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20770:305;;;;;;:::i;:::-;;:::i;:::-;;;5796:14:1;;5789:22;5771:41;;5759:2;5744:18;20770:305:0;;;;;;;;21715:100;;;:::i;:::-;;;;;;;:::i;23274:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5094:32:1;;;5076:51;;5064:2;5049:18;23274:221:0;5031:102:1;22797:411:0;;;;;;:::i;:::-;;:::i;:::-;;44832:26;;;;;;;;;13351:25:1;;;13339:2;13324:18;44832:26:0;13306:76:1;45241:149:0;;;:::i;24164:339::-;;;;;;:::i;:::-;;:::i;24574:185::-;;;;;;:::i;:::-;;:::i;21409:239::-;;;;;;:::i;:::-;;:::i;21139:208::-;;;;;;:::i;:::-;;:::i;43912:94::-;;;:::i;44664:43::-;;;;;;45398:446;;;:::i;44714:32::-;;;;;;43261:87;43334:6;;-1:-1:-1;;;;;43334:6:0;43261:87;;21884:104;;;:::i;46093:90::-;;;;;;:::i;:::-;;:::i;23567:295::-;;;;;;:::i;:::-;;:::i;24830:328::-;;;;;;:::i;:::-;;:::i;45062:171::-;;;:::i;22059:334::-;;;;;;:::i;:::-;;:::i;23933:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;24054:25:0;;;24030:4;24054:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23933:164;44161:192;;;;;;:::i;:::-;;:::i;20770:305::-;20872:4;-1:-1:-1;;;;;;20909:40:0;;-1:-1:-1;;;20909:40:0;;:105;;-1:-1:-1;;;;;;;20966:48:0;;-1:-1:-1;;;20966:48:0;20909:105;:158;;;-1:-1:-1;;;;;;;;;;19381:40:0;;;21031:36;20889:178;20770:305;-1:-1:-1;;20770:305:0:o;21715:100::-;21769:13;21802:5;21795:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21715:100;:::o;23274:221::-;23350:7;26757:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26757:16:0;23370:73;;;;-1:-1:-1;;;23370:73:0;;10628:2:1;23370:73:0;;;10610:21:1;10667:2;10647:18;;;10640:30;10706:34;10686:18;;;10679:62;-1:-1:-1;;;10757:18:1;;;10750:42;10809:19;;23370:73:0;;;;;;;;;-1:-1:-1;23463:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23463:24:0;;23274:221::o;22797:411::-;22878:13;22894:23;22909:7;22894:14;:23::i;:::-;22878:39;;22942:5;-1:-1:-1;;;;;22936:11:0;:2;-1:-1:-1;;;;;22936:11:0;;;22928:57;;;;-1:-1:-1;;;22928:57:0;;12587:2:1;22928:57:0;;;12569:21:1;12626:2;12606:18;;;12599:30;12665:34;12645:18;;;12638:62;-1:-1:-1;;;12716:18:1;;;12709:31;12757:19;;22928:57:0;12559:223:1;22928:57:0;16264:10;-1:-1:-1;;;;;23020:21:0;;;;:62;;-1:-1:-1;23045:37:0;23062:5;16264:10;23933:164;:::i;23045:37::-;22998:168;;;;-1:-1:-1;;;22998:168:0;;8604:2:1;22998:168:0;;;8586:21:1;8643:2;8623:18;;;8616:30;8682:34;8662:18;;;8655:62;8753:26;8733:18;;;8726:54;8797:19;;22998:168:0;8576:246:1;22998:168:0;23179:21;23188:2;23192:7;23179:8;:21::i;:::-;22797:411;;;:::o;45241:149::-;45288:9;:7;:9::i;:::-;45280:70;;;;-1:-1:-1;;;45280:70:0;;;;;;;:::i;:::-;45361:21;45366:11;;45380:1;45366:15;;;;:::i;:::-;45361:4;:21::i;:::-;45241:149::o;24164:339::-;24359:41;16264:10;24392:7;24359:18;:41::i;:::-;24351:103;;;;-1:-1:-1;;;24351:103:0;;;;;;;:::i;:::-;24467:28;24477:4;24483:2;24487:7;24467:9;:28::i;24574:185::-;24712:39;24729:4;24735:2;24739:7;24712:39;;;;;;;;;;;;:16;:39::i;21409:239::-;21481:7;21517:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21517:16:0;21552:19;21544:73;;;;-1:-1:-1;;;21544:73:0;;9440:2:1;21544:73:0;;;9422:21:1;9479:2;9459:18;;;9452:30;9518:34;9498:18;;;9491:62;-1:-1:-1;;;9569:18:1;;;9562:39;9618:19;;21544:73:0;9412:231:1;21139:208:0;21211:7;-1:-1:-1;;;;;21239:19:0;;21231:74;;;;-1:-1:-1;;;21231:74:0;;9029:2:1;21231:74:0;;;9011:21:1;9068:2;9048:18;;;9041:30;9107:34;9087:18;;;9080:62;-1:-1:-1;;;9158:18:1;;;9151:40;9208:19;;21231:74:0;9001:232:1;21231:74:0;-1:-1:-1;;;;;;21323:16:0;;;;;:9;:16;;;;;;;21139:208::o;43912:94::-;43334:6;;-1:-1:-1;;;;;43334:6:0;16264:10;43481:23;43473:68;;;;-1:-1:-1;;;43473:68:0;;;;;;;:::i;:::-;43977:21:::1;43995:1;43977:9;:21::i;45398:446::-:0;43334:6;;-1:-1:-1;;;;;43334:6:0;16264:10;43481:23;43473:68;;;;-1:-1:-1;;;43473:68:0;;;;;;;:::i;:::-;45480:8:::1;::::0;45459:9:::1;::::0;:17:::1;::::0;45473:2:::1;45459:13;:17::i;:::-;:29;;45451:72;;;::::0;-1:-1:-1;;;45451:72:0;;12228:2:1;45451:72:0::1;::::0;::::1;12210:21:1::0;12267:2;12247:18;;;12240:30;12306:32;12286:18;;;12279:60;12356:18;;45451:72:0::1;12200:180:1::0;45451:72:0::1;45565:10;::::0;45542:11:::1;::::0;:19:::1;::::0;45558:2:::1;45542:15;:19::i;:::-;:33;;45534:94;;;;-1:-1:-1::0;;;45534:94:0::1;;;;;;;:::i;:::-;45656:11;::::0;45639:14:::1;45695:142;45711:2;45707:1;:6;45695:142;;;45735:16;45740:10;:6:::0;45749:1:::1;45740:10;:::i;45735:16::-;45775:10;:6:::0;45784:1:::1;45775:10;:::i;:::-;45766:19;;45812:9;;45824:1;45812:13;;;;:::i;:::-;45800:9;:25:::0;45715:3;::::1;::::0;::::1;:::i;:::-;;;;45695:142;;;43552:1;;45398:446::o:0;21884:104::-;21940:13;21973:7;21966:14;;;;;:::i;46093:90::-;43334:6;;-1:-1:-1;;;;;43334:6:0;16264:10;43481:23;43473:68;;;;-1:-1:-1;;;43473:68:0;;;;;;;:::i;:::-;46160:15;;::::1;::::0;:9:::1;::::0;:15:::1;::::0;::::1;::::0;::::1;:::i;23567:295::-:0;-1:-1:-1;;;;;23670:24:0;;16264:10;23670:24;;23662:62;;;;-1:-1:-1;;;23662:62:0;;7837:2:1;23662:62:0;;;7819:21:1;7876:2;7856:18;;;7849:30;7915:27;7895:18;;;7888:55;7960:18;;23662:62:0;7809:175:1;23662:62:0;16264:10;23737:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23737:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23737:53:0;;;;;;;;;;23806:48;;5771:41:1;;;23737:42:0;;16264:10;23806:48;;5744:18:1;23806:48:0;;;;;;;23567:295;;:::o;24830:328::-;25005:41;16264:10;25038:7;25005:18;:41::i;:::-;24997:103;;;;-1:-1:-1;;;24997:103:0;;;;;;;:::i;:::-;25111:39;25125:4;25131:2;25135:7;25144:5;25111:13;:39::i;:::-;24830:328;;;;:::o;45062:171::-;45102:4;45144:15;45126;;:33;:98;;;;;45214:10;;45163:47;45208:1;45163:40;45179:23;45192:9;;45179:8;;:12;;:23;;;;:::i;:::-;45163:11;;;:15;:40::i;:::-;:44;;:47::i;:::-;:61;;45126:98;45119:105;;45062:171;:::o;22059:334::-;26733:4;26757:16;;;:7;:16;;;;;;22132:13;;-1:-1:-1;;;;;26757:16:0;22158:76;;;;-1:-1:-1;;;22158:76:0;;11812:2:1;22158:76:0;;;11794:21:1;11851:2;11831:18;;;11824:30;11890:34;11870:18;;;11863:62;-1:-1:-1;;;11941:18:1;;;11934:45;11996:19;;22158:76:0;11784:237:1;22158:76:0;22247:21;22271:10;:8;:10::i;:::-;22247:34;;22323:1;22305:7;22299:21;:25;:86;;;;;;;;;;;;;;;;;22351:7;22360:18;:7;:16;:18::i;:::-;22334:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22299:86;22292:93;22059:334;-1:-1:-1;;;22059:334:0:o;44161:192::-;43334:6;;-1:-1:-1;;;;;43334:6:0;16264:10;43481:23;43473:68;;;;-1:-1:-1;;;43473:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;44250:22:0;::::1;44242:73;;;::::0;-1:-1:-1;;;44242:73:0;;6668:2:1;44242:73:0::1;::::0;::::1;6650:21:1::0;6707:2;6687:18;;;6680:30;6746:34;6726:18;;;6719:62;-1:-1:-1;;;6797:18:1;;;6790:36;6843:19;;44242:73:0::1;6640:228:1::0;44242:73:0::1;44326:19;44336:8;44326:9;:19::i;:::-;44161:192:::0;:::o;30650:174::-;30725:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30725:29:0;-1:-1:-1;;;;;30725:29:0;;;;;;;;:24;;30779:23;30725:24;30779:14;:23::i;:::-;-1:-1:-1;;;;;30770:46:0;;;;;;;;;;;30650:174;;:::o;45852:123::-;45903:32;16264:10;45927:7;45903:9;:32::i;:::-;45946:11;:21;45852:123::o;26962:348::-;27055:4;26757:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26757:16:0;27072:73;;;;-1:-1:-1;;;27072:73:0;;8191:2:1;27072:73:0;;;8173:21:1;8230:2;8210:18;;;8203:30;8269:34;8249:18;;;8242:62;-1:-1:-1;;;8320:18:1;;;8313:42;8372:19;;27072:73:0;8163:234:1;27072:73:0;27156:13;27172:23;27187:7;27172:14;:23::i;:::-;27156:39;;27225:5;-1:-1:-1;;;;;27214:16:0;:7;-1:-1:-1;;;;;27214:16:0;;:51;;;;27258:7;-1:-1:-1;;;;;27234:31:0;:20;27246:7;27234:11;:20::i;:::-;-1:-1:-1;;;;;27234:31:0;;27214:51;:87;;;-1:-1:-1;;;;;;24054:25:0;;;24030:4;24054:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27269:32;27206:96;26962:348;-1:-1:-1;;;;26962:348:0:o;29954:578::-;30113:4;-1:-1:-1;;;;;30086:31:0;:23;30101:7;30086:14;:23::i;:::-;-1:-1:-1;;;;;30086:31:0;;30078:85;;;;-1:-1:-1;;;30078:85:0;;11402:2:1;30078:85:0;;;11384:21:1;11441:2;11421:18;;;11414:30;11480:34;11460:18;;;11453:62;-1:-1:-1;;;11531:18:1;;;11524:39;11580:19;;30078:85:0;11374:231:1;30078:85:0;-1:-1:-1;;;;;30182:16:0;;30174:65;;;;-1:-1:-1;;;30174:65:0;;7432:2:1;30174:65:0;;;7414:21:1;7471:2;7451:18;;;7444:30;7510:34;7490:18;;;7483:62;-1:-1:-1;;;7561:18:1;;;7554:34;7605:19;;30174:65:0;7404:226:1;30174:65:0;30356:29;30373:1;30377:7;30356:8;:29::i;:::-;-1:-1:-1;;;;;30398:15:0;;;;;;:9;:15;;;;;:20;;30417:1;;30398:15;:20;;30417:1;;30398:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30429:13:0;;;;;;:9;:13;;;;;:18;;30446:1;;30429:13;:18;;30446:1;;30429:18;:::i;:::-;;;;-1:-1:-1;;30458:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30458:21:0;-1:-1:-1;;;;;30458:21:0;;;;;;;;;30497:27;;30458:16;;30497:27;;;;;;;29954:578;;;:::o;44361:173::-;44436:6;;;-1:-1:-1;;;;;44453:17:0;;;-1:-1:-1;;;;;;44453:17:0;;;;;;;44486:40;;44436:6;;;44453:17;44436:6;;44486:40;;44417:16;;44486:40;44361:173;;:::o;36682:98::-;36740:7;36767:5;36771:1;36767;:5;:::i;26040:315::-;26197:28;26207:4;26213:2;26217:7;26197:9;:28::i;:::-;26244:48;26267:4;26273:2;26277:7;26286:5;26244:22;:48::i;:::-;26236:111;;;;-1:-1:-1;;;26236:111:0;;;;;;;:::i;37063:98::-;37121:7;37148:5;37152:1;37148;:5;:::i;45983:102::-;46035:13;46068:9;46061:16;;;;;:::i;16713:723::-;16769:13;16990:10;16986:53;;-1:-1:-1;;17017:10:0;;;;;;;;;;;;-1:-1:-1;;;17017:10:0;;;;;16713:723::o;16986:53::-;17064:5;17049:12;17105:78;17112:9;;17105:78;;17138:8;;;;:::i;:::-;;-1:-1:-1;17161:10:0;;-1:-1:-1;17169:2:0;17161:10;;:::i;:::-;;;17105:78;;;17193:19;17225:6;17215:17;;;;;;-1:-1:-1;;;17215:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17215:17:0;;17193:39;;17243:154;17250:10;;17243:154;;17277:11;17287:1;17277:11;;:::i;:::-;;-1:-1:-1;17346:10:0;17354:2;17346:5;:10;:::i;:::-;17333:24;;:2;:24;:::i;:::-;17320:39;;17303:6;17310;17303:14;;;;;;-1:-1:-1;;;17303:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;17303:56:0;;;;;;;;-1:-1:-1;17374:11:0;17383:2;17374:11;;:::i;:::-;;;17243:154;;27652:110;27728:26;27738:2;27742:7;27728:26;;;;;;;;;;;;:9;:26::i;31389:799::-;31544:4;-1:-1:-1;;;;;31565:13:0;;8547:20;8595:8;31561:620;;31601:72;;-1:-1:-1;;;31601:72:0;;-1:-1:-1;;;;;31601:36:0;;;;;:72;;16264:10;;31652:4;;31658:7;;31667:5;;31601:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31601:72:0;;;;;;;;-1:-1:-1;;31601:72:0;;;;;;;;;;;;:::i;:::-;;;31597:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31843:13:0;;31839:272;;31886:60;;-1:-1:-1;;;31886:60:0;;;;;;;:::i;31839:272::-;32061:6;32055:13;32046:6;32042:2;32038:15;32031:38;31597:529;-1:-1:-1;;;;;;31724:51:0;-1:-1:-1;;;31724:51:0;;-1:-1:-1;31717:58:0;;31561:620;-1:-1:-1;32165:4:0;31389:799;;;;;;:::o;27989:321::-;28119:18;28125:2;28129:7;28119:5;:18::i;:::-;28170:54;28201:1;28205:2;28209:7;28218:5;28170:22;:54::i;:::-;28148:154;;;;-1:-1:-1;;;28148:154:0;;;;;;;:::i;28646:382::-;-1:-1:-1;;;;;28726:16:0;;28718:61;;;;-1:-1:-1;;;28718:61:0;;9850:2:1;28718:61:0;;;9832:21:1;;;9869:18;;;9862:30;9928:34;9908:18;;;9901:62;9980:18;;28718:61:0;9822:182:1;28718:61:0;26733:4;26757:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26757:16:0;:30;28790:58;;;;-1:-1:-1;;;28790:58:0;;7075:2:1;28790:58:0;;;7057:21:1;7114:2;7094:18;;;7087:30;7153;7133:18;;;7126:58;7201:18;;28790:58:0;7047:178:1;28790:58:0;-1:-1:-1;;;;;28919:13:0;;;;;;:9;:13;;;;;:18;;28936:1;;28919:13;:18;;28936:1;;28919:18;:::i;:::-;;;;-1:-1:-1;;28948:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28948:21:0;-1:-1:-1;;;;;28948:21:0;;;;;;;;28987:33;;28948:16;;;28987:33;;28948:16;;28987:33;28646:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:196::-;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;3582:6;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;4057:6;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:257::-;4234:3;4272:5;4266:12;4299:6;4294:3;4287:19;4315:63;4371:6;4364:4;4359:3;4355:14;4348:4;4341:5;4337:16;4315:63;:::i;:::-;4432:2;4411:15;-1:-1:-1;;4407:29:1;4398:39;;;;4439:4;4394:50;;4242:208;-1:-1:-1;;4242:208:1:o;4455:470::-;4634:3;4672:6;4666:13;4688:53;4734:6;4729:3;4722:4;4714:6;4710:17;4688:53;:::i;:::-;4804:13;;4763:16;;;;4826:57;4804:13;4763:16;4860:4;4848:17;;4826:57;:::i;:::-;4899:20;;4642:283;-1:-1:-1;;;;4642:283:1:o;5138:488::-;-1:-1:-1;;;;;5407:15:1;;;5389:34;;5459:15;;5454:2;5439:18;;5432:43;5506:2;5491:18;;5484:34;;;5554:3;5549:2;5534:18;;5527:31;;;5332:4;;5575:45;;5600:19;;5592:6;5575:45;:::i;:::-;5567:53;5341:285;-1:-1:-1;;;;;;5341:285:1:o;5823:219::-;5972:2;5961:9;5954:21;5935:4;5992:44;6032:2;6021:9;6017:18;6009:6;5992:44;:::i;6047:414::-;6249:2;6231:21;;;6288:2;6268:18;;;6261:30;6327:34;6322:2;6307:18;;6300:62;-1:-1:-1;;;6393:2:1;6378:18;;6371:48;6451:3;6436:19;;6221:240::o;10009:412::-;10211:2;10193:21;;;10250:2;10230:18;;;10223:30;10289:34;10284:2;10269:18;;10262:62;-1:-1:-1;;;10355:2:1;10340:18;;10333:46;10411:3;10396:19;;10183:238::o;10839:356::-;11041:2;11023:21;;;11060:18;;;11053:30;11119:34;11114:2;11099:18;;11092:62;11186:2;11171:18;;11013:182::o;12787:413::-;12989:2;12971:21;;;13028:2;13008:18;;;13001:30;13067:34;13062:2;13047:18;;13040:62;-1:-1:-1;;;13133:2:1;13118:18;;13111:47;13190:3;13175:19;;12961:239::o;13387:128::-;13427:3;13458:1;13454:6;13451:1;13448:13;13445:2;;;13464:18;;:::i;:::-;-1:-1:-1;13500:9:1;;13435:80::o;13520:120::-;13560:1;13586;13576:2;;13591:18;;:::i;:::-;-1:-1:-1;13625:9:1;;13566:74::o;13645:125::-;13685:4;13713:1;13710;13707:8;13704:2;;;13718:18;;:::i;:::-;-1:-1:-1;13755:9:1;;13694:76::o;13775:258::-;13847:1;13857:113;13871:6;13868:1;13865:13;13857:113;;;13947:11;;;13941:18;13928:11;;;13921:39;13893:2;13886:10;13857:113;;;13988:6;13985:1;13982:13;13979:2;;;-1:-1:-1;;14023:1:1;14005:16;;13998:27;13828:205::o;14038:380::-;14117:1;14113:12;;;;14160;;;14181:2;;14235:4;14227:6;14223:17;14213:27;;14181:2;14288;14280:6;14277:14;14257:18;14254:38;14251:2;;;14334:10;14329:3;14325:20;14322:1;14315:31;14369:4;14366:1;14359:15;14397:4;14394:1;14387:15;14251:2;;14093:325;;;:::o;14423:135::-;14462:3;-1:-1:-1;;14483:17:1;;14480:2;;;14503:18;;:::i;:::-;-1:-1:-1;14550:1:1;14539:13;;14470:88::o;14563:112::-;14595:1;14621;14611:2;;14626:18;;:::i;:::-;-1:-1:-1;14660:9:1;;14601:74::o;14680:127::-;14741:10;14736:3;14732:20;14729:1;14722:31;14772:4;14769:1;14762:15;14796:4;14793:1;14786:15;14812:127;14873:10;14868:3;14864:20;14861:1;14854:31;14904:4;14901:1;14894:15;14928:4;14925:1;14918:15;14944:127;15005:10;15000:3;14996:20;14993:1;14986:31;15036:4;15033:1;15026:15;15060:4;15057:1;15050:15;15076:131;-1:-1:-1;;;;;;15150:32:1;;15140:43;;15130:2;;15197:1;15194;15187:12
Swarm Source
ipfs://2d0cc18709b2c2a2169b9d9714f3da0c998576a62e7d6c6db925bec61a111720
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.