ERC-721
Source Code
Overview
Max Total Supply
500 LFCN
Holders
500
Market
Onchain Market Cap
-
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
1 LFCNLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
LindaClub
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/**
*Submitted for verification at lineascan.build/ on 2023-12-22
*/
pragma solidity ^0.8.9;
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
/**
* @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);
}
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
* or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
* understand this adds an external call which potentially creates a reentrancy vulnerability.
*
* 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);
}
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
/**
* @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);
}
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
/**
* @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
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, 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) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or 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 {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
* @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;
}
}
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
enum Rounding {
Down, // Toward negative infinity
Up, // Toward infinity
Zero // Toward zero
}
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a == 0 ? 0 : (a - 1) / b + 1;
}
/**
* @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
* @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
* with further edits by Uniswap Labs also under MIT license.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
unchecked {
// 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
// use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
// variables such that product = prod1 * 2^256 + prod0.
uint256 prod0; // Least significant 256 bits of the product
uint256 prod1; // Most significant 256 bits of the product
assembly {
let mm := mulmod(x, y, not(0))
prod0 := mul(x, y)
prod1 := sub(sub(mm, prod0), lt(mm, prod0))
}
// Handle non-overflow cases, 256 by 256 division.
if (prod1 == 0) {
// Solidity will revert if denominator == 0, unlike the div opcode on its own.
// The surrounding unchecked block does not change this fact.
// See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
return prod0 / denominator;
}
// Make sure the result is less than 2^256. Also prevents denominator == 0.
require(denominator > prod1, "Math: mulDiv overflow");
///////////////////////////////////////////////
// 512 by 256 division.
///////////////////////////////////////////////
// Make division exact by subtracting the remainder from [prod1 prod0].
uint256 remainder;
assembly {
// Compute remainder using mulmod.
remainder := mulmod(x, y, denominator)
// Subtract 256 bit number from 512 bit number.
prod1 := sub(prod1, gt(remainder, prod0))
prod0 := sub(prod0, remainder)
}
// Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
// See https://cs.stackexchange.com/q/138556/92363.
// Does not overflow because the denominator cannot be zero at this stage in the function.
uint256 twos = denominator & (~denominator + 1);
assembly {
// Divide denominator by twos.
denominator := div(denominator, twos)
// Divide [prod1 prod0] by twos.
prod0 := div(prod0, twos)
// Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
twos := add(div(sub(0, twos), twos), 1)
}
// Shift in bits from prod1 into prod0.
prod0 |= prod1 * twos;
// Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
// that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
// four bits. That is, denominator * inv = 1 mod 2^4.
uint256 inverse = (3 * denominator) ^ 2;
// Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
// in modular arithmetic, doubling the correct bits in each step.
inverse *= 2 - denominator * inverse; // inverse mod 2^8
inverse *= 2 - denominator * inverse; // inverse mod 2^16
inverse *= 2 - denominator * inverse; // inverse mod 2^32
inverse *= 2 - denominator * inverse; // inverse mod 2^64
inverse *= 2 - denominator * inverse; // inverse mod 2^128
inverse *= 2 - denominator * inverse; // inverse mod 2^256
// Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
// This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
// less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
// is no longer required.
result = prod0 * inverse;
return result;
}
}
/**
* @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
*/
function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
uint256 result = mulDiv(x, y, denominator);
if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
result += 1;
}
return result;
}
/**
* @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
*
* Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
*/
function sqrt(uint256 a) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
// For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
//
// We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
// `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
//
// This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
// → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
// → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
//
// Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
uint256 result = 1 << (log2(a) >> 1);
// At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
// since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
// every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
// into the expected uint128 result.
unchecked {
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
result = (result + a / result) >> 1;
return min(result, a / result);
}
}
/**
* @notice Calculates sqrt(a), following the selected rounding direction.
*/
function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = sqrt(a);
return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
}
}
/**
* @dev Return the log in base 2, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 128;
}
if (value >> 64 > 0) {
value >>= 64;
result += 64;
}
if (value >> 32 > 0) {
value >>= 32;
result += 32;
}
if (value >> 16 > 0) {
value >>= 16;
result += 16;
}
if (value >> 8 > 0) {
value >>= 8;
result += 8;
}
if (value >> 4 > 0) {
value >>= 4;
result += 4;
}
if (value >> 2 > 0) {
value >>= 2;
result += 2;
}
if (value >> 1 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 2, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log2(value);
return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 10, rounded down, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >= 10 ** 64) {
value /= 10 ** 64;
result += 64;
}
if (value >= 10 ** 32) {
value /= 10 ** 32;
result += 32;
}
if (value >= 10 ** 16) {
value /= 10 ** 16;
result += 16;
}
if (value >= 10 ** 8) {
value /= 10 ** 8;
result += 8;
}
if (value >= 10 ** 4) {
value /= 10 ** 4;
result += 4;
}
if (value >= 10 ** 2) {
value /= 10 ** 2;
result += 2;
}
if (value >= 10 ** 1) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 10, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log10(value);
return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
}
}
/**
* @dev Return the log in base 256, rounded down, of a positive value.
* Returns 0 if given 0.
*
* Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
*/
function log256(uint256 value) internal pure returns (uint256) {
uint256 result = 0;
unchecked {
if (value >> 128 > 0) {
value >>= 128;
result += 16;
}
if (value >> 64 > 0) {
value >>= 64;
result += 8;
}
if (value >> 32 > 0) {
value >>= 32;
result += 4;
}
if (value >> 16 > 0) {
value >>= 16;
result += 2;
}
if (value >> 8 > 0) {
result += 1;
}
}
return result;
}
/**
* @dev Return the log in base 256, following the selected rounding direction, of a positive value.
* Returns 0 if given 0.
*/
function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
unchecked {
uint256 result = log256(value);
return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
}
}
}
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)
/**
* @dev Standard signed math utilities missing in the Solidity language.
*/
library SignedMath {
/**
* @dev Returns the largest of two signed numbers.
*/
function max(int256 a, int256 b) internal pure returns (int256) {
return a > b ? a : b;
}
/**
* @dev Returns the smallest of two signed numbers.
*/
function min(int256 a, int256 b) internal pure returns (int256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two signed numbers without overflow.
* The result is rounded towards zero.
*/
function average(int256 a, int256 b) internal pure returns (int256) {
// Formula from the book "Hacker's Delight"
int256 x = (a & b) + ((a ^ b) >> 1);
return x + (int256(uint256(x) >> 255) & (a ^ b));
}
/**
* @dev Returns the absolute unsigned value of a signed value.
*/
function abs(int256 n) internal pure returns (uint256) {
unchecked {
// must be unchecked in order to support `n = type(int256).min`
return uint256(n >= 0 ? n : -n);
}
}
}
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
unchecked {
uint256 length = Math.log10(value) + 1;
string memory buffer = new string(length);
uint256 ptr;
/// @solidity memory-safe-assembly
assembly {
ptr := add(buffer, add(32, length))
}
while (true) {
ptr--;
/// @solidity memory-safe-assembly
assembly {
mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
}
value /= 10;
if (value == 0) break;
}
return buffer;
}
}
/**
* @dev Converts a `int256` to its ASCII `string` decimal representation.
*/
function toString(int256 value) internal pure returns (string memory) {
return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
unchecked {
return toHexString(value, Math.log256(value) + 1);
}
}
/**
* @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] = _SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
/**
* @dev Returns true if the two strings are equal.
*/
function equal(string memory a, string memory b) internal pure returns (bool) {
return keccak256(bytes(a)) == keccak256(bytes(b));
}
}
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: address zero is not a valid owner");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _ownerOf(tokenId);
require(owner != address(0), "ERC721: invalid token ID");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
_requireMinted(tokenId);
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not token owner or approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
_requireMinted(tokenId);
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(address from, address to, uint256 tokenId) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
_safeTransfer(from, to, tokenId, data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
*/
function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
return _owners[tokenId];
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _ownerOf(tokenId) != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId, 1);
// Check that tokenId was not minted by `_beforeTokenTransfer` hook
require(!_exists(tokenId), "ERC721: token already minted");
unchecked {
// Will not overflow unless all 2**256 token ids are minted to the same owner.
// Given that tokens are minted one by one, it is impossible in practice that
// this ever happens. Might change if we allow batch minting.
// The ERC fails to describe this case.
_balances[to] += 1;
}
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId, 1);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
* This is an internal function that does not check if the sender is authorized to operate on the token.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId, 1);
// Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
owner = ERC721.ownerOf(tokenId);
// Clear approvals
delete _tokenApprovals[tokenId];
unchecked {
// Cannot overflow, as that would require more tokens to be burned/transferred
// out than the owner initially received through minting and transferring in.
_balances[owner] -= 1;
}
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId, 1);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(address from, address to, uint256 tokenId) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId, 1);
// Check that tokenId was not transferred by `_beforeTokenTransfer` hook
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
// Clear approvals from the previous owner
delete _tokenApprovals[tokenId];
unchecked {
// `_balances[from]` cannot overflow for the same reason as described in `_burn`:
// `from`'s balance is the number of token held, which is at least one before the current
// transfer.
// `_balances[to]` could overflow in the conditions described in `_mint`. That would require
// all 2**256 token ids to be minted, which in practice is impossible.
_balances[from] -= 1;
_balances[to] += 1;
}
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId, 1);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits an {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Reverts if the `tokenId` has not been minted yet.
*/
function _requireMinted(uint256 tokenId) internal view virtual {
require(_exists(tokenId), "ERC721: invalid token ID");
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
/// @solidity memory-safe-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
* used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
* - When `from` is zero, the tokens will be minted for `to`.
* - When `to` is zero, ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
* - `batchSize` is non-zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}
/**
* @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
* used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
* - When `from` is zero, the tokens were minted for `to`.
* - When `to` is zero, ``from``'s tokens were burned.
* - `from` and `to` are never both zero.
* - `batchSize` is non-zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {}
/**
* @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
*
* WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
* being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
* that `ownerOf(tokenId)` is `a`.
*/
// solhint-disable-next-line func-name-mixedcase
function __unsafe_increaseBalance(address account, uint256 amount) internal {
_balances[account] += amount;
}
}
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev See {ERC721-_beforeTokenTransfer}.
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 firstTokenId,
uint256 batchSize
) internal virtual override {
super._beforeTokenTransfer(from, to, firstTokenId, batchSize);
if (batchSize > 1) {
// Will only trigger during construction. Batch transferring (minting) is not available afterwards.
revert("ERC721Enumerable: consecutive transfers not supported");
}
uint256 tokenId = firstTokenId;
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling 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);
}
}
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
contract LindaClub is ERC721Enumerable, Ownable {
using Counters for Counters.Counter;
using Strings for uint256;
Counters.Counter private _tokenIdCounter;
string private _baseTokenURI;
string public contractURI;
mapping(uint256 => string) private _tokenURIs;
event TokenUpdated(uint256 indexed token, string newURI);
constructor()
ERC721("Linda Founders Club", "LFCN") {
}
function mintAirdrop(address[] memory list) external onlyOwner {
uint256 listLength = list.length;
for(uint256 i = 0; i < listLength; i++) {
if (balanceOf(list[i]) == 0) {
_tokenIdCounter.increment();
uint256 tokenId = _tokenIdCounter.current();
_safeMint(list[i], tokenId);
}
}
}
function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyOwner {
require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
_tokenURIs[tokenId] = _tokenURI;
emit TokenUpdated(tokenId, _tokenURI);
}
function setContractURI(string memory _contractURI) external onlyOwner {
contractURI = _contractURI;
}
function setBaseURI(string calldata baseURI) external onlyOwner {
_baseTokenURI = baseURI;
}
function withdraw() external onlyOwner {
(bool success, ) = msg.sender.call{value: address(this).balance}("");
require(success, "Transfer failed.");
}
function readCount() public view returns(uint256) {
return _tokenIdCounter.current();
}
function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
string memory _tokenURI = _tokenURIs[tokenId];
string memory baseURI = _baseURI();
if (bytes(_tokenURI).length > 0) {
return _tokenURI;
}
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
function supportsInterface(bytes4 interfaceId)
public
view
override(ERC721Enumerable)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
function _baseURI() internal view virtual override returns (string memory) {
return _baseTokenURI;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"token","type":"uint256"},{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"TokenUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"list","type":"address[]"}],"name":"mintAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"readCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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
60806040523480156200001157600080fd5b50604080518082018252601381527f4c696e646120466f756e6465727320436c756200000000000000000000000000602080830191825283518085019094526004845263262321a760e11b908401528151919291620000739160009162000102565b5080516200008990600190602084019062000102565b505050620000a6620000a0620000ac60201b60201c565b620000b0565b620001e5565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011090620001a8565b90600052602060002090601f0160209004810192826200013457600085556200017f565b82601f106200014f57805160ff19168380011785556200017f565b828001600101855582156200017f579182015b828111156200017f57825182559160200191906001019062000162565b506200018d92915062000191565b5090565b5b808211156200018d576000815560010162000192565b600181811c90821680620001bd57607f821691505b60208210811415620001df57634e487b7160e01b600052602260045260246000fd5b50919050565b6120b380620001f56000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063b88d4fde11610097578063dbf89bd311610071578063dbf89bd314610342578063e8a3d4851461034a578063e985e9c514610352578063f2fde38b1461038e57600080fd5b8063b88d4fde14610309578063c59531701461031c578063c87b56dd1461032f57600080fd5b806370a08231146102af578063715018a6146102c25780638da5cb5b146102ca578063938e3d7b146102db57806395d89b41146102ee578063a22cb465146102f657600080fd5b806323b872dd1161014b57806342842e0e1161012557806342842e0e146102635780634f6ccce71461027657806355f804b3146102895780636352211e1461029c57600080fd5b806323b872dd146102355780632f745c59146102485780633ccfd60b1461025b57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb578063162094c41461021057806318160ddd14610223575b600080fd5b6101a66101a13660046119d7565b6103a1565b60405190151581526020015b60405180910390f35b6101c36103b2565b6040516101b29190611a53565b6101e36101de366004611a66565b610444565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611a9b565b61046b565b005b61020e61021e366004611b84565b610586565b6008545b6040519081526020016101b2565b61020e610243366004611bcb565b610665565b610227610256366004611a9b565b610696565b61020e61072c565b61020e610271366004611bcb565b6107c2565b610227610284366004611a66565b6107dd565b61020e610297366004611c07565b610870565b6101e36102aa366004611a66565b610884565b6102276102bd366004611c79565b6108e4565b61020e61096a565b600a546001600160a01b03166101e3565b61020e6102e9366004611c94565b61097e565b6101c361099d565b61020e610304366004611cc9565b6109ac565b61020e610317366004611d05565b6109b7565b61020e61032a366004611d81565b6109ef565b6101c361033d366004611a66565b610a7c565b610227610b86565b6101c3610b96565b6101a6610360366004611e2e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020e61039c366004611c79565b610c24565b60006103ac82610c9a565b92915050565b6060600080546103c190611e61565b80601f01602080910402602001604051908101604052809291908181526020018280546103ed90611e61565b801561043a5780601f1061040f5761010080835404028352916020019161043a565b820191906000526020600020905b81548152906001019060200180831161041d57829003601f168201915b5050505050905090565b600061044f82610cbf565b506000908152600460205260409020546001600160a01b031690565b600061047682610884565b9050806001600160a01b0316836001600160a01b031614156104e95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061050557506105058133610360565b6105775760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104e0565b6105818383610d1e565b505050565b61058e610d8c565b6000828152600260205260409020546001600160a01b03166106095760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016104e0565b6000828152600e602090815260409091208251610628928401906118b4565b50817fc6cad9e996e0821deea2cbff24c7675346ff70ecb9e88648c62bb0c1c575e127826040516106599190611a53565b60405180910390a25050565b61066f3382610de6565b61068b5760405162461bcd60e51b81526004016104e090611e9c565b610581838383610e64565b60006106a1836108e4565b82106107035760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104e0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610734610d8c565b604051600090339047908381818185875af1925050503d8060008114610776576040519150601f19603f3d011682016040523d82523d6000602084013e61077b565b606091505b50509050806107bf5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016104e0565b50565b610581838383604051806020016040528060008152506109b7565b60006107e860085490565b821061084b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104e0565b6008828154811061085e5761085e611ee9565b90600052602060002001549050919050565b610878610d8c565b610581600c8383611938565b6000818152600260205260408120546001600160a01b0316806103ac5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104e0565b60006001600160a01b03821661094e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104e0565b506001600160a01b031660009081526003602052604090205490565b610972610d8c565b61097c6000610fd5565b565b610986610d8c565b805161099990600d9060208401906118b4565b5050565b6060600180546103c190611e61565b610999338383611027565b6109c13383610de6565b6109dd5760405162461bcd60e51b81526004016104e090611e9c565b6109e9848484846110f6565b50505050565b6109f7610d8c565b805160005b8181101561058157610a26838281518110610a1957610a19611ee9565b60200260200101516108e4565b610a6a57610a38600b80546001019055565b6000610a43600b5490565b9050610a68848381518110610a5a57610a5a611ee9565b602002602001015182611129565b505b80610a7481611f15565b9150506109fc565b6000818152600e6020526040812080546060929190610a9a90611e61565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac690611e61565b8015610b135780601f10610ae857610100808354040283529160200191610b13565b820191906000526020600020905b815481529060010190602001808311610af657829003601f168201915b505050505090506000610b24611143565b825190915015610b35575092915050565b6000815111610b535760405180602001604052806000815250610b7e565b80610b5d85611152565b604051602001610b6e929190611f30565b6040516020818303038152906040525b949350505050565b6000610b91600b5490565b905090565b600d8054610ba390611e61565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcf90611e61565b8015610c1c5780601f10610bf157610100808354040283529160200191610c1c565b820191906000526020600020905b815481529060010190602001808311610bff57829003601f168201915b505050505081565b610c2c610d8c565b6001600160a01b038116610c915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e0565b6107bf81610fd5565b60006001600160e01b0319821663780e9d6360e01b14806103ac57506103ac826111ef565b6000818152600260205260409020546001600160a01b03166107bf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104e0565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d5382610884565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b0316331461097c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e0565b600080610df283610884565b9050806001600160a01b0316846001600160a01b03161480610e3957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b7e5750836001600160a01b0316610e5284610444565b6001600160a01b031614949350505050565b826001600160a01b0316610e7782610884565b6001600160a01b031614610e9d5760405162461bcd60e51b81526004016104e090611f5f565b6001600160a01b038216610eff5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104e0565b610f0c838383600161123f565b826001600160a01b0316610f1f82610884565b6001600160a01b031614610f455760405162461bcd60e51b81526004016104e090611f5f565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156110895760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104e0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611101848484610e64565b61110d84848484611373565b6109e95760405162461bcd60e51b81526004016104e090611fa4565b610999828260405180602001604052806000815250611480565b6060600c80546103c190611e61565b6060600061115f836114b3565b600101905060008167ffffffffffffffff81111561117f5761117f611ac5565b6040519080825280601f01601f1916602001820160405280156111a9576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846111e2576111e7565b6111b3565b509392505050565b60006001600160e01b031982166380ac58cd60e01b148061122057506001600160e01b03198216635b5e139f60e01b145b806103ac57506301ffc9a760e01b6001600160e01b03198316146103ac565b60018111156112ae5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016104e0565b816001600160a01b03851661130a5761130581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61132d565b836001600160a01b0316856001600160a01b03161461132d5761132d858261158b565b6001600160a01b0384166113495761134481611628565b61136c565b846001600160a01b0316846001600160a01b03161461136c5761136c84826116d7565b5050505050565b60006001600160a01b0384163b1561147557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906113b7903390899088908890600401611ff6565b602060405180830381600087803b1580156113d157600080fd5b505af1925050508015611401575060408051601f3d908101601f191682019092526113fe91810190612033565b60015b61145b573d80801561142f576040519150601f19603f3d011682016040523d82523d6000602084013e611434565b606091505b5080516114535760405162461bcd60e51b81526004016104e090611fa4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b7e565b506001949350505050565b61148a838361171b565b6114976000848484611373565b6105815760405162461bcd60e51b81526004016104e090611fa4565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114f25772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061151e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061153c57662386f26fc10000830492506010015b6305f5e1008310611554576305f5e100830492506008015b612710831061156857612710830492506004015b6064831061157a576064830492506002015b600a83106103ac5760010192915050565b60006001611598846108e4565b6115a29190612050565b6000838152600760205260409020549091508082146115f5576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061163a90600190612050565b6000838152600960205260408120546008805493945090928490811061166257611662611ee9565b90600052602060002001549050806008838154811061168357611683611ee9565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806116bb576116bb612067565b6001900381819060005260206000200160009055905550505050565b60006116e2836108e4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166117715760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104e0565b6000818152600260205260409020546001600160a01b0316156117d65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104e0565b6117e460008383600161123f565b6000818152600260205260409020546001600160a01b0316156118495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104e0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546118c090611e61565b90600052602060002090601f0160209004810192826118e25760008555611928565b82601f106118fb57805160ff1916838001178555611928565b82800160010185558215611928579182015b8281111561192857825182559160200191906001019061190d565b506119349291506119ac565b5090565b82805461194490611e61565b90600052602060002090601f0160209004810192826119665760008555611928565b82601f1061197f5782800160ff19823516178555611928565b82800160010185558215611928579182015b82811115611928578235825591602001919060010190611991565b5b8082111561193457600081556001016119ad565b6001600160e01b0319811681146107bf57600080fd5b6000602082840312156119e957600080fd5b81356119f4816119c1565b9392505050565b60005b83811015611a165781810151838201526020016119fe565b838111156109e95750506000910152565b60008151808452611a3f8160208601602086016119fb565b601f01601f19169290920160200192915050565b6020815260006119f46020830184611a27565b600060208284031215611a7857600080fd5b5035919050565b80356001600160a01b0381168114611a9657600080fd5b919050565b60008060408385031215611aae57600080fd5b611ab783611a7f565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611b0457611b04611ac5565b604052919050565b600067ffffffffffffffff831115611b2657611b26611ac5565b611b39601f8401601f1916602001611adb565b9050828152838383011115611b4d57600080fd5b828260208301376000602084830101529392505050565b600082601f830112611b7557600080fd5b6119f483833560208501611b0c565b60008060408385031215611b9757600080fd5b82359150602083013567ffffffffffffffff811115611bb557600080fd5b611bc185828601611b64565b9150509250929050565b600080600060608486031215611be057600080fd5b611be984611a7f565b9250611bf760208501611a7f565b9150604084013590509250925092565b60008060208385031215611c1a57600080fd5b823567ffffffffffffffff80821115611c3257600080fd5b818501915085601f830112611c4657600080fd5b813581811115611c5557600080fd5b866020828501011115611c6757600080fd5b60209290920196919550909350505050565b600060208284031215611c8b57600080fd5b6119f482611a7f565b600060208284031215611ca657600080fd5b813567ffffffffffffffff811115611cbd57600080fd5b610b7e84828501611b64565b60008060408385031215611cdc57600080fd5b611ce583611a7f565b915060208301358015158114611cfa57600080fd5b809150509250929050565b60008060008060808587031215611d1b57600080fd5b611d2485611a7f565b9350611d3260208601611a7f565b925060408501359150606085013567ffffffffffffffff811115611d5557600080fd5b8501601f81018713611d6657600080fd5b611d7587823560208401611b0c565b91505092959194509250565b60006020808385031215611d9457600080fd5b823567ffffffffffffffff80821115611dac57600080fd5b818501915085601f830112611dc057600080fd5b813581811115611dd257611dd2611ac5565b8060051b9150611de3848301611adb565b8181529183018401918481019088841115611dfd57600080fd5b938501935b83851015611e2257611e1385611a7f565b82529385019390850190611e02565b98975050505050505050565b60008060408385031215611e4157600080fd5b611e4a83611a7f565b9150611e5860208401611a7f565b90509250929050565b600181811c90821680611e7557607f821691505b60208210811415611e9657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611f2957611f29611eff565b5060010190565b60008351611f428184602088016119fb565b835190830190611f568183602088016119fb565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061202990830184611a27565b9695505050505050565b60006020828403121561204557600080fd5b81516119f4816119c1565b60008282101561206257612062611eff565b500390565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220110b59699a6c272f2ffd77b359a2beefd2256a01cb910f3458d8c9934346791c64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063b88d4fde11610097578063dbf89bd311610071578063dbf89bd314610342578063e8a3d4851461034a578063e985e9c514610352578063f2fde38b1461038e57600080fd5b8063b88d4fde14610309578063c59531701461031c578063c87b56dd1461032f57600080fd5b806370a08231146102af578063715018a6146102c25780638da5cb5b146102ca578063938e3d7b146102db57806395d89b41146102ee578063a22cb465146102f657600080fd5b806323b872dd1161014b57806342842e0e1161012557806342842e0e146102635780634f6ccce71461027657806355f804b3146102895780636352211e1461029c57600080fd5b806323b872dd146102355780632f745c59146102485780633ccfd60b1461025b57600080fd5b806301ffc9a71461019357806306fdde03146101bb578063081812fc146101d0578063095ea7b3146101fb578063162094c41461021057806318160ddd14610223575b600080fd5b6101a66101a13660046119d7565b6103a1565b60405190151581526020015b60405180910390f35b6101c36103b2565b6040516101b29190611a53565b6101e36101de366004611a66565b610444565b6040516001600160a01b0390911681526020016101b2565b61020e610209366004611a9b565b61046b565b005b61020e61021e366004611b84565b610586565b6008545b6040519081526020016101b2565b61020e610243366004611bcb565b610665565b610227610256366004611a9b565b610696565b61020e61072c565b61020e610271366004611bcb565b6107c2565b610227610284366004611a66565b6107dd565b61020e610297366004611c07565b610870565b6101e36102aa366004611a66565b610884565b6102276102bd366004611c79565b6108e4565b61020e61096a565b600a546001600160a01b03166101e3565b61020e6102e9366004611c94565b61097e565b6101c361099d565b61020e610304366004611cc9565b6109ac565b61020e610317366004611d05565b6109b7565b61020e61032a366004611d81565b6109ef565b6101c361033d366004611a66565b610a7c565b610227610b86565b6101c3610b96565b6101a6610360366004611e2e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61020e61039c366004611c79565b610c24565b60006103ac82610c9a565b92915050565b6060600080546103c190611e61565b80601f01602080910402602001604051908101604052809291908181526020018280546103ed90611e61565b801561043a5780601f1061040f5761010080835404028352916020019161043a565b820191906000526020600020905b81548152906001019060200180831161041d57829003601f168201915b5050505050905090565b600061044f82610cbf565b506000908152600460205260409020546001600160a01b031690565b600061047682610884565b9050806001600160a01b0316836001600160a01b031614156104e95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061050557506105058133610360565b6105775760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016104e0565b6105818383610d1e565b505050565b61058e610d8c565b6000828152600260205260409020546001600160a01b03166106095760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016104e0565b6000828152600e602090815260409091208251610628928401906118b4565b50817fc6cad9e996e0821deea2cbff24c7675346ff70ecb9e88648c62bb0c1c575e127826040516106599190611a53565b60405180910390a25050565b61066f3382610de6565b61068b5760405162461bcd60e51b81526004016104e090611e9c565b610581838383610e64565b60006106a1836108e4565b82106107035760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104e0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610734610d8c565b604051600090339047908381818185875af1925050503d8060008114610776576040519150601f19603f3d011682016040523d82523d6000602084013e61077b565b606091505b50509050806107bf5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016104e0565b50565b610581838383604051806020016040528060008152506109b7565b60006107e860085490565b821061084b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104e0565b6008828154811061085e5761085e611ee9565b90600052602060002001549050919050565b610878610d8c565b610581600c8383611938565b6000818152600260205260408120546001600160a01b0316806103ac5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104e0565b60006001600160a01b03821661094e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016104e0565b506001600160a01b031660009081526003602052604090205490565b610972610d8c565b61097c6000610fd5565b565b610986610d8c565b805161099990600d9060208401906118b4565b5050565b6060600180546103c190611e61565b610999338383611027565b6109c13383610de6565b6109dd5760405162461bcd60e51b81526004016104e090611e9c565b6109e9848484846110f6565b50505050565b6109f7610d8c565b805160005b8181101561058157610a26838281518110610a1957610a19611ee9565b60200260200101516108e4565b610a6a57610a38600b80546001019055565b6000610a43600b5490565b9050610a68848381518110610a5a57610a5a611ee9565b602002602001015182611129565b505b80610a7481611f15565b9150506109fc565b6000818152600e6020526040812080546060929190610a9a90611e61565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac690611e61565b8015610b135780601f10610ae857610100808354040283529160200191610b13565b820191906000526020600020905b815481529060010190602001808311610af657829003601f168201915b505050505090506000610b24611143565b825190915015610b35575092915050565b6000815111610b535760405180602001604052806000815250610b7e565b80610b5d85611152565b604051602001610b6e929190611f30565b6040516020818303038152906040525b949350505050565b6000610b91600b5490565b905090565b600d8054610ba390611e61565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcf90611e61565b8015610c1c5780601f10610bf157610100808354040283529160200191610c1c565b820191906000526020600020905b815481529060010190602001808311610bff57829003601f168201915b505050505081565b610c2c610d8c565b6001600160a01b038116610c915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e0565b6107bf81610fd5565b60006001600160e01b0319821663780e9d6360e01b14806103ac57506103ac826111ef565b6000818152600260205260409020546001600160a01b03166107bf5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016104e0565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d5382610884565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b0316331461097c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e0565b600080610df283610884565b9050806001600160a01b0316846001600160a01b03161480610e3957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b7e5750836001600160a01b0316610e5284610444565b6001600160a01b031614949350505050565b826001600160a01b0316610e7782610884565b6001600160a01b031614610e9d5760405162461bcd60e51b81526004016104e090611f5f565b6001600160a01b038216610eff5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104e0565b610f0c838383600161123f565b826001600160a01b0316610f1f82610884565b6001600160a01b031614610f455760405162461bcd60e51b81526004016104e090611f5f565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156110895760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104e0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611101848484610e64565b61110d84848484611373565b6109e95760405162461bcd60e51b81526004016104e090611fa4565b610999828260405180602001604052806000815250611480565b6060600c80546103c190611e61565b6060600061115f836114b3565b600101905060008167ffffffffffffffff81111561117f5761117f611ac5565b6040519080825280601f01601f1916602001820160405280156111a9576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846111e2576111e7565b6111b3565b509392505050565b60006001600160e01b031982166380ac58cd60e01b148061122057506001600160e01b03198216635b5e139f60e01b145b806103ac57506301ffc9a760e01b6001600160e01b03198316146103ac565b60018111156112ae5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016104e0565b816001600160a01b03851661130a5761130581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61132d565b836001600160a01b0316856001600160a01b03161461132d5761132d858261158b565b6001600160a01b0384166113495761134481611628565b61136c565b846001600160a01b0316846001600160a01b03161461136c5761136c84826116d7565b5050505050565b60006001600160a01b0384163b1561147557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906113b7903390899088908890600401611ff6565b602060405180830381600087803b1580156113d157600080fd5b505af1925050508015611401575060408051601f3d908101601f191682019092526113fe91810190612033565b60015b61145b573d80801561142f576040519150601f19603f3d011682016040523d82523d6000602084013e611434565b606091505b5080516114535760405162461bcd60e51b81526004016104e090611fa4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b7e565b506001949350505050565b61148a838361171b565b6114976000848484611373565b6105815760405162461bcd60e51b81526004016104e090611fa4565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114f25772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061151e576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061153c57662386f26fc10000830492506010015b6305f5e1008310611554576305f5e100830492506008015b612710831061156857612710830492506004015b6064831061157a576064830492506002015b600a83106103ac5760010192915050565b60006001611598846108e4565b6115a29190612050565b6000838152600760205260409020549091508082146115f5576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061163a90600190612050565b6000838152600960205260408120546008805493945090928490811061166257611662611ee9565b90600052602060002001549050806008838154811061168357611683611ee9565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806116bb576116bb612067565b6001900381819060005260206000200160009055905550505050565b60006116e2836108e4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166117715760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104e0565b6000818152600260205260409020546001600160a01b0316156117d65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104e0565b6117e460008383600161123f565b6000818152600260205260409020546001600160a01b0316156118495760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104e0565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546118c090611e61565b90600052602060002090601f0160209004810192826118e25760008555611928565b82601f106118fb57805160ff1916838001178555611928565b82800160010185558215611928579182015b8281111561192857825182559160200191906001019061190d565b506119349291506119ac565b5090565b82805461194490611e61565b90600052602060002090601f0160209004810192826119665760008555611928565b82601f1061197f5782800160ff19823516178555611928565b82800160010185558215611928579182015b82811115611928578235825591602001919060010190611991565b5b8082111561193457600081556001016119ad565b6001600160e01b0319811681146107bf57600080fd5b6000602082840312156119e957600080fd5b81356119f4816119c1565b9392505050565b60005b83811015611a165781810151838201526020016119fe565b838111156109e95750506000910152565b60008151808452611a3f8160208601602086016119fb565b601f01601f19169290920160200192915050565b6020815260006119f46020830184611a27565b600060208284031215611a7857600080fd5b5035919050565b80356001600160a01b0381168114611a9657600080fd5b919050565b60008060408385031215611aae57600080fd5b611ab783611a7f565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611b0457611b04611ac5565b604052919050565b600067ffffffffffffffff831115611b2657611b26611ac5565b611b39601f8401601f1916602001611adb565b9050828152838383011115611b4d57600080fd5b828260208301376000602084830101529392505050565b600082601f830112611b7557600080fd5b6119f483833560208501611b0c565b60008060408385031215611b9757600080fd5b82359150602083013567ffffffffffffffff811115611bb557600080fd5b611bc185828601611b64565b9150509250929050565b600080600060608486031215611be057600080fd5b611be984611a7f565b9250611bf760208501611a7f565b9150604084013590509250925092565b60008060208385031215611c1a57600080fd5b823567ffffffffffffffff80821115611c3257600080fd5b818501915085601f830112611c4657600080fd5b813581811115611c5557600080fd5b866020828501011115611c6757600080fd5b60209290920196919550909350505050565b600060208284031215611c8b57600080fd5b6119f482611a7f565b600060208284031215611ca657600080fd5b813567ffffffffffffffff811115611cbd57600080fd5b610b7e84828501611b64565b60008060408385031215611cdc57600080fd5b611ce583611a7f565b915060208301358015158114611cfa57600080fd5b809150509250929050565b60008060008060808587031215611d1b57600080fd5b611d2485611a7f565b9350611d3260208601611a7f565b925060408501359150606085013567ffffffffffffffff811115611d5557600080fd5b8501601f81018713611d6657600080fd5b611d7587823560208401611b0c565b91505092959194509250565b60006020808385031215611d9457600080fd5b823567ffffffffffffffff80821115611dac57600080fd5b818501915085601f830112611dc057600080fd5b813581811115611dd257611dd2611ac5565b8060051b9150611de3848301611adb565b8181529183018401918481019088841115611dfd57600080fd5b938501935b83851015611e2257611e1385611a7f565b82529385019390850190611e02565b98975050505050505050565b60008060408385031215611e4157600080fd5b611e4a83611a7f565b9150611e5860208401611a7f565b90509250929050565b600181811c90821680611e7557607f821691505b60208210811415611e9657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611f2957611f29611eff565b5060010190565b60008351611f428184602088016119fb565b835190830190611f568183602088016119fb565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061202990830184611a27565b9695505050505050565b60006020828403121561204557600080fd5b81516119f4816119c1565b60008282101561206257612062611eff565b500390565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220110b59699a6c272f2ffd77b359a2beefd2256a01cb910f3458d8c9934346791c64736f6c63430008090033
Deployed Bytecode Sourcemap
64749:2393:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66807:204;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;66807:204:0;;;;;;;;38020:100;;;:::i;:::-;;;;;;;:::i;39532:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;39532:171:0;1528:203:1;39050:416:0;;;;;;:::i;:::-;;:::i;:::-;;65594:268;;;;;;:::i;:::-;;:::i;55464:113::-;55552:10;:17;55464:113;;;3765:25:1;;;3753:2;3738:18;55464:113:0;3619:177:1;40232:301:0;;;;;;:::i;:::-;;:::i;55132:256::-;;;;;;:::i;:::-;;:::i;66108:173::-;;;:::i;40604:151::-;;;;;;:::i;:::-;;:::i;55654:233::-;;;;;;:::i;:::-;;:::i;65994:106::-;;;;;;:::i;:::-;;:::i;37730:223::-;;;;;;:::i;:::-;;:::i;37461:207::-;;;;;;:::i;:::-;;:::i;62549:103::-;;;:::i;61908:87::-;61981:6;;-1:-1:-1;;;;;61981:6:0;61908:87;;65870:116;;;;;;:::i;:::-;;:::i;38189:104::-;;;:::i;39775:155::-;;;;;;:::i;:::-;;:::i;40826:279::-;;;;;;:::i;:::-;;:::i;65195:391::-;;;;;;:::i;:::-;;:::i;66398:401::-;;;;;;:::i;:::-;;:::i;66289:101::-;;;:::i;64964:25::-;;;:::i;40001:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;40122:25:0;;;40098:4;40122:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40001:164;62807:201;;;;;;:::i;:::-;;:::i;66807:204::-;66938:4;66967:36;66991:11;66967:23;:36::i;:::-;66960:43;66807:204;-1:-1:-1;;66807:204:0:o;38020:100::-;38074:13;38107:5;38100:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38020:100;:::o;39532:171::-;39608:7;39628:23;39643:7;39628:14;:23::i;:::-;-1:-1:-1;39671:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39671:24:0;;39532:171::o;39050:416::-;39131:13;39147:23;39162:7;39147:14;:23::i;:::-;39131:39;;39195:5;-1:-1:-1;;;;;39189:11:0;:2;-1:-1:-1;;;;;39189:11:0;;;39181:57;;;;-1:-1:-1;;;39181:57:0;;8082:2:1;39181:57:0;;;8064:21:1;8121:2;8101:18;;;8094:30;8160:34;8140:18;;;8133:62;-1:-1:-1;;;8211:18:1;;;8204:31;8252:19;;39181:57:0;;;;;;;;;17664:10;-1:-1:-1;;;;;39273:21:0;;;;:62;;-1:-1:-1;39298:37:0;39315:5;17664:10;40001:164;:::i;39298:37::-;39251:173;;;;-1:-1:-1;;;39251:173:0;;8484:2:1;39251:173:0;;;8466:21:1;8523:2;8503:18;;;8496:30;8562:34;8542:18;;;8535:62;8633:31;8613:18;;;8606:59;8682:19;;39251:173:0;8282:425:1;39251:173:0;39437:21;39446:2;39450:7;39437:8;:21::i;:::-;39120:346;39050:416;;:::o;65594:268::-;61794:13;:11;:13::i;:::-;42865:4;42463:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42463:16:0;65687:75:::1;;;::::0;-1:-1:-1;;;65687:75:0;;8914:2:1;65687:75:0::1;::::0;::::1;8896:21:1::0;8953:2;8933:18;;;8926:30;8992:34;8972:18;;;8965:62;-1:-1:-1;;;9043:18:1;;;9036:44;9097:19;;65687:75:0::1;8712:410:1::0;65687:75:0::1;65773:19;::::0;;;:10:::1;:19;::::0;;;;;;;:31;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;65835:7;65822:32;65844:9;65822:32;;;;;;:::i;:::-;;;;;;;;65594:268:::0;;:::o;40232:301::-;40393:41;17664:10;40426:7;40393:18;:41::i;:::-;40385:99;;;;-1:-1:-1;;;40385:99:0;;;;;;;:::i;:::-;40497:28;40507:4;40513:2;40517:7;40497:9;:28::i;55132:256::-;55229:7;55265:23;55282:5;55265:16;:23::i;:::-;55257:5;:31;55249:87;;;;-1:-1:-1;;;55249:87:0;;9743:2:1;55249:87:0;;;9725:21:1;9782:2;9762:18;;;9755:30;9821:34;9801:18;;;9794:62;-1:-1:-1;;;9872:18:1;;;9865:41;9923:19;;55249:87:0;9541:407:1;55249:87:0;-1:-1:-1;;;;;;55354:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;55132:256::o;66108:173::-;61794:13;:11;:13::i;:::-;66177:49:::1;::::0;66159:12:::1;::::0;66177:10:::1;::::0;66200:21:::1;::::0;66159:12;66177:49;66159:12;66177:49;66200:21;66177:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66158:68;;;66245:7;66237:36;;;::::0;-1:-1:-1;;;66237:36:0;;10365:2:1;66237:36:0::1;::::0;::::1;10347:21:1::0;10404:2;10384:18;;;10377:30;-1:-1:-1;;;10423:18:1;;;10416:46;10479:18;;66237:36:0::1;10163:340:1::0;66237:36:0::1;66147:134;66108:173::o:0;40604:151::-;40708:39;40725:4;40731:2;40735:7;40708:39;;;;;;;;;;;;:16;:39::i;55654:233::-;55729:7;55765:30;55552:10;:17;;55464:113;55765:30;55757:5;:38;55749:95;;;;-1:-1:-1;;;55749:95:0;;10710:2:1;55749:95:0;;;10692:21:1;10749:2;10729:18;;;10722:30;10788:34;10768:18;;;10761:62;-1:-1:-1;;;10839:18:1;;;10832:42;10891:19;;55749:95:0;10508:408:1;55749:95:0;55862:10;55873:5;55862:17;;;;;;;;:::i;:::-;;;;;;;;;55855:24;;55654:233;;;:::o;65994:106::-;61794:13;:11;:13::i;:::-;66069:23:::1;:13;66085:7:::0;;66069:23:::1;:::i;37730:223::-:0;37802:7;42463:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42463:16:0;;37866:56;;;;-1:-1:-1;;;37866:56:0;;11255:2:1;37866:56:0;;;11237:21:1;11294:2;11274:18;;;11267:30;-1:-1:-1;;;11313:18:1;;;11306:54;11377:18;;37866:56:0;11053:348:1;37461:207:0;37533:7;-1:-1:-1;;;;;37561:19:0;;37553:73;;;;-1:-1:-1;;;37553:73:0;;11608:2:1;37553:73:0;;;11590:21:1;11647:2;11627:18;;;11620:30;11686:34;11666:18;;;11659:62;-1:-1:-1;;;11737:18:1;;;11730:39;11786:19;;37553:73:0;11406:405:1;37553:73:0;-1:-1:-1;;;;;;37644:16:0;;;;;:9;:16;;;;;;;37461:207::o;62549:103::-;61794:13;:11;:13::i;:::-;62614:30:::1;62641:1;62614:18;:30::i;:::-;62549:103::o:0;65870:116::-;61794:13;:11;:13::i;:::-;65952:26;;::::1;::::0;:11:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;:::-;;65870:116:::0;:::o;38189:104::-;38245:13;38278:7;38271:14;;;;;:::i;39775:155::-;39870:52;17664:10;39903:8;39913;39870:18;:52::i;40826:279::-;40957:41;17664:10;40990:7;40957:18;:41::i;:::-;40949:99;;;;-1:-1:-1;;;40949:99:0;;;;;;;:::i;:::-;41059:38;41073:4;41079:2;41083:7;41092:4;41059:13;:38::i;:::-;40826:279;;;;:::o;65195:391::-;61794:13;:11;:13::i;:::-;65290:11;;65269:18:::1;65314:265;65337:10;65333:1;:14;65314:265;;;65373:18;65383:4;65388:1;65383:7;;;;;;;;:::i;:::-;;;;;;;65373:9;:18::i;:::-;65369:199;;65417:27;:15;64365:19:::0;;64383:1;64365:19;;;64276:127;65417:27:::1;65463:15;65481:25;:15;64246:14:::0;;64154:114;65481:25:::1;65463:43;;65525:27;65535:4;65540:1;65535:7;;;;;;;;:::i;:::-;;;;;;;65544;65525:9;:27::i;:::-;65398:170;65369:199;65349:3:::0;::::1;::::0;::::1;:::i;:::-;;;;65314:265;;66398:401:::0;66507:23;66533:19;;;:10;:19;;;;;66507:45;;66471:13;;66507:23;66533:19;66507:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66563:21;66587:10;:8;:10::i;:::-;66614:23;;66563:34;;-1:-1:-1;66614:27:0;66610:76;;-1:-1:-1;66665:9:0;66398:401;-1:-1:-1;;66398:401:0:o;66610:76::-;66729:1;66711:7;66705:21;:25;:86;;;;;;;;;;;;;;;;;66757:7;66766:18;:7;:16;:18::i;:::-;66740:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;66705:86;66698:93;66398:401;-1:-1:-1;;;;66398:401:0:o;66289:101::-;66330:7;66357:25;:15;64246:14;;64154:114;66357:25;66350:32;;66289:101;:::o;64964:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;62807:201::-;61794:13;:11;:13::i;:::-;-1:-1:-1;;;;;62896:22:0;::::1;62888:73;;;::::0;-1:-1:-1;;;62888:73:0;;12765:2:1;62888:73:0::1;::::0;::::1;12747:21:1::0;12804:2;12784:18;;;12777:30;12843:34;12823:18;;;12816:62;-1:-1:-1;;;12894:18:1;;;12887:36;12940:19;;62888:73:0::1;12563:402:1::0;62888:73:0::1;62972:28;62991:8;62972:18;:28::i;54824:224::-:0;54926:4;-1:-1:-1;;;;;;54950:50:0;;-1:-1:-1;;;54950:50:0;;:90;;;55004:36;55028:11;55004:23;:36::i;49095:135::-;42865:4;42463:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42463:16:0;49169:53;;;;-1:-1:-1;;;49169:53:0;;11255:2:1;49169:53:0;;;11237:21:1;11294:2;11274:18;;;11267:30;-1:-1:-1;;;11313:18:1;;;11306:54;11377:18;;49169:53:0;11053:348:1;48408:174:0;48483:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;48483:29:0;-1:-1:-1;;;;;48483:29:0;;;;;;;;:24;;48537:23;48483:24;48537:14;:23::i;:::-;-1:-1:-1;;;;;48528:46:0;;;;;;;;;;;48408:174;;:::o;62073:132::-;61981:6;;-1:-1:-1;;;;;61981:6:0;17664:10;62137:23;62129:68;;;;-1:-1:-1;;;62129:68:0;;13172:2:1;62129:68:0;;;13154:21:1;;;13191:18;;;13184:30;13250:34;13230:18;;;13223:62;13302:18;;62129:68:0;12970:356:1;43095:264:0;43188:4;43205:13;43221:23;43236:7;43221:14;:23::i;:::-;43205:39;;43274:5;-1:-1:-1;;;;;43263:16:0;:7;-1:-1:-1;;;;;43263:16:0;;:52;;;-1:-1:-1;;;;;;40122:25:0;;;40098:4;40122:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;43283:32;43263:87;;;;43343:7;-1:-1:-1;;;;;43319:31:0;:20;43331:7;43319:11;:20::i;:::-;-1:-1:-1;;;;;43319:31:0;;43255:96;43095:264;-1:-1:-1;;;;43095:264:0:o;47060:1229::-;47185:4;-1:-1:-1;;;;;47158:31:0;:23;47173:7;47158:14;:23::i;:::-;-1:-1:-1;;;;;47158:31:0;;47150:81;;;;-1:-1:-1;;;47150:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47250:16:0;;47242:65;;;;-1:-1:-1;;;47242:65:0;;13939:2:1;47242:65:0;;;13921:21:1;13978:2;13958:18;;;13951:30;14017:34;13997:18;;;13990:62;-1:-1:-1;;;14068:18:1;;;14061:34;14112:19;;47242:65:0;13737:400:1;47242:65:0;47320:42;47341:4;47347:2;47351:7;47360:1;47320:20;:42::i;:::-;47492:4;-1:-1:-1;;;;;47465:31:0;:23;47480:7;47465:14;:23::i;:::-;-1:-1:-1;;;;;47465:31:0;;47457:81;;;;-1:-1:-1;;;47457:81:0;;;;;;;:::i;:::-;47610:24;;;;:15;:24;;;;;;;;47603:31;;-1:-1:-1;;;;;;47603:31:0;;;;;;-1:-1:-1;;;;;48086:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;48086:20:0;;;48121:13;;;;;;;;;:18;;47603:31;48121:18;;;48161:16;;;:7;:16;;;;;;:21;;;;;;;;;;48200:27;;47626:7;;48200:27;;;39120:346;39050:416;;:::o;63168:191::-;63261:6;;;-1:-1:-1;;;;;63278:17:0;;;-1:-1:-1;;;;;;63278:17:0;;;;;;;63311:40;;63261:6;;;63278:17;63261:6;;63311:40;;63242:16;;63311:40;63231:128;63168:191;:::o;48725:281::-;48846:8;-1:-1:-1;;;;;48837:17:0;:5;-1:-1:-1;;;;;48837:17:0;;;48829:55;;;;-1:-1:-1;;;48829:55:0;;14344:2:1;48829:55:0;;;14326:21:1;14383:2;14363:18;;;14356:30;14422:27;14402:18;;;14395:55;14467:18;;48829:55:0;14142:349:1;48829:55:0;-1:-1:-1;;;;;48895:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;48895:46:0;;;;;;;;;;48957:41;;540::1;;;48957::0;;513:18:1;48957:41:0;;;;;;;48725:281;;;:::o;41986:270::-;42099:28;42109:4;42115:2;42119:7;42099:9;:28::i;:::-;42146:47;42169:4;42175:2;42179:7;42188:4;42146:22;:47::i;:::-;42138:110;;;;-1:-1:-1;;;42138:110:0;;;;;;;:::i;43701:::-;43777:26;43787:2;43791:7;43777:26;;;;;;;;;;;;:9;:26::i;67019:114::-;67079:13;67112;67105:20;;;;;:::i;32455:716::-;32511:13;32562:14;32579:17;32590:5;32579:10;:17::i;:::-;32599:1;32579:21;32562:38;;32615:20;32649:6;32638:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32638:18:0;-1:-1:-1;32615:41:0;-1:-1:-1;32780:28:0;;;32796:2;32780:28;32837:288;-1:-1:-1;;32869:5:0;-1:-1:-1;;;33006:2:0;32995:14;;32990:30;32869:5;32977:44;33067:2;33058:11;;;-1:-1:-1;33092:10:0;33088:21;;33104:5;;33088:21;32837:288;;;-1:-1:-1;33146:6:0;32455:716;-1:-1:-1;;;32455:716:0:o;37092:305::-;37194:4;-1:-1:-1;;;;;;37231:40:0;;-1:-1:-1;;;37231:40:0;;:105;;-1:-1:-1;;;;;;;37288:48:0;;-1:-1:-1;;;37288:48:0;37231:105;:158;;;-1:-1:-1;;;;;;;;;;35733:40:0;;;37353:36;35624:157;55961:915;56228:1;56216:9;:13;56212:222;;;56359:63;;-1:-1:-1;;;56359:63:0;;15249:2:1;56359:63:0;;;15231:21:1;15288:2;15268:18;;;15261:30;15327:34;15307:18;;;15300:62;-1:-1:-1;;;15378:18:1;;;15371:51;15439:19;;56359:63:0;15047:417:1;56212:222:0;56464:12;-1:-1:-1;;;;;56493:18:0;;56489:187;;56528:40;56560:7;57703:10;:17;;57676:24;;;;:15;:24;;;;;:44;;;57731:24;;;;;;;;;;;;57599:164;56528:40;56489:187;;;56598:2;-1:-1:-1;;;;;56590:10:0;:4;-1:-1:-1;;;;;56590:10:0;;56586:90;;56617:47;56650:4;56656:7;56617:32;:47::i;:::-;-1:-1:-1;;;;;56690:16:0;;56686:183;;56723:45;56760:7;56723:36;:45::i;:::-;56686:183;;;56796:4;-1:-1:-1;;;;;56790:10:0;:2;-1:-1:-1;;;;;56790:10:0;;56786:83;;56817:40;56845:2;56849:7;56817:27;:40::i;:::-;56127:749;55961:915;;;;:::o;49794:853::-;49948:4;-1:-1:-1;;;;;49969:13:0;;9124:19;:23;49965:675;;50005:71;;-1:-1:-1;;;50005:71:0;;-1:-1:-1;;;;;50005:36:0;;;;;:71;;17664:10;;50056:4;;50062:7;;50071:4;;50005:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50005:71:0;;;;;;;;-1:-1:-1;;50005:71:0;;;;;;;;;;;;:::i;:::-;;;50001:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50246:13:0;;50242:328;;50289:60;;-1:-1:-1;;;50289:60:0;;;;;;;:::i;50242:328::-;50520:6;50514:13;50505:6;50501:2;50497:15;50490:38;50001:584;-1:-1:-1;;;;;;50127:51:0;-1:-1:-1;;;50127:51:0;;-1:-1:-1;50120:58:0;;49965:675;-1:-1:-1;50624:4:0;49794:853;;;;;;:::o;44038:285::-;44133:18;44139:2;44143:7;44133:5;:18::i;:::-;44184:53;44215:1;44219:2;44223:7;44232:4;44184:22;:53::i;:::-;44162:153;;;;-1:-1:-1;;;44162:153:0;;;;;;;:::i;28128:948::-;28181:7;;-1:-1:-1;;;28259:17:0;;28255:106;;-1:-1:-1;;;28297:17:0;;;-1:-1:-1;28343:2:0;28333:12;28255:106;28388:8;28379:5;:17;28375:106;;28426:8;28417:17;;;-1:-1:-1;28463:2:0;28453:12;28375:106;28508:8;28499:5;:17;28495:106;;28546:8;28537:17;;;-1:-1:-1;28583:2:0;28573:12;28495:106;28628:7;28619:5;:16;28615:103;;28665:7;28656:16;;;-1:-1:-1;28701:1:0;28691:11;28615:103;28745:7;28736:5;:16;28732:103;;28782:7;28773:16;;;-1:-1:-1;28818:1:0;28808:11;28732:103;28862:7;28853:5;:16;28849:103;;28899:7;28890:16;;;-1:-1:-1;28935:1:0;28925:11;28849:103;28979:7;28970:5;:16;28966:68;;29017:1;29007:11;29062:6;28128:948;-1:-1:-1;;28128:948:0:o;58390:988::-;58656:22;58706:1;58681:22;58698:4;58681:16;:22::i;:::-;:26;;;;:::i;:::-;58718:18;58739:26;;;:17;:26;;;;;;58656:51;;-1:-1:-1;58872:28:0;;;58868:328;;-1:-1:-1;;;;;58939:18:0;;58917:19;58939:18;;;:12;:18;;;;;;;;:34;;;;;;;;;58990:30;;;;;;:44;;;59107:30;;:17;:30;;;;;:43;;;58868:328;-1:-1:-1;59292:26:0;;;;:17;:26;;;;;;;;59285:33;;;-1:-1:-1;;;;;59336:18:0;;;;;:12;:18;;;;;:34;;;;;;;59329:41;58390:988::o;59673:1079::-;59951:10;:17;59926:22;;59951:21;;59971:1;;59951:21;:::i;:::-;59983:18;60004:24;;;:15;:24;;;;;;60377:10;:26;;59926:46;;-1:-1:-1;60004:24:0;;59926:46;;60377:26;;;;;;:::i;:::-;;;;;;;;;60355:48;;60441:11;60416:10;60427;60416:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;60521:28;;;:15;:28;;;;;;;:41;;;60693:24;;;;;60686:31;60728:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;59744:1008;;;59673:1079;:::o;57177:221::-;57262:14;57279:20;57296:2;57279:16;:20::i;:::-;-1:-1:-1;;;;;57310:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;57355:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;57177:221:0:o;44659:942::-;-1:-1:-1;;;;;44739:16:0;;44731:61;;;;-1:-1:-1;;;44731:61:0;;16681:2:1;44731:61:0;;;16663:21:1;;;16700:18;;;16693:30;16759:34;16739:18;;;16732:62;16811:18;;44731:61:0;16479:356:1;44731:61:0;42865:4;42463:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42463:16:0;42889:31;44803:58;;;;-1:-1:-1;;;44803:58:0;;17042:2:1;44803:58:0;;;17024:21:1;17081:2;17061:18;;;17054:30;17120;17100:18;;;17093:58;17168:18;;44803:58:0;16840:352:1;44803:58:0;44874:48;44903:1;44907:2;44911:7;44920:1;44874:20;:48::i;:::-;42865:4;42463:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42463:16:0;42889:31;45012:58;;;;-1:-1:-1;;;45012:58:0;;17042:2:1;45012:58:0;;;17024:21:1;17081:2;17061:18;;;17054:30;17120;17100:18;;;17093:58;17168:18;;45012:58:0;16840:352:1;45012:58:0;-1:-1:-1;;;;;45419:13:0;;;;;;:9;:13;;;;;;;;:18;;45436:1;45419:18;;;45461:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45461:21:0;;;;;45500:33;45469:7;;45419:13;;45500:33;;45419:13;;45500:33;65952:26:::1;65870:116:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2173:127::-;2234:10;2229:3;2225:20;2222:1;2215:31;2265:4;2262:1;2255:15;2289:4;2286:1;2279:15;2305:275;2376:2;2370:9;2441:2;2422:13;;-1:-1:-1;;2418:27:1;2406:40;;2476:18;2461:34;;2497:22;;;2458:62;2455:88;;;2523:18;;:::i;:::-;2559:2;2552:22;2305:275;;-1:-1:-1;2305:275:1:o;2585:407::-;2650:5;2684:18;2676:6;2673:30;2670:56;;;2706:18;;:::i;:::-;2744:57;2789:2;2768:15;;-1:-1:-1;;2764:29:1;2795:4;2760:40;2744:57;:::i;:::-;2735:66;;2824:6;2817:5;2810:21;2864:3;2855:6;2850:3;2846:16;2843:25;2840:45;;;2881:1;2878;2871:12;2840:45;2930:6;2925:3;2918:4;2911:5;2907:16;2894:43;2984:1;2977:4;2968:6;2961:5;2957:18;2953:29;2946:40;2585:407;;;;;:::o;2997:222::-;3040:5;3093:3;3086:4;3078:6;3074:17;3070:27;3060:55;;3111:1;3108;3101:12;3060:55;3133:80;3209:3;3200:6;3187:20;3180:4;3172:6;3168:17;3133:80;:::i;3224:390::-;3302:6;3310;3363:2;3351:9;3342:7;3338:23;3334:32;3331:52;;;3379:1;3376;3369:12;3331:52;3415:9;3402:23;3392:33;;3476:2;3465:9;3461:18;3448:32;3503:18;3495:6;3492:30;3489:50;;;3535:1;3532;3525:12;3489:50;3558;3600:7;3591:6;3580:9;3576:22;3558:50;:::i;:::-;3548:60;;;3224:390;;;;;:::o;3801:328::-;3878:6;3886;3894;3947:2;3935:9;3926:7;3922:23;3918:32;3915:52;;;3963:1;3960;3953:12;3915:52;3986:29;4005:9;3986:29;:::i;:::-;3976:39;;4034:38;4068:2;4057:9;4053:18;4034:38;:::i;:::-;4024:48;;4119:2;4108:9;4104:18;4091:32;4081:42;;3801:328;;;;;:::o;4134:592::-;4205:6;4213;4266:2;4254:9;4245:7;4241:23;4237:32;4234:52;;;4282:1;4279;4272:12;4234:52;4322:9;4309:23;4351:18;4392:2;4384:6;4381:14;4378:34;;;4408:1;4405;4398:12;4378:34;4446:6;4435:9;4431:22;4421:32;;4491:7;4484:4;4480:2;4476:13;4472:27;4462:55;;4513:1;4510;4503:12;4462:55;4553:2;4540:16;4579:2;4571:6;4568:14;4565:34;;;4595:1;4592;4585:12;4565:34;4640:7;4635:2;4626:6;4622:2;4618:15;4614:24;4611:37;4608:57;;;4661:1;4658;4651:12;4608:57;4692:2;4684:11;;;;;4714:6;;-1:-1:-1;4134:592:1;;-1:-1:-1;;;;4134:592:1:o;4731:186::-;4790:6;4843:2;4831:9;4822:7;4818:23;4814:32;4811:52;;;4859:1;4856;4849:12;4811:52;4882:29;4901:9;4882:29;:::i;4922:322::-;4991:6;5044:2;5032:9;5023:7;5019:23;5015:32;5012:52;;;5060:1;5057;5050:12;5012:52;5100:9;5087:23;5133:18;5125:6;5122:30;5119:50;;;5165:1;5162;5155:12;5119:50;5188;5230:7;5221:6;5210:9;5206:22;5188:50;:::i;5249:347::-;5314:6;5322;5375:2;5363:9;5354:7;5350:23;5346:32;5343:52;;;5391:1;5388;5381:12;5343:52;5414:29;5433:9;5414:29;:::i;:::-;5404:39;;5493:2;5482:9;5478:18;5465:32;5540:5;5533:13;5526:21;5519:5;5516:32;5506:60;;5562:1;5559;5552:12;5506:60;5585:5;5575:15;;;5249:347;;;;;:::o;5601:667::-;5696:6;5704;5712;5720;5773:3;5761:9;5752:7;5748:23;5744:33;5741:53;;;5790:1;5787;5780:12;5741:53;5813:29;5832:9;5813:29;:::i;:::-;5803:39;;5861:38;5895:2;5884:9;5880:18;5861:38;:::i;:::-;5851:48;;5946:2;5935:9;5931:18;5918:32;5908:42;;6001:2;5990:9;5986:18;5973:32;6028:18;6020:6;6017:30;6014:50;;;6060:1;6057;6050:12;6014:50;6083:22;;6136:4;6128:13;;6124:27;-1:-1:-1;6114:55:1;;6165:1;6162;6155:12;6114:55;6188:74;6254:7;6249:2;6236:16;6231:2;6227;6223:11;6188:74;:::i;:::-;6178:84;;;5601:667;;;;;;;:::o;6273:952::-;6357:6;6388:2;6431;6419:9;6410:7;6406:23;6402:32;6399:52;;;6447:1;6444;6437:12;6399:52;6487:9;6474:23;6516:18;6557:2;6549:6;6546:14;6543:34;;;6573:1;6570;6563:12;6543:34;6611:6;6600:9;6596:22;6586:32;;6656:7;6649:4;6645:2;6641:13;6637:27;6627:55;;6678:1;6675;6668:12;6627:55;6714:2;6701:16;6736:2;6732;6729:10;6726:36;;;6742:18;;:::i;:::-;6788:2;6785:1;6781:10;6771:20;;6811:28;6835:2;6831;6827:11;6811:28;:::i;:::-;6873:15;;;6943:11;;;6939:20;;;6904:12;;;;6971:19;;;6968:39;;;7003:1;7000;6993:12;6968:39;7027:11;;;;7047:148;7063:6;7058:3;7055:15;7047:148;;;7129:23;7148:3;7129:23;:::i;:::-;7117:36;;7080:12;;;;7173;;;;7047:148;;;7214:5;6273:952;-1:-1:-1;;;;;;;;6273:952:1:o;7230:260::-;7298:6;7306;7359:2;7347:9;7338:7;7334:23;7330:32;7327:52;;;7375:1;7372;7365:12;7327:52;7398:29;7417:9;7398:29;:::i;:::-;7388:39;;7446:38;7480:2;7469:9;7465:18;7446:38;:::i;:::-;7436:48;;7230:260;;;;;:::o;7495:380::-;7574:1;7570:12;;;;7617;;;7638:61;;7692:4;7684:6;7680:17;7670:27;;7638:61;7745:2;7737:6;7734:14;7714:18;7711:38;7708:161;;;7791:10;7786:3;7782:20;7779:1;7772:31;7826:4;7823:1;7816:15;7854:4;7851:1;7844:15;7708:161;;7495:380;;;:::o;9127:409::-;9329:2;9311:21;;;9368:2;9348:18;;;9341:30;9407:34;9402:2;9387:18;;9380:62;-1:-1:-1;;;9473:2:1;9458:18;;9451:43;9526:3;9511:19;;9127:409::o;10921:127::-;10982:10;10977:3;10973:20;10970:1;10963:31;11013:4;11010:1;11003:15;11037:4;11034:1;11027:15;11816:127;11877:10;11872:3;11868:20;11865:1;11858:31;11908:4;11905:1;11898:15;11932:4;11929:1;11922:15;11948:135;11987:3;-1:-1:-1;;12008:17:1;;12005:43;;;12028:18;;:::i;:::-;-1:-1:-1;12075:1:1;12064:13;;11948:135::o;12088:470::-;12267:3;12305:6;12299:13;12321:53;12367:6;12362:3;12355:4;12347:6;12343:17;12321:53;:::i;:::-;12437:13;;12396:16;;;;12459:57;12437:13;12396:16;12493:4;12481:17;;12459:57;:::i;:::-;12532:20;;12088:470;-1:-1:-1;;;;12088:470:1:o;13331:401::-;13533:2;13515:21;;;13572:2;13552:18;;;13545:30;13611:34;13606:2;13591:18;;13584:62;-1:-1:-1;;;13677:2:1;13662:18;;13655:35;13722:3;13707:19;;13331:401::o;14496:414::-;14698:2;14680:21;;;14737:2;14717:18;;;14710:30;14776:34;14771:2;14756:18;;14749:62;-1:-1:-1;;;14842:2:1;14827:18;;14820:48;14900:3;14885:19;;14496:414::o;15469:489::-;-1:-1:-1;;;;;15738:15:1;;;15720:34;;15790:15;;15785:2;15770:18;;15763:43;15837:2;15822:18;;15815:34;;;15885:3;15880:2;15865:18;;15858:31;;;15663:4;;15906:46;;15932:19;;15924:6;15906:46;:::i;:::-;15898:54;15469:489;-1:-1:-1;;;;;;15469:489:1:o;15963:249::-;16032:6;16085:2;16073:9;16064:7;16060:23;16056:32;16053:52;;;16101:1;16098;16091:12;16053:52;16133:9;16127:16;16152:30;16176:5;16152:30;:::i;16217:125::-;16257:4;16285:1;16282;16279:8;16276:34;;;16290:18;;:::i;:::-;-1:-1:-1;16327:9:1;;16217:125::o;16347:127::-;16408:10;16403:3;16399:20;16396:1;16389:31;16439:4;16436:1;16429:15;16463:4;16460:1;16453:15
Swarm Source
ipfs://110b59699a6c272f2ffd77b359a2beefd2256a01cb910f3458d8c9934346791c
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.