ERC-721
Overview
Max Total Supply
4,444 GSD
Holders
912
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 GSDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GhettoSquad
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-29 */ // SPDX-License-Identifier: MIT // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @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) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 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 10, 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 * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @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 `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); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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); } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: 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 { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @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 {} } // File: contracts/c.sol pragma solidity >=0.7.0 <0.9.0; contract GhettoSquad is ERC721, Ownable, DefaultOperatorFilterer { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = ""; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cost = 0.005 ether; uint256 public maxSupply = 4444; uint256 public maxMintAmountPerTx = 5; uint256 public nftPerAddressLimit = 5; bool public paused = false; bool public revealed = false; mapping(address => uint256) public addressMintedBalance; constructor() ERC721("Ghetto Squad", "GSD") { setHiddenMetadataUri("ipfs://bafybeia44lesnp7gzml7ceaazmfjhwnlr6dlax6wxzzafl6kitudrjdniy/hidden.json"); } modifier mintCompliance(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!"); require(supply.current() + _mintAmount <= maxSupply, "Max supply exceeded!"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded"); _; } function totalSupply() public view returns (uint256) { return supply.current(); } function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) { require(!paused, "The contract is paused!"); require(msg.value >= cost * _mintAmount, "Insufficient funds!"); _mintLoop(msg.sender, _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner { _mintLoop(_receiver, _mintAmount); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ""; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function withdraw() public onlyOwner { // This will transfer the remaining contract balance to the owner. // Do not remove this otherwise you will not be able to withdraw the funds. // ============================================================================= (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); // ============================================================================= } function _mintLoop(address _receiver, uint256 _mintAmount) internal { for (uint256 i = 0; i < _mintAmount; i++) { addressMintedBalance[_receiver]++; supply.increment(); _safeMint(_receiver, supply.current()); } } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b9160089162000365565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a9160099162000365565b506611c37937e08000600b5561115c600c556005600d819055600e55600f805461ffff191690553480156200007e57600080fd5b50604080518082018252600c81526b11da195d1d1bc814dc5d585960a21b60208083019182528351808501909452600384526211d4d160ea1b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb693600193929091620000e79160009162000365565b508051620000fd90600190602084019062000365565b5050506200011a620001146200028b60201b60201c565b6200028f565b6daaeb6d7670e522a718067333cd4e3b156200025f578015620001ad57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200018e57600080fd5b505af1158015620001a3573d6000803e3d6000fd5b505050506200025f565b6001600160a01b03821615620001fe5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000173565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200024557600080fd5b505af11580156200025a573d6000803e3d6000fd5b505050505b5050620002856040518060800160405280604e81526020016200297c604e9139620002e1565b62000447565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002eb62000304565b80516200030090600a90602084019062000365565b5050565b6006546001600160a01b03163314620003635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b82805462000373906200040b565b90600052602060002090601f016020900481019282620003975760008555620003e2565b82601f10620003b257805160ff1916838001178555620003e2565b82800160010185558215620003e2579182015b82811115620003e2578251825591602001919060010190620003c5565b50620003f0929150620003f4565b5090565b5b80821115620003f05760008155600101620003f5565b600181811c908216806200042057607f821691505b6020821081036200044157634e487b7160e01b600052602260045260246000fd5b50919050565b61252580620004576000396000f3fe60806040526004361061023b5760003560e01c80636352211e1161012e578063b071401b116100ab578063d5abeb011161006f578063d5abeb011461067a578063e0a8085314610690578063e985e9c5146106b0578063efbd73f4146106f9578063f2fde38b1461071957600080fd5b8063b071401b146105e4578063b88d4fde14610604578063ba7d2c7614610624578063c87b56dd1461063a578063d0eb26b01461065a57600080fd5b806394354fd0116100f257806394354fd01461057157806395d89b4114610587578063a0712d681461059c578063a22cb465146105af578063a45ba8e7146105cf57600080fd5b80636352211e146104de57806370a08231146104fe578063715018a61461051e5780637ec4a659146105335780638da5cb5b1461055357600080fd5b80633ccfd60b116101bc5780634fdd43cb116101805780634fdd43cb1461045b578063518302271461047b5780635503a0e81461049a5780635c975abb146104af57806362b99ad4146104c957600080fd5b80633ccfd60b146103b757806341f43434146103cc57806342842e0e146103ee578063438b63001461040e57806344a0d68a1461043b57600080fd5b806316ba10e01161020357806316ba10e01461031557806316c38b3c1461033557806318160ddd1461035557806318cae2691461036a57806323b872dd1461039757600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806313faede6146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611e79565b610739565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a61078b565b60405161026c9190611eee565b3480156102a357600080fd5b506102b76102b2366004611f01565b61081d565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004611f36565b610844565b005b3480156102fd57600080fd5b50610307600b5481565b60405190815260200161026c565b34801561032157600080fd5b506102ef610330366004611fec565b61085d565b34801561034157600080fd5b506102ef610350366004612043565b61087c565b34801561036157600080fd5b50610307610897565b34801561037657600080fd5b50610307610385366004612060565b60106020526000908152604090205481565b3480156103a357600080fd5b506102ef6103b236600461207b565b6108a7565b3480156103c357600080fd5b506102ef6108d2565b3480156103d857600080fd5b506102b76daaeb6d7670e522a718067333cd4e81565b3480156103fa57600080fd5b506102ef61040936600461207b565b61094e565b34801561041a57600080fd5b5061042e610429366004612060565b610973565b60405161026c91906120b7565b34801561044757600080fd5b506102ef610456366004611f01565b610a53565b34801561046757600080fd5b506102ef610476366004611fec565b610a60565b34801561048757600080fd5b50600f5461026090610100900460ff1681565b3480156104a657600080fd5b5061028a610a7b565b3480156104bb57600080fd5b50600f546102609060ff1681565b3480156104d557600080fd5b5061028a610b09565b3480156104ea57600080fd5b506102b76104f9366004611f01565b610b16565b34801561050a57600080fd5b50610307610519366004612060565b610b7b565b34801561052a57600080fd5b506102ef610c01565b34801561053f57600080fd5b506102ef61054e366004611fec565b610c15565b34801561055f57600080fd5b506006546001600160a01b03166102b7565b34801561057d57600080fd5b50610307600d5481565b34801561059357600080fd5b5061028a610c30565b6102ef6105aa366004611f01565b610c3f565b3480156105bb57600080fd5b506102ef6105ca3660046120fb565b610e0c565b3480156105db57600080fd5b5061028a610e20565b3480156105f057600080fd5b506102ef6105ff366004611f01565b610e2d565b34801561061057600080fd5b506102ef61061f366004612132565b610e3a565b34801561063057600080fd5b50610307600e5481565b34801561064657600080fd5b5061028a610655366004611f01565b610e67565b34801561066657600080fd5b506102ef610675366004611f01565b610feb565b34801561068657600080fd5b50610307600c5481565b34801561069c57600080fd5b506102ef6106ab366004612043565b610ff8565b3480156106bc57600080fd5b506102606106cb3660046121ae565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561070557600080fd5b506102ef6107143660046121e1565b61101a565b34801561072557600080fd5b506102ef610734366004612060565b611149565b60006001600160e01b031982166380ac58cd60e01b148061076a57506001600160e01b03198216635b5e139f60e01b145b8061078557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461079a90612204565b80601f01602080910402602001604051908101604052809291908181526020018280546107c690612204565b80156108135780601f106107e857610100808354040283529160200191610813565b820191906000526020600020905b8154815290600101906020018083116107f657829003601f168201915b5050505050905090565b6000610828826111bf565b506000908152600460205260409020546001600160a01b031690565b8161084e8161121e565b61085883836112d7565b505050565b6108656113e7565b8051610878906009906020840190611dca565b5050565b6108846113e7565b600f805460ff1916911515919091179055565b60006108a260075490565b905090565b826001600160a01b03811633146108c1576108c13361121e565b6108cc848484611441565b50505050565b6108da6113e7565b60006108ee6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610938576040519150601f19603f3d011682016040523d82523d6000602084013e61093d565b606091505b505090508061094b57600080fd5b50565b826001600160a01b0381163314610968576109683361121e565b6108cc848484611472565b6060600061098083610b7b565b905060008167ffffffffffffffff81111561099d5761099d611f60565b6040519080825280602002602001820160405280156109c6578160200160208202803683370190505b509050600160005b83811080156109df5750600c548211155b15610a495760006109ef83610b16565b9050866001600160a01b0316816001600160a01b031603610a365782848381518110610a1d57610a1d61223e565b602090810291909101015281610a328161226a565b9250505b82610a408161226a565b935050506109ce565b5090949350505050565b610a5b6113e7565b600b55565b610a686113e7565b805161087890600a906020840190611dca565b60098054610a8890612204565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab490612204565b8015610b015780601f10610ad657610100808354040283529160200191610b01565b820191906000526020600020905b815481529060010190602001808311610ae457829003601f168201915b505050505081565b60088054610a8890612204565b6000818152600260205260408120546001600160a01b0316806107855760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064015b60405180910390fd5b60006001600160a01b038216610be55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610b72565b506001600160a01b031660009081526003602052604090205490565b610c096113e7565b610c13600061148d565b565b610c1d6113e7565b8051610878906008906020840190611dca565b60606001805461079a90612204565b80600081118015610c525750600d548111155b610c955760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610b72565b600c5481610ca260075490565b610cac9190612283565b1115610cf15760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610b72565b33600090815260106020526040902054600e54610d0e8383612283565b1115610d5c5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610b72565b600f5460ff1615610daf5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610b72565b82600b54610dbd919061229b565b341015610e025760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610b72565b61085833846114df565b81610e168161121e565b6108588383611545565b600a8054610a8890612204565b610e356113e7565b600d55565b836001600160a01b0381163314610e5457610e543361121e565b610e6085858585611550565b5050505050565b6000818152600260205260409020546060906001600160a01b0316610ee65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b72565b600f54610100900460ff161515600003610f8c57600a8054610f0790612204565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3390612204565b8015610f805780601f10610f5557610100808354040283529160200191610f80565b820191906000526020600020905b815481529060010190602001808311610f6357829003601f168201915b50505050509050919050565b6000610f96611582565b90506000815111610fb65760405180602001604052806000815250610fe4565b80610fc084611591565b6009604051602001610fd4939291906122ba565b6040516020818303038152906040525b9392505050565b610ff36113e7565b600e55565b6110006113e7565b600f80549115156101000261ff0019909216919091179055565b8160008111801561102d5750600d548111155b6110705760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610b72565b600c548161107d60075490565b6110879190612283565b11156110cc5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610b72565b33600090815260106020526040902054600e546110e98383612283565b11156111375760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610b72565b61113f6113e7565b6108cc83856114df565b6111516113e7565b6001600160a01b0381166111b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b72565b61094b8161148d565b6000818152600260205260409020546001600160a01b031661094b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610b72565b6daaeb6d7670e522a718067333cd4e3b1561094b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561128b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112af919061237d565b61094b57604051633b79c77360e21b81526001600160a01b0382166004820152602401610b72565b60006112e282610b16565b9050806001600160a01b0316836001600160a01b03160361134f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b72565b336001600160a01b038216148061136b575061136b81336106cb565b6113dd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610b72565b6108588383611624565b6006546001600160a01b03163314610c135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b72565b61144b3382611692565b6114675760405162461bcd60e51b8152600401610b729061239a565b610858838383611711565b61085883838360405180602001604052806000815250610e3a565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81811015610858576001600160a01b038316600090815260106020526040812080549161150e8361226a565b9190505550611521600780546001019055565b6115338361152e60075490565b611882565b8061153d8161226a565b9150506114e2565b61087833838361189c565b61155a3383611692565b6115765760405162461bcd60e51b8152600401610b729061239a565b6108cc8484848461196a565b60606008805461079a90612204565b6060600061159e8361199d565b600101905060008167ffffffffffffffff8111156115be576115be611f60565b6040519080825280601f01601f1916602001820160405280156115e8576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846115f257509392505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061165982610b16565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061169e83610b16565b9050806001600160a01b0316846001600160a01b031614806116e557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806117095750836001600160a01b03166116fe8461081d565b6001600160a01b0316145b949350505050565b826001600160a01b031661172482610b16565b6001600160a01b03161461174a5760405162461bcd60e51b8152600401610b72906123e7565b6001600160a01b0382166117ac5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b72565b6117b98383836001611a75565b826001600160a01b03166117cc82610b16565b6001600160a01b0316146117f25760405162461bcd60e51b8152600401610b72906123e7565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610878828260405180602001604052806000815250611afd565b816001600160a01b0316836001600160a01b0316036118fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b72565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611975848484611711565b61198184848484611b30565b6108cc5760405162461bcd60e51b8152600401610b729061242c565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119dc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a08576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a2657662386f26fc10000830492506010015b6305f5e1008310611a3e576305f5e100830492506008015b6127108310611a5257612710830492506004015b60648310611a64576064830492506002015b600a83106107855760010192915050565b60018111156108cc576001600160a01b03841615611abb576001600160a01b03841660009081526003602052604081208054839290611ab590849061247e565b90915550505b6001600160a01b038316156108cc576001600160a01b03831660009081526003602052604081208054839290611af2908490612283565b909155505050505050565b611b078383611c31565b611b146000848484611b30565b6108585760405162461bcd60e51b8152600401610b729061242c565b60006001600160a01b0384163b15611c2657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b74903390899088908890600401612495565b6020604051808303816000875af1925050508015611baf575060408051601f3d908101601f19168201909252611bac918101906124d2565b60015b611c0c573d808015611bdd576040519150601f19603f3d011682016040523d82523d6000602084013e611be2565b606091505b508051600003611c045760405162461bcd60e51b8152600401610b729061242c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611709565b506001949350505050565b6001600160a01b038216611c875760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b72565b6000818152600260205260409020546001600160a01b031615611cec5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b72565b611cfa600083836001611a75565b6000818152600260205260409020546001600160a01b031615611d5f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b72565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611dd690612204565b90600052602060002090601f016020900481019282611df85760008555611e3e565b82601f10611e1157805160ff1916838001178555611e3e565b82800160010185558215611e3e579182015b82811115611e3e578251825591602001919060010190611e23565b50611e4a929150611e4e565b5090565b5b80821115611e4a5760008155600101611e4f565b6001600160e01b03198116811461094b57600080fd5b600060208284031215611e8b57600080fd5b8135610fe481611e63565b60005b83811015611eb1578181015183820152602001611e99565b838111156108cc5750506000910152565b60008151808452611eda816020860160208601611e96565b601f01601f19169290920160200192915050565b602081526000610fe46020830184611ec2565b600060208284031215611f1357600080fd5b5035919050565b80356001600160a01b0381168114611f3157600080fd5b919050565b60008060408385031215611f4957600080fd5b611f5283611f1a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f9157611f91611f60565b604051601f8501601f19908116603f01168101908282118183101715611fb957611fb9611f60565b81604052809350858152868686011115611fd257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ffe57600080fd5b813567ffffffffffffffff81111561201557600080fd5b8201601f8101841361202657600080fd5b61170984823560208401611f76565b801515811461094b57600080fd5b60006020828403121561205557600080fd5b8135610fe481612035565b60006020828403121561207257600080fd5b610fe482611f1a565b60008060006060848603121561209057600080fd5b61209984611f1a565b92506120a760208501611f1a565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156120ef578351835292840192918401916001016120d3565b50909695505050505050565b6000806040838503121561210e57600080fd5b61211783611f1a565b9150602083013561212781612035565b809150509250929050565b6000806000806080858703121561214857600080fd5b61215185611f1a565b935061215f60208601611f1a565b925060408501359150606085013567ffffffffffffffff81111561218257600080fd5b8501601f8101871361219357600080fd5b6121a287823560208401611f76565b91505092959194509250565b600080604083850312156121c157600080fd5b6121ca83611f1a565b91506121d860208401611f1a565b90509250929050565b600080604083850312156121f457600080fd5b823591506121d860208401611f1a565b600181811c9082168061221857607f821691505b60208210810361223857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161227c5761227c612254565b5060010190565b6000821982111561229657612296612254565b500190565b60008160001904831182151516156122b5576122b5612254565b500290565b6000845160206122cd8285838a01611e96565b8551918401916122e08184848a01611e96565b8554920191600090600181811c90808316806122fd57607f831692505b858310810361231a57634e487b7160e01b85526022600452602485fd5b80801561232e576001811461233f5761236c565b60ff1985168852838801955061236c565b60008b81526020902060005b858110156123645781548a82015290840190880161234b565b505083880195505b50939b9a5050505050505050505050565b60006020828403121561238f57600080fd5b8151610fe481612035565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008282101561249057612490612254565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124c890830184611ec2565b9695505050505050565b6000602082840312156124e457600080fd5b8151610fe481611e6356fea264697066735822122013cade43b1aff37339a8d9dcb2167d2c3e759fe5580748ec7c676753ba24af9a64736f6c634300080d0033697066733a2f2f626166796265696134346c65736e7037677a6d6c37636561617a6d666a68776e6c7236646c61783677787a7a61666c366b69747564726a646e69792f68696464656e2e6a736f6e
Deployed Bytecode
0x60806040526004361061023b5760003560e01c80636352211e1161012e578063b071401b116100ab578063d5abeb011161006f578063d5abeb011461067a578063e0a8085314610690578063e985e9c5146106b0578063efbd73f4146106f9578063f2fde38b1461071957600080fd5b8063b071401b146105e4578063b88d4fde14610604578063ba7d2c7614610624578063c87b56dd1461063a578063d0eb26b01461065a57600080fd5b806394354fd0116100f257806394354fd01461057157806395d89b4114610587578063a0712d681461059c578063a22cb465146105af578063a45ba8e7146105cf57600080fd5b80636352211e146104de57806370a08231146104fe578063715018a61461051e5780637ec4a659146105335780638da5cb5b1461055357600080fd5b80633ccfd60b116101bc5780634fdd43cb116101805780634fdd43cb1461045b578063518302271461047b5780635503a0e81461049a5780635c975abb146104af57806362b99ad4146104c957600080fd5b80633ccfd60b146103b757806341f43434146103cc57806342842e0e146103ee578063438b63001461040e57806344a0d68a1461043b57600080fd5b806316ba10e01161020357806316ba10e01461031557806316c38b3c1461033557806318160ddd1461035557806318cae2691461036a57806323b872dd1461039757600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806313faede6146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611e79565b610739565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a61078b565b60405161026c9190611eee565b3480156102a357600080fd5b506102b76102b2366004611f01565b61081d565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004611f36565b610844565b005b3480156102fd57600080fd5b50610307600b5481565b60405190815260200161026c565b34801561032157600080fd5b506102ef610330366004611fec565b61085d565b34801561034157600080fd5b506102ef610350366004612043565b61087c565b34801561036157600080fd5b50610307610897565b34801561037657600080fd5b50610307610385366004612060565b60106020526000908152604090205481565b3480156103a357600080fd5b506102ef6103b236600461207b565b6108a7565b3480156103c357600080fd5b506102ef6108d2565b3480156103d857600080fd5b506102b76daaeb6d7670e522a718067333cd4e81565b3480156103fa57600080fd5b506102ef61040936600461207b565b61094e565b34801561041a57600080fd5b5061042e610429366004612060565b610973565b60405161026c91906120b7565b34801561044757600080fd5b506102ef610456366004611f01565b610a53565b34801561046757600080fd5b506102ef610476366004611fec565b610a60565b34801561048757600080fd5b50600f5461026090610100900460ff1681565b3480156104a657600080fd5b5061028a610a7b565b3480156104bb57600080fd5b50600f546102609060ff1681565b3480156104d557600080fd5b5061028a610b09565b3480156104ea57600080fd5b506102b76104f9366004611f01565b610b16565b34801561050a57600080fd5b50610307610519366004612060565b610b7b565b34801561052a57600080fd5b506102ef610c01565b34801561053f57600080fd5b506102ef61054e366004611fec565b610c15565b34801561055f57600080fd5b506006546001600160a01b03166102b7565b34801561057d57600080fd5b50610307600d5481565b34801561059357600080fd5b5061028a610c30565b6102ef6105aa366004611f01565b610c3f565b3480156105bb57600080fd5b506102ef6105ca3660046120fb565b610e0c565b3480156105db57600080fd5b5061028a610e20565b3480156105f057600080fd5b506102ef6105ff366004611f01565b610e2d565b34801561061057600080fd5b506102ef61061f366004612132565b610e3a565b34801561063057600080fd5b50610307600e5481565b34801561064657600080fd5b5061028a610655366004611f01565b610e67565b34801561066657600080fd5b506102ef610675366004611f01565b610feb565b34801561068657600080fd5b50610307600c5481565b34801561069c57600080fd5b506102ef6106ab366004612043565b610ff8565b3480156106bc57600080fd5b506102606106cb3660046121ae565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561070557600080fd5b506102ef6107143660046121e1565b61101a565b34801561072557600080fd5b506102ef610734366004612060565b611149565b60006001600160e01b031982166380ac58cd60e01b148061076a57506001600160e01b03198216635b5e139f60e01b145b8061078557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461079a90612204565b80601f01602080910402602001604051908101604052809291908181526020018280546107c690612204565b80156108135780601f106107e857610100808354040283529160200191610813565b820191906000526020600020905b8154815290600101906020018083116107f657829003601f168201915b5050505050905090565b6000610828826111bf565b506000908152600460205260409020546001600160a01b031690565b8161084e8161121e565b61085883836112d7565b505050565b6108656113e7565b8051610878906009906020840190611dca565b5050565b6108846113e7565b600f805460ff1916911515919091179055565b60006108a260075490565b905090565b826001600160a01b03811633146108c1576108c13361121e565b6108cc848484611441565b50505050565b6108da6113e7565b60006108ee6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610938576040519150601f19603f3d011682016040523d82523d6000602084013e61093d565b606091505b505090508061094b57600080fd5b50565b826001600160a01b0381163314610968576109683361121e565b6108cc848484611472565b6060600061098083610b7b565b905060008167ffffffffffffffff81111561099d5761099d611f60565b6040519080825280602002602001820160405280156109c6578160200160208202803683370190505b509050600160005b83811080156109df5750600c548211155b15610a495760006109ef83610b16565b9050866001600160a01b0316816001600160a01b031603610a365782848381518110610a1d57610a1d61223e565b602090810291909101015281610a328161226a565b9250505b82610a408161226a565b935050506109ce565b5090949350505050565b610a5b6113e7565b600b55565b610a686113e7565b805161087890600a906020840190611dca565b60098054610a8890612204565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab490612204565b8015610b015780601f10610ad657610100808354040283529160200191610b01565b820191906000526020600020905b815481529060010190602001808311610ae457829003601f168201915b505050505081565b60088054610a8890612204565b6000818152600260205260408120546001600160a01b0316806107855760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064015b60405180910390fd5b60006001600160a01b038216610be55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610b72565b506001600160a01b031660009081526003602052604090205490565b610c096113e7565b610c13600061148d565b565b610c1d6113e7565b8051610878906008906020840190611dca565b60606001805461079a90612204565b80600081118015610c525750600d548111155b610c955760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610b72565b600c5481610ca260075490565b610cac9190612283565b1115610cf15760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610b72565b33600090815260106020526040902054600e54610d0e8383612283565b1115610d5c5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610b72565b600f5460ff1615610daf5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610b72565b82600b54610dbd919061229b565b341015610e025760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610b72565b61085833846114df565b81610e168161121e565b6108588383611545565b600a8054610a8890612204565b610e356113e7565b600d55565b836001600160a01b0381163314610e5457610e543361121e565b610e6085858585611550565b5050505050565b6000818152600260205260409020546060906001600160a01b0316610ee65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b72565b600f54610100900460ff161515600003610f8c57600a8054610f0790612204565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3390612204565b8015610f805780601f10610f5557610100808354040283529160200191610f80565b820191906000526020600020905b815481529060010190602001808311610f6357829003601f168201915b50505050509050919050565b6000610f96611582565b90506000815111610fb65760405180602001604052806000815250610fe4565b80610fc084611591565b6009604051602001610fd4939291906122ba565b6040516020818303038152906040525b9392505050565b610ff36113e7565b600e55565b6110006113e7565b600f80549115156101000261ff0019909216919091179055565b8160008111801561102d5750600d548111155b6110705760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610b72565b600c548161107d60075490565b6110879190612283565b11156110cc5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610b72565b33600090815260106020526040902054600e546110e98383612283565b11156111375760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610b72565b61113f6113e7565b6108cc83856114df565b6111516113e7565b6001600160a01b0381166111b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b72565b61094b8161148d565b6000818152600260205260409020546001600160a01b031661094b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610b72565b6daaeb6d7670e522a718067333cd4e3b1561094b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561128b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112af919061237d565b61094b57604051633b79c77360e21b81526001600160a01b0382166004820152602401610b72565b60006112e282610b16565b9050806001600160a01b0316836001600160a01b03160361134f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b72565b336001600160a01b038216148061136b575061136b81336106cb565b6113dd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610b72565b6108588383611624565b6006546001600160a01b03163314610c135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b72565b61144b3382611692565b6114675760405162461bcd60e51b8152600401610b729061239a565b610858838383611711565b61085883838360405180602001604052806000815250610e3a565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b81811015610858576001600160a01b038316600090815260106020526040812080549161150e8361226a565b9190505550611521600780546001019055565b6115338361152e60075490565b611882565b8061153d8161226a565b9150506114e2565b61087833838361189c565b61155a3383611692565b6115765760405162461bcd60e51b8152600401610b729061239a565b6108cc8484848461196a565b60606008805461079a90612204565b6060600061159e8361199d565b600101905060008167ffffffffffffffff8111156115be576115be611f60565b6040519080825280601f01601f1916602001820160405280156115e8576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846115f257509392505050565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061165982610b16565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061169e83610b16565b9050806001600160a01b0316846001600160a01b031614806116e557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806117095750836001600160a01b03166116fe8461081d565b6001600160a01b0316145b949350505050565b826001600160a01b031661172482610b16565b6001600160a01b03161461174a5760405162461bcd60e51b8152600401610b72906123e7565b6001600160a01b0382166117ac5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b72565b6117b98383836001611a75565b826001600160a01b03166117cc82610b16565b6001600160a01b0316146117f25760405162461bcd60e51b8152600401610b72906123e7565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610878828260405180602001604052806000815250611afd565b816001600160a01b0316836001600160a01b0316036118fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b72565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611975848484611711565b61198184848484611b30565b6108cc5760405162461bcd60e51b8152600401610b729061242c565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119dc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a08576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a2657662386f26fc10000830492506010015b6305f5e1008310611a3e576305f5e100830492506008015b6127108310611a5257612710830492506004015b60648310611a64576064830492506002015b600a83106107855760010192915050565b60018111156108cc576001600160a01b03841615611abb576001600160a01b03841660009081526003602052604081208054839290611ab590849061247e565b90915550505b6001600160a01b038316156108cc576001600160a01b03831660009081526003602052604081208054839290611af2908490612283565b909155505050505050565b611b078383611c31565b611b146000848484611b30565b6108585760405162461bcd60e51b8152600401610b729061242c565b60006001600160a01b0384163b15611c2657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b74903390899088908890600401612495565b6020604051808303816000875af1925050508015611baf575060408051601f3d908101601f19168201909252611bac918101906124d2565b60015b611c0c573d808015611bdd576040519150601f19603f3d011682016040523d82523d6000602084013e611be2565b606091505b508051600003611c045760405162461bcd60e51b8152600401610b729061242c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611709565b506001949350505050565b6001600160a01b038216611c875760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b72565b6000818152600260205260409020546001600160a01b031615611cec5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b72565b611cfa600083836001611a75565b6000818152600260205260409020546001600160a01b031615611d5f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b72565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611dd690612204565b90600052602060002090601f016020900481019282611df85760008555611e3e565b82601f10611e1157805160ff1916838001178555611e3e565b82800160010185558215611e3e579182015b82811115611e3e578251825591602001919060010190611e23565b50611e4a929150611e4e565b5090565b5b80821115611e4a5760008155600101611e4f565b6001600160e01b03198116811461094b57600080fd5b600060208284031215611e8b57600080fd5b8135610fe481611e63565b60005b83811015611eb1578181015183820152602001611e99565b838111156108cc5750506000910152565b60008151808452611eda816020860160208601611e96565b601f01601f19169290920160200192915050565b602081526000610fe46020830184611ec2565b600060208284031215611f1357600080fd5b5035919050565b80356001600160a01b0381168114611f3157600080fd5b919050565b60008060408385031215611f4957600080fd5b611f5283611f1a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f9157611f91611f60565b604051601f8501601f19908116603f01168101908282118183101715611fb957611fb9611f60565b81604052809350858152868686011115611fd257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ffe57600080fd5b813567ffffffffffffffff81111561201557600080fd5b8201601f8101841361202657600080fd5b61170984823560208401611f76565b801515811461094b57600080fd5b60006020828403121561205557600080fd5b8135610fe481612035565b60006020828403121561207257600080fd5b610fe482611f1a565b60008060006060848603121561209057600080fd5b61209984611f1a565b92506120a760208501611f1a565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156120ef578351835292840192918401916001016120d3565b50909695505050505050565b6000806040838503121561210e57600080fd5b61211783611f1a565b9150602083013561212781612035565b809150509250929050565b6000806000806080858703121561214857600080fd5b61215185611f1a565b935061215f60208601611f1a565b925060408501359150606085013567ffffffffffffffff81111561218257600080fd5b8501601f8101871361219357600080fd5b6121a287823560208401611f76565b91505092959194509250565b600080604083850312156121c157600080fd5b6121ca83611f1a565b91506121d860208401611f1a565b90509250929050565b600080604083850312156121f457600080fd5b823591506121d860208401611f1a565b600181811c9082168061221857607f821691505b60208210810361223857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161227c5761227c612254565b5060010190565b6000821982111561229657612296612254565b500190565b60008160001904831182151516156122b5576122b5612254565b500290565b6000845160206122cd8285838a01611e96565b8551918401916122e08184848a01611e96565b8554920191600090600181811c90808316806122fd57607f831692505b858310810361231a57634e487b7160e01b85526022600452602485fd5b80801561232e576001811461233f5761236c565b60ff1985168852838801955061236c565b60008b81526020902060005b858110156123645781548a82015290840190880161234b565b505083880195505b50939b9a5050505050505050505050565b60006020828403121561238f57600080fd5b8151610fe481612035565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008282101561249057612490612254565b500390565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124c890830184611ec2565b9695505050505050565b6000602082840312156124e457600080fd5b8151610fe481611e6356fea264697066735822122013cade43b1aff37339a8d9dcb2167d2c3e759fe5580748ec7c676753ba24af9a64736f6c634300080d0033
Deployed Bytecode Sourcemap
61382:5354:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45469:305;;;;;;;;;;-1:-1:-1;45469:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;45469:305:0;;;;;;;;46397:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47909:171::-;;;;;;;;;;-1:-1:-1;47909:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;47909:171:0;1528:203:1;66034:151:0;;;;;;;;;;-1:-1:-1;66034:151:0;;;;;:::i;:::-;;:::i;:::-;;61671:33;;;;;;;;;;;;;;;;;;;2319:25:1;;;2307:2;2292:18;61671:33:0;2173:177:1;64839:100:0;;;;;;;;;;-1:-1:-1;64839:100:0;;;;;:::i;:::-;;:::i;64945:77::-;;;;;;;;;;-1:-1:-1;64945:77:0;;;;;:::i;:::-;;:::i;62532:89::-;;;;;;;;;;;;;:::i;61897:55::-;;;;;;;;;;-1:-1:-1;61897:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;66191:157;;;;;;;;;;-1:-1:-1;66191:157:0;;;;;:::i;:::-;;:::i;65028:462::-;;;;;;;;;;;;;:::i;2962:143::-;;;;;;;;;;;;3062:42;2962:143;;66354:165;;;;;;;;;;-1:-1:-1;66354:165:0;;;;;:::i;:::-;;:::i;63041:635::-;;;;;;;;;;-1:-1:-1;63041:635:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;64379:74::-;;;;;;;;;;-1:-1:-1;64379:74:0;;;;;:::i;:::-;;:::i;64595:132::-;;;;;;;;;;-1:-1:-1;64595:132:0;;;;;:::i;:::-;;:::i;61862:28::-;;;;;;;;;;-1:-1:-1;61862:28:0;;;;;;;;;;;61595:33;;;;;;;;;;;;;:::i;61831:26::-;;;;;;;;;;-1:-1:-1;61831:26:0;;;;;;;;61562:28;;;;;;;;;;;;;:::i;46107:223::-;;;;;;;;;;-1:-1:-1;46107:223:0;;;;;:::i;:::-;;:::i;45838:207::-;;;;;;;;;;-1:-1:-1;45838:207:0;;;;;:::i;:::-;;:::i;24900:103::-;;;;;;;;;;;;;:::i;64733:100::-;;;;;;;;;;-1:-1:-1;64733:100:0;;;;;:::i;:::-;;:::i;24252:87::-;;;;;;;;;;-1:-1:-1;24325:6:0;;-1:-1:-1;;;;;24325:6:0;24252:87;;61745:37;;;;;;;;;;;;;;;;46566:104;;;;;;;;;;;;;:::i;62627:247::-;;;;;;:::i;:::-;;:::i;65858:170::-;;;;;;;;;;-1:-1:-1;65858:170:0;;;;;:::i;:::-;;:::i;61633:31::-;;;;;;;;;;;;;:::i;64459:130::-;;;;;;;;;;-1:-1:-1;64459:130:0;;;;;:::i;:::-;;:::i;66525:208::-;;;;;;;;;;-1:-1:-1;66525:208:0;;;;;:::i;:::-;;:::i;61787:37::-;;;;;;;;;;;;;;;;63682:494;;;;;;;;;;-1:-1:-1;63682:494:0;;;;;:::i;:::-;;:::i;64269:104::-;;;;;;;;;;-1:-1:-1;64269:104:0;;;;;:::i;:::-;;:::i;61709:31::-;;;;;;;;;;;;;;;;64182:81;;;;;;;;;;-1:-1:-1;64182:81:0;;;;;:::i;:::-;;:::i;48378:164::-;;;;;;;;;;-1:-1:-1;48378:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;48499:25:0;;;48475:4;48499:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48378:164;62880:155;;;;;;;;;;-1:-1:-1;62880:155:0;;;;;:::i;:::-;;:::i;25158:201::-;;;;;;;;;;-1:-1:-1;25158:201:0;;;;;:::i;:::-;;:::i;45469:305::-;45571:4;-1:-1:-1;;;;;;45608:40:0;;-1:-1:-1;;;45608:40:0;;:105;;-1:-1:-1;;;;;;;45665:48:0;;-1:-1:-1;;;45665:48:0;45608:105;:158;;;-1:-1:-1;;;;;;;;;;38090:40:0;;;45730:36;45588:178;45469:305;-1:-1:-1;;45469:305:0:o;46397:100::-;46451:13;46484:5;46477:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46397:100;:::o;47909:171::-;47985:7;48005:23;48020:7;48005:14;:23::i;:::-;-1:-1:-1;48048:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;48048:24:0;;47909:171::o;66034:151::-;66130:8;4483:30;4504:8;4483:20;:30::i;:::-;66147:32:::1;66161:8;66171:7;66147:13;:32::i;:::-;66034:151:::0;;;:::o;64839:100::-;24138:13;:11;:13::i;:::-;64911:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;64839:100:::0;:::o;64945:77::-;24138:13;:11;:13::i;:::-;65001:6:::1;:15:::0;;-1:-1:-1;;65001:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;64945:77::o;62532:89::-;62576:7;62599:16;:6;6424:14;;6332:114;62599:16;62592:23;;62532:89;:::o;66191:157::-;66292:4;-1:-1:-1;;;;;4303:18:0;;4311:10;4303:18;4299:83;;4338:32;4359:10;4338:20;:32::i;:::-;66305:37:::1;66324:4;66330:2;66334:7;66305:18;:37::i;:::-;66191:157:::0;;;;:::o;65028:462::-;24138:13;:11;:13::i;:::-;65312:7:::1;65333;24325:6:::0;;-1:-1:-1;;;;;24325:6:0;;24252:87;65333:7:::1;-1:-1:-1::0;;;;;65325:21:0::1;65354;65325:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65311:69;;;65395:2;65387:11;;;::::0;::::1;;65065:425;65028:462::o:0;66354:165::-;66459:4;-1:-1:-1;;;;;4303:18:0;;4311:10;4303:18;4299:83;;4338:32;4359:10;4338:20;:32::i;:::-;66472:41:::1;66495:4;66501:2;66505:7;66472:22;:41::i;63041:635::-:0;63116:16;63144:23;63170:17;63180:6;63170:9;:17::i;:::-;63144:43;;63194:30;63241:15;63227:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63227:30:0;-1:-1:-1;63194:63:0;-1:-1:-1;63289:1:0;63264:22;63333:309;63358:15;63340;:33;:64;;;;;63395:9;;63377:14;:27;;63340:64;63333:309;;;63415:25;63443:23;63451:14;63443:7;:23::i;:::-;63415:51;;63502:6;-1:-1:-1;;;;;63481:27:0;:17;-1:-1:-1;;;;;63481:27:0;;63477:131;;63554:14;63521:13;63535:15;63521:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;63581:17;;;;:::i;:::-;;;;63477:131;63618:16;;;;:::i;:::-;;;;63406:236;63333:309;;;-1:-1:-1;63657:13:0;;63041:635;-1:-1:-1;;;;63041:635:0:o;64379:74::-;24138:13;:11;:13::i;:::-;64435:4:::1;:12:::0;64379:74::o;64595:132::-;24138:13;:11;:13::i;:::-;64683:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;61595:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;61562:28::-;;;;;;;:::i;46107:223::-;46179:7;50994:16;;;:7;:16;;;;;;-1:-1:-1;;;;;50994:16:0;;46243:56;;;;-1:-1:-1;;;46243:56:0;;8066:2:1;46243:56:0;;;8048:21:1;8105:2;8085:18;;;8078:30;-1:-1:-1;;;8124:18:1;;;8117:54;8188:18;;46243:56:0;;;;;;;;45838:207;45910:7;-1:-1:-1;;;;;45938:19:0;;45930:73;;;;-1:-1:-1;;;45930:73:0;;8419:2:1;45930:73:0;;;8401:21:1;8458:2;8438:18;;;8431:30;8497:34;8477:18;;;8470:62;-1:-1:-1;;;8548:18:1;;;8541:39;8597:19;;45930:73:0;8217:405:1;45930:73:0;-1:-1:-1;;;;;;46021:16:0;;;;;:9;:16;;;;;;;45838:207::o;24900:103::-;24138:13;:11;:13::i;:::-;24965:30:::1;24992:1;24965:18;:30::i;:::-;24900:103::o:0;64733:100::-;24138:13;:11;:13::i;:::-;64805:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;46566:104::-:0;46622:13;46655:7;46648:14;;;;;:::i;62627:247::-;62692:11;62198:1;62184:11;:15;:52;;;;;62218:18;;62203:11;:33;;62184:52;62176:85;;;;-1:-1:-1;;;62176:85:0;;8829:2:1;62176:85:0;;;8811:21:1;8868:2;8848:18;;;8841:30;-1:-1:-1;;;8887:18:1;;;8880:50;8947:18;;62176:85:0;8627:344:1;62176:85:0;62310:9;;62295:11;62276:16;:6;6424:14;;6332:114;62276:16;:30;;;;:::i;:::-;:43;;62268:76;;;;-1:-1:-1;;;62268:76:0;;9311:2:1;62268:76:0;;;9293:21:1;9350:2;9330:18;;;9323:30;-1:-1:-1;;;9369:18:1;;;9362:50;9429:18;;62268:76:0;9109:344:1;62268:76:0;62401:10;62353:24;62380:32;;;:20;:32;;;;;;62461:18;;62427:30;62446:11;62380:32;62427:30;:::i;:::-;:52;;62419:93;;;;-1:-1:-1;;;62419:93:0;;9660:2:1;62419:93:0;;;9642:21:1;9699:2;9679:18;;;9672:30;9738;9718:18;;;9711:58;9786:18;;62419:93:0;9458:352:1;62419:93:0;62721:6:::1;::::0;::::1;;62720:7;62712:43;;;::::0;-1:-1:-1;;;62712:43:0;;10017:2:1;62712:43:0::1;::::0;::::1;9999:21:1::0;10056:2;10036:18;;;10029:30;10095:25;10075:18;;;10068:53;10138:18;;62712:43:0::1;9815:347:1::0;62712:43:0::1;62790:11;62783:4;;:18;;;;:::i;:::-;62770:9;:31;;62762:63;;;::::0;-1:-1:-1;;;62762:63:0;;10542:2:1;62762:63:0::1;::::0;::::1;10524:21:1::0;10581:2;10561:18;;;10554:30;-1:-1:-1;;;10600:18:1;;;10593:49;10659:18;;62762:63:0::1;10340:343:1::0;62762:63:0::1;62834:34;62844:10;62856:11;62834:9;:34::i;65858:170::-:0;65962:8;4483:30;4504:8;4483:20;:30::i;:::-;65979:43:::1;66003:8;66013;65979:23;:43::i;61633:31::-:0;;;;;;;:::i;64459:130::-;24138:13;:11;:13::i;:::-;64543:18:::1;:40:::0;64459:130::o;66525:208::-;66664:4;-1:-1:-1;;;;;4303:18:0;;4311:10;4303:18;4299:83;;4338:32;4359:10;4338:20;:32::i;:::-;66680:47:::1;66703:4;66709:2;66713:7;66722:4;66680:22;:47::i;:::-;66525:208:::0;;;;;:::o;63682:494::-;51396:4;50994:16;;;:7;:16;;;;;;63781:13;;-1:-1:-1;;;;;50994:16:0;63806:98;;;;-1:-1:-1;;;63806:98:0;;10890:2:1;63806:98:0;;;10872:21:1;10929:2;10909:18;;;10902:30;10968:34;10948:18;;;10941:62;-1:-1:-1;;;11019:18:1;;;11012:45;11074:19;;63806:98:0;10688:411:1;63806:98:0;63917:8;;;;;;;:17;;63929:5;63917:17;63913:64;;63952:17;63945:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63682:494;;;:::o;63913:64::-;63985:28;64016:10;:8;:10::i;:::-;63985:41;;64071:1;64046:14;64040:28;:32;:130;;;;;;;;;;;;;;;;;64108:14;64124:19;:8;:17;:19::i;:::-;64145:9;64091:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64040:130;64033:137;63682:494;-1:-1:-1;;;63682:494:0:o;64269:104::-;24138:13;:11;:13::i;:::-;64340:18:::1;:27:::0;64269:104::o;64182:81::-;24138:13;:11;:13::i;:::-;64240:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;64240:17:0;;::::1;::::0;;;::::1;::::0;;64182:81::o;62880:155::-;62966:11;62198:1;62184:11;:15;:52;;;;;62218:18;;62203:11;:33;;62184:52;62176:85;;;;-1:-1:-1;;;62176:85:0;;8829:2:1;62176:85:0;;;8811:21:1;8868:2;8848:18;;;8841:30;-1:-1:-1;;;8887:18:1;;;8880:50;8947:18;;62176:85:0;8627:344:1;62176:85:0;62310:9;;62295:11;62276:16;:6;6424:14;;6332:114;62276:16;:30;;;;:::i;:::-;:43;;62268:76;;;;-1:-1:-1;;;62268:76:0;;9311:2:1;62268:76:0;;;9293:21:1;9350:2;9330:18;;;9323:30;-1:-1:-1;;;9369:18:1;;;9362:50;9429:18;;62268:76:0;9109:344:1;62268:76:0;62401:10;62353:24;62380:32;;;:20;:32;;;;;;62461:18;;62427:30;62446:11;62380:32;62427:30;:::i;:::-;:52;;62419:93;;;;-1:-1:-1;;;62419:93:0;;9660:2:1;62419:93:0;;;9642:21:1;9699:2;9679:18;;;9672:30;9738;9718:18;;;9711:58;9786:18;;62419:93:0;9458:352:1;62419:93:0;24138:13:::1;:11;:13::i;:::-;62996:33:::2;63006:9;63017:11;62996:9;:33::i;25158:201::-:0;24138:13;:11;:13::i;:::-;-1:-1:-1;;;;;25247:22:0;::::1;25239:73;;;::::0;-1:-1:-1;;;25239:73:0;;12964:2:1;25239:73:0::1;::::0;::::1;12946:21:1::0;13003:2;12983:18;;;12976:30;13042:34;13022:18;;;13015:62;-1:-1:-1;;;13093:18:1;;;13086:36;13139:19;;25239:73:0::1;12762:402:1::0;25239:73:0::1;25323:28;25342:8;25323:18;:28::i;57728:135::-:0;51396:4;50994:16;;;:7;:16;;;;;;-1:-1:-1;;;;;50994:16:0;57802:53;;;;-1:-1:-1;;;57802:53:0;;8066:2:1;57802:53:0;;;8048:21:1;8105:2;8085:18;;;8078:30;-1:-1:-1;;;8124:18:1;;;8117:54;8188:18;;57802:53:0;7864:348:1;4541:419:0;3062:42;4732:45;:49;4728:225;;4803:67;;-1:-1:-1;;;4803:67:0;;4854:4;4803:67;;;13381:34:1;-1:-1:-1;;;;;13451:15:1;;13431:18;;;13424:43;3062:42:0;;4803;;13316:18:1;;4803:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4798:144;;4898:28;;-1:-1:-1;;;4898:28:0;;-1:-1:-1;;;;;1692:32:1;;4898:28:0;;;1674:51:1;1647:18;;4898:28:0;1528:203:1;47427:416:0;47508:13;47524:23;47539:7;47524:14;:23::i;:::-;47508:39;;47572:5;-1:-1:-1;;;;;47566:11:0;:2;-1:-1:-1;;;;;47566:11:0;;47558:57;;;;-1:-1:-1;;;47558:57:0;;13930:2:1;47558:57:0;;;13912:21:1;13969:2;13949:18;;;13942:30;14008:34;13988:18;;;13981:62;-1:-1:-1;;;14059:18:1;;;14052:31;14100:19;;47558:57:0;13728:397:1;47558:57:0;22883:10;-1:-1:-1;;;;;47650:21:0;;;;:62;;-1:-1:-1;47675:37:0;47692:5;22883:10;48378:164;:::i;47675:37::-;47628:173;;;;-1:-1:-1;;;47628:173:0;;14332:2:1;47628:173:0;;;14314:21:1;14371:2;14351:18;;;14344:30;14410:34;14390:18;;;14383:62;14481:31;14461:18;;;14454:59;14530:19;;47628:173:0;14130:425:1;47628:173:0;47814:21;47823:2;47827:7;47814:8;:21::i;24417:132::-;24325:6;;-1:-1:-1;;;;;24325:6:0;22883:10;24481:23;24473:68;;;;-1:-1:-1;;;24473:68:0;;14762:2:1;24473:68:0;;;14744:21:1;;;14781:18;;;14774:30;14840:34;14820:18;;;14813:62;14892:18;;24473:68:0;14560:356:1;48609:335:0;48804:41;22883:10;48837:7;48804:18;:41::i;:::-;48796:99;;;;-1:-1:-1;;;48796:99:0;;;;;;;:::i;:::-;48908:28;48918:4;48924:2;48928:7;48908:9;:28::i;49015:185::-;49153:39;49170:4;49176:2;49180:7;49153:39;;;;;;;;;;;;:16;:39::i;25519:191::-;25612:6;;;-1:-1:-1;;;;;25629:17:0;;;-1:-1:-1;;;;;;25629:17:0;;;;;;;25662:40;;25612:6;;;25629:17;25612:6;;25662:40;;25593:16;;25662:40;25582:128;25519:191;:::o;65496:246::-;65576:9;65571:166;65595:11;65591:1;:15;65571:166;;;-1:-1:-1;;;;;65622:31:0;;;;;;:20;:31;;;;;:33;;;;;;:::i;:::-;;;;;;65664:18;:6;6543:19;;6561:1;6543:19;;;6454:127;65664:18;65691:38;65701:9;65712:16;:6;6424:14;;6332:114;65712:16;65691:9;:38::i;:::-;65608:3;;;;:::i;:::-;;;;65571:166;;48152:155;48247:52;22883:10;48280:8;48290;48247:18;:52::i;49271:322::-;49445:41;22883:10;49478:7;49445:18;:41::i;:::-;49437:99;;;;-1:-1:-1;;;49437:99:0;;;;;;;:::i;:::-;49547:38;49561:4;49567:2;49571:7;49580:4;49547:13;:38::i;65748:104::-;65808:13;65837:9;65830:16;;;;;:::i;20230:716::-;20286:13;20337:14;20354:17;20365:5;20354:10;:17::i;:::-;20374:1;20354:21;20337:38;;20390:20;20424:6;20413:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20413:18:0;-1:-1:-1;20390:41:0;-1:-1:-1;20555:28:0;;;20571:2;20555:28;20612:288;-1:-1:-1;;20644:5:0;-1:-1:-1;;;20781:2:0;20770:14;;20765:30;20644:5;20752:44;20842:2;20833:11;;;-1:-1:-1;20863:21:0;20612:288;20863:21;-1:-1:-1;20921:6:0;20230:716;-1:-1:-1;;;20230:716:0:o;57007:174::-;57082:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;57082:29:0;-1:-1:-1;;;;;57082:29:0;;;;;;;;:24;;57136:23;57082:24;57136:14;:23::i;:::-;-1:-1:-1;;;;;57127:46:0;;;;;;;;;;;57007:174;;:::o;51626:264::-;51719:4;51736:13;51752:23;51767:7;51752:14;:23::i;:::-;51736:39;;51805:5;-1:-1:-1;;;;;51794:16:0;:7;-1:-1:-1;;;;;51794:16:0;;:52;;;-1:-1:-1;;;;;;48499:25:0;;;48475:4;48499:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;51814:32;51794:87;;;;51874:7;-1:-1:-1;;;;;51850:31:0;:20;51862:7;51850:11;:20::i;:::-;-1:-1:-1;;;;;51850:31:0;;51794:87;51786:96;51626:264;-1:-1:-1;;;;51626:264:0:o;55625:1263::-;55784:4;-1:-1:-1;;;;;55757:31:0;:23;55772:7;55757:14;:23::i;:::-;-1:-1:-1;;;;;55757:31:0;;55749:81;;;;-1:-1:-1;;;55749:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55849:16:0;;55841:65;;;;-1:-1:-1;;;55841:65:0;;16075:2:1;55841:65:0;;;16057:21:1;16114:2;16094:18;;;16087:30;16153:34;16133:18;;;16126:62;-1:-1:-1;;;16204:18:1;;;16197:34;16248:19;;55841:65:0;15873:400:1;55841:65:0;55919:42;55940:4;55946:2;55950:7;55959:1;55919:20;:42::i;:::-;56091:4;-1:-1:-1;;;;;56064:31:0;:23;56079:7;56064:14;:23::i;:::-;-1:-1:-1;;;;;56064:31:0;;56056:81;;;;-1:-1:-1;;;56056:81:0;;;;;;;:::i;:::-;56209:24;;;;:15;:24;;;;;;;;56202:31;;-1:-1:-1;;;;;;56202:31:0;;;;;;-1:-1:-1;;;;;56685:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;56685:20:0;;;56720:13;;;;;;;;;:18;;56202:31;56720:18;;;56760:16;;;:7;:16;;;;;;:21;;;;;;;;;;56799:27;;56225:7;;56799:27;;;66034:151;;;:::o;52232:110::-;52308:26;52318:2;52322:7;52308:26;;;;;;;;;;;;:9;:26::i;57324:315::-;57479:8;-1:-1:-1;;;;;57470:17:0;:5;-1:-1:-1;;;;;57470:17:0;;57462:55;;;;-1:-1:-1;;;57462:55:0;;16480:2:1;57462:55:0;;;16462:21:1;16519:2;16499:18;;;16492:30;16558:27;16538:18;;;16531:55;16603:18;;57462:55:0;16278:349:1;57462:55:0;-1:-1:-1;;;;;57528:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;57528:46:0;;;;;;;;;;57590:41;;540::1;;;57590::0;;513:18:1;57590:41:0;;;;;;;57324:315;;;:::o;50474:313::-;50630:28;50640:4;50646:2;50650:7;50630:9;:28::i;:::-;50677:47;50700:4;50706:2;50710:7;50719:4;50677:22;:47::i;:::-;50669:110;;;;-1:-1:-1;;;50669:110:0;;;;;;;:::i;17096:922::-;17149:7;;-1:-1:-1;;;17227:15:0;;17223:102;;-1:-1:-1;;;17263:15:0;;;-1:-1:-1;17307:2:0;17297:12;17223:102;17352:6;17343:5;:15;17339:102;;17388:6;17379:15;;;-1:-1:-1;17423:2:0;17413:12;17339:102;17468:6;17459:5;:15;17455:102;;17504:6;17495:15;;;-1:-1:-1;17539:2:0;17529:12;17455:102;17584:5;17575;:14;17571:99;;17619:5;17610:14;;;-1:-1:-1;17653:1:0;17643:11;17571:99;17697:5;17688;:14;17684:99;;17732:5;17723:14;;;-1:-1:-1;17766:1:0;17756:11;17684:99;17810:5;17801;:14;17797:99;;17845:5;17836:14;;;-1:-1:-1;17879:1:0;17869:11;17797:99;17923:5;17914;:14;17910:66;;17959:1;17949:11;18004:6;17096:922;-1:-1:-1;;17096:922:0:o;60012:410::-;60202:1;60190:9;:13;60186:229;;;-1:-1:-1;;;;;60224:18:0;;;60220:87;;-1:-1:-1;;;;;60263:15:0;;;;;;:9;:15;;;;;:28;;60282:9;;60263:15;:28;;60282:9;;60263:28;:::i;:::-;;;;-1:-1:-1;;60220:87:0;-1:-1:-1;;;;;60325:16:0;;;60321:83;;-1:-1:-1;;;;;60362:13:0;;;;;;:9;:13;;;;;:26;;60379:9;;60362:13;:26;;60379:9;;60362:26;:::i;:::-;;;;-1:-1:-1;;60012:410:0;;;;:::o;52569:319::-;52698:18;52704:2;52708:7;52698:5;:18::i;:::-;52749:53;52780:1;52784:2;52788:7;52797:4;52749:22;:53::i;:::-;52727:153;;;;-1:-1:-1;;;52727:153:0;;;;;;;:::i;58427:853::-;58581:4;-1:-1:-1;;;;;58602:13:0;;27245:19;:23;58598:675;;58638:71;;-1:-1:-1;;;58638:71:0;;-1:-1:-1;;;;;58638:36:0;;;;;:71;;22883:10;;58689:4;;58695:7;;58704:4;;58638:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58638:71:0;;;;;;;;-1:-1:-1;;58638:71:0;;;;;;;;;;;;:::i;:::-;;;58634:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58879:6;:13;58896:1;58879:18;58875:328;;58922:60;;-1:-1:-1;;;58922:60:0;;;;;;;:::i;58875:328::-;59153:6;59147:13;59138:6;59134:2;59130:15;59123:38;58634:584;-1:-1:-1;;;;;;58760:51:0;-1:-1:-1;;;58760:51:0;;-1:-1:-1;58753:58:0;;58598:675;-1:-1:-1;59257:4:0;58427:853;;;;;;:::o;53224:942::-;-1:-1:-1;;;;;53304:16:0;;53296:61;;;;-1:-1:-1;;;53296:61:0;;18131:2:1;53296:61:0;;;18113:21:1;;;18150:18;;;18143:30;18209:34;18189:18;;;18182:62;18261:18;;53296:61:0;17929:356:1;53296:61:0;51396:4;50994:16;;;:7;:16;;;;;;-1:-1:-1;;;;;50994:16:0;51420:31;53368:58;;;;-1:-1:-1;;;53368:58:0;;18492:2:1;53368:58:0;;;18474:21:1;18531:2;18511:18;;;18504:30;18570;18550:18;;;18543:58;18618:18;;53368:58:0;18290:352:1;53368:58:0;53439:48;53468:1;53472:2;53476:7;53485:1;53439:20;:48::i;:::-;51396:4;50994:16;;;:7;:16;;;;;;-1:-1:-1;;;;;50994:16:0;51420:31;53577:58;;;;-1:-1:-1;;;53577:58:0;;18492:2:1;53577:58:0;;;18474:21:1;18531:2;18511:18;;;18504:30;18570;18550:18;;;18543:58;18618:18;;53577:58:0;18290:352:1;53577:58:0;-1:-1:-1;;;;;53984:13:0;;;;;;:9;:13;;;;;;;;:18;;54001:1;53984:18;;;54026:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;54026:21:0;;;;;54065:33;54034:7;;53984:13;;54065:33;;53984:13;;54065:33;64911:22:::1;64839:100:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;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;2355:127::-;2416:10;2411:3;2407:20;2404:1;2397:31;2447:4;2444:1;2437:15;2471:4;2468:1;2461:15;2487:632;2552:5;2582:18;2623:2;2615:6;2612:14;2609:40;;;2629:18;;:::i;:::-;2704:2;2698:9;2672:2;2758:15;;-1:-1:-1;;2754:24:1;;;2780:2;2750:33;2746:42;2734:55;;;2804:18;;;2824:22;;;2801:46;2798:72;;;2850:18;;:::i;:::-;2890:10;2886:2;2879:22;2919:6;2910:15;;2949:6;2941;2934:22;2989:3;2980:6;2975:3;2971:16;2968:25;2965:45;;;3006:1;3003;2996:12;2965:45;3056:6;3051:3;3044:4;3036:6;3032:17;3019:44;3111:1;3104:4;3095:6;3087;3083:19;3079:30;3072:41;;;;2487:632;;;;;:::o;3124:451::-;3193:6;3246:2;3234:9;3225:7;3221:23;3217:32;3214:52;;;3262:1;3259;3252:12;3214:52;3302:9;3289:23;3335:18;3327:6;3324:30;3321:50;;;3367:1;3364;3357:12;3321:50;3390:22;;3443:4;3435:13;;3431:27;-1:-1:-1;3421:55:1;;3472:1;3469;3462:12;3421:55;3495:74;3561:7;3556:2;3543:16;3538:2;3534;3530:11;3495:74;:::i;3580:118::-;3666:5;3659:13;3652:21;3645:5;3642:32;3632:60;;3688:1;3685;3678:12;3703:241;3759:6;3812:2;3800:9;3791:7;3787:23;3783:32;3780:52;;;3828:1;3825;3818:12;3780:52;3867:9;3854:23;3886:28;3908:5;3886:28;:::i;3949:186::-;4008:6;4061:2;4049:9;4040:7;4036:23;4032:32;4029:52;;;4077:1;4074;4067:12;4029:52;4100:29;4119:9;4100:29;:::i;4140:328::-;4217:6;4225;4233;4286:2;4274:9;4265:7;4261:23;4257:32;4254:52;;;4302:1;4299;4292:12;4254:52;4325:29;4344:9;4325:29;:::i;:::-;4315:39;;4373:38;4407:2;4396:9;4392:18;4373:38;:::i;:::-;4363:48;;4458:2;4447:9;4443:18;4430:32;4420:42;;4140:328;;;;;:::o;4712:632::-;4883:2;4935:21;;;5005:13;;4908:18;;;5027:22;;;4854:4;;4883:2;5106:15;;;;5080:2;5065:18;;;4854:4;5149:169;5163:6;5160:1;5157:13;5149:169;;;5224:13;;5212:26;;5293:15;;;;5258:12;;;;5185:1;5178:9;5149:169;;;-1:-1:-1;5335:3:1;;4712:632;-1:-1:-1;;;;;;4712:632:1:o;5349:315::-;5414:6;5422;5475:2;5463:9;5454:7;5450:23;5446:32;5443:52;;;5491:1;5488;5481:12;5443:52;5514:29;5533:9;5514:29;:::i;:::-;5504:39;;5593:2;5582:9;5578:18;5565:32;5606:28;5628:5;5606:28;:::i;:::-;5653:5;5643:15;;;5349:315;;;;;:::o;5669:667::-;5764:6;5772;5780;5788;5841:3;5829:9;5820:7;5816:23;5812:33;5809:53;;;5858:1;5855;5848:12;5809:53;5881:29;5900:9;5881:29;:::i;:::-;5871:39;;5929:38;5963:2;5952:9;5948:18;5929:38;:::i;:::-;5919:48;;6014:2;6003:9;5999:18;5986:32;5976:42;;6069:2;6058:9;6054:18;6041:32;6096:18;6088:6;6085:30;6082:50;;;6128:1;6125;6118:12;6082:50;6151:22;;6204:4;6196:13;;6192:27;-1:-1:-1;6182:55:1;;6233:1;6230;6223:12;6182:55;6256:74;6322:7;6317:2;6304:16;6299:2;6295;6291:11;6256:74;:::i;:::-;6246:84;;;5669:667;;;;;;;:::o;6341:260::-;6409:6;6417;6470:2;6458:9;6449:7;6445:23;6441:32;6438:52;;;6486:1;6483;6476:12;6438:52;6509:29;6528:9;6509:29;:::i;:::-;6499:39;;6557:38;6591:2;6580:9;6576:18;6557:38;:::i;:::-;6547:48;;6341:260;;;;;:::o;6606:254::-;6674:6;6682;6735:2;6723:9;6714:7;6710:23;6706:32;6703:52;;;6751:1;6748;6741:12;6703:52;6787:9;6774:23;6764:33;;6816:38;6850:2;6839:9;6835:18;6816:38;:::i;6865:380::-;6944:1;6940:12;;;;6987;;;7008:61;;7062:4;7054:6;7050:17;7040:27;;7008:61;7115:2;7107:6;7104:14;7084:18;7081:38;7078:161;;7161:10;7156:3;7152:20;7149:1;7142:31;7196:4;7193:1;7186:15;7224:4;7221:1;7214:15;7078:161;;6865:380;;;:::o;7460:127::-;7521:10;7516:3;7512:20;7509:1;7502:31;7552:4;7549:1;7542:15;7576:4;7573:1;7566:15;7592:127;7653:10;7648:3;7644:20;7641:1;7634:31;7684:4;7681:1;7674:15;7708:4;7705:1;7698:15;7724:135;7763:3;7784:17;;;7781:43;;7804:18;;:::i;:::-;-1:-1:-1;7851:1:1;7840:13;;7724:135::o;8976:128::-;9016:3;9047:1;9043:6;9040:1;9037:13;9034:39;;;9053:18;;:::i;:::-;-1:-1:-1;9089:9:1;;8976:128::o;10167:168::-;10207:7;10273:1;10269;10265:6;10261:14;10258:1;10255:21;10250:1;10243:9;10236:17;10232:45;10229:71;;;10280:18;;:::i;:::-;-1:-1:-1;10320:9:1;;10167:168::o;11230:1527::-;11454:3;11492:6;11486:13;11518:4;11531:51;11575:6;11570:3;11565:2;11557:6;11553:15;11531:51;:::i;:::-;11645:13;;11604:16;;;;11667:55;11645:13;11604:16;11689:15;;;11667:55;:::i;:::-;11811:13;;11744:20;;;11784:1;;11871;11893:18;;;;11946;;;;11973:93;;12051:4;12041:8;12037:19;12025:31;;11973:93;12114:2;12104:8;12101:16;12081:18;12078:40;12075:167;;-1:-1:-1;;;12141:33:1;;12197:4;12194:1;12187:15;12227:4;12148:3;12215:17;12075:167;12258:18;12285:110;;;;12409:1;12404:328;;;;12251:481;;12285:110;-1:-1:-1;;12320:24:1;;12306:39;;12365:20;;;;-1:-1:-1;12285:110:1;;12404:328;11177:1;11170:14;;;11214:4;11201:18;;12499:1;12513:169;12527:8;12524:1;12521:15;12513:169;;;12609:14;;12594:13;;;12587:37;12652:16;;;;12544:10;;12513:169;;;12517:3;;12713:8;12706:5;12702:20;12695:27;;12251:481;-1:-1:-1;12748:3:1;;11230:1527;-1:-1:-1;;;;;;;;;;;11230:1527:1:o;13478:245::-;13545:6;13598:2;13586:9;13577:7;13573:23;13569:32;13566:52;;;13614:1;13611;13604:12;13566:52;13646:9;13640:16;13665:28;13687:5;13665:28;:::i;14921:409::-;15123:2;15105:21;;;15162:2;15142:18;;;15135:30;15201:34;15196:2;15181:18;;15174:62;-1:-1:-1;;;15267:2:1;15252:18;;15245:43;15320:3;15305:19;;14921:409::o;15467:401::-;15669:2;15651:21;;;15708:2;15688:18;;;15681:30;15747:34;15742:2;15727:18;;15720:62;-1:-1:-1;;;15813:2:1;15798:18;;15791:35;15858:3;15843:19;;15467:401::o;16632:414::-;16834:2;16816:21;;;16873:2;16853:18;;;16846:30;16912:34;16907:2;16892:18;;16885:62;-1:-1:-1;;;16978:2:1;16963:18;;16956:48;17036:3;17021:19;;16632:414::o;17051:125::-;17091:4;17119:1;17116;17113:8;17110:34;;;17124:18;;:::i;:::-;-1:-1:-1;17161:9:1;;17051:125::o;17181:489::-;-1:-1:-1;;;;;17450:15:1;;;17432:34;;17502:15;;17497:2;17482:18;;17475:43;17549:2;17534:18;;17527:34;;;17597:3;17592:2;17577:18;;17570:31;;;17375:4;;17618:46;;17644:19;;17636:6;17618:46;:::i;:::-;17610:54;17181:489;-1:-1:-1;;;;;;17181:489:1:o;17675:249::-;17744:6;17797:2;17785:9;17776:7;17772:23;17768:32;17765:52;;;17813:1;17810;17803:12;17765:52;17845:9;17839:16;17864:30;17888:5;17864:30;:::i
Swarm Source
ipfs://13cade43b1aff37339a8d9dcb2167d2c3e759fe5580748ec7c676753ba24af9a
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.