Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,624 PXL
Holders
420
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 PXLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PixelTurtles
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-09-04 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // 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/IERC721.sol 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/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol 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/Address.sol 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/Context.sol pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/Strings.sol 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/ERC165.sol 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/ERC721.sol 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/IERC721Enumerable.sol 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/token/ERC721/extensions/ERC721Enumerable.sol pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: @openzeppelin/contracts/access/Ownable.sol 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: PixelTurtles.sol pragma solidity ^0.8.0; contract PixelTurtles is Ownable, ERC721Enumerable { bool public saleIsActive = false; uint256 public constant maxTurtlePurchase = 20; uint256 public constant MAX_TURTLES = 10000; uint256 public turtleReserve = 100; string public BASE_URI = "https://pixelturtles.io/api/"; constructor() ERC721("PixelTurtles", "PXL") {} function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function calculatePriceForToken(uint _id) public pure returns (uint256) { if (_id >= 5000) { return 50000000000000000; // 5000-10000: 0.05 ETH } else if (_id >= 1000) { return 40000000000000000; // 1000-5000: 0.04 ETH } else if (_id >= 100) { return 30000000000000000; // 100-1000: 0.03 ETH } else { return 20000000000000000; // 0 - 200 0.02 ETH } } function _baseURI() internal view virtual override returns (string memory) { return BASE_URI; } function setBaseURI(string memory baseURI) public onlyOwner { BASE_URI = baseURI; } function reserveTurtles(address _to, uint256 _reserveAmount) public onlyOwner { uint256 supply = totalSupply(); require( _reserveAmount > 0 && _reserveAmount <= turtleReserve, "Not enough reserve left for team" ); for (uint256 i = 0; i < _reserveAmount; i++) { _safeMint(_to, supply + i); } turtleReserve = turtleReserve - _reserveAmount; } function calculatePrice(uint256 numberOfTokens) public view returns (uint256) { uint256 currentSupply = totalSupply(); uint256 price = 0; for (uint256 tokenId = currentSupply; tokenId < currentSupply + numberOfTokens; tokenId++) { price = price + calculatePriceForToken(tokenId); } return price; } function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function mintTurtle(uint256 numberOfTokens) public payable { require(saleIsActive, "Sale must be active to mint Turtle"); require( numberOfTokens > 0 && numberOfTokens <= maxTurtlePurchase, "Can only mint between 1 to 20 tokens at a time" ); require( totalSupply() + numberOfTokens <= MAX_TURTLES, "Purchase would exceed max supply of Turtles" ); require( msg.value >= calculatePrice(numberOfTokens), "Ether value sent is not correct" ); for (uint256 i = 0; i < numberOfTokens; i++) { uint256 mintIndex = totalSupply(); _safeMint(msg.sender, mintIndex); } } }
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":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TURTLES","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":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"calculatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"calculatePriceForToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","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":"maxTurtlePurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintTurtle","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":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveTurtles","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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"},{"inputs":[],"name":"turtleReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600b805460ff191690556064600c5560c0604052601c60808190527f68747470733a2f2f706978656c747572746c65732e696f2f6170692f0000000060a09081526200004f91600d919062000141565b503480156200005d57600080fd5b506040518060400160405280600c81526020016b506978656c547572746c657360a01b8152506040518060400160405280600381526020016214161360ea1b815250620000b9620000b3620000ed60201b60201c565b620000f1565b8151620000ce90600190602085019062000141565b508051620000e490600290602084019062000141565b50505062000224565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200014f90620001e7565b90600052602060002090601f016020900481019282620001735760008555620001be565b82601f106200018e57805160ff1916838001178555620001be565b82800160010185558215620001be579182015b82811115620001be578251825591602001919060010190620001a1565b50620001cc929150620001d0565b5090565b5b80821115620001cc5760008155600101620001d1565b600181811c90821680620001fc57607f821691505b602082108114156200021e57634e487b7160e01b600052602260045260246000fd5b50919050565b61235880620002346000396000f3fe6080604052600436106101e35760003560e01c8063676b711b11610102578063ae10426511610095578063e985e9c511610064578063e985e9c51461054a578063eb8d244414610593578063ee75b7df146105ad578063f2fde38b146105c357600080fd5b8063ae104265146104d5578063b88d4fde146104f5578063c87b56dd14610515578063dbddb26a1461053557600080fd5b80638462151c116100d15780638462151c146104555780638da5cb5b1461048257806395d89b41146104a0578063a22cb465146104b557600080fd5b8063676b711b146103e05780636fd9537f1461040057806370a0823114610420578063715018a61461044057600080fd5b806334918dfd1161017a57806355f804b31161014957806355f804b3146103755780635d124912146103955780635df9861d146103aa5780636352211e146103c057600080fd5b806334918dfd1461030b5780633ccfd60b1461032057806342842e0e146103355780634f6ccce71461035557600080fd5b806318160ddd116101b657806318160ddd1461029957806323b872dd146102b85780632dc04ee4146102d85780632f745c59146102eb57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611f68565b6105e3565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b5061023261060e565b60405161021491906120e0565b34801561024b57600080fd5b5061025f61025a366004611feb565b6106a0565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b50610297610292366004611f3e565b61073a565b005b3480156102a557600080fd5b506009545b604051908152602001610214565b3480156102c457600080fd5b506102976102d3366004611e4a565b610850565b6102976102e6366004611feb565b610881565b3480156102f757600080fd5b506102aa610306366004611f3e565b610a5c565b34801561031757600080fd5b50610297610af2565b34801561032c57600080fd5b50610297610b30565b34801561034157600080fd5b50610297610350366004611e4a565b610b89565b34801561036157600080fd5b506102aa610370366004611feb565b610ba4565b34801561038157600080fd5b50610297610390366004611fa2565b610c37565b3480156103a157600080fd5b506102aa601481565b3480156103b657600080fd5b506102aa600c5481565b3480156103cc57600080fd5b5061025f6103db366004611feb565b610c74565b3480156103ec57600080fd5b506102976103fb366004611f3e565b610ceb565b34801561040c57600080fd5b506102aa61041b366004611feb565b610dc7565b34801561042c57600080fd5b506102aa61043b366004611dfc565b610e20565b34801561044c57600080fd5b50610297610ea7565b34801561046157600080fd5b50610475610470366004611dfc565b610edd565b604051610214919061209c565b34801561048e57600080fd5b506000546001600160a01b031661025f565b3480156104ac57600080fd5b50610232610f9c565b3480156104c157600080fd5b506102976104d0366004611f02565b610fab565b3480156104e157600080fd5b506102aa6104f0366004611feb565b611070565b34801561050157600080fd5b50610297610510366004611e86565b6110ba565b34801561052157600080fd5b50610232610530366004611feb565b6110f2565b34801561054157600080fd5b506102326111cd565b34801561055657600080fd5b50610208610565366004611e17565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561059f57600080fd5b50600b546102089060ff1681565b3480156105b957600080fd5b506102aa61271081565b3480156105cf57600080fd5b506102976105de366004611dfc565b61125b565b60006001600160e01b0319821663780e9d6360e01b14806106085750610608826112f6565b92915050565b60606001805461061d9061223a565b80601f01602080910402602001604051908101604052809291908181526020018280546106499061223a565b80156106965780601f1061066b57610100808354040283529160200191610696565b820191906000526020600020905b81548152906001019060200180831161067957829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b031661071e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061074582610c74565b9050806001600160a01b0316836001600160a01b031614156107b35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610715565b336001600160a01b03821614806107cf57506107cf8133610565565b6108415760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610715565b61084b8383611346565b505050565b61085a33826113b4565b6108765760405162461bcd60e51b81526004016107159061217a565b61084b8383836114ab565b600b5460ff166108de5760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420547572746044820152616c6560f01b6064820152608401610715565b6000811180156108ef575060148111155b6109525760405162461bcd60e51b815260206004820152602e60248201527f43616e206f6e6c79206d696e74206265747765656e203120746f20323020746f60448201526d6b656e7320617420612074696d6560901b6064820152608401610715565b6127108161095f60095490565b61096991906121cb565b11156109cb5760405162461bcd60e51b815260206004820152602b60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526a206f6620547572746c657360a81b6064820152608401610715565b6109d481611070565b341015610a235760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610715565b60005b81811015610a58576000610a3960095490565b9050610a453382611656565b5080610a508161226f565b915050610a26565b5050565b6000610a6783610e20565b8210610ac95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610715565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b03163314610b1c5760405162461bcd60e51b815260040161071590612145565b600b805460ff19811660ff90911615179055565b6000546001600160a01b03163314610b5a5760405162461bcd60e51b815260040161071590612145565b6040514790339082156108fc029083906000818181858888f19350505050158015610a58573d6000803e3d6000fd5b61084b838383604051806020016040528060008152506110ba565b6000610baf60095490565b8210610c125760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610715565b60098281548110610c2557610c256122e0565b90600052602060002001549050919050565b6000546001600160a01b03163314610c615760405162461bcd60e51b815260040161071590612145565b8051610a5890600d906020840190611cd6565b6000818152600360205260408120546001600160a01b0316806106085760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610715565b6000546001600160a01b03163314610d155760405162461bcd60e51b815260040161071590612145565b6000610d2060095490565b9050600082118015610d345750600c548211155b610d805760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d6044820152606401610715565b60005b82811015610db057610d9e84610d9983856121cb565b611656565b80610da88161226f565b915050610d83565b5081600c54610dbf91906121f7565b600c55505050565b60006113888210610de0575066b1a2bc2ec50000919050565b6103e88210610df75750668e1bc9bf040000919050565b60648210610e0d5750666a94d74f430000919050565b5066470de4df820000919050565b919050565b60006001600160a01b038216610e8b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610715565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610ed15760405162461bcd60e51b815260040161071590612145565b610edb6000611670565b565b60606000610eea83610e20565b905080610f0b5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610f2657610f266122f6565b604051908082528060200260200182016040528015610f4f578160200160208202803683370190505b50905060005b82811015610f0357610f678582610a5c565b828281518110610f7957610f796122e0565b602090810291909101015280610f8e8161226f565b915050610f55565b50919050565b60606002805461061d9061223a565b6001600160a01b0382163314156110045760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610715565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008061107c60095490565b90506000815b61108c85846121cb565b811015610f035761109c81610dc7565b6110a690836121cb565b9150806110b28161226f565b915050611082565b6110c433836113b4565b6110e05760405162461bcd60e51b81526004016107159061217a565b6110ec848484846116c0565b50505050565b6000818152600360205260409020546060906001600160a01b03166111715760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610715565b600061117b6116f3565b9050600081511161119b57604051806020016040528060008152506111c6565b806111a584611702565b6040516020016111b6929190612030565b6040516020818303038152906040525b9392505050565b600d80546111da9061223a565b80601f01602080910402602001604051908101604052809291908181526020018280546112069061223a565b80156112535780601f1061122857610100808354040283529160200191611253565b820191906000526020600020905b81548152906001019060200180831161123657829003601f168201915b505050505081565b6000546001600160a01b031633146112855760405162461bcd60e51b815260040161071590612145565b6001600160a01b0381166112ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610715565b6112f381611670565b50565b60006001600160e01b031982166380ac58cd60e01b148061132757506001600160e01b03198216635b5e139f60e01b145b8061060857506301ffc9a760e01b6001600160e01b0319831614610608565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061137b82610c74565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b031661142d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610715565b600061143883610c74565b9050806001600160a01b0316846001600160a01b031614806114735750836001600160a01b0316611468846106a0565b6001600160a01b0316145b806114a357506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114be82610c74565b6001600160a01b0316146115265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610715565b6001600160a01b0382166115885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610715565b611593838383611800565b61159e600082611346565b6001600160a01b03831660009081526004602052604081208054600192906115c79084906121f7565b90915550506001600160a01b03821660009081526004602052604081208054600192906115f59084906121cb565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610a588282604051806020016040528060008152506118b8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6116cb8484846114ab565b6116d7848484846118eb565b6110ec5760405162461bcd60e51b8152600401610715906120f3565b6060600d805461061d9061223a565b6060816117265750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611750578061173a8161226f565b91506117499050600a836121e3565b915061172a565b60008167ffffffffffffffff81111561176b5761176b6122f6565b6040519080825280601f01601f191660200182016040528015611795576020820181803683370190505b5090505b84156114a3576117aa6001836121f7565b91506117b7600a8661228a565b6117c29060306121cb565b60f81b8183815181106117d7576117d76122e0565b60200101906001600160f81b031916908160001a9053506117f9600a866121e3565b9450611799565b6001600160a01b03831661185b5761185681600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b61187e565b816001600160a01b0316836001600160a01b03161461187e5761187e83826119f8565b6001600160a01b0382166118955761084b81611a95565b826001600160a01b0316826001600160a01b03161461084b5761084b8282611b44565b6118c28383611b88565b6118cf60008484846118eb565b61084b5760405162461bcd60e51b8152600401610715906120f3565b60006001600160a01b0384163b156119ed57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061192f90339089908890889060040161205f565b602060405180830381600087803b15801561194957600080fd5b505af1925050508015611979575060408051601f3d908101601f1916820190925261197691810190611f85565b60015b6119d3573d8080156119a7576040519150601f19603f3d011682016040523d82523d6000602084013e6119ac565b606091505b5080516119cb5760405162461bcd60e51b8152600401610715906120f3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114a3565b506001949350505050565b60006001611a0584610e20565b611a0f91906121f7565b600083815260086020526040902054909150808214611a62576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611aa7906001906121f7565b6000838152600a602052604081205460098054939450909284908110611acf57611acf6122e0565b906000526020600020015490508060098381548110611af057611af06122e0565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611b2857611b286122ca565b6001900381819060005260206000200160009055905550505050565b6000611b4f83610e20565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216611bde5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610715565b6000818152600360205260409020546001600160a01b031615611c435760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610715565b611c4f60008383611800565b6001600160a01b0382166000908152600460205260408120805460019290611c789084906121cb565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ce29061223a565b90600052602060002090601f016020900481019282611d045760008555611d4a565b82601f10611d1d57805160ff1916838001178555611d4a565b82800160010185558215611d4a579182015b82811115611d4a578251825591602001919060010190611d2f565b50611d56929150611d5a565b5090565b5b80821115611d565760008155600101611d5b565b600067ffffffffffffffff80841115611d8a57611d8a6122f6565b604051601f8501601f19908116603f01168101908282118183101715611db257611db26122f6565b81604052809350858152868686011115611dcb57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610e1b57600080fd5b600060208284031215611e0e57600080fd5b6111c682611de5565b60008060408385031215611e2a57600080fd5b611e3383611de5565b9150611e4160208401611de5565b90509250929050565b600080600060608486031215611e5f57600080fd5b611e6884611de5565b9250611e7660208501611de5565b9150604084013590509250925092565b60008060008060808587031215611e9c57600080fd5b611ea585611de5565b9350611eb360208601611de5565b925060408501359150606085013567ffffffffffffffff811115611ed657600080fd5b8501601f81018713611ee757600080fd5b611ef687823560208401611d6f565b91505092959194509250565b60008060408385031215611f1557600080fd5b611f1e83611de5565b915060208301358015158114611f3357600080fd5b809150509250929050565b60008060408385031215611f5157600080fd5b611f5a83611de5565b946020939093013593505050565b600060208284031215611f7a57600080fd5b81356111c68161230c565b600060208284031215611f9757600080fd5b81516111c68161230c565b600060208284031215611fb457600080fd5b813567ffffffffffffffff811115611fcb57600080fd5b8201601f81018413611fdc57600080fd5b6114a384823560208401611d6f565b600060208284031215611ffd57600080fd5b5035919050565b6000815180845261201c81602086016020860161220e565b601f01601f19169290920160200192915050565b6000835161204281846020880161220e565b83519083019061205681836020880161220e565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061209290830184612004565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156120d4578351835292840192918401916001016120b8565b50909695505050505050565b6020815260006111c66020830184612004565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156121de576121de61229e565b500190565b6000826121f2576121f26122b4565b500490565b6000828210156122095761220961229e565b500390565b60005b83811015612229578181015183820152602001612211565b838111156110ec5750506000910152565b600181811c9082168061224e57607f821691505b60208210811415610f9657634e487b7160e01b600052602260045260246000fd5b60006000198214156122835761228361229e565b5060010190565b600082612299576122996122b4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146112f357600080fdfea26469706673582212200444d4022a551c1be84646b50ac367449cb3a239484bf8588ba7ec84c7470ece64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101e35760003560e01c8063676b711b11610102578063ae10426511610095578063e985e9c511610064578063e985e9c51461054a578063eb8d244414610593578063ee75b7df146105ad578063f2fde38b146105c357600080fd5b8063ae104265146104d5578063b88d4fde146104f5578063c87b56dd14610515578063dbddb26a1461053557600080fd5b80638462151c116100d15780638462151c146104555780638da5cb5b1461048257806395d89b41146104a0578063a22cb465146104b557600080fd5b8063676b711b146103e05780636fd9537f1461040057806370a0823114610420578063715018a61461044057600080fd5b806334918dfd1161017a57806355f804b31161014957806355f804b3146103755780635d124912146103955780635df9861d146103aa5780636352211e146103c057600080fd5b806334918dfd1461030b5780633ccfd60b1461032057806342842e0e146103355780634f6ccce71461035557600080fd5b806318160ddd116101b657806318160ddd1461029957806323b872dd146102b85780632dc04ee4146102d85780632f745c59146102eb57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611f68565b6105e3565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b5061023261060e565b60405161021491906120e0565b34801561024b57600080fd5b5061025f61025a366004611feb565b6106a0565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b50610297610292366004611f3e565b61073a565b005b3480156102a557600080fd5b506009545b604051908152602001610214565b3480156102c457600080fd5b506102976102d3366004611e4a565b610850565b6102976102e6366004611feb565b610881565b3480156102f757600080fd5b506102aa610306366004611f3e565b610a5c565b34801561031757600080fd5b50610297610af2565b34801561032c57600080fd5b50610297610b30565b34801561034157600080fd5b50610297610350366004611e4a565b610b89565b34801561036157600080fd5b506102aa610370366004611feb565b610ba4565b34801561038157600080fd5b50610297610390366004611fa2565b610c37565b3480156103a157600080fd5b506102aa601481565b3480156103b657600080fd5b506102aa600c5481565b3480156103cc57600080fd5b5061025f6103db366004611feb565b610c74565b3480156103ec57600080fd5b506102976103fb366004611f3e565b610ceb565b34801561040c57600080fd5b506102aa61041b366004611feb565b610dc7565b34801561042c57600080fd5b506102aa61043b366004611dfc565b610e20565b34801561044c57600080fd5b50610297610ea7565b34801561046157600080fd5b50610475610470366004611dfc565b610edd565b604051610214919061209c565b34801561048e57600080fd5b506000546001600160a01b031661025f565b3480156104ac57600080fd5b50610232610f9c565b3480156104c157600080fd5b506102976104d0366004611f02565b610fab565b3480156104e157600080fd5b506102aa6104f0366004611feb565b611070565b34801561050157600080fd5b50610297610510366004611e86565b6110ba565b34801561052157600080fd5b50610232610530366004611feb565b6110f2565b34801561054157600080fd5b506102326111cd565b34801561055657600080fd5b50610208610565366004611e17565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561059f57600080fd5b50600b546102089060ff1681565b3480156105b957600080fd5b506102aa61271081565b3480156105cf57600080fd5b506102976105de366004611dfc565b61125b565b60006001600160e01b0319821663780e9d6360e01b14806106085750610608826112f6565b92915050565b60606001805461061d9061223a565b80601f01602080910402602001604051908101604052809291908181526020018280546106499061223a565b80156106965780601f1061066b57610100808354040283529160200191610696565b820191906000526020600020905b81548152906001019060200180831161067957829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b031661071e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061074582610c74565b9050806001600160a01b0316836001600160a01b031614156107b35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610715565b336001600160a01b03821614806107cf57506107cf8133610565565b6108415760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610715565b61084b8383611346565b505050565b61085a33826113b4565b6108765760405162461bcd60e51b81526004016107159061217a565b61084b8383836114ab565b600b5460ff166108de5760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420547572746044820152616c6560f01b6064820152608401610715565b6000811180156108ef575060148111155b6109525760405162461bcd60e51b815260206004820152602e60248201527f43616e206f6e6c79206d696e74206265747765656e203120746f20323020746f60448201526d6b656e7320617420612074696d6560901b6064820152608401610715565b6127108161095f60095490565b61096991906121cb565b11156109cb5760405162461bcd60e51b815260206004820152602b60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526a206f6620547572746c657360a81b6064820152608401610715565b6109d481611070565b341015610a235760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610715565b60005b81811015610a58576000610a3960095490565b9050610a453382611656565b5080610a508161226f565b915050610a26565b5050565b6000610a6783610e20565b8210610ac95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610715565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b03163314610b1c5760405162461bcd60e51b815260040161071590612145565b600b805460ff19811660ff90911615179055565b6000546001600160a01b03163314610b5a5760405162461bcd60e51b815260040161071590612145565b6040514790339082156108fc029083906000818181858888f19350505050158015610a58573d6000803e3d6000fd5b61084b838383604051806020016040528060008152506110ba565b6000610baf60095490565b8210610c125760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610715565b60098281548110610c2557610c256122e0565b90600052602060002001549050919050565b6000546001600160a01b03163314610c615760405162461bcd60e51b815260040161071590612145565b8051610a5890600d906020840190611cd6565b6000818152600360205260408120546001600160a01b0316806106085760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610715565b6000546001600160a01b03163314610d155760405162461bcd60e51b815260040161071590612145565b6000610d2060095490565b9050600082118015610d345750600c548211155b610d805760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d6044820152606401610715565b60005b82811015610db057610d9e84610d9983856121cb565b611656565b80610da88161226f565b915050610d83565b5081600c54610dbf91906121f7565b600c55505050565b60006113888210610de0575066b1a2bc2ec50000919050565b6103e88210610df75750668e1bc9bf040000919050565b60648210610e0d5750666a94d74f430000919050565b5066470de4df820000919050565b919050565b60006001600160a01b038216610e8b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610715565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610ed15760405162461bcd60e51b815260040161071590612145565b610edb6000611670565b565b60606000610eea83610e20565b905080610f0b5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610f2657610f266122f6565b604051908082528060200260200182016040528015610f4f578160200160208202803683370190505b50905060005b82811015610f0357610f678582610a5c565b828281518110610f7957610f796122e0565b602090810291909101015280610f8e8161226f565b915050610f55565b50919050565b60606002805461061d9061223a565b6001600160a01b0382163314156110045760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610715565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008061107c60095490565b90506000815b61108c85846121cb565b811015610f035761109c81610dc7565b6110a690836121cb565b9150806110b28161226f565b915050611082565b6110c433836113b4565b6110e05760405162461bcd60e51b81526004016107159061217a565b6110ec848484846116c0565b50505050565b6000818152600360205260409020546060906001600160a01b03166111715760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610715565b600061117b6116f3565b9050600081511161119b57604051806020016040528060008152506111c6565b806111a584611702565b6040516020016111b6929190612030565b6040516020818303038152906040525b9392505050565b600d80546111da9061223a565b80601f01602080910402602001604051908101604052809291908181526020018280546112069061223a565b80156112535780601f1061122857610100808354040283529160200191611253565b820191906000526020600020905b81548152906001019060200180831161123657829003601f168201915b505050505081565b6000546001600160a01b031633146112855760405162461bcd60e51b815260040161071590612145565b6001600160a01b0381166112ea5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610715565b6112f381611670565b50565b60006001600160e01b031982166380ac58cd60e01b148061132757506001600160e01b03198216635b5e139f60e01b145b8061060857506301ffc9a760e01b6001600160e01b0319831614610608565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061137b82610c74565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b031661142d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610715565b600061143883610c74565b9050806001600160a01b0316846001600160a01b031614806114735750836001600160a01b0316611468846106a0565b6001600160a01b0316145b806114a357506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166114be82610c74565b6001600160a01b0316146115265760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610715565b6001600160a01b0382166115885760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610715565b611593838383611800565b61159e600082611346565b6001600160a01b03831660009081526004602052604081208054600192906115c79084906121f7565b90915550506001600160a01b03821660009081526004602052604081208054600192906115f59084906121cb565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610a588282604051806020016040528060008152506118b8565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6116cb8484846114ab565b6116d7848484846118eb565b6110ec5760405162461bcd60e51b8152600401610715906120f3565b6060600d805461061d9061223a565b6060816117265750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611750578061173a8161226f565b91506117499050600a836121e3565b915061172a565b60008167ffffffffffffffff81111561176b5761176b6122f6565b6040519080825280601f01601f191660200182016040528015611795576020820181803683370190505b5090505b84156114a3576117aa6001836121f7565b91506117b7600a8661228a565b6117c29060306121cb565b60f81b8183815181106117d7576117d76122e0565b60200101906001600160f81b031916908160001a9053506117f9600a866121e3565b9450611799565b6001600160a01b03831661185b5761185681600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b61187e565b816001600160a01b0316836001600160a01b03161461187e5761187e83826119f8565b6001600160a01b0382166118955761084b81611a95565b826001600160a01b0316826001600160a01b03161461084b5761084b8282611b44565b6118c28383611b88565b6118cf60008484846118eb565b61084b5760405162461bcd60e51b8152600401610715906120f3565b60006001600160a01b0384163b156119ed57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061192f90339089908890889060040161205f565b602060405180830381600087803b15801561194957600080fd5b505af1925050508015611979575060408051601f3d908101601f1916820190925261197691810190611f85565b60015b6119d3573d8080156119a7576040519150601f19603f3d011682016040523d82523d6000602084013e6119ac565b606091505b5080516119cb5760405162461bcd60e51b8152600401610715906120f3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506114a3565b506001949350505050565b60006001611a0584610e20565b611a0f91906121f7565b600083815260086020526040902054909150808214611a62576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611aa7906001906121f7565b6000838152600a602052604081205460098054939450909284908110611acf57611acf6122e0565b906000526020600020015490508060098381548110611af057611af06122e0565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611b2857611b286122ca565b6001900381819060005260206000200160009055905550505050565b6000611b4f83610e20565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216611bde5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610715565b6000818152600360205260409020546001600160a01b031615611c435760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610715565b611c4f60008383611800565b6001600160a01b0382166000908152600460205260408120805460019290611c789084906121cb565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ce29061223a565b90600052602060002090601f016020900481019282611d045760008555611d4a565b82601f10611d1d57805160ff1916838001178555611d4a565b82800160010185558215611d4a579182015b82811115611d4a578251825591602001919060010190611d2f565b50611d56929150611d5a565b5090565b5b80821115611d565760008155600101611d5b565b600067ffffffffffffffff80841115611d8a57611d8a6122f6565b604051601f8501601f19908116603f01168101908282118183101715611db257611db26122f6565b81604052809350858152868686011115611dcb57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610e1b57600080fd5b600060208284031215611e0e57600080fd5b6111c682611de5565b60008060408385031215611e2a57600080fd5b611e3383611de5565b9150611e4160208401611de5565b90509250929050565b600080600060608486031215611e5f57600080fd5b611e6884611de5565b9250611e7660208501611de5565b9150604084013590509250925092565b60008060008060808587031215611e9c57600080fd5b611ea585611de5565b9350611eb360208601611de5565b925060408501359150606085013567ffffffffffffffff811115611ed657600080fd5b8501601f81018713611ee757600080fd5b611ef687823560208401611d6f565b91505092959194509250565b60008060408385031215611f1557600080fd5b611f1e83611de5565b915060208301358015158114611f3357600080fd5b809150509250929050565b60008060408385031215611f5157600080fd5b611f5a83611de5565b946020939093013593505050565b600060208284031215611f7a57600080fd5b81356111c68161230c565b600060208284031215611f9757600080fd5b81516111c68161230c565b600060208284031215611fb457600080fd5b813567ffffffffffffffff811115611fcb57600080fd5b8201601f81018413611fdc57600080fd5b6114a384823560208401611d6f565b600060208284031215611ffd57600080fd5b5035919050565b6000815180845261201c81602086016020860161220e565b601f01601f19169290920160200192915050565b6000835161204281846020880161220e565b83519083019061205681836020880161220e565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061209290830184612004565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156120d4578351835292840192918401916001016120b8565b50909695505050505050565b6020815260006111c66020830184612004565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156121de576121de61229e565b500190565b6000826121f2576121f26122b4565b500490565b6000828210156122095761220961229e565b500390565b60005b83811015612229578181015183820152602001612211565b838111156110ec5750506000910152565b600181811c9082168061224e57607f821691505b60208210811415610f9657634e487b7160e01b600052602260045260246000fd5b60006000198214156122835761228361229e565b5060010190565b600082612299576122996122b4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146112f357600080fdfea26469706673582212200444d4022a551c1be84646b50ac367449cb3a239484bf8588ba7ec84c7470ece64736f6c63430008070033
Deployed Bytecode Sourcemap
43208:3481:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34720:224;;;;;;;;;;-1:-1:-1;34720:224:0;;;;;:::i;:::-;;:::i;:::-;;;6283:14:1;;6276:22;6258:41;;6246:2;6231:18;34720:224:0;;;;;;;;21621:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;23180:221::-;;;;;;;;;;-1:-1:-1;23180:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4944:32:1;;;4926:51;;4914:2;4899:18;23180:221:0;4780:203:1;22703:411:0;;;;;;;;;;-1:-1:-1;22703:411:0;;;;;:::i;:::-;;:::i;:::-;;35360:113;;;;;;;;;;-1:-1:-1;35448:10:0;:17;35360:113;;;15838:25:1;;;15826:2;15811:18;35360:113:0;15692:177:1;24070:339:0;;;;;;;;;;-1:-1:-1;24070:339:0;;;;;:::i;:::-;;:::i;45970:716::-;;;;;;:::i;:::-;;:::i;35028:256::-;;;;;;;;;;-1:-1:-1;35028:256:0;;;;;:::i;:::-;;:::i;43579:89::-;;;;;;;;;;;;;:::i;43676:143::-;;;;;;;;;;;;;:::i;24480:185::-;;;;;;;;;;-1:-1:-1;24480:185:0;;;;;:::i;:::-;;:::i;35550:233::-;;;;;;;;;;-1:-1:-1;35550:233:0;;;;;:::i;:::-;;:::i;44448:97::-;;;;;;;;;;-1:-1:-1;44448:97:0;;;;;:::i;:::-;;:::i;43307:46::-;;;;;;;;;;;;43351:2;43307:46;;43418:34;;;;;;;;;;;;;;;;21315:239;;;;;;;;;;-1:-1:-1;21315:239:0;;;;;:::i;:::-;;:::i;44553:461::-;;;;;;;;;;-1:-1:-1;44553:461:0;;;;;:::i;:::-;;:::i;43827:496::-;;;;;;;;;;-1:-1:-1;43827:496:0;;;;;:::i;:::-;;:::i;21045:208::-;;;;;;;;;;-1:-1:-1;21045:208:0;;;;;:::i;:::-;;:::i;42517:94::-;;;;;;;;;;;;;:::i;45390:572::-;;;;;;;;;;-1:-1:-1;45390:572:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;41866:87::-;;;;;;;;;;-1:-1:-1;41912:7:0;41939:6;-1:-1:-1;;;;;41939:6:0;41866:87;;21790:104;;;;;;;;;;;;;:::i;23473:295::-;;;;;;;;;;-1:-1:-1;23473:295:0;;;;;:::i;:::-;;:::i;45022:360::-;;;;;;;;;;-1:-1:-1;45022:360:0;;;;;:::i;:::-;;:::i;24736:328::-;;;;;;;;;;-1:-1:-1;24736:328:0;;;;;:::i;:::-;;:::i;21965:334::-;;;;;;;;;;-1:-1:-1;21965:334:0;;;;;:::i;:::-;;:::i;43461:55::-;;;;;;;;;;;;;:::i;23839:164::-;;;;;;;;;;-1:-1:-1;23839:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23960:25:0;;;23936:4;23960:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23839:164;43266:32;;;;;;;;;;-1:-1:-1;43266:32:0;;;;;;;;43362:43;;;;;;;;;;;;43400:5;43362:43;;42766:192;;;;;;;;;;-1:-1:-1;42766:192:0;;;;;:::i;:::-;;:::i;34720:224::-;34822:4;-1:-1:-1;;;;;;34846:50:0;;-1:-1:-1;;;34846:50:0;;:90;;;34900:36;34924:11;34900:23;:36::i;:::-;34839:97;34720:224;-1:-1:-1;;34720:224:0:o;21621:100::-;21675:13;21708:5;21701:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21621:100;:::o;23180:221::-;23256:7;26663:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26663:16:0;23276:73;;;;-1:-1:-1;;;23276:73:0;;12658:2:1;23276:73:0;;;12640:21:1;12697:2;12677:18;;;12670:30;12736:34;12716:18;;;12709:62;-1:-1:-1;;;12787:18:1;;;12780:42;12839:19;;23276:73:0;;;;;;;;;-1:-1:-1;23369:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23369:24:0;;23180:221::o;22703:411::-;22784:13;22800:23;22815:7;22800:14;:23::i;:::-;22784:39;;22848:5;-1:-1:-1;;;;;22842:11:0;:2;-1:-1:-1;;;;;22842:11:0;;;22834:57;;;;-1:-1:-1;;;22834:57:0;;14258:2:1;22834:57:0;;;14240:21:1;14297:2;14277:18;;;14270:30;14336:34;14316:18;;;14309:62;-1:-1:-1;;;14387:18:1;;;14380:31;14428:19;;22834:57:0;14056:397:1;22834:57:0;16178:10;-1:-1:-1;;;;;22926:21:0;;;;:62;;-1:-1:-1;22951:37:0;22968:5;16178:10;23839:164;:::i;22951:37::-;22904:168;;;;-1:-1:-1;;;22904:168:0;;11051:2:1;22904:168:0;;;11033:21:1;11090:2;11070:18;;;11063:30;11129:34;11109:18;;;11102:62;11200:26;11180:18;;;11173:54;11244:19;;22904:168:0;10849:420:1;22904:168:0;23085:21;23094:2;23098:7;23085:8;:21::i;:::-;22773:341;22703:411;;:::o;24070:339::-;24265:41;16178:10;24298:7;24265:18;:41::i;:::-;24257:103;;;;-1:-1:-1;;;24257:103:0;;;;;;;:::i;:::-;24373:28;24383:4;24389:2;24393:7;24373:9;:28::i;45970:716::-;46048:12;;;;46040:59;;;;-1:-1:-1;;;46040:59:0;;15491:2:1;46040:59:0;;;15473:21:1;15530:2;15510:18;;;15503:30;15569:34;15549:18;;;15542:62;-1:-1:-1;;;15620:18:1;;;15613:32;15662:19;;46040:59:0;15289:398:1;46040:59:0;46149:1;46132:14;:18;:57;;;;;43351:2;46154:14;:35;;46132:57;46110:153;;;;-1:-1:-1;;;46110:153:0;;7148:2:1;46110:153:0;;;7130:21:1;7187:2;7167:18;;;7160:30;7226:34;7206:18;;;7199:62;-1:-1:-1;;;7277:18:1;;;7270:44;7331:19;;46110:153:0;6946:410:1;46110:153:0;43400:5;46312:14;46296:13;35448:10;:17;;35360:113;46296:13;:30;;;;:::i;:::-;:45;;46274:138;;;;-1:-1:-1;;;46274:138:0;;6736:2:1;46274:138:0;;;6718:21:1;6775:2;6755:18;;;6748:30;6814:34;6794:18;;;6787:62;-1:-1:-1;;;6865:18:1;;;6858:41;6916:19;;46274:138:0;6534:407:1;46274:138:0;46447:30;46462:14;46447;:30::i;:::-;46434:9;:43;;46425:89;;;;-1:-1:-1;;;46425:89:0;;10278:2:1;46425:89:0;;;10260:21:1;10317:2;10297:18;;;10290:30;10356:33;10336:18;;;10329:61;10407:18;;46425:89:0;10076:355:1;46425:89:0;46532:9;46527:152;46551:14;46547:1;:18;46527:152;;;46587:17;46607:13;35448:10;:17;;35360:113;46607:13;46587:33;;46635:32;46645:10;46657:9;46635;:32::i;:::-;-1:-1:-1;46567:3:0;;;;:::i;:::-;;;;46527:152;;;;45970:716;:::o;35028:256::-;35125:7;35161:23;35178:5;35161:16;:23::i;:::-;35153:5;:31;35145:87;;;;-1:-1:-1;;;35145:87:0;;7563:2:1;35145:87:0;;;7545:21:1;7602:2;7582:18;;;7575:30;7641:34;7621:18;;;7614:62;-1:-1:-1;;;7692:18:1;;;7685:41;7743:19;;35145:87:0;7361:407:1;35145:87:0;-1:-1:-1;;;;;;35250:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;35028:256::o;43579:89::-;41912:7;41939:6;-1:-1:-1;;;;;41939:6:0;16178:10;42086:23;42078:68;;;;-1:-1:-1;;;42078:68:0;;;;;;;:::i;:::-;43648:12:::1;::::0;;-1:-1:-1;;43632:28:0;::::1;43648:12;::::0;;::::1;43647:13;43632:28;::::0;;43579:89::o;43676:143::-;41912:7;41939:6;-1:-1:-1;;;;;41939:6:0;16178:10;42086:23;42078:68;;;;-1:-1:-1;;;42078:68:0;;;;;;;:::i;:::-;43774:37:::1;::::0;43742:21:::1;::::0;43782:10:::1;::::0;43774:37;::::1;;;::::0;43742:21;;43724:15:::1;43774:37:::0;43724:15;43774:37;43742:21;43782:10;43774:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;24480:185:::0;24618:39;24635:4;24641:2;24645:7;24618:39;;;;;;;;;;;;:16;:39::i;35550:233::-;35625:7;35661:30;35448:10;:17;;35360:113;35661:30;35653:5;:38;35645:95;;;;-1:-1:-1;;;35645:95:0;;15078:2:1;35645:95:0;;;15060:21:1;15117:2;15097:18;;;15090:30;15156:34;15136:18;;;15129:62;-1:-1:-1;;;15207:18:1;;;15200:42;15259:19;;35645:95:0;14876:408:1;35645:95:0;35758:10;35769:5;35758:17;;;;;;;;:::i;:::-;;;;;;;;;35751:24;;35550:233;;;:::o;44448:97::-;41912:7;41939:6;-1:-1:-1;;;;;41939:6:0;16178:10;42086:23;42078:68;;;;-1:-1:-1;;;42078:68:0;;;;;;;:::i;:::-;44519:18;;::::1;::::0;:8:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;21315:239::-:0;21387:7;21423:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21423:16:0;21458:19;21450:73;;;;-1:-1:-1;;;21450:73:0;;11887:2:1;21450:73:0;;;11869:21:1;11926:2;11906:18;;;11899:30;11965:34;11945:18;;;11938:62;-1:-1:-1;;;12016:18:1;;;12009:39;12065:19;;21450:73:0;11685:405:1;44553:461:0;41912:7;41939:6;-1:-1:-1;;;;;41939:6:0;16178:10;42086:23;42078:68;;;;-1:-1:-1;;;42078:68:0;;;;;;;:::i;:::-;44665:14:::1;44682:13;35448:10:::0;:17;;35360:113;44682:13:::1;44665:30;;44745:1;44728:14;:18;:53;;;;;44768:13;;44750:14;:31;;44728:53;44706:135;;;::::0;-1:-1:-1;;;44706:135:0;;9158:2:1;44706:135:0::1;::::0;::::1;9140:21:1::0;;;9177:18;;;9170:30;9236:34;9216:18;;;9209:62;9288:18;;44706:135:0::1;8956:356:1::0;44706:135:0::1;44857:9;44852:98;44876:14;44872:1;:18;44852:98;;;44912:26;44922:3:::0;44927:10:::1;44936:1:::0;44927:6;:10:::1;:::i;:::-;44912:9;:26::i;:::-;44892:3:::0;::::1;::::0;::::1;:::i;:::-;;;;44852:98;;;;44992:14;44976:13;;:30;;;;:::i;:::-;44960:13;:46:::0;-1:-1:-1;;;44553:461:0:o;43827:496::-;43890:7;43921:4;43914:3;:11;43910:406;;-1:-1:-1;43949:17:0;;43827:496;-1:-1:-1;43827:496:0:o;43910:406::-;44028:4;44021:3;:11;44017:299;;-1:-1:-1;44056:17:0;;43827:496;-1:-1:-1;43827:496:0:o;44017:299::-;44136:3;44129;:10;44125:191;;-1:-1:-1;44163:17:0;;43827:496;-1:-1:-1;43827:496:0:o;44125:191::-;-1:-1:-1;44254:17:0;;43827:496;-1:-1:-1;43827:496:0:o;44125:191::-;43827:496;;;:::o;21045:208::-;21117:7;-1:-1:-1;;;;;21145:19:0;;21137:74;;;;-1:-1:-1;;;21137:74:0;;11476:2:1;21137:74:0;;;11458:21:1;11515:2;11495:18;;;11488:30;11554:34;11534:18;;;11527:62;-1:-1:-1;;;11605:18:1;;;11598:40;11655:19;;21137:74:0;11274:406:1;21137:74:0;-1:-1:-1;;;;;;21229:16:0;;;;;:9;:16;;;;;;;21045:208::o;42517:94::-;41912:7;41939:6;-1:-1:-1;;;;;41939:6:0;16178:10;42086:23;42078:68;;;;-1:-1:-1;;;42078:68:0;;;;;;;:::i;:::-;42582:21:::1;42600:1;42582:9;:21::i;:::-;42517:94::o:0;45390:572::-;45479:16;45513:18;45534:17;45544:6;45534:9;:17::i;:::-;45513:38;-1:-1:-1;45566:15:0;45562:393;;45643:16;;;45657:1;45643:16;;;;;;;;;;;-1:-1:-1;45636:23:0;45390:572;-1:-1:-1;;;45390:572:0:o;45562:393::-;45692:23;45732:10;45718:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45718:25:0;;45692:51;;45758:13;45786:130;45810:10;45802:5;:18;45786:130;;;45866:34;45886:6;45894:5;45866:19;:34::i;:::-;45850:6;45857:5;45850:13;;;;;;;;:::i;:::-;;;;;;;;;;:50;45822:7;;;;:::i;:::-;;;;45786:130;;45562:393;45502:460;45390:572;;;:::o;21790:104::-;21846:13;21879:7;21872:14;;;;;:::i;23473:295::-;-1:-1:-1;;;;;23576:24:0;;16178:10;23576:24;;23568:62;;;;-1:-1:-1;;;23568:62:0;;9924:2:1;23568:62:0;;;9906:21:1;9963:2;9943:18;;;9936:30;10002:27;9982:18;;;9975:55;10047:18;;23568:62:0;9722:349:1;23568:62:0;16178:10;23643:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23643:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23643:53:0;;;;;;;;;;23712:48;;6258:41:1;;;23643:42:0;;16178:10;23712:48;;6231:18:1;23712:48:0;;;;;;;23473:295;;:::o;45022:360::-;45091:7;45111:21;45135:13;35448:10;:17;;35360:113;45135:13;45111:37;-1:-1:-1;45159:13:0;45111:37;45187:165;45235:30;45251:14;45235:13;:30;:::i;:::-;45225:7;:40;45187:165;;;45309:31;45332:7;45309:22;:31::i;:::-;45301:39;;:5;:39;:::i;:::-;45293:47;-1:-1:-1;45267:9:0;;;;:::i;:::-;;;;45187:165;;24736:328;24911:41;16178:10;24944:7;24911:18;:41::i;:::-;24903:103;;;;-1:-1:-1;;;24903:103:0;;;;;;;:::i;:::-;25017:39;25031:4;25037:2;25041:7;25050:5;25017:13;:39::i;:::-;24736:328;;;;:::o;21965:334::-;26639:4;26663:16;;;:7;:16;;;;;;22038:13;;-1:-1:-1;;;;;26663:16:0;22064:76;;;;-1:-1:-1;;;22064:76:0;;13842:2:1;22064:76:0;;;13824:21:1;13881:2;13861:18;;;13854:30;13920:34;13900:18;;;13893:62;-1:-1:-1;;;13971:18:1;;;13964:45;14026:19;;22064:76:0;13640:411:1;22064:76:0;22153:21;22177:10;:8;:10::i;:::-;22153:34;;22229:1;22211:7;22205:21;:25;:86;;;;;;;;;;;;;;;;;22257:7;22266:18;:7;:16;:18::i;:::-;22240:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22205:86;22198:93;21965:334;-1:-1:-1;;;21965:334:0:o;43461:55::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42766:192::-;41912:7;41939:6;-1:-1:-1;;;;;41939:6:0;16178:10;42086:23;42078:68;;;;-1:-1:-1;;;42078:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42855:22:0;::::1;42847:73;;;::::0;-1:-1:-1;;;42847:73:0;;8394:2:1;42847:73:0::1;::::0;::::1;8376:21:1::0;8433:2;8413:18;;;8406:30;8472:34;8452:18;;;8445:62;-1:-1:-1;;;8523:18:1;;;8516:36;8569:19;;42847:73:0::1;8192:402:1::0;42847:73:0::1;42931:19;42941:8;42931:9;:19::i;:::-;42766:192:::0;:::o;20676:305::-;20778:4;-1:-1:-1;;;;;;20815:40:0;;-1:-1:-1;;;20815:40:0;;:105;;-1:-1:-1;;;;;;;20872:48:0;;-1:-1:-1;;;20872:48:0;20815:105;:158;;;-1:-1:-1;;;;;;;;;;19289:40:0;;;20937:36;19180:157;30556:174;30631:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30631:29:0;-1:-1:-1;;;;;30631:29:0;;;;;;;;:24;;30685:23;30631:24;30685:14;:23::i;:::-;-1:-1:-1;;;;;30676:46:0;;;;;;;;;;;30556:174;;:::o;26868:348::-;26961:4;26663:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26663:16:0;26978:73;;;;-1:-1:-1;;;26978:73:0;;10638:2:1;26978:73:0;;;10620:21:1;10677:2;10657:18;;;10650:30;10716:34;10696:18;;;10689:62;-1:-1:-1;;;10767:18:1;;;10760:42;10819:19;;26978:73:0;10436:408:1;26978:73:0;27062:13;27078:23;27093:7;27078:14;:23::i;:::-;27062:39;;27131:5;-1:-1:-1;;;;;27120:16:0;:7;-1:-1:-1;;;;;27120:16:0;;:51;;;;27164:7;-1:-1:-1;;;;;27140:31:0;:20;27152:7;27140:11;:20::i;:::-;-1:-1:-1;;;;;27140:31:0;;27120:51;:87;;;-1:-1:-1;;;;;;23960:25:0;;;23936:4;23960:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27175:32;27112:96;26868:348;-1:-1:-1;;;;26868:348:0:o;29860:578::-;30019:4;-1:-1:-1;;;;;29992:31:0;:23;30007:7;29992:14;:23::i;:::-;-1:-1:-1;;;;;29992:31:0;;29984:85;;;;-1:-1:-1;;;29984:85:0;;13432:2:1;29984:85:0;;;13414:21:1;13471:2;13451:18;;;13444:30;13510:34;13490:18;;;13483:62;-1:-1:-1;;;13561:18:1;;;13554:39;13610:19;;29984:85:0;13230:405:1;29984:85:0;-1:-1:-1;;;;;30088:16:0;;30080:65;;;;-1:-1:-1;;;30080:65:0;;9519:2:1;30080:65:0;;;9501:21:1;9558:2;9538:18;;;9531:30;9597:34;9577:18;;;9570:62;-1:-1:-1;;;9648:18:1;;;9641:34;9692:19;;30080:65:0;9317:400:1;30080:65:0;30158:39;30179:4;30185:2;30189:7;30158:20;:39::i;:::-;30262:29;30279:1;30283:7;30262:8;:29::i;:::-;-1:-1:-1;;;;;30304:15:0;;;;;;:9;:15;;;;;:20;;30323:1;;30304:15;:20;;30323:1;;30304:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30335:13:0;;;;;;:9;:13;;;;;:18;;30352:1;;30335:13;:18;;30352:1;;30335:18;:::i;:::-;;;;-1:-1:-1;;30364:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30364:21:0;-1:-1:-1;;;;;30364:21:0;;;;;;;;;30403:27;;30364:16;;30403:27;;;;;;;29860:578;;;:::o;27558:110::-;27634:26;27644:2;27648:7;27634:26;;;;;;;;;;;;:9;:26::i;42966:173::-;43022:16;43041:6;;-1:-1:-1;;;;;43058:17:0;;;-1:-1:-1;;;;;;43058:17:0;;;;;;43091:40;;43041:6;;;;;;;43091:40;;43022:16;43091:40;43011:128;42966:173;:::o;25946:315::-;26103:28;26113:4;26119:2;26123:7;26103:9;:28::i;:::-;26150:48;26173:4;26179:2;26183:7;26192:5;26150:22;:48::i;:::-;26142:111;;;;-1:-1:-1;;;26142:111:0;;;;;;;:::i;44331:109::-;44391:13;44424:8;44417:15;;;;;:::i;16623:723::-;16679:13;16900:10;16896:53;;-1:-1:-1;;16927:10:0;;;;;;;;;;;;-1:-1:-1;;;16927:10:0;;;;;16623:723::o;16896:53::-;16974:5;16959:12;17015:78;17022:9;;17015:78;;17048:8;;;;:::i;:::-;;-1:-1:-1;17071:10:0;;-1:-1:-1;17079:2:0;17071:10;;:::i;:::-;;;17015:78;;;17103:19;17135:6;17125:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17125:17:0;;17103:39;;17153:154;17160:10;;17153:154;;17187:11;17197:1;17187:11;;:::i;:::-;;-1:-1:-1;17256:10:0;17264:2;17256:5;:10;:::i;:::-;17243:24;;:2;:24;:::i;:::-;17230:39;;17213:6;17220;17213:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;17213:56:0;;;;;;;;-1:-1:-1;17284:11:0;17293:2;17284:11;;:::i;:::-;;;17153:154;;36396:589;-1:-1:-1;;;;;36602:18:0;;36598:187;;36637:40;36669:7;37812:10;:17;;37785:24;;;;:15;:24;;;;;:44;;;37840:24;;;;;;;;;;;;37708:164;36637:40;36598:187;;;36707:2;-1:-1:-1;;;;;36699:10:0;:4;-1:-1:-1;;;;;36699:10:0;;36695:90;;36726:47;36759:4;36765:7;36726:32;:47::i;:::-;-1:-1:-1;;;;;36799:16:0;;36795:183;;36832:45;36869:7;36832:36;:45::i;36795:183::-;36905:4;-1:-1:-1;;;;;36899:10:0;:2;-1:-1:-1;;;;;36899:10:0;;36895:83;;36926:40;36954:2;36958:7;36926:27;:40::i;27895:321::-;28025:18;28031:2;28035:7;28025:5;:18::i;:::-;28076:54;28107:1;28111:2;28115:7;28124:5;28076:22;:54::i;:::-;28054:154;;;;-1:-1:-1;;;28054:154:0;;;;;;;:::i;31295:799::-;31450:4;-1:-1:-1;;;;;31471:13:0;;8465:20;8513:8;31467:620;;31507:72;;-1:-1:-1;;;31507:72:0;;-1:-1:-1;;;;;31507:36:0;;;;;:72;;16178:10;;31558:4;;31564:7;;31573:5;;31507:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31507:72:0;;;;;;;;-1:-1:-1;;31507:72:0;;;;;;;;;;;;:::i;:::-;;;31503:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31749:13:0;;31745:272;;31792:60;;-1:-1:-1;;;31792:60:0;;;;;;;:::i;31745:272::-;31967:6;31961:13;31952:6;31948:2;31944:15;31937:38;31503:529;-1:-1:-1;;;;;;31630:51:0;-1:-1:-1;;;31630:51:0;;-1:-1:-1;31623:58:0;;31467:620;-1:-1:-1;32071:4:0;31295:799;;;;;;:::o;38499:988::-;38765:22;38815:1;38790:22;38807:4;38790:16;:22::i;:::-;:26;;;;:::i;:::-;38827:18;38848:26;;;:17;:26;;;;;;38765:51;;-1:-1:-1;38981:28:0;;;38977:328;;-1:-1:-1;;;;;39048:18:0;;39026:19;39048:18;;;:12;:18;;;;;;;;:34;;;;;;;;;39099:30;;;;;;:44;;;39216:30;;:17;:30;;;;;:43;;;38977:328;-1:-1:-1;39401:26:0;;;;:17;:26;;;;;;;;39394:33;;;-1:-1:-1;;;;;39445:18:0;;;;;:12;:18;;;;;:34;;;;;;;39438:41;38499:988::o;39782:1079::-;40060:10;:17;40035:22;;40060:21;;40080:1;;40060:21;:::i;:::-;40092:18;40113:24;;;:15;:24;;;;;;40486:10;:26;;40035:46;;-1:-1:-1;40113:24:0;;40035:46;;40486:26;;;;;;:::i;:::-;;;;;;;;;40464:48;;40550:11;40525:10;40536;40525:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;40630:28;;;:15;:28;;;;;;;:41;;;40802:24;;;;;40795:31;40837:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39853:1008;;;39782:1079;:::o;37286:221::-;37371:14;37388:20;37405:2;37388:16;:20::i;:::-;-1:-1:-1;;;;;37419:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;37464:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;37286:221:0:o;28552:382::-;-1:-1:-1;;;;;28632:16:0;;28624:61;;;;-1:-1:-1;;;28624:61:0;;12297:2:1;28624:61:0;;;12279:21:1;;;12316:18;;;12309:30;12375:34;12355:18;;;12348:62;12427:18;;28624:61:0;12095:356:1;28624:61:0;26639:4;26663:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26663:16:0;:30;28696:58;;;;-1:-1:-1;;;28696:58:0;;8801:2:1;28696:58:0;;;8783:21:1;8840:2;8820:18;;;8813:30;8879;8859:18;;;8852:58;8927:18;;28696:58:0;8599:352:1;28696:58:0;28767:45;28796:1;28800:2;28804:7;28767:20;:45::i;:::-;-1:-1:-1;;;;;28825:13:0;;;;;;:9;:13;;;;;:18;;28842:1;;28825:13;:18;;28842:1;;28825:18;:::i;:::-;;;;-1:-1:-1;;28854:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28854:21:0;-1:-1:-1;;;;;28854:21:0;;;;;;;;28893:33;;28854:16;;;28893:33;;28854:16;;28893:33;28552:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;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:72;;;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:45;;;532:1;529;522:12;491:45;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;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:186;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:470::-;4484:3;4522:6;4516:13;4538:53;4584:6;4579:3;4572:4;4564:6;4560:17;4538:53;:::i;:::-;4654:13;;4613:16;;;;4676:57;4654:13;4613:16;4710:4;4698:17;;4676:57;:::i;:::-;4749:20;;4305:470;-1:-1:-1;;;;4305:470:1:o;4988:488::-;-1:-1:-1;;;;;5257:15:1;;;5239:34;;5309:15;;5304:2;5289:18;;5282:43;5356:2;5341:18;;5334:34;;;5404:3;5399:2;5384:18;;5377:31;;;5182:4;;5425:45;;5450:19;;5442:6;5425:45;:::i;:::-;5417:53;4988:488;-1:-1:-1;;;;;;4988:488:1:o;5481:632::-;5652:2;5704:21;;;5774:13;;5677:18;;;5796:22;;;5623:4;;5652:2;5875:15;;;;5849:2;5834:18;;;5623:4;5918:169;5932:6;5929:1;5926:13;5918:169;;;5993:13;;5981:26;;6062:15;;;;6027:12;;;;5954:1;5947:9;5918:169;;;-1:-1:-1;6104:3:1;;5481:632;-1:-1:-1;;;;;;5481:632:1:o;6310:219::-;6459:2;6448:9;6441:21;6422:4;6479:44;6519:2;6508:9;6504:18;6496:6;6479:44;:::i;7773:414::-;7975:2;7957:21;;;8014:2;7994:18;;;7987:30;8053:34;8048:2;8033:18;;8026:62;-1:-1:-1;;;8119:2:1;8104:18;;8097:48;8177:3;8162:19;;7773:414::o;12869:356::-;13071:2;13053:21;;;13090:18;;;13083:30;13149:34;13144:2;13129:18;;13122:62;13216:2;13201:18;;12869:356::o;14458:413::-;14660:2;14642:21;;;14699:2;14679:18;;;14672:30;14738:34;14733:2;14718:18;;14711:62;-1:-1:-1;;;14804:2:1;14789:18;;14782:47;14861:3;14846:19;;14458:413::o;15874:128::-;15914:3;15945:1;15941:6;15938:1;15935:13;15932:39;;;15951:18;;:::i;:::-;-1:-1:-1;15987:9:1;;15874:128::o;16007:120::-;16047:1;16073;16063:35;;16078:18;;:::i;:::-;-1:-1:-1;16112:9:1;;16007:120::o;16132:125::-;16172:4;16200:1;16197;16194:8;16191:34;;;16205:18;;:::i;:::-;-1:-1:-1;16242:9:1;;16132:125::o;16262:258::-;16334:1;16344:113;16358:6;16355:1;16352:13;16344:113;;;16434:11;;;16428:18;16415:11;;;16408:39;16380:2;16373:10;16344:113;;;16475:6;16472:1;16469:13;16466:48;;;-1:-1:-1;;16510:1:1;16492:16;;16485:27;16262:258::o;16525:380::-;16604:1;16600:12;;;;16647;;;16668:61;;16722:4;16714:6;16710:17;16700:27;;16668:61;16775:2;16767:6;16764:14;16744:18;16741:38;16738:161;;;16821:10;16816:3;16812:20;16809:1;16802:31;16856:4;16853:1;16846:15;16884:4;16881:1;16874:15;16910:135;16949:3;-1:-1:-1;;16970:17:1;;16967:43;;;16990:18;;:::i;:::-;-1:-1:-1;17037:1:1;17026:13;;16910:135::o;17050:112::-;17082:1;17108;17098:35;;17113:18;;:::i;:::-;-1:-1:-1;17147:9:1;;17050:112::o;17167:127::-;17228:10;17223:3;17219:20;17216:1;17209:31;17259:4;17256:1;17249:15;17283:4;17280:1;17273:15;17299:127;17360:10;17355:3;17351:20;17348:1;17341:31;17391:4;17388:1;17381:15;17415:4;17412:1;17405:15;17431:127;17492:10;17487:3;17483:20;17480:1;17473:31;17523:4;17520:1;17513:15;17547:4;17544:1;17537:15;17563:127;17624:10;17619:3;17615:20;17612:1;17605:31;17655:4;17652:1;17645:15;17679:4;17676:1;17669:15;17695:127;17756:10;17751:3;17747:20;17744:1;17737:31;17787:4;17784:1;17777:15;17811:4;17808:1;17801:15;17827:131;-1:-1:-1;;;;;;17901:32:1;;17891:43;;17881:71;;17948:1;17945;17938:12
Swarm Source
ipfs://0444d4022a551c1be84646b50ac367449cb3a239484bf8588ba7ec84c7470ece
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.