Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 49 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 16709973 | 1112 days ago | IN | 0 ETH | 0.00078051 | ||||
| Set Approval For... | 16709308 | 1112 days ago | IN | 0 ETH | 0.00081943 | ||||
| Set Approval For... | 16708468 | 1112 days ago | IN | 0 ETH | 0.00092639 | ||||
| Set Approval For... | 16708444 | 1112 days ago | IN | 0 ETH | 0.00095815 | ||||
| Set Approval For... | 16708444 | 1112 days ago | IN | 0 ETH | 0.00095815 | ||||
| Set Approval For... | 16708444 | 1112 days ago | IN | 0 ETH | 0.00095907 | ||||
| Set Approval For... | 16708444 | 1112 days ago | IN | 0 ETH | 0.00095907 | ||||
| Set Approval For... | 16708444 | 1112 days ago | IN | 0 ETH | 0.00095907 | ||||
| Set Approval For... | 16708444 | 1112 days ago | IN | 0 ETH | 0.00095907 | ||||
| Set Approval For... | 16708444 | 1112 days ago | IN | 0 ETH | 0.00095907 | ||||
| Set Approval For... | 16708441 | 1112 days ago | IN | 0 ETH | 0.00094742 | ||||
| Set Approval For... | 16708439 | 1112 days ago | IN | 0 ETH | 0.00094262 | ||||
| Free Mint | 16708437 | 1112 days ago | IN | 0 ETH | 0.00065129 | ||||
| Free Mint | 16708437 | 1112 days ago | IN | 0 ETH | 0.00064473 | ||||
| Free Mint | 16708436 | 1112 days ago | IN | 0 ETH | 0.00066266 | ||||
| Set Approval For... | 16708433 | 1112 days ago | IN | 0 ETH | 0.00106133 | ||||
| Free Mint | 16708432 | 1112 days ago | IN | 0 ETH | 0.00068058 | ||||
| Free Mint | 16708432 | 1112 days ago | IN | 0 ETH | 0.00391841 | ||||
| Free Mint | 16708431 | 1112 days ago | IN | 0 ETH | 0.00362552 | ||||
| Free Mint | 16708431 | 1112 days ago | IN | 0 ETH | 0.00362552 | ||||
| Free Mint | 16708430 | 1112 days ago | IN | 0 ETH | 0.00539981 | ||||
| Free Mint | 16708429 | 1112 days ago | IN | 0 ETH | 0.00532008 | ||||
| Free Mint | 16708429 | 1112 days ago | IN | 0 ETH | 0.00336723 | ||||
| Free Mint | 16708429 | 1112 days ago | IN | 0 ETH | 0.00348048 | ||||
| Free Mint | 16708429 | 1112 days ago | IN | 0 ETH | 0.00348048 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Kureverse
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2023-02-25
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the subtraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
// File: @openzeppelin/contracts/utils/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/IERC721Enumerable.sol
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}
// File: @openzeppelin/contracts/token/ERC721/extensions/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: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev See {ERC721-_beforeTokenTransfer}.
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 firstTokenId,
uint256 batchSize
) internal virtual override {
super._beforeTokenTransfer(from, to, firstTokenId, batchSize);
if (batchSize > 1) {
// Will only trigger during construction. Batch transferring (minting) is not available afterwards.
revert("ERC721Enumerable: consecutive transfers not supported");
}
uint256 tokenId = firstTokenId;
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}
// File: contracts/Kureverse.sol
pragma solidity ^0.8.2;
contract Kureverse is ERC721Enumerable, Ownable {
using SafeMath for uint256;
using Counters for Counters.Counter;
string public _baseTokenURI;
uint256 public SUPPLY = 50;
Counters.Counter private supply;
constructor(string memory name,
string memory symbol,
string memory baseTokenURI) ERC721(name, symbol)
{
_baseTokenURI = baseTokenURI;
}
function freeMint(uint256 numberOfTokens) external {
require(totalSupply().add(numberOfTokens) <= SUPPLY, "All minted");
for(uint i = 0; i < numberOfTokens; i++) {
supply.increment();
_safeMint(msg.sender, supply.current());
}
}
function _baseURI() internal view virtual override returns (string memory) {
return _baseTokenURI;
}
function setBaseURI(string calldata baseURI) external onlyOwner {
_baseTokenURI = baseURI;
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal override {
super._beforeTokenTransfer(from, to, tokenId, batchSize);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526032600c553480156200001657600080fd5b50604051620020c1380380620020c18339810160408190526200003991620001a8565b82826000620000498382620002c8565b506001620000588282620002c8565b505050620000756200006f6200008d60201b60201c565b62000091565b600b620000838282620002c8565b5050505062000394565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200010b57600080fd5b81516001600160401b0380821115620001285762000128620000e3565b604051601f8301601f19908116603f01168101908282118183101715620001535762000153620000e3565b816040528381526020925086838588010111156200017057600080fd5b600091505b8382101562000194578582018301518183018401529082019062000175565b600093810190920192909252949350505050565b600080600060608486031215620001be57600080fd5b83516001600160401b0380821115620001d657600080fd5b620001e487838801620000f9565b94506020860151915080821115620001fb57600080fd5b6200020987838801620000f9565b935060408601519150808211156200022057600080fd5b506200022f86828701620000f9565b9150509250925092565b600181811c908216806200024e57607f821691505b6020821081036200026f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002c357600081815260208120601f850160051c810160208610156200029e5750805b601f850160051c820191505b81811015620002bf57828155600101620002aa565b5050505b505050565b81516001600160401b03811115620002e457620002e4620000e3565b620002fc81620002f5845462000239565b8462000275565b602080601f8311600181146200033457600084156200031b5750858301515b600019600386901b1c1916600185901b178555620002bf565b600085815260208120601f198616915b82811015620003655788860151825594840194600190910190840162000344565b5085821015620003845787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611d1d80620003a46000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063b88d4fde1161007c578063b88d4fde146102ad578063c50497ae146102c0578063c87b56dd146102c9578063cfc86f7b146102dc578063e985e9c5146102e4578063f2fde38b1461032057600080fd5b806370a0823114610253578063715018a6146102665780637c928fe91461026e5780638da5cb5b1461028157806395d89b4114610292578063a22cb4651461029a57600080fd5b806323b872dd1161011557806323b872dd146101e15780632f745c59146101f457806342842e0e146102075780634f6ccce71461021a57806355f804b31461022d5780636352211e1461024057600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806318160ddd146101cf575b600080fd5b6101656101603660046116a8565b610333565b60405190151581526020015b60405180910390f35b61018261035e565b6040516101719190611715565b6101a261019d366004611728565b6103f0565b6040516001600160a01b039091168152602001610171565b6101cd6101c836600461175d565b610417565b005b6008545b604051908152602001610171565b6101cd6101ef366004611787565b610531565b6101d361020236600461175d565b610562565b6101cd610215366004611787565b6105f8565b6101d3610228366004611728565b610613565b6101cd61023b3660046117c3565b6106a6565b6101a261024e366004611728565b6106bb565b6101d3610261366004611835565b61071b565b6101cd6107a1565b6101cd61027c366004611728565b6107b5565b600a546001600160a01b03166101a2565b610182610847565b6101cd6102a8366004611850565b610856565b6101cd6102bb3660046118a2565b610861565b6101d3600c5481565b6101826102d7366004611728565b610899565b610182610900565b6101656102f236600461197e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101cd61032e366004611835565b61098e565b60006001600160e01b0319821663780e9d6360e01b1480610358575061035882610a07565b92915050565b60606000805461036d906119b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610399906119b1565b80156103e65780601f106103bb576101008083540402835291602001916103e6565b820191906000526020600020905b8154815290600101906020018083116103c957829003601f168201915b5050505050905090565b60006103fb82610a57565b506000908152600460205260409020546001600160a01b031690565b6000610422826106bb565b9050806001600160a01b0316836001600160a01b0316036104945760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104b057506104b081336102f2565b6105225760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161048b565b61052c8383610ab6565b505050565b61053b3382610b24565b6105575760405162461bcd60e51b815260040161048b906119eb565b61052c838383610ba3565b600061056d8361071b565b82106105cf5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161048b565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61052c83838360405180602001604052806000815250610861565b600061061e60085490565b82106106815760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161048b565b6008828154811061069457610694611a38565b90600052602060002001549050919050565b6106ae610d14565b600b61052c828483611a9c565b6000818152600260205260408120546001600160a01b0316806103585760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161048b565b60006001600160a01b0382166107855760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161048b565b506001600160a01b031660009081526003602052604090205490565b6107a9610d14565b6107b36000610d6e565b565b600c546107cb826107c560085490565b90610dc0565b11156108065760405162461bcd60e51b815260206004820152600a602482015269105b1b081b5a5b9d195960b21b604482015260640161048b565b60005b818110156108435761081f600d80546001019055565b6108313361082c600d5490565b610dcc565b8061083b81611b72565b915050610809565b5050565b60606001805461036d906119b1565b610843338383610de6565b61086b3383610b24565b6108875760405162461bcd60e51b815260040161048b906119eb565b61089384848484610eb4565b50505050565b60606108a482610a57565b60006108ae610ee7565b905060008151116108ce57604051806020016040528060008152506108f9565b806108d884610ef6565b6040516020016108e9929190611b8b565b6040516020818303038152906040525b9392505050565b600b805461090d906119b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610939906119b1565b80156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b505050505081565b610996610d14565b6001600160a01b0381166109fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161048b565b610a0481610d6e565b50565b60006001600160e01b031982166380ac58cd60e01b1480610a3857506001600160e01b03198216635b5e139f60e01b145b8061035857506301ffc9a760e01b6001600160e01b0319831614610358565b6000818152600260205260409020546001600160a01b0316610a045760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161048b565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610aeb826106bb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610b30836106bb565b9050806001600160a01b0316846001600160a01b03161480610b7757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b9b5750836001600160a01b0316610b90846103f0565b6001600160a01b0316145b949350505050565b826001600160a01b0316610bb6826106bb565b6001600160a01b031614610bdc5760405162461bcd60e51b815260040161048b90611bba565b6001600160a01b038216610c3e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161048b565b610c4b8383836001610f89565b826001600160a01b0316610c5e826106bb565b6001600160a01b031614610c845760405162461bcd60e51b815260040161048b90611bba565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b031633146107b35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161048b565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006108f98284611bff565b610843828260405180602001604052806000815250610f95565b816001600160a01b0316836001600160a01b031603610e475760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161048b565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610ebf848484610ba3565b610ecb84848484610fc8565b6108935760405162461bcd60e51b815260040161048b90611c12565b6060600b805461036d906119b1565b60606000610f03836110c9565b600101905060008167ffffffffffffffff811115610f2357610f2361188c565b6040519080825280601f01601f191660200182016040528015610f4d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610f5757509392505050565b610893848484846111a1565b610f9f83836112e1565b610fac6000848484610fc8565b61052c5760405162461bcd60e51b815260040161048b90611c12565b60006001600160a01b0384163b156110be57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061100c903390899088908890600401611c64565b6020604051808303816000875af1925050508015611047575060408051601f3d908101601f1916820190925261104491810190611ca1565b60015b6110a4573d808015611075576040519150601f19603f3d011682016040523d82523d6000602084013e61107a565b606091505b50805160000361109c5760405162461bcd60e51b815260040161048b90611c12565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b9b565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106111085772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611134576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061115257662386f26fc10000830492506010015b6305f5e100831061116a576305f5e100830492506008015b612710831061117e57612710830492506004015b60648310611190576064830492506002015b600a83106103585760010192915050565b6111ad8484848461147a565b600181111561121c5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b606482015260840161048b565b816001600160a01b0385166112785761127381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61129b565b836001600160a01b0316856001600160a01b03161461129b5761129b8582611502565b6001600160a01b0384166112b7576112b28161159f565b6112da565b846001600160a01b0316846001600160a01b0316146112da576112da848261164e565b5050505050565b6001600160a01b0382166113375760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161048b565b6000818152600260205260409020546001600160a01b03161561139c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161048b565b6113aa600083836001610f89565b6000818152600260205260409020546001600160a01b03161561140f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161048b565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115610893576001600160a01b038416156114c0576001600160a01b038416600090815260036020526040812080548392906114ba908490611cbe565b90915550505b6001600160a01b03831615610893576001600160a01b038316600090815260036020526040812080548392906114f7908490611bff565b909155505050505050565b6000600161150f8461071b565b6115199190611cbe565b60008381526007602052604090205490915080821461156c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906115b190600190611cbe565b600083815260096020526040812054600880549394509092849081106115d9576115d9611a38565b9060005260206000200154905080600883815481106115fa576115fa611a38565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061163257611632611cd1565b6001900381819060005260206000200160009055905550505050565b60006116598361071b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610a0457600080fd5b6000602082840312156116ba57600080fd5b81356108f981611692565b60005b838110156116e05781810151838201526020016116c8565b50506000910152565b600081518084526117018160208601602086016116c5565b601f01601f19169290920160200192915050565b6020815260006108f960208301846116e9565b60006020828403121561173a57600080fd5b5035919050565b80356001600160a01b038116811461175857600080fd5b919050565b6000806040838503121561177057600080fd5b61177983611741565b946020939093013593505050565b60008060006060848603121561179c57600080fd5b6117a584611741565b92506117b360208501611741565b9150604084013590509250925092565b600080602083850312156117d657600080fd5b823567ffffffffffffffff808211156117ee57600080fd5b818501915085601f83011261180257600080fd5b81358181111561181157600080fd5b86602082850101111561182357600080fd5b60209290920196919550909350505050565b60006020828403121561184757600080fd5b6108f982611741565b6000806040838503121561186357600080fd5b61186c83611741565b91506020830135801515811461188157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156118b857600080fd5b6118c185611741565b93506118cf60208601611741565b925060408501359150606085013567ffffffffffffffff808211156118f357600080fd5b818701915087601f83011261190757600080fd5b8135818111156119195761191961188c565b604051601f8201601f19908116603f011681019083821181831017156119415761194161188c565b816040528281528a602084870101111561195a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561199157600080fd5b61199a83611741565b91506119a860208401611741565b90509250929050565b600181811c908216806119c557607f821691505b6020821081036119e557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f82111561052c57600081815260208120601f850160051c81016020861015611a755750805b601f850160051c820191505b81811015611a9457828155600101611a81565b505050505050565b67ffffffffffffffff831115611ab457611ab461188c565b611ac883611ac283546119b1565b83611a4e565b6000601f841160018114611afc5760008515611ae45750838201355b600019600387901b1c1916600186901b1783556112da565b600083815260209020601f19861690835b82811015611b2d5786850135825560209485019460019092019101611b0d565b5086821015611b4a5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611b8457611b84611b5c565b5060010190565b60008351611b9d8184602088016116c5565b835190830190611bb18183602088016116c5565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b8082018082111561035857610358611b5c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c97908301846116e9565b9695505050505050565b600060208284031215611cb357600080fd5b81516108f981611692565b8181038181111561035857610358611b5c565b634e487b7160e01b600052603160045260246000fdfea264697066735822122012a268935e1cbda95e3a874167919afc843748bdfb9ae95c2914c3f71dfc99a664736f6c63430008130033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000094b7572655665727365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024b560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e6d6a4c396d7076334b73366e7047615264454152367748736634624e7643325968346834755538594b52792f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c3578063b88d4fde1161007c578063b88d4fde146102ad578063c50497ae146102c0578063c87b56dd146102c9578063cfc86f7b146102dc578063e985e9c5146102e4578063f2fde38b1461032057600080fd5b806370a0823114610253578063715018a6146102665780637c928fe91461026e5780638da5cb5b1461028157806395d89b4114610292578063a22cb4651461029a57600080fd5b806323b872dd1161011557806323b872dd146101e15780632f745c59146101f457806342842e0e146102075780634f6ccce71461021a57806355f804b31461022d5780636352211e1461024057600080fd5b806301ffc9a71461015257806306fdde031461017a578063081812fc1461018f578063095ea7b3146101ba57806318160ddd146101cf575b600080fd5b6101656101603660046116a8565b610333565b60405190151581526020015b60405180910390f35b61018261035e565b6040516101719190611715565b6101a261019d366004611728565b6103f0565b6040516001600160a01b039091168152602001610171565b6101cd6101c836600461175d565b610417565b005b6008545b604051908152602001610171565b6101cd6101ef366004611787565b610531565b6101d361020236600461175d565b610562565b6101cd610215366004611787565b6105f8565b6101d3610228366004611728565b610613565b6101cd61023b3660046117c3565b6106a6565b6101a261024e366004611728565b6106bb565b6101d3610261366004611835565b61071b565b6101cd6107a1565b6101cd61027c366004611728565b6107b5565b600a546001600160a01b03166101a2565b610182610847565b6101cd6102a8366004611850565b610856565b6101cd6102bb3660046118a2565b610861565b6101d3600c5481565b6101826102d7366004611728565b610899565b610182610900565b6101656102f236600461197e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101cd61032e366004611835565b61098e565b60006001600160e01b0319821663780e9d6360e01b1480610358575061035882610a07565b92915050565b60606000805461036d906119b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610399906119b1565b80156103e65780601f106103bb576101008083540402835291602001916103e6565b820191906000526020600020905b8154815290600101906020018083116103c957829003601f168201915b5050505050905090565b60006103fb82610a57565b506000908152600460205260409020546001600160a01b031690565b6000610422826106bb565b9050806001600160a01b0316836001600160a01b0316036104945760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806104b057506104b081336102f2565b6105225760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161048b565b61052c8383610ab6565b505050565b61053b3382610b24565b6105575760405162461bcd60e51b815260040161048b906119eb565b61052c838383610ba3565b600061056d8361071b565b82106105cf5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161048b565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61052c83838360405180602001604052806000815250610861565b600061061e60085490565b82106106815760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161048b565b6008828154811061069457610694611a38565b90600052602060002001549050919050565b6106ae610d14565b600b61052c828483611a9c565b6000818152600260205260408120546001600160a01b0316806103585760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161048b565b60006001600160a01b0382166107855760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161048b565b506001600160a01b031660009081526003602052604090205490565b6107a9610d14565b6107b36000610d6e565b565b600c546107cb826107c560085490565b90610dc0565b11156108065760405162461bcd60e51b815260206004820152600a602482015269105b1b081b5a5b9d195960b21b604482015260640161048b565b60005b818110156108435761081f600d80546001019055565b6108313361082c600d5490565b610dcc565b8061083b81611b72565b915050610809565b5050565b60606001805461036d906119b1565b610843338383610de6565b61086b3383610b24565b6108875760405162461bcd60e51b815260040161048b906119eb565b61089384848484610eb4565b50505050565b60606108a482610a57565b60006108ae610ee7565b905060008151116108ce57604051806020016040528060008152506108f9565b806108d884610ef6565b6040516020016108e9929190611b8b565b6040516020818303038152906040525b9392505050565b600b805461090d906119b1565b80601f0160208091040260200160405190810160405280929190818152602001828054610939906119b1565b80156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b505050505081565b610996610d14565b6001600160a01b0381166109fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161048b565b610a0481610d6e565b50565b60006001600160e01b031982166380ac58cd60e01b1480610a3857506001600160e01b03198216635b5e139f60e01b145b8061035857506301ffc9a760e01b6001600160e01b0319831614610358565b6000818152600260205260409020546001600160a01b0316610a045760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161048b565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610aeb826106bb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610b30836106bb565b9050806001600160a01b0316846001600160a01b03161480610b7757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b9b5750836001600160a01b0316610b90846103f0565b6001600160a01b0316145b949350505050565b826001600160a01b0316610bb6826106bb565b6001600160a01b031614610bdc5760405162461bcd60e51b815260040161048b90611bba565b6001600160a01b038216610c3e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161048b565b610c4b8383836001610f89565b826001600160a01b0316610c5e826106bb565b6001600160a01b031614610c845760405162461bcd60e51b815260040161048b90611bba565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b031633146107b35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161048b565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006108f98284611bff565b610843828260405180602001604052806000815250610f95565b816001600160a01b0316836001600160a01b031603610e475760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161048b565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610ebf848484610ba3565b610ecb84848484610fc8565b6108935760405162461bcd60e51b815260040161048b90611c12565b6060600b805461036d906119b1565b60606000610f03836110c9565b600101905060008167ffffffffffffffff811115610f2357610f2361188c565b6040519080825280601f01601f191660200182016040528015610f4d576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084610f5757509392505050565b610893848484846111a1565b610f9f83836112e1565b610fac6000848484610fc8565b61052c5760405162461bcd60e51b815260040161048b90611c12565b60006001600160a01b0384163b156110be57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061100c903390899088908890600401611c64565b6020604051808303816000875af1925050508015611047575060408051601f3d908101601f1916820190925261104491810190611ca1565b60015b6110a4573d808015611075576040519150601f19603f3d011682016040523d82523d6000602084013e61107a565b606091505b50805160000361109c5760405162461bcd60e51b815260040161048b90611c12565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b9b565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106111085772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611134576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061115257662386f26fc10000830492506010015b6305f5e100831061116a576305f5e100830492506008015b612710831061117e57612710830492506004015b60648310611190576064830492506002015b600a83106103585760010192915050565b6111ad8484848461147a565b600181111561121c5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b606482015260840161048b565b816001600160a01b0385166112785761127381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61129b565b836001600160a01b0316856001600160a01b03161461129b5761129b8582611502565b6001600160a01b0384166112b7576112b28161159f565b6112da565b846001600160a01b0316846001600160a01b0316146112da576112da848261164e565b5050505050565b6001600160a01b0382166113375760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161048b565b6000818152600260205260409020546001600160a01b03161561139c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161048b565b6113aa600083836001610f89565b6000818152600260205260409020546001600160a01b03161561140f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161048b565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115610893576001600160a01b038416156114c0576001600160a01b038416600090815260036020526040812080548392906114ba908490611cbe565b90915550505b6001600160a01b03831615610893576001600160a01b038316600090815260036020526040812080548392906114f7908490611bff565b909155505050505050565b6000600161150f8461071b565b6115199190611cbe565b60008381526007602052604090205490915080821461156c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906115b190600190611cbe565b600083815260096020526040812054600880549394509092849081106115d9576115d9611a38565b9060005260206000200154905080600883815481106115fa576115fa611a38565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061163257611632611cd1565b6001900381819060005260206000200160009055905550505050565b60006116598361071b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610a0457600080fd5b6000602082840312156116ba57600080fd5b81356108f981611692565b60005b838110156116e05781810151838201526020016116c8565b50506000910152565b600081518084526117018160208601602086016116c5565b601f01601f19169290920160200192915050565b6020815260006108f960208301846116e9565b60006020828403121561173a57600080fd5b5035919050565b80356001600160a01b038116811461175857600080fd5b919050565b6000806040838503121561177057600080fd5b61177983611741565b946020939093013593505050565b60008060006060848603121561179c57600080fd5b6117a584611741565b92506117b360208501611741565b9150604084013590509250925092565b600080602083850312156117d657600080fd5b823567ffffffffffffffff808211156117ee57600080fd5b818501915085601f83011261180257600080fd5b81358181111561181157600080fd5b86602082850101111561182357600080fd5b60209290920196919550909350505050565b60006020828403121561184757600080fd5b6108f982611741565b6000806040838503121561186357600080fd5b61186c83611741565b91506020830135801515811461188157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156118b857600080fd5b6118c185611741565b93506118cf60208601611741565b925060408501359150606085013567ffffffffffffffff808211156118f357600080fd5b818701915087601f83011261190757600080fd5b8135818111156119195761191961188c565b604051601f8201601f19908116603f011681019083821181831017156119415761194161188c565b816040528281528a602084870101111561195a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561199157600080fd5b61199a83611741565b91506119a860208401611741565b90509250929050565b600181811c908216806119c557607f821691505b6020821081036119e557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f82111561052c57600081815260208120601f850160051c81016020861015611a755750805b601f850160051c820191505b81811015611a9457828155600101611a81565b505050505050565b67ffffffffffffffff831115611ab457611ab461188c565b611ac883611ac283546119b1565b83611a4e565b6000601f841160018114611afc5760008515611ae45750838201355b600019600387901b1c1916600186901b1783556112da565b600083815260209020601f19861690835b82811015611b2d5786850135825560209485019460019092019101611b0d565b5086821015611b4a5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611b8457611b84611b5c565b5060010190565b60008351611b9d8184602088016116c5565b835190830190611bb18183602088016116c5565b01949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b8082018082111561035857610358611b5c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c97908301846116e9565b9695505050505050565b600060208284031215611cb357600080fd5b81516108f981611692565b8181038181111561035857610358611b5c565b634e487b7160e01b600052603160045260246000fdfea264697066735822122012a268935e1cbda95e3a874167919afc843748bdfb9ae95c2914c3f71dfc99a664736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000094b7572655665727365000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024b560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e6d6a4c396d7076334b73366e7047615264454152367748736634624e7643325968346834755538594b52792f00000000000000000000
-----Decoded View---------------
Arg [0] : name (string): KureVerse
Arg [1] : symbol (string): KV
Arg [2] : baseTokenURI (string): ipfs://QmNmjL9mpv3Ks6npGaRdEAR6wHsf4bNvC2Yh4h4uU8YKRy/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 4b75726556657273650000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 4b56000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d4e6d6a4c396d7076334b73366e70476152644541523677
Arg [9] : 48736634624e7643325968346834755538594b52792f00000000000000000000
Deployed Bytecode Sourcemap
71043:1144:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65029:224;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;65029:224:0;;;;;;;;49091:100;;;:::i;:::-;;;;;;;:::i;50603:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;50603:171:0;1533:203:1;50121:416:0;;;;;;:::i;:::-;;:::i;:::-;;65669:113;65757:10;:17;65669:113;;;2324:25:1;;;2312:2;2297:18;65669:113:0;2178:177:1;51303:335:0;;;;;;:::i;:::-;;:::i;65337:256::-;;;;;;:::i;:::-;;:::i;51709:185::-;;;;;;:::i;:::-;;:::i;65859:233::-;;;;;;:::i;:::-;;:::i;71883:106::-;;;;;;:::i;:::-;;:::i;48801:223::-;;;;;;:::i;:::-;;:::i;48532:207::-;;;;;;:::i;:::-;;:::i;26514:103::-;;;:::i;71465:288::-;;;;;;:::i;:::-;;:::i;25866:87::-;25939:6;;-1:-1:-1;;;;;25939:6:0;25866:87;;49260:104;;;:::i;50846:155::-;;;;;;:::i;:::-;;:::i;51965:322::-;;;;;;:::i;:::-;;:::i;71211:26::-;;;;;;49435:281;;;;;;:::i;:::-;;:::i;71177:27::-;;;:::i;51072:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;51193:25:0;;;51169:4;51193:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;51072:164;26772:201;;;;;;:::i;:::-;;:::i;65029:224::-;65131:4;-1:-1:-1;;;;;;65155:50:0;;-1:-1:-1;;;65155:50:0;;:90;;;65209:36;65233:11;65209:23;:36::i;:::-;65148:97;65029:224;-1:-1:-1;;65029:224:0:o;49091:100::-;49145:13;49178:5;49171:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49091:100;:::o;50603:171::-;50679:7;50699:23;50714:7;50699:14;:23::i;:::-;-1:-1:-1;50742:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;50742:24:0;;50603:171::o;50121:416::-;50202:13;50218:23;50233:7;50218:14;:23::i;:::-;50202:39;;50266:5;-1:-1:-1;;;;;50260:11:0;:2;-1:-1:-1;;;;;50260:11:0;;50252:57;;;;-1:-1:-1;;;50252:57:0;;5960:2:1;50252:57:0;;;5942:21:1;5999:2;5979:18;;;5972:30;6038:34;6018:18;;;6011:62;-1:-1:-1;;;6089:18:1;;;6082:31;6130:19;;50252:57:0;;;;;;;;;24497:10;-1:-1:-1;;;;;50344:21:0;;;;:62;;-1:-1:-1;50369:37:0;50386:5;24497:10;51072:164;:::i;50369:37::-;50322:173;;;;-1:-1:-1;;;50322:173:0;;6362:2:1;50322:173:0;;;6344:21:1;6401:2;6381:18;;;6374:30;6440:34;6420:18;;;6413:62;6511:31;6491:18;;;6484:59;6560:19;;50322:173:0;6160:425:1;50322:173:0;50508:21;50517:2;50521:7;50508:8;:21::i;:::-;50191:346;50121:416;;:::o;51303:335::-;51498:41;24497:10;51531:7;51498:18;:41::i;:::-;51490:99;;;;-1:-1:-1;;;51490:99:0;;;;;;;:::i;:::-;51602:28;51612:4;51618:2;51622:7;51602:9;:28::i;65337:256::-;65434:7;65470:23;65487:5;65470:16;:23::i;:::-;65462:5;:31;65454:87;;;;-1:-1:-1;;;65454:87:0;;7206:2:1;65454:87:0;;;7188:21:1;7245:2;7225:18;;;7218:30;7284:34;7264:18;;;7257:62;-1:-1:-1;;;7335:18:1;;;7328:41;7386:19;;65454:87:0;7004:407:1;65454:87:0;-1:-1:-1;;;;;;65559:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;65337:256::o;51709:185::-;51847:39;51864:4;51870:2;51874:7;51847:39;;;;;;;;;;;;:16;:39::i;65859:233::-;65934:7;65970:30;65757:10;:17;;65669:113;65970:30;65962:5;:38;65954:95;;;;-1:-1:-1;;;65954:95:0;;7618:2:1;65954:95:0;;;7600:21:1;7657:2;7637:18;;;7630:30;7696:34;7676:18;;;7669:62;-1:-1:-1;;;7747:18:1;;;7740:42;7799:19;;65954:95:0;7416:408:1;65954:95:0;66067:10;66078:5;66067:17;;;;;;;;:::i;:::-;;;;;;;;;66060:24;;65859:233;;;:::o;71883:106::-;25752:13;:11;:13::i;:::-;71958::::1;:23;71974:7:::0;;71958:13;:23:::1;:::i;48801:223::-:0;48873:7;53688:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53688:16:0;;48937:56;;;;-1:-1:-1;;;48937:56:0;;10221:2:1;48937:56:0;;;10203:21:1;10260:2;10240:18;;;10233:30;-1:-1:-1;;;10279:18:1;;;10272:54;10343:18;;48937:56:0;10019:348:1;48532:207:0;48604:7;-1:-1:-1;;;;;48632:19:0;;48624:73;;;;-1:-1:-1;;;48624:73:0;;10574:2:1;48624:73:0;;;10556:21:1;10613:2;10593:18;;;10586:30;10652:34;10632:18;;;10625:62;-1:-1:-1;;;10703:18:1;;;10696:39;10752:19;;48624:73:0;10372:405:1;48624:73:0;-1:-1:-1;;;;;;48715:16:0;;;;;:9;:16;;;;;;;48532:207::o;26514:103::-;25752:13;:11;:13::i;:::-;26579:30:::1;26606:1;26579:18;:30::i;:::-;26514:103::o:0;71465:288::-;71572:6;;71535:33;71553:14;71535:13;65757:10;:17;;65669:113;71535:13;:17;;:33::i;:::-;:43;;71527:66;;;;-1:-1:-1;;;71527:66:0;;10984:2:1;71527:66:0;;;10966:21:1;11023:2;11003:18;;;10996:30;-1:-1:-1;;;11042:18:1;;;11035:40;11092:18;;71527:66:0;10782:334:1;71527:66:0;71610:6;71606:140;71626:14;71622:1;:18;71606:140;;;71662:18;:6;8157:19;;8175:1;8157:19;;;8068:127;71662:18;71695:39;71705:10;71717:16;:6;8038:14;;7946:114;71717:16;71695:9;:39::i;:::-;71642:3;;;;:::i;:::-;;;;71606:140;;;;71465:288;:::o;49260:104::-;49316:13;49349:7;49342:14;;;;;:::i;50846:155::-;50941:52;24497:10;50974:8;50984;50941:18;:52::i;51965:322::-;52139:41;24497:10;52172:7;52139:18;:41::i;:::-;52131:99;;;;-1:-1:-1;;;52131:99:0;;;;;;;:::i;:::-;52241:38;52255:4;52261:2;52265:7;52274:4;52241:13;:38::i;:::-;51965:322;;;;:::o;49435:281::-;49508:13;49534:23;49549:7;49534:14;:23::i;:::-;49570:21;49594:10;:8;:10::i;:::-;49570:34;;49646:1;49628:7;49622:21;:25;:86;;;;;;;;;;;;;;;;;49674:7;49683:18;:7;:16;:18::i;:::-;49657:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49622:86;49615:93;49435:281;-1:-1:-1;;;49435:281:0:o;71177:27::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26772:201::-;25752:13;:11;:13::i;:::-;-1:-1:-1;;;;;26861:22:0;::::1;26853:73;;;::::0;-1:-1:-1;;;26853:73:0;;12096:2:1;26853:73:0::1;::::0;::::1;12078:21:1::0;12135:2;12115:18;;;12108:30;12174:34;12154:18;;;12147:62;-1:-1:-1;;;12225:18:1;;;12218:36;12271:19;;26853:73:0::1;11894:402:1::0;26853:73:0::1;26937:28;26956:8;26937:18;:28::i;:::-;26772:201:::0;:::o;48163:305::-;48265:4;-1:-1:-1;;;;;;48302:40:0;;-1:-1:-1;;;48302:40:0;;:105;;-1:-1:-1;;;;;;;48359:48:0;;-1:-1:-1;;;48359:48:0;48302:105;:158;;;-1:-1:-1;;;;;;;;;;39704:40:0;;;48424:36;39595:157;60422:135;54090:4;53688:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53688:16:0;60496:53;;;;-1:-1:-1;;;60496:53:0;;10221:2:1;60496:53:0;;;10203:21:1;10260:2;10240:18;;;10233:30;-1:-1:-1;;;10279:18:1;;;10272:54;10343:18;;60496:53:0;10019:348:1;59701:174:0;59776:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;59776:29:0;-1:-1:-1;;;;;59776:29:0;;;;;;;;:24;;59830:23;59776:24;59830:14;:23::i;:::-;-1:-1:-1;;;;;59821:46:0;;;;;;;;;;;59701:174;;:::o;54320:264::-;54413:4;54430:13;54446:23;54461:7;54446:14;:23::i;:::-;54430:39;;54499:5;-1:-1:-1;;;;;54488:16:0;:7;-1:-1:-1;;;;;54488:16:0;;:52;;;-1:-1:-1;;;;;;51193:25:0;;;51169:4;51193:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;54508:32;54488:87;;;;54568:7;-1:-1:-1;;;;;54544:31:0;:20;54556:7;54544:11;:20::i;:::-;-1:-1:-1;;;;;54544:31:0;;54488:87;54480:96;54320:264;-1:-1:-1;;;;54320:264:0:o;58319:1263::-;58478:4;-1:-1:-1;;;;;58451:31:0;:23;58466:7;58451:14;:23::i;:::-;-1:-1:-1;;;;;58451:31:0;;58443:81;;;;-1:-1:-1;;;58443:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58543:16:0;;58535:65;;;;-1:-1:-1;;;58535:65:0;;12909:2:1;58535:65:0;;;12891:21:1;12948:2;12928:18;;;12921:30;12987:34;12967:18;;;12960:62;-1:-1:-1;;;13038:18:1;;;13031:34;13082:19;;58535:65:0;12707:400:1;58535:65:0;58613:42;58634:4;58640:2;58644:7;58653:1;58613:20;:42::i;:::-;58785:4;-1:-1:-1;;;;;58758:31:0;:23;58773:7;58758:14;:23::i;:::-;-1:-1:-1;;;;;58758:31:0;;58750:81;;;;-1:-1:-1;;;58750:81:0;;;;;;;:::i;:::-;58903:24;;;;:15;:24;;;;;;;;58896:31;;-1:-1:-1;;;;;;58896:31:0;;;;;;-1:-1:-1;;;;;59379:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;59379:20:0;;;59414:13;;;;;;;;;:18;;58896:31;59414:18;;;59454:16;;;:7;:16;;;;;;:21;;;;;;;;;;59493:27;;58919:7;;59493:27;;;50191:346;50121:416;;:::o;26031:132::-;25939:6;;-1:-1:-1;;;;;25939:6:0;24497:10;26095:23;26087:68;;;;-1:-1:-1;;;26087:68:0;;13314:2:1;26087:68:0;;;13296:21:1;;;13333:18;;;13326:30;13392:34;13372:18;;;13365:62;13444:18;;26087:68:0;13112:356:1;27133:191:0;27226:6;;;-1:-1:-1;;;;;27243:17:0;;;-1:-1:-1;;;;;;27243:17:0;;;;;;;27276:40;;27226:6;;;27243:17;27226:6;;27276:40;;27207:16;;27276:40;27196:128;27133:191;:::o;2909:98::-;2967:7;2994:5;2998:1;2994;:5;:::i;54926:110::-;55002:26;55012:2;55016:7;55002:26;;;;;;;;;;;;:9;:26::i;60018:315::-;60173:8;-1:-1:-1;;;;;60164:17:0;:5;-1:-1:-1;;;;;60164:17:0;;60156:55;;;;-1:-1:-1;;;60156:55:0;;13805:2:1;60156:55:0;;;13787:21:1;13844:2;13824:18;;;13817:30;13883:27;13863:18;;;13856:55;13928:18;;60156:55:0;13603:349:1;60156:55:0;-1:-1:-1;;;;;60222:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;60222:46:0;;;;;;;;;;60284:41;;540::1;;;60284::0;;513:18:1;60284:41:0;;;;;;;60018:315;;;:::o;53168:313::-;53324:28;53334:4;53340:2;53344:7;53324:9;:28::i;:::-;53371:47;53394:4;53400:2;53404:7;53413:4;53371:22;:47::i;:::-;53363:110;;;;-1:-1:-1;;;53363:110:0;;;;;;;:::i;71761:114::-;71821:13;71854;71847:20;;;;;:::i;21844:716::-;21900:13;21951:14;21968:17;21979:5;21968:10;:17::i;:::-;21988:1;21968:21;21951:38;;22004:20;22038:6;22027:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22027:18:0;-1:-1:-1;22004:41:0;-1:-1:-1;22169:28:0;;;22185:2;22169:28;22226:288;-1:-1:-1;;22258:5:0;-1:-1:-1;;;22395:2:0;22384:14;;22379:30;22258:5;22366:44;22456:2;22447:11;;;-1:-1:-1;22477:21:0;22226:288;22477:21;-1:-1:-1;22535:6:0;21844:716;-1:-1:-1;;;21844:716:0:o;71997:185::-;72118:56;72145:4;72151:2;72155:7;72164:9;72118:26;:56::i;55263:319::-;55392:18;55398:2;55402:7;55392:5;:18::i;:::-;55443:53;55474:1;55478:2;55482:7;55491:4;55443:22;:53::i;:::-;55421:153;;;;-1:-1:-1;;;55421:153:0;;;;;;;:::i;61121:853::-;61275:4;-1:-1:-1;;;;;61296:13:0;;28859:19;:23;61292:675;;61332:71;;-1:-1:-1;;;61332:71:0;;-1:-1:-1;;;;;61332:36:0;;;;;:71;;24497:10;;61383:4;;61389:7;;61398:4;;61332:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61332:71:0;;;;;;;;-1:-1:-1;;61332:71:0;;;;;;;;;;;;:::i;:::-;;;61328:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61573:6;:13;61590:1;61573:18;61569:328;;61616:60;;-1:-1:-1;;;61616:60:0;;;;;;;:::i;61569:328::-;61847:6;61841:13;61832:6;61828:2;61824:15;61817:38;61328:584;-1:-1:-1;;;;;;61454:51:0;-1:-1:-1;;;61454:51:0;;-1:-1:-1;61447:58:0;;61292:675;-1:-1:-1;61951:4:0;61121:853;;;;;;:::o;18710:922::-;18763:7;;-1:-1:-1;;;18841:15:0;;18837:102;;-1:-1:-1;;;18877:15:0;;;-1:-1:-1;18921:2:0;18911:12;18837:102;18966:6;18957:5;:15;18953:102;;19002:6;18993:15;;;-1:-1:-1;19037:2:0;19027:12;18953:102;19082:6;19073:5;:15;19069:102;;19118:6;19109:15;;;-1:-1:-1;19153:2:0;19143:12;19069:102;19198:5;19189;:14;19185:99;;19233:5;19224:14;;;-1:-1:-1;19267:1:0;19257:11;19185:99;19311:5;19302;:14;19298:99;;19346:5;19337:14;;;-1:-1:-1;19380:1:0;19370:11;19298:99;19424:5;19415;:14;19411:99;;19459:5;19450:14;;;-1:-1:-1;19493:1:0;19483:11;19411:99;19537:5;19528;:14;19524:66;;19573:1;19563:11;19618:6;18710:922;-1:-1:-1;;18710:922:0:o;66166:915::-;66343:61;66370:4;66376:2;66380:12;66394:9;66343:26;:61::i;:::-;66433:1;66421:9;:13;66417:222;;;66564:63;;-1:-1:-1;;;66564:63:0;;15458:2:1;66564:63:0;;;15440:21:1;15497:2;15477:18;;;15470:30;15536:34;15516:18;;;15509:62;-1:-1:-1;;;15587:18:1;;;15580:51;15648:19;;66564:63:0;15256:417:1;66417:222:0;66669:12;-1:-1:-1;;;;;66698:18:0;;66694:187;;66733:40;66765:7;67908:10;:17;;67881:24;;;;:15;:24;;;;;:44;;;67936:24;;;;;;;;;;;;67804:164;66733:40;66694:187;;;66803:2;-1:-1:-1;;;;;66795:10:0;:4;-1:-1:-1;;;;;66795:10:0;;66791:90;;66822:47;66855:4;66861:7;66822:32;:47::i;:::-;-1:-1:-1;;;;;66895:16:0;;66891:183;;66928:45;66965:7;66928:36;:45::i;:::-;66891:183;;;67001:4;-1:-1:-1;;;;;66995:10:0;:2;-1:-1:-1;;;;;66995:10:0;;66991:83;;67022:40;67050:2;67054:7;67022:27;:40::i;:::-;66332:749;66166:915;;;;:::o;55918:942::-;-1:-1:-1;;;;;55998:16:0;;55990:61;;;;-1:-1:-1;;;55990:61:0;;15880:2:1;55990:61:0;;;15862:21:1;;;15899:18;;;15892:30;15958:34;15938:18;;;15931:62;16010:18;;55990:61:0;15678:356:1;55990:61:0;54090:4;53688:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53688:16:0;54114:31;56062:58;;;;-1:-1:-1;;;56062:58:0;;16241:2:1;56062:58:0;;;16223:21:1;16280:2;16260:18;;;16253:30;16319;16299:18;;;16292:58;16367:18;;56062:58:0;16039:352:1;56062:58:0;56133:48;56162:1;56166:2;56170:7;56179:1;56133:20;:48::i;:::-;54090:4;53688:16;;;:7;:16;;;;;;-1:-1:-1;;;;;53688:16:0;54114:31;56271:58;;;;-1:-1:-1;;;56271:58:0;;16241:2:1;56271:58:0;;;16223:21:1;16280:2;16260:18;;;16253:30;16319;16299:18;;;16292:58;16367:18;;56271:58:0;16039:352:1;56271:58:0;-1:-1:-1;;;;;56678:13:0;;;;;;:9;:13;;;;;;;;:18;;56695:1;56678:18;;;56720:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;56720:21:0;;;;;56759:33;56728:7;;56678:13;;56759:33;;56678:13;;56759:33;71606:140;71465:288;:::o;62706:410::-;62896:1;62884:9;:13;62880:229;;;-1:-1:-1;;;;;62918:18:0;;;62914:87;;-1:-1:-1;;;;;62957:15:0;;;;;;:9;:15;;;;;:28;;62976:9;;62957:15;:28;;62976:9;;62957:28;:::i;:::-;;;;-1:-1:-1;;62914:87:0;-1:-1:-1;;;;;63019:16:0;;;63015:83;;-1:-1:-1;;;;;63056:13:0;;;;;;:9;:13;;;;;:26;;63073:9;;63056:13;:26;;63073:9;;63056:26;:::i;:::-;;;;-1:-1:-1;;62706:410:0;;;;:::o;68595:988::-;68861:22;68911:1;68886:22;68903:4;68886:16;:22::i;:::-;:26;;;;:::i;:::-;68923:18;68944:26;;;:17;:26;;;;;;68861:51;;-1:-1:-1;69077:28:0;;;69073:328;;-1:-1:-1;;;;;69144:18:0;;69122:19;69144:18;;;:12;:18;;;;;;;;:34;;;;;;;;;69195:30;;;;;;:44;;;69312:30;;:17;:30;;;;;:43;;;69073:328;-1:-1:-1;69497:26:0;;;;:17;:26;;;;;;;;69490:33;;;-1:-1:-1;;;;;69541:18:0;;;;;:12;:18;;;;;:34;;;;;;;69534:41;68595:988::o;69878:1079::-;70156:10;:17;70131:22;;70156:21;;70176:1;;70156:21;:::i;:::-;70188:18;70209:24;;;:15;:24;;;;;;70582:10;:26;;70131:46;;-1:-1:-1;70209:24:0;;70131:46;;70582:26;;;;;;:::i;:::-;;;;;;;;;70560:48;;70646:11;70621:10;70632;70621:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;70726:28;;;:15;:28;;;;;;;:41;;;70898:24;;;;;70891:31;70933:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;69949:1008;;;69878:1079;:::o;67382:221::-;67467:14;67484:20;67501:2;67484:16;:20::i;:::-;-1:-1:-1;;;;;67515:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;67560:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;67382:221:0: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:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:592::-;2764:6;2772;2825:2;2813:9;2804:7;2800:23;2796:32;2793:52;;;2841:1;2838;2831:12;2793:52;2881:9;2868:23;2910:18;2951:2;2943:6;2940:14;2937:34;;;2967:1;2964;2957:12;2937:34;3005:6;2994:9;2990:22;2980:32;;3050:7;3043:4;3039:2;3035:13;3031:27;3021:55;;3072:1;3069;3062:12;3021:55;3112:2;3099:16;3138:2;3130:6;3127:14;3124:34;;;3154:1;3151;3144:12;3124:34;3199:7;3194:2;3185:6;3181:2;3177:15;3173:24;3170:37;3167:57;;;3220:1;3217;3210:12;3167:57;3251:2;3243:11;;;;;3273:6;;-1:-1:-1;2693:592:1;;-1:-1:-1;;;;2693:592:1:o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:347::-;3546:6;3554;3607:2;3595:9;3586:7;3582:23;3578:32;3575:52;;;3623:1;3620;3613:12;3575:52;3646:29;3665:9;3646:29;:::i;:::-;3636:39;;3725:2;3714:9;3710:18;3697:32;3772:5;3765:13;3758:21;3751:5;3748:32;3738:60;;3794:1;3791;3784:12;3738:60;3817:5;3807:15;;;3481:347;;;;;:::o;3833:127::-;3894:10;3889:3;3885:20;3882:1;3875:31;3925:4;3922:1;3915:15;3949:4;3946:1;3939:15;3965:1138;4060:6;4068;4076;4084;4137:3;4125:9;4116:7;4112:23;4108:33;4105:53;;;4154:1;4151;4144:12;4105:53;4177:29;4196:9;4177:29;:::i;:::-;4167:39;;4225:38;4259:2;4248:9;4244:18;4225:38;:::i;:::-;4215:48;;4310:2;4299:9;4295:18;4282:32;4272:42;;4365:2;4354:9;4350:18;4337:32;4388:18;4429:2;4421:6;4418:14;4415:34;;;4445:1;4442;4435:12;4415:34;4483:6;4472:9;4468:22;4458:32;;4528:7;4521:4;4517:2;4513:13;4509:27;4499:55;;4550:1;4547;4540:12;4499:55;4586:2;4573:16;4608:2;4604;4601:10;4598:36;;;4614:18;;:::i;:::-;4689:2;4683:9;4657:2;4743:13;;-1:-1:-1;;4739:22:1;;;4763:2;4735:31;4731:40;4719:53;;;4787:18;;;4807:22;;;4784:46;4781:72;;;4833:18;;:::i;:::-;4873:10;4869:2;4862:22;4908:2;4900:6;4893:18;4948:7;4943:2;4938;4934;4930:11;4926:20;4923:33;4920:53;;;4969:1;4966;4959:12;4920:53;5025:2;5020;5016;5012:11;5007:2;4999:6;4995:15;4982:46;5070:1;5065:2;5060;5052:6;5048:15;5044:24;5037:35;5091:6;5081:16;;;;;;;3965:1138;;;;;;;:::o;5108:260::-;5176:6;5184;5237:2;5225:9;5216:7;5212:23;5208:32;5205:52;;;5253:1;5250;5243:12;5205:52;5276:29;5295:9;5276:29;:::i;:::-;5266:39;;5324:38;5358:2;5347:9;5343:18;5324:38;:::i;:::-;5314:48;;5108:260;;;;;:::o;5373:380::-;5452:1;5448:12;;;;5495;;;5516:61;;5570:4;5562:6;5558:17;5548:27;;5516:61;5623:2;5615:6;5612:14;5592:18;5589:38;5586:161;;5669:10;5664:3;5660:20;5657:1;5650:31;5704:4;5701:1;5694:15;5732:4;5729:1;5722:15;5586:161;;5373:380;;;:::o;6590:409::-;6792:2;6774:21;;;6831:2;6811:18;;;6804:30;6870:34;6865:2;6850:18;;6843:62;-1:-1:-1;;;6936:2:1;6921:18;;6914:43;6989:3;6974:19;;6590:409::o;7829:127::-;7890:10;7885:3;7881:20;7878:1;7871:31;7921:4;7918:1;7911:15;7945:4;7942:1;7935:15;8087:545;8189:2;8184:3;8181:11;8178:448;;;8225:1;8250:5;8246:2;8239:17;8295:4;8291:2;8281:19;8365:2;8353:10;8349:19;8346:1;8342:27;8336:4;8332:38;8401:4;8389:10;8386:20;8383:47;;;-1:-1:-1;8424:4:1;8383:47;8479:2;8474:3;8470:12;8467:1;8463:20;8457:4;8453:31;8443:41;;8534:82;8552:2;8545:5;8542:13;8534:82;;;8597:17;;;8578:1;8567:13;8534:82;;;8538:3;;;8087:545;;;:::o;8808:1206::-;8932:18;8927:3;8924:27;8921:53;;;8954:18;;:::i;:::-;8983:94;9073:3;9033:38;9065:4;9059:11;9033:38;:::i;:::-;9027:4;8983:94;:::i;:::-;9103:1;9128:2;9123:3;9120:11;9145:1;9140:616;;;;9800:1;9817:3;9814:93;;;-1:-1:-1;9873:19:1;;;9860:33;9814:93;-1:-1:-1;;8765:1:1;8761:11;;;8757:24;8753:29;8743:40;8789:1;8785:11;;;8740:57;9920:78;;9113:895;;9140:616;8034:1;8027:14;;;8071:4;8058:18;;-1:-1:-1;;9176:17:1;;;9277:9;9299:229;9313:7;9310:1;9307:14;9299:229;;;9402:19;;;9389:33;9374:49;;9509:4;9494:20;;;;9462:1;9450:14;;;;9329:12;9299:229;;;9303:3;9556;9547:7;9544:16;9541:159;;;9680:1;9676:6;9670:3;9664;9661:1;9657:11;9653:21;9649:34;9645:39;9632:9;9627:3;9623:19;9610:33;9606:79;9598:6;9591:95;9541:159;;;9743:1;9737:3;9734:1;9730:11;9726:19;9720:4;9713:33;9113:895;;8808:1206;;;:::o;11121:127::-;11182:10;11177:3;11173:20;11170:1;11163:31;11213:4;11210:1;11203:15;11237:4;11234:1;11227:15;11253:135;11292:3;11313:17;;;11310:43;;11333:18;;:::i;:::-;-1:-1:-1;11380:1:1;11369:13;;11253:135::o;11393:496::-;11572:3;11610:6;11604:13;11626:66;11685:6;11680:3;11673:4;11665:6;11661:17;11626:66;:::i;:::-;11755:13;;11714:16;;;;11777:70;11755:13;11714:16;11824:4;11812:17;;11777:70;:::i;:::-;11863:20;;11393:496;-1:-1:-1;;;;11393:496:1:o;12301:401::-;12503:2;12485:21;;;12542:2;12522:18;;;12515:30;12581:34;12576:2;12561:18;;12554:62;-1:-1:-1;;;12647:2:1;12632:18;;12625:35;12692:3;12677:19;;12301:401::o;13473:125::-;13538:9;;;13559:10;;;13556:36;;;13572:18;;:::i;13957:414::-;14159:2;14141:21;;;14198:2;14178:18;;;14171:30;14237:34;14232:2;14217:18;;14210:62;-1:-1:-1;;;14303:2:1;14288:18;;14281:48;14361:3;14346:19;;13957:414::o;14508:489::-;-1:-1:-1;;;;;14777:15:1;;;14759:34;;14829:15;;14824:2;14809:18;;14802:43;14876:2;14861:18;;14854:34;;;14924:3;14919:2;14904:18;;14897:31;;;14702:4;;14945:46;;14971:19;;14963:6;14945:46;:::i;:::-;14937:54;14508:489;-1:-1:-1;;;;;;14508:489:1:o;15002:249::-;15071:6;15124:2;15112:9;15103:7;15099:23;15095:32;15092:52;;;15140:1;15137;15130:12;15092:52;15172:9;15166:16;15191:30;15215:5;15191:30;:::i;16396:128::-;16463:9;;;16484:11;;;16481:37;;;16498:18;;:::i;16529:127::-;16590:10;16585:3;16581:20;16578:1;16571:31;16621:4;16618:1;16611:15;16645:4;16642:1;16635:15
Swarm Source
ipfs://12a268935e1cbda95e3a874167919afc843748bdfb9ae95c2914c3f71dfc99a6
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.