Overview
TokenID
512
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SpringfieldApes
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-19 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/529cceeda9f5f8e28812c20042cc57626f784718/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/529cceeda9f5f8e28812c20042cc57626f784718/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } _; } } // File: https://github.com/ProjectOpenSea/operator-filter-registry/blob/529cceeda9f5f8e28812c20042cc57626f784718/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: https://github.com/chiru-labs/ERC721A/blob/2342b592d990a7710faf40fe66cfa1ce61dd2339/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: https://github.com/chiru-labs/ERC721A/blob/2342b592d990a7710faf40fe66cfa1ce61dd2339/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: https://github.com/chiru-labs/ERC721A/blob/2342b592d990a7710faf40fe66cfa1ce61dd2339/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) revert OwnerQueryForNonexistentToken(); // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; return packed; } } // Otherwise, the data exists and is not burned. We can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. return packed; } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck) if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: https://github.com/chiru-labs/ERC721A/blob/2342b592d990a7710faf40fe66cfa1ce61dd2339/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts/SpringfieldApes.sol pragma solidity ^0.8.17; contract SpringfieldApes is ERC721A, DefaultOperatorFilterer, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public constant MAX_TOKENS = 5000; uint256 public price = 0.04 ether; uint256 public presalePrice = 0.03 ether; uint256 public maxPerALWallet = 3; uint256 public maxPerWallet = 3; address public constant w1 = 0x6bd2C84ad25148988B5087e5Dfc55Ba022D963e8; address public constant w2 = 0xA8ebD0C99a8734ce3EdCa0beA70F1DE3B808e11d; address public constant w3 = 0x1631592F0f1F835daA7515d9488AB3D8652D4Ab3; bool public publicSaleStarted = false; bool public presaleStarted = false; mapping(address => uint256) private _walletMints; mapping(address => uint256) private _ALWalletMints; string public baseURI = ""; bytes32 public merkleRoot; constructor() ERC721A("Springfield Apes", "SAPES") { } function presaleMinted(address owner) public view returns (uint256) { return _ALWalletMints[owner]; } function publicMinted(address owner) public view returns (uint256) { return _walletMints[owner]; } function togglePresaleStarted() external onlyOwner { presaleStarted = !presaleStarted; } function togglePublicSaleStarted() external onlyOwner { publicSaleStarted = !publicSaleStarted; } function setMaxPerWallet(uint256 _newMaxPerWallet) external onlyOwner { maxPerWallet = _newMaxPerWallet; } function setMaxPerALWallet(uint256 _newMaxPerALWallet) external onlyOwner { maxPerALWallet = _newMaxPerALWallet; } function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function _baseURI() internal view override returns (string memory) { return baseURI; } function _startTokenId() internal pure override returns (uint256) { return 1; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: Nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json")) : ""; } function internalMint(address teamAddress, uint256 _teamAmount) external onlyOwner { require(totalSupply() + _teamAmount <= MAX_TOKENS, "Max supply exceeded!"); _safeMint(teamAddress, _teamAmount); } function mintAllowlist(uint256 tokens, bytes32[] calldata merkleProof) external payable { require(presaleStarted, "Sale has not started"); require(MerkleProof.verify(merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "Not on the allowlist"); require(totalSupply() + tokens <= MAX_TOKENS, "Minting would exceed max supply"); require(tokens > 0, "Must mint at least one Springfield Ape"); require(_ALWalletMints[_msgSender()] + tokens <= maxPerALWallet, "AL limit for this wallet reached"); require(presalePrice * tokens <= msg.value, "Not enough ETH"); _ALWalletMints[_msgSender()] += tokens; _safeMint(_msgSender(), tokens); } function mint(uint256 tokens) external payable { require(publicSaleStarted, "Sale has not started"); require(totalSupply() + tokens <= MAX_TOKENS, "Minting would exceed max supply"); require(tokens > 0, "Must mint at least one Springfield Ape"); require(_walletMints[_msgSender()] + tokens <= maxPerWallet, "Limit for this wallet reached"); require(price * tokens <= msg.value, "Not enough ETH"); _walletMints[_msgSender()] += tokens; _safeMint(_msgSender(), tokens); } function withdrawAll() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "Insufficent balance"); _withdraw(w1, ((balance * 34) / 100)); // 34% _withdraw(w2, ((balance * 33) / 100)); // 33% _withdraw(w3, ((balance * 33) / 100)); // 33% } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Failed to withdraw Ether"); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"teamAddress","type":"address"},{"internalType":"uint256","name":"_teamAmount","type":"uint256"}],"name":"internalMint","outputs":[],"stateMutability":"nonpayable","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":"maxPerALWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"presaleMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"payable","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":"payable","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPerALWallet","type":"uint256"}],"name":"setMaxPerALWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","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":[],"name":"togglePresaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleStarted","outputs":[],"stateMutability":"nonpayable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"w1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"w2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"w3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052668e1bc9bf040000600955666a94d74f430000600a556003600b556003600c556000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff02191690831515021790555060405180602001604052806000815250601090816200007a9190620006b6565b503480156200008857600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601081526020017f537072696e676669656c642041706573000000000000000000000000000000008152506040518060400160405280600581526020017f534150455300000000000000000000000000000000000000000000000000000081525081600290816200011d9190620006b6565b5080600390816200012f9190620006b6565b50620001406200036560201b60201c565b600081905550505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200033d57801562000203576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001c9929190620007e2565b600060405180830381600087803b158015620001e457600080fd5b505af1158015620001f9573d6000803e3d6000fd5b505050506200033c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002bd576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b815260040162000283929190620007e2565b600060405180830381600087803b1580156200029e57600080fd5b505af1158015620002b3573d6000803e3d6000fd5b505050506200033b565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200030691906200080f565b600060405180830381600087803b1580156200032157600080fd5b505af115801562000336573d6000803e3d6000fd5b505050505b5b5b50506200035f620003536200036e60201b60201c565b6200037660201b60201c565b6200082c565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004be57607f821691505b602082108103620004d457620004d362000476565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200053e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004ff565b6200054a8683620004ff565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000597620005916200058b8462000562565b6200056c565b62000562565b9050919050565b6000819050919050565b620005b38362000576565b620005cb620005c2826200059e565b8484546200050c565b825550505050565b600090565b620005e2620005d3565b620005ef818484620005a8565b505050565b5b8181101562000617576200060b600082620005d8565b600181019050620005f5565b5050565b601f82111562000666576200063081620004da565b6200063b84620004ef565b810160208510156200064b578190505b620006636200065a85620004ef565b830182620005f4565b50505b505050565b600082821c905092915050565b60006200068b600019846008026200066b565b1980831691505092915050565b6000620006a6838362000678565b9150826002028217905092915050565b620006c1826200043c565b67ffffffffffffffff811115620006dd57620006dc62000447565b5b620006e98254620004a5565b620006f68282856200061b565b600060209050601f8311600181146200072e576000841562000719578287015190505b62000725858262000698565b86555062000795565b601f1984166200073e86620004da565b60005b82811015620007685784890151825560018201915060208501945060208101905062000741565b8683101562000788578489015162000784601f89168262000678565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007ca826200079d565b9050919050565b620007dc81620007bd565b82525050565b6000604082019050620007f96000830185620007d1565b620008086020830184620007d1565b9392505050565b6000602082019050620008266000830184620007d1565b92915050565b614481806200083c6000396000f3fe6080604052600436106102505760003560e01c8063715018a611610139578063a2e91477116100b6578063c87b56dd1161007a578063c87b56dd1461082d578063e268e4d31461086a578063e985e9c514610893578063ed1fc2a2146108d0578063f2fde38b146108e7578063f47c84c51461091057610250565b8063a2e9147714610755578063a62b4ca714610780578063abc70ce8146107a9578063b88d4fde146107d4578063bc660cac146107f057610250565b806395d89b41116100fd57806395d89b411461068f578063a035b1fe146106ba578063a044c987146106e5578063a0712d6814610710578063a22cb4651461072c57610250565b8063715018a6146105e25780637cb64759146105f95780637e44755b14610622578063853828b61461064d5780638da5cb5b1461066457610250565b80632eb4a7ab116101d257806342842e0e1161019657806342842e0e146104cd578063453c2310146104e957806355f804b3146105145780636352211e1461053d5780636c0360eb1461057a57806370a08231146105a557610250565b80632eb4a7ab1461041b5780632f8145751461044657806335001a1a1461045d5780633671f8cf1461048657806341f43434146104a257610250565b8063081812fc11610219578063081812fc1461033e578063095ea7b31461037b5780631015805b1461039757806318160ddd146103d457806323b872dd146103ff57610250565b80620e7fa81461025557806301ffc9a71461028057806303cf8a20146102bd57806304549d6f146102e857806306fdde0314610313575b600080fd5b34801561026157600080fd5b5061026a61093b565b6040516102779190612f0d565b60405180910390f35b34801561028c57600080fd5b506102a760048036038101906102a29190612f94565b610941565b6040516102b49190612fdc565b60405180910390f35b3480156102c957600080fd5b506102d26109d3565b6040516102df9190613038565b60405180910390f35b3480156102f457600080fd5b506102fd6109eb565b60405161030a9190612fdc565b60405180910390f35b34801561031f57600080fd5b506103286109fe565b60405161033591906130e3565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190613131565b610a90565b6040516103729190613038565b60405180910390f35b6103956004803603810190610390919061318a565b610b0f565b005b3480156103a357600080fd5b506103be60048036038101906103b991906131ca565b610c19565b6040516103cb9190612f0d565b60405180910390f35b3480156103e057600080fd5b506103e9610c62565b6040516103f69190612f0d565b60405180910390f35b610419600480360381019061041491906131f7565b610c79565b005b34801561042757600080fd5b50610430610dc9565b60405161043d9190613263565b60405180910390f35b34801561045257600080fd5b5061045b610dcf565b005b34801561046957600080fd5b50610484600480360381019061047f919061318a565b610e03565b005b6104a0600480360381019061049b91906132e3565b610e70565b005b3480156104ae57600080fd5b506104b7611165565b6040516104c491906133a2565b60405180910390f35b6104e760048036038101906104e291906131f7565b611177565b005b3480156104f557600080fd5b506104fe6112c7565b60405161050b9190612f0d565b60405180910390f35b34801561052057600080fd5b5061053b600480360381019061053691906134ed565b6112cd565b005b34801561054957600080fd5b50610564600480360381019061055f9190613131565b6112e8565b6040516105719190613038565b60405180910390f35b34801561058657600080fd5b5061058f6112fa565b60405161059c91906130e3565b60405180910390f35b3480156105b157600080fd5b506105cc60048036038101906105c791906131ca565b611388565b6040516105d99190612f0d565b60405180910390f35b3480156105ee57600080fd5b506105f7611440565b005b34801561060557600080fd5b50610620600480360381019061061b9190613562565b611454565b005b34801561062e57600080fd5b50610637611466565b6040516106449190613038565b60405180910390f35b34801561065957600080fd5b5061066261147e565b005b34801561067057600080fd5b50610679611573565b6040516106869190613038565b60405180910390f35b34801561069b57600080fd5b506106a461159d565b6040516106b191906130e3565b60405180910390f35b3480156106c657600080fd5b506106cf61162f565b6040516106dc9190612f0d565b60405180910390f35b3480156106f157600080fd5b506106fa611635565b6040516107079190613038565b60405180910390f35b61072a60048036038101906107259190613131565b61164d565b005b34801561073857600080fd5b50610753600480360381019061074e91906135bb565b61188d565b005b34801561076157600080fd5b5061076a611997565b6040516107779190612fdc565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190613131565b6119aa565b005b3480156107b557600080fd5b506107be6119bc565b6040516107cb9190612f0d565b60405180910390f35b6107ee60048036038101906107e9919061369c565b6119c2565b005b3480156107fc57600080fd5b50610817600480360381019061081291906131ca565b611b15565b6040516108249190612f0d565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f9190613131565b611b5e565b60405161086191906130e3565b60405180910390f35b34801561087657600080fd5b50610891600480360381019061088c9190613131565b611c05565b005b34801561089f57600080fd5b506108ba60048036038101906108b5919061371f565b611c17565b6040516108c79190612fdc565b60405180910390f35b3480156108dc57600080fd5b506108e5611cab565b005b3480156108f357600080fd5b5061090e600480360381019061090991906131ca565b611cdf565b005b34801561091c57600080fd5b50610925611d62565b6040516109329190612f0d565b60405180910390f35b600a5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099c57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109cc5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b73a8ebd0c99a8734ce3edca0bea70f1de3b808e11d81565b600d60019054906101000a900460ff1681565b606060028054610a0d9061378e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a399061378e565b8015610a865780601f10610a5b57610100808354040283529160200191610a86565b820191906000526020600020905b815481529060010190602001808311610a6957829003601f168201915b5050505050905090565b6000610a9b82611d68565b610ad1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610c0a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610b879291906137bf565b602060405180830381865afa158015610ba4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc891906137fd565b610c0957806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610c009190613038565b60405180910390fd5b5b610c148383611dc7565b505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610c6c611dd7565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610db7573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ceb57610ce6848484611de0565b610dc3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610d349291906137bf565b602060405180830381865afa158015610d51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7591906137fd565b610db657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610dad9190613038565b60405180910390fd5b5b610dc2848484611de0565b5b50505050565b60115481565b610dd7612102565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610e0b612102565b61138881610e17610c62565b610e219190613859565b1115610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e59906138d9565b60405180910390fd5b610e6c8282612180565b5050565b600d60019054906101000a900460ff16610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690613945565b60405180910390fd5b610f33828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060115433604051602001610f1891906139ad565b6040516020818303038152906040528051906020012061219e565b610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6990613a14565b60405180910390fd5b61138883610f7e610c62565b610f889190613859565b1115610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090613a80565b60405180910390fd5b6000831161100c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100390613b12565b60405180910390fd5b600b5483600f600061101c6121b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110619190613859565b11156110a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109990613b7e565b60405180910390fd5b3483600a546110b19190613b9e565b11156110f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e990613c2c565b60405180910390fd5b82600f60006110ff6121b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111489190613859565b9250508190555061116061115a6121b5565b84612180565b505050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156112b5573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111e9576111e48484846121bd565b6112c1565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112329291906137bf565b602060405180830381865afa15801561124f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127391906137fd565b6112b457336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016112ab9190613038565b60405180910390fd5b5b6112c08484846121bd565b5b50505050565b600c5481565b6112d5612102565b80601090816112e49190613dee565b5050565b60006112f3826121dd565b9050919050565b601080546113079061378e565b80601f01602080910402602001604051908101604052809291908181526020018280546113339061378e565b80156113805780601f1061135557610100808354040283529160200191611380565b820191906000526020600020905b81548152906001019060200180831161136357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113ef576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611448612102565b61145260006122d5565b565b61145c612102565b8060118190555050565b736bd2c84ad25148988b5087e5dfc55ba022d963e881565b611486612102565b6000479050600081116114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c590613f0c565b60405180910390fd5b611504736bd2c84ad25148988b5087e5dfc55ba022d963e860646022846114f59190613b9e565b6114ff9190613f5b565b61239b565b61153a73a8ebd0c99a8734ce3edca0bea70f1de3b808e11d606460218461152b9190613b9e565b6115359190613f5b565b61239b565b611570731631592f0f1f835daa7515d9488ab3d8652d4ab360646021846115619190613b9e565b61156b9190613f5b565b61239b565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115ac9061378e565b80601f01602080910402602001604051908101604052809291908181526020018280546115d89061378e565b80156116255780601f106115fa57610100808354040283529160200191611625565b820191906000526020600020905b81548152906001019060200180831161160857829003601f168201915b5050505050905090565b60095481565b731631592f0f1f835daa7515d9488ab3d8652d4ab381565b600d60009054906101000a900460ff1661169c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169390613945565b60405180910390fd5b611388816116a8610c62565b6116b29190613859565b11156116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea90613a80565b60405180910390fd5b60008111611736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172d90613b12565b60405180910390fd5b600c5481600e60006117466121b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461178b9190613859565b11156117cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c390613fd8565b60405180910390fd5b34816009546117db9190613b9e565b111561181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613c2c565b60405180910390fd5b80600e60006118296121b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118729190613859565b9250508190555061188a6118846121b5565b82612180565b50565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611988576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016119059291906137bf565b602060405180830381865afa158015611922573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194691906137fd565b61198757806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161197e9190613038565b60405180910390fd5b5b611992838361244c565b505050565b600d60009054906101000a900460ff1681565b6119b2612102565b80600b8190555050565b600b5481565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611b01573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a3557611a3085858585612557565b611b0e565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611a7e9291906137bf565b602060405180830381865afa158015611a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abf91906137fd565b611b0057336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611af79190613038565b60405180910390fd5b5b611b0d85858585612557565b5b5050505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060611b6982611d68565b611ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9f9061406a565b60405180910390fd5b6000611bb26125ca565b90506000815111611bd25760405180602001604052806000815250611bfd565b80611bdc8461265c565b604051602001611bed929190614112565b6040516020818303038152906040525b915050919050565b611c0d612102565b80600c8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cb3612102565b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b611ce7612102565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d906141b3565b60405180910390fd5b611d5f816122d5565b50565b61138881565b600081611d73611dd7565b11158015611d82575060005482105b8015611dc0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b611dd38282600161272a565b5050565b60006001905090565b6000611deb826121dd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e52576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611e5e84612876565b91509150611e748187611e6f61289d565b6128a5565b611ec057611e8986611e8461289d565b611c17565b611ebf576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611f26576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f3386868660016128e9565b8015611f3e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061200c85611fe88888876128ef565b7c020000000000000000000000000000000000000000000000000000000017612917565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603612092576000600185019050600060046000838152602001908152602001600020540361209057600054811461208f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120fa8686866001612942565b505050505050565b61210a6121b5565b73ffffffffffffffffffffffffffffffffffffffff16612128611573565b73ffffffffffffffffffffffffffffffffffffffff161461217e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121759061421f565b60405180910390fd5b565b61219a828260405180602001604052806000815250612948565b5050565b6000826121ab85846129e5565b1490509392505050565b600033905090565b6121d8838383604051806020016040528060008152506119c2565b505050565b6000816121e8611dd7565b1161229e576004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361229d576000810361229857600054821061226d576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b6004600083600190039350838152602001908152602001600020549050600081036122d05761226e565b6122d0565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123c190614270565b60006040518083038185875af1925050503d80600081146123fe576040519150601f19603f3d011682016040523d82523d6000602084013e612403565b606091505b5050905080612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e906142d1565b60405180910390fd5b505050565b806007600061245961289d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661250661289d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161254b9190612fdc565b60405180910390a35050565b612562848484610c79565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125c45761258d84848484612a3b565b6125c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060601080546125d99061378e565b80601f01602080910402602001604051908101604052809291908181526020018280546126059061378e565b80156126525780601f1061262757610100808354040283529160200191612652565b820191906000526020600020905b81548152906001019060200180831161263557829003601f168201915b5050505050905090565b60606000600161266b84612b8b565b01905060008167ffffffffffffffff81111561268a576126896133c2565b5b6040519080825280601f01601f1916602001820160405280156126bc5781602001600182028036833780820191505090505b509050600082602001820190505b60011561271f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161271357612712613f2c565b5b049450600085036126ca575b819350505050919050565b6000612735836112e8565b905081156127c0578073ffffffffffffffffffffffffffffffffffffffff1661275c61289d565b73ffffffffffffffffffffffffffffffffffffffff16146127bf576127888161278361289d565b611c17565b6127be576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612906868684612cde565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6129528383612ce7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129e057600080549050600083820390505b6129926000868380600101945086612a3b565b6129c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061297f5781600054146129dd57600080fd5b50505b505050565b60008082905060005b8451811015612a3057612a1b82868381518110612a0e57612a0d6142f1565b5b6020026020010151612ea2565b91508080612a2890614320565b9150506129ee565b508091505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a6161289d565b8786866040518563ffffffff1660e01b8152600401612a8394939291906143bd565b6020604051808303816000875af1925050508015612abf57506040513d601f19601f82011682018060405250810190612abc919061441e565b60015b612b38573d8060008114612aef576040519150601f19603f3d011682016040523d82523d6000602084013e612af4565b606091505b506000815103612b30576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612be9577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612bdf57612bde613f2c565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612c26576d04ee2d6d415b85acef81000000008381612c1c57612c1b613f2c565b5b0492506020810190505b662386f26fc100008310612c5557662386f26fc100008381612c4b57612c4a613f2c565b5b0492506010810190505b6305f5e1008310612c7e576305f5e1008381612c7457612c73613f2c565b5b0492506008810190505b6127108310612ca3576127108381612c9957612c98613f2c565b5b0492506004810190505b60648310612cc65760648381612cbc57612cbb613f2c565b5b0492506002810190505b600a8310612cd5576001810190505b80915050919050565b60009392505050565b60008054905060008203612d27576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d3460008483856128e9565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612dab83612d9c60008660006128ef565b612da585612ecd565b17612917565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612e4c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612e11565b5060008203612e87576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612e9d6000848385612942565b505050565b6000818310612eba57612eb58284612edd565b612ec5565b612ec48383612edd565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6000819050919050565b612f0781612ef4565b82525050565b6000602082019050612f226000830184612efe565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f7181612f3c565b8114612f7c57600080fd5b50565b600081359050612f8e81612f68565b92915050565b600060208284031215612faa57612fa9612f32565b5b6000612fb884828501612f7f565b91505092915050565b60008115159050919050565b612fd681612fc1565b82525050565b6000602082019050612ff16000830184612fcd565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061302282612ff7565b9050919050565b61303281613017565b82525050565b600060208201905061304d6000830184613029565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561308d578082015181840152602081019050613072565b60008484015250505050565b6000601f19601f8301169050919050565b60006130b582613053565b6130bf818561305e565b93506130cf81856020860161306f565b6130d881613099565b840191505092915050565b600060208201905081810360008301526130fd81846130aa565b905092915050565b61310e81612ef4565b811461311957600080fd5b50565b60008135905061312b81613105565b92915050565b60006020828403121561314757613146612f32565b5b60006131558482850161311c565b91505092915050565b61316781613017565b811461317257600080fd5b50565b6000813590506131848161315e565b92915050565b600080604083850312156131a1576131a0612f32565b5b60006131af85828601613175565b92505060206131c08582860161311c565b9150509250929050565b6000602082840312156131e0576131df612f32565b5b60006131ee84828501613175565b91505092915050565b6000806000606084860312156132105761320f612f32565b5b600061321e86828701613175565b935050602061322f86828701613175565b92505060406132408682870161311c565b9150509250925092565b6000819050919050565b61325d8161324a565b82525050565b60006020820190506132786000830184613254565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126132a3576132a261327e565b5b8235905067ffffffffffffffff8111156132c0576132bf613283565b5b6020830191508360208202830111156132dc576132db613288565b5b9250929050565b6000806000604084860312156132fc576132fb612f32565b5b600061330a8682870161311c565b935050602084013567ffffffffffffffff81111561332b5761332a612f37565b5b6133378682870161328d565b92509250509250925092565b6000819050919050565b600061336861336361335e84612ff7565b613343565b612ff7565b9050919050565b600061337a8261334d565b9050919050565b600061338c8261336f565b9050919050565b61339c81613381565b82525050565b60006020820190506133b76000830184613393565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133fa82613099565b810181811067ffffffffffffffff82111715613419576134186133c2565b5b80604052505050565b600061342c612f28565b905061343882826133f1565b919050565b600067ffffffffffffffff821115613458576134576133c2565b5b61346182613099565b9050602081019050919050565b82818337600083830152505050565b600061349061348b8461343d565b613422565b9050828152602081018484840111156134ac576134ab6133bd565b5b6134b784828561346e565b509392505050565b600082601f8301126134d4576134d361327e565b5b81356134e484826020860161347d565b91505092915050565b60006020828403121561350357613502612f32565b5b600082013567ffffffffffffffff81111561352157613520612f37565b5b61352d848285016134bf565b91505092915050565b61353f8161324a565b811461354a57600080fd5b50565b60008135905061355c81613536565b92915050565b60006020828403121561357857613577612f32565b5b60006135868482850161354d565b91505092915050565b61359881612fc1565b81146135a357600080fd5b50565b6000813590506135b58161358f565b92915050565b600080604083850312156135d2576135d1612f32565b5b60006135e085828601613175565b92505060206135f1858286016135a6565b9150509250929050565b600067ffffffffffffffff821115613616576136156133c2565b5b61361f82613099565b9050602081019050919050565b600061363f61363a846135fb565b613422565b90508281526020810184848401111561365b5761365a6133bd565b5b61366684828561346e565b509392505050565b600082601f8301126136835761368261327e565b5b813561369384826020860161362c565b91505092915050565b600080600080608085870312156136b6576136b5612f32565b5b60006136c487828801613175565b94505060206136d587828801613175565b93505060406136e68782880161311c565b925050606085013567ffffffffffffffff81111561370757613706612f37565b5b6137138782880161366e565b91505092959194509250565b6000806040838503121561373657613735612f32565b5b600061374485828601613175565b925050602061375585828601613175565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137a657607f821691505b6020821081036137b9576137b861375f565b5b50919050565b60006040820190506137d46000830185613029565b6137e16020830184613029565b9392505050565b6000815190506137f78161358f565b92915050565b60006020828403121561381357613812612f32565b5b6000613821848285016137e8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061386482612ef4565b915061386f83612ef4565b92508282019050808211156138875761388661382a565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006138c360148361305e565b91506138ce8261388d565b602082019050919050565b600060208201905081810360008301526138f2816138b6565b9050919050565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b600061392f60148361305e565b915061393a826138f9565b602082019050919050565b6000602082019050818103600083015261395e81613922565b9050919050565b60008160601b9050919050565b600061397d82613965565b9050919050565b600061398f82613972565b9050919050565b6139a76139a282613017565b613984565b82525050565b60006139b98284613996565b60148201915081905092915050565b7f4e6f74206f6e2074686520616c6c6f776c697374000000000000000000000000600082015250565b60006139fe60148361305e565b9150613a09826139c8565b602082019050919050565b60006020820190508181036000830152613a2d816139f1565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000613a6a601f8361305e565b9150613a7582613a34565b602082019050919050565b60006020820190508181036000830152613a9981613a5d565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520537072696e6766696560008201527f6c64204170650000000000000000000000000000000000000000000000000000602082015250565b6000613afc60268361305e565b9150613b0782613aa0565b604082019050919050565b60006020820190508181036000830152613b2b81613aef565b9050919050565b7f414c206c696d697420666f7220746869732077616c6c65742072656163686564600082015250565b6000613b6860208361305e565b9150613b7382613b32565b602082019050919050565b60006020820190508181036000830152613b9781613b5b565b9050919050565b6000613ba982612ef4565b9150613bb483612ef4565b9250828202613bc281612ef4565b91508282048414831517613bd957613bd861382a565b5b5092915050565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b6000613c16600e8361305e565b9150613c2182613be0565b602082019050919050565b60006020820190508181036000830152613c4581613c09565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613cae7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613c71565b613cb88683613c71565b95508019841693508086168417925050509392505050565b6000613ceb613ce6613ce184612ef4565b613343565b612ef4565b9050919050565b6000819050919050565b613d0583613cd0565b613d19613d1182613cf2565b848454613c7e565b825550505050565b600090565b613d2e613d21565b613d39818484613cfc565b505050565b5b81811015613d5d57613d52600082613d26565b600181019050613d3f565b5050565b601f821115613da257613d7381613c4c565b613d7c84613c61565b81016020851015613d8b578190505b613d9f613d9785613c61565b830182613d3e565b50505b505050565b600082821c905092915050565b6000613dc560001984600802613da7565b1980831691505092915050565b6000613dde8383613db4565b9150826002028217905092915050565b613df782613053565b67ffffffffffffffff811115613e1057613e0f6133c2565b5b613e1a825461378e565b613e25828285613d61565b600060209050601f831160018114613e585760008415613e46578287015190505b613e508582613dd2565b865550613eb8565b601f198416613e6686613c4c565b60005b82811015613e8e57848901518255600182019150602085019450602081019050613e69565b86831015613eab5784890151613ea7601f891682613db4565b8355505b6001600288020188555050505b505050505050565b7f496e737566666963656e742062616c616e636500000000000000000000000000600082015250565b6000613ef660138361305e565b9150613f0182613ec0565b602082019050919050565b60006020820190508181036000830152613f2581613ee9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f6682612ef4565b9150613f7183612ef4565b925082613f8157613f80613f2c565b5b828204905092915050565b7f4c696d697420666f7220746869732077616c6c65742072656163686564000000600082015250565b6000613fc2601d8361305e565b9150613fcd82613f8c565b602082019050919050565b60006020820190508181036000830152613ff181613fb5565b9050919050565b7f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b600061405460218361305e565b915061405f82613ff8565b604082019050919050565b6000602082019050818103600083015261408381614047565b9050919050565b600081905092915050565b60006140a082613053565b6140aa818561408a565b93506140ba81856020860161306f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006140fc60058361408a565b9150614107826140c6565b600582019050919050565b600061411e8285614095565b915061412a8284614095565b9150614135826140ef565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061419d60268361305e565b91506141a882614141565b604082019050919050565b600060208201905081810360008301526141cc81614190565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061420960208361305e565b9150614214826141d3565b602082019050919050565b60006020820190508181036000830152614238816141fc565b9050919050565b600081905092915050565b50565b600061425a60008361423f565b91506142658261424a565b600082019050919050565b600061427b8261424d565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b60006142bb60188361305e565b91506142c682614285565b602082019050919050565b600060208201905081810360008301526142ea816142ae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061432b82612ef4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361435d5761435c61382a565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b600061438f82614368565b6143998185614373565b93506143a981856020860161306f565b6143b281613099565b840191505092915050565b60006080820190506143d26000830187613029565b6143df6020830186613029565b6143ec6040830185612efe565b81810360608301526143fe8184614384565b905095945050505050565b60008151905061441881612f68565b92915050565b60006020828403121561443457614433612f32565b5b600061444284828501614409565b9150509291505056fea2646970667358221220343a83faf4245ae8e51b6413f34edbf24a3d8ede59c1370a2700459c585220e364736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102505760003560e01c8063715018a611610139578063a2e91477116100b6578063c87b56dd1161007a578063c87b56dd1461082d578063e268e4d31461086a578063e985e9c514610893578063ed1fc2a2146108d0578063f2fde38b146108e7578063f47c84c51461091057610250565b8063a2e9147714610755578063a62b4ca714610780578063abc70ce8146107a9578063b88d4fde146107d4578063bc660cac146107f057610250565b806395d89b41116100fd57806395d89b411461068f578063a035b1fe146106ba578063a044c987146106e5578063a0712d6814610710578063a22cb4651461072c57610250565b8063715018a6146105e25780637cb64759146105f95780637e44755b14610622578063853828b61461064d5780638da5cb5b1461066457610250565b80632eb4a7ab116101d257806342842e0e1161019657806342842e0e146104cd578063453c2310146104e957806355f804b3146105145780636352211e1461053d5780636c0360eb1461057a57806370a08231146105a557610250565b80632eb4a7ab1461041b5780632f8145751461044657806335001a1a1461045d5780633671f8cf1461048657806341f43434146104a257610250565b8063081812fc11610219578063081812fc1461033e578063095ea7b31461037b5780631015805b1461039757806318160ddd146103d457806323b872dd146103ff57610250565b80620e7fa81461025557806301ffc9a71461028057806303cf8a20146102bd57806304549d6f146102e857806306fdde0314610313575b600080fd5b34801561026157600080fd5b5061026a61093b565b6040516102779190612f0d565b60405180910390f35b34801561028c57600080fd5b506102a760048036038101906102a29190612f94565b610941565b6040516102b49190612fdc565b60405180910390f35b3480156102c957600080fd5b506102d26109d3565b6040516102df9190613038565b60405180910390f35b3480156102f457600080fd5b506102fd6109eb565b60405161030a9190612fdc565b60405180910390f35b34801561031f57600080fd5b506103286109fe565b60405161033591906130e3565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190613131565b610a90565b6040516103729190613038565b60405180910390f35b6103956004803603810190610390919061318a565b610b0f565b005b3480156103a357600080fd5b506103be60048036038101906103b991906131ca565b610c19565b6040516103cb9190612f0d565b60405180910390f35b3480156103e057600080fd5b506103e9610c62565b6040516103f69190612f0d565b60405180910390f35b610419600480360381019061041491906131f7565b610c79565b005b34801561042757600080fd5b50610430610dc9565b60405161043d9190613263565b60405180910390f35b34801561045257600080fd5b5061045b610dcf565b005b34801561046957600080fd5b50610484600480360381019061047f919061318a565b610e03565b005b6104a0600480360381019061049b91906132e3565b610e70565b005b3480156104ae57600080fd5b506104b7611165565b6040516104c491906133a2565b60405180910390f35b6104e760048036038101906104e291906131f7565b611177565b005b3480156104f557600080fd5b506104fe6112c7565b60405161050b9190612f0d565b60405180910390f35b34801561052057600080fd5b5061053b600480360381019061053691906134ed565b6112cd565b005b34801561054957600080fd5b50610564600480360381019061055f9190613131565b6112e8565b6040516105719190613038565b60405180910390f35b34801561058657600080fd5b5061058f6112fa565b60405161059c91906130e3565b60405180910390f35b3480156105b157600080fd5b506105cc60048036038101906105c791906131ca565b611388565b6040516105d99190612f0d565b60405180910390f35b3480156105ee57600080fd5b506105f7611440565b005b34801561060557600080fd5b50610620600480360381019061061b9190613562565b611454565b005b34801561062e57600080fd5b50610637611466565b6040516106449190613038565b60405180910390f35b34801561065957600080fd5b5061066261147e565b005b34801561067057600080fd5b50610679611573565b6040516106869190613038565b60405180910390f35b34801561069b57600080fd5b506106a461159d565b6040516106b191906130e3565b60405180910390f35b3480156106c657600080fd5b506106cf61162f565b6040516106dc9190612f0d565b60405180910390f35b3480156106f157600080fd5b506106fa611635565b6040516107079190613038565b60405180910390f35b61072a60048036038101906107259190613131565b61164d565b005b34801561073857600080fd5b50610753600480360381019061074e91906135bb565b61188d565b005b34801561076157600080fd5b5061076a611997565b6040516107779190612fdc565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190613131565b6119aa565b005b3480156107b557600080fd5b506107be6119bc565b6040516107cb9190612f0d565b60405180910390f35b6107ee60048036038101906107e9919061369c565b6119c2565b005b3480156107fc57600080fd5b50610817600480360381019061081291906131ca565b611b15565b6040516108249190612f0d565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f9190613131565b611b5e565b60405161086191906130e3565b60405180910390f35b34801561087657600080fd5b50610891600480360381019061088c9190613131565b611c05565b005b34801561089f57600080fd5b506108ba60048036038101906108b5919061371f565b611c17565b6040516108c79190612fdc565b60405180910390f35b3480156108dc57600080fd5b506108e5611cab565b005b3480156108f357600080fd5b5061090e600480360381019061090991906131ca565b611cdf565b005b34801561091c57600080fd5b50610925611d62565b6040516109329190612f0d565b60405180910390f35b600a5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099c57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109cc5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b73a8ebd0c99a8734ce3edca0bea70f1de3b808e11d81565b600d60019054906101000a900460ff1681565b606060028054610a0d9061378e565b80601f0160208091040260200160405190810160405280929190818152602001828054610a399061378e565b8015610a865780601f10610a5b57610100808354040283529160200191610a86565b820191906000526020600020905b815481529060010190602001808311610a6957829003601f168201915b5050505050905090565b6000610a9b82611d68565b610ad1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610c0a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610b879291906137bf565b602060405180830381865afa158015610ba4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc891906137fd565b610c0957806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610c009190613038565b60405180910390fd5b5b610c148383611dc7565b505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000610c6c611dd7565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610db7573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ceb57610ce6848484611de0565b610dc3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610d349291906137bf565b602060405180830381865afa158015610d51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7591906137fd565b610db657336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610dad9190613038565b60405180910390fd5b5b610dc2848484611de0565b5b50505050565b60115481565b610dd7612102565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b610e0b612102565b61138881610e17610c62565b610e219190613859565b1115610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e59906138d9565b60405180910390fd5b610e6c8282612180565b5050565b600d60019054906101000a900460ff16610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690613945565b60405180910390fd5b610f33828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060115433604051602001610f1891906139ad565b6040516020818303038152906040528051906020012061219e565b610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6990613a14565b60405180910390fd5b61138883610f7e610c62565b610f889190613859565b1115610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090613a80565b60405180910390fd5b6000831161100c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100390613b12565b60405180910390fd5b600b5483600f600061101c6121b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110619190613859565b11156110a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109990613b7e565b60405180910390fd5b3483600a546110b19190613b9e565b11156110f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e990613c2c565b60405180910390fd5b82600f60006110ff6121b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111489190613859565b9250508190555061116061115a6121b5565b84612180565b505050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156112b5573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111e9576111e48484846121bd565b6112c1565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112329291906137bf565b602060405180830381865afa15801561124f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127391906137fd565b6112b457336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016112ab9190613038565b60405180910390fd5b5b6112c08484846121bd565b5b50505050565b600c5481565b6112d5612102565b80601090816112e49190613dee565b5050565b60006112f3826121dd565b9050919050565b601080546113079061378e565b80601f01602080910402602001604051908101604052809291908181526020018280546113339061378e565b80156113805780601f1061135557610100808354040283529160200191611380565b820191906000526020600020905b81548152906001019060200180831161136357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113ef576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611448612102565b61145260006122d5565b565b61145c612102565b8060118190555050565b736bd2c84ad25148988b5087e5dfc55ba022d963e881565b611486612102565b6000479050600081116114ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c590613f0c565b60405180910390fd5b611504736bd2c84ad25148988b5087e5dfc55ba022d963e860646022846114f59190613b9e565b6114ff9190613f5b565b61239b565b61153a73a8ebd0c99a8734ce3edca0bea70f1de3b808e11d606460218461152b9190613b9e565b6115359190613f5b565b61239b565b611570731631592f0f1f835daa7515d9488ab3d8652d4ab360646021846115619190613b9e565b61156b9190613f5b565b61239b565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115ac9061378e565b80601f01602080910402602001604051908101604052809291908181526020018280546115d89061378e565b80156116255780601f106115fa57610100808354040283529160200191611625565b820191906000526020600020905b81548152906001019060200180831161160857829003601f168201915b5050505050905090565b60095481565b731631592f0f1f835daa7515d9488ab3d8652d4ab381565b600d60009054906101000a900460ff1661169c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169390613945565b60405180910390fd5b611388816116a8610c62565b6116b29190613859565b11156116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea90613a80565b60405180910390fd5b60008111611736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172d90613b12565b60405180910390fd5b600c5481600e60006117466121b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461178b9190613859565b11156117cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c390613fd8565b60405180910390fd5b34816009546117db9190613b9e565b111561181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613c2c565b60405180910390fd5b80600e60006118296121b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118729190613859565b9250508190555061188a6118846121b5565b82612180565b50565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611988576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016119059291906137bf565b602060405180830381865afa158015611922573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194691906137fd565b61198757806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161197e9190613038565b60405180910390fd5b5b611992838361244c565b505050565b600d60009054906101000a900460ff1681565b6119b2612102565b80600b8190555050565b600b5481565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611b01573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a3557611a3085858585612557565b611b0e565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611a7e9291906137bf565b602060405180830381865afa158015611a9b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abf91906137fd565b611b0057336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611af79190613038565b60405180910390fd5b5b611b0d85858585612557565b5b5050505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060611b6982611d68565b611ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9f9061406a565b60405180910390fd5b6000611bb26125ca565b90506000815111611bd25760405180602001604052806000815250611bfd565b80611bdc8461265c565b604051602001611bed929190614112565b6040516020818303038152906040525b915050919050565b611c0d612102565b80600c8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cb3612102565b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b611ce7612102565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d906141b3565b60405180910390fd5b611d5f816122d5565b50565b61138881565b600081611d73611dd7565b11158015611d82575060005482105b8015611dc0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b611dd38282600161272a565b5050565b60006001905090565b6000611deb826121dd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e52576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611e5e84612876565b91509150611e748187611e6f61289d565b6128a5565b611ec057611e8986611e8461289d565b611c17565b611ebf576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611f26576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f3386868660016128e9565b8015611f3e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061200c85611fe88888876128ef565b7c020000000000000000000000000000000000000000000000000000000017612917565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603612092576000600185019050600060046000838152602001908152602001600020540361209057600054811461208f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120fa8686866001612942565b505050505050565b61210a6121b5565b73ffffffffffffffffffffffffffffffffffffffff16612128611573565b73ffffffffffffffffffffffffffffffffffffffff161461217e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121759061421f565b60405180910390fd5b565b61219a828260405180602001604052806000815250612948565b5050565b6000826121ab85846129e5565b1490509392505050565b600033905090565b6121d8838383604051806020016040528060008152506119c2565b505050565b6000816121e8611dd7565b1161229e576004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361229d576000810361229857600054821061226d576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b6004600083600190039350838152602001908152602001600020549050600081036122d05761226e565b6122d0565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123c190614270565b60006040518083038185875af1925050503d80600081146123fe576040519150601f19603f3d011682016040523d82523d6000602084013e612403565b606091505b5050905080612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e906142d1565b60405180910390fd5b505050565b806007600061245961289d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661250661289d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161254b9190612fdc565b60405180910390a35050565b612562848484610c79565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125c45761258d84848484612a3b565b6125c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060601080546125d99061378e565b80601f01602080910402602001604051908101604052809291908181526020018280546126059061378e565b80156126525780601f1061262757610100808354040283529160200191612652565b820191906000526020600020905b81548152906001019060200180831161263557829003601f168201915b5050505050905090565b60606000600161266b84612b8b565b01905060008167ffffffffffffffff81111561268a576126896133c2565b5b6040519080825280601f01601f1916602001820160405280156126bc5781602001600182028036833780820191505090505b509050600082602001820190505b60011561271f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161271357612712613f2c565b5b049450600085036126ca575b819350505050919050565b6000612735836112e8565b905081156127c0578073ffffffffffffffffffffffffffffffffffffffff1661275c61289d565b73ffffffffffffffffffffffffffffffffffffffff16146127bf576127888161278361289d565b611c17565b6127be576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612906868684612cde565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6129528383612ce7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129e057600080549050600083820390505b6129926000868380600101945086612a3b565b6129c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061297f5781600054146129dd57600080fd5b50505b505050565b60008082905060005b8451811015612a3057612a1b82868381518110612a0e57612a0d6142f1565b5b6020026020010151612ea2565b91508080612a2890614320565b9150506129ee565b508091505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a6161289d565b8786866040518563ffffffff1660e01b8152600401612a8394939291906143bd565b6020604051808303816000875af1925050508015612abf57506040513d601f19601f82011682018060405250810190612abc919061441e565b60015b612b38573d8060008114612aef576040519150601f19603f3d011682016040523d82523d6000602084013e612af4565b606091505b506000815103612b30576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612be9577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612bdf57612bde613f2c565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612c26576d04ee2d6d415b85acef81000000008381612c1c57612c1b613f2c565b5b0492506020810190505b662386f26fc100008310612c5557662386f26fc100008381612c4b57612c4a613f2c565b5b0492506010810190505b6305f5e1008310612c7e576305f5e1008381612c7457612c73613f2c565b5b0492506008810190505b6127108310612ca3576127108381612c9957612c98613f2c565b5b0492506004810190505b60648310612cc65760648381612cbc57612cbb613f2c565b5b0492506002810190505b600a8310612cd5576001810190505b80915050919050565b60009392505050565b60008054905060008203612d27576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d3460008483856128e9565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612dab83612d9c60008660006128ef565b612da585612ecd565b17612917565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612e4c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612e11565b5060008203612e87576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612e9d6000848385612942565b505050565b6000818310612eba57612eb58284612edd565b612ec5565b612ec48383612edd565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6000819050919050565b612f0781612ef4565b82525050565b6000602082019050612f226000830184612efe565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f7181612f3c565b8114612f7c57600080fd5b50565b600081359050612f8e81612f68565b92915050565b600060208284031215612faa57612fa9612f32565b5b6000612fb884828501612f7f565b91505092915050565b60008115159050919050565b612fd681612fc1565b82525050565b6000602082019050612ff16000830184612fcd565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061302282612ff7565b9050919050565b61303281613017565b82525050565b600060208201905061304d6000830184613029565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561308d578082015181840152602081019050613072565b60008484015250505050565b6000601f19601f8301169050919050565b60006130b582613053565b6130bf818561305e565b93506130cf81856020860161306f565b6130d881613099565b840191505092915050565b600060208201905081810360008301526130fd81846130aa565b905092915050565b61310e81612ef4565b811461311957600080fd5b50565b60008135905061312b81613105565b92915050565b60006020828403121561314757613146612f32565b5b60006131558482850161311c565b91505092915050565b61316781613017565b811461317257600080fd5b50565b6000813590506131848161315e565b92915050565b600080604083850312156131a1576131a0612f32565b5b60006131af85828601613175565b92505060206131c08582860161311c565b9150509250929050565b6000602082840312156131e0576131df612f32565b5b60006131ee84828501613175565b91505092915050565b6000806000606084860312156132105761320f612f32565b5b600061321e86828701613175565b935050602061322f86828701613175565b92505060406132408682870161311c565b9150509250925092565b6000819050919050565b61325d8161324a565b82525050565b60006020820190506132786000830184613254565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126132a3576132a261327e565b5b8235905067ffffffffffffffff8111156132c0576132bf613283565b5b6020830191508360208202830111156132dc576132db613288565b5b9250929050565b6000806000604084860312156132fc576132fb612f32565b5b600061330a8682870161311c565b935050602084013567ffffffffffffffff81111561332b5761332a612f37565b5b6133378682870161328d565b92509250509250925092565b6000819050919050565b600061336861336361335e84612ff7565b613343565b612ff7565b9050919050565b600061337a8261334d565b9050919050565b600061338c8261336f565b9050919050565b61339c81613381565b82525050565b60006020820190506133b76000830184613393565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133fa82613099565b810181811067ffffffffffffffff82111715613419576134186133c2565b5b80604052505050565b600061342c612f28565b905061343882826133f1565b919050565b600067ffffffffffffffff821115613458576134576133c2565b5b61346182613099565b9050602081019050919050565b82818337600083830152505050565b600061349061348b8461343d565b613422565b9050828152602081018484840111156134ac576134ab6133bd565b5b6134b784828561346e565b509392505050565b600082601f8301126134d4576134d361327e565b5b81356134e484826020860161347d565b91505092915050565b60006020828403121561350357613502612f32565b5b600082013567ffffffffffffffff81111561352157613520612f37565b5b61352d848285016134bf565b91505092915050565b61353f8161324a565b811461354a57600080fd5b50565b60008135905061355c81613536565b92915050565b60006020828403121561357857613577612f32565b5b60006135868482850161354d565b91505092915050565b61359881612fc1565b81146135a357600080fd5b50565b6000813590506135b58161358f565b92915050565b600080604083850312156135d2576135d1612f32565b5b60006135e085828601613175565b92505060206135f1858286016135a6565b9150509250929050565b600067ffffffffffffffff821115613616576136156133c2565b5b61361f82613099565b9050602081019050919050565b600061363f61363a846135fb565b613422565b90508281526020810184848401111561365b5761365a6133bd565b5b61366684828561346e565b509392505050565b600082601f8301126136835761368261327e565b5b813561369384826020860161362c565b91505092915050565b600080600080608085870312156136b6576136b5612f32565b5b60006136c487828801613175565b94505060206136d587828801613175565b93505060406136e68782880161311c565b925050606085013567ffffffffffffffff81111561370757613706612f37565b5b6137138782880161366e565b91505092959194509250565b6000806040838503121561373657613735612f32565b5b600061374485828601613175565b925050602061375585828601613175565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137a657607f821691505b6020821081036137b9576137b861375f565b5b50919050565b60006040820190506137d46000830185613029565b6137e16020830184613029565b9392505050565b6000815190506137f78161358f565b92915050565b60006020828403121561381357613812612f32565b5b6000613821848285016137e8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061386482612ef4565b915061386f83612ef4565b92508282019050808211156138875761388661382a565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006138c360148361305e565b91506138ce8261388d565b602082019050919050565b600060208201905081810360008301526138f2816138b6565b9050919050565b7f53616c6520686173206e6f742073746172746564000000000000000000000000600082015250565b600061392f60148361305e565b915061393a826138f9565b602082019050919050565b6000602082019050818103600083015261395e81613922565b9050919050565b60008160601b9050919050565b600061397d82613965565b9050919050565b600061398f82613972565b9050919050565b6139a76139a282613017565b613984565b82525050565b60006139b98284613996565b60148201915081905092915050565b7f4e6f74206f6e2074686520616c6c6f776c697374000000000000000000000000600082015250565b60006139fe60148361305e565b9150613a09826139c8565b602082019050919050565b60006020820190508181036000830152613a2d816139f1565b9050919050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000613a6a601f8361305e565b9150613a7582613a34565b602082019050919050565b60006020820190508181036000830152613a9981613a5d565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520537072696e6766696560008201527f6c64204170650000000000000000000000000000000000000000000000000000602082015250565b6000613afc60268361305e565b9150613b0782613aa0565b604082019050919050565b60006020820190508181036000830152613b2b81613aef565b9050919050565b7f414c206c696d697420666f7220746869732077616c6c65742072656163686564600082015250565b6000613b6860208361305e565b9150613b7382613b32565b602082019050919050565b60006020820190508181036000830152613b9781613b5b565b9050919050565b6000613ba982612ef4565b9150613bb483612ef4565b9250828202613bc281612ef4565b91508282048414831517613bd957613bd861382a565b5b5092915050565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b6000613c16600e8361305e565b9150613c2182613be0565b602082019050919050565b60006020820190508181036000830152613c4581613c09565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613cae7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613c71565b613cb88683613c71565b95508019841693508086168417925050509392505050565b6000613ceb613ce6613ce184612ef4565b613343565b612ef4565b9050919050565b6000819050919050565b613d0583613cd0565b613d19613d1182613cf2565b848454613c7e565b825550505050565b600090565b613d2e613d21565b613d39818484613cfc565b505050565b5b81811015613d5d57613d52600082613d26565b600181019050613d3f565b5050565b601f821115613da257613d7381613c4c565b613d7c84613c61565b81016020851015613d8b578190505b613d9f613d9785613c61565b830182613d3e565b50505b505050565b600082821c905092915050565b6000613dc560001984600802613da7565b1980831691505092915050565b6000613dde8383613db4565b9150826002028217905092915050565b613df782613053565b67ffffffffffffffff811115613e1057613e0f6133c2565b5b613e1a825461378e565b613e25828285613d61565b600060209050601f831160018114613e585760008415613e46578287015190505b613e508582613dd2565b865550613eb8565b601f198416613e6686613c4c565b60005b82811015613e8e57848901518255600182019150602085019450602081019050613e69565b86831015613eab5784890151613ea7601f891682613db4565b8355505b6001600288020188555050505b505050505050565b7f496e737566666963656e742062616c616e636500000000000000000000000000600082015250565b6000613ef660138361305e565b9150613f0182613ec0565b602082019050919050565b60006020820190508181036000830152613f2581613ee9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f6682612ef4565b9150613f7183612ef4565b925082613f8157613f80613f2c565b5b828204905092915050565b7f4c696d697420666f7220746869732077616c6c65742072656163686564000000600082015250565b6000613fc2601d8361305e565b9150613fcd82613f8c565b602082019050919050565b60006020820190508181036000830152613ff181613fb5565b9050919050565b7f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b600061405460218361305e565b915061405f82613ff8565b604082019050919050565b6000602082019050818103600083015261408381614047565b9050919050565b600081905092915050565b60006140a082613053565b6140aa818561408a565b93506140ba81856020860161306f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006140fc60058361408a565b9150614107826140c6565b600582019050919050565b600061411e8285614095565b915061412a8284614095565b9150614135826140ef565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061419d60268361305e565b91506141a882614141565b604082019050919050565b600060208201905081810360008301526141cc81614190565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061420960208361305e565b9150614214826141d3565b602082019050919050565b60006020820190508181036000830152614238816141fc565b9050919050565b600081905092915050565b50565b600061425a60008361423f565b91506142658261424a565b600082019050919050565b600061427b8261424d565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b60006142bb60188361305e565b91506142c682614285565b602082019050919050565b600060208201905081810360008301526142ea816142ae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061432b82612ef4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361435d5761435c61382a565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b600061438f82614368565b6143998185614373565b93506143a981856020860161306f565b6143b281613099565b840191505092915050565b60006080820190506143d26000830187613029565b6143df6020830186613029565b6143ec6040830185612efe565b81810360608301526143fe8184614384565b905095945050505050565b60008151905061441881612f68565b92915050565b60006020828403121561443457614433612f32565b5b600061444284828501614409565b9150509291505056fea2646970667358221220343a83faf4245ae8e51b6413f34edbf24a3d8ede59c1370a2700459c585220e364736f6c63430008110033
Deployed Bytecode Sourcemap
103321:5421:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103553:40;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;62484:639;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;103758:71;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;103960:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63386:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;69786:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107992:165;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;104374:112;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59137:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108165:171;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;104150:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104604:111;;;;;;;;;;;;;:::i;:::-;;105780:223;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;106011:721;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;38514:143;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108344:179;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;103640:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104987:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;64779:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104117:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;60321:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;34610:103;;;;;;;;;;;;;:::i;:::-;;105101:106;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;103680:71;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;107287:317;;;;;;;;;;;;;:::i;:::-;;33962:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;63562:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;103513:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;103836:71;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;106740:539;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;107808:176;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;103916:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104851:128;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;103600:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;108531:204;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;104251:115;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;105428:344;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104723:120;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;70735:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;104494:102;;;;;;;;;;;;;:::i;:::-;;34868:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;103465:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;103553:40;;;;:::o;62484:639::-;62569:4;62908:10;62893:25;;:11;:25;;;;:102;;;;62985:10;62970:25;;:11;:25;;;;62893:102;:179;;;;63062:10;63047:25;;:11;:25;;;;62893:179;62873:199;;62484:639;;;:::o;103758:71::-;103787:42;103758:71;:::o;103960:34::-;;;;;;;;;;;;;:::o;63386:100::-;63440:13;63473:5;63466:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63386:100;:::o;69786:218::-;69862:7;69887:16;69895:7;69887;:16::i;:::-;69882:64;;69912:34;;;;;;;;;;;;;;69882:64;69966:15;:24;69982:7;69966:24;;;;;;;;;;;:30;;;;;;;;;;;;69959:37;;69786:218;;;:::o;107992:165::-;108096:8;40556:1;38614:42;40508:45;;;:49;40504:225;;;38614:42;40579;;;40630:4;40637:8;40579:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40574:144;;40693:8;40674:28;;;;;;;;;;;:::i;:::-;;;;;;;;40574:144;40504:225;108117:32:::1;108131:8;108141:7;108117:13;:32::i;:::-;107992:165:::0;;;:::o;104374:112::-;104432:7;104459:12;:19;104472:5;104459:19;;;;;;;;;;;;;;;;104452:26;;104374:112;;;:::o;59137:323::-;59198:7;59426:15;:13;:15::i;:::-;59411:12;;59395:13;;:28;:46;59388:53;;59137:323;:::o;108165:171::-;108274:4;39810:1;38614:42;39762:45;;;:49;39758:539;;;40051:10;40043:18;;:4;:18;;;40039:85;;108291:37:::1;108310:4;108316:2;108320:7;108291:18;:37::i;:::-;40102:7:::0;;40039:85;38614:42;40143;;;40194:4;40201:10;40143:69;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40138:148;;40259:10;40240:30;;;;;;;;;;;:::i;:::-;;;;;;;;40138:148;39758:539;108291:37:::1;108310:4;108316:2;108320:7;108291:18;:37::i;:::-;108165:171:::0;;;;;:::o;104150:25::-;;;;:::o;104604:111::-;33848:13;:11;:13::i;:::-;104690:17:::1;;;;;;;;;;;104689:18;104669:17;;:38;;;;;;;;;;;;;;;;;;104604:111::o:0;105780:223::-;33848:13;:11;:13::i;:::-;103502:4:::1;105899:11;105883:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:41;;105875:74;;;;;;;;;;;;:::i;:::-;;;;;;;;;105960:35;105970:11;105983;105960:9;:35::i;:::-;105780:223:::0;;:::o;106011:721::-;106118:14;;;;;;;;;;;106110:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;106176:84;106195:11;;106176:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106208:10;;106247;106230:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;106220:39;;;;;;106176:18;:84::i;:::-;106168:117;;;;;;;;;;;;:::i;:::-;;;;;;;;;103502:4;106320:6;106304:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:36;;106296:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;106404:1;106395:6;:10;106387:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;106508:14;;106498:6;106467:14;:28;106482:12;:10;:12::i;:::-;106467:28;;;;;;;;;;;;;;;;:37;;;;:::i;:::-;:55;;106459:100;;;;;;;;;;;;:::i;:::-;;;;;;;;;106603:9;106593:6;106578:12;;:21;;;;:::i;:::-;:34;;106570:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;106676:6;106644:14;:28;106659:12;:10;:12::i;:::-;106644:28;;;;;;;;;;;;;;;;:38;;;;;;;:::i;:::-;;;;;;;;106693:31;106703:12;:10;:12::i;:::-;106717:6;106693:9;:31::i;:::-;106011:721;;;:::o;38514:143::-;38614:42;38514:143;:::o;108344:179::-;108457:4;39810:1;38614:42;39762:45;;;:49;39758:539;;;40051:10;40043:18;;:4;:18;;;40039:85;;108474:41:::1;108497:4;108503:2;108507:7;108474:22;:41::i;:::-;40102:7:::0;;40039:85;38614:42;40143;;;40194:4;40201:10;40143:69;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40138:148;;40259:10;40240:30;;;;;;;;;;;:::i;:::-;;;;;;;;40138:148;39758:539;108474:41:::1;108497:4;108503:2;108507:7;108474:22;:41::i;:::-;108344:179:::0;;;;;:::o;103640:31::-;;;;:::o;104987:106::-;33848:13;:11;:13::i;:::-;105074:11:::1;105064:7;:21;;;;;;:::i;:::-;;104987:106:::0;:::o;64779:152::-;64851:7;64894:27;64913:7;64894:18;:27::i;:::-;64871:52;;64779:152;;;:::o;104117:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60321:233::-;60393:7;60434:1;60417:19;;:5;:19;;;60413:60;;60445:28;;;;;;;;;;;;;;60413:60;54480:13;60491:18;:25;60510:5;60491:25;;;;;;;;;;;;;;;;:55;60484:62;;60321:233;;;:::o;34610:103::-;33848:13;:11;:13::i;:::-;34675:30:::1;34702:1;34675:18;:30::i;:::-;34610:103::o:0;105101:106::-;33848:13;:11;:13::i;:::-;105188:11:::1;105175:10;:24;;;;105101:106:::0;:::o;103680:71::-;103709:42;103680:71;:::o;107287:317::-;33848:13;:11;:13::i;:::-;107338:15:::1;107356:21;107338:39;;107406:1;107396:7;:11;107388:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;107442:37;103709:42;107474:3;107468:2;107458:7;:12;;;;:::i;:::-;107457:20;;;;:::i;:::-;107442:9;:37::i;:::-;107497;103787:42;107529:3;107523:2;107513:7;:12;;;;:::i;:::-;107512:20;;;;:::i;:::-;107497:9;:37::i;:::-;107552;103865:42;107584:3;107578:2;107568:7;:12;;;;:::i;:::-;107567:20;;;;:::i;:::-;107552:9;:37::i;:::-;107327:277;107287:317::o:0;33962:87::-;34008:7;34035:6;;;;;;;;;;;34028:13;;33962:87;:::o;63562:104::-;63618:13;63651:7;63644:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63562:104;:::o;103513:33::-;;;;:::o;103836:71::-;103865:42;103836:71;:::o;106740:539::-;106806:17;;;;;;;;;;;106798:50;;;;;;;;;;;;:::i;:::-;;;;;;;;;103502:4;106883:6;106867:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:36;;106859:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;106967:1;106958:6;:10;106950:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;107069:12;;107059:6;107030:12;:26;107043:12;:10;:12::i;:::-;107030:26;;;;;;;;;;;;;;;;:35;;;;:::i;:::-;:51;;107022:93;;;;;;;;;;;;:::i;:::-;;;;;;;;;107152:9;107142:6;107134:5;;:14;;;;:::i;:::-;:27;;107126:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;107223:6;107193:12;:26;107206:12;:10;:12::i;:::-;107193:26;;;;;;;;;;;;;;;;:36;;;;;;;:::i;:::-;;;;;;;;107240:31;107250:12;:10;:12::i;:::-;107264:6;107240:9;:31::i;:::-;106740:539;:::o;107808:176::-;107912:8;40556:1;38614:42;40508:45;;;:49;40504:225;;;38614:42;40579;;;40630:4;40637:8;40579:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40574:144;;40693:8;40674:28;;;;;;;;;;;:::i;:::-;;;;;;;;40574:144;40504:225;107933:43:::1;107957:8;107967;107933:23;:43::i;:::-;107808:176:::0;;;:::o;103916:37::-;;;;;;;;;;;;;:::o;104851:128::-;33848:13;:11;:13::i;:::-;104953:18:::1;104936:14;:35;;;;104851:128:::0;:::o;103600:33::-;;;;:::o;108531:204::-;108663:4;39810:1;38614:42;39762:45;;;:49;39758:539;;;40051:10;40043:18;;:4;:18;;;40039:85;;108680:47:::1;108703:4;108709:2;108713:7;108722:4;108680:22;:47::i;:::-;40102:7:::0;;40039:85;38614:42;40143;;;40194:4;40201:10;40143:69;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40138:148;;40259:10;40240:30;;;;;;;;;;;:::i;:::-;;;;;;;;40138:148;39758:539;108680:47:::1;108703:4;108709:2;108713:7;108722:4;108680:22;:47::i;:::-;108531:204:::0;;;;;;:::o;104251:115::-;104310:7;104337:14;:21;104352:5;104337:21;;;;;;;;;;;;;;;;104330:28;;104251:115;;;:::o;105428:344::-;105501:13;105535:16;105543:7;105535;:16::i;:::-;105527:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;105599:28;105630:10;:8;:10::i;:::-;105599:41;;105686:1;105661:14;105655:28;:32;:109;;;;;;;;;;;;;;;;;105714:14;105730:18;:7;:16;:18::i;:::-;105697:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;105655:109;105648:116;;;105428:344;;;:::o;104723:120::-;33848:13;:11;:13::i;:::-;104819:16:::1;104804:12;:31;;;;104723:120:::0;:::o;70735:164::-;70832:4;70856:18;:25;70875:5;70856:25;;;;;;;;;;;;;;;:35;70882:8;70856:35;;;;;;;;;;;;;;;;;;;;;;;;;70849:42;;70735:164;;;;:::o;104494:102::-;33848:13;:11;:13::i;:::-;104574:14:::1;;;;;;;;;;;104573:15;104556:14;;:32;;;;;;;;;;;;;;;;;;104494:102::o:0;34868:201::-;33848:13;:11;:13::i;:::-;34977:1:::1;34957:22;;:8;:22;;::::0;34949:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;35033:28;35052:8;35033:18;:28::i;:::-;34868:201:::0;:::o;103465:41::-;103502:4;103465:41;:::o;71157:282::-;71222:4;71278:7;71259:15;:13;:15::i;:::-;:26;;:66;;;;;71312:13;;71302:7;:23;71259:66;:153;;;;;71411:1;55256:8;71363:17;:26;71381:7;71363:26;;;;;;;;;;;;:44;:49;71259:153;71239:173;;71157:282;;;:::o;69503:124::-;69592:27;69601:2;69605:7;69614:4;69592:8;:27::i;:::-;69503:124;;:::o;105323:93::-;105380:7;105407:1;105400:8;;105323:93;:::o;73425:2825::-;73567:27;73597;73616:7;73597:18;:27::i;:::-;73567:57;;73682:4;73641:45;;73657:19;73641:45;;;73637:86;;73695:28;;;;;;;;;;;;;;73637:86;73737:27;73766:23;73793:35;73820:7;73793:26;:35::i;:::-;73736:92;;;;73928:68;73953:15;73970:4;73976:19;:17;:19::i;:::-;73928:24;:68::i;:::-;73923:180;;74016:43;74033:4;74039:19;:17;:19::i;:::-;74016:16;:43::i;:::-;74011:92;;74068:35;;;;;;;;;;;;;;74011:92;73923:180;74134:1;74120:16;;:2;:16;;;74116:52;;74145:23;;;;;;;;;;;;;;74116:52;74181:43;74203:4;74209:2;74213:7;74222:1;74181:21;:43::i;:::-;74317:15;74314:160;;;74457:1;74436:19;74429:30;74314:160;74854:18;:24;74873:4;74854:24;;;;;;;;;;;;;;;;74852:26;;;;;;;;;;;;74923:18;:22;74942:2;74923:22;;;;;;;;;;;;;;;;74921:24;;;;;;;;;;;75245:146;75282:2;75331:45;75346:4;75352:2;75356:19;75331:14;:45::i;:::-;55536:8;75303:73;75245:18;:146::i;:::-;75216:17;:26;75234:7;75216:26;;;;;;;;;;;:175;;;;75562:1;55536:8;75511:19;:47;:52;75507:627;;75584:19;75616:1;75606:7;:11;75584:33;;75773:1;75739:17;:30;75757:11;75739:30;;;;;;;;;;;;:35;75735:384;;75877:13;;75862:11;:28;75858:242;;76057:19;76024:17;:30;76042:11;76024:30;;;;;;;;;;;:52;;;;75858:242;75735:384;75565:569;75507:627;76181:7;76177:2;76162:27;;76171:4;76162:27;;;;;;;;;;;;76200:42;76221:4;76227:2;76231:7;76240:1;76200:20;:42::i;:::-;73556:2694;;;73425:2825;;;:::o;34127:132::-;34202:12;:10;:12::i;:::-;34191:23;;:7;:5;:7::i;:::-;:23;;;34183:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;34127:132::o;87297:112::-;87374:27;87384:2;87388:8;87374:27;;;;;;;;;;;;:9;:27::i;:::-;87297:112;;:::o;1255:190::-;1380:4;1433;1404:25;1417:5;1424:4;1404:12;:25::i;:::-;:33;1397:40;;1255:190;;;;;:::o;32513:98::-;32566:7;32593:10;32586:17;;32513:98;:::o;76346:193::-;76492:39;76509:4;76515:2;76519:7;76492:39;;;;;;;;;;;;:16;:39::i;:::-;76346:193;;;:::o;65934:1712::-;66001:14;66051:7;66032:15;:13;:15::i;:::-;:26;66028:1562;;66084:17;:26;66102:7;66084:26;;;;;;;;;;;;66075:35;;66188:1;55256:8;66160:6;:24;:29;66156:1423;;66309:1;66299:6;:11;66295:981;;66350:13;;66339:7;:24;66335:68;;66372:31;;;;;;;;;;;;;;66335:68;67000:257;67086:17;:28;67104:9;;;;;;;67086:28;;;;;;;;;;;;67077:37;;67182:1;67172:6;:11;67220:13;67168:25;67000:257;;66295:981;67550:13;;66156:1423;66028:1562;67607:31;;;;;;;;;;;;;;65934:1712;;;;:::o;35229:191::-;35303:16;35322:6;;;;;;;;;;;35303:25;;35348:8;35339:6;;:17;;;;;;;;;;;;;;;;;;35403:8;35372:40;;35393:8;35372:40;;;;;;;;;;;;35292:128;35229:191;:::o;107612:188::-;107686:12;107704:8;:13;;107725:7;107704:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107685:52;;;107756:7;107748:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;107674:126;107612:188;;:::o;70344:234::-;70491:8;70439:18;:39;70458:19;:17;:19::i;:::-;70439:39;;;;;;;;;;;;;;;:49;70479:8;70439:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;70551:8;70515:55;;70530:19;:17;:19::i;:::-;70515:55;;;70561:8;70515:55;;;;;;:::i;:::-;;;;;;;;70344:234;;:::o;77137:407::-;77312:31;77325:4;77331:2;77335:7;77312:12;:31::i;:::-;77376:1;77358:2;:14;;;:19;77354:183;;77397:56;77428:4;77434:2;77438:7;77447:5;77397:30;:56::i;:::-;77392:145;;77481:40;;;;;;;;;;;;;;77392:145;77354:183;77137:407;;;;:::o;105215:100::-;105267:13;105300:7;105293:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105215:100;:::o;22899:716::-;22955:13;23006:14;23043:1;23023:17;23034:5;23023:10;:17::i;:::-;:21;23006:38;;23059:20;23093:6;23082:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23059:41;;23115:11;23244:6;23240:2;23236:15;23228:6;23224:28;23217:35;;23281:288;23288:4;23281:288;;;23313:5;;;;;;;;23455:8;23450:2;23443:5;23439:14;23434:30;23429:3;23421:44;23511:2;23502:11;;;;;;:::i;:::-;;;;;23545:1;23536:5;:10;23281:288;23532:21;23281:288;23590:6;23583:13;;;;;22899:716;;;:::o;88215:492::-;88344:13;88360:16;88368:7;88360;:16::i;:::-;88344:32;;88393:13;88389:219;;;88448:5;88425:28;;:19;:17;:19::i;:::-;:28;;;88421:187;;88477:44;88494:5;88501:19;:17;:19::i;:::-;88477:16;:44::i;:::-;88472:136;;88553:35;;;;;;;;;;;;;;88472:136;88421:187;88389:219;88653:2;88620:15;:24;88636:7;88620:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;88691:7;88687:2;88671:28;;88680:5;88671:28;;;;;;;;;;;;88333:374;88215:492;;;:::o;72320:485::-;72422:27;72451:23;72492:38;72533:15;:24;72549:7;72533:24;;;;;;;;;;;72492:65;;72710:18;72687:41;;72767:19;72761:26;72742:45;;72672:126;72320:485;;;:::o;94763:105::-;94823:7;94850:10;94843:17;;94763:105;:::o;71548:659::-;71697:11;71862:16;71855:5;71851:28;71842:37;;72022:16;72011:9;72007:32;71994:45;;72172:15;72161:9;72158:30;72150:5;72139:9;72136:20;72133:56;72123:66;;71548:659;;;;;:::o;78206:159::-;;;;;:::o;94072:311::-;94207:7;94227:16;55660:3;94253:19;:41;;94227:68;;55660:3;94321:31;94332:4;94338:2;94342:9;94321:10;:31::i;:::-;94313:40;;:62;;94306:69;;;94072:311;;;;;:::o;68194:450::-;68274:14;68442:16;68435:5;68431:28;68422:37;;68619:5;68605:11;68580:23;68576:41;68573:52;68566:5;68563:63;68553:73;;68194:450;;;;:::o;79030:158::-;;;;;:::o;86524:689::-;86655:19;86661:2;86665:8;86655:5;:19::i;:::-;86734:1;86716:2;:14;;;:19;86712:483;;86756:11;86770:13;;86756:27;;86802:13;86824:8;86818:3;:14;86802:30;;86851:233;86882:62;86921:1;86925:2;86929:7;;;;;;86938:5;86882:30;:62::i;:::-;86877:167;;86980:40;;;;;;;;;;;;;;86877:167;87079:3;87071:5;:11;86851:233;;87166:3;87149:13;;:20;87145:34;;87171:8;;;87145:34;86737:458;;86712:483;86524:689;;;:::o;2122:296::-;2205:7;2225:20;2248:4;2225:27;;2268:9;2263:118;2287:5;:12;2283:1;:16;2263:118;;;2336:33;2346:12;2360:5;2366:1;2360:8;;;;;;;;:::i;:::-;;;;;;;;2336:9;:33::i;:::-;2321:48;;2301:3;;;;;:::i;:::-;;;;2263:118;;;;2398:12;2391:19;;;2122:296;;;;:::o;79628:716::-;79791:4;79837:2;79812:45;;;79858:19;:17;:19::i;:::-;79879:4;79885:7;79894:5;79812:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;79808:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80112:1;80095:6;:13;:18;80091:235;;80141:40;;;;;;;;;;;;;;80091:235;80284:6;80278:13;80269:6;80265:2;80261:15;80254:38;79808:529;79981:54;;;79971:64;;;:6;:64;;;;79964:71;;;79628:716;;;;;;:::o;19765:922::-;19818:7;19838:14;19855:1;19838:18;;19905:6;19896:5;:15;19892:102;;19941:6;19932:15;;;;;;:::i;:::-;;;;;19976:2;19966:12;;;;19892:102;20021:6;20012:5;:15;20008:102;;20057:6;20048:15;;;;;;:::i;:::-;;;;;20092:2;20082:12;;;;20008:102;20137:6;20128:5;:15;20124:102;;20173:6;20164:15;;;;;;:::i;:::-;;;;;20208:2;20198:12;;;;20124:102;20253:5;20244;:14;20240:99;;20288:5;20279:14;;;;;;:::i;:::-;;;;;20322:1;20312:11;;;;20240:99;20366:5;20357;:14;20353:99;;20401:5;20392:14;;;;;;:::i;:::-;;;;;20435:1;20425:11;;;;20353:99;20479:5;20470;:14;20466:99;;20514:5;20505:14;;;;;;:::i;:::-;;;;;20548:1;20538:11;;;;20466:99;20592:5;20583;:14;20579:66;;20628:1;20618:11;;;;20579:66;20673:6;20666:13;;;19765:922;;;:::o;93773:147::-;93910:6;93773:147;;;;;:::o;80806:2966::-;80879:20;80902:13;;80879:36;;80942:1;80930:8;:13;80926:44;;80952:18;;;;;;;;;;;;;;80926:44;80983:61;81013:1;81017:2;81021:12;81035:8;80983:21;:61::i;:::-;81527:1;54618:2;81497:1;:26;;81496:32;81484:8;:45;81458:18;:22;81477:2;81458:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;81806:139;81843:2;81897:33;81920:1;81924:2;81928:1;81897:14;:33::i;:::-;81864:30;81885:8;81864:20;:30::i;:::-;:66;81806:18;:139::i;:::-;81772:17;:31;81790:12;81772:31;;;;;;;;;;;:173;;;;81962:16;81993:11;82022:8;82007:12;:23;81993:37;;82543:16;82539:2;82535:25;82523:37;;82915:12;82875:8;82834:1;82772:25;82713:1;82652;82625:335;83286:1;83272:12;83268:20;83226:346;83327:3;83318:7;83315:16;83226:346;;83545:7;83535:8;83532:1;83505:25;83502:1;83499;83494:59;83380:1;83371:7;83367:15;83356:26;;83226:346;;;83230:77;83617:1;83605:8;:13;83601:45;;83627:19;;;;;;;;;;;;;;83601:45;83679:3;83663:13;:19;;;;81232:2462;;83704:60;83733:1;83737:2;83741:12;83755:8;83704:20;:60::i;:::-;80868:2904;80806:2966;;:::o;9162:149::-;9225:7;9256:1;9252;:5;:51;;9283:20;9298:1;9301;9283:14;:20::i;:::-;9252:51;;;9260:20;9275:1;9278;9260:14;:20::i;:::-;9252:51;9245:58;;9162:149;;;;:::o;68746:324::-;68816:14;69049:1;69039:8;69036:15;69010:24;69006:46;68996:56;;68746:324;;;:::o;9319:268::-;9387:13;9494:1;9488:4;9481:15;9523:1;9517:4;9510:15;9564:4;9558;9548:21;9539:30;;9319:268;;;;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:75::-;475:6;508:2;502:9;492:19;;442:75;:::o;523:117::-;632:1;629;622:12;646:117;755:1;752;745:12;769:149;805:7;845:66;838:5;834:78;823:89;;769:149;;;:::o;924:120::-;996:23;1013:5;996:23;:::i;:::-;989:5;986:34;976:62;;1034:1;1031;1024:12;976:62;924:120;:::o;1050:137::-;1095:5;1133:6;1120:20;1111:29;;1149:32;1175:5;1149:32;:::i;:::-;1050:137;;;;:::o;1193:327::-;1251:6;1300:2;1288:9;1279:7;1275:23;1271:32;1268:119;;;1306:79;;:::i;:::-;1268:119;1426:1;1451:52;1495:7;1486:6;1475:9;1471:22;1451:52;:::i;:::-;1441:62;;1397:116;1193:327;;;;:::o;1526:90::-;1560:7;1603:5;1596:13;1589:21;1578:32;;1526:90;;;:::o;1622:109::-;1703:21;1718:5;1703:21;:::i;:::-;1698:3;1691:34;1622:109;;:::o;1737:210::-;1824:4;1862:2;1851:9;1847:18;1839:26;;1875:65;1937:1;1926:9;1922:17;1913:6;1875:65;:::i;:::-;1737:210;;;;:::o;1953:126::-;1990:7;2030:42;2023:5;2019:54;2008:65;;1953:126;;;:::o;2085:96::-;2122:7;2151:24;2169:5;2151:24;:::i;:::-;2140:35;;2085:96;;;:::o;2187:118::-;2274:24;2292:5;2274:24;:::i;:::-;2269:3;2262:37;2187:118;;:::o;2311:222::-;2404:4;2442:2;2431:9;2427:18;2419:26;;2455:71;2523:1;2512:9;2508:17;2499:6;2455:71;:::i;:::-;2311:222;;;;:::o;2539:99::-;2591:6;2625:5;2619:12;2609:22;;2539:99;;;:::o;2644:169::-;2728:11;2762:6;2757:3;2750:19;2802:4;2797:3;2793:14;2778:29;;2644:169;;;;:::o;2819:246::-;2900:1;2910:113;2924:6;2921:1;2918:13;2910:113;;;3009:1;3004:3;3000:11;2994:18;2990:1;2985:3;2981:11;2974:39;2946:2;2943:1;2939:10;2934:15;;2910:113;;;3057:1;3048:6;3043:3;3039:16;3032:27;2881:184;2819:246;;;:::o;3071:102::-;3112:6;3163:2;3159:7;3154:2;3147:5;3143:14;3139:28;3129:38;;3071:102;;;:::o;3179:377::-;3267:3;3295:39;3328:5;3295:39;:::i;:::-;3350:71;3414:6;3409:3;3350:71;:::i;:::-;3343:78;;3430:65;3488:6;3483:3;3476:4;3469:5;3465:16;3430:65;:::i;:::-;3520:29;3542:6;3520:29;:::i;:::-;3515:3;3511:39;3504:46;;3271:285;3179:377;;;;:::o;3562:313::-;3675:4;3713:2;3702:9;3698:18;3690:26;;3762:9;3756:4;3752:20;3748:1;3737:9;3733:17;3726:47;3790:78;3863:4;3854:6;3790:78;:::i;:::-;3782:86;;3562:313;;;;:::o;3881:122::-;3954:24;3972:5;3954:24;:::i;:::-;3947:5;3944:35;3934:63;;3993:1;3990;3983:12;3934:63;3881:122;:::o;4009:139::-;4055:5;4093:6;4080:20;4071:29;;4109:33;4136:5;4109:33;:::i;:::-;4009:139;;;;:::o;4154:329::-;4213:6;4262:2;4250:9;4241:7;4237:23;4233:32;4230:119;;;4268:79;;:::i;:::-;4230:119;4388:1;4413:53;4458:7;4449:6;4438:9;4434:22;4413:53;:::i;:::-;4403:63;;4359:117;4154:329;;;;:::o;4489:122::-;4562:24;4580:5;4562:24;:::i;:::-;4555:5;4552:35;4542:63;;4601:1;4598;4591:12;4542:63;4489:122;:::o;4617:139::-;4663:5;4701:6;4688:20;4679:29;;4717:33;4744:5;4717:33;:::i;:::-;4617:139;;;;:::o;4762:474::-;4830:6;4838;4887:2;4875:9;4866:7;4862:23;4858:32;4855:119;;;4893:79;;:::i;:::-;4855:119;5013:1;5038:53;5083:7;5074:6;5063:9;5059:22;5038:53;:::i;:::-;5028:63;;4984:117;5140:2;5166:53;5211:7;5202:6;5191:9;5187:22;5166:53;:::i;:::-;5156:63;;5111:118;4762:474;;;;;:::o;5242:329::-;5301:6;5350:2;5338:9;5329:7;5325:23;5321:32;5318:119;;;5356:79;;:::i;:::-;5318:119;5476:1;5501:53;5546:7;5537:6;5526:9;5522:22;5501:53;:::i;:::-;5491:63;;5447:117;5242:329;;;;:::o;5577:619::-;5654:6;5662;5670;5719:2;5707:9;5698:7;5694:23;5690:32;5687:119;;;5725:79;;:::i;:::-;5687:119;5845:1;5870:53;5915:7;5906:6;5895:9;5891:22;5870:53;:::i;:::-;5860:63;;5816:117;5972:2;5998:53;6043:7;6034:6;6023:9;6019:22;5998:53;:::i;:::-;5988:63;;5943:118;6100:2;6126:53;6171:7;6162:6;6151:9;6147:22;6126:53;:::i;:::-;6116:63;;6071:118;5577:619;;;;;:::o;6202:77::-;6239:7;6268:5;6257:16;;6202:77;;;:::o;6285:118::-;6372:24;6390:5;6372:24;:::i;:::-;6367:3;6360:37;6285:118;;:::o;6409:222::-;6502:4;6540:2;6529:9;6525:18;6517:26;;6553:71;6621:1;6610:9;6606:17;6597:6;6553:71;:::i;:::-;6409:222;;;;:::o;6637:117::-;6746:1;6743;6736:12;6760:117;6869:1;6866;6859:12;6883:117;6992:1;6989;6982:12;7023:568;7096:8;7106:6;7156:3;7149:4;7141:6;7137:17;7133:27;7123:122;;7164:79;;:::i;:::-;7123:122;7277:6;7264:20;7254:30;;7307:18;7299:6;7296:30;7293:117;;;7329:79;;:::i;:::-;7293:117;7443:4;7435:6;7431:17;7419:29;;7497:3;7489:4;7481:6;7477:17;7467:8;7463:32;7460:41;7457:128;;;7504:79;;:::i;:::-;7457:128;7023:568;;;;;:::o;7597:704::-;7692:6;7700;7708;7757:2;7745:9;7736:7;7732:23;7728:32;7725:119;;;7763:79;;:::i;:::-;7725:119;7883:1;7908:53;7953:7;7944:6;7933:9;7929:22;7908:53;:::i;:::-;7898:63;;7854:117;8038:2;8027:9;8023:18;8010:32;8069:18;8061:6;8058:30;8055:117;;;8091:79;;:::i;:::-;8055:117;8204:80;8276:7;8267:6;8256:9;8252:22;8204:80;:::i;:::-;8186:98;;;;7981:313;7597:704;;;;;:::o;8307:60::-;8335:3;8356:5;8349:12;;8307:60;;;:::o;8373:142::-;8423:9;8456:53;8474:34;8483:24;8501:5;8483:24;:::i;:::-;8474:34;:::i;:::-;8456:53;:::i;:::-;8443:66;;8373:142;;;:::o;8521:126::-;8571:9;8604:37;8635:5;8604:37;:::i;:::-;8591:50;;8521:126;;;:::o;8653:158::-;8735:9;8768:37;8799:5;8768:37;:::i;:::-;8755:50;;8653:158;;;:::o;8817:195::-;8936:69;8999:5;8936:69;:::i;:::-;8931:3;8924:82;8817:195;;:::o;9018:286::-;9143:4;9181:2;9170:9;9166:18;9158:26;;9194:103;9294:1;9283:9;9279:17;9270:6;9194:103;:::i;:::-;9018:286;;;;:::o;9310:117::-;9419:1;9416;9409:12;9433:180;9481:77;9478:1;9471:88;9578:4;9575:1;9568:15;9602:4;9599:1;9592:15;9619:281;9702:27;9724:4;9702:27;:::i;:::-;9694:6;9690:40;9832:6;9820:10;9817:22;9796:18;9784:10;9781:34;9778:62;9775:88;;;9843:18;;:::i;:::-;9775:88;9883:10;9879:2;9872:22;9662:238;9619:281;;:::o;9906:129::-;9940:6;9967:20;;:::i;:::-;9957:30;;9996:33;10024:4;10016:6;9996:33;:::i;:::-;9906:129;;;:::o;10041:308::-;10103:4;10193:18;10185:6;10182:30;10179:56;;;10215:18;;:::i;:::-;10179:56;10253:29;10275:6;10253:29;:::i;:::-;10245:37;;10337:4;10331;10327:15;10319:23;;10041:308;;;:::o;10355:146::-;10452:6;10447:3;10442;10429:30;10493:1;10484:6;10479:3;10475:16;10468:27;10355:146;;;:::o;10507:425::-;10585:5;10610:66;10626:49;10668:6;10626:49;:::i;:::-;10610:66;:::i;:::-;10601:75;;10699:6;10692:5;10685:21;10737:4;10730:5;10726:16;10775:3;10766:6;10761:3;10757:16;10754:25;10751:112;;;10782:79;;:::i;:::-;10751:112;10872:54;10919:6;10914:3;10909;10872:54;:::i;:::-;10591:341;10507:425;;;;;:::o;10952:340::-;11008:5;11057:3;11050:4;11042:6;11038:17;11034:27;11024:122;;11065:79;;:::i;:::-;11024:122;11182:6;11169:20;11207:79;11282:3;11274:6;11267:4;11259:6;11255:17;11207:79;:::i;:::-;11198:88;;11014:278;10952:340;;;;:::o;11298:509::-;11367:6;11416:2;11404:9;11395:7;11391:23;11387:32;11384:119;;;11422:79;;:::i;:::-;11384:119;11570:1;11559:9;11555:17;11542:31;11600:18;11592:6;11589:30;11586:117;;;11622:79;;:::i;:::-;11586:117;11727:63;11782:7;11773:6;11762:9;11758:22;11727:63;:::i;:::-;11717:73;;11513:287;11298:509;;;;:::o;11813:122::-;11886:24;11904:5;11886:24;:::i;:::-;11879:5;11876:35;11866:63;;11925:1;11922;11915:12;11866:63;11813:122;:::o;11941:139::-;11987:5;12025:6;12012:20;12003:29;;12041:33;12068:5;12041:33;:::i;:::-;11941:139;;;;:::o;12086:329::-;12145:6;12194:2;12182:9;12173:7;12169:23;12165:32;12162:119;;;12200:79;;:::i;:::-;12162:119;12320:1;12345:53;12390:7;12381:6;12370:9;12366:22;12345:53;:::i;:::-;12335:63;;12291:117;12086:329;;;;:::o;12421:116::-;12491:21;12506:5;12491:21;:::i;:::-;12484:5;12481:32;12471:60;;12527:1;12524;12517:12;12471:60;12421:116;:::o;12543:133::-;12586:5;12624:6;12611:20;12602:29;;12640:30;12664:5;12640:30;:::i;:::-;12543:133;;;;:::o;12682:468::-;12747:6;12755;12804:2;12792:9;12783:7;12779:23;12775:32;12772:119;;;12810:79;;:::i;:::-;12772:119;12930:1;12955:53;13000:7;12991:6;12980:9;12976:22;12955:53;:::i;:::-;12945:63;;12901:117;13057:2;13083:50;13125:7;13116:6;13105:9;13101:22;13083:50;:::i;:::-;13073:60;;13028:115;12682:468;;;;;:::o;13156:307::-;13217:4;13307:18;13299:6;13296:30;13293:56;;;13329:18;;:::i;:::-;13293:56;13367:29;13389:6;13367:29;:::i;:::-;13359:37;;13451:4;13445;13441:15;13433:23;;13156:307;;;:::o;13469:423::-;13546:5;13571:65;13587:48;13628:6;13587:48;:::i;:::-;13571:65;:::i;:::-;13562:74;;13659:6;13652:5;13645:21;13697:4;13690:5;13686:16;13735:3;13726:6;13721:3;13717:16;13714:25;13711:112;;;13742:79;;:::i;:::-;13711:112;13832:54;13879:6;13874:3;13869;13832:54;:::i;:::-;13552:340;13469:423;;;;;:::o;13911:338::-;13966:5;14015:3;14008:4;14000:6;13996:17;13992:27;13982:122;;14023:79;;:::i;:::-;13982:122;14140:6;14127:20;14165:78;14239:3;14231:6;14224:4;14216:6;14212:17;14165:78;:::i;:::-;14156:87;;13972:277;13911:338;;;;:::o;14255:943::-;14350:6;14358;14366;14374;14423:3;14411:9;14402:7;14398:23;14394:33;14391:120;;;14430:79;;:::i;:::-;14391:120;14550:1;14575:53;14620:7;14611:6;14600:9;14596:22;14575:53;:::i;:::-;14565:63;;14521:117;14677:2;14703:53;14748:7;14739:6;14728:9;14724:22;14703:53;:::i;:::-;14693:63;;14648:118;14805:2;14831:53;14876:7;14867:6;14856:9;14852:22;14831:53;:::i;:::-;14821:63;;14776:118;14961:2;14950:9;14946:18;14933:32;14992:18;14984:6;14981:30;14978:117;;;15014:79;;:::i;:::-;14978:117;15119:62;15173:7;15164:6;15153:9;15149:22;15119:62;:::i;:::-;15109:72;;14904:287;14255:943;;;;;;;:::o;15204:474::-;15272:6;15280;15329:2;15317:9;15308:7;15304:23;15300:32;15297:119;;;15335:79;;:::i;:::-;15297:119;15455:1;15480:53;15525:7;15516:6;15505:9;15501:22;15480:53;:::i;:::-;15470:63;;15426:117;15582:2;15608:53;15653:7;15644:6;15633:9;15629:22;15608:53;:::i;:::-;15598:63;;15553:118;15204:474;;;;;:::o;15684:180::-;15732:77;15729:1;15722:88;15829:4;15826:1;15819:15;15853:4;15850:1;15843:15;15870:320;15914:6;15951:1;15945:4;15941:12;15931:22;;15998:1;15992:4;15988:12;16019:18;16009:81;;16075:4;16067:6;16063:17;16053:27;;16009:81;16137:2;16129:6;16126:14;16106:18;16103:38;16100:84;;16156:18;;:::i;:::-;16100:84;15921:269;15870:320;;;:::o;16196:332::-;16317:4;16355:2;16344:9;16340:18;16332:26;;16368:71;16436:1;16425:9;16421:17;16412:6;16368:71;:::i;:::-;16449:72;16517:2;16506:9;16502:18;16493:6;16449:72;:::i;:::-;16196:332;;;;;:::o;16534:137::-;16588:5;16619:6;16613:13;16604:22;;16635:30;16659:5;16635:30;:::i;:::-;16534:137;;;;:::o;16677:345::-;16744:6;16793:2;16781:9;16772:7;16768:23;16764:32;16761:119;;;16799:79;;:::i;:::-;16761:119;16919:1;16944:61;16997:7;16988:6;16977:9;16973:22;16944:61;:::i;:::-;16934:71;;16890:125;16677:345;;;;:::o;17028:180::-;17076:77;17073:1;17066:88;17173:4;17170:1;17163:15;17197:4;17194:1;17187:15;17214:191;17254:3;17273:20;17291:1;17273:20;:::i;:::-;17268:25;;17307:20;17325:1;17307:20;:::i;:::-;17302:25;;17350:1;17347;17343:9;17336:16;;17371:3;17368:1;17365:10;17362:36;;;17378:18;;:::i;:::-;17362:36;17214:191;;;;:::o;17411:170::-;17551:22;17547:1;17539:6;17535:14;17528:46;17411:170;:::o;17587:366::-;17729:3;17750:67;17814:2;17809:3;17750:67;:::i;:::-;17743:74;;17826:93;17915:3;17826:93;:::i;:::-;17944:2;17939:3;17935:12;17928:19;;17587:366;;;:::o;17959:419::-;18125:4;18163:2;18152:9;18148:18;18140:26;;18212:9;18206:4;18202:20;18198:1;18187:9;18183:17;18176:47;18240:131;18366:4;18240:131;:::i;:::-;18232:139;;17959:419;;;:::o;18384:170::-;18524:22;18520:1;18512:6;18508:14;18501:46;18384:170;:::o;18560:366::-;18702:3;18723:67;18787:2;18782:3;18723:67;:::i;:::-;18716:74;;18799:93;18888:3;18799:93;:::i;:::-;18917:2;18912:3;18908:12;18901:19;;18560:366;;;:::o;18932:419::-;19098:4;19136:2;19125:9;19121:18;19113:26;;19185:9;19179:4;19175:20;19171:1;19160:9;19156:17;19149:47;19213:131;19339:4;19213:131;:::i;:::-;19205:139;;18932:419;;;:::o;19357:94::-;19390:8;19438:5;19434:2;19430:14;19409:35;;19357:94;;;:::o;19457:::-;19496:7;19525:20;19539:5;19525:20;:::i;:::-;19514:31;;19457:94;;;:::o;19557:100::-;19596:7;19625:26;19645:5;19625:26;:::i;:::-;19614:37;;19557:100;;;:::o;19663:157::-;19768:45;19788:24;19806:5;19788:24;:::i;:::-;19768:45;:::i;:::-;19763:3;19756:58;19663:157;;:::o;19826:256::-;19938:3;19953:75;20024:3;20015:6;19953:75;:::i;:::-;20053:2;20048:3;20044:12;20037:19;;20073:3;20066:10;;19826:256;;;;:::o;20088:170::-;20228:22;20224:1;20216:6;20212:14;20205:46;20088:170;:::o;20264:366::-;20406:3;20427:67;20491:2;20486:3;20427:67;:::i;:::-;20420:74;;20503:93;20592:3;20503:93;:::i;:::-;20621:2;20616:3;20612:12;20605:19;;20264:366;;;:::o;20636:419::-;20802:4;20840:2;20829:9;20825:18;20817:26;;20889:9;20883:4;20879:20;20875:1;20864:9;20860:17;20853:47;20917:131;21043:4;20917:131;:::i;:::-;20909:139;;20636:419;;;:::o;21061:181::-;21201:33;21197:1;21189:6;21185:14;21178:57;21061:181;:::o;21248:366::-;21390:3;21411:67;21475:2;21470:3;21411:67;:::i;:::-;21404:74;;21487:93;21576:3;21487:93;:::i;:::-;21605:2;21600:3;21596:12;21589:19;;21248:366;;;:::o;21620:419::-;21786:4;21824:2;21813:9;21809:18;21801:26;;21873:9;21867:4;21863:20;21859:1;21848:9;21844:17;21837:47;21901:131;22027:4;21901:131;:::i;:::-;21893:139;;21620:419;;;:::o;22045:225::-;22185:34;22181:1;22173:6;22169:14;22162:58;22254:8;22249:2;22241:6;22237:15;22230:33;22045:225;:::o;22276:366::-;22418:3;22439:67;22503:2;22498:3;22439:67;:::i;:::-;22432:74;;22515:93;22604:3;22515:93;:::i;:::-;22633:2;22628:3;22624:12;22617:19;;22276:366;;;:::o;22648:419::-;22814:4;22852:2;22841:9;22837:18;22829:26;;22901:9;22895:4;22891:20;22887:1;22876:9;22872:17;22865:47;22929:131;23055:4;22929:131;:::i;:::-;22921:139;;22648:419;;;:::o;23073:182::-;23213:34;23209:1;23201:6;23197:14;23190:58;23073:182;:::o;23261:366::-;23403:3;23424:67;23488:2;23483:3;23424:67;:::i;:::-;23417:74;;23500:93;23589:3;23500:93;:::i;:::-;23618:2;23613:3;23609:12;23602:19;;23261:366;;;:::o;23633:419::-;23799:4;23837:2;23826:9;23822:18;23814:26;;23886:9;23880:4;23876:20;23872:1;23861:9;23857:17;23850:47;23914:131;24040:4;23914:131;:::i;:::-;23906:139;;23633:419;;;:::o;24058:410::-;24098:7;24121:20;24139:1;24121:20;:::i;:::-;24116:25;;24155:20;24173:1;24155:20;:::i;:::-;24150:25;;24210:1;24207;24203:9;24232:30;24250:11;24232:30;:::i;:::-;24221:41;;24411:1;24402:7;24398:15;24395:1;24392:22;24372:1;24365:9;24345:83;24322:139;;24441:18;;:::i;:::-;24322:139;24106:362;24058:410;;;;:::o;24474:164::-;24614:16;24610:1;24602:6;24598:14;24591:40;24474:164;:::o;24644:366::-;24786:3;24807:67;24871:2;24866:3;24807:67;:::i;:::-;24800:74;;24883:93;24972:3;24883:93;:::i;:::-;25001:2;24996:3;24992:12;24985:19;;24644:366;;;:::o;25016:419::-;25182:4;25220:2;25209:9;25205:18;25197:26;;25269:9;25263:4;25259:20;25255:1;25244:9;25240:17;25233:47;25297:131;25423:4;25297:131;:::i;:::-;25289:139;;25016:419;;;:::o;25441:141::-;25490:4;25513:3;25505:11;;25536:3;25533:1;25526:14;25570:4;25567:1;25557:18;25549:26;;25441:141;;;:::o;25588:93::-;25625:6;25672:2;25667;25660:5;25656:14;25652:23;25642:33;;25588:93;;;:::o;25687:107::-;25731:8;25781:5;25775:4;25771:16;25750:37;;25687:107;;;;:::o;25800:393::-;25869:6;25919:1;25907:10;25903:18;25942:97;25972:66;25961:9;25942:97;:::i;:::-;26060:39;26090:8;26079:9;26060:39;:::i;:::-;26048:51;;26132:4;26128:9;26121:5;26117:21;26108:30;;26181:4;26171:8;26167:19;26160:5;26157:30;26147:40;;25876:317;;25800:393;;;;;:::o;26199:142::-;26249:9;26282:53;26300:34;26309:24;26327:5;26309:24;:::i;:::-;26300:34;:::i;:::-;26282:53;:::i;:::-;26269:66;;26199:142;;;:::o;26347:75::-;26390:3;26411:5;26404:12;;26347:75;;;:::o;26428:269::-;26538:39;26569:7;26538:39;:::i;:::-;26599:91;26648:41;26672:16;26648:41;:::i;:::-;26640:6;26633:4;26627:11;26599:91;:::i;:::-;26593:4;26586:105;26504:193;26428:269;;;:::o;26703:73::-;26748:3;26703:73;:::o;26782:189::-;26859:32;;:::i;:::-;26900:65;26958:6;26950;26944:4;26900:65;:::i;:::-;26835:136;26782:189;;:::o;26977:186::-;27037:120;27054:3;27047:5;27044:14;27037:120;;;27108:39;27145:1;27138:5;27108:39;:::i;:::-;27081:1;27074:5;27070:13;27061:22;;27037:120;;;26977:186;;:::o;27169:543::-;27270:2;27265:3;27262:11;27259:446;;;27304:38;27336:5;27304:38;:::i;:::-;27388:29;27406:10;27388:29;:::i;:::-;27378:8;27374:44;27571:2;27559:10;27556:18;27553:49;;;27592:8;27577:23;;27553:49;27615:80;27671:22;27689:3;27671:22;:::i;:::-;27661:8;27657:37;27644:11;27615:80;:::i;:::-;27274:431;;27259:446;27169:543;;;:::o;27718:117::-;27772:8;27822:5;27816:4;27812:16;27791:37;;27718:117;;;;:::o;27841:169::-;27885:6;27918:51;27966:1;27962:6;27954:5;27951:1;27947:13;27918:51;:::i;:::-;27914:56;27999:4;27993;27989:15;27979:25;;27892:118;27841:169;;;;:::o;28015:295::-;28091:4;28237:29;28262:3;28256:4;28237:29;:::i;:::-;28229:37;;28299:3;28296:1;28292:11;28286:4;28283:21;28275:29;;28015:295;;;;:::o;28315:1395::-;28432:37;28465:3;28432:37;:::i;:::-;28534:18;28526:6;28523:30;28520:56;;;28556:18;;:::i;:::-;28520:56;28600:38;28632:4;28626:11;28600:38;:::i;:::-;28685:67;28745:6;28737;28731:4;28685:67;:::i;:::-;28779:1;28803:4;28790:17;;28835:2;28827:6;28824:14;28852:1;28847:618;;;;29509:1;29526:6;29523:77;;;29575:9;29570:3;29566:19;29560:26;29551:35;;29523:77;29626:67;29686:6;29679:5;29626:67;:::i;:::-;29620:4;29613:81;29482:222;28817:887;;28847:618;28899:4;28895:9;28887:6;28883:22;28933:37;28965:4;28933:37;:::i;:::-;28992:1;29006:208;29020:7;29017:1;29014:14;29006:208;;;29099:9;29094:3;29090:19;29084:26;29076:6;29069:42;29150:1;29142:6;29138:14;29128:24;;29197:2;29186:9;29182:18;29169:31;;29043:4;29040:1;29036:12;29031:17;;29006:208;;;29242:6;29233:7;29230:19;29227:179;;;29300:9;29295:3;29291:19;29285:26;29343:48;29385:4;29377:6;29373:17;29362:9;29343:48;:::i;:::-;29335:6;29328:64;29250:156;29227:179;29452:1;29448;29440:6;29436:14;29432:22;29426:4;29419:36;28854:611;;;28817:887;;28407:1303;;;28315:1395;;:::o;29716:169::-;29856:21;29852:1;29844:6;29840:14;29833:45;29716:169;:::o;29891:366::-;30033:3;30054:67;30118:2;30113:3;30054:67;:::i;:::-;30047:74;;30130:93;30219:3;30130:93;:::i;:::-;30248:2;30243:3;30239:12;30232:19;;29891:366;;;:::o;30263:419::-;30429:4;30467:2;30456:9;30452:18;30444:26;;30516:9;30510:4;30506:20;30502:1;30491:9;30487:17;30480:47;30544:131;30670:4;30544:131;:::i;:::-;30536:139;;30263:419;;;:::o;30688:180::-;30736:77;30733:1;30726:88;30833:4;30830:1;30823:15;30857:4;30854:1;30847:15;30874:185;30914:1;30931:20;30949:1;30931:20;:::i;:::-;30926:25;;30965:20;30983:1;30965:20;:::i;:::-;30960:25;;31004:1;30994:35;;31009:18;;:::i;:::-;30994:35;31051:1;31048;31044:9;31039:14;;30874:185;;;;:::o;31065:179::-;31205:31;31201:1;31193:6;31189:14;31182:55;31065:179;:::o;31250:366::-;31392:3;31413:67;31477:2;31472:3;31413:67;:::i;:::-;31406:74;;31489:93;31578:3;31489:93;:::i;:::-;31607:2;31602:3;31598:12;31591:19;;31250:366;;;:::o;31622:419::-;31788:4;31826:2;31815:9;31811:18;31803:26;;31875:9;31869:4;31865:20;31861:1;31850:9;31846:17;31839:47;31903:131;32029:4;31903:131;:::i;:::-;31895:139;;31622:419;;;:::o;32047:220::-;32187:34;32183:1;32175:6;32171:14;32164:58;32256:3;32251:2;32243:6;32239:15;32232:28;32047:220;:::o;32273:366::-;32415:3;32436:67;32500:2;32495:3;32436:67;:::i;:::-;32429:74;;32512:93;32601:3;32512:93;:::i;:::-;32630:2;32625:3;32621:12;32614:19;;32273:366;;;:::o;32645:419::-;32811:4;32849:2;32838:9;32834:18;32826:26;;32898:9;32892:4;32888:20;32884:1;32873:9;32869:17;32862:47;32926:131;33052:4;32926:131;:::i;:::-;32918:139;;32645:419;;;:::o;33070:148::-;33172:11;33209:3;33194:18;;33070:148;;;;:::o;33224:390::-;33330:3;33358:39;33391:5;33358:39;:::i;:::-;33413:89;33495:6;33490:3;33413:89;:::i;:::-;33406:96;;33511:65;33569:6;33564:3;33557:4;33550:5;33546:16;33511:65;:::i;:::-;33601:6;33596:3;33592:16;33585:23;;33334:280;33224:390;;;;:::o;33620:155::-;33760:7;33756:1;33748:6;33744:14;33737:31;33620:155;:::o;33781:400::-;33941:3;33962:84;34044:1;34039:3;33962:84;:::i;:::-;33955:91;;34055:93;34144:3;34055:93;:::i;:::-;34173:1;34168:3;34164:11;34157:18;;33781:400;;;:::o;34187:701::-;34468:3;34490:95;34581:3;34572:6;34490:95;:::i;:::-;34483:102;;34602:95;34693:3;34684:6;34602:95;:::i;:::-;34595:102;;34714:148;34858:3;34714:148;:::i;:::-;34707:155;;34879:3;34872:10;;34187:701;;;;;:::o;34894:225::-;35034:34;35030:1;35022:6;35018:14;35011:58;35103:8;35098:2;35090:6;35086:15;35079:33;34894:225;:::o;35125:366::-;35267:3;35288:67;35352:2;35347:3;35288:67;:::i;:::-;35281:74;;35364:93;35453:3;35364:93;:::i;:::-;35482:2;35477:3;35473:12;35466:19;;35125:366;;;:::o;35497:419::-;35663:4;35701:2;35690:9;35686:18;35678:26;;35750:9;35744:4;35740:20;35736:1;35725:9;35721:17;35714:47;35778:131;35904:4;35778:131;:::i;:::-;35770:139;;35497:419;;;:::o;35922:182::-;36062:34;36058:1;36050:6;36046:14;36039:58;35922:182;:::o;36110:366::-;36252:3;36273:67;36337:2;36332:3;36273:67;:::i;:::-;36266:74;;36349:93;36438:3;36349:93;:::i;:::-;36467:2;36462:3;36458:12;36451:19;;36110:366;;;:::o;36482:419::-;36648:4;36686:2;36675:9;36671:18;36663:26;;36735:9;36729:4;36725:20;36721:1;36710:9;36706:17;36699:47;36763:131;36889:4;36763:131;:::i;:::-;36755:139;;36482:419;;;:::o;36907:147::-;37008:11;37045:3;37030:18;;36907:147;;;;:::o;37060:114::-;;:::o;37180:398::-;37339:3;37360:83;37441:1;37436:3;37360:83;:::i;:::-;37353:90;;37452:93;37541:3;37452:93;:::i;:::-;37570:1;37565:3;37561:11;37554:18;;37180:398;;;:::o;37584:379::-;37768:3;37790:147;37933:3;37790:147;:::i;:::-;37783:154;;37954:3;37947:10;;37584:379;;;:::o;37969:174::-;38109:26;38105:1;38097:6;38093:14;38086:50;37969:174;:::o;38149:366::-;38291:3;38312:67;38376:2;38371:3;38312:67;:::i;:::-;38305:74;;38388:93;38477:3;38388:93;:::i;:::-;38506:2;38501:3;38497:12;38490:19;;38149:366;;;:::o;38521:419::-;38687:4;38725:2;38714:9;38710:18;38702:26;;38774:9;38768:4;38764:20;38760:1;38749:9;38745:17;38738:47;38802:131;38928:4;38802:131;:::i;:::-;38794:139;;38521:419;;;:::o;38946:180::-;38994:77;38991:1;38984:88;39091:4;39088:1;39081:15;39115:4;39112:1;39105:15;39132:233;39171:3;39194:24;39212:5;39194:24;:::i;:::-;39185:33;;39240:66;39233:5;39230:77;39227:103;;39310:18;;:::i;:::-;39227:103;39357:1;39350:5;39346:13;39339:20;;39132:233;;;:::o;39371:98::-;39422:6;39456:5;39450:12;39440:22;;39371:98;;;:::o;39475:168::-;39558:11;39592:6;39587:3;39580:19;39632:4;39627:3;39623:14;39608:29;;39475:168;;;;:::o;39649:373::-;39735:3;39763:38;39795:5;39763:38;:::i;:::-;39817:70;39880:6;39875:3;39817:70;:::i;:::-;39810:77;;39896:65;39954:6;39949:3;39942:4;39935:5;39931:16;39896:65;:::i;:::-;39986:29;40008:6;39986:29;:::i;:::-;39981:3;39977:39;39970:46;;39739:283;39649:373;;;;:::o;40028:640::-;40223:4;40261:3;40250:9;40246:19;40238:27;;40275:71;40343:1;40332:9;40328:17;40319:6;40275:71;:::i;:::-;40356:72;40424:2;40413:9;40409:18;40400:6;40356:72;:::i;:::-;40438;40506:2;40495:9;40491:18;40482:6;40438:72;:::i;:::-;40557:9;40551:4;40547:20;40542:2;40531:9;40527:18;40520:48;40585:76;40656:4;40647:6;40585:76;:::i;:::-;40577:84;;40028:640;;;;;;;:::o;40674:141::-;40730:5;40761:6;40755:13;40746:22;;40777:32;40803:5;40777:32;:::i;:::-;40674:141;;;;:::o;40821:349::-;40890:6;40939:2;40927:9;40918:7;40914:23;40910:32;40907:119;;;40945:79;;:::i;:::-;40907:119;41065:1;41090:63;41145:7;41136:6;41125:9;41121:22;41090:63;:::i;:::-;41080:73;;41036:127;40821:349;;;;:::o
Swarm Source
ipfs://343a83faf4245ae8e51b6413f34edbf24a3d8ede59c1370a2700459c585220e3
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.