ERC-721
Overview
Max Total Supply
152 BOPH1
Holders
113
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BOPH1Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Phase1
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-29 */ // SPDX-License-Identifier: MIT // File: Interfaces/IERC721Burn.sol pragma solidity ^0.8.13; interface IERC721Burn{ function burn(uint256 tokenId) external; } // File: opensea-enforcement/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 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: opensea-enforcement/OperatorFilterer.sol pragma solidity ^0.8.13; abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).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 ( !( operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender) && operatorFilterRegistry.isOperatorAllowed(address(this), from) ) ) { revert OperatorNotAllowed(msg.sender); } } _; } } // File: opensea-enforcement/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) public _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _burn(tokenId); } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: phase0.sol pragma solidity ^0.8.13; contract Phase1 is ERC721, ERC721Burnable, DefaultOperatorFilterer, ERC721Enumerable, Ownable { using Counters for Counters.Counter; Counters.Counter private _nonce; bool public toggle; uint16[] private _randomNumbers; address public ticketAddress; uint256 public revelTime; string private URI; mapping(address => uint256[])public userNftId; event RevelTime(uint256 revelTime); constructor(string memory _name, string memory _symbol, address _ticketAddress) ERC721(_name,_symbol) { ticketAddress = _ticketAddress; URI = ""; for(uint16 i = 0; i < 1925; i++){ _randomNumbers.push(i); } } /* @dev This function will generated random number */ function _generateRandomNumber() internal returns(uint256 randomNumber){ uint256 salt = _nonce.current(); randomNumber = uint256( keccak256( abi.encode( msg.sender, tx.gasprice, block.number, block.timestamp, block.difficulty, blockhash(block.number - 1), address(this), salt ) ) ); _nonce.increment(); } /* @dev This function takes the random number generated and cut it down between the range of 0-1924, the selected number will be then popped out of the array and will be given as tokenID while minting NFT */ function randomTokenId() internal returns(uint16 resultNumber){ uint256 randomIndex = _generateRandomNumber() % _randomNumbers.length; resultNumber = _randomNumbers[randomIndex]; _randomNumbers[randomIndex] = _randomNumbers[_randomNumbers.length - 1]; _randomNumbers.pop(); return resultNumber; } /* @dev This function will burn the ticket, and mint a new NFT with random tokenID, before calling this function make sure you have taken the allowance of tokenId from the ticket contract that needs to be burned. @params ticketId: Ticket tokenId that gets burn. */ function redeem(uint256 ticketId) external { require(toggle == true, "Phase0: Toggle is off"); require(revelTime !=0, "Phase0: Set revel Timer"); require(block.timestamp > revelTime, "Phase0: Redeem has not started yet"); require(IERC721(ticketAddress).ownerOf(ticketId) == msg.sender, "Phase0: You are not the owner of this ticket"); require(_randomNumbers.length != 0, "Phase0: All NFT has been already minted"); uint16 randomId = randomTokenId(); IERC721Burn(ticketAddress).burn(ticketId); userNftId[msg.sender].push(randomId); _safeMint(msg.sender, randomId); } function setRevelTimer(uint256 revelTime_) external onlyOwner{ revelTime = revelTime_; emit RevelTime(revelTime); } function updateTicketAddress(address _ticketAddress) external onlyOwner{ require(_ticketAddress != address(0), "Ticket: MintFeesAddress cannot be zero address"); ticketAddress = _ticketAddress; } function setToggle(bool toggle_) external onlyOwner{ toggle = toggle_; } function transferFrom(address from, address to, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperator(from) { require(_isApprovedOrOwner(_msgSender(), tokenId),"Phase0: transfer caller is not owner nor approved"); uint256 temp; for (uint256 i; i < userNftId[from].length; i++) { if (userNftId[from][i] == tokenId) { userNftId[from][i] = userNftId[from][userNftId[from].length - 1]; temp = userNftId[from].length - 1; userNftId[from].pop(); userNftId[to].push(tokenId); break; } } _transfer(from, to, tokenId); } function safeTransferFrom(address from,address to,uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperator(from) { uint256 temp; for (uint256 i; i < userNftId[from].length; i++) { if (userNftId[from][i] == tokenId) { userNftId[from][i] = userNftId[from][userNftId[from].length - 1]; temp = userNftId[from].length - 1; userNftId[from].pop(); userNftId[to].push(tokenId); break; } } safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom(address from,address to,uint256 tokenId,bytes memory _data) public override(ERC721, IERC721) onlyAllowedOperator(from) { require(_isApprovedOrOwner(_msgSender(), tokenId),"Phase0: transfer caller is not owner nor approved"); uint256 temp; for (uint256 i; i < userNftId[from].length; i++) { if (userNftId[from][i] == tokenId) { userNftId[from][i] = userNftId[from][userNftId[from].length - 1]; temp = userNftId[from].length - 1; userNftId[from].pop(); userNftId[to].push(tokenId); break; } } _safeTransfer(from, to, tokenId, _data); } function updateURI(string memory updateURI_) external onlyOwner{ URI = updateURI_; } function nftOfUser(address user)public view returns(uint256[] memory){ return userNftId[user]; } function burn(uint256 tokenId) public virtual override{ //solhint-disable-next-line max-line-length _burn(tokenId); } function _burn(uint256 _tokenId) internal override(ERC721) { require(_isApprovedOrOwner(_msgSender(), _tokenId), "Phase0: caller is not token owner nor approved"); for (uint256 i; i < userNftId[ownerOf(_tokenId)].length; i++) { if (userNftId[ownerOf(_tokenId)][i] == _tokenId) { userNftId[ownerOf(_tokenId)][i] = userNftId[ownerOf(_tokenId)][userNftId[ownerOf(_tokenId)].length - 1]; userNftId[ownerOf(_tokenId)].pop(); break; } } super._burn(_tokenId); } function _baseURI() internal view override returns (string memory) { return URI; } function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId, batchSize); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_ticketAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"revelTime","type":"uint256"}],"name":"RevelTime","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_owners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"nftOfUser","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ticketId","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revelTime","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"revelTime_","type":"uint256"}],"name":"setRevelTimer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"toggle_","type":"bool"}],"name":"setToggle","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":"ticketAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ticketAddress","type":"address"}],"name":"updateTicketAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"updateURI_","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userNftId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620039983803806200399883398101604081905262000034916200045b565b733cc6cdda760b79bafa08df41ecfa224f810dceb660018484816000908051906020019062000065929190620002e8565b5080516200007b906001906020840190620002e8565b5050506daaeb6d7670e522a718067333cd4e3b15620001c35780156200011157604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000f257600080fd5b505af115801562000107573d6000803e3d6000fd5b50505050620001c3565b6001600160a01b03821615620001625760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000d7565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001a957600080fd5b505af1158015620001be573d6000803e3d6000fd5b505050505b50620001d190503362000296565b600e80546001600160a01b0319166001600160a01b0383161790556040805160208101918290526000908190526200020c91601091620002e8565b5060005b6107858161ffff1610156200028c57600d80546001810182556000919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb560108204018054600f9092166002026101000a61ffff8181021990931692841602919091179055806200028381620004e8565b91505062000210565b5050505062000554565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002f69062000518565b90600052602060002090601f0160209004810192826200031a576000855562000365565b82601f106200033557805160ff191683800117855562000365565b8280016001018555821562000365579182015b828111156200036557825182559160200191906001019062000348565b506200037392915062000377565b5090565b5b8082111562000373576000815560010162000378565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003b657600080fd5b81516001600160401b0380821115620003d357620003d36200038e565b604051601f8301601f19908116603f01168101908282118183101715620003fe57620003fe6200038e565b816040528381526020925086838588010111156200041b57600080fd5b600091505b838210156200043f578582018301518183018401529082019062000420565b83821115620004515760008385830101525b9695505050505050565b6000806000606084860312156200047157600080fd5b83516001600160401b03808211156200048957600080fd5b6200049787838801620003a4565b94506020860151915080821115620004ae57600080fd5b50620004bd86828701620003a4565b604086015190935090506001600160a01b0381168114620004dd57600080fd5b809150509250925092565b600061ffff8083168181036200050e57634e487b7160e01b600052601160045260246000fd5b6001019392505050565b600181811c908216806200052d57607f821691505b6020821081036200054e57634e487b7160e01b600052602260045260246000fd5b50919050565b61343480620005646000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063b668908f116100a2578063db006a7511610071578063db006a7514610416578063e985e9c514610429578063f2fde38b14610465578063fa8183b71461047857600080fd5b8063b668908f146103ca578063b88d4fde146103dd578063c30f4a5a146103f0578063c87b56dd1461040357600080fd5b806390cd38ba116100de57806390cd38ba1461036657806395d89b4114610386578063992924a61461038e578063a22cb465146103b757600080fd5b806370a0823114610331578063715018a6146103445780637469863e1461034c5780638da5cb5b1461035557600080fd5b80632f745c591161018757806342966c681161015657806342966c68146102e55780634f6ccce7146102f857806357a8e3fe1461030b5780636352211e1461031e57600080fd5b80632f745c591461029f5780633ef0410f146102b257806340a3d246146102c557806342842e0e146102d257600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd1461026757806323b872dd146102795780632e203e6d1461028c57600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f8366004612df2565b61048b565b60405190151581526020015b60405180910390f35b61021a61049c565b6040516102099190612e67565b61023a610235366004612e7a565b61052e565b6040516001600160a01b039091168152602001610209565b610265610260366004612ea8565b610555565b005b6008545b604051908152602001610209565b610265610287366004612ed4565b61066f565b61026561029a366004612f23565b610b36565b61026b6102ad366004612ea8565b610b51565b61026b6102c0366004612ea8565b610be7565b600c546101fd9060ff1681565b6102656102e0366004612ed4565b610c18565b6102656102f3366004612e7a565b6110a5565b61026b610306366004612e7a565b6110b1565b600e5461023a906001600160a01b031681565b61023a61032c366004612e7a565b611144565b61026b61033f366004612f40565b6111a4565b61026561122a565b61026b600f5481565b600a546001600160a01b031661023a565b610379610374366004612f40565b61123e565b6040516102099190612f5d565b61021a6112aa565b61023a61039c366004612e7a565b6002602052600090815260409020546001600160a01b031681565b6102656103c5366004612fa1565b6112b9565b6102656103d8366004612e7a565b6112c8565b6102656103eb366004613066565b61130b565b6102656103fe3660046130e6565b6117d4565b61021a610411366004612e7a565b6117ef565b610265610424366004612e7a565b611856565b6101fd61043736600461312f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610265610473366004612f40565b611b29565b610265610486366004612f40565b611b9f565b600061049682611c36565b92915050565b6060600080546104ab9061315d565b80601f01602080910402602001604051908101604052809291908181526020018280546104d79061315d565b80156105245780601f106104f957610100808354040283529160200191610524565b820191906000526020600020905b81548152906001019060200180831161050757829003601f168201915b5050505050905090565b600061053982611c5b565b506000908152600460205260409020546001600160a01b031690565b600061056082611144565b9050806001600160a01b0316836001600160a01b0316036105d25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105ee57506105ee8133610437565b6106605760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105c9565b61066a8383611cba565b505050565b826daaeb6d7670e522a718067333cd4e3b1561097057336001600160a01b0382160361085b576106a0335b83611d28565b6106bc5760405162461bcd60e51b81526004016105c990613197565b6000805b6001600160a01b038616600090815260116020526040902054811015610849576001600160a01b038616600090815260116020526040902080548591908390811061070d5761070d6131e8565b906000526020600020015403610837576001600160a01b0386166000908152601160205260409020805461074390600190613214565b81548110610753576107536131e8565b906000526020600020015460116000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110610794576107946131e8565b60009182526020808320909101929092556001600160a01b0388168152601190915260409020546107c790600190613214565b6001600160a01b0387166000908152601160205260409020805491935090806107f2576107f261322b565b6000828152602080822083016000199081018390559092019092556001600160a01b038716825260118152604082208054600181018255908352912001849055610849565b8061084181613241565b9150506106c0565b50610855858585611da7565b50610b30565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ce919061325a565b80156109515750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561092d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610951919061325a565b61097057604051633b79c77360e21b81523360048201526024016105c9565b6109793361069a565b6109955760405162461bcd60e51b81526004016105c990613197565b6000805b6001600160a01b038616600090815260116020526040902054811015610b22576001600160a01b03861660009081526011602052604090208054859190839081106109e6576109e66131e8565b906000526020600020015403610b10576001600160a01b03861660009081526011602052604090208054610a1c90600190613214565b81548110610a2c57610a2c6131e8565b906000526020600020015460116000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110610a6d57610a6d6131e8565b60009182526020808320909101929092556001600160a01b038816815260119091526040902054610aa090600190613214565b6001600160a01b038716600090815260116020526040902080549193509080610acb57610acb61322b565b6000828152602080822083016000199081018390559092019092556001600160a01b038716825260118152604082208054600181018255908352912001849055610b22565b80610b1a81613241565b915050610999565b50610b2e858585611da7565b505b50505050565b610b3e611f18565b600c805460ff1916911515919091179055565b6000610b5c836111a4565b8210610bbe5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105c9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60116020528160005260406000208181548110610c0357600080fd5b90600052602060002001600091509150505481565b826daaeb6d7670e522a718067333cd4e3b15610efc57336001600160a01b03821603610de7576000805b6001600160a01b038616600090815260116020526040902054811015610dcb576001600160a01b0386166000908152601160205260409020805485919083908110610c8f57610c8f6131e8565b906000526020600020015403610db9576001600160a01b03861660009081526011602052604090208054610cc590600190613214565b81548110610cd557610cd56131e8565b906000526020600020015460116000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110610d1657610d166131e8565b60009182526020808320909101929092556001600160a01b038816815260119091526040902054610d4990600190613214565b6001600160a01b038716600090815260116020526040902080549193509080610d7457610d7461322b565b6000828152602080822083016000199081018390559092019092556001600160a01b038716825260118152604082208054600181018255908352912001849055610dcb565b80610dc381613241565b915050610c42565b506108558585856040518060200160405280600081525061130b565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a919061325a565b8015610edd5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd919061325a565b610efc57604051633b79c77360e21b81523360048201526024016105c9565b6000805b6001600160a01b038616600090815260116020526040902054811015611089576001600160a01b0386166000908152601160205260409020805485919083908110610f4d57610f4d6131e8565b906000526020600020015403611077576001600160a01b03861660009081526011602052604090208054610f8390600190613214565b81548110610f9357610f936131e8565b906000526020600020015460116000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110610fd457610fd46131e8565b60009182526020808320909101929092556001600160a01b03881681526011909152604090205461100790600190613214565b6001600160a01b0387166000908152601160205260409020805491935090806110325761103261322b565b6000828152602080822083016000199081018390559092019092556001600160a01b038716825260118152604082208054600181018255908352912001849055611089565b8061108181613241565b915050610f00565b50610b2e8585856040518060200160405280600081525061130b565b6110ae81611f72565b50565b60006110bc60085490565b821061111f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105c9565b60088281548110611132576111326131e8565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104965760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105c9565b60006001600160a01b03821661120e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105c9565b506001600160a01b031660009081526003602052604090205490565b611232611f18565b61123c6000612199565b565b6001600160a01b03811660009081526011602090815260409182902080548351818402810184019094528084526060939283018282801561129e57602002820191906000526020600020905b81548152602001906001019080831161128a575b50505050509050919050565b6060600180546104ab9061315d565b6112c43383836121eb565b5050565b6112d0611f18565b600f8190556040518181527fed405bbf00e8b3dfbfd3f64220eb09900f2d37a379b5b372949f29b37e42f1ac9060200160405180910390a150565b836daaeb6d7670e522a718067333cd4e3b1561160d57336001600160a01b038216036114f85761133c335b84611d28565b6113585760405162461bcd60e51b81526004016105c990613197565b6000805b6001600160a01b0387166000908152601160205260409020548110156114e5576001600160a01b03871660009081526011602052604090208054869190839081106113a9576113a96131e8565b9060005260206000200154036114d3576001600160a01b038716600090815260116020526040902080546113df90600190613214565b815481106113ef576113ef6131e8565b906000526020600020015460116000896001600160a01b03166001600160a01b031681526020019081526020016000208281548110611430576114306131e8565b60009182526020808320909101929092556001600160a01b03891681526011909152604090205461146390600190613214565b6001600160a01b03881660009081526011602052604090208054919350908061148e5761148e61322b565b6000828152602080822083016000199081018390559092019092556001600160a01b0388168252601181526040822080546001810182559083529120018590556114e5565b806114dd81613241565b91505061135c565b506114f2868686866122b9565b50610b2e565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611547573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156b919061325a565b80156115ee5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee919061325a565b61160d57604051633b79c77360e21b81523360048201526024016105c9565b61161633611336565b6116325760405162461bcd60e51b81526004016105c990613197565b6000805b6001600160a01b0387166000908152601160205260409020548110156117bf576001600160a01b0387166000908152601160205260409020805486919083908110611683576116836131e8565b9060005260206000200154036117ad576001600160a01b038716600090815260116020526040902080546116b990600190613214565b815481106116c9576116c96131e8565b906000526020600020015460116000896001600160a01b03166001600160a01b03168152602001908152602001600020828154811061170a5761170a6131e8565b60009182526020808320909101929092556001600160a01b03891681526011909152604090205461173d90600190613214565b6001600160a01b0388166000908152601160205260409020805491935090806117685761176861322b565b6000828152602080822083016000199081018390559092019092556001600160a01b0388168252601181526040822080546001810182559083529120018590556117bf565b806117b781613241565b915050611636565b506117cc868686866122b9565b505050505050565b6117dc611f18565b80516112c4906010906020840190612d4c565b60606117fa82611c5b565b60006118046122ec565b90506000815111611824576040518060200160405280600081525061184f565b8061182e846122fb565b60405160200161183f929190613277565b6040516020818303038152906040525b9392505050565b600c5460ff1615156001146118a55760405162461bcd60e51b8152602060048201526015602482015274283430b9b2981d102a37b3b3b6329034b99037b33360591b60448201526064016105c9565b600f546000036118f75760405162461bcd60e51b815260206004820152601760248201527f5068617365303a2053657420726576656c2054696d657200000000000000000060448201526064016105c9565b600f5442116119535760405162461bcd60e51b815260206004820152602260248201527f5068617365303a2052656465656d20686173206e6f7420737461727465642079604482015261195d60f21b60648201526084016105c9565b600e546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561199c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c091906132b6565b6001600160a01b031614611a2b5760405162461bcd60e51b815260206004820152602c60248201527f5068617365303a20596f7520617265206e6f7420746865206f776e6572206f6660448201526b081d1a1a5cc81d1a58dad95d60a21b60648201526084016105c9565b600d54600003611a8d5760405162461bcd60e51b815260206004820152602760248201527f5068617365303a20416c6c204e465420686173206265656e20616c7265616479604482015266081b5a5b9d195960ca1b60648201526084016105c9565b6000611a9761238e565b600e54604051630852cd8d60e31b8152600481018590529192506001600160a01b0316906342966c6890602401600060405180830381600087803b158015611ade57600080fd5b505af1158015611af2573d6000803e3d6000fd5b505033600081815260116020908152604082208054600181018255908352912061ffff861691018190556112c493509091506124ae565b611b31611f18565b6001600160a01b038116611b965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c9565b6110ae81612199565b611ba7611f18565b6001600160a01b038116611c145760405162461bcd60e51b815260206004820152602e60248201527f5469636b65743a204d696e7446656573416464726573732063616e6e6f74206260448201526d65207a65726f206164647265737360901b60648201526084016105c9565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b0319821663780e9d6360e01b14806104965750610496826124c8565b6000818152600260205260409020546001600160a01b03166110ae5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105c9565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cef82611144565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611d3483611144565b9050806001600160a01b0316846001600160a01b03161480611d7b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611d9f5750836001600160a01b0316611d948461052e565b6001600160a01b0316145b949350505050565b826001600160a01b0316611dba82611144565b6001600160a01b031614611de05760405162461bcd60e51b81526004016105c9906132d3565b6001600160a01b038216611e425760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105c9565b611e4f8383836001612518565b826001600160a01b0316611e6282611144565b6001600160a01b031614611e885760405162461bcd60e51b81526004016105c9906132d3565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b0316331461123c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c9565b611f7c3382611d28565b611fdf5760405162461bcd60e51b815260206004820152602e60248201527f5068617365303a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b60648201526084016105c9565b60005b60116000611fef84611144565b6001600160a01b0316815260208101919091526040016000205481101561218f57816011600061201e85611144565b6001600160a01b03166001600160a01b03168152602001908152602001600020828154811061204f5761204f6131e8565b90600052602060002001540361217d576011600061206c84611144565b6001600160a01b03166001600160a01b0316815260200190815260200160002060016011600061209b86611144565b6001600160a01b031681526020810191909152604001600020546120bf9190613214565b815481106120cf576120cf6131e8565b9060005260206000200154601160006120e785611144565b6001600160a01b03166001600160a01b031681526020019081526020016000208281548110612118576121186131e8565b90600052602060002001819055506011600061213384611144565b6001600160a01b03166001600160a01b031681526020019081526020016000208054806121625761216261322b565b6001900381819060005260206000200160009055905561218f565b8061218781613241565b915050611fe2565b506110ae81612524565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03160361224c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105c9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6122c4848484611da7565b6122d0848484846125c7565b610b305760405162461bcd60e51b81526004016105c990613318565b6060601080546104ab9061315d565b60606000612308836126c8565b600101905060008167ffffffffffffffff81111561232857612328612fda565b6040519080825280601f01601f191660200182016040528015612352576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461235c57509392505050565b600d54600090819061239e6127a0565b6123a8919061336a565b9050600d81815481106123bd576123bd6131e8565b90600052602060002090601091828204019190066002029054906101000a900461ffff169150600d6001600d805490506123f79190613214565b81548110612407576124076131e8565b90600052602060002090601091828204019190066002029054906101000a900461ffff16600d828154811061243e5761243e6131e8565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600d80548061247e5761247e61322b565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a021916905590555090565b6112c482826040518060200160405280600081525061282f565b60006001600160e01b031982166380ac58cd60e01b14806124f957506001600160e01b03198216635b5e139f60e01b145b8061049657506301ffc9a760e01b6001600160e01b0319831614610496565b610b3084848484612862565b600061252f82611144565b905061253f816000846001612518565b61254882611144565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b156126bd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061260b90339089908890889060040161338c565b6020604051808303816000875af1925050508015612646575060408051601f3d908101601f19168201909252612643918101906133c9565b60015b6126a3573d808015612674576040519150601f19603f3d011682016040523d82523d6000602084013e612679565b606091505b50805160000361269b5760405162461bcd60e51b81526004016105c990613318565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d9f565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106127075772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612733576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061275157662386f26fc10000830492506010015b6305f5e1008310612769576305f5e100830492506008015b612710831061277d57612710830492506004015b6064831061278f576064830492506002015b600a83106104965760010192915050565b6000806127ac600b5490565b9050333a4342446127be600184613214565b604080516001600160a01b0390971660208801528601949094526060850192909252608084015260a08301524060c08201523060e08201526101008101829052610120016040516020818303038152906040528051906020012060001c915061282b600b80546001019055565b5090565b612839838361299b565b61284660008484846125c7565b61066a5760405162461bcd60e51b81526004016105c990613318565b61286e84848484612b34565b60018111156128dd5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105c9565b816001600160a01b0385166129395761293481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61295c565b836001600160a01b0316856001600160a01b03161461295c5761295c8582612bbc565b6001600160a01b0384166129785761297381612c59565b610b2e565b846001600160a01b0316846001600160a01b031614610b2e57610b2e8482612d08565b6001600160a01b0382166129f15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105c9565b6000818152600260205260409020546001600160a01b031615612a565760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105c9565b612a64600083836001612518565b6000818152600260205260409020546001600160a01b031615612ac95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105c9565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115610b30576001600160a01b03841615612b7a576001600160a01b03841660009081526003602052604081208054839290612b74908490613214565b90915550505b6001600160a01b03831615610b30576001600160a01b03831660009081526003602052604081208054839290612bb19084906133e6565b909155505050505050565b60006001612bc9846111a4565b612bd39190613214565b600083815260076020526040902054909150808214612c26576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612c6b90600190613214565b60008381526009602052604081205460088054939450909284908110612c9357612c936131e8565b906000526020600020015490508060088381548110612cb457612cb46131e8565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612cec57612cec61322b565b6001900381819060005260206000200160009055905550505050565b6000612d13836111a4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612d589061315d565b90600052602060002090601f016020900481019282612d7a5760008555612dc0565b82601f10612d9357805160ff1916838001178555612dc0565b82800160010185558215612dc0579182015b82811115612dc0578251825591602001919060010190612da5565b5061282b9291505b8082111561282b5760008155600101612dc8565b6001600160e01b0319811681146110ae57600080fd5b600060208284031215612e0457600080fd5b813561184f81612ddc565b60005b83811015612e2a578181015183820152602001612e12565b83811115610b305750506000910152565b60008151808452612e53816020860160208601612e0f565b601f01601f19169290920160200192915050565b60208152600061184f6020830184612e3b565b600060208284031215612e8c57600080fd5b5035919050565b6001600160a01b03811681146110ae57600080fd5b60008060408385031215612ebb57600080fd5b8235612ec681612e93565b946020939093013593505050565b600080600060608486031215612ee957600080fd5b8335612ef481612e93565b92506020840135612f0481612e93565b929592945050506040919091013590565b80151581146110ae57600080fd5b600060208284031215612f3557600080fd5b813561184f81612f15565b600060208284031215612f5257600080fd5b813561184f81612e93565b6020808252825182820181905260009190848201906040850190845b81811015612f9557835183529284019291840191600101612f79565b50909695505050505050565b60008060408385031215612fb457600080fd5b8235612fbf81612e93565b91506020830135612fcf81612f15565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561300b5761300b612fda565b604051601f8501601f19908116603f0116810190828211818310171561303357613033612fda565b8160405280935085815286868601111561304c57600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561307c57600080fd5b843561308781612e93565b9350602085013561309781612e93565b925060408501359150606085013567ffffffffffffffff8111156130ba57600080fd5b8501601f810187136130cb57600080fd5b6130da87823560208401612ff0565b91505092959194509250565b6000602082840312156130f857600080fd5b813567ffffffffffffffff81111561310f57600080fd5b8201601f8101841361312057600080fd5b611d9f84823560208401612ff0565b6000806040838503121561314257600080fd5b823561314d81612e93565b91506020830135612fcf81612e93565b600181811c9082168061317157607f821691505b60208210810361319157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f5068617365303a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015613226576132266131fe565b500390565b634e487b7160e01b600052603160045260246000fd5b600060018201613253576132536131fe565b5060010190565b60006020828403121561326c57600080fd5b815161184f81612f15565b60008351613289818460208801612e0f565b83519083019061329d818360208801612e0f565b64173539b7b760d91b9101908152600501949350505050565b6000602082840312156132c857600080fd5b815161184f81612e93565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261338757634e487b7160e01b600052601260045260246000fd5b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906133bf90830184612e3b565b9695505050505050565b6000602082840312156133db57600080fd5b815161184f81612ddc565b600082198211156133f9576133f96131fe565b50019056fea26469706673582212206c8e533e310104a59f6183ff7037ce0440311645f59dfa416d5866afd4fc718a64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000006dde044ad9d3d3fbdb7df8d0b97c8c395e31b61b000000000000000000000000000000000000000000000000000000000000001b42264f20444e4120436f6c6c656374696f6e3a205068617365203100000000000000000000000000000000000000000000000000000000000000000000000005424f504831000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063b668908f116100a2578063db006a7511610071578063db006a7514610416578063e985e9c514610429578063f2fde38b14610465578063fa8183b71461047857600080fd5b8063b668908f146103ca578063b88d4fde146103dd578063c30f4a5a146103f0578063c87b56dd1461040357600080fd5b806390cd38ba116100de57806390cd38ba1461036657806395d89b4114610386578063992924a61461038e578063a22cb465146103b757600080fd5b806370a0823114610331578063715018a6146103445780637469863e1461034c5780638da5cb5b1461035557600080fd5b80632f745c591161018757806342966c681161015657806342966c68146102e55780634f6ccce7146102f857806357a8e3fe1461030b5780636352211e1461031e57600080fd5b80632f745c591461029f5780633ef0410f146102b257806340a3d246146102c557806342842e0e146102d257600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd1461026757806323b872dd146102795780632e203e6d1461028c57600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f8366004612df2565b61048b565b60405190151581526020015b60405180910390f35b61021a61049c565b6040516102099190612e67565b61023a610235366004612e7a565b61052e565b6040516001600160a01b039091168152602001610209565b610265610260366004612ea8565b610555565b005b6008545b604051908152602001610209565b610265610287366004612ed4565b61066f565b61026561029a366004612f23565b610b36565b61026b6102ad366004612ea8565b610b51565b61026b6102c0366004612ea8565b610be7565b600c546101fd9060ff1681565b6102656102e0366004612ed4565b610c18565b6102656102f3366004612e7a565b6110a5565b61026b610306366004612e7a565b6110b1565b600e5461023a906001600160a01b031681565b61023a61032c366004612e7a565b611144565b61026b61033f366004612f40565b6111a4565b61026561122a565b61026b600f5481565b600a546001600160a01b031661023a565b610379610374366004612f40565b61123e565b6040516102099190612f5d565b61021a6112aa565b61023a61039c366004612e7a565b6002602052600090815260409020546001600160a01b031681565b6102656103c5366004612fa1565b6112b9565b6102656103d8366004612e7a565b6112c8565b6102656103eb366004613066565b61130b565b6102656103fe3660046130e6565b6117d4565b61021a610411366004612e7a565b6117ef565b610265610424366004612e7a565b611856565b6101fd61043736600461312f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610265610473366004612f40565b611b29565b610265610486366004612f40565b611b9f565b600061049682611c36565b92915050565b6060600080546104ab9061315d565b80601f01602080910402602001604051908101604052809291908181526020018280546104d79061315d565b80156105245780601f106104f957610100808354040283529160200191610524565b820191906000526020600020905b81548152906001019060200180831161050757829003601f168201915b5050505050905090565b600061053982611c5b565b506000908152600460205260409020546001600160a01b031690565b600061056082611144565b9050806001600160a01b0316836001600160a01b0316036105d25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105ee57506105ee8133610437565b6106605760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105c9565b61066a8383611cba565b505050565b826daaeb6d7670e522a718067333cd4e3b1561097057336001600160a01b0382160361085b576106a0335b83611d28565b6106bc5760405162461bcd60e51b81526004016105c990613197565b6000805b6001600160a01b038616600090815260116020526040902054811015610849576001600160a01b038616600090815260116020526040902080548591908390811061070d5761070d6131e8565b906000526020600020015403610837576001600160a01b0386166000908152601160205260409020805461074390600190613214565b81548110610753576107536131e8565b906000526020600020015460116000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110610794576107946131e8565b60009182526020808320909101929092556001600160a01b0388168152601190915260409020546107c790600190613214565b6001600160a01b0387166000908152601160205260409020805491935090806107f2576107f261322b565b6000828152602080822083016000199081018390559092019092556001600160a01b038716825260118152604082208054600181018255908352912001849055610849565b8061084181613241565b9150506106c0565b50610855858585611da7565b50610b30565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ce919061325a565b80156109515750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa15801561092d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610951919061325a565b61097057604051633b79c77360e21b81523360048201526024016105c9565b6109793361069a565b6109955760405162461bcd60e51b81526004016105c990613197565b6000805b6001600160a01b038616600090815260116020526040902054811015610b22576001600160a01b03861660009081526011602052604090208054859190839081106109e6576109e66131e8565b906000526020600020015403610b10576001600160a01b03861660009081526011602052604090208054610a1c90600190613214565b81548110610a2c57610a2c6131e8565b906000526020600020015460116000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110610a6d57610a6d6131e8565b60009182526020808320909101929092556001600160a01b038816815260119091526040902054610aa090600190613214565b6001600160a01b038716600090815260116020526040902080549193509080610acb57610acb61322b565b6000828152602080822083016000199081018390559092019092556001600160a01b038716825260118152604082208054600181018255908352912001849055610b22565b80610b1a81613241565b915050610999565b50610b2e858585611da7565b505b50505050565b610b3e611f18565b600c805460ff1916911515919091179055565b6000610b5c836111a4565b8210610bbe5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105c9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60116020528160005260406000208181548110610c0357600080fd5b90600052602060002001600091509150505481565b826daaeb6d7670e522a718067333cd4e3b15610efc57336001600160a01b03821603610de7576000805b6001600160a01b038616600090815260116020526040902054811015610dcb576001600160a01b0386166000908152601160205260409020805485919083908110610c8f57610c8f6131e8565b906000526020600020015403610db9576001600160a01b03861660009081526011602052604090208054610cc590600190613214565b81548110610cd557610cd56131e8565b906000526020600020015460116000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110610d1657610d166131e8565b60009182526020808320909101929092556001600160a01b038816815260119091526040902054610d4990600190613214565b6001600160a01b038716600090815260116020526040902080549193509080610d7457610d7461322b565b6000828152602080822083016000199081018390559092019092556001600160a01b038716825260118152604082208054600181018255908352912001849055610dcb565b80610dc381613241565b915050610c42565b506108558585856040518060200160405280600081525061130b565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a919061325a565b8015610edd5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610eb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edd919061325a565b610efc57604051633b79c77360e21b81523360048201526024016105c9565b6000805b6001600160a01b038616600090815260116020526040902054811015611089576001600160a01b0386166000908152601160205260409020805485919083908110610f4d57610f4d6131e8565b906000526020600020015403611077576001600160a01b03861660009081526011602052604090208054610f8390600190613214565b81548110610f9357610f936131e8565b906000526020600020015460116000886001600160a01b03166001600160a01b031681526020019081526020016000208281548110610fd457610fd46131e8565b60009182526020808320909101929092556001600160a01b03881681526011909152604090205461100790600190613214565b6001600160a01b0387166000908152601160205260409020805491935090806110325761103261322b565b6000828152602080822083016000199081018390559092019092556001600160a01b038716825260118152604082208054600181018255908352912001849055611089565b8061108181613241565b915050610f00565b50610b2e8585856040518060200160405280600081525061130b565b6110ae81611f72565b50565b60006110bc60085490565b821061111f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105c9565b60088281548110611132576111326131e8565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104965760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105c9565b60006001600160a01b03821661120e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105c9565b506001600160a01b031660009081526003602052604090205490565b611232611f18565b61123c6000612199565b565b6001600160a01b03811660009081526011602090815260409182902080548351818402810184019094528084526060939283018282801561129e57602002820191906000526020600020905b81548152602001906001019080831161128a575b50505050509050919050565b6060600180546104ab9061315d565b6112c43383836121eb565b5050565b6112d0611f18565b600f8190556040518181527fed405bbf00e8b3dfbfd3f64220eb09900f2d37a379b5b372949f29b37e42f1ac9060200160405180910390a150565b836daaeb6d7670e522a718067333cd4e3b1561160d57336001600160a01b038216036114f85761133c335b84611d28565b6113585760405162461bcd60e51b81526004016105c990613197565b6000805b6001600160a01b0387166000908152601160205260409020548110156114e5576001600160a01b03871660009081526011602052604090208054869190839081106113a9576113a96131e8565b9060005260206000200154036114d3576001600160a01b038716600090815260116020526040902080546113df90600190613214565b815481106113ef576113ef6131e8565b906000526020600020015460116000896001600160a01b03166001600160a01b031681526020019081526020016000208281548110611430576114306131e8565b60009182526020808320909101929092556001600160a01b03891681526011909152604090205461146390600190613214565b6001600160a01b03881660009081526011602052604090208054919350908061148e5761148e61322b565b6000828152602080822083016000199081018390559092019092556001600160a01b0388168252601181526040822080546001810182559083529120018590556114e5565b806114dd81613241565b91505061135c565b506114f2868686866122b9565b50610b2e565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611547573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156b919061325a565b80156115ee5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156115ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ee919061325a565b61160d57604051633b79c77360e21b81523360048201526024016105c9565b61161633611336565b6116325760405162461bcd60e51b81526004016105c990613197565b6000805b6001600160a01b0387166000908152601160205260409020548110156117bf576001600160a01b0387166000908152601160205260409020805486919083908110611683576116836131e8565b9060005260206000200154036117ad576001600160a01b038716600090815260116020526040902080546116b990600190613214565b815481106116c9576116c96131e8565b906000526020600020015460116000896001600160a01b03166001600160a01b03168152602001908152602001600020828154811061170a5761170a6131e8565b60009182526020808320909101929092556001600160a01b03891681526011909152604090205461173d90600190613214565b6001600160a01b0388166000908152601160205260409020805491935090806117685761176861322b565b6000828152602080822083016000199081018390559092019092556001600160a01b0388168252601181526040822080546001810182559083529120018590556117bf565b806117b781613241565b915050611636565b506117cc868686866122b9565b505050505050565b6117dc611f18565b80516112c4906010906020840190612d4c565b60606117fa82611c5b565b60006118046122ec565b90506000815111611824576040518060200160405280600081525061184f565b8061182e846122fb565b60405160200161183f929190613277565b6040516020818303038152906040525b9392505050565b600c5460ff1615156001146118a55760405162461bcd60e51b8152602060048201526015602482015274283430b9b2981d102a37b3b3b6329034b99037b33360591b60448201526064016105c9565b600f546000036118f75760405162461bcd60e51b815260206004820152601760248201527f5068617365303a2053657420726576656c2054696d657200000000000000000060448201526064016105c9565b600f5442116119535760405162461bcd60e51b815260206004820152602260248201527f5068617365303a2052656465656d20686173206e6f7420737461727465642079604482015261195d60f21b60648201526084016105c9565b600e546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561199c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c091906132b6565b6001600160a01b031614611a2b5760405162461bcd60e51b815260206004820152602c60248201527f5068617365303a20596f7520617265206e6f7420746865206f776e6572206f6660448201526b081d1a1a5cc81d1a58dad95d60a21b60648201526084016105c9565b600d54600003611a8d5760405162461bcd60e51b815260206004820152602760248201527f5068617365303a20416c6c204e465420686173206265656e20616c7265616479604482015266081b5a5b9d195960ca1b60648201526084016105c9565b6000611a9761238e565b600e54604051630852cd8d60e31b8152600481018590529192506001600160a01b0316906342966c6890602401600060405180830381600087803b158015611ade57600080fd5b505af1158015611af2573d6000803e3d6000fd5b505033600081815260116020908152604082208054600181018255908352912061ffff861691018190556112c493509091506124ae565b611b31611f18565b6001600160a01b038116611b965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c9565b6110ae81612199565b611ba7611f18565b6001600160a01b038116611c145760405162461bcd60e51b815260206004820152602e60248201527f5469636b65743a204d696e7446656573416464726573732063616e6e6f74206260448201526d65207a65726f206164647265737360901b60648201526084016105c9565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b0319821663780e9d6360e01b14806104965750610496826124c8565b6000818152600260205260409020546001600160a01b03166110ae5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105c9565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cef82611144565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611d3483611144565b9050806001600160a01b0316846001600160a01b03161480611d7b57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80611d9f5750836001600160a01b0316611d948461052e565b6001600160a01b0316145b949350505050565b826001600160a01b0316611dba82611144565b6001600160a01b031614611de05760405162461bcd60e51b81526004016105c9906132d3565b6001600160a01b038216611e425760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105c9565b611e4f8383836001612518565b826001600160a01b0316611e6282611144565b6001600160a01b031614611e885760405162461bcd60e51b81526004016105c9906132d3565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b0316331461123c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c9565b611f7c3382611d28565b611fdf5760405162461bcd60e51b815260206004820152602e60248201527f5068617365303a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b60648201526084016105c9565b60005b60116000611fef84611144565b6001600160a01b0316815260208101919091526040016000205481101561218f57816011600061201e85611144565b6001600160a01b03166001600160a01b03168152602001908152602001600020828154811061204f5761204f6131e8565b90600052602060002001540361217d576011600061206c84611144565b6001600160a01b03166001600160a01b0316815260200190815260200160002060016011600061209b86611144565b6001600160a01b031681526020810191909152604001600020546120bf9190613214565b815481106120cf576120cf6131e8565b9060005260206000200154601160006120e785611144565b6001600160a01b03166001600160a01b031681526020019081526020016000208281548110612118576121186131e8565b90600052602060002001819055506011600061213384611144565b6001600160a01b03166001600160a01b031681526020019081526020016000208054806121625761216261322b565b6001900381819060005260206000200160009055905561218f565b8061218781613241565b915050611fe2565b506110ae81612524565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03160361224c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105c9565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6122c4848484611da7565b6122d0848484846125c7565b610b305760405162461bcd60e51b81526004016105c990613318565b6060601080546104ab9061315d565b60606000612308836126c8565b600101905060008167ffffffffffffffff81111561232857612328612fda565b6040519080825280601f01601f191660200182016040528015612352576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461235c57509392505050565b600d54600090819061239e6127a0565b6123a8919061336a565b9050600d81815481106123bd576123bd6131e8565b90600052602060002090601091828204019190066002029054906101000a900461ffff169150600d6001600d805490506123f79190613214565b81548110612407576124076131e8565b90600052602060002090601091828204019190066002029054906101000a900461ffff16600d828154811061243e5761243e6131e8565b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600d80548061247e5761247e61322b565b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a021916905590555090565b6112c482826040518060200160405280600081525061282f565b60006001600160e01b031982166380ac58cd60e01b14806124f957506001600160e01b03198216635b5e139f60e01b145b8061049657506301ffc9a760e01b6001600160e01b0319831614610496565b610b3084848484612862565b600061252f82611144565b905061253f816000846001612518565b61254882611144565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b156126bd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061260b90339089908890889060040161338c565b6020604051808303816000875af1925050508015612646575060408051601f3d908101601f19168201909252612643918101906133c9565b60015b6126a3573d808015612674576040519150601f19603f3d011682016040523d82523d6000602084013e612679565b606091505b50805160000361269b5760405162461bcd60e51b81526004016105c990613318565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611d9f565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106127075772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612733576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061275157662386f26fc10000830492506010015b6305f5e1008310612769576305f5e100830492506008015b612710831061277d57612710830492506004015b6064831061278f576064830492506002015b600a83106104965760010192915050565b6000806127ac600b5490565b9050333a4342446127be600184613214565b604080516001600160a01b0390971660208801528601949094526060850192909252608084015260a08301524060c08201523060e08201526101008101829052610120016040516020818303038152906040528051906020012060001c915061282b600b80546001019055565b5090565b612839838361299b565b61284660008484846125c7565b61066a5760405162461bcd60e51b81526004016105c990613318565b61286e84848484612b34565b60018111156128dd5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b60648201526084016105c9565b816001600160a01b0385166129395761293481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61295c565b836001600160a01b0316856001600160a01b03161461295c5761295c8582612bbc565b6001600160a01b0384166129785761297381612c59565b610b2e565b846001600160a01b0316846001600160a01b031614610b2e57610b2e8482612d08565b6001600160a01b0382166129f15760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105c9565b6000818152600260205260409020546001600160a01b031615612a565760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105c9565b612a64600083836001612518565b6000818152600260205260409020546001600160a01b031615612ac95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105c9565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115610b30576001600160a01b03841615612b7a576001600160a01b03841660009081526003602052604081208054839290612b74908490613214565b90915550505b6001600160a01b03831615610b30576001600160a01b03831660009081526003602052604081208054839290612bb19084906133e6565b909155505050505050565b60006001612bc9846111a4565b612bd39190613214565b600083815260076020526040902054909150808214612c26576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090612c6b90600190613214565b60008381526009602052604081205460088054939450909284908110612c9357612c936131e8565b906000526020600020015490508060088381548110612cb457612cb46131e8565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480612cec57612cec61322b565b6001900381819060005260206000200160009055905550505050565b6000612d13836111a4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612d589061315d565b90600052602060002090601f016020900481019282612d7a5760008555612dc0565b82601f10612d9357805160ff1916838001178555612dc0565b82800160010185558215612dc0579182015b82811115612dc0578251825591602001919060010190612da5565b5061282b9291505b8082111561282b5760008155600101612dc8565b6001600160e01b0319811681146110ae57600080fd5b600060208284031215612e0457600080fd5b813561184f81612ddc565b60005b83811015612e2a578181015183820152602001612e12565b83811115610b305750506000910152565b60008151808452612e53816020860160208601612e0f565b601f01601f19169290920160200192915050565b60208152600061184f6020830184612e3b565b600060208284031215612e8c57600080fd5b5035919050565b6001600160a01b03811681146110ae57600080fd5b60008060408385031215612ebb57600080fd5b8235612ec681612e93565b946020939093013593505050565b600080600060608486031215612ee957600080fd5b8335612ef481612e93565b92506020840135612f0481612e93565b929592945050506040919091013590565b80151581146110ae57600080fd5b600060208284031215612f3557600080fd5b813561184f81612f15565b600060208284031215612f5257600080fd5b813561184f81612e93565b6020808252825182820181905260009190848201906040850190845b81811015612f9557835183529284019291840191600101612f79565b50909695505050505050565b60008060408385031215612fb457600080fd5b8235612fbf81612e93565b91506020830135612fcf81612f15565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561300b5761300b612fda565b604051601f8501601f19908116603f0116810190828211818310171561303357613033612fda565b8160405280935085815286868601111561304c57600080fd5b858560208301376000602087830101525050509392505050565b6000806000806080858703121561307c57600080fd5b843561308781612e93565b9350602085013561309781612e93565b925060408501359150606085013567ffffffffffffffff8111156130ba57600080fd5b8501601f810187136130cb57600080fd5b6130da87823560208401612ff0565b91505092959194509250565b6000602082840312156130f857600080fd5b813567ffffffffffffffff81111561310f57600080fd5b8201601f8101841361312057600080fd5b611d9f84823560208401612ff0565b6000806040838503121561314257600080fd5b823561314d81612e93565b91506020830135612fcf81612e93565b600181811c9082168061317157607f821691505b60208210810361319157634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f5068617365303a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015613226576132266131fe565b500390565b634e487b7160e01b600052603160045260246000fd5b600060018201613253576132536131fe565b5060010190565b60006020828403121561326c57600080fd5b815161184f81612f15565b60008351613289818460208801612e0f565b83519083019061329d818360208801612e0f565b64173539b7b760d91b9101908152600501949350505050565b6000602082840312156132c857600080fd5b815161184f81612e93565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261338757634e487b7160e01b600052601260045260246000fd5b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906133bf90830184612e3b565b9695505050505050565b6000602082840312156133db57600080fd5b815161184f81612ddc565b600082198211156133f9576133f96131fe565b50019056fea26469706673582212206c8e533e310104a59f6183ff7037ce0440311645f59dfa416d5866afd4fc718a64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000006dde044ad9d3d3fbdb7df8d0b97c8c395e31b61b000000000000000000000000000000000000000000000000000000000000001b42264f20444e4120436f6c6c656374696f6e3a205068617365203100000000000000000000000000000000000000000000000000000000000000000000000005424f504831000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): B&O DNA Collection: Phase 1
Arg [1] : _symbol (string): BOPH1
Arg [2] : _ticketAddress (address): 0x6dDe044aD9D3D3fbDB7Df8D0B97c8c395e31b61B
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000006dde044ad9d3d3fbdb7df8d0b97c8c395e31b61b
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [4] : 42264f20444e4120436f6c6c656374696f6e3a20506861736520310000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 424f504831000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
69529:6914:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76228:212;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;76228:212:0;;;;;;;;46807:100;;;:::i;:::-;;;;;;;:::i;48328:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;48328:171:0;1528:203:1;47846:416:0;;;;;;:::i;:::-;;:::i;:::-;;64181:113;64269:10;:17;64181:113;;;2338:25:1;;;2326:2;2311:18;64181:113:0;2192:177:1;72904:688:0;;;;;;:::i;:::-;;:::i;72808:86::-;;;;;;:::i;:::-;;:::i;63849:256::-;;;;;;:::i;:::-;;:::i;69868:45::-;;;;;;:::i;:::-;;:::i;69714:18::-;;;;;;;;;73600:589;;;;;;:::i;:::-;;:::i;75150:140::-;;;;;;:::i;:::-;;:::i;64371:233::-;;;;;;:::i;:::-;;:::i;69777:28::-;;;;;-1:-1:-1;;;;;69777:28:0;;;46517:223;;;;;;:::i;:::-;;:::i;46248:207::-;;;;;;:::i;:::-;;:::i;24231:103::-;;;:::i;69812:24::-;;;;;;23583:87;23656:6;;-1:-1:-1;;;;;23656:6:0;23583:87;;75032:110;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;46976:104::-;;;:::i;45186:42::-;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;45186:42:0;;;48571:155;;;;;;:::i;:::-;;:::i;72436:138::-;;;;;;:::i;:::-;;:::i;74197:721::-;;;;;;:::i;:::-;;:::i;74926:98::-;;;;;;:::i;:::-;;:::i;47151:290::-;;;;;;:::i;:::-;;:::i;71777:651::-;;;;;;:::i;:::-;;:::i;48797:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;48918:25:0;;;48894:4;48918:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48797:164;24489:201;;;;;;:::i;:::-;;:::i;72582:218::-;;;;;;:::i;:::-;;:::i;76228:212::-;76367:4;76396:36;76420:11;76396:23;:36::i;:::-;76389:43;76228:212;-1:-1:-1;;76228:212:0:o;46807:100::-;46861:13;46894:5;46887:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46807:100;:::o;48328:171::-;48404:7;48424:23;48439:7;48424:14;:23::i;:::-;-1:-1:-1;48467:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;48467:24:0;;48328:171::o;47846:416::-;47927:13;47943:23;47958:7;47943:14;:23::i;:::-;47927:39;;47991:5;-1:-1:-1;;;;;47985:11:0;:2;-1:-1:-1;;;;;47985:11:0;;47977:57;;;;-1:-1:-1;;;47977:57:0;;7482:2:1;47977:57:0;;;7464:21:1;7521:2;7501:18;;;7494:30;7560:34;7540:18;;;7533:62;-1:-1:-1;;;7611:18:1;;;7604:31;7652:19;;47977:57:0;;;;;;;;;22214:10;-1:-1:-1;;;;;48069:21:0;;;;:62;;-1:-1:-1;48094:37:0;48111:5;22214:10;48797:164;:::i;48094:37::-;48047:173;;;;-1:-1:-1;;;48047:173:0;;7884:2:1;48047:173:0;;;7866:21:1;7923:2;7903:18;;;7896:30;7962:34;7942:18;;;7935:62;8033:31;8013:18;;;8006:59;8082:19;;48047:173:0;7682:425:1;48047:173:0;48233:21;48242:2;48246:7;48233:8;:21::i;:::-;47916:346;47846:416;;:::o;72904:688::-;73022:4;2601:42;3741:43;:47;3737:699;;4028:10;-1:-1:-1;;;;;4020:18:0;;;4016:85;;73047:41:::1;22214:10:::0;73066:12:::1;73080:7;73047:18;:41::i;:::-;73039:102;;;;-1:-1:-1::0;;;73039:102:0::1;;;;;;;:::i;:::-;73152:12;73180:9:::0;73175:371:::1;-1:-1:-1::0;;;;;73195:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:22;73191:26;::::1;73175:371;;;-1:-1:-1::0;;;;;73243:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:18;;73265:7;;73243:15;73259:1;;73243:18;::::1;;;;;:::i;:::-;;;;;;;;;:29:::0;73239:296:::1;;-1:-1:-1::0;;;;;73314:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;73330:22;;:26:::1;::::0;73355:1:::1;::::0;73330:26:::1;:::i;:::-;73314:43;;;;;;;;:::i;:::-;;;;;;;;;73293:9;:15;73303:4;-1:-1:-1::0;;;;;73293:15:0::1;-1:-1:-1::0;;;;;73293:15:0::1;;;;;;;;;;;;73309:1;73293:18;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;:64:::0;;;;-1:-1:-1;;;;;73383:15:0;::::1;::::0;;:9:::1;:15:::0;;;;;;:22;:26:::1;::::0;73408:1:::1;::::0;73383:26:::1;:::i;:::-;-1:-1:-1::0;;;;;73428:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:21;;73376:33;;-1:-1:-1;73428:15:0;:21;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;-1:-1:-1;;73428:21:0;;;;;;;;;;;;-1:-1:-1;;;;;73468:13:0;::::1;::::0;;:9:::1;:13:::0;;;;;:27;;73428:21:::1;73468:27:::0;::::1;::::0;;;;;;;::::1;::::0;;;73514:5:::1;;73239:296;73219:3:::0;::::1;::::0;::::1;:::i;:::-;;;;73175:371;;;;73556:28;73566:4;73572:2;73576:7;73556:9;:28::i;:::-;73028:564;4079:7:::0;;4016:85;4161:67;;-1:-1:-1;;;4161:67:0;;4210:4;4161:67;;;9408:34:1;4217:10:0;9458:18:1;;;9451:43;2601:42:0;;4161:40;;9343:18:1;;4161:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4257:61:0;;-1:-1:-1;;;4257:61:0;;4306:4;4257:61;;;9408:34:1;-1:-1:-1;;;;;9478:15:1;;9458:18;;;9451:43;2601:42:0;;4257:40;;9343:18:1;;4257:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4115:310;;4379:30;;-1:-1:-1;;;4379:30:0;;4398:10;4379:30;;;1674:51:1;1647:18;;4379:30:0;1528:203:1;4115:310:0;73047:41:::1;22214:10:::0;73066:12:::1;22134:98:::0;73047:41:::1;73039:102;;;;-1:-1:-1::0;;;73039:102:0::1;;;;;;;:::i;:::-;73152:12;73180:9:::0;73175:371:::1;-1:-1:-1::0;;;;;73195:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:22;73191:26;::::1;73175:371;;;-1:-1:-1::0;;;;;73243:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:18;;73265:7;;73243:15;73259:1;;73243:18;::::1;;;;;:::i;:::-;;;;;;;;;:29:::0;73239:296:::1;;-1:-1:-1::0;;;;;73314:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;73330:22;;:26:::1;::::0;73355:1:::1;::::0;73330:26:::1;:::i;:::-;73314:43;;;;;;;;:::i;:::-;;;;;;;;;73293:9;:15;73303:4;-1:-1:-1::0;;;;;73293:15:0::1;-1:-1:-1::0;;;;;73293:15:0::1;;;;;;;;;;;;73309:1;73293:18;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;:64:::0;;;;-1:-1:-1;;;;;73383:15:0;::::1;::::0;;:9:::1;:15:::0;;;;;;:22;:26:::1;::::0;73408:1:::1;::::0;73383:26:::1;:::i;:::-;-1:-1:-1::0;;;;;73428:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:21;;73376:33;;-1:-1:-1;73428:15:0;:21;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;-1:-1:-1;;73428:21:0;;;;;;;;;;;;-1:-1:-1;;;;;73468:13:0;::::1;::::0;;:9:::1;:13:::0;;;;;:27;;73428:21:::1;73468:27:::0;::::1;::::0;;;;;;;::::1;::::0;;;73514:5:::1;;73239:296;73219:3:::0;::::1;::::0;::::1;:::i;:::-;;;;73175:371;;;;73556:28;73566:4;73572:2;73576:7;73556:9;:28::i;:::-;73028:564;72904:688:::0;;;;;:::o;72808:86::-;23469:13;:11;:13::i;:::-;72870:6:::1;:16:::0;;-1:-1:-1;;72870:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;72808:86::o;63849:256::-;63946:7;63982:23;63999:5;63982:16;:23::i;:::-;63974:5;:31;63966:87;;;;-1:-1:-1;;;63966:87:0;;9957:2:1;63966:87:0;;;9939:21:1;9996:2;9976:18;;;9969:30;10035:34;10015:18;;;10008:62;-1:-1:-1;;;10086:18:1;;;10079:41;10137:19;;63966:87:0;9755:407:1;63966:87:0;-1:-1:-1;;;;;;64071:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;63849:256::o;69868:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;73600:589::-;73720:4;2601:42;3741:43;:47;3737:699;;4028:10;-1:-1:-1;;;;;4020:18:0;;;4016:85;;73738:12:::1;73766:9:::0;73761:371:::1;-1:-1:-1::0;;;;;73781:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:22;73777:26;::::1;73761:371;;;-1:-1:-1::0;;;;;73829:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:18;;73851:7;;73829:15;73845:1;;73829:18;::::1;;;;;:::i;:::-;;;;;;;;;:29:::0;73825:296:::1;;-1:-1:-1::0;;;;;73900:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;73916:22;;:26:::1;::::0;73941:1:::1;::::0;73916:26:::1;:::i;:::-;73900:43;;;;;;;;:::i;:::-;;;;;;;;;73879:9;:15;73889:4;-1:-1:-1::0;;;;;73879:15:0::1;-1:-1:-1::0;;;;;73879:15:0::1;;;;;;;;;;;;73895:1;73879:18;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;:64:::0;;;;-1:-1:-1;;;;;73969:15:0;::::1;::::0;;:9:::1;:15:::0;;;;;;:22;:26:::1;::::0;73994:1:::1;::::0;73969:26:::1;:::i;:::-;-1:-1:-1::0;;;;;74014:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:21;;73962:33;;-1:-1:-1;74014:15:0;:21;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;-1:-1:-1;;74014:21:0;;;;;;;;;;;;-1:-1:-1;;;;;74054:13:0;::::1;::::0;;:9:::1;:13:::0;;;;;:27;;74014:21:::1;74054:27:::0;::::1;::::0;;;;;;;::::1;::::0;;;74100:5:::1;;73825:296;73805:3:::0;::::1;::::0;::::1;:::i;:::-;;;;73761:371;;;;74142:39;74159:4;74165:2;74169:7;74142:39;;;;;;;;;;;::::0;:16:::1;:39::i;4016:85::-:0;4161:67;;-1:-1:-1;;;4161:67:0;;4210:4;4161:67;;;9408:34:1;4217:10:0;9458:18:1;;;9451:43;2601:42:0;;4161:40;;9343:18:1;;4161:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4257:61:0;;-1:-1:-1;;;4257:61:0;;4306:4;4257:61;;;9408:34:1;-1:-1:-1;;;;;9478:15:1;;9458:18;;;9451:43;2601:42:0;;4257:40;;9343:18:1;;4257:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4115:310;;4379:30;;-1:-1:-1;;;4379:30:0;;4398:10;4379:30;;;1674:51:1;1647:18;;4379:30:0;1528:203:1;4115:310:0;73738:12:::1;73766:9:::0;73761:371:::1;-1:-1:-1::0;;;;;73781:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:22;73777:26;::::1;73761:371;;;-1:-1:-1::0;;;;;73829:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:18;;73851:7;;73829:15;73845:1;;73829:18;::::1;;;;;:::i;:::-;;;;;;;;;:29:::0;73825:296:::1;;-1:-1:-1::0;;;;;73900:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;73916:22;;:26:::1;::::0;73941:1:::1;::::0;73916:26:::1;:::i;:::-;73900:43;;;;;;;;:::i;:::-;;;;;;;;;73879:9;:15;73889:4;-1:-1:-1::0;;;;;73879:15:0::1;-1:-1:-1::0;;;;;73879:15:0::1;;;;;;;;;;;;73895:1;73879:18;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;:64:::0;;;;-1:-1:-1;;;;;73969:15:0;::::1;::::0;;:9:::1;:15:::0;;;;;;:22;:26:::1;::::0;73994:1:::1;::::0;73969:26:::1;:::i;:::-;-1:-1:-1::0;;;;;74014:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:21;;73962:33;;-1:-1:-1;74014:15:0;:21;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;-1:-1:-1;;74014:21:0;;;;;;;;;;;;-1:-1:-1;;;;;74054:13:0;::::1;::::0;;:9:::1;:13:::0;;;;;:27;;74014:21:::1;74054:27:::0;::::1;::::0;;;;;;;::::1;::::0;;;74100:5:::1;;73825:296;73805:3:::0;::::1;::::0;::::1;:::i;:::-;;;;73761:371;;;;74142:39;74159:4;74165:2;74169:7;74142:39;;;;;;;;;;;::::0;:16:::1;:39::i;75150:140::-:0;75268:14;75274:7;75268:5;:14::i;:::-;75150:140;:::o;64371:233::-;64446:7;64482:30;64269:10;:17;;64181:113;64482:30;64474:5;:38;64466:95;;;;-1:-1:-1;;;64466:95:0;;10369:2:1;64466:95:0;;;10351:21:1;10408:2;10388:18;;;10381:30;10447:34;10427:18;;;10420:62;-1:-1:-1;;;10498:18:1;;;10491:42;10550:19;;64466:95:0;10167:408:1;64466:95:0;64579:10;64590:5;64579:17;;;;;;;;:::i;:::-;;;;;;;;;64572:24;;64371:233;;;:::o;46517:223::-;46589:7;51413:16;;;:7;:16;;;;;;-1:-1:-1;;;;;51413:16:0;;46653:56;;;;-1:-1:-1;;;46653:56:0;;10782:2:1;46653:56:0;;;10764:21:1;10821:2;10801:18;;;10794:30;-1:-1:-1;;;10840:18:1;;;10833:54;10904:18;;46653:56:0;10580:348:1;46248:207:0;46320:7;-1:-1:-1;;;;;46348:19:0;;46340:73;;;;-1:-1:-1;;;46340:73:0;;11135:2:1;46340:73:0;;;11117:21:1;11174:2;11154:18;;;11147:30;11213:34;11193:18;;;11186:62;-1:-1:-1;;;11264:18:1;;;11257:39;11313:19;;46340:73:0;10933:405:1;46340:73:0;-1:-1:-1;;;;;;46431:16:0;;;;;:9;:16;;;;;;;46248:207::o;24231:103::-;23469:13;:11;:13::i;:::-;24296:30:::1;24323:1;24296:18;:30::i;:::-;24231:103::o:0;75032:110::-;-1:-1:-1;;;;;75119:15:0;;;;;;:9;:15;;;;;;;;;75112:22;;;;;;;;;;;;;;;;;75084:16;;75112:22;;;75119:15;75112:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75032:110;;;:::o;46976:104::-;47032:13;47065:7;47058:14;;;;;:::i;48571:155::-;48666:52;22214:10;48699:8;48709;48666:18;:52::i;:::-;48571:155;;:::o;72436:138::-;23469:13;:11;:13::i;:::-;72508:9:::1;:22:::0;;;72546:20:::1;::::0;2338:25:1;;;72546:20:0::1;::::0;2326:2:1;2311:18;72546:20:0::1;;;;;;;72436:138:::0;:::o;74197:721::-;74336:4;2601:42;3741:43;:47;3737:699;;4028:10;-1:-1:-1;;;;;4020:18:0;;;4016:85;;74362:41:::1;22214:10:::0;74381:12:::1;74395:7;74362:18;:41::i;:::-;74354:102;;;;-1:-1:-1::0;;;74354:102:0::1;;;;;;;:::i;:::-;74467:12;74495:9:::0;74490:371:::1;-1:-1:-1::0;;;;;74510:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:22;74506:26;::::1;74490:371;;;-1:-1:-1::0;;;;;74558:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:18;;74580:7;;74558:15;74574:1;;74558:18;::::1;;;;;:::i;:::-;;;;;;;;;:29:::0;74554:296:::1;;-1:-1:-1::0;;;;;74629:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;74645:22;;:26:::1;::::0;74670:1:::1;::::0;74645:26:::1;:::i;:::-;74629:43;;;;;;;;:::i;:::-;;;;;;;;;74608:9;:15;74618:4;-1:-1:-1::0;;;;;74608:15:0::1;-1:-1:-1::0;;;;;74608:15:0::1;;;;;;;;;;;;74624:1;74608:18;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;:64:::0;;;;-1:-1:-1;;;;;74698:15:0;::::1;::::0;;:9:::1;:15:::0;;;;;;:22;:26:::1;::::0;74723:1:::1;::::0;74698:26:::1;:::i;:::-;-1:-1:-1::0;;;;;74743:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:21;;74691:33;;-1:-1:-1;74743:15:0;:21;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;-1:-1:-1;;74743:21:0;;;;;;;;;;;;-1:-1:-1;;;;;74783:13:0;::::1;::::0;;:9:::1;:13:::0;;;;;:27;;74743:21:::1;74783:27:::0;::::1;::::0;;;;;;;::::1;::::0;;;74829:5:::1;;74554:296;74534:3:::0;::::1;::::0;::::1;:::i;:::-;;;;74490:371;;;;74871:39;74885:4;74891:2;74895:7;74904:5;74871:13;:39::i;:::-;74343:575;4079:7:::0;;4016:85;4161:67;;-1:-1:-1;;;4161:67:0;;4210:4;4161:67;;;9408:34:1;4217:10:0;9458:18:1;;;9451:43;2601:42:0;;4161:40;;9343:18:1;;4161:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4257:61:0;;-1:-1:-1;;;4257:61:0;;4306:4;4257:61;;;9408:34:1;-1:-1:-1;;;;;9478:15:1;;9458:18;;;9451:43;2601:42:0;;4257:40;;9343:18:1;;4257:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4115:310;;4379:30;;-1:-1:-1;;;4379:30:0;;4398:10;4379:30;;;1674:51:1;1647:18;;4379:30:0;1528:203:1;4115:310:0;74362:41:::1;22214:10:::0;74381:12:::1;22134:98:::0;74362:41:::1;74354:102;;;;-1:-1:-1::0;;;74354:102:0::1;;;;;;;:::i;:::-;74467:12;74495:9:::0;74490:371:::1;-1:-1:-1::0;;;;;74510:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:22;74506:26;::::1;74490:371;;;-1:-1:-1::0;;;;;74558:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:18;;74580:7;;74558:15;74574:1;;74558:18;::::1;;;;;:::i;:::-;;;;;;;;;:29:::0;74554:296:::1;;-1:-1:-1::0;;;;;74629:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;74645:22;;:26:::1;::::0;74670:1:::1;::::0;74645:26:::1;:::i;:::-;74629:43;;;;;;;;:::i;:::-;;;;;;;;;74608:9;:15;74618:4;-1:-1:-1::0;;;;;74608:15:0::1;-1:-1:-1::0;;;;;74608:15:0::1;;;;;;;;;;;;74624:1;74608:18;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;:64:::0;;;;-1:-1:-1;;;;;74698:15:0;::::1;::::0;;:9:::1;:15:::0;;;;;;:22;:26:::1;::::0;74723:1:::1;::::0;74698:26:::1;:::i;:::-;-1:-1:-1::0;;;;;74743:15:0;::::1;;::::0;;;:9:::1;:15;::::0;;;;:21;;74691:33;;-1:-1:-1;74743:15:0;:21;::::1;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;-1:-1:-1;;74743:21:0;;;;;;;;;;;;-1:-1:-1;;;;;74783:13:0;::::1;::::0;;:9:::1;:13:::0;;;;;:27;;74743:21:::1;74783:27:::0;::::1;::::0;;;;;;;::::1;::::0;;;74829:5:::1;;74554:296;74534:3:::0;::::1;::::0;::::1;:::i;:::-;;;;74490:371;;;;74871:39;74885:4;74891:2;74895:7;74904:5;74871:13;:39::i;:::-;74343:575;74197:721:::0;;;;;:::o;74926:98::-;23469:13;:11;:13::i;:::-;75000:16;;::::1;::::0;:3:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;47151:290::-:0;47224:13;47250:23;47265:7;47250:14;:23::i;:::-;47286:21;47310:10;:8;:10::i;:::-;47286:34;;47362:1;47344:7;47338:21;:25;:95;;;;;;;;;;;;;;;;;47390:7;47399:18;:7;:16;:18::i;:::-;47373:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47338:95;47331:102;47151:290;-1:-1:-1;;;47151:290:0:o;71777:651::-;71839:6;;;;:14;;:6;:14;71831:48;;;;-1:-1:-1;;;71831:48:0;;12187:2:1;71831:48:0;;;12169:21:1;12226:2;12206:18;;;12199:30;-1:-1:-1;;;12245:18:1;;;12238:51;12306:18;;71831:48:0;11985:345:1;71831:48:0;71898:9;;71910:1;71898:13;71890:49;;;;-1:-1:-1;;;71890:49:0;;12537:2:1;71890:49:0;;;12519:21:1;12576:2;12556:18;;;12549:30;12615:25;12595:18;;;12588:53;12658:18;;71890:49:0;12335:347:1;71890:49:0;71976:9;;71958:15;:27;71950:74;;;;-1:-1:-1;;;71950:74:0;;12889:2:1;71950:74:0;;;12871:21:1;12928:2;12908:18;;;12901:30;12967:34;12947:18;;;12940:62;-1:-1:-1;;;13018:18:1;;;13011:32;13060:19;;71950:74:0;12687:398:1;71950:74:0;72051:13;;72043:40;;-1:-1:-1;;;72043:40:0;;;;;2338:25:1;;;72087:10:0;;-1:-1:-1;;;;;72051:13:0;;72043:30;;2311:18:1;;72043:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;72043:54:0;;72035:111;;;;-1:-1:-1;;;72035:111:0;;13548:2:1;72035:111:0;;;13530:21:1;13587:2;13567:18;;;13560:30;13626:34;13606:18;;;13599:62;-1:-1:-1;;;13677:18:1;;;13670:42;13729:19;;72035:111:0;13346:408:1;72035:111:0;72165:14;:21;72190:1;72165:26;72157:78;;;;-1:-1:-1;;;72157:78:0;;13961:2:1;72157:78:0;;;13943:21:1;14000:2;13980:18;;;13973:30;14039:34;14019:18;;;14012:62;-1:-1:-1;;;14090:18:1;;;14083:37;14137:19;;72157:78:0;13759:403:1;72157:78:0;72246:15;72264;:13;:15::i;:::-;72302:13;;72290:41;;-1:-1:-1;;;72290:41:0;;;;;2338:25:1;;;72246:33:0;;-1:-1:-1;;;;;;72302:13:0;;72290:31;;2311:18:1;;72290:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;72352:10:0;72342:21;;;;:9;:21;;;;;;;:36;;;;;;;;;;;;;;;;;;;;72389:31;;-1:-1:-1;72352:10:0;;-1:-1:-1;72389:9:0;:31::i;24489:201::-;23469:13;:11;:13::i;:::-;-1:-1:-1;;;;;24578:22:0;::::1;24570:73;;;::::0;-1:-1:-1;;;24570:73:0;;14369:2:1;24570:73:0::1;::::0;::::1;14351:21:1::0;14408:2;14388:18;;;14381:30;14447:34;14427:18;;;14420:62;-1:-1:-1;;;14498:18:1;;;14491:36;14544:19;;24570:73:0::1;14167:402:1::0;24570:73:0::1;24654:28;24673:8;24654:18;:28::i;72582:218::-:0;23469:13;:11;:13::i;:::-;-1:-1:-1;;;;;72672:28:0;::::1;72664:87;;;::::0;-1:-1:-1;;;72664:87:0;;14776:2:1;72664:87:0::1;::::0;::::1;14758:21:1::0;14815:2;14795:18;;;14788:30;14854:34;14834:18;;;14827:62;-1:-1:-1;;;14905:18:1;;;14898:44;14959:19;;72664:87:0::1;14574:410:1::0;72664:87:0::1;72762:13;:30:::0;;-1:-1:-1;;;;;;72762:30:0::1;-1:-1:-1::0;;;;;72762:30:0;;;::::1;::::0;;;::::1;::::0;;72582:218::o;63541:224::-;63643:4;-1:-1:-1;;;;;;63667:50:0;;-1:-1:-1;;;63667:50:0;;:90;;;63721:36;63745:11;63721:23;:36::i;58147:135::-;51815:4;51413:16;;;:7;:16;;;;;;-1:-1:-1;;;;;51413:16:0;58221:53;;;;-1:-1:-1;;;58221:53:0;;10782:2:1;58221:53:0;;;10764:21:1;10821:2;10801:18;;;10794:30;-1:-1:-1;;;10840:18:1;;;10833:54;10904:18;;58221:53:0;10580:348:1;57426:174:0;57501:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;57501:29:0;-1:-1:-1;;;;;57501:29:0;;;;;;;;:24;;57555:23;57501:24;57555:14;:23::i;:::-;-1:-1:-1;;;;;57546:46:0;;;;;;;;;;;57426:174;;:::o;52045:264::-;52138:4;52155:13;52171:23;52186:7;52171:14;:23::i;:::-;52155:39;;52224:5;-1:-1:-1;;;;;52213:16:0;:7;-1:-1:-1;;;;;52213:16:0;;:52;;;-1:-1:-1;;;;;;48918:25:0;;;48894:4;48918:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;52233:32;52213:87;;;;52293:7;-1:-1:-1;;;;;52269:31:0;:20;52281:7;52269:11;:20::i;:::-;-1:-1:-1;;;;;52269:31:0;;52213:87;52205:96;52045:264;-1:-1:-1;;;;52045:264:0:o;56044:1263::-;56203:4;-1:-1:-1;;;;;56176:31:0;:23;56191:7;56176:14;:23::i;:::-;-1:-1:-1;;;;;56176:31:0;;56168:81;;;;-1:-1:-1;;;56168:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56268:16:0;;56260:65;;;;-1:-1:-1;;;56260:65:0;;15597:2:1;56260:65:0;;;15579:21:1;15636:2;15616:18;;;15609:30;15675:34;15655:18;;;15648:62;-1:-1:-1;;;15726:18:1;;;15719:34;15770:19;;56260:65:0;15395:400:1;56260:65:0;56338:42;56359:4;56365:2;56369:7;56378:1;56338:20;:42::i;:::-;56510:4;-1:-1:-1;;;;;56483:31:0;:23;56498:7;56483:14;:23::i;:::-;-1:-1:-1;;;;;56483:31:0;;56475:81;;;;-1:-1:-1;;;56475:81:0;;;;;;;:::i;:::-;56628:24;;;;:15;:24;;;;;;;;56621:31;;-1:-1:-1;;;;;;56621:31:0;;;;;;-1:-1:-1;;;;;57104:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;57104:20:0;;;57139:13;;;;;;;;;:18;;56621:31;57139:18;;;57179:16;;;:7;:16;;;;;;:21;;;;;;;;;;57218:27;;56644:7;;57218:27;;;47916:346;47846:416;;:::o;23748:132::-;23656:6;;-1:-1:-1;;;;;23656:6:0;22214:10;23812:23;23804:68;;;;-1:-1:-1;;;23804:68:0;;16002:2:1;23804:68:0;;;15984:21:1;;;16021:18;;;16014:30;16080:34;16060:18;;;16053:62;16132:18;;23804:68:0;15800:356:1;75298:574:0;75376:42;22214:10;75409:8;75376:18;:42::i;:::-;75368:101;;;;-1:-1:-1;;;75368:101:0;;16363:2:1;75368:101:0;;;16345:21:1;16402:2;16382:18;;;16375:30;16441:34;16421:18;;;16414:62;-1:-1:-1;;;16492:18:1;;;16485:44;16546:19;;75368:101:0;16161:410:1;75368:101:0;75486:9;75481:352;75501:9;:28;75511:17;75519:8;75511:7;:17::i;:::-;-1:-1:-1;;;;;75501:28:0;;;;;;;;;;;;-1:-1:-1;75501:28:0;:35;75497:39;;75481:352;;;75597:8;75562:9;:28;75572:17;75580:8;75572:7;:17::i;:::-;-1:-1:-1;;;;;75562:28:0;-1:-1:-1;;;;;75562:28:0;;;;;;;;;;;;75591:1;75562:31;;;;;;;;:::i;:::-;;;;;;;;;:43;75558:264;;75660:9;:28;75670:17;75678:8;75670:7;:17::i;:::-;-1:-1:-1;;;;;75660:28:0;-1:-1:-1;;;;;75660:28:0;;;;;;;;;;;;75727:1;75689:9;:28;75699:17;75707:8;75699:7;:17::i;:::-;-1:-1:-1;;;;;75689:28:0;;;;;;;;;;;;-1:-1:-1;75689:28:0;:35;:39;;;;:::i;:::-;75660:69;;;;;;;;:::i;:::-;;;;;;;;;75626:9;:28;75636:17;75644:8;75636:7;:17::i;:::-;-1:-1:-1;;;;;75626:28:0;-1:-1:-1;;;;;75626:28:0;;;;;;;;;;;;75655:1;75626:31;;;;;;;;:::i;:::-;;;;;;;;:103;;;;75748:9;:28;75758:17;75766:8;75758:7;:17::i;:::-;-1:-1:-1;;;;;75748:28:0;-1:-1:-1;;;;;75748:28:0;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;75801:5;;75558:264;75538:3;;;;:::i;:::-;;;;75481:352;;;;75843:21;75855:8;75843:11;:21::i;24850:191::-;24943:6;;;-1:-1:-1;;;;;24960:17:0;;;-1:-1:-1;;;;;;24960:17:0;;;;;;;24993:40;;24943:6;;;24960:17;24943:6;;24993:40;;24924:16;;24993:40;24913:128;24850:191;:::o;57743:315::-;57898:8;-1:-1:-1;;;;;57889:17:0;:5;-1:-1:-1;;;;;57889:17:0;;57881:55;;;;-1:-1:-1;;;57881:55:0;;16778:2:1;57881:55:0;;;16760:21:1;16817:2;16797:18;;;16790:30;16856:27;16836:18;;;16829:55;16901:18;;57881:55:0;16576:349:1;57881:55:0;-1:-1:-1;;;;;57947:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;57947:46:0;;;;;;;;;;58009:41;;540::1;;;58009::0;;513:18:1;58009:41:0;;;;;;;57743:315;;;:::o;50893:313::-;51049:28;51059:4;51065:2;51069:7;51049:9;:28::i;:::-;51096:47;51119:4;51125:2;51129:7;51138:4;51096:22;:47::i;:::-;51088:110;;;;-1:-1:-1;;;51088:110:0;;;;;;;:::i;75880:96::-;75932:13;75965:3;75958:10;;;;;:::i;19561:716::-;19617:13;19668:14;19685:17;19696:5;19685:10;:17::i;:::-;19705:1;19685:21;19668:38;;19721:20;19755:6;19744:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19744:18:0;-1:-1:-1;19721:41:0;-1:-1:-1;19886:28:0;;;19902:2;19886:28;19943:288;-1:-1:-1;;19975:5:0;-1:-1:-1;;;20112:2:0;20101:14;;20096:30;19975:5;20083:44;20173:2;20164:11;;;-1:-1:-1;20194:21:0;19943:288;20194:21;-1:-1:-1;20252:6:0;19561:716;-1:-1:-1;;;19561:716:0:o;71128:346::-;71249:14;:21;71170:19;;;;71223:23;:21;:23::i;:::-;:47;;;;:::i;:::-;71201:69;;71296:14;71311:11;71296:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;71281:42;;71364:14;71403:1;71379:14;:21;;;;:25;;;;:::i;:::-;71364:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;71334:14;71349:11;71334:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:71;;;;;;;;;;;;;;;;;;71416:14;:20;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;71416:20:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71128:346:0;:::o;52651:110::-;52727:26;52737:2;52741:7;52727:26;;;;;;;;;;;;:9;:26::i;45879:305::-;45981:4;-1:-1:-1;;;;;;46018:40:0;;-1:-1:-1;;;46018:40:0;;:105;;-1:-1:-1;;;;;;;46075:48:0;;-1:-1:-1;;;46075:48:0;46018:105;:158;;;-1:-1:-1;;;;;;;;;;37421:40:0;;;46140:36;37312:157;75984:234;76154:56;76181:4;76187:2;76191:7;76200:9;76154:26;:56::i;54924:783::-;54984:13;55000:23;55015:7;55000:14;:23::i;:::-;54984:39;;55036:51;55057:5;55072:1;55076:7;55085:1;55036:20;:51::i;:::-;55200:23;55215:7;55200:14;:23::i;:::-;55271:24;;;;:15;:24;;;;;;;;55264:31;;-1:-1:-1;;;;;;55264:31:0;;;;;;-1:-1:-1;;;;;55516:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;55516:21:0;;;55566:16;;;:7;:16;;;;;;55559:23;;;;;;;55600:36;55192:31;;-1:-1:-1;55287:7:0;;55600:36;;55271:24;;55600:36;48571:155;;:::o;58846:853::-;59000:4;-1:-1:-1;;;;;59021:13:0;;26576:19;:23;59017:675;;59057:71;;-1:-1:-1;;;59057:71:0;;-1:-1:-1;;;;;59057:36:0;;;;;:71;;22214:10;;59108:4;;59114:7;;59123:4;;59057:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59057:71:0;;;;;;;;-1:-1:-1;;59057:71:0;;;;;;;;;;;;:::i;:::-;;;59053:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59298:6;:13;59315:1;59298:18;59294:328;;59341:60;;-1:-1:-1;;;59341:60:0;;;;;;;:::i;59294:328::-;59572:6;59566:13;59557:6;59553:2;59549:15;59542:38;59053:584;-1:-1:-1;;;;;;59179:51:0;-1:-1:-1;;;59179:51:0;;-1:-1:-1;59172:58:0;;59017:675;-1:-1:-1;59676:4:0;58846:853;;;;;;:::o;16427:922::-;16480:7;;-1:-1:-1;;;16558:15:0;;16554:102;;-1:-1:-1;;;16594:15:0;;;-1:-1:-1;16638:2:0;16628:12;16554:102;16683:6;16674:5;:15;16670:102;;16719:6;16710:15;;;-1:-1:-1;16754:2:0;16744:12;16670:102;16799:6;16790:5;:15;16786:102;;16835:6;16826:15;;;-1:-1:-1;16870:2:0;16860:12;16786:102;16915:5;16906;:14;16902:99;;16950:5;16941:14;;;-1:-1:-1;16984:1:0;16974:11;16902:99;17028:5;17019;:14;17015:99;;17063:5;17054:14;;;-1:-1:-1;17097:1:0;17087:11;17015:99;17141:5;17132;:14;17128:99;;17176:5;17167:14;;;-1:-1:-1;17210:1:0;17200:11;17128:99;17254:5;17245;:14;17241:66;;17290:1;17280:11;17335:6;16427:922;-1:-1:-1;;16427:922:0:o;70304:573::-;70354:20;70386:12;70401:16;:6;5755:14;;5663:114;70401:16;70386:31;-1:-1:-1;70526:10:0;70559:11;70593:12;70628:15;70666:16;70715;70730:1;70593:12;70715:16;:::i;:::-;70493:321;;;-1:-1:-1;;;;;18842:15:1;;;70493:321:0;;;18824:34:1;18874:18;;18867:34;;;;18917:18;;;18910:34;;;;18960:18;;;18953:34;19003:19;;;18996:35;70705:27:0;19047:19:1;;;19040:35;70763:4:0;19091:19:1;;;19084:44;19144:19;;;19137:35;;;18758:19;;70493:321:0;;;;;;;;;;;;70465:364;;;;;;70443:397;;70428:412;;70851:18;:6;5874:19;;5892:1;5874:19;;;5785:127;70851:18;70375:502;70304:573;:::o;52988:319::-;53117:18;53123:2;53127:7;53117:5;:18::i;:::-;53168:53;53199:1;53203:2;53207:7;53216:4;53168:22;:53::i;:::-;53146:153;;;;-1:-1:-1;;;53146:153:0;;;;;;;:::i;64678:915::-;64855:61;64882:4;64888:2;64892:12;64906:9;64855:26;:61::i;:::-;64945:1;64933:9;:13;64929:222;;;65076:63;;-1:-1:-1;;;65076:63:0;;19385:2:1;65076:63:0;;;19367:21:1;19424:2;19404:18;;;19397:30;19463:34;19443:18;;;19436:62;-1:-1:-1;;;19514:18:1;;;19507:51;19575:19;;65076:63:0;19183:417:1;64929:222:0;65181:12;-1:-1:-1;;;;;65210:18:0;;65206:187;;65245:40;65277:7;66420:10;:17;;66393:24;;;;:15;:24;;;;;:44;;;66448:24;;;;;;;;;;;;66316:164;65245:40;65206:187;;;65315:2;-1:-1:-1;;;;;65307:10:0;:4;-1:-1:-1;;;;;65307:10:0;;65303:90;;65334:47;65367:4;65373:7;65334:32;:47::i;:::-;-1:-1:-1;;;;;65407:16:0;;65403:183;;65440:45;65477:7;65440:36;:45::i;:::-;65403:183;;;65513:4;-1:-1:-1;;;;;65507:10:0;:2;-1:-1:-1;;;;;65507:10:0;;65503:83;;65534:40;65562:2;65566:7;65534:27;:40::i;53643:942::-;-1:-1:-1;;;;;53723:16:0;;53715:61;;;;-1:-1:-1;;;53715:61:0;;19807:2:1;53715:61:0;;;19789:21:1;;;19826:18;;;19819:30;19885:34;19865:18;;;19858:62;19937:18;;53715:61:0;19605:356:1;53715:61:0;51815:4;51413:16;;;:7;:16;;;;;;-1:-1:-1;;;;;51413:16:0;51839:31;53787:58;;;;-1:-1:-1;;;53787:58:0;;20168:2:1;53787:58:0;;;20150:21:1;20207:2;20187:18;;;20180:30;20246;20226:18;;;20219:58;20294:18;;53787:58:0;19966:352:1;53787:58:0;53858:48;53887:1;53891:2;53895:7;53904:1;53858:20;:48::i;:::-;51815:4;51413:16;;;:7;:16;;;;;;-1:-1:-1;;;;;51413:16:0;51839:31;53996:58;;;;-1:-1:-1;;;53996:58:0;;20168:2:1;53996:58:0;;;20150:21:1;20207:2;20187:18;;;20180:30;20246;20226:18;;;20219:58;20294:18;;53996:58:0;19966:352:1;53996:58:0;-1:-1:-1;;;;;54403:13:0;;;;;;:9;:13;;;;;;;;:18;;54420:1;54403:18;;;54445:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;54445:21:0;;;;;54484:33;54453:7;;54403:13;;54484:33;;54403:13;;54484:33;48571:155;;:::o;60431:410::-;60621:1;60609:9;:13;60605:229;;;-1:-1:-1;;;;;60643:18:0;;;60639:87;;-1:-1:-1;;;;;60682:15:0;;;;;;:9;:15;;;;;:28;;60701:9;;60682:15;:28;;60701:9;;60682:28;:::i;:::-;;;;-1:-1:-1;;60639:87:0;-1:-1:-1;;;;;60744:16:0;;;60740:83;;-1:-1:-1;;;;;60781:13:0;;;;;;:9;:13;;;;;:26;;60798:9;;60781:13;:26;;60798:9;;60781:26;:::i;:::-;;;;-1:-1:-1;;60431:410:0;;;;:::o;67107:988::-;67373:22;67423:1;67398:22;67415:4;67398:16;:22::i;:::-;:26;;;;:::i;:::-;67435:18;67456:26;;;:17;:26;;;;;;67373:51;;-1:-1:-1;67589:28:0;;;67585:328;;-1:-1:-1;;;;;67656:18:0;;67634:19;67656:18;;;:12;:18;;;;;;;;:34;;;;;;;;;67707:30;;;;;;:44;;;67824:30;;:17;:30;;;;;:43;;;67585:328;-1:-1:-1;68009:26:0;;;;:17;:26;;;;;;;;68002:33;;;-1:-1:-1;;;;;68053:18:0;;;;;:12;:18;;;;;:34;;;;;;;68046:41;67107:988::o;68390:1079::-;68668:10;:17;68643:22;;68668:21;;68688:1;;68668:21;:::i;:::-;68700:18;68721:24;;;:15;:24;;;;;;69094:10;:26;;68643:46;;-1:-1:-1;68721:24:0;;68643:46;;69094:26;;;;;;:::i;:::-;;;;;;;;;69072:48;;69158:11;69133:10;69144;69133:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;69238:28;;;:15;:28;;;;;;;:41;;;69410:24;;;;;69403:31;69445:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;68461:1008;;;68390:1079;:::o;65894:221::-;65979:14;65996:20;66013:2;65996:16;:20::i;:::-;-1:-1:-1;;;;;66027:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;66072:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;65894:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:131::-;-1:-1:-1;;;;;1811:31:1;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:1:o;2374:456::-;2451:6;2459;2467;2520:2;2508:9;2499:7;2495:23;2491:32;2488:52;;;2536:1;2533;2526:12;2488:52;2575:9;2562:23;2594:31;2619:5;2594:31;:::i;:::-;2644:5;-1:-1:-1;2701:2:1;2686:18;;2673:32;2714:33;2673:32;2714:33;:::i;:::-;2374:456;;2766:7;;-1:-1:-1;;;2820:2:1;2805:18;;;;2792:32;;2374:456::o;2835:118::-;2921:5;2914:13;2907:21;2900:5;2897:32;2887:60;;2943:1;2940;2933:12;2958:241;3014:6;3067:2;3055:9;3046:7;3042:23;3038:32;3035:52;;;3083:1;3080;3073:12;3035:52;3122:9;3109:23;3141:28;3163:5;3141:28;:::i;3204:247::-;3263:6;3316:2;3304:9;3295:7;3291:23;3287:32;3284:52;;;3332:1;3329;3322:12;3284:52;3371:9;3358:23;3390:31;3415:5;3390:31;:::i;3456:632::-;3627:2;3679:21;;;3749:13;;3652:18;;;3771:22;;;3598:4;;3627:2;3850:15;;;;3824:2;3809:18;;;3598:4;3893:169;3907:6;3904:1;3901:13;3893:169;;;3968:13;;3956:26;;4037:15;;;;4002:12;;;;3929:1;3922:9;3893:169;;;-1:-1:-1;4079:3:1;;3456:632;-1:-1:-1;;;;;;3456:632:1:o;4093:382::-;4158:6;4166;4219:2;4207:9;4198:7;4194:23;4190:32;4187:52;;;4235:1;4232;4225:12;4187:52;4274:9;4261:23;4293:31;4318:5;4293:31;:::i;:::-;4343:5;-1:-1:-1;4400:2:1;4385:18;;4372:32;4413:30;4372:32;4413:30;:::i;:::-;4462:7;4452:17;;;4093:382;;;;;:::o;4480:127::-;4541:10;4536:3;4532:20;4529:1;4522:31;4572:4;4569:1;4562:15;4596:4;4593:1;4586:15;4612:631;4676:5;4706:18;4747:2;4739:6;4736:14;4733:40;;;4753:18;;:::i;:::-;4828:2;4822:9;4796:2;4882:15;;-1:-1:-1;;4878:24:1;;;4904:2;4874:33;4870:42;4858:55;;;4928:18;;;4948:22;;;4925:46;4922:72;;;4974:18;;:::i;:::-;5014:10;5010:2;5003:22;5043:6;5034:15;;5073:6;5065;5058:22;5113:3;5104:6;5099:3;5095:16;5092:25;5089:45;;;5130:1;5127;5120:12;5089:45;5180:6;5175:3;5168:4;5160:6;5156:17;5143:44;5235:1;5228:4;5219:6;5211;5207:19;5203:30;5196:41;;;;4612:631;;;;;:::o;5248:794::-;5343:6;5351;5359;5367;5420:3;5408:9;5399:7;5395:23;5391:33;5388:53;;;5437:1;5434;5427:12;5388:53;5476:9;5463:23;5495:31;5520:5;5495:31;:::i;:::-;5545:5;-1:-1:-1;5602:2:1;5587:18;;5574:32;5615:33;5574:32;5615:33;:::i;:::-;5667:7;-1:-1:-1;5721:2:1;5706:18;;5693:32;;-1:-1:-1;5776:2:1;5761:18;;5748:32;5803:18;5792:30;;5789:50;;;5835:1;5832;5825:12;5789:50;5858:22;;5911:4;5903:13;;5899:27;-1:-1:-1;5889:55:1;;5940:1;5937;5930:12;5889:55;5963:73;6028:7;6023:2;6010:16;6005:2;6001;5997:11;5963:73;:::i;:::-;5953:83;;;5248:794;;;;;;;:::o;6047:450::-;6116:6;6169:2;6157:9;6148:7;6144:23;6140:32;6137:52;;;6185:1;6182;6175:12;6137:52;6225:9;6212:23;6258:18;6250:6;6247:30;6244:50;;;6290:1;6287;6280:12;6244:50;6313:22;;6366:4;6358:13;;6354:27;-1:-1:-1;6344:55:1;;6395:1;6392;6385:12;6344:55;6418:73;6483:7;6478:2;6465:16;6460:2;6456;6452:11;6418:73;:::i;6502:388::-;6570:6;6578;6631:2;6619:9;6610:7;6606:23;6602:32;6599:52;;;6647:1;6644;6637:12;6599:52;6686:9;6673:23;6705:31;6730:5;6705:31;:::i;:::-;6755:5;-1:-1:-1;6812:2:1;6797:18;;6784:32;6825:33;6784:32;6825:33;:::i;6895:380::-;6974:1;6970:12;;;;7017;;;7038:61;;7092:4;7084:6;7080:17;7070:27;;7038:61;7145:2;7137:6;7134:14;7114:18;7111:38;7108:161;;7191:10;7186:3;7182:20;7179:1;7172:31;7226:4;7223:1;7216:15;7254:4;7251:1;7244:15;7108:161;;6895:380;;;:::o;8112:413::-;8314:2;8296:21;;;8353:2;8333:18;;;8326:30;8392:34;8387:2;8372:18;;8365:62;-1:-1:-1;;;8458:2:1;8443:18;;8436:47;8515:3;8500:19;;8112:413::o;8530:127::-;8591:10;8586:3;8582:20;8579:1;8572:31;8622:4;8619:1;8612:15;8646:4;8643:1;8636:15;8662:127;8723:10;8718:3;8714:20;8711:1;8704:31;8754:4;8751:1;8744:15;8778:4;8775:1;8768:15;8794:125;8834:4;8862:1;8859;8856:8;8853:34;;;8867:18;;:::i;:::-;-1:-1:-1;8904:9:1;;8794:125::o;8924:127::-;8985:10;8980:3;8976:20;8973:1;8966:31;9016:4;9013:1;9006:15;9040:4;9037:1;9030:15;9056:135;9095:3;9116:17;;;9113:43;;9136:18;;:::i;:::-;-1:-1:-1;9183:1:1;9172:13;;9056:135::o;9505:245::-;9572:6;9625:2;9613:9;9604:7;9600:23;9596:32;9593:52;;;9641:1;9638;9631:12;9593:52;9673:9;9667:16;9692:28;9714:5;9692:28;:::i;11343:637::-;11623:3;11661:6;11655:13;11677:53;11723:6;11718:3;11711:4;11703:6;11699:17;11677:53;:::i;:::-;11793:13;;11752:16;;;;11815:57;11793:13;11752:16;11849:4;11837:17;;11815:57;:::i;:::-;-1:-1:-1;;;11894:20:1;;11923:22;;;11972:1;11961:13;;11343:637;-1:-1:-1;;;;11343:637:1:o;13090:251::-;13160:6;13213:2;13201:9;13192:7;13188:23;13184:32;13181:52;;;13229:1;13226;13219:12;13181:52;13261:9;13255:16;13280:31;13305:5;13280:31;:::i;14989:401::-;15191:2;15173:21;;;15230:2;15210:18;;;15203:30;15269:34;15264:2;15249:18;;15242:62;-1:-1:-1;;;15335:2:1;15320:18;;15313:35;15380:3;15365:19;;14989:401::o;16930:414::-;17132:2;17114:21;;;17171:2;17151:18;;;17144:30;17210:34;17205:2;17190:18;;17183:62;-1:-1:-1;;;17276:2:1;17261:18;;17254:48;17334:3;17319:19;;16930:414::o;17481:209::-;17513:1;17539;17529:132;;17583:10;17578:3;17574:20;17571:1;17564:31;17618:4;17615:1;17608:15;17646:4;17643:1;17636:15;17529:132;-1:-1:-1;17675:9:1;;17481:209::o;17695:489::-;-1:-1:-1;;;;;17964:15:1;;;17946:34;;18016:15;;18011:2;17996:18;;17989:43;18063:2;18048:18;;18041:34;;;18111:3;18106:2;18091:18;;18084:31;;;17889:4;;18132:46;;18158:19;;18150:6;18132:46;:::i;:::-;18124:54;17695:489;-1:-1:-1;;;;;;17695:489:1:o;18189:249::-;18258:6;18311:2;18299:9;18290:7;18286:23;18282:32;18279:52;;;18327:1;18324;18317:12;18279:52;18359:9;18353:16;18378:30;18402:5;18378:30;:::i;20323:128::-;20363:3;20394:1;20390:6;20387:1;20384:13;20381:39;;;20400:18;;:::i;:::-;-1:-1:-1;20436:9:1;;20323:128::o
Swarm Source
ipfs://6c8e533e310104a59f6183ff7037ce0440311645f59dfa416d5866afd4fc718a
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.