Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,222 LUNAtics
Holders
405
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 LUNAticsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LUNAtics
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-20 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (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/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (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() { _transferOwnership(_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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (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/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (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: erc721a/contracts/IERC721A.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _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 { _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 { _transfer(from, to, tokenId); if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: contracts/LUNAtics.sol pragma solidity ^0.8.11; contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract LUNAtics is ERC721A, Ownable { constructor() ERC721A("LUNAtics", "LUNAtics") {} string public baseURI = "ipfs://QmQ1QD1Bc13efUFpGYgCfmTuowF9otf62RfFAJEJ1R4FEk/"; string public contractURI = "ipfs://QmeMwfdWuNicCsZruWfSzCNYzhGK7of7U7MNsGpLgWFUsY"; string public constant baseExtension = ".json"; uint256 public constant MAX_SUPPLY = 2222; uint256 public maxPerTx = 4; uint256 public price = 10000000000000000 wei; address public constant proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; uint256 public constant MAX_PER_TX_FREE = 4; uint256 public constant FREE_MAX_SUPPLY = 220; function _startTokenId() internal override view virtual returns (uint256) { return 1; } function setContractURI(string memory _contractURI) external onlyOwner { contractURI = _contractURI; } function mint(uint256 _quantity) external payable { address _caller = _msgSender(); require(MAX_SUPPLY >= totalSupply() + _quantity, "Exceeds max supply"); require(_quantity > 0, "Mint quantity must be > 0"); if(FREE_MAX_SUPPLY >= totalSupply()){ require(maxPerTx >= _quantity , "Exceeds max per free tx"); }else{ require(maxPerTx >= _quantity , "Can only mint 4 LUNAtics at a time"); require(_quantity * price == msg.value, "Invalid funds provided"); } _safeMint(_caller, _quantity); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function setPrice(uint256 _price) external onlyOwner { price = _price; } function setMaxPerTx(uint256 _maxPerTx) external onlyOwner { maxPerTx = _maxPerTx; } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; (bool success, ) = _msgSender().call{value: balance}(""); require(success, "Failed to send"); } function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(_tokenId), baseExtension ) ) : ""; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e060405260366080818152906200203c60a039805162000029916009916020909101906200013d565b50604051806060016040528060358152602001620020076035913980516200005a91600a916020909101906200013d565b506004600b55662386f26fc10000600c553480156200007857600080fd5b506040805180820182526008808252674c554e417469637360c01b602080840182815285518087019096529285528401528151919291620000bc916002916200013d565b508051620000d29060039060208401906200013d565b5050600160005550620000e533620000eb565b6200021f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014b90620001e3565b90600052602060002090601f0160209004810192826200016f5760008555620001ba565b82601f106200018a57805160ff1916838001178555620001ba565b82800160010185558215620001ba579182015b82811115620001ba5782518255916020019190600101906200019d565b50620001c8929150620001cc565b5090565b5b80821115620001c85760008155600101620001cd565b600181811c90821680620001f857607f821691505b6020821081036200021957634e487b7160e01b600052602260045260246000fd5b50919050565b611dd8806200022f6000396000f3fe6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063c6682862116100a0578063dc33e6811161006f578063dc33e6811461055f578063e8a3d4851461057f578063e985e9c514610594578063f2fde38b146105b4578063f968adbe146105d457600080fd5b8063c6682862146104c6578063c6f6f216146104f7578063c87b56dd14610517578063cd7c03261461053757600080fd5b8063a035b1fe116100dc578063a035b1fe1461045d578063a0712d6814610473578063a22cb46514610486578063b88d4fde146104a657600080fd5b80638da5cb5b146103ea57806391b7f5ed14610408578063938e3d7b1461042857806395d89b411461044857600080fd5b806342842e0e116101855780636c0360eb116101545780636c0360eb1461038b57806370a08231146103a0578063715018a6146103c05780638069876d146103d557600080fd5b806342842e0e14610316578063463fff791461033657806355f804b31461034b5780636352211e1461036b57600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102cb57806332cb6b0c146102eb5780633ccfd60b1461030157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611821565b6105ea565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61063c565b60405161021f919061189d565b34801561025657600080fd5b5061026a6102653660046118b0565b6106ce565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d3660046118de565b610712565b005b3480156102b057600080fd5b5060015460005403600019015b60405190815260200161021f565b3480156102d757600080fd5b506102a26102e636600461190a565b610798565b3480156102f757600080fd5b506102bd6108ae81565b34801561030d57600080fd5b506102a26107a3565b34801561032257600080fd5b506102a261033136600461190a565b610865565b34801561034257600080fd5b506102bd600481565b34801561035757600080fd5b506102a26103663660046119d7565b610880565b34801561037757600080fd5b5061026a6103863660046118b0565b6108bd565b34801561039757600080fd5b5061023d6108cf565b3480156103ac57600080fd5b506102bd6103bb366004611a20565b61095d565b3480156103cc57600080fd5b506102a26109ac565b3480156103e157600080fd5b506102bd60dc81565b3480156103f657600080fd5b506008546001600160a01b031661026a565b34801561041457600080fd5b506102a26104233660046118b0565b6109e2565b34801561043457600080fd5b506102a26104433660046119d7565b610a11565b34801561045457600080fd5b5061023d610a4e565b34801561046957600080fd5b506102bd600c5481565b6102a26104813660046118b0565b610a5d565b34801561049257600080fd5b506102a26104a1366004611a3d565b610c31565b3480156104b257600080fd5b506102a26104c1366004611a7b565b610cc6565b3480156104d257600080fd5b5061023d60405180604001604052806005815260200164173539b7b760d91b81525081565b34801561050357600080fd5b506102a26105123660046118b0565b610d10565b34801561052357600080fd5b5061023d6105323660046118b0565b610d3f565b34801561054357600080fd5b5061026a73a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561056b57600080fd5b506102bd61057a366004611a20565b610e09565b34801561058b57600080fd5b5061023d610e38565b3480156105a057600080fd5b506102136105af366004611afb565b610e45565b3480156105c057600080fd5b506102a26105cf366004611a20565b610f14565b3480156105e057600080fd5b506102bd600b5481565b60006001600160e01b031982166380ac58cd60e01b148061061b57506001600160e01b03198216635b5e139f60e01b145b8061063657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461064b90611b29565b80601f016020809104026020016040519081016040528092919081815260200182805461067790611b29565b80156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b5050505050905090565b60006106d982610faf565b6106f6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061071d826108bd565b9050806001600160a01b0316836001600160a01b0316036107515760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107885761076b8133610e45565b610788576040516367d9dca160e11b815260040160405180910390fd5b610793838383610fe8565b505050565b610793838383611044565b6008546001600160a01b031633146107d65760405162461bcd60e51b81526004016107cd90611b63565b60405180910390fd5b6040514790600090339083908381818185875af1925050503d806000811461081a576040519150601f19603f3d011682016040523d82523d6000602084013e61081f565b606091505b50509050806108615760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064016107cd565b5050565b61079383838360405180602001604052806000815250610cc6565b6008546001600160a01b031633146108aa5760405162461bcd60e51b81526004016107cd90611b63565b8051610861906009906020840190611772565b60006108c882611233565b5192915050565b600980546108dc90611b29565b80601f016020809104026020016040519081016040528092919081815260200182805461090890611b29565b80156109555780601f1061092a57610100808354040283529160200191610955565b820191906000526020600020905b81548152906001019060200180831161093857829003601f168201915b505050505081565b60006001600160a01b038216610986576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109d65760405162461bcd60e51b81526004016107cd90611b63565b6109e06000611357565b565b6008546001600160a01b03163314610a0c5760405162461bcd60e51b81526004016107cd90611b63565b600c55565b6008546001600160a01b03163314610a3b5760405162461bcd60e51b81526004016107cd90611b63565b805161086190600a906020840190611772565b60606003805461064b90611b29565b600154600054339183910360001901610a769190611bae565b6108ae1015610abc5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016107cd565b60008211610b0c5760405162461bcd60e51b815260206004820152601960248201527f4d696e74207175616e74697479206d757374206265203e20300000000000000060448201526064016107cd565b600154600054036000190160dc10610b755781600b541015610b705760405162461bcd60e51b815260206004820152601760248201527f45786365656473206d617820706572206672656520747800000000000000000060448201526064016107cd565b610c27565b81600b541015610bd25760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c79206d696e742034204c554e417469637320617420612074696044820152616d6560f01b60648201526084016107cd565b34600c5483610be19190611bc6565b14610c275760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016107cd565b61086181836113a9565b336001600160a01b03831603610c5a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cd1848484611044565b6001600160a01b0383163b15610d0a57610ced848484846113c3565b610d0a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610d3a5760405162461bcd60e51b81526004016107cd90611b63565b600b55565b6060610d4a82610faf565b610d8e5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016107cd565b600060098054610d9d90611b29565b905011610db95760405180602001604052806000815250610636565b6009610dc4836114ae565b60405180604001604052806005815260200164173539b7b760d91b815250604051602001610df493929190611c01565b60405160208183030381529060405292915050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff16610636565b600a80546108dc90611b29565b60405163c455279160e01b81526001600160a01b03838116600483015260009173a5409ec958c83c3f309868babaca7c86dcb077c191841690829063c455279190602401602060405180830381865afa158015610ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eca9190611cb1565b6001600160a01b031603610ee2576001915050610636565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b03163314610f3e5760405162461bcd60e51b81526004016107cd90611b63565b6001600160a01b038116610fa35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cd565b610fac81611357565b50565b600081600111158015610fc3575060005482105b8015610636575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061104f82611233565b9050836001600160a01b031681600001516001600160a01b0316146110865760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806110a457506110a48533610e45565b806110bf5750336110b4846106ce565b6001600160a01b0316145b9050806110df57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661110657604051633a954ecd60e21b815260040160405180910390fd5b61111260008487610fe8565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166111e85760005482146111e8578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6040805160608101825260008082526020820181905291810191909152818060011161133e5760005481101561133e57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061133c5780516001600160a01b0316156112d2579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611337579392505050565b6112d2565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108618282604051806020016040528060008152506115af565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113f8903390899088908890600401611cce565b6020604051808303816000875af1925050508015611433575060408051601f3d908101601f1916820190925261143091810190611d01565b60015b611491573d808015611461576040519150601f19603f3d011682016040523d82523d6000602084013e611466565b606091505b508051600003611489576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060816000036114d55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114ff57806114e981611d1e565b91506114f89050600a83611d4d565b91506114d9565b60008167ffffffffffffffff81111561151a5761151a61194b565b6040519080825280601f01601f191660200182016040528015611544576020820181803683370190505b5090505b8415610f0c57611559600183611d61565b9150611566600a86611d78565b611571906030611bae565b60f81b81838151811061158657611586611d8c565b60200101906001600160f81b031916908160001a9053506115a8600a86611d4d565b9450611548565b6000546001600160a01b0384166115d857604051622e076360e81b815260040160405180910390fd5b826000036115f95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b018116918217600160401b67ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b1561171d575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116e660008784806001019550876113c3565b611703576040516368d2bf6b60e11b815260040160405180910390fd5b80821061169b57826000541461171857600080fd5b611762565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061171e575b506000908155610d0a9085838684565b82805461177e90611b29565b90600052602060002090601f0160209004810192826117a057600085556117e6565b82601f106117b957805160ff19168380011785556117e6565b828001600101855582156117e6579182015b828111156117e65782518255916020019190600101906117cb565b506117f29291506117f6565b5090565b5b808211156117f257600081556001016117f7565b6001600160e01b031981168114610fac57600080fd5b60006020828403121561183357600080fd5b813561183e8161180b565b9392505050565b60005b83811015611860578181015183820152602001611848565b83811115610d0a5750506000910152565b60008151808452611889816020860160208601611845565b601f01601f19169290920160200192915050565b60208152600061183e6020830184611871565b6000602082840312156118c257600080fd5b5035919050565b6001600160a01b0381168114610fac57600080fd5b600080604083850312156118f157600080fd5b82356118fc816118c9565b946020939093013593505050565b60008060006060848603121561191f57600080fd5b833561192a816118c9565b9250602084013561193a816118c9565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561197c5761197c61194b565b604051601f8501601f19908116603f011681019082821181831017156119a4576119a461194b565b816040528093508581528686860111156119bd57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119e957600080fd5b813567ffffffffffffffff811115611a0057600080fd5b8201601f81018413611a1157600080fd5b610f0c84823560208401611961565b600060208284031215611a3257600080fd5b813561183e816118c9565b60008060408385031215611a5057600080fd5b8235611a5b816118c9565b915060208301358015158114611a7057600080fd5b809150509250929050565b60008060008060808587031215611a9157600080fd5b8435611a9c816118c9565b93506020850135611aac816118c9565b925060408501359150606085013567ffffffffffffffff811115611acf57600080fd5b8501601f81018713611ae057600080fd5b611aef87823560208401611961565b91505092959194509250565b60008060408385031215611b0e57600080fd5b8235611b19816118c9565b91506020830135611a70816118c9565b600181811c90821680611b3d57607f821691505b602082108103611b5d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611bc157611bc1611b98565b500190565b6000816000190483118215151615611be057611be0611b98565b500290565b60008151611bf7818560208601611845565b9290920192915050565b600080855481600182811c915080831680611c1d57607f831692505b60208084108203611c3c57634e487b7160e01b86526022600452602486fd5b818015611c505760018114611c6157611c8e565b60ff19861689528489019650611c8e565b60008c81526020902060005b86811015611c865781548b820152908501908301611c6d565b505084890196505b505050505050611ca7611ca18287611be5565b85611be5565b9695505050505050565b600060208284031215611cc357600080fd5b815161183e816118c9565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ca790830184611871565b600060208284031215611d1357600080fd5b815161183e8161180b565b600060018201611d3057611d30611b98565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611d5c57611d5c611d37565b500490565b600082821015611d7357611d73611b98565b500390565b600082611d8757611d87611d37565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212202cd65815987e8d36d98c995ec609a616f374f8cda9d98d8034c4c8c003a7abd464736f6c634300080d0033697066733a2f2f516d654d77666457754e696343735a72755766537a434e597a68474b376f663755374d4e7347704c675746557359697066733a2f2f516d513151443142633133656655467047596743666d54756f7746396f74663632526646414a454a31523446456b2f
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063c6682862116100a0578063dc33e6811161006f578063dc33e6811461055f578063e8a3d4851461057f578063e985e9c514610594578063f2fde38b146105b4578063f968adbe146105d457600080fd5b8063c6682862146104c6578063c6f6f216146104f7578063c87b56dd14610517578063cd7c03261461053757600080fd5b8063a035b1fe116100dc578063a035b1fe1461045d578063a0712d6814610473578063a22cb46514610486578063b88d4fde146104a657600080fd5b80638da5cb5b146103ea57806391b7f5ed14610408578063938e3d7b1461042857806395d89b411461044857600080fd5b806342842e0e116101855780636c0360eb116101545780636c0360eb1461038b57806370a08231146103a0578063715018a6146103c05780638069876d146103d557600080fd5b806342842e0e14610316578063463fff791461033657806355f804b31461034b5780636352211e1461036b57600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102cb57806332cb6b0c146102eb5780633ccfd60b1461030157600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611821565b6105ea565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61063c565b60405161021f919061189d565b34801561025657600080fd5b5061026a6102653660046118b0565b6106ce565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d3660046118de565b610712565b005b3480156102b057600080fd5b5060015460005403600019015b60405190815260200161021f565b3480156102d757600080fd5b506102a26102e636600461190a565b610798565b3480156102f757600080fd5b506102bd6108ae81565b34801561030d57600080fd5b506102a26107a3565b34801561032257600080fd5b506102a261033136600461190a565b610865565b34801561034257600080fd5b506102bd600481565b34801561035757600080fd5b506102a26103663660046119d7565b610880565b34801561037757600080fd5b5061026a6103863660046118b0565b6108bd565b34801561039757600080fd5b5061023d6108cf565b3480156103ac57600080fd5b506102bd6103bb366004611a20565b61095d565b3480156103cc57600080fd5b506102a26109ac565b3480156103e157600080fd5b506102bd60dc81565b3480156103f657600080fd5b506008546001600160a01b031661026a565b34801561041457600080fd5b506102a26104233660046118b0565b6109e2565b34801561043457600080fd5b506102a26104433660046119d7565b610a11565b34801561045457600080fd5b5061023d610a4e565b34801561046957600080fd5b506102bd600c5481565b6102a26104813660046118b0565b610a5d565b34801561049257600080fd5b506102a26104a1366004611a3d565b610c31565b3480156104b257600080fd5b506102a26104c1366004611a7b565b610cc6565b3480156104d257600080fd5b5061023d60405180604001604052806005815260200164173539b7b760d91b81525081565b34801561050357600080fd5b506102a26105123660046118b0565b610d10565b34801561052357600080fd5b5061023d6105323660046118b0565b610d3f565b34801561054357600080fd5b5061026a73a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561056b57600080fd5b506102bd61057a366004611a20565b610e09565b34801561058b57600080fd5b5061023d610e38565b3480156105a057600080fd5b506102136105af366004611afb565b610e45565b3480156105c057600080fd5b506102a26105cf366004611a20565b610f14565b3480156105e057600080fd5b506102bd600b5481565b60006001600160e01b031982166380ac58cd60e01b148061061b57506001600160e01b03198216635b5e139f60e01b145b8061063657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461064b90611b29565b80601f016020809104026020016040519081016040528092919081815260200182805461067790611b29565b80156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b5050505050905090565b60006106d982610faf565b6106f6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061071d826108bd565b9050806001600160a01b0316836001600160a01b0316036107515760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107885761076b8133610e45565b610788576040516367d9dca160e11b815260040160405180910390fd5b610793838383610fe8565b505050565b610793838383611044565b6008546001600160a01b031633146107d65760405162461bcd60e51b81526004016107cd90611b63565b60405180910390fd5b6040514790600090339083908381818185875af1925050503d806000811461081a576040519150601f19603f3d011682016040523d82523d6000602084013e61081f565b606091505b50509050806108615760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b60448201526064016107cd565b5050565b61079383838360405180602001604052806000815250610cc6565b6008546001600160a01b031633146108aa5760405162461bcd60e51b81526004016107cd90611b63565b8051610861906009906020840190611772565b60006108c882611233565b5192915050565b600980546108dc90611b29565b80601f016020809104026020016040519081016040528092919081815260200182805461090890611b29565b80156109555780601f1061092a57610100808354040283529160200191610955565b820191906000526020600020905b81548152906001019060200180831161093857829003601f168201915b505050505081565b60006001600160a01b038216610986576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109d65760405162461bcd60e51b81526004016107cd90611b63565b6109e06000611357565b565b6008546001600160a01b03163314610a0c5760405162461bcd60e51b81526004016107cd90611b63565b600c55565b6008546001600160a01b03163314610a3b5760405162461bcd60e51b81526004016107cd90611b63565b805161086190600a906020840190611772565b60606003805461064b90611b29565b600154600054339183910360001901610a769190611bae565b6108ae1015610abc5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016107cd565b60008211610b0c5760405162461bcd60e51b815260206004820152601960248201527f4d696e74207175616e74697479206d757374206265203e20300000000000000060448201526064016107cd565b600154600054036000190160dc10610b755781600b541015610b705760405162461bcd60e51b815260206004820152601760248201527f45786365656473206d617820706572206672656520747800000000000000000060448201526064016107cd565b610c27565b81600b541015610bd25760405162461bcd60e51b815260206004820152602260248201527f43616e206f6e6c79206d696e742034204c554e417469637320617420612074696044820152616d6560f01b60648201526084016107cd565b34600c5483610be19190611bc6565b14610c275760405162461bcd60e51b8152602060048201526016602482015275125b9d985b1a5908199d5b991cc81c1c9bdd9a59195960521b60448201526064016107cd565b61086181836113a9565b336001600160a01b03831603610c5a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cd1848484611044565b6001600160a01b0383163b15610d0a57610ced848484846113c3565b610d0a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610d3a5760405162461bcd60e51b81526004016107cd90611b63565b600b55565b6060610d4a82610faf565b610d8e5760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016107cd565b600060098054610d9d90611b29565b905011610db95760405180602001604052806000815250610636565b6009610dc4836114ae565b60405180604001604052806005815260200164173539b7b760d91b815250604051602001610df493929190611c01565b60405160208183030381529060405292915050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff16610636565b600a80546108dc90611b29565b60405163c455279160e01b81526001600160a01b03838116600483015260009173a5409ec958c83c3f309868babaca7c86dcb077c191841690829063c455279190602401602060405180830381865afa158015610ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eca9190611cb1565b6001600160a01b031603610ee2576001915050610636565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b03163314610f3e5760405162461bcd60e51b81526004016107cd90611b63565b6001600160a01b038116610fa35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cd565b610fac81611357565b50565b600081600111158015610fc3575060005482105b8015610636575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061104f82611233565b9050836001600160a01b031681600001516001600160a01b0316146110865760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806110a457506110a48533610e45565b806110bf5750336110b4846106ce565b6001600160a01b0316145b9050806110df57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661110657604051633a954ecd60e21b815260040160405180910390fd5b61111260008487610fe8565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166111e85760005482146111e8578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6040805160608101825260008082526020820181905291810191909152818060011161133e5760005481101561133e57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061133c5780516001600160a01b0316156112d2579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611337579392505050565b6112d2565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6108618282604051806020016040528060008152506115af565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113f8903390899088908890600401611cce565b6020604051808303816000875af1925050508015611433575060408051601f3d908101601f1916820190925261143091810190611d01565b60015b611491573d808015611461576040519150601f19603f3d011682016040523d82523d6000602084013e611466565b606091505b508051600003611489576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060816000036114d55750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114ff57806114e981611d1e565b91506114f89050600a83611d4d565b91506114d9565b60008167ffffffffffffffff81111561151a5761151a61194b565b6040519080825280601f01601f191660200182016040528015611544576020820181803683370190505b5090505b8415610f0c57611559600183611d61565b9150611566600a86611d78565b611571906030611bae565b60f81b81838151811061158657611586611d8c565b60200101906001600160f81b031916908160001a9053506115a8600a86611d4d565b9450611548565b6000546001600160a01b0384166115d857604051622e076360e81b815260040160405180910390fd5b826000036115f95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b018116918217600160401b67ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b1561171d575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116e660008784806001019550876113c3565b611703576040516368d2bf6b60e11b815260040160405180910390fd5b80821061169b57826000541461171857600080fd5b611762565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061171e575b506000908155610d0a9085838684565b82805461177e90611b29565b90600052602060002090601f0160209004810192826117a057600085556117e6565b82601f106117b957805160ff19168380011785556117e6565b828001600101855582156117e6579182015b828111156117e65782518255916020019190600101906117cb565b506117f29291506117f6565b5090565b5b808211156117f257600081556001016117f7565b6001600160e01b031981168114610fac57600080fd5b60006020828403121561183357600080fd5b813561183e8161180b565b9392505050565b60005b83811015611860578181015183820152602001611848565b83811115610d0a5750506000910152565b60008151808452611889816020860160208601611845565b601f01601f19169290920160200192915050565b60208152600061183e6020830184611871565b6000602082840312156118c257600080fd5b5035919050565b6001600160a01b0381168114610fac57600080fd5b600080604083850312156118f157600080fd5b82356118fc816118c9565b946020939093013593505050565b60008060006060848603121561191f57600080fd5b833561192a816118c9565b9250602084013561193a816118c9565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561197c5761197c61194b565b604051601f8501601f19908116603f011681019082821181831017156119a4576119a461194b565b816040528093508581528686860111156119bd57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119e957600080fd5b813567ffffffffffffffff811115611a0057600080fd5b8201601f81018413611a1157600080fd5b610f0c84823560208401611961565b600060208284031215611a3257600080fd5b813561183e816118c9565b60008060408385031215611a5057600080fd5b8235611a5b816118c9565b915060208301358015158114611a7057600080fd5b809150509250929050565b60008060008060808587031215611a9157600080fd5b8435611a9c816118c9565b93506020850135611aac816118c9565b925060408501359150606085013567ffffffffffffffff811115611acf57600080fd5b8501601f81018713611ae057600080fd5b611aef87823560208401611961565b91505092959194509250565b60008060408385031215611b0e57600080fd5b8235611b19816118c9565b91506020830135611a70816118c9565b600181811c90821680611b3d57607f821691505b602082108103611b5d57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611bc157611bc1611b98565b500190565b6000816000190483118215151615611be057611be0611b98565b500290565b60008151611bf7818560208601611845565b9290920192915050565b600080855481600182811c915080831680611c1d57607f831692505b60208084108203611c3c57634e487b7160e01b86526022600452602486fd5b818015611c505760018114611c6157611c8e565b60ff19861689528489019650611c8e565b60008c81526020902060005b86811015611c865781548b820152908501908301611c6d565b505084890196505b505050505050611ca7611ca18287611be5565b85611be5565b9695505050505050565b600060208284031215611cc357600080fd5b815161183e816118c9565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ca790830184611871565b600060208284031215611d1357600080fd5b815161183e8161180b565b600060018201611d3057611d30611b98565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611d5c57611d5c611d37565b500490565b600082821015611d7357611d73611b98565b500390565b600082611d8757611d87611d37565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212202cd65815987e8d36d98c995ec609a616f374f8cda9d98d8034c4c8c003a7abd464736f6c634300080d0033
Deployed Bytecode Sourcemap
47568:2949:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28545:305;;;;;;;;;;-1:-1:-1;28545:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;28545:305:0;;;;;;;;31660:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33164:204::-;;;;;;;;;;-1:-1:-1;33164:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:1;;;1696:51;;1684:2;1669:18;33164:204:0;1550:203:1;32726:372:0;;;;;;;;;;-1:-1:-1;32726:372:0;;;;;:::i;:::-;;:::i;:::-;;27785:312;;;;;;;;;;-1:-1:-1;48342:1:0;28048:12;27838:7;28032:13;:28;-1:-1:-1;;28032:46:0;27785:312;;;2360:25:1;;;2348:2;2333:18;27785:312:0;2214:177:1;34029:170:0;;;;;;;;;;-1:-1:-1;34029:170:0;;;;;:::i;:::-;;:::i;47909:41::-;;;;;;;;;;;;47946:4;47909:41;;49521:209;;;;;;;;;;;;;:::i;34270:185::-;;;;;;;;;;-1:-1:-1;34270:185:0;;;;;:::i;:::-;;:::i;48146:43::-;;;;;;;;;;;;48188:1;48146:43;;49413:100;;;;;;;;;;-1:-1:-1;49413:100:0;;;;;:::i;:::-;;:::i;31468:125::-;;;;;;;;;;-1:-1:-1;31468:125:0;;;;;:::i;:::-;;:::i;47679:80::-;;;;;;;;;;;;;:::i;28914:206::-;;;;;;;;;;-1:-1:-1;28914:206:0;;;;;:::i;:::-;;:::i;4730:103::-;;;;;;;;;;;;;:::i;48196:45::-;;;;;;;;;;;;48238:3;48196:45;;4079:87;;;;;;;;;;-1:-1:-1;4152:6:0;;-1:-1:-1;;;;;4152:6:0;4079:87;;49213:86;;;;;;;;;;-1:-1:-1;49213:86:0;;;;;:::i;:::-;;:::i;48359:116::-;;;;;;;;;;-1:-1:-1;48359:116:0;;;;;:::i;:::-;;:::i;31829:104::-;;;;;;;;;;;;;:::i;47999:44::-;;;;;;;;;;;;;;;;48483:597;;;;;;:::i;:::-;;:::i;33440:287::-;;;;;;;;;;-1:-1:-1;33440:287:0;;;;;:::i;:::-;;:::i;34526:370::-;;;;;;;;;;-1:-1:-1;34526:370:0;;;;;:::i;:::-;;:::i;47856:46::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;47856:46:0;;;;;49307:98;;;;;;;;;;-1:-1:-1;49307:98:0;;;;;:::i;:::-;;:::i;50160:354::-;;;;;;;;;;-1:-1:-1;50160:354:0;;;;;:::i;:::-;;:::i;48050:89::-;;;;;;;;;;;;48097:42;48050:89;;49088:113;;;;;;;;;;-1:-1:-1;49088:113:0;;;;;:::i;:::-;;:::i;47766:83::-;;;;;;;;;;;;;:::i;49748:404::-;;;;;;;;;;-1:-1:-1;49748:404:0;;;;;:::i;:::-;;:::i;4988:201::-;;;;;;;;;;-1:-1:-1;4988:201:0;;;;;:::i;:::-;;:::i;47965:27::-;;;;;;;;;;;;;;;;28545:305;28647:4;-1:-1:-1;;;;;;28684:40:0;;-1:-1:-1;;;28684:40:0;;:105;;-1:-1:-1;;;;;;;28741:48:0;;-1:-1:-1;;;28741:48:0;28684:105;:158;;;-1:-1:-1;;;;;;;;;;16995:40:0;;;28806:36;28664:178;28545:305;-1:-1:-1;;28545:305:0:o;31660:100::-;31714:13;31747:5;31740:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31660:100;:::o;33164:204::-;33232:7;33257:16;33265:7;33257;:16::i;:::-;33252:64;;33282:34;;-1:-1:-1;;;33282:34:0;;;;;;;;;;;33252:64;-1:-1:-1;33336:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33336:24:0;;33164:204::o;32726:372::-;32799:13;32815:24;32831:7;32815:15;:24::i;:::-;32799:40;;32860:5;-1:-1:-1;;;;;32854:11:0;:2;-1:-1:-1;;;;;32854:11:0;;32850:48;;32874:24;;-1:-1:-1;;;32874:24:0;;;;;;;;;;;32850:48;2883:10;-1:-1:-1;;;;;32915:21:0;;;32911:139;;32942:37;32959:5;2883:10;49748:404;:::i;32942:37::-;32938:112;;33003:35;;-1:-1:-1;;;33003:35:0;;;;;;;;;;;32938:112;33062:28;33071:2;33075:7;33084:5;33062:8;:28::i;:::-;32788:310;32726:372;;:::o;34029:170::-;34163:28;34173:4;34179:2;34183:7;34163:9;:28::i;49521:209::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;;;;;;;;;49640:37:::1;::::0;49589:21:::1;::::0;49571:15:::1;::::0;2883:10;;49589:21;;49571:15;49640:37;49571:15;49640:37;49589:21;2883:10;49640:37:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49621:56;;;49696:7;49688:34;;;::::0;-1:-1:-1;;;49688:34:0;;7106:2:1;49688:34:0::1;::::0;::::1;7088:21:1::0;7145:2;7125:18;;;7118:30;-1:-1:-1;;;7164:18:1;;;7157:44;7218:18;;49688:34:0::1;6904:338:1::0;49688:34:0::1;49560:170;;49521:209::o:0;34270:185::-;34408:39;34425:4;34431:2;34435:7;34408:39;;;;;;;;;;;;:16;:39::i;49413:100::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;49487:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;31468:125::-:0;31532:7;31559:21;31572:7;31559:12;:21::i;:::-;:26;;31468:125;-1:-1:-1;;31468:125:0:o;47679:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;28914:206::-;28978:7;-1:-1:-1;;;;;29002:19:0;;28998:60;;29030:28;;-1:-1:-1;;;29030:28:0;;;;;;;;;;;28998:60;-1:-1:-1;;;;;;29084:19:0;;;;;:12;:19;;;;;:27;;;;28914:206::o;4730:103::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;4795:30:::1;4822:1;4795:18;:30::i;:::-;4730:103::o:0;49213:86::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;49277:5:::1;:14:::0;49213:86::o;48359:116::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;48441:26;;::::1;::::0;:11:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;31829:104::-:0;31885:13;31918:7;31911:14;;;;;:::i;48483:597::-;48342:1;28048:12;27838:7;28032:13;2883:10;;48623:9;;28032:28;-1:-1:-1;;28032:46:0;48607:25;;;;:::i;:::-;47946:4;48593:39;;48585:70;;;;-1:-1:-1;;;48585:70:0;;7714:2:1;48585:70:0;;;7696:21:1;7753:2;7733:18;;;7726:30;-1:-1:-1;;;7772:18:1;;;7765:48;7830:18;;48585:70:0;7512:342:1;48585:70:0;48686:1;48674:9;:13;48666:51;;;;-1:-1:-1;;;48666:51:0;;8061:2:1;48666:51:0;;;8043:21:1;8100:2;8080:18;;;8073:30;8139:27;8119:18;;;8112:55;8184:18;;48666:51:0;7859:349:1;48666:51:0;48342:1;28048:12;27838:7;28032:13;:28;-1:-1:-1;;28032:46:0;48238:3;48733:32;48730:301;;48801:9;48789:8;;:21;;48781:58;;;;-1:-1:-1;;;48781:58:0;;8415:2:1;48781:58:0;;;8397:21:1;8454:2;8434:18;;;8427:30;8493:25;8473:18;;;8466:53;8536:18;;48781:58:0;8213:347:1;48781:58:0;48730:301;;;48890:9;48878:8;;:21;;48870:69;;;;-1:-1:-1;;;48870:69:0;;8767:2:1;48870:69:0;;;8749:21:1;8806:2;8786:18;;;8779:30;8845:34;8825:18;;;8818:62;-1:-1:-1;;;8896:18:1;;;8889:32;8938:19;;48870:69:0;8565:398:1;48870:69:0;48983:9;48974:5;;48962:9;:17;;;;:::i;:::-;:30;48954:65;;;;-1:-1:-1;;;48954:65:0;;9343:2:1;48954:65:0;;;9325:21:1;9382:2;9362:18;;;9355:30;-1:-1:-1;;;9401:18:1;;;9394:52;9463:18;;48954:65:0;9141:346:1;48954:65:0;49043:29;49053:7;49062:9;49043;:29::i;33440:287::-;2883:10;-1:-1:-1;;;;;33539:24:0;;;33535:54;;33572:17;;-1:-1:-1;;;33572:17:0;;;;;;;;;;;33535:54;2883:10;33602:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;33602:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;33602:53:0;;;;;;;;;;33671:48;;540:41:1;;;33602:42:0;;2883:10;33671:48;;513:18:1;33671:48:0;;;;;;;33440:287;;:::o;34526:370::-;34693:28;34703:4;34709:2;34713:7;34693:9;:28::i;:::-;-1:-1:-1;;;;;34736:13:0;;7075:19;:23;34732:157;;34757:56;34788:4;34794:2;34798:7;34807:5;34757:30;:56::i;:::-;34753:136;;34837:40;;-1:-1:-1;;;34837:40:0;;;;;;;;;;;34753:136;34526:370;;;;:::o;49307:98::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;49377:8:::1;:20:::0;49307:98::o;50160:354::-;50226:13;50260:17;50268:8;50260:7;:17::i;:::-;50252:51;;;;-1:-1:-1;;;50252:51:0;;9694:2:1;50252:51:0;;;9676:21:1;9733:2;9713:18;;;9706:30;-1:-1:-1;;;9752:18:1;;;9745:51;9813:18;;50252:51:0;9492:345:1;50252:51:0;50345:1;50327:7;50321:21;;;;;:::i;:::-;;;:25;:183;;;;;;;;;;;;;;;;;50401:7;50423:26;50440:8;50423:16;:26::i;:::-;50464:13;;;;;;;;;;;;;-1:-1:-1;;;50464:13:0;;;50370:122;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;50314:190;50160:354;-1:-1:-1;;50160:354:0:o;49088:113::-;-1:-1:-1;;;;;29298:19:0;;49146:7;29298:19;;;:12;:19;;;;;:32;-1:-1:-1;;;29298:32:0;;;;49173:20;29202:137;47766:83;;;;;;;:::i;49748:404::-;50005:28;;-1:-1:-1;;;50005:28:0;;-1:-1:-1;;;;;1714:32:1;;;50005:28:0;;;1696:51:1;49837:4:0;;48097:42;;49997:49;;;48097:42;;50005:21;;1669:18:1;;50005:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;49997:49:0;;49993:93;;50070:4;50063:11;;;;;49993:93;-1:-1:-1;;;;;33919:25:0;;;33895:4;33919:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;50105:39;50098:46;49748:404;-1:-1:-1;;;;49748:404:0:o;4988:201::-;4152:6;;-1:-1:-1;;;;;4152:6:0;2883:10;4299:23;4291:68;;;;-1:-1:-1;;;4291:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5077:22:0;::::1;5069:73;;;::::0;-1:-1:-1;;;5069:73:0;;11899:2:1;5069:73:0::1;::::0;::::1;11881:21:1::0;11938:2;11918:18;;;11911:30;11977:34;11957:18;;;11950:62;-1:-1:-1;;;12028:18:1;;;12021:36;12074:19;;5069:73:0::1;11697:402:1::0;5069:73:0::1;5153:28;5172:8;5153:18;:28::i;:::-;4988:201:::0;:::o;35151:174::-;35208:4;35251:7;48342:1;35232:26;;:53;;;;;35272:13;;35262:7;:23;35232:53;:85;;;;-1:-1:-1;;35290:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;35290:27:0;;;;35289:28;;35151:174::o;44373:196::-;44488:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;44488:29:0;-1:-1:-1;;;;;44488:29:0;;;;;;;;;44533:28;;44488:24;;44533:28;;;;;;;44373:196;;;:::o;39321:2130::-;39436:35;39474:21;39487:7;39474:12;:21::i;:::-;39436:59;;39534:4;-1:-1:-1;;;;;39512:26:0;:13;:18;;;-1:-1:-1;;;;;39512:26:0;;39508:67;;39547:28;;-1:-1:-1;;;39547:28:0;;;;;;;;;;;39508:67;39588:22;2883:10;-1:-1:-1;;;;;39614:20:0;;;;:73;;-1:-1:-1;39651:36:0;39668:4;2883:10;49748:404;:::i;39651:36::-;39614:126;;;-1:-1:-1;2883:10:0;39704:20;39716:7;39704:11;:20::i;:::-;-1:-1:-1;;;;;39704:36:0;;39614:126;39588:153;;39759:17;39754:66;;39785:35;;-1:-1:-1;;;39785:35:0;;;;;;;;;;;39754:66;-1:-1:-1;;;;;39835:16:0;;39831:52;;39860:23;;-1:-1:-1;;;39860:23:0;;;;;;;;;;;39831:52;40004:35;40021:1;40025:7;40034:4;40004:8;:35::i;:::-;-1:-1:-1;;;;;40335:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;40335:31:0;;;;;;;-1:-1:-1;;40335:31:0;;;;;;;40381:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;40381:29:0;;;;;;;;;;;40461:20;;;:11;:20;;;;;;40496:18;;-1:-1:-1;;;;;;40529:49:0;;;;-1:-1:-1;;;40562:15:0;40529:49;;;;;;;;;;40852:11;;40912:24;;;;;40955:13;;40461:20;;40912:24;;40955:13;40951:384;;41165:13;;41150:11;:28;41146:174;;41203:20;;41272:28;;;;41246:54;;-1:-1:-1;;;41246:54:0;-1:-1:-1;;;;;;41246:54:0;;;-1:-1:-1;;;;;41203:20:0;;41246:54;;;;41146:174;40310:1036;;;41382:7;41378:2;-1:-1:-1;;;;;41363:27:0;41372:4;-1:-1:-1;;;;;41363:27:0;;;;;;;;;;;39425:2026;;39321:2130;;;:::o;30295:1111::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;30406:7:0;;48342:1;30455:23;30451:888;;30491:13;;30484:4;:20;30480:859;;;30525:31;30559:17;;;:11;:17;;;;;;;;;30525:51;;;;;;;;;-1:-1:-1;;;;;30525:51:0;;;;-1:-1:-1;;;30525:51:0;;;;;;;;;;;-1:-1:-1;;;30525:51:0;;;;;;;;;;;;;;30595:729;;30645:14;;-1:-1:-1;;;;;30645:28:0;;30641:101;;30709:9;30295:1111;-1:-1:-1;;;30295:1111:0:o;30641:101::-;-1:-1:-1;;;31084:6:0;31129:17;;;;:11;:17;;;;;;;;;31117:29;;;;;;;;;-1:-1:-1;;;;;31117:29:0;;;;;-1:-1:-1;;;31117:29:0;;;;;;;;;;;-1:-1:-1;;;31117:29:0;;;;;;;;;;;;;31177:28;31173:109;;31245:9;30295:1111;-1:-1:-1;;;30295:1111:0:o;31173:109::-;31044:261;;;30506:833;30480:859;31367:31;;-1:-1:-1;;;31367:31:0;;;;;;;;;;;5349:191;5442:6;;;-1:-1:-1;;;;;5459:17:0;;;-1:-1:-1;;;;;;5459:17:0;;;;;;;5492:40;;5442:6;;;5459:17;5442:6;;5492:40;;5423:16;;5492:40;5412:128;5349:191;:::o;35409:104::-;35478:27;35488:2;35492:8;35478:27;;;;;;;;;;;;:9;:27::i;45061:667::-;45245:72;;-1:-1:-1;;;45245:72:0;;45224:4;;-1:-1:-1;;;;;45245:36:0;;;;;:72;;2883:10;;45296:4;;45302:7;;45311:5;;45245:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45245:72:0;;;;;;;;-1:-1:-1;;45245:72:0;;;;;;;;;;;;:::i;:::-;;;45241:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45479:6;:13;45496:1;45479:18;45475:235;;45525:40;;-1:-1:-1;;;45525:40:0;;;;;;;;;;;45475:235;45668:6;45662:13;45653:6;45649:2;45645:15;45638:38;45241:480;-1:-1:-1;;;;;;45364:55:0;-1:-1:-1;;;45364:55:0;;-1:-1:-1;45061:667:0;;;;;;:::o;365:723::-;421:13;642:5;651:1;642:10;638:53;;-1:-1:-1;;669:10:0;;;;;;;;;;;;-1:-1:-1;;;669:10:0;;;;;365:723::o;638:53::-;716:5;701:12;757:78;764:9;;757:78;;790:8;;;;:::i;:::-;;-1:-1:-1;813:10:0;;-1:-1:-1;821:2:0;813:10;;:::i;:::-;;;757:78;;;845:19;877:6;867:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;867:17:0;;845:39;;895:154;902:10;;895:154;;929:11;939:1;929:11;;:::i;:::-;;-1:-1:-1;998:10:0;1006:2;998:5;:10;:::i;:::-;985:24;;:2;:24;:::i;:::-;972:39;;955:6;962;955:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;955:56:0;;;;;;;;-1:-1:-1;1026:11:0;1035:2;1026:11;;:::i;:::-;;;895:154;;35886:1749;36009:20;36032:13;-1:-1:-1;;;;;36060:16:0;;36056:48;;36085:19;;-1:-1:-1;;;36085:19:0;;;;;;;;;;;36056:48;36119:8;36131:1;36119:13;36115:44;;36141:18;;-1:-1:-1;;;36141:18:0;;;;;;;;;;;36115:44;-1:-1:-1;;;;;36510:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;36569:49:0;;36510:44;;;;;;;;36569:49;;;-1:-1:-1;;;;;36510:44:0;;;;;;36569:49;;;;;;;;;;;;;;;;36635:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;36685:66:0;;;-1:-1:-1;;;36735:15:0;36685:66;;;;;;;;;;;;;36635:25;;36832:23;;;;7075:19;:23;36872:631;;36912:313;36943:38;;36968:12;;-1:-1:-1;;;;;36943:38:0;;;36960:1;;36943:38;;36960:1;;36943:38;37009:69;37048:1;37052:2;37056:14;;;;;;37072:5;37009:30;:69::i;:::-;37004:174;;37114:40;;-1:-1:-1;;;37114:40:0;;;;;;;;;;;37004:174;37220:3;37205:12;:18;36912:313;;37306:12;37289:13;;:29;37285:43;;37320:8;;;37285:43;36872:631;;;37369:119;37400:40;;37425:14;;;;;-1:-1:-1;;;;;37400:40:0;;;37417:1;;37400:40;;37417:1;;37400:40;37483:3;37468:12;:18;37369:119;;36872:631;-1:-1:-1;37517:13:0;:28;;;37567:60;;37600:2;37604:12;37618:8;37567:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:1;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:1:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:1;;1365:180;-1:-1:-1;1365:180:1:o;1758:131::-;-1:-1:-1;;;;;1833:31:1;;1823:42;;1813:70;;1879:1;1876;1869:12;1894:315;1962:6;1970;2023:2;2011:9;2002:7;1998:23;1994:32;1991:52;;;2039:1;2036;2029:12;1991:52;2078:9;2065:23;2097:31;2122:5;2097:31;:::i;:::-;2147:5;2199:2;2184:18;;;;2171:32;;-1:-1:-1;;;1894:315:1:o;2396:456::-;2473:6;2481;2489;2542:2;2530:9;2521:7;2517:23;2513:32;2510:52;;;2558:1;2555;2548:12;2510:52;2597:9;2584:23;2616:31;2641:5;2616:31;:::i;:::-;2666:5;-1:-1:-1;2723:2:1;2708:18;;2695:32;2736:33;2695:32;2736:33;:::i;:::-;2396:456;;2788:7;;-1:-1:-1;;;2842:2:1;2827:18;;;;2814:32;;2396:456::o;2857:127::-;2918:10;2913:3;2909:20;2906:1;2899:31;2949:4;2946:1;2939:15;2973:4;2970:1;2963:15;2989:632;3054:5;3084:18;3125:2;3117:6;3114:14;3111:40;;;3131:18;;:::i;:::-;3206:2;3200:9;3174:2;3260:15;;-1:-1:-1;;3256:24:1;;;3282:2;3252:33;3248:42;3236:55;;;3306:18;;;3326:22;;;3303:46;3300:72;;;3352:18;;:::i;:::-;3392:10;3388:2;3381:22;3421:6;3412:15;;3451:6;3443;3436:22;3491:3;3482:6;3477:3;3473:16;3470:25;3467:45;;;3508:1;3505;3498:12;3467:45;3558:6;3553:3;3546:4;3538:6;3534:17;3521:44;3613:1;3606:4;3597:6;3589;3585:19;3581:30;3574:41;;;;2989:632;;;;;:::o;3626:451::-;3695:6;3748:2;3736:9;3727:7;3723:23;3719:32;3716:52;;;3764:1;3761;3754:12;3716:52;3804:9;3791:23;3837:18;3829:6;3826:30;3823:50;;;3869:1;3866;3859:12;3823:50;3892:22;;3945:4;3937:13;;3933:27;-1:-1:-1;3923:55:1;;3974:1;3971;3964:12;3923:55;3997:74;4063:7;4058:2;4045:16;4040:2;4036;4032:11;3997:74;:::i;4082:247::-;4141:6;4194:2;4182:9;4173:7;4169:23;4165:32;4162:52;;;4210:1;4207;4200:12;4162:52;4249:9;4236:23;4268:31;4293:5;4268:31;:::i;4334:416::-;4399:6;4407;4460:2;4448:9;4439:7;4435:23;4431:32;4428:52;;;4476:1;4473;4466:12;4428:52;4515:9;4502:23;4534:31;4559:5;4534:31;:::i;:::-;4584:5;-1:-1:-1;4641:2:1;4626:18;;4613:32;4683:15;;4676:23;4664:36;;4654:64;;4714:1;4711;4704:12;4654:64;4737:7;4727:17;;;4334:416;;;;;:::o;4755:795::-;4850:6;4858;4866;4874;4927:3;4915:9;4906:7;4902:23;4898:33;4895:53;;;4944:1;4941;4934:12;4895:53;4983:9;4970:23;5002:31;5027:5;5002:31;:::i;:::-;5052:5;-1:-1:-1;5109:2:1;5094:18;;5081:32;5122:33;5081:32;5122:33;:::i;:::-;5174:7;-1:-1:-1;5228:2:1;5213:18;;5200:32;;-1:-1:-1;5283:2:1;5268:18;;5255:32;5310:18;5299:30;;5296:50;;;5342:1;5339;5332:12;5296:50;5365:22;;5418:4;5410:13;;5406:27;-1:-1:-1;5396:55:1;;5447:1;5444;5437:12;5396:55;5470:74;5536:7;5531:2;5518:16;5513:2;5509;5505:11;5470:74;:::i;:::-;5460:84;;;4755:795;;;;;;;:::o;5555:388::-;5623:6;5631;5684:2;5672:9;5663:7;5659:23;5655:32;5652:52;;;5700:1;5697;5690:12;5652:52;5739:9;5726:23;5758:31;5783:5;5758:31;:::i;:::-;5808:5;-1:-1:-1;5865:2:1;5850:18;;5837:32;5878:33;5837:32;5878:33;:::i;5948:380::-;6027:1;6023:12;;;;6070;;;6091:61;;6145:4;6137:6;6133:17;6123:27;;6091:61;6198:2;6190:6;6187:14;6167:18;6164:38;6161:161;;6244:10;6239:3;6235:20;6232:1;6225:31;6279:4;6276:1;6269:15;6307:4;6304:1;6297:15;6161:161;;5948:380;;;:::o;6333:356::-;6535:2;6517:21;;;6554:18;;;6547:30;6613:34;6608:2;6593:18;;6586:62;6680:2;6665:18;;6333:356::o;7247:127::-;7308:10;7303:3;7299:20;7296:1;7289:31;7339:4;7336:1;7329:15;7363:4;7360:1;7353:15;7379:128;7419:3;7450:1;7446:6;7443:1;7440:13;7437:39;;;7456:18;;:::i;:::-;-1:-1:-1;7492:9:1;;7379:128::o;8968:168::-;9008:7;9074:1;9070;9066:6;9062:14;9059:1;9056:21;9051:1;9044:9;9037:17;9033:45;9030:71;;;9081:18;;:::i;:::-;-1:-1:-1;9121:9:1;;8968:168::o;9968:185::-;10010:3;10048:5;10042:12;10063:52;10108:6;10103:3;10096:4;10089:5;10085:16;10063:52;:::i;:::-;10131:16;;;;;9968:185;-1:-1:-1;;9968:185:1:o;10158:1249::-;10382:3;10411:1;10444:6;10438:13;10474:3;10496:1;10524:9;10520:2;10516:18;10506:28;;10584:2;10573:9;10569:18;10606;10596:61;;10650:4;10642:6;10638:17;10628:27;;10596:61;10676:2;10724;10716:6;10713:14;10693:18;10690:38;10687:165;;-1:-1:-1;;;10751:33:1;;10807:4;10804:1;10797:15;10837:4;10758:3;10825:17;10687:165;10868:18;10895:104;;;;11013:1;11008:320;;;;10861:467;;10895:104;-1:-1:-1;;10928:24:1;;10916:37;;10973:16;;;;-1:-1:-1;10895:104:1;;11008:320;9915:1;9908:14;;;9952:4;9939:18;;11103:1;11117:165;11131:6;11128:1;11125:13;11117:165;;;11209:14;;11196:11;;;11189:35;11252:16;;;;11146:10;;11117:165;;;11121:3;;11311:6;11306:3;11302:16;11295:23;;10861:467;;;;;;;11344:57;11370:30;11396:3;11388:6;11370:30;:::i;:::-;11362:6;11344:57;:::i;:::-;11337:64;10158:1249;-1:-1:-1;;;;;;10158:1249:1:o;11412:280::-;11511:6;11564:2;11552:9;11543:7;11539:23;11535:32;11532:52;;;11580:1;11577;11570:12;11532:52;11612:9;11606:16;11631:31;11656:5;11631:31;:::i;12104:500::-;-1:-1:-1;;;;;12373:15:1;;;12355:34;;12425:15;;12420:2;12405:18;;12398:43;12472:2;12457:18;;12450:34;;;12520:3;12515:2;12500:18;;12493:31;;;12298:4;;12541:57;;12578:19;;12570:6;12541:57;:::i;12609:249::-;12678:6;12731:2;12719:9;12710:7;12706:23;12702:32;12699:52;;;12747:1;12744;12737:12;12699:52;12779:9;12773:16;12798:30;12822:5;12798:30;:::i;12863:135::-;12902:3;12923:17;;;12920:43;;12943:18;;:::i;:::-;-1:-1:-1;12990:1:1;12979:13;;12863:135::o;13003:127::-;13064:10;13059:3;13055:20;13052:1;13045:31;13095:4;13092:1;13085:15;13119:4;13116:1;13109:15;13135:120;13175:1;13201;13191:35;;13206:18;;:::i;:::-;-1:-1:-1;13240:9:1;;13135:120::o;13260:125::-;13300:4;13328:1;13325;13322:8;13319:34;;;13333:18;;:::i;:::-;-1:-1:-1;13370:9:1;;13260:125::o;13390:112::-;13422:1;13448;13438:35;;13453:18;;:::i;:::-;-1:-1:-1;13487:9:1;;13390:112::o;13507:127::-;13568:10;13563:3;13559:20;13556:1;13549:31;13599:4;13596:1;13589:15;13623:4;13620:1;13613:15
Swarm Source
ipfs://2cd65815987e8d36d98c995ec609a616f374f8cda9d98d8034c4c8c003a7abd4
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.