Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 66 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 18690507 | 266 days ago | IN | 0 ETH | 0.00129594 | ||||
Set Approval For... | 18328419 | 316 days ago | IN | 0 ETH | 0.0006308 | ||||
Set Approval For... | 18291825 | 322 days ago | IN | 0 ETH | 0.0004827 | ||||
Transfer From | 17134509 | 484 days ago | IN | 0 ETH | 0.00332799 | ||||
Transfer From | 17134486 | 484 days ago | IN | 0 ETH | 0.00377112 | ||||
Transfer From | 17134485 | 484 days ago | IN | 0 ETH | 0.00332913 | ||||
Transfer From | 17134483 | 484 days ago | IN | 0 ETH | 0.00327499 | ||||
Transfer From | 17134481 | 484 days ago | IN | 0 ETH | 0.00296779 | ||||
Transfer From | 17134479 | 484 days ago | IN | 0 ETH | 0.0039697 | ||||
Transfer From | 17134478 | 484 days ago | IN | 0 ETH | 0.00354869 | ||||
Transfer From | 17134476 | 484 days ago | IN | 0 ETH | 0.00344966 | ||||
Transfer From | 17134474 | 484 days ago | IN | 0 ETH | 0.00310659 | ||||
Transfer From | 17134472 | 484 days ago | IN | 0 ETH | 0.00315175 | ||||
Transfer From | 17134470 | 484 days ago | IN | 0 ETH | 0.00327588 | ||||
Transfer From | 17134469 | 484 days ago | IN | 0 ETH | 0.00326817 | ||||
Transfer From | 17134467 | 484 days ago | IN | 0 ETH | 0.00339428 | ||||
Transfer From | 17134465 | 484 days ago | IN | 0 ETH | 0.00356758 | ||||
Transfer From | 17134463 | 484 days ago | IN | 0 ETH | 0.00386701 | ||||
Transfer From | 17134461 | 484 days ago | IN | 0 ETH | 0.00370358 | ||||
Transfer From | 17134460 | 484 days ago | IN | 0 ETH | 0.00387789 | ||||
Transfer From | 17134459 | 484 days ago | IN | 0 ETH | 0.00374776 | ||||
Transfer From | 17134458 | 484 days ago | IN | 0 ETH | 0.00410073 | ||||
Transfer From | 17134456 | 484 days ago | IN | 0 ETH | 0.00326215 | ||||
Transfer From | 17134455 | 484 days ago | IN | 0 ETH | 0.00332626 | ||||
Transfer From | 17134455 | 484 days ago | IN | 0 ETH | 0.00294831 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
WeWeed
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-10 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } // File: contracts/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: contracts/OperatorFilterer.sol pragma solidity ^0.8.13; contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator() virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } } // File: contracts/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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/WeWeed.sol // /$$ /$$ /$$ /$$ /$$ // | $$ /$ | $$ | $$ /$ | $$ | $$ // | $$ /$$$| $$ /$$$$$$ | $$ /$$$| $$ /$$$$$$ /$$$$$$ /$$$$$$$ // | $$/$$ $$ $$ /$$__ $$| $$/$$ $$ $$ /$$__ $$ /$$__ $$ /$$__ $$ // | $$$$_ $$$$| $$$$$$$$| $$$$_ $$$$| $$$$$$$$| $$$$$$$$| $$ | $$ // | $$$/ \ $$$| $$_____/| $$$/ \ $$$| $$_____/| $$_____/| $$ | $$ // | $$/ \ $$| $$$$$$$| $$/ \ $$| $$$$$$$| $$$$$$$| $$$$$$$ // |__/ \__/ \_______/|__/ \__/ \_______/ \_______/ \_______/ pragma solidity >=0.7.0 <0.9.0; contract WeWeed is ERC721Enumerable, Ownable, DefaultOperatorFilterer { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; string public notRevealedUri; mapping(address => uint256) public WB; address[] public WW; bool public RevealedActive = false; bool public isPresalesMode = true; bool public isPauseMode = true; uint256 public MaxCollection = 3000; uint256 public MaxMint = 3000; IERC20 public USDToken; uint256 public Price = 1500 *10**6; // 1500$ uint256 public PricePS = 1250 *10**6; // 1250$ address adminWallet = 0xBF489D718389543c5c9C70e3dA11819c26F12e77; constructor(string memory _BaseURI, string memory _NotRevealedUri) ERC721("WeWeed", "WWD") { USDToken = IERC20(0xdAC17F958D2ee523a2206206994597C13D831ec7); // USDT setURIBase(_BaseURI); setNotRevealedURI(_NotRevealedUri); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), ""); if (RevealedActive == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } function mint(uint256 _Amount) public payable { require(!isPauseMode, "Pause ON"); uint256 supply = totalSupply(); require(_Amount > 0, ""); uint256 ownerMintedCount = WB[msg.sender]; require( ownerMintedCount + _Amount <= MaxMint, "MS: Max NFT per Wallet Reached" ); require(supply + _Amount <= MaxCollection, "Sold Out"); if (msg.sender != owner()) { if (isPresalesMode == true) { require(isWW(msg.sender), "Wallet not Whitelisted"); require(USDToken.transferFrom(msg.sender, adminWallet, PricePS * _Amount), "Failed to transfer Admin fee"); } else { require(!isPresalesMode, ""); require(USDToken.transferFrom(msg.sender, adminWallet, Price * _Amount), "Failed to transfer Admin fee"); } } for (uint256 i = 1; i <= _Amount; i++) { WB[msg.sender]++; _safeMint(msg.sender, supply + i); } } // Owner Mint & Airdrop function OwnerMint(uint256 _mintAmount) external onlyOwner { uint256 supply = totalSupply(); require(supply + _mintAmount <= MaxCollection, "Sold Out"); for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(msg.sender, supply + i); } } function AirdropMint(address _to, uint256 _mintAmount) external onlyOwner { uint256 supply = totalSupply(); require(supply + _mintAmount <= MaxCollection, "Sold Out"); for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(_to, supply + i); } } // Pause Mint function TurnPauseMode(bool _state) public onlyOwner { isPauseMode = _state; } // Add WL Users, delete WL & Verify WL Users function addWhitelistedWallets(address[] calldata _users) public onlyOwner { WW = _users; } function delWhitelistedWallets() public onlyOwner { delete WW; } function isWW(address _user) public view returns (bool) { for (uint256 i = 0; i < WW.length; i++) { if (WW[i] == _user) { return true; } } return false; } function TurnPSMode(bool _state) public onlyOwner { isPresalesMode = _state; } // Set Public Price & Presale Price function setPrice(uint256 _newPrice) public onlyOwner { Price = _newPrice; } function setPricePS(uint256 _newPricePS) public onlyOwner { PricePS = _newPricePS; } // Set NFTs CID and Place Holder CID function setURIBase(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } // Reveal the NFTs function Reveal() public onlyOwner { RevealedActive = true; } // Withdraw smart contract funds (Not required for ERC20 custom payments) function withdraw() public payable onlyOwner { (bool bq, ) = payable(owner()).call{value: address(this).balance}(""); require(bq); } // Change theamidn wallet and ERC20 Token function newAdminWallet(address _newAdminWallet) public onlyOwner { adminWallet = _newAdminWallet; } // Enforce Marketplace Royalties function transferFrom(address from, address to, uint256 tokenId) public override (ERC721, IERC721) onlyAllowedOperator { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override (ERC721, IERC721) onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override (ERC721, IERC721) onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_BaseURI","type":"string"},{"internalType":"string","name":"_NotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"AirdropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MaxCollection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"OwnerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PricePS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"RevealedActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"TurnPSMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"TurnPauseMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"USDToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"WW","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"addWhitelistedWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"delWhitelistedWallets","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":"isPauseMode","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresalesMode","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWW","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdminWallet","type":"address"}],"name":"newAdminWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPricePS","type":"uint256"}],"name":"setPricePS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setURIBase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600c9190620003c6565b50601080546201010062ffffff19909116179055610bb860118190556012556359682f00601455634a817c80601555601680546001600160a01b03191673bf489d718389543c5c9c70e3da11819c26f12e771790553480156200008a57600080fd5b50604051620033cb380380620033cb833981016040819052620000ad9162000539565b604080518082018252600681526515d955d9595960d21b60208083019182528351808501909452600384526215d5d160ea1b908401528151733cc6cdda760b79bafa08df41ecfa224f810dceb6936001939290916200010f91600091620003c6565b50805162000125906001906020840190620003c6565b505050620001426200013c620002cd60201b60201c565b620002d1565b6daaeb6d7670e522a718067333cd4e3b1562000287578015620001d557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001b657600080fd5b505af1158015620001cb573d6000803e3d6000fd5b5050505062000287565b6001600160a01b03821615620002265760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200019b565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200026d57600080fd5b505af115801562000282573d6000803e3d6000fd5b505050505b5050601380546001600160a01b03191673dac17f958d2ee523a2206206994597c13d831ec7179055620002ba8262000323565b620002c58162000346565b5050620005df565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200032d62000365565b80516200034290600b906020840190620003c6565b5050565b6200035062000365565b80516200034290600d906020840190620003c6565b600a546001600160a01b03163314620003c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620003d490620005a3565b90600052602060002090601f016020900481019282620003f8576000855562000443565b82601f106200041357805160ff191683800117855562000443565b8280016001018555821562000443579182015b828111156200044357825182559160200191906001019062000426565b506200045192915062000455565b5090565b5b8082111562000451576000815560010162000456565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200049457600080fd5b81516001600160401b0380821115620004b157620004b16200046c565b604051601f8301601f19908116603f01168101908282118183101715620004dc57620004dc6200046c565b81604052838152602092508683858801011115620004f957600080fd5b600091505b838210156200051d5785820183015181830184015290820190620004fe565b838211156200052f5760008385830101525b9695505050505050565b600080604083850312156200054d57600080fd5b82516001600160401b03808211156200056557600080fd5b620005738683870162000482565b935060208501519150808211156200058a57600080fd5b50620005998582860162000482565b9150509250929050565b600181811c90821680620005b857607f821691505b602082108103620005d957634e487b7160e01b600052602260045260246000fd5b50919050565b612ddc80620005ef6000396000f3fe6080604052600436106102935760003560e01c8063691bf0c81161015a578063a22cb465116100c1578063c8934c5e1161007a578063c8934c5e14610790578063dad8d8ca146107a5578063e793c960146107bf578063e985e9c5146107df578063f2c4ce1e14610828578063f2fde38b1461084857600080fd5b8063a22cb465146106db578063b27ebe0e146106fb578063b88d4fde1461071b578063be7edebe1461073b578063c66828621461075b578063c87b56dd1461077057600080fd5b80638da5cb5b116101135780638da5cb5b1461064957806391b7f5ed1461066757806394f743961461068757806395d89b411461069d5780639dfde201146106b2578063a0712d68146106c857600080fd5b8063691bf0c8146105a95780636c0360eb146105bf57806370a08231146105d4578063715018a6146105f45780637f9c9cb91461060957806386c594181461062957600080fd5b806323b872dd116101fe578063438b6300116101b7578063438b6300146104f15780634f6ccce71461051e5780635ac0605d1461053e5780635d4ddb0d1461055e5780636352211e1461057457806366b9f0d21461059457600080fd5b806323b872dd1461044957806328898c9a146104695780632a228c29146104895780632f745c59146104a95780633ccfd60b146104c957806342842e0e146104d157600080fd5b80630fdcab57116102505780630fdcab571461037e578063109e49181461039e5780631618c8df146103bd57806318160ddd146103dd5780631acd9413146103fc5780632386cc0c1461042957600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063081c8c4414610327578063095ea7b31461033c5780630b4a10591461035e575b600080fd5b3480156102a457600080fd5b506102b86102b33660046126a6565b610868565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610893565b6040516102c4919061271b565b3480156102fb57600080fd5b5061030f61030a36600461272e565b610925565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b506102e261094c565b34801561034857600080fd5b5061035c610357366004612763565b6109da565b005b34801561036a57600080fd5b5061035c61037936600461279b565b610af4565b34801561038a57600080fd5b5061030f61039936600461272e565b610b18565b3480156103aa57600080fd5b506010546102b890610100900460ff1681565b3480156103c957600080fd5b5061035c6103d836600461272e565b610b42565b3480156103e957600080fd5b506008545b6040519081526020016102c4565b34801561040857600080fd5b506103ee6104173660046127b8565b600e6020526000908152604090205481565b34801561043557600080fd5b5061035c6104443660046127d3565b610bb2565b34801561045557600080fd5b5061035c610464366004612848565b610bc6565b34801561047557600080fd5b506102b86104843660046127b8565b610c7a565b34801561049557600080fd5b5061035c6104a436600461279b565b610ce3565b3480156104b557600080fd5b506103ee6104c4366004612763565b610d05565b61035c610d9b565b3480156104dd57600080fd5b5061035c6104ec366004612848565b610e17565b3480156104fd57600080fd5b5061051161050c3660046127b8565b610ecb565b6040516102c49190612884565b34801561052a57600080fd5b506103ee61053936600461272e565b610f6d565b34801561054a57600080fd5b5061035c61055936600461272e565b611000565b34801561056a57600080fd5b506103ee60115481565b34801561058057600080fd5b5061030f61058f36600461272e565b61100d565b3480156105a057600080fd5b5061035c61106d565b3480156105b557600080fd5b506103ee60155481565b3480156105cb57600080fd5b506102e2611084565b3480156105e057600080fd5b506103ee6105ef3660046127b8565b611091565b34801561060057600080fd5b5061035c611117565b34801561061557600080fd5b5061035c610624366004612763565b61112b565b34801561063557600080fd5b5060135461030f906001600160a01b031681565b34801561065557600080fd5b50600a546001600160a01b031661030f565b34801561067357600080fd5b5061035c61068236600461272e565b61119c565b34801561069357600080fd5b506103ee60125481565b3480156106a957600080fd5b506102e26111a9565b3480156106be57600080fd5b506103ee60145481565b61035c6106d636600461272e565b6111b8565b3480156106e757600080fd5b5061035c6106f63660046128c8565b61159d565b34801561070757600080fd5b5061035c6107163660046127b8565b6115ac565b34801561072757600080fd5b5061035c61073636600461298b565b6115d6565b34801561074757600080fd5b5061035c610756366004612a07565b61168b565b34801561076757600080fd5b506102e26116a6565b34801561077c57600080fd5b506102e261078b36600461272e565b6116b3565b34801561079c57600080fd5b5061035c6117f4565b3480156107b157600080fd5b506010546102b89060ff1681565b3480156107cb57600080fd5b506010546102b89062010000900460ff1681565b3480156107eb57600080fd5b506102b86107fa366004612a50565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561083457600080fd5b5061035c610843366004612a07565b611808565b34801561085457600080fd5b5061035c6108633660046127b8565b611823565b60006001600160e01b0319821663780e9d6360e01b148061088d575061088d82611899565b92915050565b6060600080546108a290612a83565b80601f01602080910402602001604051908101604052809291908181526020018280546108ce90612a83565b801561091b5780601f106108f05761010080835404028352916020019161091b565b820191906000526020600020905b8154815290600101906020018083116108fe57829003601f168201915b5050505050905090565b6000610930826118e9565b506000908152600460205260409020546001600160a01b031690565b600d805461095990612a83565b80601f016020809104026020016040519081016040528092919081815260200182805461098590612a83565b80156109d25780601f106109a7576101008083540402835291602001916109d2565b820191906000526020600020905b8154815290600101906020018083116109b557829003601f168201915b505050505081565b60006109e58261100d565b9050806001600160a01b0316836001600160a01b031603610a575760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a735750610a7381336107fa565b610ae55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a4e565b610aef8383611948565b505050565b610afc6119b6565b60108054911515620100000262ff000019909216919091179055565b600f8181548110610b2857600080fd5b6000918252602090912001546001600160a01b0316905081565b610b4a6119b6565b6000610b5560085490565b601154909150610b658383612ad3565b1115610b835760405162461bcd60e51b8152600401610a4e90612aeb565b60015b828111610aef57610ba033610b9b8385612ad3565b611a10565b80610baa81612b0d565b915050610b86565b610bba6119b6565b610aef600f838361258a565b6daaeb6d7670e522a718067333cd4e3b15610c6f57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c509190612b26565b610c6f57604051633b79c77360e21b8152336004820152602401610a4e565b610aef838383611a2a565b6000805b600f54811015610cda57826001600160a01b0316600f8281548110610ca557610ca5612b43565b6000918252602090912001546001600160a01b031603610cc85750600192915050565b80610cd281612b0d565b915050610c7e565b50600092915050565b610ceb6119b6565b601080549115156101000261ff0019909216919091179055565b6000610d1083611091565b8210610d725760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a4e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610da36119b6565b6000610db7600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610e01576040519150601f19603f3d011682016040523d82523d6000602084013e610e06565b606091505b5050905080610e1457600080fd5b50565b6daaeb6d7670e522a718067333cd4e3b15610ec057604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea19190612b26565b610ec057604051633b79c77360e21b8152336004820152602401610a4e565b610aef838383611a5b565b60606000610ed883611091565b905060008167ffffffffffffffff811115610ef557610ef56128ff565b604051908082528060200260200182016040528015610f1e578160200160208202803683370190505b50905060005b82811015610f6557610f368582610d05565b828281518110610f4857610f48612b43565b602090810291909101015280610f5d81612b0d565b915050610f24565b509392505050565b6000610f7860085490565b8210610fdb5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a4e565b60088281548110610fee57610fee612b43565b90600052602060002001549050919050565b6110086119b6565b601555565b6000818152600260205260408120546001600160a01b03168061088d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a4e565b6110756119b6565b6010805460ff19166001179055565b600b805461095990612a83565b60006001600160a01b0382166110fb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a4e565b506001600160a01b031660009081526003602052604090205490565b61111f6119b6565b6111296000611a76565b565b6111336119b6565b600061113e60085490565b60115490915061114e8383612ad3565b111561116c5760405162461bcd60e51b8152600401610a4e90612aeb565b60015b8281116111965761118484610b9b8385612ad3565b8061118e81612b0d565b91505061116f565b50505050565b6111a46119b6565b601455565b6060600180546108a290612a83565b60105462010000900460ff16156111fc5760405162461bcd60e51b81526020600482015260086024820152672830bab9b29027a760c11b6044820152606401610a4e565b600061120760085490565b9050600082116112335760405162461bcd60e51b81526020600482015260006024820152604401610a4e565b336000908152600e60205260409020546012546112508483612ad3565b111561129e5760405162461bcd60e51b815260206004820152601e60248201527f4d533a204d6178204e4654207065722057616c6c6574205265616368656400006044820152606401610a4e565b6011546112ab8484612ad3565b11156112c95760405162461bcd60e51b8152600401610a4e90612aeb565b600a546001600160a01b0316331461155257601054610100900460ff161515600103611431576112f833610c7a565b61133d5760405162461bcd60e51b815260206004820152601660248201527515d85b1b195d081b9bdd0815da1a5d195b1a5cdd195960521b6044820152606401610a4e565b6013546016546015546001600160a01b03928316926323b872dd923392911690611368908890612b59565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156113bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e09190612b26565b61142c5760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f207472616e736665722041646d696e20666565000000006044820152606401610a4e565b611552565b601054610100900460ff16156114635760405162461bcd60e51b81526020600482015260006024820152604401610a4e565b6013546016546014546001600160a01b03928316926323b872dd92339291169061148e908890612b59565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156114e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115069190612b26565b6115525760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f207472616e736665722041646d696e20666565000000006044820152606401610a4e565b60015b83811161119657336000908152600e6020526040812080549161157783612b0d565b9091555061158b905033610b9b8386612ad3565b8061159581612b0d565b915050611555565b6115a8338383611ac8565b5050565b6115b46119b6565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6daaeb6d7670e522a718067333cd4e3b1561167f57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561163c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116609190612b26565b61167f57604051633b79c77360e21b8152336004820152602401610a4e565b61119684848484611b96565b6116936119b6565b80516115a890600b9060208401906125ed565b600c805461095990612a83565b6000818152600260205260409020546060906001600160a01b03166116f45760405162461bcd60e51b81526020600482015260006024820152604401610a4e565b60105460ff16151560000361179557600d805461171090612a83565b80601f016020809104026020016040519081016040528092919081815260200182805461173c90612a83565b80156117895780601f1061175e57610100808354040283529160200191611789565b820191906000526020600020905b81548152906001019060200180831161176c57829003601f168201915b50505050509050919050565b600061179f611bc8565b905060008151116117bf57604051806020016040528060008152506117ed565b806117c984611bd7565b600c6040516020016117dd93929190612b78565b6040516020818303038152906040525b9392505050565b6117fc6119b6565b611129600f6000612661565b6118106119b6565b80516115a890600d9060208401906125ed565b61182b6119b6565b6001600160a01b0381166118905760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a4e565b610e1481611a76565b60006001600160e01b031982166380ac58cd60e01b14806118ca57506001600160e01b03198216635b5e139f60e01b145b8061088d57506301ffc9a760e01b6001600160e01b031983161461088d565b6000818152600260205260409020546001600160a01b0316610e145760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a4e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061197d8261100d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b031633146111295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a4e565b6115a8828260405180602001604052806000815250611c6a565b611a343382611c9d565b611a505760405162461bcd60e51b8152600401610a4e90612c3b565b610aef838383611d1c565b610aef838383604051806020016040528060008152506115d6565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603611b295760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a4e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ba03383611c9d565b611bbc5760405162461bcd60e51b8152600401610a4e90612c3b565b61119684848484611e8d565b6060600b80546108a290612a83565b60606000611be483611ec0565b600101905060008167ffffffffffffffff811115611c0457611c046128ff565b6040519080825280601f01601f191660200182016040528015611c2e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611c3857509392505050565b611c748383611f98565b611c816000848484612131565b610aef5760405162461bcd60e51b8152600401610a4e90612c88565b600080611ca98361100d565b9050806001600160a01b0316846001600160a01b03161480611cf057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611d145750836001600160a01b0316611d0984610925565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d2f8261100d565b6001600160a01b031614611d555760405162461bcd60e51b8152600401610a4e90612cda565b6001600160a01b038216611db75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a4e565b611dc48383836001612232565b826001600160a01b0316611dd78261100d565b6001600160a01b031614611dfd5760405162461bcd60e51b8152600401610a4e90612cda565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611e98848484611d1c565b611ea484848484612131565b6111965760405162461bcd60e51b8152600401610a4e90612c88565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611eff5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f2b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f4957662386f26fc10000830492506010015b6305f5e1008310611f61576305f5e100830492506008015b6127108310611f7557612710830492506004015b60648310611f87576064830492506002015b600a831061088d5760010192915050565b6001600160a01b038216611fee5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a4e565b6000818152600260205260409020546001600160a01b0316156120535760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a4e565b612061600083836001612232565b6000818152600260205260409020546001600160a01b0316156120c65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a4e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561222757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612175903390899088908890600401612d1f565b6020604051808303816000875af19250505080156121b0575060408051601f3d908101601f191682019092526121ad91810190612d5c565b60015b61220d573d8080156121de576040519150601f19603f3d011682016040523d82523d6000602084013e6121e3565b606091505b5080516000036122055760405162461bcd60e51b8152600401610a4e90612c88565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d14565b506001949350505050565b61223e84848484612372565b60018111156122ad5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610a4e565b816001600160a01b0385166123095761230481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61232c565b836001600160a01b0316856001600160a01b03161461232c5761232c85826123fa565b6001600160a01b0384166123485761234381612497565b61236b565b846001600160a01b0316846001600160a01b03161461236b5761236b8482612546565b5050505050565b6001811115611196576001600160a01b038416156123b8576001600160a01b038416600090815260036020526040812080548392906123b2908490612d79565b90915550505b6001600160a01b03831615611196576001600160a01b038316600090815260036020526040812080548392906123ef908490612ad3565b909155505050505050565b6000600161240784611091565b6124119190612d79565b600083815260076020526040902054909150808214612464576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906124a990600190612d79565b600083815260096020526040812054600880549394509092849081106124d1576124d1612b43565b9060005260206000200154905080600883815481106124f2576124f2612b43565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061252a5761252a612d90565b6001900381819060005260206000200160009055905550505050565b600061255183611091565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280548282559060005260206000209081019282156125dd579160200282015b828111156125dd5781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906125aa565b506125e992915061267b565b5090565b8280546125f990612a83565b90600052602060002090601f01602090048101928261261b57600085556125dd565b82601f1061263457805160ff19168380011785556125dd565b828001600101855582156125dd579182015b828111156125dd578251825591602001919060010190612646565b5080546000825590600052602060002090810190610e1491905b5b808211156125e9576000815560010161267c565b6001600160e01b031981168114610e1457600080fd5b6000602082840312156126b857600080fd5b81356117ed81612690565b60005b838110156126de5781810151838201526020016126c6565b838111156111965750506000910152565b600081518084526127078160208601602086016126c3565b601f01601f19169290920160200192915050565b6020815260006117ed60208301846126ef565b60006020828403121561274057600080fd5b5035919050565b80356001600160a01b038116811461275e57600080fd5b919050565b6000806040838503121561277657600080fd5b61277f83612747565b946020939093013593505050565b8015158114610e1457600080fd5b6000602082840312156127ad57600080fd5b81356117ed8161278d565b6000602082840312156127ca57600080fd5b6117ed82612747565b600080602083850312156127e657600080fd5b823567ffffffffffffffff808211156127fe57600080fd5b818501915085601f83011261281257600080fd5b81358181111561282157600080fd5b8660208260051b850101111561283657600080fd5b60209290920196919550909350505050565b60008060006060848603121561285d57600080fd5b61286684612747565b925061287460208501612747565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156128bc578351835292840192918401916001016128a0565b50909695505050505050565b600080604083850312156128db57600080fd5b6128e483612747565b915060208301356128f48161278d565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612930576129306128ff565b604051601f8501601f19908116603f01168101908282118183101715612958576129586128ff565b8160405280935085815286868601111561297157600080fd5b858560208301376000602087830101525050509392505050565b600080600080608085870312156129a157600080fd5b6129aa85612747565b93506129b860208601612747565b925060408501359150606085013567ffffffffffffffff8111156129db57600080fd5b8501601f810187136129ec57600080fd5b6129fb87823560208401612915565b91505092959194509250565b600060208284031215612a1957600080fd5b813567ffffffffffffffff811115612a3057600080fd5b8201601f81018413612a4157600080fd5b611d1484823560208401612915565b60008060408385031215612a6357600080fd5b612a6c83612747565b9150612a7a60208401612747565b90509250929050565b600181811c90821680612a9757607f821691505b602082108103612ab757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612ae657612ae6612abd565b500190565b60208082526008908201526714dbdb190813dd5d60c21b604082015260600190565b600060018201612b1f57612b1f612abd565b5060010190565b600060208284031215612b3857600080fd5b81516117ed8161278d565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615612b7357612b73612abd565b500290565b600084516020612b8b8285838a016126c3565b855191840191612b9e8184848a016126c3565b8554920191600090600181811c9080831680612bbb57607f831692505b8583108103612bd857634e487b7160e01b85526022600452602485fd5b808015612bec5760018114612bfd57612c2a565b60ff19851688528388019550612c2a565b60008b81526020902060005b85811015612c225781548a820152908401908801612c09565b505083880195505b50939b9a5050505050505050505050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d52908301846126ef565b9695505050505050565b600060208284031215612d6e57600080fd5b81516117ed81612690565b600082821015612d8b57612d8b612abd565b500390565b634e487b7160e01b600052603160045260246000fdfea26469706673582212204cf3a1522fd12b8edc3652902652a8573454f2fe6881a2dabf0ca07929ef105c64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f6e66742e7765776565642e696f2f6a736f6e2f0000000000000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f6e66742e7765776565642e696f2f6a736f6e2f312e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102935760003560e01c8063691bf0c81161015a578063a22cb465116100c1578063c8934c5e1161007a578063c8934c5e14610790578063dad8d8ca146107a5578063e793c960146107bf578063e985e9c5146107df578063f2c4ce1e14610828578063f2fde38b1461084857600080fd5b8063a22cb465146106db578063b27ebe0e146106fb578063b88d4fde1461071b578063be7edebe1461073b578063c66828621461075b578063c87b56dd1461077057600080fd5b80638da5cb5b116101135780638da5cb5b1461064957806391b7f5ed1461066757806394f743961461068757806395d89b411461069d5780639dfde201146106b2578063a0712d68146106c857600080fd5b8063691bf0c8146105a95780636c0360eb146105bf57806370a08231146105d4578063715018a6146105f45780637f9c9cb91461060957806386c594181461062957600080fd5b806323b872dd116101fe578063438b6300116101b7578063438b6300146104f15780634f6ccce71461051e5780635ac0605d1461053e5780635d4ddb0d1461055e5780636352211e1461057457806366b9f0d21461059457600080fd5b806323b872dd1461044957806328898c9a146104695780632a228c29146104895780632f745c59146104a95780633ccfd60b146104c957806342842e0e146104d157600080fd5b80630fdcab57116102505780630fdcab571461037e578063109e49181461039e5780631618c8df146103bd57806318160ddd146103dd5780631acd9413146103fc5780632386cc0c1461042957600080fd5b806301ffc9a71461029857806306fdde03146102cd578063081812fc146102ef578063081c8c4414610327578063095ea7b31461033c5780630b4a10591461035e575b600080fd5b3480156102a457600080fd5b506102b86102b33660046126a6565b610868565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e2610893565b6040516102c4919061271b565b3480156102fb57600080fd5b5061030f61030a36600461272e565b610925565b6040516001600160a01b0390911681526020016102c4565b34801561033357600080fd5b506102e261094c565b34801561034857600080fd5b5061035c610357366004612763565b6109da565b005b34801561036a57600080fd5b5061035c61037936600461279b565b610af4565b34801561038a57600080fd5b5061030f61039936600461272e565b610b18565b3480156103aa57600080fd5b506010546102b890610100900460ff1681565b3480156103c957600080fd5b5061035c6103d836600461272e565b610b42565b3480156103e957600080fd5b506008545b6040519081526020016102c4565b34801561040857600080fd5b506103ee6104173660046127b8565b600e6020526000908152604090205481565b34801561043557600080fd5b5061035c6104443660046127d3565b610bb2565b34801561045557600080fd5b5061035c610464366004612848565b610bc6565b34801561047557600080fd5b506102b86104843660046127b8565b610c7a565b34801561049557600080fd5b5061035c6104a436600461279b565b610ce3565b3480156104b557600080fd5b506103ee6104c4366004612763565b610d05565b61035c610d9b565b3480156104dd57600080fd5b5061035c6104ec366004612848565b610e17565b3480156104fd57600080fd5b5061051161050c3660046127b8565b610ecb565b6040516102c49190612884565b34801561052a57600080fd5b506103ee61053936600461272e565b610f6d565b34801561054a57600080fd5b5061035c61055936600461272e565b611000565b34801561056a57600080fd5b506103ee60115481565b34801561058057600080fd5b5061030f61058f36600461272e565b61100d565b3480156105a057600080fd5b5061035c61106d565b3480156105b557600080fd5b506103ee60155481565b3480156105cb57600080fd5b506102e2611084565b3480156105e057600080fd5b506103ee6105ef3660046127b8565b611091565b34801561060057600080fd5b5061035c611117565b34801561061557600080fd5b5061035c610624366004612763565b61112b565b34801561063557600080fd5b5060135461030f906001600160a01b031681565b34801561065557600080fd5b50600a546001600160a01b031661030f565b34801561067357600080fd5b5061035c61068236600461272e565b61119c565b34801561069357600080fd5b506103ee60125481565b3480156106a957600080fd5b506102e26111a9565b3480156106be57600080fd5b506103ee60145481565b61035c6106d636600461272e565b6111b8565b3480156106e757600080fd5b5061035c6106f63660046128c8565b61159d565b34801561070757600080fd5b5061035c6107163660046127b8565b6115ac565b34801561072757600080fd5b5061035c61073636600461298b565b6115d6565b34801561074757600080fd5b5061035c610756366004612a07565b61168b565b34801561076757600080fd5b506102e26116a6565b34801561077c57600080fd5b506102e261078b36600461272e565b6116b3565b34801561079c57600080fd5b5061035c6117f4565b3480156107b157600080fd5b506010546102b89060ff1681565b3480156107cb57600080fd5b506010546102b89062010000900460ff1681565b3480156107eb57600080fd5b506102b86107fa366004612a50565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561083457600080fd5b5061035c610843366004612a07565b611808565b34801561085457600080fd5b5061035c6108633660046127b8565b611823565b60006001600160e01b0319821663780e9d6360e01b148061088d575061088d82611899565b92915050565b6060600080546108a290612a83565b80601f01602080910402602001604051908101604052809291908181526020018280546108ce90612a83565b801561091b5780601f106108f05761010080835404028352916020019161091b565b820191906000526020600020905b8154815290600101906020018083116108fe57829003601f168201915b5050505050905090565b6000610930826118e9565b506000908152600460205260409020546001600160a01b031690565b600d805461095990612a83565b80601f016020809104026020016040519081016040528092919081815260200182805461098590612a83565b80156109d25780601f106109a7576101008083540402835291602001916109d2565b820191906000526020600020905b8154815290600101906020018083116109b557829003601f168201915b505050505081565b60006109e58261100d565b9050806001600160a01b0316836001600160a01b031603610a575760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610a735750610a7381336107fa565b610ae55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a4e565b610aef8383611948565b505050565b610afc6119b6565b60108054911515620100000262ff000019909216919091179055565b600f8181548110610b2857600080fd5b6000918252602090912001546001600160a01b0316905081565b610b4a6119b6565b6000610b5560085490565b601154909150610b658383612ad3565b1115610b835760405162461bcd60e51b8152600401610a4e90612aeb565b60015b828111610aef57610ba033610b9b8385612ad3565b611a10565b80610baa81612b0d565b915050610b86565b610bba6119b6565b610aef600f838361258a565b6daaeb6d7670e522a718067333cd4e3b15610c6f57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c509190612b26565b610c6f57604051633b79c77360e21b8152336004820152602401610a4e565b610aef838383611a2a565b6000805b600f54811015610cda57826001600160a01b0316600f8281548110610ca557610ca5612b43565b6000918252602090912001546001600160a01b031603610cc85750600192915050565b80610cd281612b0d565b915050610c7e565b50600092915050565b610ceb6119b6565b601080549115156101000261ff0019909216919091179055565b6000610d1083611091565b8210610d725760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a4e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610da36119b6565b6000610db7600a546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610e01576040519150601f19603f3d011682016040523d82523d6000602084013e610e06565b606091505b5050905080610e1457600080fd5b50565b6daaeb6d7670e522a718067333cd4e3b15610ec057604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610e7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea19190612b26565b610ec057604051633b79c77360e21b8152336004820152602401610a4e565b610aef838383611a5b565b60606000610ed883611091565b905060008167ffffffffffffffff811115610ef557610ef56128ff565b604051908082528060200260200182016040528015610f1e578160200160208202803683370190505b50905060005b82811015610f6557610f368582610d05565b828281518110610f4857610f48612b43565b602090810291909101015280610f5d81612b0d565b915050610f24565b509392505050565b6000610f7860085490565b8210610fdb5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a4e565b60088281548110610fee57610fee612b43565b90600052602060002001549050919050565b6110086119b6565b601555565b6000818152600260205260408120546001600160a01b03168061088d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a4e565b6110756119b6565b6010805460ff19166001179055565b600b805461095990612a83565b60006001600160a01b0382166110fb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a4e565b506001600160a01b031660009081526003602052604090205490565b61111f6119b6565b6111296000611a76565b565b6111336119b6565b600061113e60085490565b60115490915061114e8383612ad3565b111561116c5760405162461bcd60e51b8152600401610a4e90612aeb565b60015b8281116111965761118484610b9b8385612ad3565b8061118e81612b0d565b91505061116f565b50505050565b6111a46119b6565b601455565b6060600180546108a290612a83565b60105462010000900460ff16156111fc5760405162461bcd60e51b81526020600482015260086024820152672830bab9b29027a760c11b6044820152606401610a4e565b600061120760085490565b9050600082116112335760405162461bcd60e51b81526020600482015260006024820152604401610a4e565b336000908152600e60205260409020546012546112508483612ad3565b111561129e5760405162461bcd60e51b815260206004820152601e60248201527f4d533a204d6178204e4654207065722057616c6c6574205265616368656400006044820152606401610a4e565b6011546112ab8484612ad3565b11156112c95760405162461bcd60e51b8152600401610a4e90612aeb565b600a546001600160a01b0316331461155257601054610100900460ff161515600103611431576112f833610c7a565b61133d5760405162461bcd60e51b815260206004820152601660248201527515d85b1b195d081b9bdd0815da1a5d195b1a5cdd195960521b6044820152606401610a4e565b6013546016546015546001600160a01b03928316926323b872dd923392911690611368908890612b59565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156113bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e09190612b26565b61142c5760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f207472616e736665722041646d696e20666565000000006044820152606401610a4e565b611552565b601054610100900460ff16156114635760405162461bcd60e51b81526020600482015260006024820152604401610a4e565b6013546016546014546001600160a01b03928316926323b872dd92339291169061148e908890612b59565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af11580156114e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115069190612b26565b6115525760405162461bcd60e51b815260206004820152601c60248201527f4661696c656420746f207472616e736665722041646d696e20666565000000006044820152606401610a4e565b60015b83811161119657336000908152600e6020526040812080549161157783612b0d565b9091555061158b905033610b9b8386612ad3565b8061159581612b0d565b915050611555565b6115a8338383611ac8565b5050565b6115b46119b6565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6daaeb6d7670e522a718067333cd4e3b1561167f57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af115801561163c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116609190612b26565b61167f57604051633b79c77360e21b8152336004820152602401610a4e565b61119684848484611b96565b6116936119b6565b80516115a890600b9060208401906125ed565b600c805461095990612a83565b6000818152600260205260409020546060906001600160a01b03166116f45760405162461bcd60e51b81526020600482015260006024820152604401610a4e565b60105460ff16151560000361179557600d805461171090612a83565b80601f016020809104026020016040519081016040528092919081815260200182805461173c90612a83565b80156117895780601f1061175e57610100808354040283529160200191611789565b820191906000526020600020905b81548152906001019060200180831161176c57829003601f168201915b50505050509050919050565b600061179f611bc8565b905060008151116117bf57604051806020016040528060008152506117ed565b806117c984611bd7565b600c6040516020016117dd93929190612b78565b6040516020818303038152906040525b9392505050565b6117fc6119b6565b611129600f6000612661565b6118106119b6565b80516115a890600d9060208401906125ed565b61182b6119b6565b6001600160a01b0381166118905760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a4e565b610e1481611a76565b60006001600160e01b031982166380ac58cd60e01b14806118ca57506001600160e01b03198216635b5e139f60e01b145b8061088d57506301ffc9a760e01b6001600160e01b031983161461088d565b6000818152600260205260409020546001600160a01b0316610e145760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a4e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061197d8261100d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600a546001600160a01b031633146111295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a4e565b6115a8828260405180602001604052806000815250611c6a565b611a343382611c9d565b611a505760405162461bcd60e51b8152600401610a4e90612c3b565b610aef838383611d1c565b610aef838383604051806020016040528060008152506115d6565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031603611b295760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a4e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611ba03383611c9d565b611bbc5760405162461bcd60e51b8152600401610a4e90612c3b565b61119684848484611e8d565b6060600b80546108a290612a83565b60606000611be483611ec0565b600101905060008167ffffffffffffffff811115611c0457611c046128ff565b6040519080825280601f01601f191660200182016040528015611c2e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611c3857509392505050565b611c748383611f98565b611c816000848484612131565b610aef5760405162461bcd60e51b8152600401610a4e90612c88565b600080611ca98361100d565b9050806001600160a01b0316846001600160a01b03161480611cf057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611d145750836001600160a01b0316611d0984610925565b6001600160a01b0316145b949350505050565b826001600160a01b0316611d2f8261100d565b6001600160a01b031614611d555760405162461bcd60e51b8152600401610a4e90612cda565b6001600160a01b038216611db75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a4e565b611dc48383836001612232565b826001600160a01b0316611dd78261100d565b6001600160a01b031614611dfd5760405162461bcd60e51b8152600401610a4e90612cda565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611e98848484611d1c565b611ea484848484612131565b6111965760405162461bcd60e51b8152600401610a4e90612c88565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611eff5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f2b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f4957662386f26fc10000830492506010015b6305f5e1008310611f61576305f5e100830492506008015b6127108310611f7557612710830492506004015b60648310611f87576064830492506002015b600a831061088d5760010192915050565b6001600160a01b038216611fee5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a4e565b6000818152600260205260409020546001600160a01b0316156120535760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a4e565b612061600083836001612232565b6000818152600260205260409020546001600160a01b0316156120c65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a4e565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561222757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612175903390899088908890600401612d1f565b6020604051808303816000875af19250505080156121b0575060408051601f3d908101601f191682019092526121ad91810190612d5c565b60015b61220d573d8080156121de576040519150601f19603f3d011682016040523d82523d6000602084013e6121e3565b606091505b5080516000036122055760405162461bcd60e51b8152600401610a4e90612c88565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d14565b506001949350505050565b61223e84848484612372565b60018111156122ad5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610a4e565b816001600160a01b0385166123095761230481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61232c565b836001600160a01b0316856001600160a01b03161461232c5761232c85826123fa565b6001600160a01b0384166123485761234381612497565b61236b565b846001600160a01b0316846001600160a01b03161461236b5761236b8482612546565b5050505050565b6001811115611196576001600160a01b038416156123b8576001600160a01b038416600090815260036020526040812080548392906123b2908490612d79565b90915550505b6001600160a01b03831615611196576001600160a01b038316600090815260036020526040812080548392906123ef908490612ad3565b909155505050505050565b6000600161240784611091565b6124119190612d79565b600083815260076020526040902054909150808214612464576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906124a990600190612d79565b600083815260096020526040812054600880549394509092849081106124d1576124d1612b43565b9060005260206000200154905080600883815481106124f2576124f2612b43565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061252a5761252a612d90565b6001900381819060005260206000200160009055905550505050565b600061255183611091565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280548282559060005260206000209081019282156125dd579160200282015b828111156125dd5781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906125aa565b506125e992915061267b565b5090565b8280546125f990612a83565b90600052602060002090601f01602090048101928261261b57600085556125dd565b82601f1061263457805160ff19168380011785556125dd565b828001600101855582156125dd579182015b828111156125dd578251825591602001919060010190612646565b5080546000825590600052602060002090810190610e1491905b5b808211156125e9576000815560010161267c565b6001600160e01b031981168114610e1457600080fd5b6000602082840312156126b857600080fd5b81356117ed81612690565b60005b838110156126de5781810151838201526020016126c6565b838111156111965750506000910152565b600081518084526127078160208601602086016126c3565b601f01601f19169290920160200192915050565b6020815260006117ed60208301846126ef565b60006020828403121561274057600080fd5b5035919050565b80356001600160a01b038116811461275e57600080fd5b919050565b6000806040838503121561277657600080fd5b61277f83612747565b946020939093013593505050565b8015158114610e1457600080fd5b6000602082840312156127ad57600080fd5b81356117ed8161278d565b6000602082840312156127ca57600080fd5b6117ed82612747565b600080602083850312156127e657600080fd5b823567ffffffffffffffff808211156127fe57600080fd5b818501915085601f83011261281257600080fd5b81358181111561282157600080fd5b8660208260051b850101111561283657600080fd5b60209290920196919550909350505050565b60008060006060848603121561285d57600080fd5b61286684612747565b925061287460208501612747565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156128bc578351835292840192918401916001016128a0565b50909695505050505050565b600080604083850312156128db57600080fd5b6128e483612747565b915060208301356128f48161278d565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612930576129306128ff565b604051601f8501601f19908116603f01168101908282118183101715612958576129586128ff565b8160405280935085815286868601111561297157600080fd5b858560208301376000602087830101525050509392505050565b600080600080608085870312156129a157600080fd5b6129aa85612747565b93506129b860208601612747565b925060408501359150606085013567ffffffffffffffff8111156129db57600080fd5b8501601f810187136129ec57600080fd5b6129fb87823560208401612915565b91505092959194509250565b600060208284031215612a1957600080fd5b813567ffffffffffffffff811115612a3057600080fd5b8201601f81018413612a4157600080fd5b611d1484823560208401612915565b60008060408385031215612a6357600080fd5b612a6c83612747565b9150612a7a60208401612747565b90509250929050565b600181811c90821680612a9757607f821691505b602082108103612ab757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612ae657612ae6612abd565b500190565b60208082526008908201526714dbdb190813dd5d60c21b604082015260600190565b600060018201612b1f57612b1f612abd565b5060010190565b600060208284031215612b3857600080fd5b81516117ed8161278d565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615612b7357612b73612abd565b500290565b600084516020612b8b8285838a016126c3565b855191840191612b9e8184848a016126c3565b8554920191600090600181811c9080831680612bbb57607f831692505b8583108103612bd857634e487b7160e01b85526022600452602485fd5b808015612bec5760018114612bfd57612c2a565b60ff19851688528388019550612c2a565b60008b81526020902060005b85811015612c225781548a820152908401908801612c09565b505083880195505b50939b9a5050505050505050505050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d52908301846126ef565b9695505050505050565b600060208284031215612d6e57600080fd5b81516117ed81612690565b600082821015612d8b57612d8b612abd565b500390565b634e487b7160e01b600052603160045260246000fdfea26469706673582212204cf3a1522fd12b8edc3652902652a8573454f2fe6881a2dabf0ca07929ef105c64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f6e66742e7765776565642e696f2f6a736f6e2f0000000000000000000000000000000000000000000000000000000000000000000000002168747470733a2f2f6e66742e7765776565642e696f2f6a736f6e2f312e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _BaseURI (string): https://nft.weweed.io/json/
Arg [1] : _NotRevealedUri (string): https://nft.weweed.io/json/1.json
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [3] : 68747470733a2f2f6e66742e7765776565642e696f2f6a736f6e2f0000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000021
Arg [5] : 68747470733a2f2f6e66742e7765776565642e696f2f6a736f6e2f312e6a736f
Arg [6] : 6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
98098:6298:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91521:224;;;;;;;;;;-1:-1:-1;91521:224:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;91521:224:0;;;;;;;;75530:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;77042:171::-;;;;;;;;;;-1:-1:-1;77042:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;77042:171:0;1528:203:1;98279:28:0;;;;;;;;;;;;;:::i;76560:416::-;;;;;;;;;;-1:-1:-1;76560:416:0;;;;;:::i;:::-;;:::i;:::-;;101985:92;;;;;;;;;;-1:-1:-1;101985:92:0;;;;;:::i;:::-;;:::i;98358:19::-;;;;;;;;;;-1:-1:-1;98358:19:0;;;;;:::i;:::-;;:::i;98431:33::-;;;;;;;;;;-1:-1:-1;98431:33:0;;;;;;;;;;;101360:290;;;;;;;;;;-1:-1:-1;101360:290:0;;;;;:::i;:::-;;:::i;92161:113::-;;;;;;;;;;-1:-1:-1;92249:10:0;:17;92161:113;;;2688:25:1;;;2676:2;2661:18;92161:113:0;2542:177:1;98314:37:0;;;;;;;;;;-1:-1:-1;98314:37:0;;;;;:::i;:::-;;;;;;;;;;;;;;102137:105;;;;;;;;;;-1:-1:-1;102137:105:0;;;;;:::i;:::-;;:::i;103777:175::-;;;;;;;;;;-1:-1:-1;103777:175:0;;;;;:::i;:::-;;:::i;102336:229::-;;;;;;;;;;-1:-1:-1;102336:229:0;;;;;:::i;:::-;;:::i;102573:92::-;;;;;;;;;;-1:-1:-1;102573:92:0;;;;;:::i;:::-;;:::i;91829:256::-;;;;;;;;;;-1:-1:-1;91829:256:0;;;;;:::i;:::-;;:::i;103400:155::-;;;:::i;103960:183::-;;;;;;;;;;-1:-1:-1;103960:183:0;;;;;:::i;:::-;;:::i;99187:390::-;;;;;;;;;;-1:-1:-1;99187:390:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;92351:233::-;;;;;;;;;;-1:-1:-1;92351:233:0;;;;;:::i;:::-;;:::i;102814:98::-;;;;;;;;;;-1:-1:-1;102814:98:0;;;;;:::i;:::-;;:::i;98510:35::-;;;;;;;;;;;;;;;;75240:223;;;;;;;;;;-1:-1:-1;75240:223:0;;;;;:::i;:::-;;:::i;103236:75::-;;;;;;;;;;;;;:::i;98669:36::-;;;;;;;;;;;;;;;;98207:21;;;;;;;;;;;;;:::i;74971:207::-;;;;;;;;;;-1:-1:-1;74971:207:0;;;;;:::i;:::-;;:::i;52529:103::-;;;;;;;;;;;;;:::i;101658:298::-;;;;;;;;;;-1:-1:-1;101658:298:0;;;;;:::i;:::-;;:::i;98590:22::-;;;;;;;;;;-1:-1:-1;98590:22:0;;;;-1:-1:-1;;;;;98590:22:0;;;51881:87;;;;;;;;;;-1:-1:-1;51954:6:0;;-1:-1:-1;;;;;51954:6:0;51881:87;;102716:90;;;;;;;;;;-1:-1:-1;102716:90:0;;;;;:::i;:::-;;:::i;98552:29::-;;;;;;;;;;;;;;;;75699:104;;;;;;;;;;;;;:::i;98619:34::-;;;;;;;;;;;;;;;;100236:1085;;;;;;:::i;:::-;;:::i;77285:155::-;;;;;;;;;;-1:-1:-1;77285:155:0;;;;;:::i;:::-;;:::i;103612:112::-;;;;;;;;;;-1:-1:-1;103612:112:0;;;;;:::i;:::-;;:::i;104151:240::-;;;;;;;;;;-1:-1:-1;104151:240:0;;;;;:::i;:::-;;:::i;102964:104::-;;;;;;;;;;-1:-1:-1;102964:104:0;;;;;:::i;:::-;;:::i;98235:37::-;;;;;;;;;;;;;:::i;99585:643::-;;;;;;;;;;-1:-1:-1;99585:643:0;;;;;:::i;:::-;;:::i;102250:78::-;;;;;;;;;;;;;:::i;98390:34::-;;;;;;;;;;-1:-1:-1;98390:34:0;;;;;;;;98471:30;;;;;;;;;;-1:-1:-1;98471:30:0;;;;;;;;;;;77511:164;;;;;;;;;;-1:-1:-1;77511:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;77632:25:0;;;77608:4;77632:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;77511:164;103076:126;;;;;;;;;;-1:-1:-1;103076:126:0;;;;;:::i;:::-;;:::i;52787:201::-;;;;;;;;;;-1:-1:-1;52787:201:0;;;;;:::i;:::-;;:::i;91521:224::-;91623:4;-1:-1:-1;;;;;;91647:50:0;;-1:-1:-1;;;91647:50:0;;:90;;;91701:36;91725:11;91701:23;:36::i;:::-;91640:97;91521:224;-1:-1:-1;;91521:224:0:o;75530:100::-;75584:13;75617:5;75610:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75530:100;:::o;77042:171::-;77118:7;77138:23;77153:7;77138:14;:23::i;:::-;-1:-1:-1;77181:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;77181:24:0;;77042:171::o;98279:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;76560:416::-;76641:13;76657:23;76672:7;76657:14;:23::i;:::-;76641:39;;76705:5;-1:-1:-1;;;;;76699:11:0;:2;-1:-1:-1;;;;;76699:11:0;;76691:57;;;;-1:-1:-1;;;76691:57:0;;7793:2:1;76691:57:0;;;7775:21:1;7832:2;7812:18;;;7805:30;7871:34;7851:18;;;7844:62;-1:-1:-1;;;7922:18:1;;;7915:31;7963:19;;76691:57:0;;;;;;;;;37278:10;-1:-1:-1;;;;;76783:21:0;;;;:62;;-1:-1:-1;76808:37:0;76825:5;37278:10;77511:164;:::i;76808:37::-;76761:173;;;;-1:-1:-1;;;76761:173:0;;8195:2:1;76761:173:0;;;8177:21:1;8234:2;8214:18;;;8207:30;8273:34;8253:18;;;8246:62;8344:31;8324:18;;;8317:59;8393:19;;76761:173:0;7993:425:1;76761:173:0;76947:21;76956:2;76960:7;76947:8;:21::i;:::-;76630:346;76560:416;;:::o;101985:92::-;51767:13;:11;:13::i;:::-;102049:11:::1;:20:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;102049:20:0;;::::1;::::0;;;::::1;::::0;;101985:92::o;98358:19::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;98358:19:0;;-1:-1:-1;98358:19:0;:::o;101360:290::-;51767:13;:11;:13::i;:::-;101430:14:::1;101447:13;92249:10:::0;:17;;92161:113;101447:13:::1;101503;::::0;101430:30;;-1:-1:-1;101479:20:0::1;101488:11:::0;101430:30;101479:20:::1;:::i;:::-;:37;;101471:58;;;;-1:-1:-1::0;;;101471:58:0::1;;;;;;;:::i;:::-;101557:1;101540:103;101565:11;101560:1;:16;101540:103;;101598:33;101608:10;101620;101629:1:::0;101620:6;:10:::1;:::i;:::-;101598:9;:33::i;:::-;101578:3:::0;::::1;::::0;::::1;:::i;:::-;;;;101540:103;;102137:105:::0;51767:13;:11;:13::i;:::-;102223:11:::1;:2;102228:6:::0;;102223:11:::1;:::i;103777:175::-:0;15794:42;16922:43;:47;16918:225;;16991:67;;-1:-1:-1;;;16991:67:0;;17040:4;16991:67;;;9376:34:1;17047:10:0;9426:18:1;;;9419:43;15794:42:0;;16991:40;;9311:18:1;;16991:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16986:146;;17086:30;;-1:-1:-1;;;17086:30:0;;17105:10;17086:30;;;1674:51:1;1647:18;;17086:30:0;1528:203:1;16986:146:0;103907:37:::1;103926:4;103932:2;103936:7;103907:18;:37::i;102336:229::-:0;102386:4;;102403:132;102427:2;:9;102423:13;;102403:132;;;102471:5;-1:-1:-1;;;;;102462:14:0;:2;102465:1;102462:5;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;102462:5:0;:14;102458:66;;-1:-1:-1;102504:4:0;;102336:229;-1:-1:-1;;102336:229:0:o;102458:66::-;102438:3;;;;:::i;:::-;;;;102403:132;;;-1:-1:-1;102552:5:0;;102336:229;-1:-1:-1;;102336:229:0:o;102573:92::-;51767:13;:11;:13::i;:::-;102634:14:::1;:23:::0;;;::::1;;;;-1:-1:-1::0;;102634:23:0;;::::1;::::0;;;::::1;::::0;;102573:92::o;91829:256::-;91926:7;91962:23;91979:5;91962:16;:23::i;:::-;91954:5;:31;91946:87;;;;-1:-1:-1;;;91946:87:0;;10057:2:1;91946:87:0;;;10039:21:1;10096:2;10076:18;;;10069:30;10135:34;10115:18;;;10108:62;-1:-1:-1;;;10186:18:1;;;10179:41;10237:19;;91946:87:0;9855:407:1;91946:87:0;-1:-1:-1;;;;;;92051:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;91829:256::o;103400:155::-;51767:13;:11;:13::i;:::-;103457:7:::1;103478;51954:6:::0;;-1:-1:-1;;;;;51954:6:0;;51881:87;103478:7:::1;-1:-1:-1::0;;;;;103470:21:0::1;103499;103470:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103456:69;;;103544:2;103536:11;;;::::0;::::1;;103445:110;103400:155::o:0;103960:183::-;15794:42;16922:43;:47;16918:225;;16991:67;;-1:-1:-1;;;16991:67:0;;17040:4;16991:67;;;9376:34:1;17047:10:0;9426:18:1;;;9419:43;15794:42:0;;16991:40;;9311:18:1;;16991:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16986:146;;17086:30;;-1:-1:-1;;;17086:30:0;;17105:10;17086:30;;;1674:51:1;1647:18;;17086:30:0;1528:203:1;16986:146:0;104094:41:::1;104117:4;104123:2;104127:7;104094:22;:41::i;99187:390::-:0;99274:16;99308:23;99334:17;99344:6;99334:9;:17::i;:::-;99308:43;;99362:25;99404:15;99390:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;99390:30:0;;99362:58;;99436:9;99431:113;99451:15;99447:1;:19;99431:113;;;99502:30;99522:6;99530:1;99502:19;:30::i;:::-;99488:8;99497:1;99488:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;99468:3;;;;:::i;:::-;;;;99431:113;;;-1:-1:-1;99561:8:0;99187:390;-1:-1:-1;;;99187:390:0:o;92351:233::-;92426:7;92462:30;92249:10;:17;;92161:113;92462:30;92454:5;:38;92446:95;;;;-1:-1:-1;;;92446:95:0;;10679:2:1;92446:95:0;;;10661:21:1;10718:2;10698:18;;;10691:30;10757:34;10737:18;;;10730:62;-1:-1:-1;;;10808:18:1;;;10801:42;10860:19;;92446:95:0;10477:408:1;92446:95:0;92559:10;92570:5;92559:17;;;;;;;;:::i;:::-;;;;;;;;;92552:24;;92351:233;;;:::o;102814:98::-;51767:13;:11;:13::i;:::-;102883:7:::1;:21:::0;102814:98::o;75240:223::-;75312:7;80127:16;;;:7;:16;;;;;;-1:-1:-1;;;;;80127:16:0;;75376:56;;;;-1:-1:-1;;;75376:56:0;;11092:2:1;75376:56:0;;;11074:21:1;11131:2;11111:18;;;11104:30;-1:-1:-1;;;11150:18:1;;;11143:54;11214:18;;75376:56:0;10890:348:1;103236:75:0;51767:13;:11;:13::i;:::-;103282:14:::1;:21:::0;;-1:-1:-1;;103282:21:0::1;103299:4;103282:21;::::0;;103236:75::o;98207:21::-;;;;;;;:::i;74971:207::-;75043:7;-1:-1:-1;;;;;75071:19:0;;75063:73;;;;-1:-1:-1;;;75063:73:0;;11445:2:1;75063:73:0;;;11427:21:1;11484:2;11464:18;;;11457:30;11523:34;11503:18;;;11496:62;-1:-1:-1;;;11574:18:1;;;11567:39;11623:19;;75063:73:0;11243:405:1;75063:73:0;-1:-1:-1;;;;;;75154:16:0;;;;;:9;:16;;;;;;;74971:207::o;52529:103::-;51767:13;:11;:13::i;:::-;52594:30:::1;52621:1;52594:18;:30::i;:::-;52529:103::o:0;101658:298::-;51767:13;:11;:13::i;:::-;101743:14:::1;101760:13;92249:10:::0;:17;;92161:113;101760:13:::1;101816;::::0;101743:30;;-1:-1:-1;101792:20:0::1;101801:11:::0;101743:30;101792:20:::1;:::i;:::-;:37;;101784:58;;;;-1:-1:-1::0;;;101784:58:0::1;;;;;;;:::i;:::-;101870:1;101853:96;101878:11;101873:1;:16;101853:96;;101911:26;101921:3:::0;101926:10:::1;101935:1:::0;101926:6;:10:::1;:::i;101911:26::-;101891:3:::0;::::1;::::0;::::1;:::i;:::-;;;;101853:96;;;;101732:224;101658:298:::0;;:::o;102716:90::-;51767:13;:11;:13::i;:::-;102781:5:::1;:17:::0;102716:90::o;75699:104::-;75755:13;75788:7;75781:14;;;;;:::i;100236:1085::-;100302:11;;;;;;;100301:12;100293:33;;;;-1:-1:-1;;;100293:33:0;;11855:2:1;100293:33:0;;;11837:21:1;11894:1;11874:18;;;11867:29;-1:-1:-1;;;11912:18:1;;;11905:38;11960:18;;100293:33:0;11653:331:1;100293:33:0;100337:14;100354:13;92249:10;:17;;92161:113;100354:13;100337:30;;100396:1;100386:7;:11;100378:24;;;;-1:-1:-1;;;100378:24:0;;12191:2:1;100378:24:0;;;12173:21:1;-1:-1:-1;12210:18:1;;;12203:29;12249:18;;100378:24:0;11989:284:1;100378:24:0;100443:10;100413:24;100440:14;;;:2;:14;;;;;;100533:7;;100503:26;100522:7;100440:14;100503:26;:::i;:::-;:37;;100473:141;;;;-1:-1:-1;;;100473:141:0;;12480:2:1;100473:141:0;;;12462:21:1;12519:2;12499:18;;;12492:30;12558:32;12538:18;;;12531:60;12608:18;;100473:141:0;12278:354:1;100473:141:0;100653:13;;100633:16;100642:7;100633:6;:16;:::i;:::-;:33;;100625:54;;;;-1:-1:-1;;;100625:54:0;;;;;;;:::i;:::-;51954:6;;-1:-1:-1;;;;;51954:6:0;100694:10;:21;100690:484;;100736:14;;;;;;;:22;;:14;:22;100732:431;;100787:16;100792:10;100787:4;:16::i;:::-;100779:51;;;;-1:-1:-1;;;100779:51:0;;12839:2:1;100779:51:0;;;12821:21:1;12878:2;12858:18;;;12851:30;-1:-1:-1;;;12897:18:1;;;12890:52;12959:18;;100779:51:0;12637:346:1;100779:51:0;100857:8;;100891:11;;100904:7;;-1:-1:-1;;;;;100857:8:0;;;;:21;;100879:10;;100891:11;;;100904:17;;100914:7;;100904:17;:::i;:::-;100857:65;;-1:-1:-1;;;;;;100857:65:0;;;;;;;-1:-1:-1;;;;;13419:15:1;;;100857:65:0;;;13401:34:1;13471:15;;;;13451:18;;;13444:43;13503:18;;;13496:34;13336:18;;100857:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;100849:106;;;;-1:-1:-1;;;100849:106:0;;13743:2:1;100849:106:0;;;13725:21:1;13782:2;13762:18;;;13755:30;13821;13801:18;;;13794:58;13869:18;;100849:106:0;13541:352:1;100849:106:0;100732:431;;;101005:14;;;;;;;101004:15;100996:28;;;;-1:-1:-1;;;100996:28:0;;12191:2:1;100996:28:0;;;12173:21:1;-1:-1:-1;12210:18:1;;;12203:29;12249:18;;100996:28:0;11989:284:1;100996:28:0;101051:8;;101085:11;;101098:5;;-1:-1:-1;;;;;101051:8:0;;;;:21;;101073:10;;101085:11;;;101098:15;;101106:7;;101098:15;:::i;:::-;101051:63;;-1:-1:-1;;;;;;101051:63:0;;;;;;;-1:-1:-1;;;;;13419:15:1;;;101051:63:0;;;13401:34:1;13471:15;;;;13451:18;;;13444:43;13503:18;;;13496:34;13336:18;;101051:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;101043:104;;;;-1:-1:-1;;;101043:104:0;;13743:2:1;101043:104:0;;;13725:21:1;13782:2;13762:18;;;13755:30;13821;13801:18;;;13794:58;13869:18;;101043:104:0;13541:352:1;101043:104:0;101201:1;101184:130;101209:7;101204:1;:12;101184:130;;101241:10;101238:14;;;;:2;:14;;;;;:16;;;;;;:::i;:::-;;;;-1:-1:-1;101269:33:0;;-1:-1:-1;101279:10:0;101291;101300:1;101291:6;:10;:::i;101269:33::-;101218:3;;;;:::i;:::-;;;;101184:130;;77285:155;77380:52;37278:10;77413:8;77423;77380:18;:52::i;:::-;77285:155;;:::o;103612:112::-;51767:13;:11;:13::i;:::-;103687:11:::1;:29:::0;;-1:-1:-1;;;;;;103687:29:0::1;-1:-1:-1::0;;;;;103687:29:0;;;::::1;::::0;;;::::1;::::0;;103612:112::o;104151:240::-;15794:42;16922:43;:47;16918:225;;16991:67;;-1:-1:-1;;;16991:67:0;;17040:4;16991:67;;;9376:34:1;17047:10:0;9426:18:1;;;9419:43;15794:42:0;;16991:40;;9311:18:1;;16991:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16986:146;;17086:30;;-1:-1:-1;;;17086:30:0;;17105:10;17086:30;;;1674:51:1;1647:18;;17086:30:0;1528:203:1;16986:146:0;104336:47:::1;104359:4;104365:2;104369:7;104378:4;104336:22;:47::i;102964:104::-:0;51767:13;:11;:13::i;:::-;103039:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;98235:37::-:0;;;;;;;:::i;99585:643::-;80529:4;80127:16;;;:7;:16;;;;;;99703:13;;-1:-1:-1;;;;;80127:16:0;99734:29;;;;-1:-1:-1;;;99734:29:0;;12191:2:1;99734:29:0;;;12173:21:1;-1:-1:-1;12210:18:1;;;12203:29;12249:18;;99734:29:0;11989:284:1;99734:29:0;99778:14;;;;:23;;:14;:23;99774:77;;99825:14;99818:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99585:643;;;:::o;99774:77::-;99861:28;99892:10;:8;:10::i;:::-;99861:41;;99964:1;99939:14;99933:28;:32;:287;;;;;;;;;;;;;;;;;100057:14;100098:18;:7;:16;:18::i;:::-;100143:13;100014:165;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;99933:287;99913:307;99585:643;-1:-1:-1;;;99585:643:0:o;102250:78::-;51767:13;:11;:13::i;:::-;102311:9:::1;102318:2;;102311:9;:::i;103076:126::-:0;51767:13;:11;:13::i;:::-;103162:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;52787:201::-:0;51767:13;:11;:13::i;:::-;-1:-1:-1;;;;;52876:22:0;::::1;52868:73;;;::::0;-1:-1:-1;;;52868:73:0;;15758:2:1;52868:73:0::1;::::0;::::1;15740:21:1::0;15797:2;15777:18;;;15770:30;15836:34;15816:18;;;15809:62;-1:-1:-1;;;15887:18:1;;;15880:36;15933:19;;52868:73:0::1;15556:402:1::0;52868:73:0::1;52952:28;52971:8;52952:18;:28::i;74602:305::-:0;74704:4;-1:-1:-1;;;;;;74741:40:0;;-1:-1:-1;;;74741:40:0;;:105;;-1:-1:-1;;;;;;;74798:48:0;;-1:-1:-1;;;74798:48:0;74741:105;:158;;;-1:-1:-1;;;;;;;;;;65931:40:0;;;74863:36;65822:157;86861:135;80529:4;80127:16;;;:7;:16;;;;;;-1:-1:-1;;;;;80127:16:0;86935:53;;;;-1:-1:-1;;;86935:53:0;;11092:2:1;86935:53:0;;;11074:21:1;11131:2;11111:18;;;11104:30;-1:-1:-1;;;11150:18:1;;;11143:54;11214:18;;86935:53:0;10890:348:1;86140:174:0;86215:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;86215:29:0;-1:-1:-1;;;;;86215:29:0;;;;;;;;:24;;86269:23;86215:24;86269:14;:23::i;:::-;-1:-1:-1;;;;;86260:46:0;;;;;;;;;;;86140:174;;:::o;52046:132::-;51954:6;;-1:-1:-1;;;;;51954:6:0;37278:10;52110:23;52102:68;;;;-1:-1:-1;;;52102:68:0;;16165:2:1;52102:68:0;;;16147:21:1;;;16184:18;;;16177:30;16243:34;16223:18;;;16216:62;16295:18;;52102:68:0;15963:356:1;81365:110:0;81441:26;81451:2;81455:7;81441:26;;;;;;;;;;;;:9;:26::i;77742:335::-;77937:41;37278:10;77970:7;77937:18;:41::i;:::-;77929:99;;;;-1:-1:-1;;;77929:99:0;;;;;;;:::i;:::-;78041:28;78051:4;78057:2;78061:7;78041:9;:28::i;78148:185::-;78286:39;78303:4;78309:2;78313:7;78286:39;;;;;;;;;;;;:16;:39::i;53148:191::-;53241:6;;;-1:-1:-1;;;;;53258:17:0;;;-1:-1:-1;;;;;;53258:17:0;;;;;;;53291:40;;53241:6;;;53258:17;53241:6;;53291:40;;53222:16;;53291:40;53211:128;53148:191;:::o;86457:315::-;86612:8;-1:-1:-1;;;;;86603:17:0;:5;-1:-1:-1;;;;;86603:17:0;;86595:55;;;;-1:-1:-1;;;86595:55:0;;16940:2:1;86595:55:0;;;16922:21:1;16979:2;16959:18;;;16952:30;17018:27;16998:18;;;16991:55;17063:18;;86595:55:0;16738:349:1;86595:55:0;-1:-1:-1;;;;;86661:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;86661:46:0;;;;;;;;;;86723:41;;540::1;;;86723::0;;513:18:1;86723:41:0;;;;;;;86457:315;;;:::o;78404:322::-;78578:41;37278:10;78611:7;78578:18;:41::i;:::-;78570:99;;;;-1:-1:-1;;;78570:99:0;;;;;;;:::i;:::-;78680:38;78694:4;78700:2;78704:7;78713:4;78680:13;:38::i;99071:108::-;99131:13;99164:7;99157:14;;;;;:::i;34572:716::-;34628:13;34679:14;34696:17;34707:5;34696:10;:17::i;:::-;34716:1;34696:21;34679:38;;34732:20;34766:6;34755:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34755:18:0;-1:-1:-1;34732:41:0;-1:-1:-1;34897:28:0;;;34913:2;34897:28;34954:288;-1:-1:-1;;34986:5:0;-1:-1:-1;;;35123:2:0;35112:14;;35107:30;34986:5;35094:44;35184:2;35175:11;;;-1:-1:-1;35205:21:0;34954:288;35205:21;-1:-1:-1;35263:6:0;34572:716;-1:-1:-1;;;34572:716:0:o;81702:319::-;81831:18;81837:2;81841:7;81831:5;:18::i;:::-;81882:53;81913:1;81917:2;81921:7;81930:4;81882:22;:53::i;:::-;81860:153;;;;-1:-1:-1;;;81860:153:0;;;;;;;:::i;80759:264::-;80852:4;80869:13;80885:23;80900:7;80885:14;:23::i;:::-;80869:39;;80938:5;-1:-1:-1;;;;;80927:16:0;:7;-1:-1:-1;;;;;80927:16:0;;:52;;;-1:-1:-1;;;;;;77632:25:0;;;77608:4;77632:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;80947:32;80927:87;;;;81007:7;-1:-1:-1;;;;;80983:31:0;:20;80995:7;80983:11;:20::i;:::-;-1:-1:-1;;;;;80983:31:0;;80927:87;80919:96;80759:264;-1:-1:-1;;;;80759:264:0:o;84758:1263::-;84917:4;-1:-1:-1;;;;;84890:31:0;:23;84905:7;84890:14;:23::i;:::-;-1:-1:-1;;;;;84890:31:0;;84882:81;;;;-1:-1:-1;;;84882:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;84982:16:0;;84974:65;;;;-1:-1:-1;;;84974:65:0;;18251:2:1;84974:65:0;;;18233:21:1;18290:2;18270:18;;;18263:30;18329:34;18309:18;;;18302:62;-1:-1:-1;;;18380:18:1;;;18373:34;18424:19;;84974:65:0;18049:400:1;84974:65:0;85052:42;85073:4;85079:2;85083:7;85092:1;85052:20;:42::i;:::-;85224:4;-1:-1:-1;;;;;85197:31:0;:23;85212:7;85197:14;:23::i;:::-;-1:-1:-1;;;;;85197:31:0;;85189:81;;;;-1:-1:-1;;;85189:81:0;;;;;;;:::i;:::-;85342:24;;;;:15;:24;;;;;;;;85335:31;;-1:-1:-1;;;;;;85335:31:0;;;;;;-1:-1:-1;;;;;85818:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;85818:20:0;;;85853:13;;;;;;;;;:18;;85335:31;85853:18;;;85893:16;;;:7;:16;;;;;;:21;;;;;;;;;;85932:27;;85358:7;;85932:27;;;76630:346;76560:416;;:::o;79607:313::-;79763:28;79773:4;79779:2;79783:7;79763:9;:28::i;:::-;79810:47;79833:4;79839:2;79843:7;79852:4;79810:22;:47::i;:::-;79802:110;;;;-1:-1:-1;;;79802:110:0;;;;;;;:::i;31385:922::-;31438:7;;-1:-1:-1;;;31516:15:0;;31512:102;;-1:-1:-1;;;31552:15:0;;;-1:-1:-1;31596:2:0;31586:12;31512:102;31641:6;31632:5;:15;31628:102;;31677:6;31668:15;;;-1:-1:-1;31712:2:0;31702:12;31628:102;31757:6;31748:5;:15;31744:102;;31793:6;31784:15;;;-1:-1:-1;31828:2:0;31818:12;31744:102;31873:5;31864;:14;31860:99;;31908:5;31899:14;;;-1:-1:-1;31942:1:0;31932:11;31860:99;31986:5;31977;:14;31973:99;;32021:5;32012:14;;;-1:-1:-1;32055:1:0;32045:11;31973:99;32099:5;32090;:14;32086:99;;32134:5;32125:14;;;-1:-1:-1;32168:1:0;32158:11;32086:99;32212:5;32203;:14;32199:66;;32248:1;32238:11;32293:6;31385:922;-1:-1:-1;;31385:922:0:o;82357:942::-;-1:-1:-1;;;;;82437:16:0;;82429:61;;;;-1:-1:-1;;;82429:61:0;;18656:2:1;82429:61:0;;;18638:21:1;;;18675:18;;;18668:30;18734:34;18714:18;;;18707:62;18786:18;;82429:61:0;18454:356:1;82429:61:0;80529:4;80127:16;;;:7;:16;;;;;;-1:-1:-1;;;;;80127:16:0;80553:31;82501:58;;;;-1:-1:-1;;;82501:58:0;;19017:2:1;82501:58:0;;;18999:21:1;19056:2;19036:18;;;19029:30;19095;19075:18;;;19068:58;19143:18;;82501:58:0;18815:352:1;82501:58:0;82572:48;82601:1;82605:2;82609:7;82618:1;82572:20;:48::i;:::-;80529:4;80127:16;;;:7;:16;;;;;;-1:-1:-1;;;;;80127:16:0;80553:31;82710:58;;;;-1:-1:-1;;;82710:58:0;;19017:2:1;82710:58:0;;;18999:21:1;19056:2;19036:18;;;19029:30;19095;19075:18;;;19068:58;19143:18;;82710:58:0;18815:352:1;82710:58:0;-1:-1:-1;;;;;83117:13:0;;;;;;:9;:13;;;;;;;;:18;;83134:1;83117:18;;;83159:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;83159:21:0;;;;;83198:33;83167:7;;83117:13;;83198:33;;83117:13;;83198:33;77285:155;;:::o;87560:853::-;87714:4;-1:-1:-1;;;;;87735:13:0;;54927:19;:23;87731:675;;87771:71;;-1:-1:-1;;;87771:71:0;;-1:-1:-1;;;;;87771:36:0;;;;;:71;;37278:10;;87822:4;;87828:7;;87837:4;;87771:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87771:71:0;;;;;;;;-1:-1:-1;;87771:71:0;;;;;;;;;;;;:::i;:::-;;;87767:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88012:6;:13;88029:1;88012:18;88008:328;;88055:60;;-1:-1:-1;;;88055:60:0;;;;;;;:::i;88008:328::-;88286:6;88280:13;88271:6;88267:2;88263:15;88256:38;87767:584;-1:-1:-1;;;;;;87893:51:0;-1:-1:-1;;;87893:51:0;;-1:-1:-1;87886:58:0;;87731:675;-1:-1:-1;88390:4:0;87560:853;;;;;;:::o;92658:915::-;92835:61;92862:4;92868:2;92872:12;92886:9;92835:26;:61::i;:::-;92925:1;92913:9;:13;92909:222;;;93056:63;;-1:-1:-1;;;93056:63:0;;20122:2:1;93056:63:0;;;20104:21:1;20161:2;20141:18;;;20134:30;20200:34;20180:18;;;20173:62;-1:-1:-1;;;20251:18:1;;;20244:51;20312:19;;93056:63:0;19920:417:1;92909:222:0;93161:12;-1:-1:-1;;;;;93190:18:0;;93186:187;;93225:40;93257:7;94400:10;:17;;94373:24;;;;:15;:24;;;;;:44;;;94428:24;;;;;;;;;;;;94296:164;93225:40;93186:187;;;93295:2;-1:-1:-1;;;;;93287:10:0;:4;-1:-1:-1;;;;;93287:10:0;;93283:90;;93314:47;93347:4;93353:7;93314:32;:47::i;:::-;-1:-1:-1;;;;;93387:16:0;;93383:183;;93420:45;93457:7;93420:36;:45::i;:::-;93383:183;;;93493:4;-1:-1:-1;;;;;93487:10:0;:2;-1:-1:-1;;;;;93487:10:0;;93483:83;;93514:40;93542:2;93546:7;93514:27;:40::i;:::-;92824:749;92658:915;;;;:::o;89145:410::-;89335:1;89323:9;:13;89319:229;;;-1:-1:-1;;;;;89357:18:0;;;89353:87;;-1:-1:-1;;;;;89396:15:0;;;;;;:9;:15;;;;;:28;;89415:9;;89396:15;:28;;89415:9;;89396:28;:::i;:::-;;;;-1:-1:-1;;89353:87:0;-1:-1:-1;;;;;89458:16:0;;;89454:83;;-1:-1:-1;;;;;89495:13:0;;;;;;:9;:13;;;;;:26;;89512:9;;89495:13;:26;;89512:9;;89495:26;:::i;:::-;;;;-1:-1:-1;;89145:410:0;;;;:::o;95087:988::-;95353:22;95403:1;95378:22;95395:4;95378:16;:22::i;:::-;:26;;;;:::i;:::-;95415:18;95436:26;;;:17;:26;;;;;;95353:51;;-1:-1:-1;95569:28:0;;;95565:328;;-1:-1:-1;;;;;95636:18:0;;95614:19;95636:18;;;:12;:18;;;;;;;;:34;;;;;;;;;95687:30;;;;;;:44;;;95804:30;;:17;:30;;;;;:43;;;95565:328;-1:-1:-1;95989:26:0;;;;:17;:26;;;;;;;;95982:33;;;-1:-1:-1;;;;;96033:18:0;;;;;:12;:18;;;;;:34;;;;;;;96026:41;95087:988::o;96370:1079::-;96648:10;:17;96623:22;;96648:21;;96668:1;;96648:21;:::i;:::-;96680:18;96701:24;;;:15;:24;;;;;;97074:10;:26;;96623:46;;-1:-1:-1;96701:24:0;;96623:46;;97074:26;;;;;;:::i;:::-;;;;;;;;;97052:48;;97138:11;97113:10;97124;97113:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;97218:28;;;:15;:28;;;;;;;:41;;;97390:24;;;;;97383:31;97425:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;96441:1008;;;96370:1079;:::o;93874:221::-;93959:14;93976:20;93993:2;93976:16;:20::i;:::-;-1:-1:-1;;;;;94007:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;94052:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;93874:221:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2173:118::-;2259:5;2252:13;2245:21;2238:5;2235:32;2225:60;;2281:1;2278;2271:12;2296:241;2352:6;2405:2;2393:9;2384:7;2380:23;2376:32;2373:52;;;2421:1;2418;2411:12;2373:52;2460:9;2447:23;2479:28;2501:5;2479:28;:::i;2724:186::-;2783:6;2836:2;2824:9;2815:7;2811:23;2807:32;2804:52;;;2852:1;2849;2842:12;2804:52;2875:29;2894:9;2875:29;:::i;2915:615::-;3001:6;3009;3062:2;3050:9;3041:7;3037:23;3033:32;3030:52;;;3078:1;3075;3068:12;3030:52;3118:9;3105:23;3147:18;3188:2;3180:6;3177:14;3174:34;;;3204:1;3201;3194:12;3174:34;3242:6;3231:9;3227:22;3217:32;;3287:7;3280:4;3276:2;3272:13;3268:27;3258:55;;3309:1;3306;3299:12;3258:55;3349:2;3336:16;3375:2;3367:6;3364:14;3361:34;;;3391:1;3388;3381:12;3361:34;3444:7;3439:2;3429:6;3426:1;3422:14;3418:2;3414:23;3410:32;3407:45;3404:65;;;3465:1;3462;3455:12;3404:65;3496:2;3488:11;;;;;3518:6;;-1:-1:-1;2915:615:1;;-1:-1:-1;;;;2915:615:1:o;3535:328::-;3612:6;3620;3628;3681:2;3669:9;3660:7;3656:23;3652:32;3649:52;;;3697:1;3694;3687:12;3649:52;3720:29;3739:9;3720:29;:::i;:::-;3710:39;;3768:38;3802:2;3791:9;3787:18;3768:38;:::i;:::-;3758:48;;3853:2;3842:9;3838:18;3825:32;3815:42;;3535:328;;;;;:::o;3868:632::-;4039:2;4091:21;;;4161:13;;4064:18;;;4183:22;;;4010:4;;4039:2;4262:15;;;;4236:2;4221:18;;;4010:4;4305:169;4319:6;4316:1;4313:13;4305:169;;;4380:13;;4368:26;;4449:15;;;;4414:12;;;;4341:1;4334:9;4305:169;;;-1:-1:-1;4491:3:1;;3868:632;-1:-1:-1;;;;;;3868:632:1:o;4727:315::-;4792:6;4800;4853:2;4841:9;4832:7;4828:23;4824:32;4821:52;;;4869:1;4866;4859:12;4821:52;4892:29;4911:9;4892:29;:::i;:::-;4882:39;;4971:2;4960:9;4956:18;4943:32;4984:28;5006:5;4984:28;:::i;:::-;5031:5;5021:15;;;4727:315;;;;;:::o;5047:127::-;5108:10;5103:3;5099:20;5096:1;5089:31;5139:4;5136:1;5129:15;5163:4;5160:1;5153:15;5179:631;5243:5;5273:18;5314:2;5306:6;5303:14;5300:40;;;5320:18;;:::i;:::-;5395:2;5389:9;5363:2;5449:15;;-1:-1:-1;;5445:24:1;;;5471:2;5441:33;5437:42;5425:55;;;5495:18;;;5515:22;;;5492:46;5489:72;;;5541:18;;:::i;:::-;5581:10;5577:2;5570:22;5610:6;5601:15;;5640:6;5632;5625:22;5680:3;5671:6;5666:3;5662:16;5659:25;5656:45;;;5697:1;5694;5687:12;5656:45;5747:6;5742:3;5735:4;5727:6;5723:17;5710:44;5802:1;5795:4;5786:6;5778;5774:19;5770:30;5763:41;;;;5179:631;;;;;:::o;5815:666::-;5910:6;5918;5926;5934;5987:3;5975:9;5966:7;5962:23;5958:33;5955:53;;;6004:1;6001;5994:12;5955:53;6027:29;6046:9;6027:29;:::i;:::-;6017:39;;6075:38;6109:2;6098:9;6094:18;6075:38;:::i;:::-;6065:48;;6160:2;6149:9;6145:18;6132:32;6122:42;;6215:2;6204:9;6200:18;6187:32;6242:18;6234:6;6231:30;6228:50;;;6274:1;6271;6264:12;6228:50;6297:22;;6350:4;6342:13;;6338:27;-1:-1:-1;6328:55:1;;6379:1;6376;6369:12;6328:55;6402:73;6467:7;6462:2;6449:16;6444:2;6440;6436:11;6402:73;:::i;:::-;6392:83;;;5815:666;;;;;;;:::o;6486:450::-;6555:6;6608:2;6596:9;6587:7;6583:23;6579:32;6576:52;;;6624:1;6621;6614:12;6576:52;6664:9;6651:23;6697:18;6689:6;6686:30;6683:50;;;6729:1;6726;6719:12;6683:50;6752:22;;6805:4;6797:13;;6793:27;-1:-1:-1;6783:55:1;;6834:1;6831;6824:12;6783:55;6857:73;6922:7;6917:2;6904:16;6899:2;6895;6891:11;6857:73;:::i;6941:260::-;7009:6;7017;7070:2;7058:9;7049:7;7045:23;7041:32;7038:52;;;7086:1;7083;7076:12;7038:52;7109:29;7128:9;7109:29;:::i;:::-;7099:39;;7157:38;7191:2;7180:9;7176:18;7157:38;:::i;:::-;7147:48;;6941:260;;;;;:::o;7206:380::-;7285:1;7281:12;;;;7328;;;7349:61;;7403:4;7395:6;7391:17;7381:27;;7349:61;7456:2;7448:6;7445:14;7425:18;7422:38;7419:161;;7502:10;7497:3;7493:20;7490:1;7483:31;7537:4;7534:1;7527:15;7565:4;7562:1;7555:15;7419:161;;7206:380;;;:::o;8423:127::-;8484:10;8479:3;8475:20;8472:1;8465:31;8515:4;8512:1;8505:15;8539:4;8536:1;8529:15;8555:128;8595:3;8626:1;8622:6;8619:1;8616:13;8613:39;;;8632:18;;:::i;:::-;-1:-1:-1;8668:9:1;;8555:128::o;8688:331::-;8890:2;8872:21;;;8929:1;8909:18;;;8902:29;-1:-1:-1;;;8962:2:1;8947:18;;8940:38;9010:2;8995:18;;8688:331::o;9024:135::-;9063:3;9084:17;;;9081:43;;9104:18;;:::i;:::-;-1:-1:-1;9151:1:1;9140:13;;9024:135::o;9473:245::-;9540:6;9593:2;9581:9;9572:7;9568:23;9564:32;9561:52;;;9609:1;9606;9599:12;9561:52;9641:9;9635:16;9660:28;9682:5;9660:28;:::i;9723:127::-;9784:10;9779:3;9775:20;9772:1;9765:31;9815:4;9812:1;9805:15;9839:4;9836:1;9829:15;12988:168;13028:7;13094:1;13090;13086:6;13082:14;13079:1;13076:21;13071:1;13064:9;13057:17;13053:45;13050:71;;;13101:18;;:::i;:::-;-1:-1:-1;13141:9:1;;12988:168::o;14024:1527::-;14248:3;14286:6;14280:13;14312:4;14325:51;14369:6;14364:3;14359:2;14351:6;14347:15;14325:51;:::i;:::-;14439:13;;14398:16;;;;14461:55;14439:13;14398:16;14483:15;;;14461:55;:::i;:::-;14605:13;;14538:20;;;14578:1;;14665;14687:18;;;;14740;;;;14767:93;;14845:4;14835:8;14831:19;14819:31;;14767:93;14908:2;14898:8;14895:16;14875:18;14872:40;14869:167;;-1:-1:-1;;;14935:33:1;;14991:4;14988:1;14981:15;15021:4;14942:3;15009:17;14869:167;15052:18;15079:110;;;;15203:1;15198:328;;;;15045:481;;15079:110;-1:-1:-1;;15114:24:1;;15100:39;;15159:20;;;;-1:-1:-1;15079:110:1;;15198:328;13971:1;13964:14;;;14008:4;13995:18;;15293:1;15307:169;15321:8;15318:1;15315:15;15307:169;;;15403:14;;15388:13;;;15381:37;15446:16;;;;15338:10;;15307:169;;;15311:3;;15507:8;15500:5;15496:20;15489:27;;15045:481;-1:-1:-1;15542:3:1;;14024:1527;-1:-1:-1;;;;;;;;;;;14024:1527:1:o;16324:409::-;16526:2;16508:21;;;16565:2;16545:18;;;16538:30;16604:34;16599:2;16584:18;;16577:62;-1:-1:-1;;;16670:2:1;16655:18;;16648:43;16723:3;16708:19;;16324:409::o;17224:414::-;17426:2;17408:21;;;17465:2;17445:18;;;17438:30;17504:34;17499:2;17484:18;;17477:62;-1:-1:-1;;;17570:2:1;17555:18;;17548:48;17628:3;17613:19;;17224:414::o;17643:401::-;17845:2;17827:21;;;17884:2;17864:18;;;17857:30;17923:34;17918:2;17903:18;;17896:62;-1:-1:-1;;;17989:2:1;17974:18;;17967:35;18034:3;18019:19;;17643:401::o;19172:489::-;-1:-1:-1;;;;;19441:15:1;;;19423:34;;19493:15;;19488:2;19473:18;;19466:43;19540:2;19525:18;;19518:34;;;19588:3;19583:2;19568:18;;19561:31;;;19366:4;;19609:46;;19635:19;;19627:6;19609:46;:::i;:::-;19601:54;19172:489;-1:-1:-1;;;;;;19172:489:1:o;19666:249::-;19735:6;19788:2;19776:9;19767:7;19763:23;19759:32;19756:52;;;19804:1;19801;19794:12;19756:52;19836:9;19830:16;19855:30;19879:5;19855:30;:::i;20342:125::-;20382:4;20410:1;20407;20404:8;20401:34;;;20415:18;;:::i;:::-;-1:-1:-1;20452:9:1;;20342:125::o;20472:127::-;20533:10;20528:3;20524:20;20521:1;20514:31;20564:4;20561:1;20554:15;20588:4;20585:1;20578:15
Swarm Source
ipfs://4cf3a1522fd12b8edc3652902652a8573454f2fe6881a2dabf0ca07929ef105c
Loading...
Loading
Loading...
Loading
OVERVIEW
WeWeed is a Web3 NFT project that builds on the Ethereum Network. Each NFT represents a membership of the WeWeed Project. NFT holders can enjoy guaranteed rewards, VIP experience, and join our physical clubhouse and tours in Thailand.Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.